google-api-client 0.39.4 → 0.39.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (192) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +65 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
  5. data/generated/google/apis/apigee_v1.rb +1 -1
  6. data/generated/google/apis/apigee_v1/classes.rb +7 -0
  7. data/generated/google/apis/apigee_v1/representations.rb +1 -0
  8. data/generated/google/apis/apigee_v1/service.rb +9 -1
  9. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  10. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1010 -0
  11. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +380 -0
  12. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  13. data/generated/google/apis/bigquery_v2.rb +1 -1
  14. data/generated/google/apis/bigquery_v2/classes.rb +12 -1
  15. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  16. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  17. data/generated/google/apis/bigqueryreservation_v1/service.rb +8 -8
  18. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  19. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +18 -14
  20. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
  21. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  22. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
  23. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
  24. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  25. data/generated/google/apis/binaryauthorization_v1/classes.rb +4 -1
  26. data/generated/google/apis/calendar_v3.rb +1 -1
  27. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  28. data/generated/google/apis/cloudasset_v1.rb +1 -1
  29. data/generated/google/apis/cloudasset_v1/classes.rb +371 -27
  30. data/generated/google/apis/cloudasset_v1/representations.rb +97 -0
  31. data/generated/google/apis/cloudasset_v1/service.rb +186 -8
  32. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  33. data/generated/google/apis/cloudasset_v1beta1/classes.rb +23 -10
  34. data/generated/google/apis/cloudasset_v1beta1/service.rb +12 -3
  35. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  36. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +42 -10
  37. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
  38. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  39. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -0
  41. data/generated/google/apis/cloudbuild_v1/service.rb +121 -0
  42. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  43. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +142 -0
  44. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +60 -0
  45. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
  46. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  47. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +142 -0
  48. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +60 -0
  49. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
  50. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  51. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
  52. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  53. data/generated/google/apis/container_v1beta1.rb +1 -1
  54. data/generated/google/apis/container_v1beta1/classes.rb +35 -0
  55. data/generated/google/apis/container_v1beta1/representations.rb +17 -0
  56. data/generated/google/apis/content_v2_1.rb +1 -1
  57. data/generated/google/apis/content_v2_1/classes.rb +6 -0
  58. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  59. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  60. data/generated/google/apis/dataproc_v1beta2/classes.rb +26 -12
  61. data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
  62. data/generated/google/apis/datastore_v1.rb +1 -1
  63. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  64. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  65. data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
  66. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  67. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  68. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  69. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  70. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  71. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  72. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  73. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  74. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  75. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  76. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  77. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  78. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  79. data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
  80. data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
  81. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  82. data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
  83. data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
  84. data/generated/google/apis/dialogflow_v2.rb +1 -1
  85. data/generated/google/apis/dialogflow_v2/classes.rb +3 -0
  86. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  87. data/generated/google/apis/dialogflow_v2beta1/classes.rb +3 -0
  88. data/generated/google/apis/dialogflow_v2beta1/service.rb +2 -2
  89. data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
  90. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5022 -0
  91. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2057 -0
  92. data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
  93. data/generated/google/apis/displayvideo_v1.rb +1 -1
  94. data/generated/google/apis/displayvideo_v1/service.rb +7 -2
  95. data/generated/google/apis/dlp_v2.rb +1 -1
  96. data/generated/google/apis/dlp_v2/classes.rb +9 -21
  97. data/generated/google/apis/dlp_v2/service.rb +79 -142
  98. data/generated/google/apis/dns_v1.rb +1 -1
  99. data/generated/google/apis/dns_v1/classes.rb +160 -261
  100. data/generated/google/apis/dns_v1/representations.rb +17 -0
  101. data/generated/google/apis/dns_v1/service.rb +21 -141
  102. data/generated/google/apis/dns_v1beta2.rb +1 -1
  103. data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
  104. data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
  105. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  106. data/generated/google/apis/dns_v2beta1.rb +1 -1
  107. data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
  108. data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
  109. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  110. data/generated/google/apis/file_v1.rb +1 -1
  111. data/generated/google/apis/file_v1/classes.rb +31 -0
  112. data/generated/google/apis/file_v1/representations.rb +15 -0
  113. data/generated/google/apis/file_v1beta1.rb +1 -1
  114. data/generated/google/apis/file_v1beta1/classes.rb +31 -0
  115. data/generated/google/apis/file_v1beta1/representations.rb +15 -0
  116. data/generated/google/apis/{pagespeedonline_v1.rb → firebaseml_v1.rb} +11 -9
  117. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  118. data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
  119. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  120. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  121. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  122. data/generated/google/apis/games_management_v1management.rb +1 -1
  123. data/generated/google/apis/games_management_v1management/service.rb +1 -1
  124. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  125. data/generated/google/apis/iamcredentials_v1/classes.rb +26 -2
  126. data/generated/google/apis/networkmanagement_v1.rb +35 -0
  127. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  128. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  129. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  130. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  131. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  132. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  133. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  134. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  135. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  136. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  137. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  138. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  139. data/generated/google/apis/securitycenter_v1.rb +1 -1
  140. data/generated/google/apis/securitycenter_v1/classes.rb +27 -12
  141. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  142. data/generated/google/apis/securitycenter_v1beta1/classes.rb +27 -12
  143. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  144. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +27 -12
  145. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  146. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -31
  147. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
  148. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  149. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +0 -31
  150. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -1
  151. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  152. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -31
  153. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  154. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  155. data/generated/google/apis/servicenetworking_v1/classes.rb +379 -31
  156. data/generated/google/apis/servicenetworking_v1/representations.rb +209 -1
  157. data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
  158. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  159. data/generated/google/apis/servicenetworking_v1beta/classes.rb +188 -31
  160. data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -1
  161. data/generated/google/apis/serviceusage_v1.rb +1 -1
  162. data/generated/google/apis/serviceusage_v1/classes.rb +0 -31
  163. data/generated/google/apis/serviceusage_v1/representations.rb +0 -1
  164. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  165. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -31
  166. data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -1
  167. data/generated/google/apis/tasks_v1.rb +3 -3
  168. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  169. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  170. data/generated/google/apis/tasks_v1/service.rb +79 -128
  171. data/generated/google/apis/translate_v3.rb +1 -1
  172. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  173. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  174. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  175. data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
  176. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  177. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  178. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  179. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  180. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  181. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
  182. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  183. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  184. data/generated/google/apis/youtube_v3.rb +5 -5
  185. data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
  186. data/generated/google/apis/youtube_v3/representations.rb +64 -192
  187. data/generated/google/apis/youtube_v3/service.rb +1833 -2125
  188. data/lib/google/apis/version.rb +1 -1
  189. metadata +19 -7
  190. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  191. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  192. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
@@ -136,6 +136,12 @@ module Google
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
+ class LogConfigCounterOptionsCustomField
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
139
145
  class LogConfigDataAccessOptions
140
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
147
 
@@ -306,6 +312,7 @@ module Google
306
312
  # @private
307
313
  class Representation < Google::Apis::Core::JsonRepresentation
308
314
  collection :exempted_members, as: 'exemptedMembers'
315
+ property :ignore_child_exemptions, as: 'ignoreChildExemptions'
309
316
  property :log_type, as: 'logType'
310
317
  end
311
318
  end
@@ -334,7 +341,6 @@ module Google
334
341
  property :op, as: 'op'
335
342
  property :svc, as: 'svc'
336
343
  property :sys, as: 'sys'
337
- property :value, as: 'value'
338
344
  collection :values, as: 'values'
339
345
  end
340
346
  end
@@ -470,11 +476,21 @@ module Google
470
476
  class LogConfigCounterOptions
471
477
  # @private
472
478
  class Representation < Google::Apis::Core::JsonRepresentation
479
+ collection :custom_fields, as: 'customFields', class: Google::Apis::DeploymentmanagerV2::LogConfigCounterOptionsCustomField, decorator: Google::Apis::DeploymentmanagerV2::LogConfigCounterOptionsCustomField::Representation
480
+
473
481
  property :field, as: 'field'
474
482
  property :metric, as: 'metric'
475
483
  end
476
484
  end
477
485
 
486
+ class LogConfigCounterOptionsCustomField
487
+ # @private
488
+ class Representation < Google::Apis::Core::JsonRepresentation
489
+ property :name, as: 'name'
490
+ property :value, as: 'value'
491
+ end
492
+ end
493
+
478
494
  class LogConfigDataAccessOptions
479
495
  # @private
480
496
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -213,8 +213,8 @@ module Google
213
213
  # If set to true, creates a deployment and creates "shell" resources but does
214
214
  # not actually instantiate these resources. This allows you to preview what your
215
215
  # deployment looks like. After previewing a deployment, you can deploy your
216
- # resources by making a request with the update() method or you can use the
217
- # cancelPreview() method to cancel the preview altogether. Note that the
216
+ # resources by making a request with the `update()` method or you can use the `
217
+ # cancelPreview()` method to cancel the preview altogether. Note that the
218
218
  # deployment will still exist after you cancel the preview and you must
219
219
  # separately delete this deployment if you want to remove it.
220
220
  # @param [String] fields
@@ -258,36 +258,36 @@ module Google
258
258
  # A filter expression that filters resources listed in the response. The
259
259
  # expression must specify the field name, a comparison operator, and the value
260
260
  # that you want to use for filtering. The value must be a string, a number, or a
261
- # boolean. The comparison operator must be either =, !=, >, or <.
261
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
262
262
  # For example, if you are filtering Compute Engine instances, you can exclude
263
- # instances named example-instance by specifying name != example-instance.
264
- # You can also filter nested fields. For example, you could specify scheduling.
265
- # automaticRestart = false to include instances only if they are not scheduled
263
+ # instances named `example-instance` by specifying `name != example-instance`.
264
+ # You can also filter nested fields. For example, you could specify `scheduling.
265
+ # automaticRestart = false` to include instances only if they are not scheduled
266
266
  # for automatic restarts. You can use filtering on nested fields to filter based
267
267
  # on resource labels.
268
268
  # To filter on multiple expressions, provide each separate expression within
269
- # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
270
- # Intel Skylake"). By default, each expression is an AND expression. However,
271
- # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
272
- # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
273
- # automaticRestart = true).
269
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
270
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
271
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
272
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
273
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
274
274
  # @param [Fixnum] max_results
275
275
  # The maximum number of results per page that should be returned. If the number
276
- # of available results is larger than maxResults, Compute Engine returns a
277
- # nextPageToken that can be used to get the next page of results in subsequent
278
- # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
276
+ # of available results is larger than `maxResults`, Compute Engine returns a `
277
+ # nextPageToken` that can be used to get the next page of results in subsequent
278
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
279
279
  # @param [String] order_by
280
280
  # Sorts list results by a certain order. By default, results are returned in
281
281
  # alphanumerical order based on the resource name.
282
282
  # You can also sort results in descending order based on the creation timestamp
283
- # using orderBy="creationTimestamp desc". This sorts results based on the
284
- # creationTimestamp field in reverse chronological order (newest result first).
283
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
284
+ # creationTimestamp` field in reverse chronological order (newest result first).
285
285
  # Use this to sort resources like operations so that the newest operation is
286
286
  # returned first.
287
- # Currently, only sorting by name or creationTimestamp desc is supported.
287
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
288
288
  # @param [String] page_token
289
- # Specifies a page token to use. Set pageToken to the nextPageToken returned by
290
- # a previous list request to get the next page of results.
289
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
290
+ # by a previous list request to get the next page of results.
291
291
  # @param [String] fields
292
292
  # Selector specifying which fields to include in a partial response.
293
293
  # @param [String] quota_user
@@ -322,8 +322,8 @@ module Google
322
322
  execute_or_queue_command(command, &block)
323
323
  end
324
324
 
325
- # Updates a deployment and all of the resources described by the deployment
326
- # manifest. This method supports patch semantics.
325
+ # Patches a deployment and all of the resources described by the deployment
326
+ # manifest.
327
327
  # @param [String] project
328
328
  # The project ID for this request.
329
329
  # @param [String] deployment
@@ -338,11 +338,12 @@ module Google
338
338
  # resources but does not actually alter or instantiate these resources. This
339
339
  # allows you to preview what your deployment will look like. You can use this
340
340
  # intent to preview how an update would affect your deployment. You must provide
341
- # a target.config with a configuration if this is set to true. After previewing
342
- # a deployment, you can deploy your resources by making a request with the
343
- # update() or you can cancelPreview() to remove the preview altogether. Note
344
- # that the deployment will still exist after you cancel the preview and you must
345
- # separately delete this deployment if you want to remove it.
341
+ # a `target.config` with a configuration if this is set to true. After
342
+ # previewing a deployment, you can deploy your resources by making a request
343
+ # with the `update()` or you can `cancelPreview()` to remove the preview
344
+ # altogether. Note that the deployment will still exist after you cancel the
345
+ # preview and you must separately delete this deployment if you want to remove
346
+ # it.
346
347
  # @param [String] fields
347
348
  # Selector specifying which fields to include in a partial response.
348
349
  # @param [String] quota_user
@@ -514,11 +515,12 @@ module Google
514
515
  # resources but does not actually alter or instantiate these resources. This
515
516
  # allows you to preview what your deployment will look like. You can use this
516
517
  # intent to preview how an update would affect your deployment. You must provide
517
- # a target.config with a configuration if this is set to true. After previewing
518
- # a deployment, you can deploy your resources by making a request with the
519
- # update() or you can cancelPreview() to remove the preview altogether. Note
520
- # that the deployment will still exist after you cancel the preview and you must
521
- # separately delete this deployment if you want to remove it.
518
+ # a `target.config` with a configuration if this is set to true. After
519
+ # previewing a deployment, you can deploy your resources by making a request
520
+ # with the `update()` or you can `cancelPreview()` to remove the preview
521
+ # altogether. Note that the deployment will still exist after you cancel the
522
+ # preview and you must separately delete this deployment if you want to remove
523
+ # it.
522
524
  # @param [String] fields
523
525
  # Selector specifying which fields to include in a partial response.
524
526
  # @param [String] quota_user
@@ -603,36 +605,36 @@ module Google
603
605
  # A filter expression that filters resources listed in the response. The
604
606
  # expression must specify the field name, a comparison operator, and the value
605
607
  # that you want to use for filtering. The value must be a string, a number, or a
606
- # boolean. The comparison operator must be either =, !=, >, or <.
608
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
607
609
  # For example, if you are filtering Compute Engine instances, you can exclude
608
- # instances named example-instance by specifying name != example-instance.
609
- # You can also filter nested fields. For example, you could specify scheduling.
610
- # automaticRestart = false to include instances only if they are not scheduled
610
+ # instances named `example-instance` by specifying `name != example-instance`.
611
+ # You can also filter nested fields. For example, you could specify `scheduling.
612
+ # automaticRestart = false` to include instances only if they are not scheduled
611
613
  # for automatic restarts. You can use filtering on nested fields to filter based
612
614
  # on resource labels.
613
615
  # To filter on multiple expressions, provide each separate expression within
614
- # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
615
- # Intel Skylake"). By default, each expression is an AND expression. However,
616
- # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
617
- # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
618
- # automaticRestart = true).
616
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
617
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
618
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
619
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
620
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
619
621
  # @param [Fixnum] max_results
620
622
  # The maximum number of results per page that should be returned. If the number
621
- # of available results is larger than maxResults, Compute Engine returns a
622
- # nextPageToken that can be used to get the next page of results in subsequent
623
- # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
623
+ # of available results is larger than `maxResults`, Compute Engine returns a `
624
+ # nextPageToken` that can be used to get the next page of results in subsequent
625
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
624
626
  # @param [String] order_by
625
627
  # Sorts list results by a certain order. By default, results are returned in
626
628
  # alphanumerical order based on the resource name.
627
629
  # You can also sort results in descending order based on the creation timestamp
628
- # using orderBy="creationTimestamp desc". This sorts results based on the
629
- # creationTimestamp field in reverse chronological order (newest result first).
630
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
631
+ # creationTimestamp` field in reverse chronological order (newest result first).
630
632
  # Use this to sort resources like operations so that the newest operation is
631
633
  # returned first.
632
- # Currently, only sorting by name or creationTimestamp desc is supported.
634
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
633
635
  # @param [String] page_token
634
- # Specifies a page token to use. Set pageToken to the nextPageToken returned by
635
- # a previous list request to get the next page of results.
636
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
637
+ # by a previous list request to get the next page of results.
636
638
  # @param [String] fields
637
639
  # Selector specifying which fields to include in a partial response.
638
640
  # @param [String] quota_user
@@ -711,36 +713,36 @@ module Google
711
713
  # A filter expression that filters resources listed in the response. The
712
714
  # expression must specify the field name, a comparison operator, and the value
713
715
  # that you want to use for filtering. The value must be a string, a number, or a
714
- # boolean. The comparison operator must be either =, !=, >, or <.
716
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
715
717
  # For example, if you are filtering Compute Engine instances, you can exclude
716
- # instances named example-instance by specifying name != example-instance.
717
- # You can also filter nested fields. For example, you could specify scheduling.
718
- # automaticRestart = false to include instances only if they are not scheduled
718
+ # instances named `example-instance` by specifying `name != example-instance`.
719
+ # You can also filter nested fields. For example, you could specify `scheduling.
720
+ # automaticRestart = false` to include instances only if they are not scheduled
719
721
  # for automatic restarts. You can use filtering on nested fields to filter based
720
722
  # on resource labels.
721
723
  # To filter on multiple expressions, provide each separate expression within
722
- # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
723
- # Intel Skylake"). By default, each expression is an AND expression. However,
724
- # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
725
- # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
726
- # automaticRestart = true).
724
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
725
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
726
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
727
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
728
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
727
729
  # @param [Fixnum] max_results
728
730
  # The maximum number of results per page that should be returned. If the number
729
- # of available results is larger than maxResults, Compute Engine returns a
730
- # nextPageToken that can be used to get the next page of results in subsequent
731
- # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
731
+ # of available results is larger than `maxResults`, Compute Engine returns a `
732
+ # nextPageToken` that can be used to get the next page of results in subsequent
733
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
732
734
  # @param [String] order_by
733
735
  # Sorts list results by a certain order. By default, results are returned in
734
736
  # alphanumerical order based on the resource name.
735
737
  # You can also sort results in descending order based on the creation timestamp
736
- # using orderBy="creationTimestamp desc". This sorts results based on the
737
- # creationTimestamp field in reverse chronological order (newest result first).
738
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
739
+ # creationTimestamp` field in reverse chronological order (newest result first).
738
740
  # Use this to sort resources like operations so that the newest operation is
739
741
  # returned first.
740
- # Currently, only sorting by name or creationTimestamp desc is supported.
742
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
741
743
  # @param [String] page_token
742
- # Specifies a page token to use. Set pageToken to the nextPageToken returned by
743
- # a previous list request to get the next page of results.
744
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
745
+ # by a previous list request to get the next page of results.
744
746
  # @param [String] fields
745
747
  # Selector specifying which fields to include in a partial response.
746
748
  # @param [String] quota_user
@@ -823,36 +825,36 @@ module Google
823
825
  # A filter expression that filters resources listed in the response. The
824
826
  # expression must specify the field name, a comparison operator, and the value
825
827
  # that you want to use for filtering. The value must be a string, a number, or a
826
- # boolean. The comparison operator must be either =, !=, >, or <.
828
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
827
829
  # For example, if you are filtering Compute Engine instances, you can exclude
828
- # instances named example-instance by specifying name != example-instance.
829
- # You can also filter nested fields. For example, you could specify scheduling.
830
- # automaticRestart = false to include instances only if they are not scheduled
830
+ # instances named `example-instance` by specifying `name != example-instance`.
831
+ # You can also filter nested fields. For example, you could specify `scheduling.
832
+ # automaticRestart = false` to include instances only if they are not scheduled
831
833
  # for automatic restarts. You can use filtering on nested fields to filter based
832
834
  # on resource labels.
833
835
  # To filter on multiple expressions, provide each separate expression within
834
- # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
835
- # Intel Skylake"). By default, each expression is an AND expression. However,
836
- # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
837
- # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
838
- # automaticRestart = true).
836
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
837
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
838
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
839
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
840
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
839
841
  # @param [Fixnum] max_results
840
842
  # The maximum number of results per page that should be returned. If the number
841
- # of available results is larger than maxResults, Compute Engine returns a
842
- # nextPageToken that can be used to get the next page of results in subsequent
843
- # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
843
+ # of available results is larger than `maxResults`, Compute Engine returns a `
844
+ # nextPageToken` that can be used to get the next page of results in subsequent
845
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
844
846
  # @param [String] order_by
845
847
  # Sorts list results by a certain order. By default, results are returned in
846
848
  # alphanumerical order based on the resource name.
847
849
  # You can also sort results in descending order based on the creation timestamp
848
- # using orderBy="creationTimestamp desc". This sorts results based on the
849
- # creationTimestamp field in reverse chronological order (newest result first).
850
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
851
+ # creationTimestamp` field in reverse chronological order (newest result first).
850
852
  # Use this to sort resources like operations so that the newest operation is
851
853
  # returned first.
852
- # Currently, only sorting by name or creationTimestamp desc is supported.
854
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
853
855
  # @param [String] page_token
854
- # Specifies a page token to use. Set pageToken to the nextPageToken returned by
855
- # a previous list request to get the next page of results.
856
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
857
+ # by a previous list request to get the next page of results.
856
858
  # @param [String] fields
857
859
  # Selector specifying which fields to include in a partial response.
858
860
  # @param [String] quota_user
@@ -895,36 +897,36 @@ module Google
895
897
  # A filter expression that filters resources listed in the response. The
896
898
  # expression must specify the field name, a comparison operator, and the value
897
899
  # that you want to use for filtering. The value must be a string, a number, or a
898
- # boolean. The comparison operator must be either =, !=, >, or <.
900
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
899
901
  # For example, if you are filtering Compute Engine instances, you can exclude
900
- # instances named example-instance by specifying name != example-instance.
901
- # You can also filter nested fields. For example, you could specify scheduling.
902
- # automaticRestart = false to include instances only if they are not scheduled
902
+ # instances named `example-instance` by specifying `name != example-instance`.
903
+ # You can also filter nested fields. For example, you could specify `scheduling.
904
+ # automaticRestart = false` to include instances only if they are not scheduled
903
905
  # for automatic restarts. You can use filtering on nested fields to filter based
904
906
  # on resource labels.
905
907
  # To filter on multiple expressions, provide each separate expression within
906
- # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
907
- # Intel Skylake"). By default, each expression is an AND expression. However,
908
- # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
909
- # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
910
- # automaticRestart = true).
908
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
909
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
910
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
911
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
912
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
911
913
  # @param [Fixnum] max_results
912
914
  # The maximum number of results per page that should be returned. If the number
913
- # of available results is larger than maxResults, Compute Engine returns a
914
- # nextPageToken that can be used to get the next page of results in subsequent
915
- # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
915
+ # of available results is larger than `maxResults`, Compute Engine returns a `
916
+ # nextPageToken` that can be used to get the next page of results in subsequent
917
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
916
918
  # @param [String] order_by
917
919
  # Sorts list results by a certain order. By default, results are returned in
918
920
  # alphanumerical order based on the resource name.
919
921
  # You can also sort results in descending order based on the creation timestamp
920
- # using orderBy="creationTimestamp desc". This sorts results based on the
921
- # creationTimestamp field in reverse chronological order (newest result first).
922
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
923
+ # creationTimestamp` field in reverse chronological order (newest result first).
922
924
  # Use this to sort resources like operations so that the newest operation is
923
925
  # returned first.
924
- # Currently, only sorting by name or creationTimestamp desc is supported.
926
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
925
927
  # @param [String] page_token
926
- # Specifies a page token to use. Set pageToken to the nextPageToken returned by
927
- # a previous list request to get the next page of results.
928
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
929
+ # by a previous list request to get the next page of results.
928
930
  # @param [String] fields
929
931
  # Selector specifying which fields to include in a partial response.
930
932
  # @param [String] quota_user
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/deployment-manager/
27
27
  module DeploymentmanagerV2beta
28
28
  VERSION = 'V2beta'
29
- REVISION = '20181207'
29
+ REVISION = '20200512'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -56,14 +56,14 @@ module Google
56
56
  # AuditLogConfig are exempted.
57
57
  # Example Policy with multiple AuditConfigs:
58
58
  # ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
59
- # log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] `, ` "
59
+ # log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] `, ` "
60
60
  # log_type": "DATA_WRITE", `, ` "log_type": "ADMIN_READ", ` ] `, ` "service": "
61
- # fooservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ", `,
62
- # ` "log_type": "DATA_WRITE", "exempted_members": [ "user:bar@gmail.com" ] ` ] `
63
- # ] `
64
- # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
65
- # logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.
66
- # com from DATA_WRITE logging.
61
+ # sampleservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ",
62
+ # `, ` "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com"
63
+ # ] ` ] ` ] `
64
+ # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
65
+ # logging. It also exempts jose@example.com from DATA_READ logging, and aliya@
66
+ # example.com from DATA_WRITE logging.
67
67
  class AuditConfig
68
68
  include Google::Apis::Core::Hashable
69
69
 
@@ -98,9 +98,9 @@ module Google
98
98
 
99
99
  # Provides the configuration for logging a type of permissions. Example:
100
100
  # ` "audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "
101
- # user:foo@gmail.com" ] `, ` "log_type": "DATA_WRITE", ` ] `
102
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.
103
- # com from DATA_READ logging.
101
+ # user:jose@example.com" ] `, ` "log_type": "DATA_WRITE", ` ] `
102
+ # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@
103
+ # example.com from DATA_READ logging.
104
104
  class AuditLogConfig
105
105
  include Google::Apis::Core::Hashable
106
106
 
@@ -110,6 +110,12 @@ module Google
110
110
  # @return [Array<String>]
111
111
  attr_accessor :exempted_members
112
112
 
113
+ #
114
+ # Corresponds to the JSON property `ignoreChildExemptions`
115
+ # @return [Boolean]
116
+ attr_accessor :ignore_child_exemptions
117
+ alias_method :ignore_child_exemptions?, :ignore_child_exemptions
118
+
113
119
  # The log type that this config enables.
114
120
  # Corresponds to the JSON property `logType`
115
121
  # @return [String]
@@ -122,6 +128,7 @@ module Google
122
128
  # Update properties of this object
123
129
  def update!(**args)
124
130
  @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
131
+ @ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
125
132
  @log_type = args[:log_type] if args.key?(:log_type)
126
133
  end
127
134
  end
@@ -212,9 +219,26 @@ module Google
212
219
  class Binding
213
220
  include Google::Apis::Core::Hashable
214
221
 
215
- # Represents an expression text. Example:
216
- # title: "User account presence" description: "Determines whether the request
217
- # has a user account" expression: "size(request.user) > 0"
222
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
223
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
224
+ # documented at https://github.com/google/cel-spec.
225
+ # Example (Comparison):
226
+ # title: "Summary size limit" description: "Determines if a summary is less than
227
+ # 100 chars" expression: "document.summary.size() < 100"
228
+ # Example (Equality):
229
+ # title: "Requestor is owner" description: "Determines if requestor is the
230
+ # document owner" expression: "document.owner == request.auth.claims.email"
231
+ # Example (Logic):
232
+ # title: "Public documents" description: "Determine whether the document should
233
+ # be publicly visible" expression: "document.type != 'private' && document.type !
234
+ # = 'internal'"
235
+ # Example (Data Manipulation):
236
+ # title: "Notification string" description: "Create a notification string with a
237
+ # timestamp." expression: "'New message received at ' + string(document.
238
+ # create_time)"
239
+ # The exact variables and functions that may be referenced within an expression
240
+ # are determined by the service that evaluates it. See the service documentation
241
+ # for additional information.
218
242
  # Corresponds to the JSON property `condition`
219
243
  # @return [Google::Apis::DeploymentmanagerV2beta::Expr]
220
244
  attr_accessor :condition
@@ -226,13 +250,29 @@ module Google
226
250
  # * `allAuthenticatedUsers`: A special identifier that represents anyone who is
227
251
  # authenticated with a Google account or a service account.
228
252
  # * `user:`emailid``: An email address that represents a specific Google account.
229
- # For example, `alice@gmail.com` .
253
+ # For example, `alice@example.com` .
230
254
  # * `serviceAccount:`emailid``: An email address that represents a service
231
255
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
232
256
  # * `group:`emailid``: An email address that represents a Google group. For
233
257
  # example, `admins@example.com`.
234
- # * `domain:`domain``: A Google Apps domain name that represents all the users
235
- # of that domain. For example, `google.com` or `example.com`.
258
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
259
+ # identifier) representing a user that has been recently deleted. For example, `
260
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
261
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
262
+ # the binding.
263
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
264
+ # unique identifier) representing a service account that has been recently
265
+ # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
266
+ # 123456789012345678901`. If the service account is undeleted, this value
267
+ # reverts to `serviceAccount:`emailid`` and the undeleted service account
268
+ # retains the role in the binding.
269
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
270
+ # identifier) representing a Google group that has been recently deleted. For
271
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
272
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
273
+ # retains the role in the binding.
274
+ # * `domain:`domain``: The G Suite domain (primary) that represents all the
275
+ # users of that domain. For example, `google.com` or `example.com`.
236
276
  # Corresponds to the JSON property `members`
237
277
  # @return [Array<String>]
238
278
  attr_accessor :members
@@ -303,24 +343,34 @@ module Google
303
343
 
304
344
  # Map of labels; provided by the client when the resource is created or updated.
305
345
  # Specifically: Label keys must be between 1 and 63 characters long and must
306
- # conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
307
- # values must be between 0 and 63 characters long and must conform to the
308
- # regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
346
+ # conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
347
+ # Label values must be between 0 and 63 characters long and must conform to the
348
+ # regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
309
349
  # Corresponds to the JSON property `labels`
310
350
  # @return [Array<Google::Apis::DeploymentmanagerV2beta::CompositeTypeLabelEntry>]
311
351
  attr_accessor :labels
312
352
 
313
- # Name of the composite type, must follow the expression: [a-z]([-a-z0-9_.]`0,61`
314
- # [a-z0-9])?.
353
+ # Name of the composite type, must follow the expression: `[a-z]([-a-z0-9_.]`0,
354
+ # 61`[a-z0-9])?`.
315
355
  # Corresponds to the JSON property `name`
316
356
  # @return [String]
317
357
  attr_accessor :name
318
358
 
319
- # An Operation resource, used to manage asynchronous API requests. (==
320
- # resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
321
- # (== resource_for v1.regionOperations ==) (== resource_for beta.
322
- # regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
323
- # beta.zoneOperations ==)
359
+ # Represents an Operation resource.
360
+ # Google Compute Engine has three Operation resources:
361
+ # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
362
+ # Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
363
+ # Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
364
+ # You can use an operation resource to manage asynchronous API requests. For
365
+ # more information, read Handling API responses.
366
+ # Operations can be global, regional or zonal.
367
+ # - For global operations, use the `globalOperations` resource.
368
+ # - For regional operations, use the `regionOperations` resource.
369
+ # - For zonal operations, use the `zonalOperations` resource.
370
+ # For more information, read Global, Regional, and Zonal Resources. (==
371
+ # resource_for `$api_version`.globalOperations ==) (== resource_for `$
372
+ # api_version`.regionOperations ==) (== resource_for `$api_version`.
373
+ # zoneOperations ==)
324
374
  # Corresponds to the JSON property `operation`
325
375
  # @return [Google::Apis::DeploymentmanagerV2beta::Operation]
326
376
  attr_accessor :operation
@@ -434,12 +484,7 @@ module Google
434
484
  # @return [String]
435
485
  attr_accessor :sys
436
486
 
437
- # DEPRECATED. Use 'values' instead.
438
- # Corresponds to the JSON property `value`
439
- # @return [String]
440
- attr_accessor :value
441
-
442
- # The objects of the condition. This is mutually exclusive with 'value'.
487
+ # The objects of the condition.
443
488
  # Corresponds to the JSON property `values`
444
489
  # @return [Array<String>]
445
490
  attr_accessor :values
@@ -454,7 +499,6 @@ module Google
454
499
  @op = args[:op] if args.key?(:op)
455
500
  @svc = args[:svc] if args.key?(:svc)
456
501
  @sys = args[:sys] if args.key?(:sys)
457
- @value = args[:value] if args.key?(:value)
458
502
  @values = args[:values] if args.key?(:values)
459
503
  end
460
504
  end
@@ -520,14 +564,14 @@ module Google
520
564
  # @return [String]
521
565
  attr_accessor :description
522
566
 
523
- # Provides a fingerprint to use in requests to modify a deployment, such as
524
- # update(), stop(), and cancelPreview() requests. A fingerprint is a randomly
525
- # generated value that must be provided with update(), stop(), and cancelPreview(
526
- # ) requests to perform optimistic locking. This ensures optimistic concurrency
527
- # so that only one request happens at a time.
567
+ # Provides a fingerprint to use in requests to modify a deployment, such as `
568
+ # update()`, `stop()`, and `cancelPreview()` requests. A fingerprint is a
569
+ # randomly generated value that must be provided with `update()`, `stop()`, and `
570
+ # cancelPreview()` requests to perform optimistic locking. This ensures
571
+ # optimistic concurrency so that only one request happens at a time.
528
572
  # The fingerprint is initially generated by Deployment Manager and changes after
529
- # every request to modify data. To get the latest fingerprint value, perform a
530
- # get() request to a deployment.
573
+ # every request to modify data. To get the latest fingerprint value, perform a `
574
+ # get()` request to a deployment.
531
575
  # Corresponds to the JSON property `fingerprint`
532
576
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
533
577
  # @return [String]
@@ -545,34 +589,45 @@ module Google
545
589
 
546
590
  # Map of labels; provided by the client when the resource is created or updated.
547
591
  # Specifically: Label keys must be between 1 and 63 characters long and must
548
- # conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
549
- # values must be between 0 and 63 characters long and must conform to the
550
- # regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
592
+ # conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
593
+ # Label values must be between 0 and 63 characters long and must conform to the
594
+ # regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
551
595
  # Corresponds to the JSON property `labels`
552
596
  # @return [Array<Google::Apis::DeploymentmanagerV2beta::DeploymentLabelEntry>]
553
597
  attr_accessor :labels
554
598
 
555
599
  # Output only. URL of the manifest representing the last manifest that was
556
- # successfully deployed.
600
+ # successfully deployed. If no manifest has been successfully deployed, this
601
+ # field will be absent.
557
602
  # Corresponds to the JSON property `manifest`
558
603
  # @return [String]
559
604
  attr_accessor :manifest
560
605
 
561
606
  # Name of the resource; provided by the client when the resource is created. The
562
607
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
563
- # name must be 1-63 characters long and match the regular expression [a-z]([-a-
564
- # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
608
+ # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
609
+ # z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
565
610
  # and all following characters must be a dash, lowercase letter, or digit,
566
611
  # except the last character, which cannot be a dash.
567
612
  # Corresponds to the JSON property `name`
568
613
  # @return [String]
569
614
  attr_accessor :name
570
615
 
571
- # An Operation resource, used to manage asynchronous API requests. (==
572
- # resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
573
- # (== resource_for v1.regionOperations ==) (== resource_for beta.
574
- # regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
575
- # beta.zoneOperations ==)
616
+ # Represents an Operation resource.
617
+ # Google Compute Engine has three Operation resources:
618
+ # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
619
+ # Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
620
+ # Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
621
+ # You can use an operation resource to manage asynchronous API requests. For
622
+ # more information, read Handling API responses.
623
+ # Operations can be global, regional or zonal.
624
+ # - For global operations, use the `globalOperations` resource.
625
+ # - For regional operations, use the `regionOperations` resource.
626
+ # - For zonal operations, use the `zonalOperations` resource.
627
+ # For more information, read Global, Regional, and Zonal Resources. (==
628
+ # resource_for `$api_version`.globalOperations ==) (== resource_for `$
629
+ # api_version`.regionOperations ==) (== resource_for `$api_version`.
630
+ # zoneOperations ==)
576
631
  # Corresponds to the JSON property `operation`
577
632
  # @return [Google::Apis::DeploymentmanagerV2beta::Operation]
578
633
  attr_accessor :operation
@@ -655,9 +710,9 @@ module Google
655
710
 
656
711
  # Output only. Map of labels; provided by the client when the resource is
657
712
  # created or updated. Specifically: Label keys must be between 1 and 63
658
- # characters long and must conform to the following regular expression: [a-z]([-
659
- # a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and
660
- # must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
713
+ # characters long and must conform to the following regular expression: `[a-z]([-
714
+ # a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and
715
+ # must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
661
716
  # Corresponds to the JSON property `labels`
662
717
  # @return [Array<Google::Apis::DeploymentmanagerV2beta::DeploymentUpdateLabelEntry>]
663
718
  attr_accessor :labels
@@ -709,15 +764,15 @@ module Google
709
764
  class DeploymentsCancelPreviewRequest
710
765
  include Google::Apis::Core::Hashable
711
766
 
712
- # Specifies a fingerprint for cancelPreview() requests. A fingerprint is a
713
- # randomly generated value that must be provided in cancelPreview() requests to
714
- # perform optimistic locking. This ensures optimistic concurrency so that the
767
+ # Specifies a fingerprint for `cancelPreview()` requests. A fingerprint is a
768
+ # randomly generated value that must be provided in `cancelPreview()` requests
769
+ # to perform optimistic locking. This ensures optimistic concurrency so that the
715
770
  # deployment does not have conflicting requests (e.g. if someone attempts to
716
771
  # make a new update request while another user attempts to cancel a preview,
717
772
  # this would prevent one of the requests).
718
773
  # The fingerprint is initially generated by Deployment Manager and changes after
719
774
  # every request to modify a deployment. To get the latest fingerprint value,
720
- # perform a get() request on the deployment.
775
+ # perform a `get()` request on the deployment.
721
776
  # Corresponds to the JSON property `fingerprint`
722
777
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
723
778
  # @return [String]
@@ -763,15 +818,15 @@ module Google
763
818
  class DeploymentsStopRequest
764
819
  include Google::Apis::Core::Hashable
765
820
 
766
- # Specifies a fingerprint for stop() requests. A fingerprint is a randomly
767
- # generated value that must be provided in stop() requests to perform optimistic
768
- # locking. This ensures optimistic concurrency so that the deployment does not
769
- # have conflicting requests (e.g. if someone attempts to make a new update
770
- # request while another user attempts to stop an ongoing update request, this
771
- # would prevent a collision).
821
+ # Specifies a fingerprint for `stop()` requests. A fingerprint is a randomly
822
+ # generated value that must be provided in `stop()` requests to perform
823
+ # optimistic locking. This ensures optimistic concurrency so that the deployment
824
+ # does not have conflicting requests (e.g. if someone attempts to make a new
825
+ # update request while another user attempts to stop an ongoing update request,
826
+ # this would prevent a collision).
772
827
  # The fingerprint is initially generated by Deployment Manager and changes after
773
828
  # every request to modify a deployment. To get the latest fingerprint value,
774
- # perform a get() request on the deployment.
829
+ # perform a `get()` request on the deployment.
775
830
  # Corresponds to the JSON property `fingerprint`
776
831
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
777
832
  # @return [String]
@@ -813,33 +868,48 @@ module Google
813
868
  end
814
869
  end
815
870
 
816
- # Represents an expression text. Example:
817
- # title: "User account presence" description: "Determines whether the request
818
- # has a user account" expression: "size(request.user) > 0"
871
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
872
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
873
+ # documented at https://github.com/google/cel-spec.
874
+ # Example (Comparison):
875
+ # title: "Summary size limit" description: "Determines if a summary is less than
876
+ # 100 chars" expression: "document.summary.size() < 100"
877
+ # Example (Equality):
878
+ # title: "Requestor is owner" description: "Determines if requestor is the
879
+ # document owner" expression: "document.owner == request.auth.claims.email"
880
+ # Example (Logic):
881
+ # title: "Public documents" description: "Determine whether the document should
882
+ # be publicly visible" expression: "document.type != 'private' && document.type !
883
+ # = 'internal'"
884
+ # Example (Data Manipulation):
885
+ # title: "Notification string" description: "Create a notification string with a
886
+ # timestamp." expression: "'New message received at ' + string(document.
887
+ # create_time)"
888
+ # The exact variables and functions that may be referenced within an expression
889
+ # are determined by the service that evaluates it. See the service documentation
890
+ # for additional information.
819
891
  class Expr
820
892
  include Google::Apis::Core::Hashable
821
893
 
822
- # An optional description of the expression. This is a longer text which
823
- # describes the expression, e.g. when hovered over it in a UI.
894
+ # Optional. Description of the expression. This is a longer text which describes
895
+ # the expression, e.g. when hovered over it in a UI.
824
896
  # Corresponds to the JSON property `description`
825
897
  # @return [String]
826
898
  attr_accessor :description
827
899
 
828
900
  # Textual representation of an expression in Common Expression Language syntax.
829
- # The application context of the containing message determines which well-known
830
- # feature set of CEL is supported.
831
901
  # Corresponds to the JSON property `expression`
832
902
  # @return [String]
833
903
  attr_accessor :expression
834
904
 
835
- # An optional string indicating the location of the expression for error
836
- # reporting, e.g. a file name and a position in the file.
905
+ # Optional. String indicating the location of the expression for error reporting,
906
+ # e.g. a file name and a position in the file.
837
907
  # Corresponds to the JSON property `location`
838
908
  # @return [String]
839
909
  attr_accessor :location
840
910
 
841
- # An optional title for the expression, i.e. a short string describing its
842
- # purpose. This can be used e.g. in UIs which allow to enter the expression.
911
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
912
+ # This can be used e.g. in UIs which allow to enter the expression.
843
913
  # Corresponds to the JSON property `title`
844
914
  # @return [String]
845
915
  attr_accessor :title
@@ -874,23 +944,36 @@ module Google
874
944
  # @return [String]
875
945
  attr_accessor :etag
876
946
 
877
- # Defines an Identity and Access Management (IAM) policy. It is used to specify
878
- # access control policies for Cloud Platform resources.
879
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
880
- # members` to a `role`, where the members can be user accounts, Google groups,
881
- # Google domains, and service accounts. A `role` is a named list of permissions
882
- # defined by IAM.
883
- # **JSON Example**
884
- # ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
885
- # "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
886
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
887
- # sean@example.com"] ` ] `
888
- # **YAML Example**
947
+ # An Identity and Access Management (IAM) policy, which specifies access
948
+ # controls for Google Cloud resources.
949
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
950
+ # members` to a single `role`. Members can be user accounts, service accounts,
951
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
952
+ # permissions; each `role` can be an IAM predefined role or a user-created
953
+ # custom role.
954
+ # For some types of Google Cloud resources, a `binding` can also specify a `
955
+ # condition`, which is a logical expression that allows access to a resource
956
+ # only if the expression evaluates to `true`. A condition can add constraints
957
+ # based on attributes of the request, the resource, or both. To learn which
958
+ # resources support conditions in their IAM policies, see the [IAM documentation]
959
+ # (https://cloud.google.com/iam/help/conditions/resource-policies).
960
+ # **JSON example:**
961
+ # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
962
+ # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
963
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
964
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
965
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
966
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
967
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
968
+ # **YAML example:**
889
969
  # bindings: - members: - user:mike@example.com - group:admins@example.com -
890
- # domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
891
- # role: roles/owner - members: - user:sean@example.com role: roles/viewer
892
- # For a description of IAM and its features, see the [IAM developer's guide](
893
- # https://cloud.google.com/iam/docs).
970
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
971
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
972
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
973
+ # access description: Does not grant access after Sep 2020 expression: request.
974
+ # time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
975
+ # For a description of IAM and its features, see the [IAM documentation](https://
976
+ # cloud.google.com/iam/docs/).
894
977
  # Corresponds to the JSON property `policy`
895
978
  # @return [Google::Apis::DeploymentmanagerV2beta::Policy]
896
979
  attr_accessor :policy
@@ -991,10 +1074,8 @@ module Google
991
1074
  # a representation of IAMContext.principal even if a token or authority selector
992
1075
  # is present; or - "" (empty string), resulting in a counter with no fields.
993
1076
  # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
994
- # increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
995
- # of IAMContext.principal]`
996
- # At this time we do not support multiple field names (though this may be
997
- # supported in the future).
1077
+ # increment counter /iam/policy/debug_access_count `iam_principal=[value of
1078
+ # IAMContext.principal]`
998
1079
  # Corresponds to the JSON property `counter`
999
1080
  # @return [Google::Apis::DeploymentmanagerV2beta::LogConfigCounterOptions]
1000
1081
  attr_accessor :counter
@@ -1053,13 +1134,16 @@ module Google
1053
1134
  # a representation of IAMContext.principal even if a token or authority selector
1054
1135
  # is present; or - "" (empty string), resulting in a counter with no fields.
1055
1136
  # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
1056
- # increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
1057
- # of IAMContext.principal]`
1058
- # At this time we do not support multiple field names (though this may be
1059
- # supported in the future).
1137
+ # increment counter /iam/policy/debug_access_count `iam_principal=[value of
1138
+ # IAMContext.principal]`
1060
1139
  class LogConfigCounterOptions
1061
1140
  include Google::Apis::Core::Hashable
1062
1141
 
1142
+ # Custom fields.
1143
+ # Corresponds to the JSON property `customFields`
1144
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::LogConfigCounterOptionsCustomField>]
1145
+ attr_accessor :custom_fields
1146
+
1063
1147
  # The field value to attribute.
1064
1148
  # Corresponds to the JSON property `field`
1065
1149
  # @return [String]
@@ -1076,21 +1160,45 @@ module Google
1076
1160
 
1077
1161
  # Update properties of this object
1078
1162
  def update!(**args)
1163
+ @custom_fields = args[:custom_fields] if args.key?(:custom_fields)
1079
1164
  @field = args[:field] if args.key?(:field)
1080
1165
  @metric = args[:metric] if args.key?(:metric)
1081
1166
  end
1082
1167
  end
1083
1168
 
1169
+ # Custom fields. These can be used to create a counter with arbitrary field/
1170
+ # value pairs. See: go/rpcsp-custom-fields.
1171
+ class LogConfigCounterOptionsCustomField
1172
+ include Google::Apis::Core::Hashable
1173
+
1174
+ # Name is the field name.
1175
+ # Corresponds to the JSON property `name`
1176
+ # @return [String]
1177
+ attr_accessor :name
1178
+
1179
+ # Value is the field value. It is important that in contrast to the
1180
+ # CounterOptions.field, the value here is a constant that is not derived from
1181
+ # the IAMContext.
1182
+ # Corresponds to the JSON property `value`
1183
+ # @return [String]
1184
+ attr_accessor :value
1185
+
1186
+ def initialize(**args)
1187
+ update!(**args)
1188
+ end
1189
+
1190
+ # Update properties of this object
1191
+ def update!(**args)
1192
+ @name = args[:name] if args.key?(:name)
1193
+ @value = args[:value] if args.key?(:value)
1194
+ end
1195
+ end
1196
+
1084
1197
  # Write a Data Access (Gin) log
1085
1198
  class LogConfigDataAccessOptions
1086
1199
  include Google::Apis::Core::Hashable
1087
1200
 
1088
- # Whether Gin logging should happen in a fail-closed manner at the caller. This
1089
- # is relevant only in the LocalIAM implementation, for now.
1090
- # NOTE: Logging to Gin in a fail-closed manner is currently unsupported while
1091
- # work is being done to satisfy the requirements of go/345. Currently, setting
1092
- # LOG_FAIL_CLOSED mode will have no effect, but still exists because there is
1093
- # active work being done to support it (b/115874152).
1201
+ #
1094
1202
  # Corresponds to the JSON property `logMode`
1095
1203
  # @return [String]
1096
1204
  attr_accessor :log_mode
@@ -1194,11 +1302,21 @@ module Google
1194
1302
  end
1195
1303
  end
1196
1304
 
1197
- # An Operation resource, used to manage asynchronous API requests. (==
1198
- # resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
1199
- # (== resource_for v1.regionOperations ==) (== resource_for beta.
1200
- # regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
1201
- # beta.zoneOperations ==)
1305
+ # Represents an Operation resource.
1306
+ # Google Compute Engine has three Operation resources:
1307
+ # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
1308
+ # Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
1309
+ # Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
1310
+ # You can use an operation resource to manage asynchronous API requests. For
1311
+ # more information, read Handling API responses.
1312
+ # Operations can be global, regional or zonal.
1313
+ # - For global operations, use the `globalOperations` resource.
1314
+ # - For regional operations, use the `regionOperations` resource.
1315
+ # - For zonal operations, use the `zonalOperations` resource.
1316
+ # For more information, read Global, Regional, and Zonal Resources. (==
1317
+ # resource_for `$api_version`.globalOperations ==) (== resource_for `$
1318
+ # api_version`.regionOperations ==) (== resource_for `$api_version`.
1319
+ # zoneOperations ==)
1202
1320
  class Operation
1203
1321
  include Google::Apis::Core::Hashable
1204
1322
 
@@ -1232,19 +1350,19 @@ module Google
1232
1350
  attr_accessor :error
1233
1351
 
1234
1352
  # [Output Only] If the operation fails, this field contains the HTTP error
1235
- # message that was returned, such as NOT FOUND.
1353
+ # message that was returned, such as `NOT FOUND`.
1236
1354
  # Corresponds to the JSON property `httpErrorMessage`
1237
1355
  # @return [String]
1238
1356
  attr_accessor :http_error_message
1239
1357
 
1240
1358
  # [Output Only] If the operation fails, this field contains the HTTP error
1241
- # status code that was returned. For example, a 404 means the resource was not
1359
+ # status code that was returned. For example, a `404` means the resource was not
1242
1360
  # found.
1243
1361
  # Corresponds to the JSON property `httpErrorStatusCode`
1244
1362
  # @return [Fixnum]
1245
1363
  attr_accessor :http_error_status_code
1246
1364
 
1247
- # [Output Only] The unique identifier for the resource. This identifier is
1365
+ # [Output Only] The unique identifier for the operation. This identifier is
1248
1366
  # defined by the server.
1249
1367
  # Corresponds to the JSON property `id`
1250
1368
  # @return [Fixnum]
@@ -1256,19 +1374,19 @@ module Google
1256
1374
  # @return [String]
1257
1375
  attr_accessor :insert_time
1258
1376
 
1259
- # [Output Only] Type of the resource. Always compute#operation for Operation
1377
+ # [Output Only] Type of the resource. Always `compute#operation` for Operation
1260
1378
  # resources.
1261
1379
  # Corresponds to the JSON property `kind`
1262
1380
  # @return [String]
1263
1381
  attr_accessor :kind
1264
1382
 
1265
- # [Output Only] Name of the resource.
1383
+ # [Output Only] Name of the operation.
1266
1384
  # Corresponds to the JSON property `name`
1267
1385
  # @return [String]
1268
1386
  attr_accessor :name
1269
1387
 
1270
- # [Output Only] The type of operation, such as insert, update, or delete, and so
1271
- # on.
1388
+ # [Output Only] The type of operation, such as `insert`, `update`, or `delete`,
1389
+ # and so on.
1272
1390
  # Corresponds to the JSON property `operationType`
1273
1391
  # @return [String]
1274
1392
  attr_accessor :operation_type
@@ -1282,9 +1400,7 @@ module Google
1282
1400
  attr_accessor :progress
1283
1401
 
1284
1402
  # [Output Only] The URL of the region where the operation resides. Only
1285
- # available when performing regional operations. You must specify this field as
1286
- # part of the HTTP request URL. It is not settable as a field in the request
1287
- # body.
1403
+ # applicable when performing regional operations.
1288
1404
  # Corresponds to the JSON property `region`
1289
1405
  # @return [String]
1290
1406
  attr_accessor :region
@@ -1300,8 +1416,8 @@ module Google
1300
1416
  # @return [String]
1301
1417
  attr_accessor :start_time
1302
1418
 
1303
- # [Output Only] The status of the operation, which can be one of the following:
1304
- # PENDING, RUNNING, or DONE.
1419
+ # [Output Only] The status of the operation, which can be one of the following: `
1420
+ # PENDING`, `RUNNING`, or `DONE`.
1305
1421
  # Corresponds to the JSON property `status`
1306
1422
  # @return [String]
1307
1423
  attr_accessor :status
@@ -1325,7 +1441,8 @@ module Google
1325
1441
  # @return [String]
1326
1442
  attr_accessor :target_link
1327
1443
 
1328
- # [Output Only] User who requested the operation, for example: user@example.com.
1444
+ # [Output Only] User who requested the operation, for example: `user@example.com`
1445
+ # .
1329
1446
  # Corresponds to the JSON property `user`
1330
1447
  # @return [String]
1331
1448
  attr_accessor :user
@@ -1336,9 +1453,8 @@ module Google
1336
1453
  # @return [Array<Google::Apis::DeploymentmanagerV2beta::Operation::Warning>]
1337
1454
  attr_accessor :warnings
1338
1455
 
1339
- # [Output Only] The URL of the zone where the operation resides. Only available
1340
- # when performing per-zone operations. You must specify this field as part of
1341
- # the HTTP request URL. It is not settable as a field in the request body.
1456
+ # [Output Only] The URL of the zone where the operation resides. Only applicable
1457
+ # when performing per-zone operations.
1342
1458
  # Corresponds to the JSON property `zone`
1343
1459
  # @return [String]
1344
1460
  attr_accessor :zone
@@ -1560,23 +1676,36 @@ module Google
1560
1676
  end
1561
1677
  end
1562
1678
 
1563
- # Defines an Identity and Access Management (IAM) policy. It is used to specify
1564
- # access control policies for Cloud Platform resources.
1565
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
1566
- # members` to a `role`, where the members can be user accounts, Google groups,
1567
- # Google domains, and service accounts. A `role` is a named list of permissions
1568
- # defined by IAM.
1569
- # **JSON Example**
1570
- # ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
1571
- # "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
1572
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
1573
- # sean@example.com"] ` ] `
1574
- # **YAML Example**
1679
+ # An Identity and Access Management (IAM) policy, which specifies access
1680
+ # controls for Google Cloud resources.
1681
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
1682
+ # members` to a single `role`. Members can be user accounts, service accounts,
1683
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
1684
+ # permissions; each `role` can be an IAM predefined role or a user-created
1685
+ # custom role.
1686
+ # For some types of Google Cloud resources, a `binding` can also specify a `
1687
+ # condition`, which is a logical expression that allows access to a resource
1688
+ # only if the expression evaluates to `true`. A condition can add constraints
1689
+ # based on attributes of the request, the resource, or both. To learn which
1690
+ # resources support conditions in their IAM policies, see the [IAM documentation]
1691
+ # (https://cloud.google.com/iam/help/conditions/resource-policies).
1692
+ # **JSON example:**
1693
+ # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
1694
+ # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1695
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1696
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1697
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1698
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1699
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
1700
+ # **YAML example:**
1575
1701
  # bindings: - members: - user:mike@example.com - group:admins@example.com -
1576
- # domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
1577
- # role: roles/owner - members: - user:sean@example.com role: roles/viewer
1578
- # For a description of IAM and its features, see the [IAM developer's guide](
1579
- # https://cloud.google.com/iam/docs).
1702
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1703
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1704
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1705
+ # access description: Does not grant access after Sep 2020 expression: request.
1706
+ # time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
1707
+ # For a description of IAM and its features, see the [IAM documentation](https://
1708
+ # cloud.google.com/iam/docs/).
1580
1709
  class Policy
1581
1710
  include Google::Apis::Core::Hashable
1582
1711
 
@@ -1585,8 +1714,9 @@ module Google
1585
1714
  # @return [Array<Google::Apis::DeploymentmanagerV2beta::AuditConfig>]
1586
1715
  attr_accessor :audit_configs
1587
1716
 
1588
- # Associates a list of `members` to a `role`. `bindings` with no members will
1589
- # result in an error.
1717
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
1718
+ # condition` that determines how and when the `bindings` are applied. Each of
1719
+ # the `bindings` must contain at least one member.
1590
1720
  # Corresponds to the JSON property `bindings`
1591
1721
  # @return [Array<Google::Apis::DeploymentmanagerV2beta::Binding>]
1592
1722
  attr_accessor :bindings
@@ -1598,8 +1728,10 @@ module Google
1598
1728
  # returned in the response to `getIamPolicy`, and systems are expected to put
1599
1729
  # that etag in the request to `setIamPolicy` to ensure that their change will be
1600
1730
  # applied to the same version of the policy.
1601
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
1602
- # policy is overwritten blindly.
1731
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
1732
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1733
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
1734
+ # conditions in the version `3` policy are lost.
1603
1735
  # Corresponds to the JSON property `etag`
1604
1736
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1605
1737
  # @return [String]
@@ -1622,7 +1754,24 @@ module Google
1622
1754
  # @return [Array<Google::Apis::DeploymentmanagerV2beta::Rule>]
1623
1755
  attr_accessor :rules
1624
1756
 
1625
- # Deprecated.
1757
+ # Specifies the format of the policy.
1758
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are
1759
+ # rejected.
1760
+ # Any operation that affects conditional role bindings must specify version `3`.
1761
+ # This requirement applies to the following operations:
1762
+ # * Getting a policy that includes a conditional role binding * Adding a
1763
+ # conditional role binding to a policy * Changing a conditional role binding in
1764
+ # a policy * Removing any role binding, with or without a condition, from a
1765
+ # policy that includes conditions
1766
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
1767
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1768
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
1769
+ # conditions in the version `3` policy are lost.
1770
+ # If a policy does not include any conditions, operations on that policy may
1771
+ # specify any valid version or leave the field unset.
1772
+ # To learn which resources support conditions in their IAM policies, see the [
1773
+ # IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1774
+ # policies).
1626
1775
  # Corresponds to the JSON property `version`
1627
1776
  # @return [Fixnum]
1628
1777
  attr_accessor :version
@@ -1729,8 +1878,8 @@ module Google
1729
1878
  # @return [String]
1730
1879
  attr_accessor :properties
1731
1880
 
1732
- # Output only. The type of the resource, for example compute.v1.instance, or
1733
- # cloudfunctions.v1beta1.function.
1881
+ # Output only. The type of the resource, for example `compute.v1.instance`, or `
1882
+ # cloudfunctions.v1beta1.function`.
1734
1883
  # Corresponds to the JSON property `type`
1735
1884
  # @return [String]
1736
1885
  attr_accessor :type
@@ -1881,7 +2030,7 @@ module Google
1881
2030
  # @return [String]
1882
2031
  attr_accessor :final_properties
1883
2032
 
1884
- # Output only. The intent of the resource: PREVIEW, UPDATE, or CANCEL.
2033
+ # Output only. The intent of the resource: `PREVIEW`, `UPDATE`, or `CANCEL`.
1885
2034
  # Corresponds to the JSON property `intent`
1886
2035
  # @return [String]
1887
2036
  attr_accessor :intent
@@ -2285,9 +2434,9 @@ module Google
2285
2434
 
2286
2435
  # Map of labels; provided by the client when the resource is created or updated.
2287
2436
  # Specifically: Label keys must be between 1 and 63 characters long and must
2288
- # conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
2289
- # values must be between 0 and 63 characters long and must conform to the
2290
- # regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
2437
+ # conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
2438
+ # Label values must be between 0 and 63 characters long and must conform to the
2439
+ # regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
2291
2440
  # Corresponds to the JSON property `labels`
2292
2441
  # @return [Array<Google::Apis::DeploymentmanagerV2beta::TypeLabelEntry>]
2293
2442
  attr_accessor :labels
@@ -2297,11 +2446,21 @@ module Google
2297
2446
  # @return [String]
2298
2447
  attr_accessor :name
2299
2448
 
2300
- # An Operation resource, used to manage asynchronous API requests. (==
2301
- # resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
2302
- # (== resource_for v1.regionOperations ==) (== resource_for beta.
2303
- # regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
2304
- # beta.zoneOperations ==)
2449
+ # Represents an Operation resource.
2450
+ # Google Compute Engine has three Operation resources:
2451
+ # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
2452
+ # Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
2453
+ # Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
2454
+ # You can use an operation resource to manage asynchronous API requests. For
2455
+ # more information, read Handling API responses.
2456
+ # Operations can be global, regional or zonal.
2457
+ # - For global operations, use the `globalOperations` resource.
2458
+ # - For regional operations, use the `regionOperations` resource.
2459
+ # - For zonal operations, use the `zonalOperations` resource.
2460
+ # For more information, read Global, Regional, and Zonal Resources. (==
2461
+ # resource_for `$api_version`.globalOperations ==) (== resource_for `$
2462
+ # api_version`.regionOperations ==) (== resource_for `$api_version`.
2463
+ # zoneOperations ==)
2305
2464
  # Corresponds to the JSON property `operation`
2306
2465
  # @return [Google::Apis::DeploymentmanagerV2beta::Operation]
2307
2466
  attr_accessor :operation
@@ -2344,7 +2503,7 @@ module Google
2344
2503
  # @return [String]
2345
2504
  attr_accessor :documentation_link
2346
2505
 
2347
- # Output only. Type of the output. Always deploymentManager#TypeInfo for
2506
+ # Output only. Type of the output. Always `deploymentManager#TypeInfo` for
2348
2507
  # TypeInfo.
2349
2508
  # Corresponds to the JSON property `kind`
2350
2509
  # @return [String]
@@ -2454,6 +2613,16 @@ module Google
2454
2613
  # @return [Google::Apis::DeploymentmanagerV2beta::Credential]
2455
2614
  attr_accessor :credential
2456
2615
 
2616
+ # List of up to 2 custom certificate authority roots to use for TLS
2617
+ # authentication when making calls on behalf of this type provider. If set, TLS
2618
+ # authentication will exclusively use these roots instead of relying on publicly
2619
+ # trusted certificate authorities when validating TLS certificate authenticity.
2620
+ # The certificates must be in base64-encoded PEM format. The maximum size of
2621
+ # each certificate must not exceed 10KB.
2622
+ # Corresponds to the JSON property `customCertificateAuthorityRoots`
2623
+ # @return [Array<String>]
2624
+ attr_accessor :custom_certificate_authority_roots
2625
+
2457
2626
  # An optional textual description of the resource; provided by the client when
2458
2627
  # the resource is created.
2459
2628
  # Corresponds to the JSON property `description`
@@ -2477,28 +2646,38 @@ module Google
2477
2646
 
2478
2647
  # Map of labels; provided by the client when the resource is created or updated.
2479
2648
  # Specifically: Label keys must be between 1 and 63 characters long and must
2480
- # conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
2481
- # values must be between 0 and 63 characters long and must conform to the
2482
- # regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
2649
+ # conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
2650
+ # Label values must be between 0 and 63 characters long and must conform to the
2651
+ # regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
2483
2652
  # Corresponds to the JSON property `labels`
2484
2653
  # @return [Array<Google::Apis::DeploymentmanagerV2beta::TypeProviderLabelEntry>]
2485
2654
  attr_accessor :labels
2486
2655
 
2487
2656
  # Name of the resource; provided by the client when the resource is created. The
2488
2657
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
2489
- # name must be 1-63 characters long and match the regular expression [a-z]([-a-
2490
- # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
2658
+ # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
2659
+ # z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
2491
2660
  # and all following characters must be a dash, lowercase letter, or digit,
2492
2661
  # except the last character, which cannot be a dash.
2493
2662
  # Corresponds to the JSON property `name`
2494
2663
  # @return [String]
2495
2664
  attr_accessor :name
2496
2665
 
2497
- # An Operation resource, used to manage asynchronous API requests. (==
2498
- # resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
2499
- # (== resource_for v1.regionOperations ==) (== resource_for beta.
2500
- # regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
2501
- # beta.zoneOperations ==)
2666
+ # Represents an Operation resource.
2667
+ # Google Compute Engine has three Operation resources:
2668
+ # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
2669
+ # Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
2670
+ # Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
2671
+ # You can use an operation resource to manage asynchronous API requests. For
2672
+ # more information, read Handling API responses.
2673
+ # Operations can be global, regional or zonal.
2674
+ # - For global operations, use the `globalOperations` resource.
2675
+ # - For regional operations, use the `regionOperations` resource.
2676
+ # - For zonal operations, use the `zonalOperations` resource.
2677
+ # For more information, read Global, Regional, and Zonal Resources. (==
2678
+ # resource_for `$api_version`.globalOperations ==) (== resource_for `$
2679
+ # api_version`.regionOperations ==) (== resource_for `$api_version`.
2680
+ # zoneOperations ==)
2502
2681
  # Corresponds to the JSON property `operation`
2503
2682
  # @return [Google::Apis::DeploymentmanagerV2beta::Operation]
2504
2683
  attr_accessor :operation
@@ -2521,6 +2700,7 @@ module Google
2521
2700
  def update!(**args)
2522
2701
  @collection_overrides = args[:collection_overrides] if args.key?(:collection_overrides)
2523
2702
  @credential = args[:credential] if args.key?(:credential)
2703
+ @custom_certificate_authority_roots = args[:custom_certificate_authority_roots] if args.key?(:custom_certificate_authority_roots)
2524
2704
  @description = args[:description] if args.key?(:description)
2525
2705
  @descriptor_url = args[:descriptor_url] if args.key?(:descriptor_url)
2526
2706
  @id = args[:id] if args.key?(:id)