on develop help sign in
Regenerating gogol-pubsub from latest service definition
commit21c23b12653fff4d7adfbb2f8f971cfd3b8f1a01 authorBrendan Hay <brendan.g.hay@gmail.com> dateTue 10 May 2016, 16:12 (10 years ago) parent75e6d33
8 files changed+63−54
gogol-pubsub/gen/Network/Google/PubSub/Types/Product.hs+21−12 gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Create.hs+10−10 gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/GetIAMPolicy.hs+8−8 gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/SetIAMPolicy.hs+4−4 gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/TestIAMPermissions.hs+4−4 gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Topics/GetIAMPolicy.hs+8−8 gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Topics/SetIAMPolicy.hs+4−4 gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Topics/TestIAMPermissions.hs+4−4
gogol-pubsub/gen/Network/Google/PubSub/Types/Product.hs+21−12
@@ -662,7 +662,8 @@ testIAMPermissionsRequest =
662662 }
663663
664664-- | The set of permissions to check for the \`resource\`. Permissions with
665−-- wildcards (such as \'*\' or \'storage.*\') are not allowed.
665+-- wildcards (such as \'*\' or \'storage.*\') are not allowed. For more
666+-- information see IAM Overview.
666667tiprPermissions :: Lens' TestIAMPermissionsRequest [Text]
667668tiprPermissions
668669 = lens _tiprPermissions
@@ -808,7 +809,7 @@ instance ToJSON TestIAMPermissionsResponse where
808809-- \"bindings\": [ { \"role\": \"roles\/owner\", \"members\": [
809810-- \"user:mike\'example.com\", \"group:admins\'example.com\",
810811-- \"domain:google.com\",
811−-- \"serviceAccount:my-other-app\'appspot.gserviceaccount.com\"] }, {
812+-- \"serviceAccount:my-other-app\'appspot.gserviceaccount.com\", ] }, {
812813-- \"role\": \"roles\/viewer\", \"members\": [\"user:sean\'example.com\"] }
813814-- ] } For a description of IAM and its features, see the [IAM developer\'s
814815-- guide](https:\/\/cloud.google.com\/iam).
@@ -838,7 +839,15 @@ policy =
838839 , _pBindings = Nothing
839840 }
840841
841−-- | Can be used to perform a read-modify-write.
842+-- | \`etag\` is used for optimistic concurrency control as a way to help
843+-- prevent simultaneous updates of a policy from overwriting each other. It
844+-- is strongly suggested that systems make use of the \`etag\` in the
845+-- read-modify-write cycle to perform policy updates in order to avoid race
846+-- conditions: An \`etag\` is returned in the response to \`getIamPolicy\`,
847+-- and systems are expected to put that etag in the request to
848+-- \`setIamPolicy\` to ensure that their change will be applied to the same
849+-- version of the policy. If no \`etag\` is provided in the call to
850+-- \`setIamPolicy\`, then the existing policy is overwritten blindly.
842851pEtag :: Lens' Policy (Maybe Word8)
843852pEtag
844853 = lens _pEtag (\ s a -> s{_pEtag = a}) .
@@ -981,14 +990,14 @@ sName = lens _sName (\ s a -> s{_sName = a})
981990-- before the subscriber should acknowledge the message. After message
982991-- delivery but before the ack deadline expires and before the message is
983992-- acknowledged, it is an outstanding message and will not be delivered
984−-- again during that time (on a best-effort basis). For pull delivery this
985−-- value is used as the initial value for the ack deadline. To override
986−-- this value for a given message, call \`ModifyAckDeadline\` with the
987−-- corresponding \`ack_id\`. For push delivery, this value is also used to
988−-- set the request timeout for the call to the push endpoint. If the
989−-- subscriber never acknowledges the message, the Pub\/Sub system will
990−-- eventually redeliver the message. If this parameter is not set, the
991−-- default value of 10 seconds is used.
993+-- again during that time (on a best-effort basis). For pull subscriptions,
994+-- this value is used as the initial value for the ack deadline. To
995+-- override this value for a given message, call \`ModifyAckDeadline\` with
996+-- the corresponding \`ack_id\` if using pull. For push delivery, this
997+-- value is also used to set the request timeout for the call to the push
998+-- endpoint. If the subscriber never acknowledges the message, the Pub\/Sub
999+-- system will eventually redeliver the message. If this parameter is not
1000+-- set, the default value of 10 seconds is used.
9921001sAckDeadlineSeconds :: Lens' Subscription (Maybe Int32)
9931002sAckDeadlineSeconds
9941003 = lens _sAckDeadlineSeconds
@@ -1090,7 +1099,7 @@ binding =
10901099 }
10911100
10921101-- | Specifies the identities requesting access for a Cloud Platform
1093−-- resource. \`members\` can have the following formats: * \`allUsers\`: A
1102+-- resource. \`members\` can have the following values: * \`allUsers\`: A
10941103-- special identifier that represents anyone who is on the internet; with
10951104-- or without a Google account. * \`allAuthenticatedUsers\`: A special
10961105-- identifier that represents anyone who is authenticated with a Google
gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Create.hs+10−10
@@ -20,11 +20,11 @@
2020-- Stability : auto-generated
2121-- Portability : non-portable (GHC extensions)
2222--
23−-- Creates a subscription to a given topic for a given subscriber. If the
24−-- subscription already exists, returns \`ALREADY_EXISTS\`. If the
25−-- corresponding topic doesn\'t exist, returns \`NOT_FOUND\`. If the name
26−-- is not provided in the request, the server will assign a random name for
27−-- this subscription on the same project as the topic.
23+-- Creates a subscription to a given topic. If the subscription already
24+-- exists, returns \`ALREADY_EXISTS\`. If the corresponding topic doesn\'t
25+-- exist, returns \`NOT_FOUND\`. If the name is not provided in the
26+-- request, the server will assign a random name for this subscription on
27+-- the same project as the topic.
2828--
2929-- /See:/ <https://cloud.google.com/pubsub/docs Google Cloud Pub/Sub API Reference> for @pubsub.projects.subscriptions.create@.
3030module Network.Google.Resource.PubSub.Projects.Subscriptions.Create
@@ -67,11 +67,11 @@ type ProjectsSubscriptionsCreateResource =
6767 ReqBody '[JSON] Subscription :>
6868 Put '[JSON] Subscription
6969
70−-- | Creates a subscription to a given topic for a given subscriber. If the
71−-- subscription already exists, returns \`ALREADY_EXISTS\`. If the
72−-- corresponding topic doesn\'t exist, returns \`NOT_FOUND\`. If the name
73−-- is not provided in the request, the server will assign a random name for
74−-- this subscription on the same project as the topic.
70+-- | Creates a subscription to a given topic. If the subscription already
71+-- exists, returns \`ALREADY_EXISTS\`. If the corresponding topic doesn\'t
72+-- exist, returns \`NOT_FOUND\`. If the name is not provided in the
73+-- request, the server will assign a random name for this subscription on
74+-- the same project as the topic.
7575--
7676-- /See:/ 'projectsSubscriptionsCreate' smart constructor.
7777data ProjectsSubscriptionsCreate = ProjectsSubscriptionsCreate'
gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/GetIAMPolicy.hs+8−8
@@ -20,8 +20,8 @@
2020-- Stability : auto-generated
2121-- Portability : non-portable (GHC extensions)
2222--
23−-- Gets the access control policy for a \`resource\`. Is empty if the
24−-- policy or the resource does not exist.
23+-- Gets the access control policy for a \`resource\`. Returns an empty
24+-- policy if the resource exists and does not have a policy set.
2525--
2626-- /See:/ <https://cloud.google.com/pubsub/docs Google Cloud Pub/Sub API Reference> for @pubsub.projects.subscriptions.getIamPolicy@.
2727module Network.Google.Resource.PubSub.Projects.Subscriptions.GetIAMPolicy
@@ -61,8 +61,8 @@ type ProjectsSubscriptionsGetIAMPolicyResource =
6161 QueryParam "callback" Text :>
6262 QueryParam "alt" AltJSON :> Get '[JSON] Policy
6363
64−-- | Gets the access control policy for a \`resource\`. Is empty if the
65−-- policy or the resource does not exist.
64+-- | Gets the access control policy for a \`resource\`. Returns an empty
65+-- policy if the resource exists and does not have a policy set.
6666--
6767-- /See:/ 'projectsSubscriptionsGetIAMPolicy' smart constructor.
6868data ProjectsSubscriptionsGetIAMPolicy = ProjectsSubscriptionsGetIAMPolicy'
@@ -143,11 +143,11 @@ psgipBearerToken
143143 = lens _psgipBearerToken
144144 (\ s a -> s{_psgipBearerToken = a})
145145
146−-- | REQUIRED: The resource for which policy is being requested. \`resource\`
147−-- is usually specified as a path, such as,
148−-- \`projects\/{project}\/zones\/{zone}\/disks\/{disk}\`. The format for
146+-- | REQUIRED: The resource for which the policy is being requested.
147+-- \`resource\` is usually specified as a path, such as
148+-- \`projects\/*project*\/zones\/*zone*\/disks\/*disk*\`. The format for
149149-- the path specified in this value is resource specific and is specified
150−-- in the documentation for the respective GetIamPolicy rpc.
150+-- in the \`getIamPolicy\` documentation.
151151psgipResource :: Lens' ProjectsSubscriptionsGetIAMPolicy Text
152152psgipResource
153153 = lens _psgipResource
gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/SetIAMPolicy.hs+4−4
@@ -156,11 +156,11 @@ pssipBearerToken
156156 = lens _pssipBearerToken
157157 (\ s a -> s{_pssipBearerToken = a})
158158
159−-- | REQUIRED: The resource for which policy is being specified. \`resource\`
160−-- is usually specified as a path, such as,
161−-- \`projects\/{project}\/zones\/{zone}\/disks\/{disk}\`. The format for
159+-- | REQUIRED: The resource for which the policy is being specified.
160+-- \`resource\` is usually specified as a path, such as
161+-- \`projects\/*project*\/zones\/*zone*\/disks\/*disk*\`. The format for
162162-- the path specified in this value is resource specific and is specified
163−-- in the documentation for the respective SetIamPolicy rpc.
163+-- in the \`setIamPolicy\` documentation.
164164pssipResource :: Lens' ProjectsSubscriptionsSetIAMPolicy Text
165165pssipResource
166166 = lens _pssipResource
gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/TestIAMPermissions.hs+4−4
@@ -155,11 +155,11 @@ pstipBearerToken
155155 = lens _pstipBearerToken
156156 (\ s a -> s{_pstipBearerToken = a})
157157
158−-- | REQUIRED: The resource for which policy detail is being requested.
159−-- \`resource\` is usually specified as a path, such as,
160−-- \`projects\/{project}\/zones\/{zone}\/disks\/{disk}\`. The format for
158+-- | REQUIRED: The resource for which the policy detail is being requested.
159+-- \`resource\` is usually specified as a path, such as
160+-- \`projects\/*project*\/zones\/*zone*\/disks\/*disk*\`. The format for
161161-- the path specified in this value is resource specific and is specified
162−-- in the documentation for the respective TestIamPermissions rpc.
162+-- in the \`testIamPermissions\` documentation.
163163pstipResource :: Lens' ProjectsSubscriptionsTestIAMPermissions Text
164164pstipResource
165165 = lens _pstipResource
gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Topics/GetIAMPolicy.hs+8−8
@@ -20,8 +20,8 @@
2020-- Stability : auto-generated
2121-- Portability : non-portable (GHC extensions)
2222--
23−-- Gets the access control policy for a \`resource\`. Is empty if the
24−-- policy or the resource does not exist.
23+-- Gets the access control policy for a \`resource\`. Returns an empty
24+-- policy if the resource exists and does not have a policy set.
2525--
2626-- /See:/ <https://cloud.google.com/pubsub/docs Google Cloud Pub/Sub API Reference> for @pubsub.projects.topics.getIamPolicy@.
2727module Network.Google.Resource.PubSub.Projects.Topics.GetIAMPolicy
@@ -61,8 +61,8 @@ type ProjectsTopicsGetIAMPolicyResource =
6161 QueryParam "callback" Text :>
6262 QueryParam "alt" AltJSON :> Get '[JSON] Policy
6363
64−-- | Gets the access control policy for a \`resource\`. Is empty if the
65−-- policy or the resource does not exist.
64+-- | Gets the access control policy for a \`resource\`. Returns an empty
65+-- policy if the resource exists and does not have a policy set.
6666--
6767-- /See:/ 'projectsTopicsGetIAMPolicy' smart constructor.
6868data ProjectsTopicsGetIAMPolicy = ProjectsTopicsGetIAMPolicy'
@@ -143,11 +143,11 @@ ptgipBearerToken
143143 = lens _ptgipBearerToken
144144 (\ s a -> s{_ptgipBearerToken = a})
145145
146−-- | REQUIRED: The resource for which policy is being requested. \`resource\`
147−-- is usually specified as a path, such as,
148−-- \`projects\/{project}\/zones\/{zone}\/disks\/{disk}\`. The format for
146+-- | REQUIRED: The resource for which the policy is being requested.
147+-- \`resource\` is usually specified as a path, such as
148+-- \`projects\/*project*\/zones\/*zone*\/disks\/*disk*\`. The format for
149149-- the path specified in this value is resource specific and is specified
150−-- in the documentation for the respective GetIamPolicy rpc.
150+-- in the \`getIamPolicy\` documentation.
151151ptgipResource :: Lens' ProjectsTopicsGetIAMPolicy Text
152152ptgipResource
153153 = lens _ptgipResource
gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Topics/SetIAMPolicy.hs+4−4
@@ -156,11 +156,11 @@ ptsipBearerToken
156156 = lens _ptsipBearerToken
157157 (\ s a -> s{_ptsipBearerToken = a})
158158
159−-- | REQUIRED: The resource for which policy is being specified. \`resource\`
160−-- is usually specified as a path, such as,
161−-- \`projects\/{project}\/zones\/{zone}\/disks\/{disk}\`. The format for
159+-- | REQUIRED: The resource for which the policy is being specified.
160+-- \`resource\` is usually specified as a path, such as
161+-- \`projects\/*project*\/zones\/*zone*\/disks\/*disk*\`. The format for
162162-- the path specified in this value is resource specific and is specified
163−-- in the documentation for the respective SetIamPolicy rpc.
163+-- in the \`setIamPolicy\` documentation.
164164ptsipResource :: Lens' ProjectsTopicsSetIAMPolicy Text
165165ptsipResource
166166 = lens _ptsipResource
gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Topics/TestIAMPermissions.hs+4−4
@@ -154,11 +154,11 @@ pttipBearerToken
154154 = lens _pttipBearerToken
155155 (\ s a -> s{_pttipBearerToken = a})
156156
157−-- | REQUIRED: The resource for which policy detail is being requested.
158−-- \`resource\` is usually specified as a path, such as,
159−-- \`projects\/{project}\/zones\/{zone}\/disks\/{disk}\`. The format for
157+-- | REQUIRED: The resource for which the policy detail is being requested.
158+-- \`resource\` is usually specified as a path, such as
159+-- \`projects\/*project*\/zones\/*zone*\/disks\/*disk*\`. The format for
160160-- the path specified in this value is resource specific and is specified
161−-- in the documentation for the respective TestIamPermissions rpc.
161+-- in the \`testIamPermissions\` documentation.
162162pttipResource :: Lens' ProjectsTopicsTestIAMPermissions Text
163163pttipResource
164164 = lens _pttipResource