commit ghc-gogol-pubsub for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-gogol-pubsub for openSUSE:Factory checked in at 2017-08-31 20:54:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-gogol-pubsub (Old) and /work/SRC/openSUSE:Factory/.ghc-gogol-pubsub.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-gogol-pubsub" Thu Aug 31 20:54:33 2017 rev:2 rq:513334 version:0.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-gogol-pubsub/ghc-gogol-pubsub.changes 2017-05-10 20:43:19.583729424 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-gogol-pubsub.new/ghc-gogol-pubsub.changes 2017-08-31 20:54:34.371355026 +0200 @@ -1,0 +2,5 @@ +Thu Jul 27 14:07:37 UTC 2017 - psimons@suse.com + +- Update to version 0.3.0. + +------------------------------------------------------------------- Old: ---- gogol-pubsub-0.1.1.tar.gz New: ---- gogol-pubsub-0.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-gogol-pubsub.spec ++++++ --- /var/tmp/diff_new_pack.LH0vRd/_old 2017-08-31 20:54:35.603181950 +0200 +++ /var/tmp/diff_new_pack.LH0vRd/_new 2017-08-31 20:54:35.607181389 +0200 @@ -18,7 +18,7 @@ %global pkg_name gogol-pubsub Name: ghc-%{pkg_name} -Version: 0.1.1 +Version: 0.3.0 Release: 0 Summary: Google Cloud Pub/Sub SDK License: MPL-2.0 ++++++ gogol-pubsub-0.1.1.tar.gz -> gogol-pubsub-0.3.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/README.md new/gogol-pubsub-0.3.0/README.md --- old/gogol-pubsub-0.1.1/README.md 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/README.md 2017-07-12 16:45:06.000000000 +0200 @@ -8,7 +8,7 @@ ## Version -`0.1.1` +`0.3.0` ## Description diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/PubSub/Types/Product.hs new/gogol-pubsub-0.3.0/gen/Network/Google/PubSub/Types/Product.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/PubSub/Types/Product.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/PubSub/Types/Product.hs 2017-07-12 16:45:06.000000000 +0200 @@ -160,10 +160,11 @@ . _Coerce -- | The new ack deadline with respect to the time this request was sent to --- the Pub\/Sub system. Must be >= 0. For example, if the value is 10, the --- new ack deadline will expire 10 seconds after the \`ModifyAckDeadline\` --- call was made. Specifying zero may immediately make the message --- available for another pull request. +-- the Pub\/Sub system. For example, if the value is 10, the new ack +-- deadline will expire 10 seconds after the \`ModifyAckDeadline\` call was +-- made. Specifying zero may immediately make the message available for +-- another pull request. The minimum deadline you can specify is 0 seconds. +-- The maximum deadline you can specify is 600 seconds (10 minutes). madrAckDeadlineSeconds :: Lens' ModifyAckDeadlineRequest (Maybe Int32) madrAckDeadlineSeconds = lens _madrAckDeadlineSeconds @@ -254,8 +255,8 @@ -- -- /See:/ 'pubsubMessage' smart constructor. data PubsubMessage = PubsubMessage' - { _pmData :: !(Maybe Base64) - , _pmPublishTime :: !(Maybe Text) + { _pmData :: !(Maybe Bytes) + , _pmPublishTime :: !(Maybe DateTime') , _pmAttributes :: !(Maybe PubsubMessageAttributes) , _pmMessageId :: !(Maybe Text) } deriving (Eq,Show,Data,Typeable,Generic) @@ -281,20 +282,20 @@ , _pmMessageId = Nothing } --- | The message payload. For JSON requests, the value of this field must be --- [base64-encoded](https:\/\/tools.ietf.org\/html\/rfc4648). +-- | The message payload. pmData :: Lens' PubsubMessage (Maybe ByteString) pmData = lens _pmData (\ s a -> s{_pmData = a}) . - mapping _Base64 + mapping _Bytes -- | The time at which the message was published, populated by the server -- when it receives the \`Publish\` call. It must not be populated by the -- publisher in a \`Publish\` call. -pmPublishTime :: Lens' PubsubMessage (Maybe Text) +pmPublishTime :: Lens' PubsubMessage (Maybe UTCTime) pmPublishTime = lens _pmPublishTime (\ s a -> s{_pmPublishTime = a}) + . mapping _DateTime -- | Optional attributes for this message. pmAttributes :: Lens' PubsubMessage (Maybe PubsubMessageAttributes) @@ -583,11 +584,12 @@ (\ s a -> s{_prMaxMessages = a}) . mapping _Coerce --- | If this is specified as true the system will respond immediately even if --- it is not able to return a message in the \`Pull\` response. Otherwise --- the system is allowed to wait until at least one message is available --- rather than returning no messages. The client may cancel the request if --- it does not wish to wait any longer for the response. +-- | If this field set to true, the system will respond immediately even if +-- it there are no messages available to return in the \`Pull\` response. +-- Otherwise, the system may wait (for a bounded amount of time) until at +-- least one message is available, rather than returning no messages. The +-- client may cancel the request if it does not wish to wait any longer for +-- the response. prReturnImmediately :: Lens' PullRequest (Maybe Bool) prReturnImmediately = lens _prReturnImmediately @@ -817,7 +819,7 @@ -- -- /See:/ 'policy' smart constructor. data Policy = Policy' - { _pEtag :: !(Maybe Base64) + { _pEtag :: !(Maybe Bytes) , _pVersion :: !(Maybe (Textual Int32)) , _pBindings :: !(Maybe [Binding]) } deriving (Eq,Show,Data,Typeable,Generic) @@ -852,7 +854,7 @@ pEtag :: Lens' Policy (Maybe ByteString) pEtag = lens _pEtag (\ s a -> s{_pEtag = a}) . - mapping _Base64 + mapping _Bytes -- | Version of the \`Policy\`. The default version is 0. pVersion :: Lens' Policy (Maybe Int32) @@ -972,8 +974,8 @@ = lens _sPushConfig (\ s a -> s{_sPushConfig = a}) -- | The name of the topic from which this subscription is receiving --- messages. The value of this field will be \`_deleted-topic_\` if the --- topic has been deleted. +-- messages. Format is \`projects\/{project}\/topics\/{topic}\`. The value +-- of this field will be \`_deleted-topic_\` if the topic has been deleted. sTopic :: Lens' Subscription (Maybe Text) sTopic = lens _sTopic (\ s a -> s{_sTopic = a}) @@ -994,12 +996,13 @@ -- again during that time (on a best-effort basis). For pull subscriptions, -- this value is used as the initial value for the ack deadline. To -- override this value for a given message, call \`ModifyAckDeadline\` with --- the corresponding \`ack_id\` if using pull. The maximum custom deadline --- you can specify is 600 seconds (10 minutes). For push delivery, this --- value is also used to set the request timeout for the call to the push --- endpoint. If the subscriber never acknowledges the message, the Pub\/Sub --- system will eventually redeliver the message. If this parameter is 0, a --- default value of 10 seconds is used. +-- the corresponding \`ack_id\` if using pull. The minimum custom deadline +-- you can specify is 10 seconds. The maximum custom deadline you can +-- specify is 600 seconds (10 minutes). If this parameter is 0, a default +-- value of 10 seconds is used. For push delivery, this value is also used +-- to set the request timeout for the call to the push endpoint. If the +-- subscriber never acknowledges the message, the Pub\/Sub system will +-- eventually redeliver the message. sAckDeadlineSeconds :: Lens' Subscription (Maybe Int32) sAckDeadlineSeconds = lens _sAckDeadlineSeconds diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/PubSub/Types/Sum.hs new/gogol-pubsub-0.3.0/gen/Network/Google/PubSub/Types/Sum.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/PubSub/Types/Sum.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/PubSub/Types/Sum.hs 2017-07-12 16:45:06.000000000 +0200 @@ -17,3 +17,32 @@ module Network.Google.PubSub.Types.Sum where import Network.Google.Prelude + +-- | V1 error format. +data Xgafv + = X1 + -- ^ @1@ + -- v1 error format + | X2 + -- ^ @2@ + -- v2 error format + deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic) + +instance Hashable Xgafv + +instance FromHttpApiData Xgafv where + parseQueryParam = \case + "1" -> Right X1 + "2" -> Right X2 + x -> Left ("Unable to parse Xgafv from: " <> x) + +instance ToHttpApiData Xgafv where + toQueryParam = \case + X1 -> "1" + X2 -> "2" + +instance FromJSON Xgafv where + parseJSON = parseJSONText "Xgafv" + +instance ToJSON Xgafv where + toJSON = toJSONText diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/PubSub/Types.hs new/gogol-pubsub-0.3.0/gen/Network/Google/PubSub/Types.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/PubSub/Types.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/PubSub/Types.hs 2017-07-12 16:45:06.000000000 +0200 @@ -96,6 +96,9 @@ , pubsubMessageAttributes , pmaAddtional + -- * Xgafv + , Xgafv (..) + -- * TestIAMPermissionsRequest , TestIAMPermissionsRequest , testIAMPermissionsRequest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/PubSub.hs new/gogol-pubsub-0.3.0/gen/Network/Google/PubSub.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/PubSub.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/PubSub.hs 2017-07-12 16:45:06.000000000 +0200 @@ -175,6 +175,9 @@ , pubsubMessageAttributes , pmaAddtional + -- ** Xgafv + , Xgafv (..) + -- ** TestIAMPermissionsRequest , TestIAMPermissionsRequest , testIAMPermissionsRequest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Snapshots/GetIAMPolicy.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Snapshots/GetIAMPolicy.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Snapshots/GetIAMPolicy.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Snapshots/GetIAMPolicy.hs 2017-07-12 16:45:06.000000000 +0200 @@ -52,7 +52,7 @@ type ProjectsSnapshotsGetIAMPolicyResource = "v1" :> CaptureMode "resource" "getIamPolicy" Text :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -66,7 +66,7 @@ -- -- /See:/ 'projectsSnapshotsGetIAMPolicy' smart constructor. data ProjectsSnapshotsGetIAMPolicy = ProjectsSnapshotsGetIAMPolicy' - { _psgipXgafv :: !(Maybe Text) + { _psgipXgafv :: !(Maybe Xgafv) , _psgipUploadProtocol :: !(Maybe Text) , _psgipPp :: !Bool , _psgipAccessToken :: !(Maybe Text) @@ -111,7 +111,7 @@ } -- | V1 error format. -psgipXgafv :: Lens' ProjectsSnapshotsGetIAMPolicy (Maybe Text) +psgipXgafv :: Lens' ProjectsSnapshotsGetIAMPolicy (Maybe Xgafv) psgipXgafv = lens _psgipXgafv (\ s a -> s{_psgipXgafv = a}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Snapshots/SetIAMPolicy.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Snapshots/SetIAMPolicy.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Snapshots/SetIAMPolicy.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Snapshots/SetIAMPolicy.hs 2017-07-12 16:45:06.000000000 +0200 @@ -53,7 +53,7 @@ type ProjectsSnapshotsSetIAMPolicyResource = "v1" :> CaptureMode "resource" "setIamPolicy" Text :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -69,7 +69,7 @@ -- -- /See:/ 'projectsSnapshotsSetIAMPolicy' smart constructor. data ProjectsSnapshotsSetIAMPolicy = ProjectsSnapshotsSetIAMPolicy' - { _pssiampXgafv :: !(Maybe Text) + { _pssiampXgafv :: !(Maybe Xgafv) , _pssiampUploadProtocol :: !(Maybe Text) , _pssiampPp :: !Bool , _pssiampAccessToken :: !(Maybe Text) @@ -119,7 +119,7 @@ } -- | V1 error format. -pssiampXgafv :: Lens' ProjectsSnapshotsSetIAMPolicy (Maybe Text) +pssiampXgafv :: Lens' ProjectsSnapshotsSetIAMPolicy (Maybe Xgafv) pssiampXgafv = lens _pssiampXgafv (\ s a -> s{_pssiampXgafv = a}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Snapshots/TestIAMPermissions.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Snapshots/TestIAMPermissions.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Snapshots/TestIAMPermissions.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Snapshots/TestIAMPermissions.hs 2017-07-12 16:45:06.000000000 +0200 @@ -20,7 +20,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- --- Returns permissions that a caller has on the specified resource. +-- Returns permissions that a caller has on the specified resource. If the +-- resource does not exist, this will return an empty set of permissions, +-- not a NOT_FOUND error. -- -- /See:/ <https://cloud.google.com/pubsub/docs Google Cloud Pub/Sub API Reference> for @pubsub.projects.snapshots.testIamPermissions@. module Network.Google.Resource.PubSub.Projects.Snapshots.TestIAMPermissions @@ -52,7 +54,7 @@ type ProjectsSnapshotsTestIAMPermissionsResource = "v1" :> CaptureMode "resource" "testIamPermissions" Text :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -63,11 +65,13 @@ ReqBody '[JSON] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse --- | Returns permissions that a caller has on the specified resource. +-- | Returns permissions that a caller has on the specified resource. If the +-- resource does not exist, this will return an empty set of permissions, +-- not a NOT_FOUND error. -- -- /See:/ 'projectsSnapshotsTestIAMPermissions' smart constructor. data ProjectsSnapshotsTestIAMPermissions = ProjectsSnapshotsTestIAMPermissions' - { _pstipXgafv :: !(Maybe Text) + { _pstipXgafv :: !(Maybe Xgafv) , _pstipUploadProtocol :: !(Maybe Text) , _pstipPp :: !Bool , _pstipAccessToken :: !(Maybe Text) @@ -117,7 +121,7 @@ } -- | V1 error format. -pstipXgafv :: Lens' ProjectsSnapshotsTestIAMPermissions (Maybe Text) +pstipXgafv :: Lens' ProjectsSnapshotsTestIAMPermissions (Maybe Xgafv) pstipXgafv = lens _pstipXgafv (\ s a -> s{_pstipXgafv = a}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Acknowledge.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Acknowledge.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Acknowledge.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Acknowledge.hs 2017-07-12 16:45:06.000000000 +0200 @@ -57,7 +57,7 @@ type ProjectsSubscriptionsAcknowledgeResource = "v1" :> CaptureMode "subscription" "acknowledge" Text :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -77,7 +77,7 @@ -- -- /See:/ 'projectsSubscriptionsAcknowledge' smart constructor. data ProjectsSubscriptionsAcknowledge = ProjectsSubscriptionsAcknowledge' - { _psaXgafv :: !(Maybe Text) + { _psaXgafv :: !(Maybe Xgafv) , _psaUploadProtocol :: !(Maybe Text) , _psaPp :: !Bool , _psaAccessToken :: !(Maybe Text) @@ -127,7 +127,7 @@ } -- | V1 error format. -psaXgafv :: Lens' ProjectsSubscriptionsAcknowledge (Maybe Text) +psaXgafv :: Lens' ProjectsSubscriptionsAcknowledge (Maybe Xgafv) psaXgafv = lens _psaXgafv (\ s a -> s{_psaXgafv = a}) -- | Upload protocol for media (e.g. \"raw\", \"multipart\"). @@ -163,7 +163,8 @@ = lens _psaBearerToken (\ s a -> s{_psaBearerToken = a}) --- | The subscription whose message is being acknowledged. +-- | The subscription whose message is being acknowledged. Format is +-- \`projects\/{project}\/subscriptions\/{sub}\`. psaSubscription :: Lens' ProjectsSubscriptionsAcknowledge Text psaSubscription = lens _psaSubscription diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Create.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Create.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Create.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Create.hs 2017-07-12 16:45:06.000000000 +0200 @@ -24,8 +24,10 @@ -- exists, returns \`ALREADY_EXISTS\`. If the corresponding topic doesn\'t -- exist, returns \`NOT_FOUND\`. If the name is not provided in the -- request, the server will assign a random name for this subscription on --- the same project as the topic. Note that for REST API requests, you must --- specify a name. +-- the same project as the topic, conforming to the [resource name +-- format](https:\/\/cloud.google.com\/pubsub\/docs\/overview#names). The +-- generated name is populated in the returned Subscription object. Note +-- that for REST API requests, you must specify a name in the request. -- -- /See:/ <https://cloud.google.com/pubsub/docs Google Cloud Pub/Sub API Reference> for @pubsub.projects.subscriptions.create@. module Network.Google.Resource.PubSub.Projects.Subscriptions.Create @@ -57,7 +59,7 @@ type ProjectsSubscriptionsCreateResource = "v1" :> Capture "name" Text :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -72,12 +74,14 @@ -- exists, returns \`ALREADY_EXISTS\`. If the corresponding topic doesn\'t -- exist, returns \`NOT_FOUND\`. If the name is not provided in the -- request, the server will assign a random name for this subscription on --- the same project as the topic. Note that for REST API requests, you must --- specify a name. +-- the same project as the topic, conforming to the [resource name +-- format](https:\/\/cloud.google.com\/pubsub\/docs\/overview#names). The +-- generated name is populated in the returned Subscription object. Note +-- that for REST API requests, you must specify a name in the request. -- -- /See:/ 'projectsSubscriptionsCreate' smart constructor. data ProjectsSubscriptionsCreate = ProjectsSubscriptionsCreate' - { _pscXgafv :: !(Maybe Text) + { _pscXgafv :: !(Maybe Xgafv) , _pscUploadProtocol :: !(Maybe Text) , _pscPp :: !Bool , _pscAccessToken :: !(Maybe Text) @@ -127,7 +131,7 @@ } -- | V1 error format. -pscXgafv :: Lens' ProjectsSubscriptionsCreate (Maybe Text) +pscXgafv :: Lens' ProjectsSubscriptionsCreate (Maybe Xgafv) pscXgafv = lens _pscXgafv (\ s a -> s{_pscXgafv = a}) -- | Upload protocol for media (e.g. \"raw\", \"multipart\"). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Delete.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Delete.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Delete.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Delete.hs 2017-07-12 16:45:06.000000000 +0200 @@ -56,7 +56,7 @@ type ProjectsSubscriptionsDeleteResource = "v1" :> Capture "subscription" Text :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -74,7 +74,7 @@ -- -- /See:/ 'projectsSubscriptionsDelete' smart constructor. data ProjectsSubscriptionsDelete = ProjectsSubscriptionsDelete' - { _psdXgafv :: !(Maybe Text) + { _psdXgafv :: !(Maybe Xgafv) , _psdUploadProtocol :: !(Maybe Text) , _psdPp :: !Bool , _psdAccessToken :: !(Maybe Text) @@ -119,7 +119,7 @@ } -- | V1 error format. -psdXgafv :: Lens' ProjectsSubscriptionsDelete (Maybe Text) +psdXgafv :: Lens' ProjectsSubscriptionsDelete (Maybe Xgafv) psdXgafv = lens _psdXgafv (\ s a -> s{_psdXgafv = a}) -- | Upload protocol for media (e.g. \"raw\", \"multipart\"). @@ -150,7 +150,8 @@ = lens _psdBearerToken (\ s a -> s{_psdBearerToken = a}) --- | The subscription to delete. +-- | The subscription to delete. Format is +-- \`projects\/{project}\/subscriptions\/{sub}\`. psdSubscription :: Lens' ProjectsSubscriptionsDelete Text psdSubscription = lens _psdSubscription diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Get.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Get.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Get.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Get.hs 2017-07-12 16:45:06.000000000 +0200 @@ -51,7 +51,7 @@ type ProjectsSubscriptionsGetResource = "v1" :> Capture "subscription" Text :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -64,7 +64,7 @@ -- -- /See:/ 'projectsSubscriptionsGet' smart constructor. data ProjectsSubscriptionsGet = ProjectsSubscriptionsGet' - { _psgXgafv :: !(Maybe Text) + { _psgXgafv :: !(Maybe Xgafv) , _psgUploadProtocol :: !(Maybe Text) , _psgPp :: !Bool , _psgAccessToken :: !(Maybe Text) @@ -109,7 +109,7 @@ } -- | V1 error format. -psgXgafv :: Lens' ProjectsSubscriptionsGet (Maybe Text) +psgXgafv :: Lens' ProjectsSubscriptionsGet (Maybe Xgafv) psgXgafv = lens _psgXgafv (\ s a -> s{_psgXgafv = a}) -- | Upload protocol for media (e.g. \"raw\", \"multipart\"). @@ -140,7 +140,8 @@ = lens _psgBearerToken (\ s a -> s{_psgBearerToken = a}) --- | The name of the subscription to get. +-- | The name of the subscription to get. Format is +-- \`projects\/{project}\/subscriptions\/{sub}\`. psgSubscription :: Lens' ProjectsSubscriptionsGet Text psgSubscription = lens _psgSubscription diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/GetIAMPolicy.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/GetIAMPolicy.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/GetIAMPolicy.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/GetIAMPolicy.hs 2017-07-12 16:45:06.000000000 +0200 @@ -52,7 +52,7 @@ type ProjectsSubscriptionsGetIAMPolicyResource = "v1" :> CaptureMode "resource" "getIamPolicy" Text :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -66,7 +66,7 @@ -- -- /See:/ 'projectsSubscriptionsGetIAMPolicy' smart constructor. data ProjectsSubscriptionsGetIAMPolicy = ProjectsSubscriptionsGetIAMPolicy' - { _psgiampXgafv :: !(Maybe Text) + { _psgiampXgafv :: !(Maybe Xgafv) , _psgiampUploadProtocol :: !(Maybe Text) , _psgiampPp :: !Bool , _psgiampAccessToken :: !(Maybe Text) @@ -111,7 +111,7 @@ } -- | V1 error format. -psgiampXgafv :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Text) +psgiampXgafv :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Xgafv) psgiampXgafv = lens _psgiampXgafv (\ s a -> s{_psgiampXgafv = a}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/List.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/List.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/List.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/List.hs 2017-07-12 16:45:06.000000000 +0200 @@ -54,7 +54,7 @@ "v1" :> Capture "project" Text :> "subscriptions" :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -70,7 +70,7 @@ -- -- /See:/ 'projectsSubscriptionsList' smart constructor. data ProjectsSubscriptionsList = ProjectsSubscriptionsList' - { _pslXgafv :: !(Maybe Text) + { _pslXgafv :: !(Maybe Xgafv) , _pslUploadProtocol :: !(Maybe Text) , _pslProject :: !Text , _pslPp :: !Bool @@ -123,7 +123,7 @@ } -- | V1 error format. -pslXgafv :: Lens' ProjectsSubscriptionsList (Maybe Text) +pslXgafv :: Lens' ProjectsSubscriptionsList (Maybe Xgafv) pslXgafv = lens _pslXgafv (\ s a -> s{_pslXgafv = a}) -- | Upload protocol for media (e.g. \"raw\", \"multipart\"). @@ -132,7 +132,8 @@ = lens _pslUploadProtocol (\ s a -> s{_pslUploadProtocol = a}) --- | The name of the cloud project that subscriptions belong to. +-- | The name of the cloud project that subscriptions belong to. Format is +-- \`projects\/{project}\`. pslProject :: Lens' ProjectsSubscriptionsList Text pslProject = lens _pslProject (\ s a -> s{_pslProject = a}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/ModifyAckDeadline.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/ModifyAckDeadline.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/ModifyAckDeadline.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/ModifyAckDeadline.hs 2017-07-12 16:45:06.000000000 +0200 @@ -57,7 +57,7 @@ "v1" :> CaptureMode "subscription" "modifyAckDeadline" Text :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -76,7 +76,7 @@ -- -- /See:/ 'projectsSubscriptionsModifyAckDeadline' smart constructor. data ProjectsSubscriptionsModifyAckDeadline = ProjectsSubscriptionsModifyAckDeadline' - { _psmadXgafv :: !(Maybe Text) + { _psmadXgafv :: !(Maybe Xgafv) , _psmadUploadProtocol :: !(Maybe Text) , _psmadPp :: !Bool , _psmadAccessToken :: !(Maybe Text) @@ -126,7 +126,7 @@ } -- | V1 error format. -psmadXgafv :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Text) +psmadXgafv :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Xgafv) psmadXgafv = lens _psmadXgafv (\ s a -> s{_psmadXgafv = a}) @@ -163,7 +163,8 @@ = lens _psmadBearerToken (\ s a -> s{_psmadBearerToken = a}) --- | The name of the subscription. +-- | The name of the subscription. Format is +-- \`projects\/{project}\/subscriptions\/{sub}\`. psmadSubscription :: Lens' ProjectsSubscriptionsModifyAckDeadline Text psmadSubscription = lens _psmadSubscription diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/ModifyPushConfig.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/ModifyPushConfig.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/ModifyPushConfig.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/ModifyPushConfig.hs 2017-07-12 16:45:06.000000000 +0200 @@ -57,7 +57,7 @@ type ProjectsSubscriptionsModifyPushConfigResource = "v1" :> CaptureMode "subscription" "modifyPushConfig" Text :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -77,7 +77,7 @@ -- -- /See:/ 'projectsSubscriptionsModifyPushConfig' smart constructor. data ProjectsSubscriptionsModifyPushConfig = ProjectsSubscriptionsModifyPushConfig' - { _psmpcXgafv :: !(Maybe Text) + { _psmpcXgafv :: !(Maybe Xgafv) , _psmpcUploadProtocol :: !(Maybe Text) , _psmpcPp :: !Bool , _psmpcAccessToken :: !(Maybe Text) @@ -127,7 +127,7 @@ } -- | V1 error format. -psmpcXgafv :: Lens' ProjectsSubscriptionsModifyPushConfig (Maybe Text) +psmpcXgafv :: Lens' ProjectsSubscriptionsModifyPushConfig (Maybe Xgafv) psmpcXgafv = lens _psmpcXgafv (\ s a -> s{_psmpcXgafv = a}) @@ -164,7 +164,8 @@ = lens _psmpcBearerToken (\ s a -> s{_psmpcBearerToken = a}) --- | The name of the subscription. +-- | The name of the subscription. Format is +-- \`projects\/{project}\/subscriptions\/{sub}\`. psmpcSubscription :: Lens' ProjectsSubscriptionsModifyPushConfig Text psmpcSubscription = lens _psmpcSubscription diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Pull.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Pull.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Pull.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Pull.hs 2017-07-12 16:45:06.000000000 +0200 @@ -55,7 +55,7 @@ type ProjectsSubscriptionsPullResource = "v1" :> CaptureMode "subscription" "pull" Text :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -73,7 +73,7 @@ -- -- /See:/ 'projectsSubscriptionsPull' smart constructor. data ProjectsSubscriptionsPull = ProjectsSubscriptionsPull' - { _pspXgafv :: !(Maybe Text) + { _pspXgafv :: !(Maybe Xgafv) , _pspUploadProtocol :: !(Maybe Text) , _pspPp :: !Bool , _pspAccessToken :: !(Maybe Text) @@ -123,7 +123,7 @@ } -- | V1 error format. -pspXgafv :: Lens' ProjectsSubscriptionsPull (Maybe Text) +pspXgafv :: Lens' ProjectsSubscriptionsPull (Maybe Xgafv) pspXgafv = lens _pspXgafv (\ s a -> s{_pspXgafv = a}) -- | Upload protocol for media (e.g. \"raw\", \"multipart\"). @@ -159,7 +159,8 @@ = lens _pspBearerToken (\ s a -> s{_pspBearerToken = a}) --- | The subscription from which messages should be pulled. +-- | The subscription from which messages should be pulled. Format is +-- \`projects\/{project}\/subscriptions\/{sub}\`. pspSubscription :: Lens' ProjectsSubscriptionsPull Text pspSubscription = lens _pspSubscription diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/SetIAMPolicy.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/SetIAMPolicy.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/SetIAMPolicy.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/SetIAMPolicy.hs 2017-07-12 16:45:06.000000000 +0200 @@ -53,7 +53,7 @@ type ProjectsSubscriptionsSetIAMPolicyResource = "v1" :> CaptureMode "resource" "setIamPolicy" Text :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -69,7 +69,7 @@ -- -- /See:/ 'projectsSubscriptionsSetIAMPolicy' smart constructor. data ProjectsSubscriptionsSetIAMPolicy = ProjectsSubscriptionsSetIAMPolicy' - { _pssipXgafv :: !(Maybe Text) + { _pssipXgafv :: !(Maybe Xgafv) , _pssipUploadProtocol :: !(Maybe Text) , _pssipPp :: !Bool , _pssipAccessToken :: !(Maybe Text) @@ -119,7 +119,7 @@ } -- | V1 error format. -pssipXgafv :: Lens' ProjectsSubscriptionsSetIAMPolicy (Maybe Text) +pssipXgafv :: Lens' ProjectsSubscriptionsSetIAMPolicy (Maybe Xgafv) pssipXgafv = lens _pssipXgafv (\ s a -> s{_pssipXgafv = a}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/TestIAMPermissions.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/TestIAMPermissions.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/TestIAMPermissions.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/TestIAMPermissions.hs 2017-07-12 16:45:06.000000000 +0200 @@ -20,7 +20,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- --- Returns permissions that a caller has on the specified resource. +-- Returns permissions that a caller has on the specified resource. If the +-- resource does not exist, this will return an empty set of permissions, +-- not a NOT_FOUND error. -- -- /See:/ <https://cloud.google.com/pubsub/docs Google Cloud Pub/Sub API Reference> for @pubsub.projects.subscriptions.testIamPermissions@. module Network.Google.Resource.PubSub.Projects.Subscriptions.TestIAMPermissions @@ -53,7 +55,7 @@ = "v1" :> CaptureMode "resource" "testIamPermissions" Text :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -64,11 +66,13 @@ ReqBody '[JSON] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse --- | Returns permissions that a caller has on the specified resource. +-- | Returns permissions that a caller has on the specified resource. If the +-- resource does not exist, this will return an empty set of permissions, +-- not a NOT_FOUND error. -- -- /See:/ 'projectsSubscriptionsTestIAMPermissions' smart constructor. data ProjectsSubscriptionsTestIAMPermissions = ProjectsSubscriptionsTestIAMPermissions' - { _pstiampXgafv :: !(Maybe Text) + { _pstiampXgafv :: !(Maybe Xgafv) , _pstiampUploadProtocol :: !(Maybe Text) , _pstiampPp :: !Bool , _pstiampAccessToken :: !(Maybe Text) @@ -118,7 +122,7 @@ } -- | V1 error format. -pstiampXgafv :: Lens' ProjectsSubscriptionsTestIAMPermissions (Maybe Text) +pstiampXgafv :: Lens' ProjectsSubscriptionsTestIAMPermissions (Maybe Xgafv) pstiampXgafv = lens _pstiampXgafv (\ s a -> s{_pstiampXgafv = a}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Topics/Create.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Topics/Create.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Topics/Create.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Topics/Create.hs 2017-07-12 16:45:06.000000000 +0200 @@ -52,7 +52,7 @@ type ProjectsTopicsCreateResource = "v1" :> Capture "name" Text :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -66,7 +66,7 @@ -- -- /See:/ 'projectsTopicsCreate' smart constructor. data ProjectsTopicsCreate = ProjectsTopicsCreate' - { _ptcXgafv :: !(Maybe Text) + { _ptcXgafv :: !(Maybe Xgafv) , _ptcUploadProtocol :: !(Maybe Text) , _ptcPp :: !Bool , _ptcAccessToken :: !(Maybe Text) @@ -116,7 +116,7 @@ } -- | V1 error format. -ptcXgafv :: Lens' ProjectsTopicsCreate (Maybe Text) +ptcXgafv :: Lens' ProjectsTopicsCreate (Maybe Xgafv) ptcXgafv = lens _ptcXgafv (\ s a -> s{_ptcXgafv = a}) -- | Upload protocol for media (e.g. \"raw\", \"multipart\"). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Topics/Delete.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Topics/Delete.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Topics/Delete.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Topics/Delete.hs 2017-07-12 16:45:06.000000000 +0200 @@ -56,7 +56,7 @@ type ProjectsTopicsDeleteResource = "v1" :> Capture "topic" Text :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -74,7 +74,7 @@ -- -- /See:/ 'projectsTopicsDelete' smart constructor. data ProjectsTopicsDelete = ProjectsTopicsDelete' - { _ptdXgafv :: !(Maybe Text) + { _ptdXgafv :: !(Maybe Xgafv) , _ptdUploadProtocol :: !(Maybe Text) , _ptdPp :: !Bool , _ptdAccessToken :: !(Maybe Text) @@ -119,7 +119,7 @@ } -- | V1 error format. -ptdXgafv :: Lens' ProjectsTopicsDelete (Maybe Text) +ptdXgafv :: Lens' ProjectsTopicsDelete (Maybe Xgafv) ptdXgafv = lens _ptdXgafv (\ s a -> s{_ptdXgafv = a}) -- | Upload protocol for media (e.g. \"raw\", \"multipart\"). @@ -144,7 +144,8 @@ = lens _ptdUploadType (\ s a -> s{_ptdUploadType = a}) --- | Name of the topic to delete. +-- | Name of the topic to delete. Format is +-- \`projects\/{project}\/topics\/{topic}\`. ptdTopic :: Lens' ProjectsTopicsDelete Text ptdTopic = lens _ptdTopic (\ s a -> s{_ptdTopic = a}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Topics/Get.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Topics/Get.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Topics/Get.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Topics/Get.hs 2017-07-12 16:45:06.000000000 +0200 @@ -51,7 +51,7 @@ type ProjectsTopicsGetResource = "v1" :> Capture "topic" Text :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -64,7 +64,7 @@ -- -- /See:/ 'projectsTopicsGet' smart constructor. data ProjectsTopicsGet = ProjectsTopicsGet' - { _ptgXgafv :: !(Maybe Text) + { _ptgXgafv :: !(Maybe Xgafv) , _ptgUploadProtocol :: !(Maybe Text) , _ptgPp :: !Bool , _ptgAccessToken :: !(Maybe Text) @@ -109,7 +109,7 @@ } -- | V1 error format. -ptgXgafv :: Lens' ProjectsTopicsGet (Maybe Text) +ptgXgafv :: Lens' ProjectsTopicsGet (Maybe Xgafv) ptgXgafv = lens _ptgXgafv (\ s a -> s{_ptgXgafv = a}) -- | Upload protocol for media (e.g. \"raw\", \"multipart\"). @@ -134,7 +134,8 @@ = lens _ptgUploadType (\ s a -> s{_ptgUploadType = a}) --- | The name of the topic to get. +-- | The name of the topic to get. Format is +-- \`projects\/{project}\/topics\/{topic}\`. ptgTopic :: Lens' ProjectsTopicsGet Text ptgTopic = lens _ptgTopic (\ s a -> s{_ptgTopic = a}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Topics/GetIAMPolicy.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Topics/GetIAMPolicy.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Topics/GetIAMPolicy.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Topics/GetIAMPolicy.hs 2017-07-12 16:45:06.000000000 +0200 @@ -52,7 +52,7 @@ type ProjectsTopicsGetIAMPolicyResource = "v1" :> CaptureMode "resource" "getIamPolicy" Text :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -66,7 +66,7 @@ -- -- /See:/ 'projectsTopicsGetIAMPolicy' smart constructor. data ProjectsTopicsGetIAMPolicy = ProjectsTopicsGetIAMPolicy' - { _ptgipXgafv :: !(Maybe Text) + { _ptgipXgafv :: !(Maybe Xgafv) , _ptgipUploadProtocol :: !(Maybe Text) , _ptgipPp :: !Bool , _ptgipAccessToken :: !(Maybe Text) @@ -111,7 +111,7 @@ } -- | V1 error format. -ptgipXgafv :: Lens' ProjectsTopicsGetIAMPolicy (Maybe Text) +ptgipXgafv :: Lens' ProjectsTopicsGetIAMPolicy (Maybe Xgafv) ptgipXgafv = lens _ptgipXgafv (\ s a -> s{_ptgipXgafv = a}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Topics/List.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Topics/List.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Topics/List.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Topics/List.hs 2017-07-12 16:45:06.000000000 +0200 @@ -54,7 +54,7 @@ "v1" :> Capture "project" Text :> "topics" :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -70,7 +70,7 @@ -- -- /See:/ 'projectsTopicsList' smart constructor. data ProjectsTopicsList = ProjectsTopicsList' - { _ptlXgafv :: !(Maybe Text) + { _ptlXgafv :: !(Maybe Xgafv) , _ptlUploadProtocol :: !(Maybe Text) , _ptlProject :: !Text , _ptlPp :: !Bool @@ -123,7 +123,7 @@ } -- | V1 error format. -ptlXgafv :: Lens' ProjectsTopicsList (Maybe Text) +ptlXgafv :: Lens' ProjectsTopicsList (Maybe Xgafv) ptlXgafv = lens _ptlXgafv (\ s a -> s{_ptlXgafv = a}) -- | Upload protocol for media (e.g. \"raw\", \"multipart\"). @@ -132,7 +132,8 @@ = lens _ptlUploadProtocol (\ s a -> s{_ptlUploadProtocol = a}) --- | The name of the cloud project that topics belong to. +-- | The name of the cloud project that topics belong to. Format is +-- \`projects\/{project}\`. ptlProject :: Lens' ProjectsTopicsList Text ptlProject = lens _ptlProject (\ s a -> s{_ptlProject = a}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Topics/Publish.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Topics/Publish.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Topics/Publish.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Topics/Publish.hs 2017-07-12 16:45:06.000000000 +0200 @@ -54,7 +54,7 @@ type ProjectsTopicsPublishResource = "v1" :> CaptureMode "topic" "publish" Text :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -71,7 +71,7 @@ -- -- /See:/ 'projectsTopicsPublish' smart constructor. data ProjectsTopicsPublish = ProjectsTopicsPublish' - { _ptpXgafv :: !(Maybe Text) + { _ptpXgafv :: !(Maybe Xgafv) , _ptpUploadProtocol :: !(Maybe Text) , _ptpPp :: !Bool , _ptpAccessToken :: !(Maybe Text) @@ -121,7 +121,7 @@ } -- | V1 error format. -ptpXgafv :: Lens' ProjectsTopicsPublish (Maybe Text) +ptpXgafv :: Lens' ProjectsTopicsPublish (Maybe Xgafv) ptpXgafv = lens _ptpXgafv (\ s a -> s{_ptpXgafv = a}) -- | Upload protocol for media (e.g. \"raw\", \"multipart\"). @@ -151,7 +151,8 @@ ptpPayload = lens _ptpPayload (\ s a -> s{_ptpPayload = a}) --- | The messages in the request will be published on this topic. +-- | The messages in the request will be published on this topic. Format is +-- \`projects\/{project}\/topics\/{topic}\`. ptpTopic :: Lens' ProjectsTopicsPublish Text ptpTopic = lens _ptpTopic (\ s a -> s{_ptpTopic = a}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Topics/SetIAMPolicy.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Topics/SetIAMPolicy.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Topics/SetIAMPolicy.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Topics/SetIAMPolicy.hs 2017-07-12 16:45:06.000000000 +0200 @@ -53,7 +53,7 @@ type ProjectsTopicsSetIAMPolicyResource = "v1" :> CaptureMode "resource" "setIamPolicy" Text :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -69,7 +69,7 @@ -- -- /See:/ 'projectsTopicsSetIAMPolicy' smart constructor. data ProjectsTopicsSetIAMPolicy = ProjectsTopicsSetIAMPolicy' - { _ptsipXgafv :: !(Maybe Text) + { _ptsipXgafv :: !(Maybe Xgafv) , _ptsipUploadProtocol :: !(Maybe Text) , _ptsipPp :: !Bool , _ptsipAccessToken :: !(Maybe Text) @@ -119,7 +119,7 @@ } -- | V1 error format. -ptsipXgafv :: Lens' ProjectsTopicsSetIAMPolicy (Maybe Text) +ptsipXgafv :: Lens' ProjectsTopicsSetIAMPolicy (Maybe Xgafv) ptsipXgafv = lens _ptsipXgafv (\ s a -> s{_ptsipXgafv = a}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Topics/Subscriptions/List.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Topics/Subscriptions/List.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Topics/Subscriptions/List.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Topics/Subscriptions/List.hs 2017-07-12 16:45:06.000000000 +0200 @@ -54,7 +54,7 @@ "v1" :> Capture "topic" Text :> "subscriptions" :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -70,7 +70,7 @@ -- -- /See:/ 'projectsTopicsSubscriptionsList' smart constructor. data ProjectsTopicsSubscriptionsList = ProjectsTopicsSubscriptionsList' - { _ptslXgafv :: !(Maybe Text) + { _ptslXgafv :: !(Maybe Xgafv) , _ptslUploadProtocol :: !(Maybe Text) , _ptslPp :: !Bool , _ptslAccessToken :: !(Maybe Text) @@ -123,7 +123,7 @@ } -- | V1 error format. -ptslXgafv :: Lens' ProjectsTopicsSubscriptionsList (Maybe Text) +ptslXgafv :: Lens' ProjectsTopicsSubscriptionsList (Maybe Xgafv) ptslXgafv = lens _ptslXgafv (\ s a -> s{_ptslXgafv = a}) @@ -149,7 +149,8 @@ = lens _ptslUploadType (\ s a -> s{_ptslUploadType = a}) --- | The name of the topic that subscriptions are attached to. +-- | The name of the topic that subscriptions are attached to. Format is +-- \`projects\/{project}\/topics\/{topic}\`. ptslTopic :: Lens' ProjectsTopicsSubscriptionsList Text ptslTopic = lens _ptslTopic (\ s a -> s{_ptslTopic = a}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Topics/TestIAMPermissions.hs new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Topics/TestIAMPermissions.hs --- old/gogol-pubsub-0.1.1/gen/Network/Google/Resource/PubSub/Projects/Topics/TestIAMPermissions.hs 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gen/Network/Google/Resource/PubSub/Projects/Topics/TestIAMPermissions.hs 2017-07-12 16:45:06.000000000 +0200 @@ -20,7 +20,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- --- Returns permissions that a caller has on the specified resource. +-- Returns permissions that a caller has on the specified resource. If the +-- resource does not exist, this will return an empty set of permissions, +-- not a NOT_FOUND error. -- -- /See:/ <https://cloud.google.com/pubsub/docs Google Cloud Pub/Sub API Reference> for @pubsub.projects.topics.testIamPermissions@. module Network.Google.Resource.PubSub.Projects.Topics.TestIAMPermissions @@ -52,7 +54,7 @@ type ProjectsTopicsTestIAMPermissionsResource = "v1" :> CaptureMode "resource" "testIamPermissions" Text :> - QueryParam "$.xgafv" Text :> + QueryParam "$.xgafv" Xgafv :> QueryParam "upload_protocol" Text :> QueryParam "pp" Bool :> QueryParam "access_token" Text :> @@ -63,11 +65,13 @@ ReqBody '[JSON] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse --- | Returns permissions that a caller has on the specified resource. +-- | Returns permissions that a caller has on the specified resource. If the +-- resource does not exist, this will return an empty set of permissions, +-- not a NOT_FOUND error. -- -- /See:/ 'projectsTopicsTestIAMPermissions' smart constructor. data ProjectsTopicsTestIAMPermissions = ProjectsTopicsTestIAMPermissions' - { _pttipXgafv :: !(Maybe Text) + { _pttipXgafv :: !(Maybe Xgafv) , _pttipUploadProtocol :: !(Maybe Text) , _pttipPp :: !Bool , _pttipAccessToken :: !(Maybe Text) @@ -117,7 +121,7 @@ } -- | V1 error format. -pttipXgafv :: Lens' ProjectsTopicsTestIAMPermissions (Maybe Text) +pttipXgafv :: Lens' ProjectsTopicsTestIAMPermissions (Maybe Xgafv) pttipXgafv = lens _pttipXgafv (\ s a -> s{_pttipXgafv = a}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-pubsub-0.1.1/gogol-pubsub.cabal new/gogol-pubsub-0.3.0/gogol-pubsub.cabal --- old/gogol-pubsub-0.1.1/gogol-pubsub.cabal 2016-11-03 14:26:27.000000000 +0100 +++ new/gogol-pubsub-0.3.0/gogol-pubsub.cabal 2017-07-12 16:45:06.000000000 +0200 @@ -1,5 +1,5 @@ name: gogol-pubsub -version: 0.1.1 +version: 0.3.0 synopsis: Google Cloud Pub/Sub SDK. homepage: https://github.com/brendanhay/gogol bug-reports: https://github.com/brendanhay/gogol/issues @@ -65,5 +65,5 @@ , Network.Google.PubSub.Types.Sum build-depends: - gogol-core == 0.1.1.* + gogol-core == 0.3.0.* , base >= 4.7 && < 5
participants (1)
-
root@hilbert.suse.de