google-api-client 0.46.0 → 0.46.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +59 -0
  3. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  4. data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
  5. data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
  6. data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
  7. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
  9. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
  10. data/generated/google/apis/admob_v1.rb +3 -2
  11. data/generated/google/apis/admob_v1/service.rb +2 -1
  12. data/generated/google/apis/adsense_v1_4.rb +1 -1
  13. data/generated/google/apis/adsense_v1_4/service.rb +4 -1
  14. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  15. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +31 -0
  16. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
  17. data/generated/google/apis/analyticsdata_v1alpha/service.rb +39 -0
  18. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v3/service.rb +2 -5
  20. data/generated/google/apis/apigee_v1.rb +1 -1
  21. data/generated/google/apis/apigee_v1/classes.rb +231 -1
  22. data/generated/google/apis/apigee_v1/representations.rb +87 -0
  23. data/generated/google/apis/apigee_v1/service.rb +201 -1
  24. data/generated/google/apis/appsmarket_v2.rb +1 -1
  25. data/generated/google/apis/billingbudgets_v1.rb +38 -0
  26. data/generated/google/apis/billingbudgets_v1/classes.rb +362 -0
  27. data/generated/google/apis/billingbudgets_v1/representations.rb +170 -0
  28. data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
  29. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  30. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
  31. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  32. data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
  33. data/generated/google/apis/cloudshell_v1.rb +1 -1
  34. data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
  35. data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
  36. data/generated/google/apis/cloudshell_v1/service.rb +177 -0
  37. data/generated/google/apis/composer_v1.rb +1 -1
  38. data/generated/google/apis/composer_v1/classes.rb +2 -3
  39. data/generated/google/apis/composer_v1beta1.rb +1 -1
  40. data/generated/google/apis/composer_v1beta1/classes.rb +2 -3
  41. data/generated/google/apis/composer_v1beta1/service.rb +37 -35
  42. data/generated/google/apis/compute_alpha.rb +1 -1
  43. data/generated/google/apis/compute_alpha/classes.rb +126 -21
  44. data/generated/google/apis/compute_alpha/representations.rb +7 -0
  45. data/generated/google/apis/compute_alpha/service.rb +62 -3
  46. data/generated/google/apis/compute_beta.rb +1 -1
  47. data/generated/google/apis/compute_beta/classes.rb +83 -19
  48. data/generated/google/apis/compute_beta/representations.rb +4 -0
  49. data/generated/google/apis/compute_beta/service.rb +3 -3
  50. data/generated/google/apis/compute_v1.rb +1 -1
  51. data/generated/google/apis/compute_v1/classes.rb +28 -8
  52. data/generated/google/apis/compute_v1/representations.rb +3 -0
  53. data/generated/google/apis/compute_v1/service.rb +3 -3
  54. data/generated/google/apis/container_v1beta1.rb +1 -1
  55. data/generated/google/apis/content_v2.rb +1 -1
  56. data/generated/google/apis/content_v2_1.rb +1 -1
  57. data/generated/google/apis/content_v2_1/classes.rb +99 -0
  58. data/generated/google/apis/content_v2_1/representations.rb +47 -0
  59. data/generated/google/apis/content_v2_1/service.rb +37 -0
  60. data/generated/google/apis/dialogflow_v2.rb +1 -1
  61. data/generated/google/apis/dialogflow_v2/classes.rb +50 -32
  62. data/generated/google/apis/dialogflow_v2/representations.rb +28 -13
  63. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  64. data/generated/google/apis/dialogflow_v2beta1/classes.rb +50 -32
  65. data/generated/google/apis/dialogflow_v2beta1/representations.rb +28 -13
  66. data/generated/google/apis/dialogflow_v2beta1/service.rb +54 -4
  67. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  68. data/generated/google/apis/dialogflow_v3beta1/classes.rb +66 -35
  69. data/generated/google/apis/dialogflow_v3beta1/representations.rb +29 -13
  70. data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
  71. data/generated/google/apis/displayvideo_v1.rb +1 -1
  72. data/generated/google/apis/displayvideo_v1/service.rb +13 -10
  73. data/generated/google/apis/dns_v1.rb +1 -1
  74. data/generated/google/apis/dns_v1/service.rb +10 -10
  75. data/generated/google/apis/dns_v1beta2.rb +1 -1
  76. data/generated/google/apis/dns_v1beta2/service.rb +10 -10
  77. data/generated/google/apis/documentai_v1beta3.rb +36 -0
  78. data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
  79. data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
  80. data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
  81. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  82. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +2 -2
  83. data/generated/google/apis/drive_v2.rb +1 -1
  84. data/generated/google/apis/drive_v2/classes.rb +2 -1
  85. data/generated/google/apis/fitness_v1.rb +13 -1
  86. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  87. data/generated/google/apis/healthcare_v1beta1/classes.rb +116 -289
  88. data/generated/google/apis/healthcare_v1beta1/representations.rb +45 -81
  89. data/generated/google/apis/healthcare_v1beta1/service.rb +65 -61
  90. data/generated/google/apis/licensing_v1.rb +1 -1
  91. data/generated/google/apis/licensing_v1/service.rb +2 -2
  92. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  93. data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
  94. data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
  95. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  96. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  97. data/generated/google/apis/monitoring_v3.rb +1 -1
  98. data/generated/google/apis/monitoring_v3/classes.rb +48 -0
  99. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  100. data/generated/google/apis/oauth2_v2.rb +40 -0
  101. data/generated/google/apis/oauth2_v2/classes.rb +165 -0
  102. data/generated/google/apis/oauth2_v2/representations.rb +68 -0
  103. data/generated/google/apis/oauth2_v2/service.rb +158 -0
  104. data/generated/google/apis/people_v1.rb +1 -1
  105. data/generated/google/apis/people_v1/classes.rb +3 -2
  106. data/generated/google/apis/people_v1/service.rb +4 -4
  107. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  108. data/generated/google/apis/realtimebidding_v1/classes.rb +55 -94
  109. data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
  110. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  111. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  112. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  113. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  114. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  115. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  116. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  117. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  118. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  119. data/generated/google/apis/run_v1.rb +1 -1
  120. data/generated/google/apis/run_v1/classes.rb +5 -2
  121. data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
  122. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +4 -10
  123. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -1
  124. data/generated/google/apis/smartdevicemanagement_v1/service.rb +1 -4
  125. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  126. data/generated/google/apis/sqladmin_v1beta4/classes.rb +49 -5
  127. data/generated/google/apis/sqladmin_v1beta4/representations.rb +17 -0
  128. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  129. data/generated/google/apis/storagetransfer_v1/classes.rb +13 -0
  130. data/generated/google/apis/storagetransfer_v1/representations.rb +12 -0
  131. data/generated/google/apis/storagetransfer_v1/service.rb +5 -2
  132. data/generated/google/apis/sts_v1.rb +1 -1
  133. data/generated/google/apis/sts_v1/classes.rb +10 -9
  134. data/generated/google/apis/sts_v1beta.rb +1 -1
  135. data/generated/google/apis/sts_v1beta/classes.rb +66 -70
  136. data/generated/google/apis/sts_v1beta/service.rb +2 -2
  137. data/generated/google/apis/testing_v1.rb +1 -1
  138. data/generated/google/apis/testing_v1/classes.rb +47 -0
  139. data/generated/google/apis/testing_v1/representations.rb +20 -0
  140. data/generated/google/apis/videointelligence_v1.rb +1 -1
  141. data/generated/google/apis/videointelligence_v1/classes.rb +430 -2
  142. data/generated/google/apis/videointelligence_v1/representations.rb +241 -0
  143. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  144. data/generated/google/apis/videointelligence_v1beta2/classes.rb +430 -2
  145. data/generated/google/apis/videointelligence_v1beta2/representations.rb +241 -0
  146. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  147. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +430 -2
  148. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +241 -0
  149. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  150. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +430 -2
  151. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +241 -0
  152. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  153. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +430 -2
  154. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +241 -0
  155. data/generated/google/apis/workflows_v1beta.rb +3 -2
  156. data/generated/google/apis/workflows_v1beta/service.rb +2 -1
  157. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  158. data/generated/google/apis/youtube_v3.rb +1 -1
  159. data/lib/google/apis/version.rb +1 -1
  160. metadata +15 -3
@@ -197,6 +197,183 @@ module Google
197
197
  command.query['quotaUser'] = quota_user unless quota_user.nil?
198
198
  execute_or_queue_command(command, &block)
199
199
  end
200
+
201
+ # Adds a public SSH key to an environment, allowing clients with the
202
+ # corresponding private key to connect to that environment via SSH. If a key
203
+ # with the same content already exists, this will error with ALREADY_EXISTS.
204
+ # @param [String] environment
205
+ # Environment this key should be added to, e.g. `users/me/environments/default`.
206
+ # @param [Google::Apis::CloudshellV1::AddPublicKeyRequest] add_public_key_request_object
207
+ # @param [String] fields
208
+ # Selector specifying which fields to include in a partial response.
209
+ # @param [String] quota_user
210
+ # Available to use for quota purposes for server-side applications. Can be any
211
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
212
+ # @param [Google::Apis::RequestOptions] options
213
+ # Request-specific options
214
+ #
215
+ # @yield [result, err] Result & error if block supplied
216
+ # @yieldparam result [Google::Apis::CloudshellV1::Operation] parsed result object
217
+ # @yieldparam err [StandardError] error object if request failed
218
+ #
219
+ # @return [Google::Apis::CloudshellV1::Operation]
220
+ #
221
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
222
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
223
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
224
+ def add_environment_public_key(environment, add_public_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
225
+ command = make_simple_command(:post, 'v1/{+environment}:addPublicKey', options)
226
+ command.request_representation = Google::Apis::CloudshellV1::AddPublicKeyRequest::Representation
227
+ command.request_object = add_public_key_request_object
228
+ command.response_representation = Google::Apis::CloudshellV1::Operation::Representation
229
+ command.response_class = Google::Apis::CloudshellV1::Operation
230
+ command.params['environment'] = environment unless environment.nil?
231
+ command.query['fields'] = fields unless fields.nil?
232
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
233
+ execute_or_queue_command(command, &block)
234
+ end
235
+
236
+ # Sends OAuth credentials to a running environment on behalf of a user. When
237
+ # this completes, the environment will be authorized to run various Google Cloud
238
+ # command line tools without requiring the user to manually authenticate.
239
+ # @param [String] name
240
+ # Name of the resource that should receive the credentials, for example `users/
241
+ # me/environments/default` or `users/someone@example.com/environments/default`.
242
+ # @param [Google::Apis::CloudshellV1::AuthorizeEnvironmentRequest] authorize_environment_request_object
243
+ # @param [String] fields
244
+ # Selector specifying which fields to include in a partial response.
245
+ # @param [String] quota_user
246
+ # Available to use for quota purposes for server-side applications. Can be any
247
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
248
+ # @param [Google::Apis::RequestOptions] options
249
+ # Request-specific options
250
+ #
251
+ # @yield [result, err] Result & error if block supplied
252
+ # @yieldparam result [Google::Apis::CloudshellV1::Operation] parsed result object
253
+ # @yieldparam err [StandardError] error object if request failed
254
+ #
255
+ # @return [Google::Apis::CloudshellV1::Operation]
256
+ #
257
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
258
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
259
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
260
+ def authorize_environment(name, authorize_environment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
261
+ command = make_simple_command(:post, 'v1/{+name}:authorize', options)
262
+ command.request_representation = Google::Apis::CloudshellV1::AuthorizeEnvironmentRequest::Representation
263
+ command.request_object = authorize_environment_request_object
264
+ command.response_representation = Google::Apis::CloudshellV1::Operation::Representation
265
+ command.response_class = Google::Apis::CloudshellV1::Operation
266
+ command.params['name'] = name unless name.nil?
267
+ command.query['fields'] = fields unless fields.nil?
268
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
269
+ execute_or_queue_command(command, &block)
270
+ end
271
+
272
+ # Gets an environment. Returns NOT_FOUND if the environment does not exist.
273
+ # @param [String] name
274
+ # Required. Name of the requested resource, for example `users/me/environments/
275
+ # default` or `users/someone@example.com/environments/default`.
276
+ # @param [String] fields
277
+ # Selector specifying which fields to include in a partial response.
278
+ # @param [String] quota_user
279
+ # Available to use for quota purposes for server-side applications. Can be any
280
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
281
+ # @param [Google::Apis::RequestOptions] options
282
+ # Request-specific options
283
+ #
284
+ # @yield [result, err] Result & error if block supplied
285
+ # @yieldparam result [Google::Apis::CloudshellV1::Environment] parsed result object
286
+ # @yieldparam err [StandardError] error object if request failed
287
+ #
288
+ # @return [Google::Apis::CloudshellV1::Environment]
289
+ #
290
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
291
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
292
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
293
+ def get_user_environment(name, fields: nil, quota_user: nil, options: nil, &block)
294
+ command = make_simple_command(:get, 'v1/{+name}', options)
295
+ command.response_representation = Google::Apis::CloudshellV1::Environment::Representation
296
+ command.response_class = Google::Apis::CloudshellV1::Environment
297
+ command.params['name'] = name unless name.nil?
298
+ command.query['fields'] = fields unless fields.nil?
299
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
300
+ execute_or_queue_command(command, &block)
301
+ end
302
+
303
+ # Removes a public SSH key from an environment. Clients will no longer be able
304
+ # to connect to the environment using the corresponding private key. If a key
305
+ # with the same content is not present, this will error with NOT_FOUND.
306
+ # @param [String] environment
307
+ # Environment this key should be removed from, e.g. `users/me/environments/
308
+ # default`.
309
+ # @param [Google::Apis::CloudshellV1::RemovePublicKeyRequest] remove_public_key_request_object
310
+ # @param [String] fields
311
+ # Selector specifying which fields to include in a partial response.
312
+ # @param [String] quota_user
313
+ # Available to use for quota purposes for server-side applications. Can be any
314
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
315
+ # @param [Google::Apis::RequestOptions] options
316
+ # Request-specific options
317
+ #
318
+ # @yield [result, err] Result & error if block supplied
319
+ # @yieldparam result [Google::Apis::CloudshellV1::Operation] parsed result object
320
+ # @yieldparam err [StandardError] error object if request failed
321
+ #
322
+ # @return [Google::Apis::CloudshellV1::Operation]
323
+ #
324
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
325
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
326
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
327
+ def remove_environment_public_key(environment, remove_public_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
328
+ command = make_simple_command(:post, 'v1/{+environment}:removePublicKey', options)
329
+ command.request_representation = Google::Apis::CloudshellV1::RemovePublicKeyRequest::Representation
330
+ command.request_object = remove_public_key_request_object
331
+ command.response_representation = Google::Apis::CloudshellV1::Operation::Representation
332
+ command.response_class = Google::Apis::CloudshellV1::Operation
333
+ command.params['environment'] = environment unless environment.nil?
334
+ command.query['fields'] = fields unless fields.nil?
335
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
336
+ execute_or_queue_command(command, &block)
337
+ end
338
+
339
+ # Starts an existing environment, allowing clients to connect to it. The
340
+ # returned operation will contain an instance of StartEnvironmentMetadata in its
341
+ # metadata field. Users can wait for the environment to start by polling this
342
+ # operation via GetOperation. Once the environment has finished starting and is
343
+ # ready to accept connections, the operation will contain a
344
+ # StartEnvironmentResponse in its response field.
345
+ # @param [String] name
346
+ # Name of the resource that should be started, for example `users/me/
347
+ # environments/default` or `users/someone@example.com/environments/default`.
348
+ # @param [Google::Apis::CloudshellV1::StartEnvironmentRequest] start_environment_request_object
349
+ # @param [String] fields
350
+ # Selector specifying which fields to include in a partial response.
351
+ # @param [String] quota_user
352
+ # Available to use for quota purposes for server-side applications. Can be any
353
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
354
+ # @param [Google::Apis::RequestOptions] options
355
+ # Request-specific options
356
+ #
357
+ # @yield [result, err] Result & error if block supplied
358
+ # @yieldparam result [Google::Apis::CloudshellV1::Operation] parsed result object
359
+ # @yieldparam err [StandardError] error object if request failed
360
+ #
361
+ # @return [Google::Apis::CloudshellV1::Operation]
362
+ #
363
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
364
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
365
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
366
+ def start_environment(name, start_environment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
367
+ command = make_simple_command(:post, 'v1/{+name}:start', options)
368
+ command.request_representation = Google::Apis::CloudshellV1::StartEnvironmentRequest::Representation
369
+ command.request_object = start_environment_request_object
370
+ command.response_representation = Google::Apis::CloudshellV1::Operation::Representation
371
+ command.response_class = Google::Apis::CloudshellV1::Operation
372
+ command.params['name'] = name unless name.nil?
373
+ command.query['fields'] = fields unless fields.nil?
374
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
375
+ execute_or_queue_command(command, &block)
376
+ end
200
377
 
201
378
  protected
202
379
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/composer/
26
26
  module ComposerV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200817'
28
+ REVISION = '20201002'
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'
@@ -662,9 +662,8 @@ module Google
662
662
  # Apache Airflow configuration property names must be written in [snake_case](
663
663
  # https://en.wikipedia.org/wiki/Snake_case). Property values can contain any
664
664
  # character, and can be written in any lower/upper case format. Certain Apache
665
- # Airflow configuration property values are [blacklisted](/composer/docs/how-to/
666
- # managing/setting-airflow-configurations#airflow_configuration_blacklists), and
667
- # cannot be overridden.
665
+ # Airflow configuration property values are [blocked](/composer/docs/concepts/
666
+ # airflow-configurations), and cannot be overridden.
668
667
  # Corresponds to the JSON property `airflowConfigOverrides`
669
668
  # @return [Hash<String,String>]
670
669
  attr_accessor :airflow_config_overrides
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/composer/
26
26
  module ComposerV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200922'
28
+ REVISION = '20201002'
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'
@@ -734,9 +734,8 @@ module Google
734
734
  # Apache Airflow configuration property names must be written in [snake_case](
735
735
  # https://en.wikipedia.org/wiki/Snake_case). Property values can contain any
736
736
  # character, and can be written in any lower/upper case format. Certain Apache
737
- # Airflow configuration property values are [blacklisted](/composer/docs/how-to/
738
- # managing/setting-airflow-configurations#airflow_configuration_blacklists), and
739
- # cannot be overridden.
737
+ # Airflow configuration property values are [blocked](/composer/docs/concepts/
738
+ # airflow-configurations), and cannot be overridden.
740
739
  # Corresponds to the JSON property `airflowConfigOverrides`
741
740
  # @return [Hash<String,String>]
742
741
  attr_accessor :airflow_config_overrides
@@ -210,49 +210,51 @@ module Google
210
210
  # 14, the `updateMask` would contain the path "config.softwareConfig.
211
211
  # pypiPackages", and the patch environment would be the following: ` "config":` "
212
212
  # softwareConfig":` "pypiPackages":` "botocore":"==1.7.14" ` ` ` ` *Note:* Only
213
- # the following fields can be updated: *Mask* *Purpose* config.softwareConfig.
214
- # pypiPackages Replace all custom custom PyPI packages. If a replacement package
215
- # map is not included in `environment`, all custom PyPI packages are cleared. It
216
- # is an error to provide both this mask and a mask specifying an individual
217
- # package. config.softwareConfig.pypiPackages.packagename Update the custom PyPI
213
+ # the following fields can be updated: * config.softwareConfig.pypiPackages *
214
+ # Replace all custom custom PyPI packages. If a replacement package map is not
215
+ # included in `environment`, all custom PyPI packages are cleared. It is an
216
+ # error to provide both this mask and a mask specifying an individual package. *
217
+ # config.softwareConfig.pypiPackages.packagename * Update the custom PyPI
218
218
  # package packagename, preserving other packages. To delete the package, include
219
219
  # it in `updateMask`, and omit the mapping for it in `environment.config.
220
220
  # softwareConfig.pypiPackages`. It is an error to provide both a mask of this
221
- # form and the "config.softwareConfig.pypiPackages" mask. labels Replace all
221
+ # form and the "config.softwareConfig.pypiPackages" mask. * labels * Replace all
222
222
  # environment labels. If a replacement labels map is not included in `
223
223
  # environment`, all labels are cleared. It is an error to provide both this mask
224
- # and a mask specifying one or more individual labels. labels.labelName Set the
225
- # label named labelName, while preserving other labels. To delete the label,
224
+ # and a mask specifying one or more individual labels. * labels.labelName * Set
225
+ # the label named labelName, while preserving other labels. To delete the label,
226
226
  # include it in `updateMask` and omit its mapping in `environment.labels`. It is
227
- # an error to provide both a mask of this form and the "labels" mask. config.
228
- # nodeCount Horizontally scale the number of nodes in the environment. An
227
+ # an error to provide both a mask of this form and the "labels" mask. * config.
228
+ # nodeCount * Horizontally scale the number of nodes in the environment. An
229
229
  # integer greater than or equal to 3 must be provided in the `config.nodeCount`
230
- # field. config.webServerNetworkAccessControl Replace the environment's current
231
- # WebServerNetworkAccessControl. config.softwareConfig.airflowConfigOverrides
232
- # Replace all Apache Airflow config overrides. If a replacement config overrides
233
- # map is not included in `environment`, all config overrides are cleared. It is
230
+ # field. * config.webServerNetworkAccessControl * Replace the environment's
231
+ # current WebServerNetworkAccessControl. * config.softwareConfig.
232
+ # airflowConfigOverrides * Replace all Apache Airflow config overrides. If a
233
+ # replacement config overrides map is not included in `environment`, all config
234
+ # overrides are cleared. It is an error to provide both this mask and a mask
235
+ # specifying one or more individual config overrides. * config.softwareConfig.
236
+ # airflowConfigOverrides.section- name * Override the Apache Airflow config
237
+ # property name in the section named section, preserving other properties. To
238
+ # delete the property override, include it in `updateMask` and omit its mapping
239
+ # in `environment.config.softwareConfig.airflowConfigOverrides`. It is an error
240
+ # to provide both a mask of this form and the "config.softwareConfig.
241
+ # airflowConfigOverrides" mask. * config.softwareConfig.envVariables * Replace
242
+ # all environment variables. If a replacement environment variable map is not
243
+ # included in `environment`, all custom environment variables are cleared. It is
234
244
  # an error to provide both this mask and a mask specifying one or more
235
- # individual config overrides. config.softwareConfig.airflowConfigOverrides.
236
- # section-name Override the Apache Airflow config property name in the section
237
- # named section, preserving other properties. To delete the property override,
238
- # include it in `updateMask` and omit its mapping in `environment.config.
239
- # softwareConfig.airflowConfigOverrides`. It is an error to provide both a mask
240
- # of this form and the "config.softwareConfig.airflowConfigOverrides" mask.
241
- # config.softwareConfig.envVariables Replace all environment variables. If a
242
- # replacement environment variable map is not included in `environment`, all
243
- # custom environment variables are cleared. It is an error to provide both this
244
- # mask and a mask specifying one or more individual environment variables.
245
- # config.softwareConfig.imageVersion Upgrade the version of the environment in-
246
- # place. Refer to `SoftwareConfig.image_version` for information on how to
247
- # format the new image version. Additionally, the new image version cannot
248
- # effect a version downgrade and must match the current image version's Composer
249
- # major version and Airflow major and minor versions. Consult the Cloud Composer
250
- # Version List for valid values. config.databaseConfig.machineType Cloud SQL
251
- # machine type used by Airflow database. It has to be one of: db-n1-standard-2,
252
- # db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. config.
253
- # webServerConfig.machineType Machine type on which Airflow web server is
254
- # running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4
255
- # or composer-n1-webserver-8.
245
+ # individual environment variables. * config.softwareConfig.imageVersion *
246
+ # Upgrade the version of the environment in-place. Refer to `SoftwareConfig.
247
+ # image_version` for information on how to format the new image version.
248
+ # Additionally, the new image version cannot effect a version downgrade and must
249
+ # match the current image version's Composer major version and Airflow major and
250
+ # minor versions. Consult the Cloud Composer Version List for valid values. *
251
+ # config.databaseConfig.machineType * Cloud SQL machine type used by Airflow
252
+ # database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-
253
+ # standard-8 or db-n1-standard-16. * config.webServerConfig.machineType *
254
+ # Machine type on which Airflow web server is running. It has to be one of:
255
+ # composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. *
256
+ # config.maintenanceWindow * Maintenance window during which Cloud Composer
257
+ # components may be under maintenance.
256
258
  # @param [String] fields
257
259
  # Selector specifying which fields to include in a partial response.
258
260
  # @param [String] quota_user
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeAlpha
27
27
  VERSION = 'Alpha'
28
- REVISION = '20200901'
28
+ REVISION = '20200910'
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'
@@ -1379,6 +1379,13 @@ module Google
1379
1379
  # @return [String]
1380
1380
  attr_accessor :type
1381
1381
 
1382
+ # [Output Only] A list of user provided licenses. It represents a list of URLs
1383
+ # to the license resource. Unlike regular licenses, user provided licenses can
1384
+ # be modified after the disk is created.
1385
+ # Corresponds to the JSON property `userLicenses`
1386
+ # @return [Array<String>]
1387
+ attr_accessor :user_licenses
1388
+
1382
1389
  def initialize(**args)
1383
1390
  update!(**args)
1384
1391
  end
@@ -1401,6 +1408,7 @@ module Google
1401
1408
  @shielded_instance_initial_state = args[:shielded_instance_initial_state] if args.key?(:shielded_instance_initial_state)
1402
1409
  @source = args[:source] if args.key?(:source)
1403
1410
  @type = args[:type] if args.key?(:type)
1411
+ @user_licenses = args[:user_licenses] if args.key?(:user_licenses)
1404
1412
  end
1405
1413
  end
1406
1414
 
@@ -2369,14 +2377,13 @@ module Google
2369
2377
  class AutoscalingPolicyCpuUtilization
2370
2378
  include Google::Apis::Core::Hashable
2371
2379
 
2372
- # Indicates which method of prediction is used for CPU utilization metric, if
2373
- # any. Current set of possible values: * NONE: No predictions are made based on
2374
- # the scaling metric when calculating the number of VM instances. *
2375
- # OPTIMIZE_AVAILABILITY: Standard predictive autoscaling predicts the future
2376
- # values of the scaling metric and then scales a MIG to ensure that new VM
2377
- # instances are ready in time to cover the predicted peak. New values might be
2378
- # added in the future. Some of the values might not be available in all API
2379
- # versions.
2380
+ # Indicates whether predictive autoscaling based on CPU metric is enabled. Valid
2381
+ # values are:
2382
+ # * NONE (default). No predictive method is used. The autoscaler scales the
2383
+ # group to meet current demand based on real-time metrics. *
2384
+ # OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by
2385
+ # monitoring daily and weekly load patterns and scaling out ahead of anticipated
2386
+ # demand.
2380
2387
  # Corresponds to the JSON property `predictiveMethod`
2381
2388
  # @return [String]
2382
2389
  attr_accessor :predictive_method
@@ -2464,9 +2471,9 @@ module Google
2464
2471
  # The target value of the metric that autoscaler should maintain. This must be a
2465
2472
  # positive value. A utilization metric scales number of virtual machines
2466
2473
  # handling requests to increase or decrease proportionally to the metric.
2467
- # For example, a good metric to use as a utilization_target is compute.
2468
- # googleapis.com/instance/network/received_bytes_count. The autoscaler will work
2469
- # to keep this value constant for each of the instances.
2474
+ # For example, a good metric to use as a utilization_target is https://www.
2475
+ # googleapis.com/compute/v1/instance/network/received_bytes_count. The
2476
+ # autoscaler will work to keep this value constant for each of the instances.
2470
2477
  # Corresponds to the JSON property `utilizationTarget`
2471
2478
  # @return [Float]
2472
2479
  attr_accessor :utilization_target
@@ -2920,7 +2927,19 @@ module Google
2920
2927
  # @return [Array<Google::Apis::ComputeAlpha::BackendBucketCdnPolicyBypassCacheOnRequestHeader>]
2921
2928
  attr_accessor :bypass_cache_on_request_headers
2922
2929
 
2923
- #
2930
+ # Specifies the cache setting for all responses from this backend. The possible
2931
+ # values are:
2932
+ # USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache
2933
+ # content. Responses without these headers will not be cached at Google's edge,
2934
+ # and will require a full trip to the origin on every request, potentially
2935
+ # impacting performance and increasing load on the origin server.
2936
+ # FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-
2937
+ # cache" directives in Cache-Control response headers. Warning: this may result
2938
+ # in Cloud CDN caching private, per-user (user identifiable) content.
2939
+ # CACHE_ALL_STATIC Automatically cache static content, including common image
2940
+ # formats, media (video and audio), and web assets (JavaScript and CSS).
2941
+ # Requests and responses that are marked as uncacheable, as well as dynamic
2942
+ # content (including HTML), will not be cached.
2924
2943
  # Corresponds to the JSON property `cacheMode`
2925
2944
  # @return [String]
2926
2945
  attr_accessor :cache_mode
@@ -3674,7 +3693,19 @@ module Google
3674
3693
  # @return [Google::Apis::ComputeAlpha::CacheKeyPolicy]
3675
3694
  attr_accessor :cache_key_policy
3676
3695
 
3677
- #
3696
+ # Specifies the cache setting for all responses from this backend. The possible
3697
+ # values are:
3698
+ # USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache
3699
+ # content. Responses without these headers will not be cached at Google's edge,
3700
+ # and will require a full trip to the origin on every request, potentially
3701
+ # impacting performance and increasing load on the origin server.
3702
+ # FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-
3703
+ # cache" directives in Cache-Control response headers. Warning: this may result
3704
+ # in Cloud CDN caching private, per-user (user identifiable) content.
3705
+ # CACHE_ALL_STATIC Automatically cache static content, including common image
3706
+ # formats, media (video and audio), and web assets (JavaScript and CSS).
3707
+ # Requests and responses that are marked as uncacheable, as well as dynamic
3708
+ # content (including HTML), will not be cached.
3678
3709
  # Corresponds to the JSON property `cacheMode`
3679
3710
  # @return [String]
3680
3711
  attr_accessor :cache_mode
@@ -6117,6 +6148,15 @@ module Google
6117
6148
  # @return [String]
6118
6149
  attr_accessor :type
6119
6150
 
6151
+ # A list of publicly visible user-licenses. Unlike regular licenses, user
6152
+ # provided licenses can be modified after the disk is created. This includes a
6153
+ # list of URLs to the license resource. For example, to provide a debian license:
6154
+ # https://www.googleapis.com/compute/v1/projects/debian-cloud/global/licenses/
6155
+ # debian-9-stretch
6156
+ # Corresponds to the JSON property `userLicenses`
6157
+ # @return [Array<String>]
6158
+ attr_accessor :user_licenses
6159
+
6120
6160
  # [Output Only] Links to the users of the disk (attached instances) in form:
6121
6161
  # projects/project/zones/zone/instances/instance
6122
6162
  # Corresponds to the JSON property `users`
@@ -6178,6 +6218,7 @@ module Google
6178
6218
  @status = args[:status] if args.key?(:status)
6179
6219
  @storage_type = args[:storage_type] if args.key?(:storage_type)
6180
6220
  @type = args[:type] if args.key?(:type)
6221
+ @user_licenses = args[:user_licenses] if args.key?(:user_licenses)
6181
6222
  @users = args[:users] if args.key?(:users)
6182
6223
  @zone = args[:zone] if args.key?(:zone)
6183
6224
  end
@@ -8885,11 +8926,11 @@ module Google
8885
8926
  attr_accessor :subnetwork
8886
8927
 
8887
8928
  # The URL of the target resource to receive the matched traffic. For regional
8888
- # forwarding rules, this target must live in the same region as the forwarding
8929
+ # forwarding rules, this target must be in the same region as the forwarding
8889
8930
  # rule. For global forwarding rules, this target must be a global load balancing
8890
8931
  # resource. The forwarded traffic must be of a type appropriate to the target
8891
- # object. For INTERNAL_SELF_MANAGED load balancing, only targetHttpProxy and
8892
- # targetGrpcProxy are valid, not targetHttpsProxy.
8932
+ # object. For more information, see the "Target" column in [Port specifications](
8933
+ # /load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).
8893
8934
  # Corresponds to the JSON property `target`
8894
8935
  # @return [String]
8895
8936
  attr_accessor :target
@@ -13088,7 +13129,8 @@ module Google
13088
13129
 
13089
13130
  # [Output Only] The status of the instance. One of the following values:
13090
13131
  # PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING,
13091
- # and TERMINATED.
13132
+ # and TERMINATED. For more information about the status of the instance, see
13133
+ # Instance life cycle.
13092
13134
  # Corresponds to the JSON property `status`
13093
13135
  # @return [String]
13094
13136
  attr_accessor :status
@@ -22483,7 +22525,8 @@ module Google
22483
22525
  class NodeGroupAutoscalingPolicy
22484
22526
  include Google::Apis::Core::Hashable
22485
22527
 
22486
- # The maximum number of nodes that the group should have.
22528
+ # The maximum number of nodes that the group should have. Must be set if
22529
+ # autoscaling is enabled. Maximum value allowed is 100.
22487
22530
  # Corresponds to the JSON property `maxNodes`
22488
22531
  # @return [Fixnum]
22489
22532
  attr_accessor :max_nodes
@@ -30126,8 +30169,8 @@ module Google
30126
30169
  # @return [Fixnum]
30127
30170
  attr_accessor :max_retention_days
30128
30171
 
30129
- # Specifies the behavior to apply to existing, scheduled snapshots snapshots if
30130
- # the policy is changed.
30172
+ # TODO(b/165626794): Remove this field Specifies the behavior to apply to
30173
+ # existing, scheduled snapshots snapshots if the policy is changed.
30131
30174
  # Corresponds to the JSON property `onPolicySwitch`
30132
30175
  # @return [String]
30133
30176
  attr_accessor :on_policy_switch
@@ -31102,6 +31145,14 @@ module Google
31102
31145
  # @return [String]
31103
31146
  attr_accessor :peer_ip_address
31104
31147
 
31148
+ # URI of the VM instance that is used as third party router appliances such as
31149
+ # Next Gen Firewalls, Virtual Routers, SD-WAN. The VM instance must live in
31150
+ # zones contained in the same region as this Cloud Router. The VM instance is
31151
+ # the peer side of the BGP session.
31152
+ # Corresponds to the JSON property `routerApplianceInstance`
31153
+ # @return [String]
31154
+ attr_accessor :router_appliance_instance
31155
+
31105
31156
  def initialize(**args)
31106
31157
  update!(**args)
31107
31158
  end
@@ -31120,6 +31171,7 @@ module Google
31120
31171
  @name = args[:name] if args.key?(:name)
31121
31172
  @peer_asn = args[:peer_asn] if args.key?(:peer_asn)
31122
31173
  @peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address)
31174
+ @router_appliance_instance = args[:router_appliance_instance] if args.key?(:router_appliance_instance)
31123
31175
  end
31124
31176
  end
31125
31177
 
@@ -31261,6 +31313,35 @@ module Google
31261
31313
  # @return [String]
31262
31314
  attr_accessor :name
31263
31315
 
31316
+ # The regional private internal IP address that will be used to establish BGP
31317
+ # session to a VM instance, which is used as third party router appliances such
31318
+ # as Next Gen Firewalls, Virtual Routers, SD-WAN.
31319
+ # Corresponds to the JSON property `privateIpAddress`
31320
+ # @return [String]
31321
+ attr_accessor :private_ip_address
31322
+
31323
+ # Name of the interface that will be redundant with the current interface you
31324
+ # are creating. The redundantInterface must belong to the same Cloud Router as
31325
+ # the interface here. To establish the BGP session to SD-WAN VM, you must create
31326
+ # two BGP peers, and the two BGP peers need to be attached to two separate
31327
+ # interfaces that are redundant with each other. The redundant_interface must be
31328
+ # 1-63 characters long, and comply with RFC1035. Specifically, the
31329
+ # redundant_interface must be 1-63 characters long and match the regular
31330
+ # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must
31331
+ # be a lowercase letter, and all following characters must be a dash, lowercase
31332
+ # letter, or digit, except the last character, which cannot be a dash.
31333
+ # Corresponds to the JSON property `redundantInterface`
31334
+ # @return [String]
31335
+ attr_accessor :redundant_interface
31336
+
31337
+ # The URL of the subnetwork resource this interface belongs to, it must be in
31338
+ # the same region as the router. When you establish a BGP session to a VM
31339
+ # instance using this interface, the VM instance must belong to the same
31340
+ # subnetwork as the subnetwork specified here.
31341
+ # Corresponds to the JSON property `subnetwork`
31342
+ # @return [String]
31343
+ attr_accessor :subnetwork
31344
+
31264
31345
  def initialize(**args)
31265
31346
  update!(**args)
31266
31347
  end
@@ -31272,6 +31353,9 @@ module Google
31272
31353
  @linked_vpn_tunnel = args[:linked_vpn_tunnel] if args.key?(:linked_vpn_tunnel)
31273
31354
  @management_type = args[:management_type] if args.key?(:management_type)
31274
31355
  @name = args[:name] if args.key?(:name)
31356
+ @private_ip_address = args[:private_ip_address] if args.key?(:private_ip_address)
31357
+ @redundant_interface = args[:redundant_interface] if args.key?(:redundant_interface)
31358
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
31275
31359
  end
31276
31360
  end
31277
31361
 
@@ -33949,7 +34033,12 @@ module Google
33949
34033
  attr_accessor :auto_created
33950
34034
  alias_method :auto_created?, :auto_created
33951
34035
 
33952
- # Chain name should conform to RFC1035.
34036
+ # Creates the new snapshot in the snapshot chain labeled with the specified name.
34037
+ # The chain name must be 1-63 characters long and comply with RFC1035. This is
34038
+ # an uncommon option only for advanced service owners who needs to create
34039
+ # separate snapshot chains, for example, for chargeback tracking. When you
34040
+ # describe your snapshot resource, this field is visible only if it has a non-
34041
+ # empty value.
33953
34042
  # Corresponds to the JSON property `chainName`
33954
34043
  # @return [String]
33955
34044
  attr_accessor :chain_name
@@ -37085,6 +37174,21 @@ module Google
37085
37174
  # @return [String]
37086
37175
  attr_accessor :description
37087
37176
 
37177
+ # URLs to networkservices.HttpFilter resources enabled for xDS clients using
37178
+ # this configuration. For example, https://networkservices.googleapis.com/beta/
37179
+ # projects/project/locations/locationhttpFilters/httpFilter Only filters that
37180
+ # handle outbound connection and stream events may be specified. These filters
37181
+ # work in conjunction with a default set of HTTP filters that may already be
37182
+ # configured by Traffic Director. Traffic Director will determine the final
37183
+ # location of these filters within xDS configuration based on the name of the
37184
+ # HTTP filter. If Traffic Director positions multiple filters at the same
37185
+ # location, those filters will be in the same order as specified in this list.
37186
+ # httpFilters only applies for loadbalancers with loadBalancingScheme set to
37187
+ # INTERNAL_SELF_MANAGED. See ForwardingRule for more details.
37188
+ # Corresponds to the JSON property `httpFilters`
37189
+ # @return [Array<String>]
37190
+ attr_accessor :http_filters
37191
+
37088
37192
  # [Output Only] The unique identifier for the resource. This identifier is
37089
37193
  # defined by the server.
37090
37194
  # Corresponds to the JSON property `id`
@@ -37191,6 +37295,7 @@ module Google
37191
37295
  @certificate_map = args[:certificate_map] if args.key?(:certificate_map)
37192
37296
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
37193
37297
  @description = args[:description] if args.key?(:description)
37298
+ @http_filters = args[:http_filters] if args.key?(:http_filters)
37194
37299
  @id = args[:id] if args.key?(:id)
37195
37300
  @kind = args[:kind] if args.key?(:kind)
37196
37301
  @name = args[:name] if args.key?(:name)