google-api-client 0.36.0 → 0.36.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +69 -0
  3. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  4. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
  5. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  6. data/generated/google/apis/androidmanagement_v1/classes.rb +7 -4
  7. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  8. data/generated/google/apis/androidpublisher_v3/classes.rb +32 -32
  9. data/generated/google/apis/androidpublisher_v3/representations.rb +17 -17
  10. data/generated/google/apis/bigquery_v2.rb +1 -1
  11. data/generated/google/apis/bigquery_v2/classes.rb +2 -1
  12. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  13. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +81 -41
  14. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
  15. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +8 -8
  16. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  17. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +60 -30
  18. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  19. data/generated/google/apis/bigtableadmin_v2/classes.rb +75 -40
  20. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
  21. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  22. data/generated/google/apis/binaryauthorization_v1/classes.rb +75 -41
  23. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  24. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +75 -41
  25. data/generated/google/apis/chat_v1.rb +1 -1
  26. data/generated/google/apis/chat_v1/service.rb +5 -2
  27. data/generated/google/apis/cloudasset_v1.rb +1 -1
  28. data/generated/google/apis/cloudasset_v1/classes.rb +206 -0
  29. data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
  30. data/generated/google/apis/cloudasset_v1/service.rb +174 -0
  31. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  32. data/generated/google/apis/cloudbilling_v1/classes.rb +59 -41
  33. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  34. data/generated/google/apis/cloudbuild_v1/classes.rb +9 -5
  35. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  36. data/generated/google/apis/cloudfunctions_v1/classes.rb +75 -41
  37. data/generated/google/apis/cloudiot_v1.rb +1 -1
  38. data/generated/google/apis/cloudiot_v1/classes.rb +75 -41
  39. data/generated/google/apis/cloudkms_v1.rb +1 -1
  40. data/generated/google/apis/cloudkms_v1/classes.rb +104 -41
  41. data/generated/google/apis/cloudkms_v1/representations.rb +15 -0
  42. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  43. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +75 -41
  44. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  45. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +75 -41
  46. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  47. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  48. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +75 -41
  49. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  50. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +75 -41
  51. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  52. data/generated/google/apis/cloudsearch_v1/classes.rb +3 -2
  53. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  54. data/generated/google/apis/cloudtasks_v2/classes.rb +81 -47
  55. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  56. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +75 -41
  57. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  58. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +81 -47
  59. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  60. data/generated/google/apis/cloudtrace_v2/classes.rb +5 -3
  61. data/generated/google/apis/compute_alpha.rb +1 -1
  62. data/generated/google/apis/compute_alpha/classes.rb +68 -47
  63. data/generated/google/apis/compute_alpha/representations.rb +2 -1
  64. data/generated/google/apis/compute_alpha/service.rb +54 -0
  65. data/generated/google/apis/compute_beta.rb +1 -1
  66. data/generated/google/apis/compute_beta/classes.rb +597 -40
  67. data/generated/google/apis/compute_beta/representations.rb +164 -0
  68. data/generated/google/apis/compute_beta/service.rb +343 -1
  69. data/generated/google/apis/compute_v1.rb +1 -1
  70. data/generated/google/apis/compute_v1/classes.rb +54 -39
  71. data/generated/google/apis/compute_v1/representations.rb +1 -0
  72. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  73. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +75 -41
  74. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  75. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +77 -43
  76. data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
  77. data/generated/google/apis/content_v2.rb +1 -1
  78. data/generated/google/apis/content_v2/classes.rb +46 -42
  79. data/generated/google/apis/content_v2_1.rb +1 -1
  80. data/generated/google/apis/content_v2_1/classes.rb +46 -42
  81. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  82. data/generated/google/apis/datacatalog_v1beta1/classes.rb +75 -41
  83. data/generated/google/apis/datastore_v1.rb +1 -1
  84. data/generated/google/apis/datastore_v1/classes.rb +16 -22
  85. data/generated/google/apis/datastore_v1/service.rb +10 -10
  86. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  87. data/generated/google/apis/datastore_v1beta3/classes.rb +5 -4
  88. data/generated/google/apis/datastore_v1beta3/service.rb +8 -8
  89. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  90. data/generated/google/apis/dfareporting_v3_4/classes.rb +88 -88
  91. data/generated/google/apis/dfareporting_v3_4/representations.rb +39 -39
  92. data/generated/google/apis/dialogflow_v2.rb +1 -1
  93. data/generated/google/apis/dialogflow_v2/classes.rb +1 -1
  94. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  95. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1 -1
  96. data/generated/google/apis/dlp_v2.rb +1 -1
  97. data/generated/google/apis/dlp_v2/classes.rb +77 -0
  98. data/generated/google/apis/dlp_v2/representations.rb +42 -0
  99. data/generated/google/apis/file_v1.rb +1 -1
  100. data/generated/google/apis/file_v1/classes.rb +59 -12
  101. data/generated/google/apis/file_v1/representations.rb +19 -2
  102. data/generated/google/apis/file_v1/service.rb +8 -4
  103. data/generated/google/apis/file_v1beta1.rb +1 -1
  104. data/generated/google/apis/file_v1beta1/classes.rb +59 -12
  105. data/generated/google/apis/file_v1beta1/representations.rb +19 -2
  106. data/generated/google/apis/file_v1beta1/service.rb +8 -4
  107. data/generated/google/apis/firebaserules_v1.rb +1 -1
  108. data/generated/google/apis/firebaserules_v1/classes.rb +75 -0
  109. data/generated/google/apis/firebaserules_v1/representations.rb +35 -0
  110. data/generated/google/apis/gmail_v1.rb +1 -1
  111. data/generated/google/apis/gmail_v1/classes.rb +6 -2
  112. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  113. data/generated/google/apis/iamcredentials_v1/classes.rb +7 -4
  114. data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
  115. data/generated/google/apis/iap_v1.rb +1 -1
  116. data/generated/google/apis/iap_v1/classes.rb +225 -40
  117. data/generated/google/apis/iap_v1/representations.rb +84 -0
  118. data/generated/google/apis/iap_v1/service.rb +292 -0
  119. data/generated/google/apis/iap_v1beta1.rb +1 -1
  120. data/generated/google/apis/iap_v1beta1/classes.rb +75 -40
  121. data/generated/google/apis/logging_v2.rb +1 -1
  122. data/generated/google/apis/logging_v2/classes.rb +29 -41
  123. data/generated/google/apis/ml_v1.rb +1 -1
  124. data/generated/google/apis/ml_v1/classes.rb +14 -21
  125. data/generated/google/apis/ml_v1/service.rb +15 -18
  126. data/generated/google/apis/monitoring_v1.rb +1 -1
  127. data/generated/google/apis/monitoring_v1/classes.rb +15 -11
  128. data/generated/google/apis/monitoring_v3.rb +1 -1
  129. data/generated/google/apis/monitoring_v3/classes.rb +6 -10
  130. data/generated/google/apis/monitoring_v3/representations.rb +0 -1
  131. data/generated/google/apis/{fusiontables_v1.rb → policytroubleshooter_v1.rb} +10 -13
  132. data/generated/google/apis/policytroubleshooter_v1/classes.rb +700 -0
  133. data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
  134. data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
  135. data/generated/google/apis/pubsub_v1.rb +1 -1
  136. data/generated/google/apis/pubsub_v1/classes.rb +75 -41
  137. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  138. data/generated/google/apis/pubsub_v1beta2/classes.rb +75 -41
  139. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  140. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  141. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  142. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  143. data/generated/google/apis/run_v1.rb +1 -1
  144. data/generated/google/apis/run_v1/classes.rb +75 -41
  145. data/generated/google/apis/run_v1alpha1.rb +1 -1
  146. data/generated/google/apis/run_v1alpha1/classes.rb +82 -41
  147. data/generated/google/apis/run_v1alpha1/representations.rb +2 -0
  148. data/generated/google/apis/{fusiontables_v2.rb → secretmanager_v1beta1.rb} +11 -14
  149. data/generated/google/apis/secretmanager_v1beta1/classes.rb +936 -0
  150. data/generated/google/apis/secretmanager_v1beta1/representations.rb +388 -0
  151. data/generated/google/apis/secretmanager_v1beta1/service.rb +674 -0
  152. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  153. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +85 -1
  154. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -0
  155. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  156. data/generated/google/apis/servicecontrol_v1/classes.rb +4 -3
  157. data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
  158. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  159. data/generated/google/apis/servicenetworking_v1/classes.rb +38 -1
  160. data/generated/google/apis/servicenetworking_v1/representations.rb +14 -0
  161. data/generated/google/apis/servicenetworking_v1/service.rb +35 -0
  162. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  163. data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -1
  164. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
  165. data/generated/google/apis/serviceusage_v1.rb +1 -1
  166. data/generated/google/apis/serviceusage_v1/classes.rb +16 -1
  167. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  168. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  169. data/generated/google/apis/serviceusage_v1beta1/classes.rb +16 -1
  170. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  171. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  172. data/generated/google/apis/storagetransfer_v1/service.rb +4 -2
  173. data/generated/google/apis/testing_v1.rb +1 -1
  174. data/generated/google/apis/testing_v1/classes.rb +2 -2
  175. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  176. data/generated/google/apis/toolresults_v1beta3/classes.rb +374 -2
  177. data/generated/google/apis/toolresults_v1beta3/representations.rb +109 -0
  178. data/generated/google/apis/toolresults_v1beta3/service.rb +98 -0
  179. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  180. data/lib/google/apis/version.rb +1 -1
  181. metadata +11 -11
  182. data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
  183. data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
  184. data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
  185. data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
  186. data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
  187. data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/pubsub/docs
26
26
  module PubsubV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20191111'
28
+ REVISION = '20191203'
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'
@@ -66,6 +66,23 @@ module Google
66
66
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
67
67
  # * `group:`emailid``: An email address that represents a Google group.
68
68
  # For example, `admins@example.com`.
69
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
70
+ # identifier) representing a user that has been recently deleted. For
71
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
72
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
73
+ # retains the role in the binding.
74
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
75
+ # unique identifier) representing a service account that has been recently
76
+ # deleted. For example,
77
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
78
+ # If the service account is undeleted, this value reverts to
79
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
80
+ # role in the binding.
81
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
82
+ # identifier) representing a Google group that has been recently
83
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
84
+ # the group is recovered, this value reverts to `group:`emailid`` and the
85
+ # recovered group retains the role in the binding.
69
86
  # * `domain:`domain``: The G Suite domain (primary) that represents all the
70
87
  # users of that domain. For example, `google.com` or `example.com`.
71
88
  # Corresponds to the JSON property `members`
@@ -327,16 +344,18 @@ module Google
327
344
  end
328
345
  end
329
346
 
330
- # Defines an Identity and Access Management (IAM) policy. It is used to
331
- # specify access control policies for Cloud Platform resources.
347
+ # An Identity and Access Management (IAM) policy, which specifies access
348
+ # controls for Google Cloud resources.
332
349
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
333
350
  # `members` to a single `role`. Members can be user accounts, service accounts,
334
351
  # Google groups, and domains (such as G Suite). A `role` is a named list of
335
- # permissions (defined by IAM or configured by users). A `binding` can
336
- # optionally specify a `condition`, which is a logic expression that further
337
- # constrains the role binding based on attributes about the request and/or
338
- # target resource.
339
- # **JSON Example**
352
+ # permissions; each `role` can be an IAM predefined role or a user-created
353
+ # custom role.
354
+ # Optionally, a `binding` can specify a `condition`, which is a logical
355
+ # expression that allows access to a resource only if the expression evaluates
356
+ # to `true`. A condition can add constraints based on attributes of the
357
+ # request, the resource, or both.
358
+ # **JSON example:**
340
359
  # `
341
360
  # "bindings": [
342
361
  # `
@@ -354,13 +373,15 @@ module Google
354
373
  # "condition": `
355
374
  # "title": "expirable access",
356
375
  # "description": "Does not grant access after Sep 2020",
357
- # "expression": "request.time <
358
- # timestamp('2020-10-01T00:00:00.000Z')",
376
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
377
+ # ",
359
378
  # `
360
379
  # `
361
- # ]
380
+ # ],
381
+ # "etag": "BwWWja0YfJA=",
382
+ # "version": 3
362
383
  # `
363
- # **YAML Example**
384
+ # **YAML example:**
364
385
  # bindings:
365
386
  # - members:
366
387
  # - user:mike@example.com
@@ -375,14 +396,16 @@ module Google
375
396
  # title: expirable access
376
397
  # description: Does not grant access after Sep 2020
377
398
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
399
+ # - etag: BwWWja0YfJA=
400
+ # - version: 3
378
401
  # For a description of IAM and its features, see the
379
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
402
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
380
403
  class Policy
381
404
  include Google::Apis::Core::Hashable
382
405
 
383
- # Associates a list of `members` to a `role`. Optionally may specify a
384
- # `condition` that determines when binding is in effect.
385
- # `bindings` with no members will result in an error.
406
+ # Associates a list of `members` to a `role`. Optionally, may specify a
407
+ # `condition` that determines how and when the `bindings` are applied. Each
408
+ # of the `bindings` must contain at least one member.
386
409
  # Corresponds to the JSON property `bindings`
387
410
  # @return [Array<Google::Apis::PubsubV1beta2::Binding>]
388
411
  attr_accessor :bindings
@@ -394,26 +417,31 @@ module Google
394
417
  # conditions: An `etag` is returned in the response to `getIamPolicy`, and
395
418
  # systems are expected to put that etag in the request to `setIamPolicy` to
396
419
  # ensure that their change will be applied to the same version of the policy.
397
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
398
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
399
- # 'setIamPolicy' will not fail even if the incoming policy version does not
400
- # meet the requirements for modifying the stored policy.
420
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
421
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
422
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
423
+ # the conditions in the version `3` policy are lost.
401
424
  # Corresponds to the JSON property `etag`
402
425
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
403
426
  # @return [String]
404
427
  attr_accessor :etag
405
428
 
406
429
  # Specifies the format of the policy.
407
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
408
- # rejected.
409
- # Operations affecting conditional bindings must specify version 3. This can
410
- # be either setting a conditional policy, modifying a conditional binding,
411
- # or removing a binding (conditional or unconditional) from the stored
412
- # conditional policy.
413
- # Operations on non-conditional policies may specify any valid value or
414
- # leave the field unset.
415
- # If no etag is provided in the call to `setIamPolicy`, version compliance
416
- # checks against the stored policy is skipped.
430
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
431
+ # are rejected.
432
+ # Any operation that affects conditional role bindings must specify version
433
+ # `3`. This requirement applies to the following operations:
434
+ # * Getting a policy that includes a conditional role binding
435
+ # * Adding a conditional role binding to a policy
436
+ # * Changing a conditional role binding in a policy
437
+ # * Removing any role binding, with or without a condition, from a policy
438
+ # that includes conditions
439
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
440
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
441
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
442
+ # the conditions in the version `3` policy are lost.
443
+ # If a policy does not include any conditions, operations on that policy may
444
+ # specify any valid version or leave the field unset.
417
445
  # Corresponds to the JSON property `version`
418
446
  # @return [Fixnum]
419
447
  attr_accessor :version
@@ -648,16 +676,18 @@ module Google
648
676
  class SetIamPolicyRequest
649
677
  include Google::Apis::Core::Hashable
650
678
 
651
- # Defines an Identity and Access Management (IAM) policy. It is used to
652
- # specify access control policies for Cloud Platform resources.
679
+ # An Identity and Access Management (IAM) policy, which specifies access
680
+ # controls for Google Cloud resources.
653
681
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
654
682
  # `members` to a single `role`. Members can be user accounts, service accounts,
655
683
  # Google groups, and domains (such as G Suite). A `role` is a named list of
656
- # permissions (defined by IAM or configured by users). A `binding` can
657
- # optionally specify a `condition`, which is a logic expression that further
658
- # constrains the role binding based on attributes about the request and/or
659
- # target resource.
660
- # **JSON Example**
684
+ # permissions; each `role` can be an IAM predefined role or a user-created
685
+ # custom role.
686
+ # Optionally, a `binding` can specify a `condition`, which is a logical
687
+ # expression that allows access to a resource only if the expression evaluates
688
+ # to `true`. A condition can add constraints based on attributes of the
689
+ # request, the resource, or both.
690
+ # **JSON example:**
661
691
  # `
662
692
  # "bindings": [
663
693
  # `
@@ -675,13 +705,15 @@ module Google
675
705
  # "condition": `
676
706
  # "title": "expirable access",
677
707
  # "description": "Does not grant access after Sep 2020",
678
- # "expression": "request.time <
679
- # timestamp('2020-10-01T00:00:00.000Z')",
708
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
709
+ # ",
680
710
  # `
681
711
  # `
682
- # ]
712
+ # ],
713
+ # "etag": "BwWWja0YfJA=",
714
+ # "version": 3
683
715
  # `
684
- # **YAML Example**
716
+ # **YAML example:**
685
717
  # bindings:
686
718
  # - members:
687
719
  # - user:mike@example.com
@@ -696,8 +728,10 @@ module Google
696
728
  # title: expirable access
697
729
  # description: Does not grant access after Sep 2020
698
730
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
731
+ # - etag: BwWWja0YfJA=
732
+ # - version: 3
699
733
  # For a description of IAM and its features, see the
700
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
734
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
701
735
  # Corresponds to the JSON property `policy`
702
736
  # @return [Google::Apis::PubsubV1beta2::Policy]
703
737
  attr_accessor :policy
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/remote-build-execution/docs/
26
26
  module RemotebuildexecutionV1alpha
27
27
  VERSION = 'V1alpha'
28
- REVISION = '20191203'
28
+ REVISION = '20191211'
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'
@@ -2073,7 +2073,7 @@ module Google
2073
2073
  # Required. Disk Type to use for the worker.
2074
2074
  # See [Storage
2075
2075
  # options](https://cloud.google.com/compute/docs/disks/#introduction).
2076
- # Currently only `pd-standard` is supported.
2076
+ # Currently only `pd-standard` and `pd-ssd` are supported.
2077
2077
  # Corresponds to the JSON property `diskType`
2078
2078
  # @return [String]
2079
2079
  attr_accessor :disk_type
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/remote-build-execution/docs/
26
26
  module RemotebuildexecutionV2
27
27
  VERSION = 'V2'
28
- REVISION = '20191203'
28
+ REVISION = '20191211'
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'
@@ -2770,7 +2770,7 @@ module Google
2770
2770
  # Required. Disk Type to use for the worker.
2771
2771
  # See [Storage
2772
2772
  # options](https://cloud.google.com/compute/docs/disks/#introduction).
2773
- # Currently only `pd-standard` is supported.
2773
+ # Currently only `pd-standard` and `pd-ssd` are supported.
2774
2774
  # Corresponds to the JSON property `diskType`
2775
2775
  # @return [String]
2776
2776
  attr_accessor :disk_type
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/run/
27
27
  module RunV1
28
28
  VERSION = 'V1'
29
- REVISION = '20191112'
29
+ REVISION = '20191204'
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'
@@ -209,6 +209,23 @@ module Google
209
209
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
210
210
  # * `group:`emailid``: An email address that represents a Google group.
211
211
  # For example, `admins@example.com`.
212
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
213
+ # identifier) representing a user that has been recently deleted. For
214
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
215
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
216
+ # retains the role in the binding.
217
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
218
+ # unique identifier) representing a service account that has been recently
219
+ # deleted. For example,
220
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
221
+ # If the service account is undeleted, this value reverts to
222
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
223
+ # role in the binding.
224
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
225
+ # identifier) representing a Google group that has been recently
226
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
227
+ # the group is recovered, this value reverts to `group:`emailid`` and the
228
+ # recovered group retains the role in the binding.
212
229
  # * `domain:`domain``: The G Suite domain (primary) that represents all the
213
230
  # users of that domain. For example, `google.com` or `example.com`.
214
231
  # Corresponds to the JSON property `members`
@@ -2005,16 +2022,18 @@ module Google
2005
2022
  end
2006
2023
  end
2007
2024
 
2008
- # Defines an Identity and Access Management (IAM) policy. It is used to
2009
- # specify access control policies for Cloud Platform resources.
2025
+ # An Identity and Access Management (IAM) policy, which specifies access
2026
+ # controls for Google Cloud resources.
2010
2027
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
2011
2028
  # `members` to a single `role`. Members can be user accounts, service accounts,
2012
2029
  # Google groups, and domains (such as G Suite). A `role` is a named list of
2013
- # permissions (defined by IAM or configured by users). A `binding` can
2014
- # optionally specify a `condition`, which is a logic expression that further
2015
- # constrains the role binding based on attributes about the request and/or
2016
- # target resource.
2017
- # **JSON Example**
2030
+ # permissions; each `role` can be an IAM predefined role or a user-created
2031
+ # custom role.
2032
+ # Optionally, a `binding` can specify a `condition`, which is a logical
2033
+ # expression that allows access to a resource only if the expression evaluates
2034
+ # to `true`. A condition can add constraints based on attributes of the
2035
+ # request, the resource, or both.
2036
+ # **JSON example:**
2018
2037
  # `
2019
2038
  # "bindings": [
2020
2039
  # `
@@ -2032,13 +2051,15 @@ module Google
2032
2051
  # "condition": `
2033
2052
  # "title": "expirable access",
2034
2053
  # "description": "Does not grant access after Sep 2020",
2035
- # "expression": "request.time <
2036
- # timestamp('2020-10-01T00:00:00.000Z')",
2054
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
2055
+ # ",
2037
2056
  # `
2038
2057
  # `
2039
- # ]
2058
+ # ],
2059
+ # "etag": "BwWWja0YfJA=",
2060
+ # "version": 3
2040
2061
  # `
2041
- # **YAML Example**
2062
+ # **YAML example:**
2042
2063
  # bindings:
2043
2064
  # - members:
2044
2065
  # - user:mike@example.com
@@ -2053,8 +2074,10 @@ module Google
2053
2074
  # title: expirable access
2054
2075
  # description: Does not grant access after Sep 2020
2055
2076
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2077
+ # - etag: BwWWja0YfJA=
2078
+ # - version: 3
2056
2079
  # For a description of IAM and its features, see the
2057
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
2080
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
2058
2081
  class Policy
2059
2082
  include Google::Apis::Core::Hashable
2060
2083
 
@@ -2063,9 +2086,9 @@ module Google
2063
2086
  # @return [Array<Google::Apis::RunV1::AuditConfig>]
2064
2087
  attr_accessor :audit_configs
2065
2088
 
2066
- # Associates a list of `members` to a `role`. Optionally may specify a
2067
- # `condition` that determines when binding is in effect.
2068
- # `bindings` with no members will result in an error.
2089
+ # Associates a list of `members` to a `role`. Optionally, may specify a
2090
+ # `condition` that determines how and when the `bindings` are applied. Each
2091
+ # of the `bindings` must contain at least one member.
2069
2092
  # Corresponds to the JSON property `bindings`
2070
2093
  # @return [Array<Google::Apis::RunV1::Binding>]
2071
2094
  attr_accessor :bindings
@@ -2077,26 +2100,31 @@ module Google
2077
2100
  # conditions: An `etag` is returned in the response to `getIamPolicy`, and
2078
2101
  # systems are expected to put that etag in the request to `setIamPolicy` to
2079
2102
  # ensure that their change will be applied to the same version of the policy.
2080
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
2081
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
2082
- # 'setIamPolicy' will not fail even if the incoming policy version does not
2083
- # meet the requirements for modifying the stored policy.
2103
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
2104
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
2105
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
2106
+ # the conditions in the version `3` policy are lost.
2084
2107
  # Corresponds to the JSON property `etag`
2085
2108
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2086
2109
  # @return [String]
2087
2110
  attr_accessor :etag
2088
2111
 
2089
2112
  # Specifies the format of the policy.
2090
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2091
- # rejected.
2092
- # Operations affecting conditional bindings must specify version 3. This can
2093
- # be either setting a conditional policy, modifying a conditional binding,
2094
- # or removing a binding (conditional or unconditional) from the stored
2095
- # conditional policy.
2096
- # Operations on non-conditional policies may specify any valid value or
2097
- # leave the field unset.
2098
- # If no etag is provided in the call to `setIamPolicy`, version compliance
2099
- # checks against the stored policy is skipped.
2113
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
2114
+ # are rejected.
2115
+ # Any operation that affects conditional role bindings must specify version
2116
+ # `3`. This requirement applies to the following operations:
2117
+ # * Getting a policy that includes a conditional role binding
2118
+ # * Adding a conditional role binding to a policy
2119
+ # * Changing a conditional role binding in a policy
2120
+ # * Removing any role binding, with or without a condition, from a policy
2121
+ # that includes conditions
2122
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
2123
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
2124
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
2125
+ # the conditions in the version `3` policy are lost.
2126
+ # If a policy does not include any conditions, operations on that policy may
2127
+ # specify any valid version or leave the field unset.
2100
2128
  # Corresponds to the JSON property `version`
2101
2129
  # @return [Fixnum]
2102
2130
  attr_accessor :version
@@ -2951,16 +2979,18 @@ module Google
2951
2979
  class SetIamPolicyRequest
2952
2980
  include Google::Apis::Core::Hashable
2953
2981
 
2954
- # Defines an Identity and Access Management (IAM) policy. It is used to
2955
- # specify access control policies for Cloud Platform resources.
2982
+ # An Identity and Access Management (IAM) policy, which specifies access
2983
+ # controls for Google Cloud resources.
2956
2984
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
2957
2985
  # `members` to a single `role`. Members can be user accounts, service accounts,
2958
2986
  # Google groups, and domains (such as G Suite). A `role` is a named list of
2959
- # permissions (defined by IAM or configured by users). A `binding` can
2960
- # optionally specify a `condition`, which is a logic expression that further
2961
- # constrains the role binding based on attributes about the request and/or
2962
- # target resource.
2963
- # **JSON Example**
2987
+ # permissions; each `role` can be an IAM predefined role or a user-created
2988
+ # custom role.
2989
+ # Optionally, a `binding` can specify a `condition`, which is a logical
2990
+ # expression that allows access to a resource only if the expression evaluates
2991
+ # to `true`. A condition can add constraints based on attributes of the
2992
+ # request, the resource, or both.
2993
+ # **JSON example:**
2964
2994
  # `
2965
2995
  # "bindings": [
2966
2996
  # `
@@ -2978,13 +3008,15 @@ module Google
2978
3008
  # "condition": `
2979
3009
  # "title": "expirable access",
2980
3010
  # "description": "Does not grant access after Sep 2020",
2981
- # "expression": "request.time <
2982
- # timestamp('2020-10-01T00:00:00.000Z')",
3011
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
3012
+ # ",
2983
3013
  # `
2984
3014
  # `
2985
- # ]
3015
+ # ],
3016
+ # "etag": "BwWWja0YfJA=",
3017
+ # "version": 3
2986
3018
  # `
2987
- # **YAML Example**
3019
+ # **YAML example:**
2988
3020
  # bindings:
2989
3021
  # - members:
2990
3022
  # - user:mike@example.com
@@ -2999,8 +3031,10 @@ module Google
2999
3031
  # title: expirable access
3000
3032
  # description: Does not grant access after Sep 2020
3001
3033
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
3034
+ # - etag: BwWWja0YfJA=
3035
+ # - version: 3
3002
3036
  # For a description of IAM and its features, see the
3003
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
3037
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
3004
3038
  # Corresponds to the JSON property `policy`
3005
3039
  # @return [Google::Apis::RunV1::Policy]
3006
3040
  attr_accessor :policy
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/run/
27
27
  module RunV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20191115'
29
+ REVISION = '20191204'
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'