google-api-client 0.30.5 → 0.30.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (165) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +63 -0
  3. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  4. data/generated/google/apis/accesscontextmanager_v1/service.rb +1 -1
  5. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  6. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +1 -1
  7. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  8. data/generated/google/apis/analyticsreporting_v4/classes.rb +11 -7
  9. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  10. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
  11. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  12. data/generated/google/apis/androidmanagement_v1/classes.rb +2 -2
  13. data/generated/google/apis/cloudasset_v1.rb +1 -1
  14. data/generated/google/apis/cloudasset_v1/classes.rb +19 -10
  15. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  16. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  17. data/generated/google/apis/cloudasset_v1beta1/classes.rb +19 -10
  18. data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
  19. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  20. data/generated/google/apis/cloudbilling_v1/classes.rb +19 -10
  21. data/generated/google/apis/cloudbilling_v1/representations.rb +1 -0
  22. data/generated/google/apis/cloudbilling_v1/service.rb +7 -1
  23. data/generated/google/apis/cloudiot_v1.rb +1 -1
  24. data/generated/google/apis/cloudiot_v1/classes.rb +28 -0
  25. data/generated/google/apis/cloudiot_v1/representations.rb +15 -0
  26. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  27. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +19 -10
  28. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +1 -0
  29. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +7 -1
  30. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  31. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +10 -10
  32. data/generated/google/apis/cloudresourcemanager_v1/service.rb +4 -6
  33. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  34. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +10 -10
  35. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  36. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +10 -10
  37. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  38. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +10 -10
  39. data/generated/google/apis/compute_alpha.rb +1 -1
  40. data/generated/google/apis/compute_alpha/classes.rb +261 -145
  41. data/generated/google/apis/compute_beta.rb +1 -1
  42. data/generated/google/apis/compute_beta/classes.rb +261 -145
  43. data/generated/google/apis/compute_beta/service.rb +1 -1
  44. data/generated/google/apis/compute_v1.rb +1 -1
  45. data/generated/google/apis/compute_v1/classes.rb +242 -125
  46. data/generated/google/apis/container_v1.rb +1 -1
  47. data/generated/google/apis/container_v1/classes.rb +43 -0
  48. data/generated/google/apis/container_v1/representations.rb +19 -0
  49. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  50. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +28 -0
  51. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +15 -0
  52. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  53. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +28 -0
  54. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +15 -0
  55. data/generated/google/apis/content_v2.rb +1 -1
  56. data/generated/google/apis/content_v2/classes.rb +0 -6
  57. data/generated/google/apis/content_v2/representations.rb +0 -1
  58. data/generated/google/apis/content_v2_1.rb +1 -1
  59. data/generated/google/apis/content_v2_1/classes.rb +1 -1
  60. data/generated/google/apis/dataproc_v1.rb +1 -1
  61. data/generated/google/apis/dataproc_v1/classes.rb +27 -0
  62. data/generated/google/apis/dataproc_v1/representations.rb +15 -0
  63. data/generated/google/apis/dataproc_v1/service.rb +0 -216
  64. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  65. data/generated/google/apis/dataproc_v1beta2/classes.rb +27 -0
  66. data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
  67. data/generated/google/apis/dataproc_v1beta2/service.rb +42 -7
  68. data/generated/google/apis/dialogflow_v2.rb +1 -1
  69. data/generated/google/apis/dialogflow_v2/classes.rb +146 -0
  70. data/generated/google/apis/dialogflow_v2/representations.rb +75 -0
  71. data/generated/google/apis/dialogflow_v2/service.rb +47 -0
  72. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  73. data/generated/google/apis/dialogflow_v2beta1/classes.rb +146 -0
  74. data/generated/google/apis/dialogflow_v2beta1/representations.rb +75 -0
  75. data/generated/google/apis/dialogflow_v2beta1/service.rb +47 -0
  76. data/generated/google/apis/fcm_v1.rb +1 -1
  77. data/generated/google/apis/fcm_v1/classes.rb +29 -0
  78. data/generated/google/apis/fcm_v1/representations.rb +3 -0
  79. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  80. data/generated/google/apis/healthcare_v1alpha2/classes.rb +19 -10
  81. data/generated/google/apis/healthcare_v1alpha2/representations.rb +1 -0
  82. data/generated/google/apis/healthcare_v1alpha2/service.rb +12 -10
  83. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  84. data/generated/google/apis/healthcare_v1beta1/classes.rb +19 -10
  85. data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -0
  86. data/generated/google/apis/iam_v1.rb +1 -1
  87. data/generated/google/apis/iam_v1/classes.rb +12 -12
  88. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  89. data/generated/google/apis/iamcredentials_v1/classes.rb +0 -97
  90. data/generated/google/apis/iamcredentials_v1/representations.rb +0 -28
  91. data/generated/google/apis/iamcredentials_v1/service.rb +0 -36
  92. data/generated/google/apis/iap_v1.rb +1 -1
  93. data/generated/google/apis/iap_v1/classes.rb +2 -2
  94. data/generated/google/apis/iap_v1beta1.rb +1 -1
  95. data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
  96. data/generated/google/apis/language_v1.rb +1 -1
  97. data/generated/google/apis/language_v1beta2.rb +1 -1
  98. data/generated/google/apis/ml_v1.rb +1 -1
  99. data/generated/google/apis/ml_v1/classes.rb +11 -11
  100. data/generated/google/apis/ml_v1/service.rb +14 -2
  101. data/generated/google/apis/pubsub_v1.rb +1 -1
  102. data/generated/google/apis/pubsub_v1/service.rb +21 -3
  103. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  104. data/generated/google/apis/pubsub_v1beta2/service.rb +14 -2
  105. data/generated/google/apis/run_v1alpha1.rb +1 -1
  106. data/generated/google/apis/run_v1alpha1/classes.rb +24 -19
  107. data/generated/google/apis/run_v1alpha1/representations.rb +4 -3
  108. data/generated/google/apis/run_v1alpha1/service.rb +7 -1
  109. data/generated/google/apis/run_v1beta1.rb +35 -0
  110. data/generated/google/apis/run_v1beta1/classes.rb +98 -0
  111. data/generated/google/apis/run_v1beta1/representations.rb +58 -0
  112. data/generated/google/apis/run_v1beta1/service.rb +99 -0
  113. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  114. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
  115. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +7 -1
  116. data/generated/google/apis/securitycenter_v1.rb +1 -1
  117. data/generated/google/apis/securitycenter_v1/classes.rb +19 -10
  118. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  119. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  120. data/generated/google/apis/securitycenter_v1beta1/classes.rb +19 -10
  121. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  122. data/generated/google/apis/servicebroker_v1.rb +1 -1
  123. data/generated/google/apis/servicebroker_v1/classes.rb +2 -2
  124. data/generated/google/apis/servicebroker_v1/service.rb +7 -1
  125. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  126. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +7 -10
  127. data/generated/google/apis/servicebroker_v1alpha1/service.rb +7 -1
  128. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  129. data/generated/google/apis/servicebroker_v1beta1/classes.rb +13 -20
  130. data/generated/google/apis/servicebroker_v1beta1/service.rb +7 -1
  131. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  132. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +10 -2
  133. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  134. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  135. data/generated/google/apis/servicemanagement_v1/classes.rb +18 -0
  136. data/generated/google/apis/servicemanagement_v1/representations.rb +2 -0
  137. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  138. data/generated/google/apis/servicenetworking_v1/classes.rb +13 -4
  139. data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
  140. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  141. data/generated/google/apis/servicenetworking_v1beta/classes.rb +13 -4
  142. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
  143. data/generated/google/apis/serviceusage_v1.rb +1 -1
  144. data/generated/google/apis/serviceusage_v1/classes.rb +9 -0
  145. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  146. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  147. data/generated/google/apis/serviceusage_v1beta1/classes.rb +9 -0
  148. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  149. data/generated/google/apis/sheets_v4.rb +1 -1
  150. data/generated/google/apis/slides_v1.rb +1 -1
  151. data/generated/google/apis/tagmanager_v1.rb +1 -1
  152. data/generated/google/apis/tagmanager_v2.rb +1 -1
  153. data/generated/google/apis/videointelligence_v1.rb +1 -1
  154. data/generated/google/apis/videointelligence_v1/service.rb +0 -104
  155. data/generated/google/apis/vision_v1.rb +1 -1
  156. data/generated/google/apis/vision_v1/classes.rb +1995 -0
  157. data/generated/google/apis/vision_v1/representations.rb +1711 -843
  158. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  159. data/generated/google/apis/vision_v1p1beta1/classes.rb +1995 -0
  160. data/generated/google/apis/vision_v1p1beta1/representations.rb +1782 -914
  161. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  162. data/generated/google/apis/vision_v1p2beta1/classes.rb +1995 -0
  163. data/generated/google/apis/vision_v1p2beta1/representations.rb +1832 -964
  164. data/lib/google/apis/version.rb +1 -1
  165. metadata +6 -2
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials
26
26
  module IamcredentialsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190222'
28
+ REVISION = '20190704'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -154,103 +154,6 @@ module Google
154
154
  end
155
155
  end
156
156
 
157
- #
158
- class GenerateIdentityBindingAccessTokenRequest
159
- include Google::Apis::Core::Hashable
160
-
161
- # Required. Input token.
162
- # Must be in JWT format according to
163
- # RFC7523 (https://tools.ietf.org/html/rfc7523)
164
- # and must have 'kid' field in the header.
165
- # Supported signing algorithms: RS256 (RS512, ES256, ES512 coming soon).
166
- # Mandatory payload fields (along the lines of RFC 7523, section 3):
167
- # - iss: issuer of the token. Must provide a discovery document at
168
- # $iss/.well-known/openid-configuration . The document needs to be
169
- # formatted according to section 4.2 of the OpenID Connect Discovery
170
- # 1.0 specification.
171
- # - iat: Issue time in seconds since epoch. Must be in the past.
172
- # - exp: Expiration time in seconds since epoch. Must be less than 48 hours
173
- # after iat. We recommend to create tokens that last shorter than 6
174
- # hours to improve security unless business reasons mandate longer
175
- # expiration times. Shorter token lifetimes are generally more secure
176
- # since tokens that have been exfiltrated by attackers can be used for
177
- # a shorter time. you can configure the maximum lifetime of the
178
- # incoming token in the configuration of the mapper.
179
- # The resulting Google token will expire within an hour or at "exp",
180
- # whichever is earlier.
181
- # - sub: JWT subject, identity asserted in the JWT.
182
- # - aud: Configured in the mapper policy. By default the service account
183
- # email.
184
- # Claims from the incoming token can be transferred into the output token
185
- # accoding to the mapper configuration. The outgoing claim size is limited.
186
- # Outgoing claims size must be less than 4kB serialized as JSON without
187
- # whitespace.
188
- # Example header:
189
- # `
190
- # "alg": "RS256",
191
- # "kid": "92a4265e14ab04d4d228a48d10d4ca31610936f8"
192
- # `
193
- # Example payload:
194
- # `
195
- # "iss": "https://accounts.google.com",
196
- # "iat": 1517963104,
197
- # "exp": 1517966704,
198
- # "aud":
199
- # "https://iamcredentials.googleapis.com/google.iam.credentials.v1.CloudGaia",
200
- # "sub": "113475438248934895348",
201
- # "my_claims": `
202
- # "additional_claim": "value"
203
- # `
204
- # `
205
- # Corresponds to the JSON property `jwt`
206
- # @return [String]
207
- attr_accessor :jwt
208
-
209
- # Code to identify the scopes to be included in the OAuth 2.0 access token.
210
- # See https://developers.google.com/identity/protocols/googlescopes for more
211
- # information.
212
- # At least one value required.
213
- # Corresponds to the JSON property `scope`
214
- # @return [Array<String>]
215
- attr_accessor :scope
216
-
217
- def initialize(**args)
218
- update!(**args)
219
- end
220
-
221
- # Update properties of this object
222
- def update!(**args)
223
- @jwt = args[:jwt] if args.key?(:jwt)
224
- @scope = args[:scope] if args.key?(:scope)
225
- end
226
- end
227
-
228
- #
229
- class GenerateIdentityBindingAccessTokenResponse
230
- include Google::Apis::Core::Hashable
231
-
232
- # The OAuth 2.0 access token.
233
- # Corresponds to the JSON property `accessToken`
234
- # @return [String]
235
- attr_accessor :access_token
236
-
237
- # Token expiration time.
238
- # The expiration time is always set.
239
- # Corresponds to the JSON property `expireTime`
240
- # @return [String]
241
- attr_accessor :expire_time
242
-
243
- def initialize(**args)
244
- update!(**args)
245
- end
246
-
247
- # Update properties of this object
248
- def update!(**args)
249
- @access_token = args[:access_token] if args.key?(:access_token)
250
- @expire_time = args[:expire_time] if args.key?(:expire_time)
251
- end
252
- end
253
-
254
157
  #
255
158
  class SignBlobRequest
256
159
  include Google::Apis::Core::Hashable
@@ -46,18 +46,6 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class GenerateIdentityBindingAccessTokenRequest
50
- class Representation < Google::Apis::Core::JsonRepresentation; end
51
-
52
- include Google::Apis::Core::JsonObjectSupport
53
- end
54
-
55
- class GenerateIdentityBindingAccessTokenResponse
56
- class Representation < Google::Apis::Core::JsonRepresentation; end
57
-
58
- include Google::Apis::Core::JsonObjectSupport
59
- end
60
-
61
49
  class SignBlobRequest
62
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
51
 
@@ -115,22 +103,6 @@ module Google
115
103
  end
116
104
  end
117
105
 
118
- class GenerateIdentityBindingAccessTokenRequest
119
- # @private
120
- class Representation < Google::Apis::Core::JsonRepresentation
121
- property :jwt, as: 'jwt'
122
- collection :scope, as: 'scope'
123
- end
124
- end
125
-
126
- class GenerateIdentityBindingAccessTokenResponse
127
- # @private
128
- class Representation < Google::Apis::Core::JsonRepresentation
129
- property :access_token, as: 'accessToken'
130
- property :expire_time, as: 'expireTime'
131
- end
132
- end
133
-
134
106
  class SignBlobRequest
135
107
  # @private
136
108
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -119,42 +119,6 @@ module Google
119
119
  execute_or_queue_command(command, &block)
120
120
  end
121
121
 
122
- #
123
- # @param [String] name
124
- # The resource name of the service account for which the credentials
125
- # are requested, in the following format:
126
- # `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard
127
- # character is required; replacing it with a project ID is invalid.
128
- # @param [Google::Apis::IamcredentialsV1::GenerateIdentityBindingAccessTokenRequest] generate_identity_binding_access_token_request_object
129
- # @param [String] fields
130
- # Selector specifying which fields to include in a partial response.
131
- # @param [String] quota_user
132
- # Available to use for quota purposes for server-side applications. Can be any
133
- # arbitrary string assigned to a user, but should not exceed 40 characters.
134
- # @param [Google::Apis::RequestOptions] options
135
- # Request-specific options
136
- #
137
- # @yield [result, err] Result & error if block supplied
138
- # @yieldparam result [Google::Apis::IamcredentialsV1::GenerateIdentityBindingAccessTokenResponse] parsed result object
139
- # @yieldparam err [StandardError] error object if request failed
140
- #
141
- # @return [Google::Apis::IamcredentialsV1::GenerateIdentityBindingAccessTokenResponse]
142
- #
143
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
144
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
145
- # @raise [Google::Apis::AuthorizationError] Authorization is required
146
- def generate_service_account_identity_binding_access_token(name, generate_identity_binding_access_token_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
147
- command = make_simple_command(:post, 'v1/{+name}:generateIdentityBindingAccessToken', options)
148
- command.request_representation = Google::Apis::IamcredentialsV1::GenerateIdentityBindingAccessTokenRequest::Representation
149
- command.request_object = generate_identity_binding_access_token_request_object
150
- command.response_representation = Google::Apis::IamcredentialsV1::GenerateIdentityBindingAccessTokenResponse::Representation
151
- command.response_class = Google::Apis::IamcredentialsV1::GenerateIdentityBindingAccessTokenResponse
152
- command.params['name'] = name unless name.nil?
153
- command.query['fields'] = fields unless fields.nil?
154
- command.query['quotaUser'] = quota_user unless quota_user.nil?
155
- execute_or_queue_command(command, &block)
156
- end
157
-
158
122
  # Signs a blob using a service account's system-managed private key.
159
123
  # @param [String] name
160
124
  # The resource name of the service account for which the credentials
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/iap
26
26
  module IapV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190628'
28
+ REVISION = '20190704'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -41,7 +41,7 @@ module Google
41
41
  # * `allAuthenticatedUsers`: A special identifier that represents anyone
42
42
  # who is authenticated with a Google account or a service account.
43
43
  # * `user:`emailid``: An email address that represents a specific Google
44
- # account. For example, `alice@gmail.com` .
44
+ # account. For example, `alice@example.com` .
45
45
  # * `serviceAccount:`emailid``: An email address that represents a service
46
46
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
47
47
  # * `group:`emailid``: An email address that represents a Google group.
@@ -212,7 +212,7 @@ module Google
212
212
  # systems are expected to put that etag in the request to `setIamPolicy` to
213
213
  # ensure that their change will be applied to the same version of the policy.
214
214
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
215
- # policy is overwritten blindly.
215
+ # policy is overwritten.
216
216
  # Corresponds to the JSON property `etag`
217
217
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
218
218
  # @return [String]
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/iap
26
26
  module IapV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20190628'
28
+ REVISION = '20190704'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -41,7 +41,7 @@ module Google
41
41
  # * `allAuthenticatedUsers`: A special identifier that represents anyone
42
42
  # who is authenticated with a Google account or a service account.
43
43
  # * `user:`emailid``: An email address that represents a specific Google
44
- # account. For example, `alice@gmail.com` .
44
+ # account. For example, `alice@example.com` .
45
45
  # * `serviceAccount:`emailid``: An email address that represents a service
46
46
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
47
47
  # * `group:`emailid``: An email address that represents a Google group.
@@ -212,7 +212,7 @@ module Google
212
212
  # systems are expected to put that etag in the request to `setIamPolicy` to
213
213
  # ensure that their change will be applied to the same version of the policy.
214
214
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
215
- # policy is overwritten blindly.
215
+ # policy is overwritten.
216
216
  # Corresponds to the JSON property `etag`
217
217
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
218
218
  # @return [String]
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/natural-language/
28
28
  module LanguageV1
29
29
  VERSION = 'V1'
30
- REVISION = '20190603'
30
+ REVISION = '20190704'
31
31
 
32
32
  # Apply machine learning models to reveal the structure and meaning of text
33
33
  AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/natural-language/
28
28
  module LanguageV1beta2
29
29
  VERSION = 'V1beta2'
30
- REVISION = '20190603'
30
+ REVISION = '20190704'
31
31
 
32
32
  # Apply machine learning models to reveal the structure and meaning of text
33
33
  AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/ml/
26
26
  module MlV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190621'
28
+ REVISION = '20190704'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1675,7 +1675,7 @@ module Google
1675
1675
  # @return [Google::Apis::MlV1::GoogleCloudMlV1ManualScaling]
1676
1676
  attr_accessor :manual_scaling
1677
1677
 
1678
- # Required.The name specified for the version when it was created.
1678
+ # Required. The name specified for the version when it was created.
1679
1679
  # The version name must be unique within the model it is created in.
1680
1680
  # Corresponds to the JSON property `name`
1681
1681
  # @return [String]
@@ -1813,7 +1813,7 @@ module Google
1813
1813
  # `
1814
1814
  # "log_type": "DATA_READ",
1815
1815
  # "exempted_members": [
1816
- # "user:foo@gmail.com"
1816
+ # "user:jose@example.com"
1817
1817
  # ]
1818
1818
  # `,
1819
1819
  # `
@@ -1825,7 +1825,7 @@ module Google
1825
1825
  # ]
1826
1826
  # `,
1827
1827
  # `
1828
- # "service": "fooservice.googleapis.com"
1828
+ # "service": "sampleservice.googleapis.com"
1829
1829
  # "audit_log_configs": [
1830
1830
  # `
1831
1831
  # "log_type": "DATA_READ",
@@ -1833,16 +1833,16 @@ module Google
1833
1833
  # `
1834
1834
  # "log_type": "DATA_WRITE",
1835
1835
  # "exempted_members": [
1836
- # "user:bar@gmail.com"
1836
+ # "user:aliya@example.com"
1837
1837
  # ]
1838
1838
  # `
1839
1839
  # ]
1840
1840
  # `
1841
1841
  # ]
1842
1842
  # `
1843
- # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
1844
- # logging. It also exempts foo@gmail.com from DATA_READ logging, and
1845
- # bar@gmail.com from DATA_WRITE logging.
1843
+ # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
1844
+ # logging. It also exempts jose@example.com from DATA_READ logging, and
1845
+ # aliya@example.com from DATA_WRITE logging.
1846
1846
  class GoogleIamV1AuditConfig
1847
1847
  include Google::Apis::Core::Hashable
1848
1848
 
@@ -1876,7 +1876,7 @@ module Google
1876
1876
  # `
1877
1877
  # "log_type": "DATA_READ",
1878
1878
  # "exempted_members": [
1879
- # "user:foo@gmail.com"
1879
+ # "user:jose@example.com"
1880
1880
  # ]
1881
1881
  # `,
1882
1882
  # `
@@ -1885,7 +1885,7 @@ module Google
1885
1885
  # ]
1886
1886
  # `
1887
1887
  # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
1888
- # foo@gmail.com from DATA_READ logging.
1888
+ # jose@example.com from DATA_READ logging.
1889
1889
  class GoogleIamV1AuditLogConfig
1890
1890
  include Google::Apis::Core::Hashable
1891
1891
 
@@ -1931,7 +1931,7 @@ module Google
1931
1931
  # * `allAuthenticatedUsers`: A special identifier that represents anyone
1932
1932
  # who is authenticated with a Google account or a service account.
1933
1933
  # * `user:`emailid``: An email address that represents a specific Google
1934
- # account. For example, `alice@gmail.com` .
1934
+ # account. For example, `alice@example.com` .
1935
1935
  # * `serviceAccount:`emailid``: An email address that represents a service
1936
1936
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
1937
1937
  # * `group:`emailid``: An email address that represents a Google group.
@@ -2019,7 +2019,7 @@ module Google
2019
2019
  # systems are expected to put that etag in the request to `setIamPolicy` to
2020
2020
  # ensure that their change will be applied to the same version of the policy.
2021
2021
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
2022
- # policy is overwritten blindly.
2022
+ # policy is overwritten.
2023
2023
  # Corresponds to the JSON property `etag`
2024
2024
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2025
2025
  # @return [String]
@@ -219,6 +219,11 @@ module Google
219
219
  # @param [String] resource
220
220
  # REQUIRED: The resource for which the policy is being requested.
221
221
  # See the operation documentation for the appropriate value for this field.
222
+ # @param [Fixnum] options_requested_policy_version
223
+ # Optional. The policy format version to be returned.
224
+ # Acceptable values are 0 and 1.
225
+ # If the value is 0, or the field is omitted, policy format version 1 will be
226
+ # returned.
222
227
  # @param [String] fields
223
228
  # Selector specifying which fields to include in a partial response.
224
229
  # @param [String] quota_user
@@ -236,11 +241,12 @@ module Google
236
241
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
237
242
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
238
243
  # @raise [Google::Apis::AuthorizationError] Authorization is required
239
- def get_project_job_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
244
+ def get_project_job_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
240
245
  command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
241
246
  command.response_representation = Google::Apis::MlV1::GoogleIamV1Policy::Representation
242
247
  command.response_class = Google::Apis::MlV1::GoogleIamV1Policy
243
248
  command.params['resource'] = resource unless resource.nil?
249
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
244
250
  command.query['fields'] = fields unless fields.nil?
245
251
  command.query['quotaUser'] = quota_user unless quota_user.nil?
246
252
  execute_or_queue_command(command, &block)
@@ -609,6 +615,11 @@ module Google
609
615
  # @param [String] resource
610
616
  # REQUIRED: The resource for which the policy is being requested.
611
617
  # See the operation documentation for the appropriate value for this field.
618
+ # @param [Fixnum] options_requested_policy_version
619
+ # Optional. The policy format version to be returned.
620
+ # Acceptable values are 0 and 1.
621
+ # If the value is 0, or the field is omitted, policy format version 1 will be
622
+ # returned.
612
623
  # @param [String] fields
613
624
  # Selector specifying which fields to include in a partial response.
614
625
  # @param [String] quota_user
@@ -626,11 +637,12 @@ module Google
626
637
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
627
638
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
628
639
  # @raise [Google::Apis::AuthorizationError] Authorization is required
629
- def get_project_model_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
640
+ def get_project_model_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
630
641
  command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
631
642
  command.response_representation = Google::Apis::MlV1::GoogleIamV1Policy::Representation
632
643
  command.response_class = Google::Apis::MlV1::GoogleIamV1Policy
633
644
  command.params['resource'] = resource unless resource.nil?
645
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
634
646
  command.query['fields'] = fields unless fields.nil?
635
647
  command.query['quotaUser'] = quota_user unless quota_user.nil?
636
648
  execute_or_queue_command(command, &block)
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/pubsub/docs
26
26
  module PubsubV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190619'
28
+ REVISION = '20190701'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -184,6 +184,11 @@ module Google
184
184
  # @param [String] resource
185
185
  # REQUIRED: The resource for which the policy is being requested.
186
186
  # See the operation documentation for the appropriate value for this field.
187
+ # @param [Fixnum] options_requested_policy_version
188
+ # Optional. The policy format version to be returned.
189
+ # Acceptable values are 0 and 1.
190
+ # If the value is 0, or the field is omitted, policy format version 1 will be
191
+ # returned.
187
192
  # @param [String] fields
188
193
  # Selector specifying which fields to include in a partial response.
189
194
  # @param [String] quota_user
@@ -201,11 +206,12 @@ module Google
201
206
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
202
207
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
203
208
  # @raise [Google::Apis::AuthorizationError] Authorization is required
204
- def get_project_snapshot_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
209
+ def get_project_snapshot_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
205
210
  command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
206
211
  command.response_representation = Google::Apis::PubsubV1::Policy::Representation
207
212
  command.response_class = Google::Apis::PubsubV1::Policy
208
213
  command.params['resource'] = resource unless resource.nil?
214
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
209
215
  command.query['fields'] = fields unless fields.nil?
210
216
  command.query['quotaUser'] = quota_user unless quota_user.nil?
211
217
  execute_or_queue_command(command, &block)
@@ -527,6 +533,11 @@ module Google
527
533
  # @param [String] resource
528
534
  # REQUIRED: The resource for which the policy is being requested.
529
535
  # See the operation documentation for the appropriate value for this field.
536
+ # @param [Fixnum] options_requested_policy_version
537
+ # Optional. The policy format version to be returned.
538
+ # Acceptable values are 0 and 1.
539
+ # If the value is 0, or the field is omitted, policy format version 1 will be
540
+ # returned.
530
541
  # @param [String] fields
531
542
  # Selector specifying which fields to include in a partial response.
532
543
  # @param [String] quota_user
@@ -544,11 +555,12 @@ module Google
544
555
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
545
556
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
546
557
  # @raise [Google::Apis::AuthorizationError] Authorization is required
547
- def get_project_subscription_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
558
+ def get_project_subscription_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
548
559
  command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
549
560
  command.response_representation = Google::Apis::PubsubV1::Policy::Representation
550
561
  command.response_class = Google::Apis::PubsubV1::Policy
551
562
  command.params['resource'] = resource unless resource.nil?
563
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
552
564
  command.query['fields'] = fields unless fields.nil?
553
565
  command.query['quotaUser'] = quota_user unless quota_user.nil?
554
566
  execute_or_queue_command(command, &block)
@@ -970,6 +982,11 @@ module Google
970
982
  # @param [String] resource
971
983
  # REQUIRED: The resource for which the policy is being requested.
972
984
  # See the operation documentation for the appropriate value for this field.
985
+ # @param [Fixnum] options_requested_policy_version
986
+ # Optional. The policy format version to be returned.
987
+ # Acceptable values are 0 and 1.
988
+ # If the value is 0, or the field is omitted, policy format version 1 will be
989
+ # returned.
973
990
  # @param [String] fields
974
991
  # Selector specifying which fields to include in a partial response.
975
992
  # @param [String] quota_user
@@ -987,11 +1004,12 @@ module Google
987
1004
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
988
1005
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
989
1006
  # @raise [Google::Apis::AuthorizationError] Authorization is required
990
- def get_project_topic_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
1007
+ def get_project_topic_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
991
1008
  command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
992
1009
  command.response_representation = Google::Apis::PubsubV1::Policy::Representation
993
1010
  command.response_class = Google::Apis::PubsubV1::Policy
994
1011
  command.params['resource'] = resource unless resource.nil?
1012
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
995
1013
  command.query['fields'] = fields unless fields.nil?
996
1014
  command.query['quotaUser'] = quota_user unless quota_user.nil?
997
1015
  execute_or_queue_command(command, &block)