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
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/resource-manager
27
27
  module CloudresourcemanagerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20191115'
29
+ REVISION = '20191206'
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'
@@ -184,6 +184,23 @@ module Google
184
184
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
185
185
  # * `group:`emailid``: An email address that represents a Google group.
186
186
  # For example, `admins@example.com`.
187
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
188
+ # identifier) representing a user that has been recently deleted. For
189
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
190
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
191
+ # retains the role in the binding.
192
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
193
+ # unique identifier) representing a service account that has been recently
194
+ # deleted. For example,
195
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
196
+ # If the service account is undeleted, this value reverts to
197
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
198
+ # role in the binding.
199
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
200
+ # identifier) representing a Google group that has been recently
201
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
202
+ # the group is recovered, this value reverts to `group:`emailid`` and the
203
+ # recovered group retains the role in the binding.
187
204
  # * `domain:`domain``: The G Suite domain (primary) that represents all the
188
205
  # users of that domain. For example, `google.com` or `example.com`.
189
206
  # Corresponds to the JSON property `members`
@@ -560,16 +577,18 @@ module Google
560
577
  end
561
578
  end
562
579
 
563
- # Defines an Identity and Access Management (IAM) policy. It is used to
564
- # specify access control policies for Cloud Platform resources.
580
+ # An Identity and Access Management (IAM) policy, which specifies access
581
+ # controls for Google Cloud resources.
565
582
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
566
583
  # `members` to a single `role`. Members can be user accounts, service accounts,
567
584
  # Google groups, and domains (such as G Suite). A `role` is a named list of
568
- # permissions (defined by IAM or configured by users). A `binding` can
569
- # optionally specify a `condition`, which is a logic expression that further
570
- # constrains the role binding based on attributes about the request and/or
571
- # target resource.
572
- # **JSON Example**
585
+ # permissions; each `role` can be an IAM predefined role or a user-created
586
+ # custom role.
587
+ # Optionally, a `binding` can specify a `condition`, which is a logical
588
+ # expression that allows access to a resource only if the expression evaluates
589
+ # to `true`. A condition can add constraints based on attributes of the
590
+ # request, the resource, or both.
591
+ # **JSON example:**
573
592
  # `
574
593
  # "bindings": [
575
594
  # `
@@ -587,13 +606,15 @@ module Google
587
606
  # "condition": `
588
607
  # "title": "expirable access",
589
608
  # "description": "Does not grant access after Sep 2020",
590
- # "expression": "request.time <
591
- # timestamp('2020-10-01T00:00:00.000Z')",
609
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
610
+ # ",
592
611
  # `
593
612
  # `
594
- # ]
613
+ # ],
614
+ # "etag": "BwWWja0YfJA=",
615
+ # "version": 3
595
616
  # `
596
- # **YAML Example**
617
+ # **YAML example:**
597
618
  # bindings:
598
619
  # - members:
599
620
  # - user:mike@example.com
@@ -608,8 +629,10 @@ module Google
608
629
  # title: expirable access
609
630
  # description: Does not grant access after Sep 2020
610
631
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
632
+ # - etag: BwWWja0YfJA=
633
+ # - version: 3
611
634
  # For a description of IAM and its features, see the
612
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
635
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
613
636
  class Policy
614
637
  include Google::Apis::Core::Hashable
615
638
 
@@ -618,9 +641,9 @@ module Google
618
641
  # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditConfig>]
619
642
  attr_accessor :audit_configs
620
643
 
621
- # Associates a list of `members` to a `role`. Optionally may specify a
622
- # `condition` that determines when binding is in effect.
623
- # `bindings` with no members will result in an error.
644
+ # Associates a list of `members` to a `role`. Optionally, may specify a
645
+ # `condition` that determines how and when the `bindings` are applied. Each
646
+ # of the `bindings` must contain at least one member.
624
647
  # Corresponds to the JSON property `bindings`
625
648
  # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Binding>]
626
649
  attr_accessor :bindings
@@ -632,26 +655,31 @@ module Google
632
655
  # conditions: An `etag` is returned in the response to `getIamPolicy`, and
633
656
  # systems are expected to put that etag in the request to `setIamPolicy` to
634
657
  # ensure that their change will be applied to the same version of the policy.
635
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
636
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
637
- # 'setIamPolicy' will not fail even if the incoming policy version does not
638
- # meet the requirements for modifying the stored policy.
658
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
659
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
660
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
661
+ # the conditions in the version `3` policy are lost.
639
662
  # Corresponds to the JSON property `etag`
640
663
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
641
664
  # @return [String]
642
665
  attr_accessor :etag
643
666
 
644
667
  # Specifies the format of the policy.
645
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
646
- # rejected.
647
- # Operations affecting conditional bindings must specify version 3. This can
648
- # be either setting a conditional policy, modifying a conditional binding,
649
- # or removing a binding (conditional or unconditional) from the stored
650
- # conditional policy.
651
- # Operations on non-conditional policies may specify any valid value or
652
- # leave the field unset.
653
- # If no etag is provided in the call to `setIamPolicy`, version compliance
654
- # checks against the stored policy is skipped.
668
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
669
+ # are rejected.
670
+ # Any operation that affects conditional role bindings must specify version
671
+ # `3`. This requirement applies to the following operations:
672
+ # * Getting a policy that includes a conditional role binding
673
+ # * Adding a conditional role binding to a policy
674
+ # * Changing a conditional role binding in a policy
675
+ # * Removing any role binding, with or without a condition, from a policy
676
+ # that includes conditions
677
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
678
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
679
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
680
+ # the conditions in the version `3` policy are lost.
681
+ # If a policy does not include any conditions, operations on that policy may
682
+ # specify any valid version or leave the field unset.
655
683
  # Corresponds to the JSON property `version`
656
684
  # @return [Fixnum]
657
685
  attr_accessor :version
@@ -824,16 +852,18 @@ module Google
824
852
  class SetIamPolicyRequest
825
853
  include Google::Apis::Core::Hashable
826
854
 
827
- # Defines an Identity and Access Management (IAM) policy. It is used to
828
- # specify access control policies for Cloud Platform resources.
855
+ # An Identity and Access Management (IAM) policy, which specifies access
856
+ # controls for Google Cloud resources.
829
857
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
830
858
  # `members` to a single `role`. Members can be user accounts, service accounts,
831
859
  # Google groups, and domains (such as G Suite). A `role` is a named list of
832
- # permissions (defined by IAM or configured by users). A `binding` can
833
- # optionally specify a `condition`, which is a logic expression that further
834
- # constrains the role binding based on attributes about the request and/or
835
- # target resource.
836
- # **JSON Example**
860
+ # permissions; each `role` can be an IAM predefined role or a user-created
861
+ # custom role.
862
+ # Optionally, a `binding` can specify a `condition`, which is a logical
863
+ # expression that allows access to a resource only if the expression evaluates
864
+ # to `true`. A condition can add constraints based on attributes of the
865
+ # request, the resource, or both.
866
+ # **JSON example:**
837
867
  # `
838
868
  # "bindings": [
839
869
  # `
@@ -851,13 +881,15 @@ module Google
851
881
  # "condition": `
852
882
  # "title": "expirable access",
853
883
  # "description": "Does not grant access after Sep 2020",
854
- # "expression": "request.time <
855
- # timestamp('2020-10-01T00:00:00.000Z')",
884
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
885
+ # ",
856
886
  # `
857
887
  # `
858
- # ]
888
+ # ],
889
+ # "etag": "BwWWja0YfJA=",
890
+ # "version": 3
859
891
  # `
860
- # **YAML Example**
892
+ # **YAML example:**
861
893
  # bindings:
862
894
  # - members:
863
895
  # - user:mike@example.com
@@ -872,8 +904,10 @@ module Google
872
904
  # title: expirable access
873
905
  # description: Does not grant access after Sep 2020
874
906
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
907
+ # - etag: BwWWja0YfJA=
908
+ # - version: 3
875
909
  # For a description of IAM and its features, see the
876
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
910
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
877
911
  # Corresponds to the JSON property `policy`
878
912
  # @return [Google::Apis::CloudresourcemanagerV1beta1::Policy]
879
913
  attr_accessor :policy
@@ -290,7 +290,7 @@ module Google
290
290
  # (/billing/reference/rest/v1/projects/updateBillingInfo) method.
291
291
  # @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object
292
292
  # @param [Boolean] use_legacy_stack
293
- # A safety hatch to opt out of the new reliable project creation process.
293
+ # A now unused experiment opt-out option.
294
294
  # @param [String] fields
295
295
  # Selector specifying which fields to include in a partial response.
296
296
  # @param [String] quota_user
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/resource-manager
27
27
  module CloudresourcemanagerV2
28
28
  VERSION = 'V2'
29
- REVISION = '20191115'
29
+ REVISION = '20191206'
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'
@@ -162,6 +162,23 @@ module Google
162
162
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
163
163
  # * `group:`emailid``: An email address that represents a Google group.
164
164
  # For example, `admins@example.com`.
165
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
166
+ # identifier) representing a user that has been recently deleted. For
167
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
168
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
169
+ # retains the role in the binding.
170
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
171
+ # unique identifier) representing a service account that has been recently
172
+ # deleted. For example,
173
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
174
+ # If the service account is undeleted, this value reverts to
175
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
176
+ # role in the binding.
177
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
178
+ # identifier) representing a Google group that has been recently
179
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
180
+ # the group is recovered, this value reverts to `group:`emailid`` and the
181
+ # recovered group retains the role in the binding.
165
182
  # * `domain:`domain``: The G Suite domain (primary) that represents all the
166
183
  # users of that domain. For example, `google.com` or `example.com`.
167
184
  # Corresponds to the JSON property `members`
@@ -502,16 +519,18 @@ module Google
502
519
  end
503
520
  end
504
521
 
505
- # Defines an Identity and Access Management (IAM) policy. It is used to
506
- # specify access control policies for Cloud Platform resources.
522
+ # An Identity and Access Management (IAM) policy, which specifies access
523
+ # controls for Google Cloud resources.
507
524
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
508
525
  # `members` to a single `role`. Members can be user accounts, service accounts,
509
526
  # Google groups, and domains (such as G Suite). A `role` is a named list of
510
- # permissions (defined by IAM or configured by users). A `binding` can
511
- # optionally specify a `condition`, which is a logic expression that further
512
- # constrains the role binding based on attributes about the request and/or
513
- # target resource.
514
- # **JSON Example**
527
+ # permissions; each `role` can be an IAM predefined role or a user-created
528
+ # custom role.
529
+ # Optionally, a `binding` can specify a `condition`, which is a logical
530
+ # expression that allows access to a resource only if the expression evaluates
531
+ # to `true`. A condition can add constraints based on attributes of the
532
+ # request, the resource, or both.
533
+ # **JSON example:**
515
534
  # `
516
535
  # "bindings": [
517
536
  # `
@@ -529,13 +548,15 @@ module Google
529
548
  # "condition": `
530
549
  # "title": "expirable access",
531
550
  # "description": "Does not grant access after Sep 2020",
532
- # "expression": "request.time <
533
- # timestamp('2020-10-01T00:00:00.000Z')",
551
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
552
+ # ",
534
553
  # `
535
554
  # `
536
- # ]
555
+ # ],
556
+ # "etag": "BwWWja0YfJA=",
557
+ # "version": 3
537
558
  # `
538
- # **YAML Example**
559
+ # **YAML example:**
539
560
  # bindings:
540
561
  # - members:
541
562
  # - user:mike@example.com
@@ -550,8 +571,10 @@ module Google
550
571
  # title: expirable access
551
572
  # description: Does not grant access after Sep 2020
552
573
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
574
+ # - etag: BwWWja0YfJA=
575
+ # - version: 3
553
576
  # For a description of IAM and its features, see the
554
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
577
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
555
578
  class Policy
556
579
  include Google::Apis::Core::Hashable
557
580
 
@@ -560,9 +583,9 @@ module Google
560
583
  # @return [Array<Google::Apis::CloudresourcemanagerV2::AuditConfig>]
561
584
  attr_accessor :audit_configs
562
585
 
563
- # Associates a list of `members` to a `role`. Optionally may specify a
564
- # `condition` that determines when binding is in effect.
565
- # `bindings` with no members will result in an error.
586
+ # Associates a list of `members` to a `role`. Optionally, may specify a
587
+ # `condition` that determines how and when the `bindings` are applied. Each
588
+ # of the `bindings` must contain at least one member.
566
589
  # Corresponds to the JSON property `bindings`
567
590
  # @return [Array<Google::Apis::CloudresourcemanagerV2::Binding>]
568
591
  attr_accessor :bindings
@@ -574,26 +597,31 @@ module Google
574
597
  # conditions: An `etag` is returned in the response to `getIamPolicy`, and
575
598
  # systems are expected to put that etag in the request to `setIamPolicy` to
576
599
  # ensure that their change will be applied to the same version of the policy.
577
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
578
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
579
- # 'setIamPolicy' will not fail even if the incoming policy version does not
580
- # meet the requirements for modifying the stored policy.
600
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
601
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
602
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
603
+ # the conditions in the version `3` policy are lost.
581
604
  # Corresponds to the JSON property `etag`
582
605
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
583
606
  # @return [String]
584
607
  attr_accessor :etag
585
608
 
586
609
  # Specifies the format of the policy.
587
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
588
- # rejected.
589
- # Operations affecting conditional bindings must specify version 3. This can
590
- # be either setting a conditional policy, modifying a conditional binding,
591
- # or removing a binding (conditional or unconditional) from the stored
592
- # conditional policy.
593
- # Operations on non-conditional policies may specify any valid value or
594
- # leave the field unset.
595
- # If no etag is provided in the call to `setIamPolicy`, version compliance
596
- # checks against the stored policy is skipped.
610
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
611
+ # are rejected.
612
+ # Any operation that affects conditional role bindings must specify version
613
+ # `3`. This requirement applies to the following operations:
614
+ # * Getting a policy that includes a conditional role binding
615
+ # * Adding a conditional role binding to a policy
616
+ # * Changing a conditional role binding in a policy
617
+ # * Removing any role binding, with or without a condition, from a policy
618
+ # that includes conditions
619
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
620
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
621
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
622
+ # the conditions in the version `3` policy are lost.
623
+ # If a policy does not include any conditions, operations on that policy may
624
+ # specify any valid version or leave the field unset.
597
625
  # Corresponds to the JSON property `version`
598
626
  # @return [Fixnum]
599
627
  attr_accessor :version
@@ -729,16 +757,18 @@ module Google
729
757
  class SetIamPolicyRequest
730
758
  include Google::Apis::Core::Hashable
731
759
 
732
- # Defines an Identity and Access Management (IAM) policy. It is used to
733
- # specify access control policies for Cloud Platform resources.
760
+ # An Identity and Access Management (IAM) policy, which specifies access
761
+ # controls for Google Cloud resources.
734
762
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
735
763
  # `members` to a single `role`. Members can be user accounts, service accounts,
736
764
  # Google groups, and domains (such as G Suite). A `role` is a named list of
737
- # permissions (defined by IAM or configured by users). A `binding` can
738
- # optionally specify a `condition`, which is a logic expression that further
739
- # constrains the role binding based on attributes about the request and/or
740
- # target resource.
741
- # **JSON Example**
765
+ # permissions; each `role` can be an IAM predefined role or a user-created
766
+ # custom role.
767
+ # Optionally, a `binding` can specify a `condition`, which is a logical
768
+ # expression that allows access to a resource only if the expression evaluates
769
+ # to `true`. A condition can add constraints based on attributes of the
770
+ # request, the resource, or both.
771
+ # **JSON example:**
742
772
  # `
743
773
  # "bindings": [
744
774
  # `
@@ -756,13 +786,15 @@ module Google
756
786
  # "condition": `
757
787
  # "title": "expirable access",
758
788
  # "description": "Does not grant access after Sep 2020",
759
- # "expression": "request.time <
760
- # timestamp('2020-10-01T00:00:00.000Z')",
789
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
790
+ # ",
761
791
  # `
762
792
  # `
763
- # ]
793
+ # ],
794
+ # "etag": "BwWWja0YfJA=",
795
+ # "version": 3
764
796
  # `
765
- # **YAML Example**
797
+ # **YAML example:**
766
798
  # bindings:
767
799
  # - members:
768
800
  # - user:mike@example.com
@@ -777,8 +809,10 @@ module Google
777
809
  # title: expirable access
778
810
  # description: Does not grant access after Sep 2020
779
811
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
812
+ # - etag: BwWWja0YfJA=
813
+ # - version: 3
780
814
  # For a description of IAM and its features, see the
781
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
815
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
782
816
  # Corresponds to the JSON property `policy`
783
817
  # @return [Google::Apis::CloudresourcemanagerV2::Policy]
784
818
  attr_accessor :policy
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/resource-manager
27
27
  module CloudresourcemanagerV2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20191115'
29
+ REVISION = '20191206'
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'
@@ -162,6 +162,23 @@ module Google
162
162
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
163
163
  # * `group:`emailid``: An email address that represents a Google group.
164
164
  # For example, `admins@example.com`.
165
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
166
+ # identifier) representing a user that has been recently deleted. For
167
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
168
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
169
+ # retains the role in the binding.
170
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
171
+ # unique identifier) representing a service account that has been recently
172
+ # deleted. For example,
173
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
174
+ # If the service account is undeleted, this value reverts to
175
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
176
+ # role in the binding.
177
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
178
+ # identifier) representing a Google group that has been recently
179
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
180
+ # the group is recovered, this value reverts to `group:`emailid`` and the
181
+ # recovered group retains the role in the binding.
165
182
  # * `domain:`domain``: The G Suite domain (primary) that represents all the
166
183
  # users of that domain. For example, `google.com` or `example.com`.
167
184
  # Corresponds to the JSON property `members`
@@ -502,16 +519,18 @@ module Google
502
519
  end
503
520
  end
504
521
 
505
- # Defines an Identity and Access Management (IAM) policy. It is used to
506
- # specify access control policies for Cloud Platform resources.
522
+ # An Identity and Access Management (IAM) policy, which specifies access
523
+ # controls for Google Cloud resources.
507
524
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
508
525
  # `members` to a single `role`. Members can be user accounts, service accounts,
509
526
  # Google groups, and domains (such as G Suite). A `role` is a named list of
510
- # permissions (defined by IAM or configured by users). A `binding` can
511
- # optionally specify a `condition`, which is a logic expression that further
512
- # constrains the role binding based on attributes about the request and/or
513
- # target resource.
514
- # **JSON Example**
527
+ # permissions; each `role` can be an IAM predefined role or a user-created
528
+ # custom role.
529
+ # Optionally, a `binding` can specify a `condition`, which is a logical
530
+ # expression that allows access to a resource only if the expression evaluates
531
+ # to `true`. A condition can add constraints based on attributes of the
532
+ # request, the resource, or both.
533
+ # **JSON example:**
515
534
  # `
516
535
  # "bindings": [
517
536
  # `
@@ -529,13 +548,15 @@ module Google
529
548
  # "condition": `
530
549
  # "title": "expirable access",
531
550
  # "description": "Does not grant access after Sep 2020",
532
- # "expression": "request.time <
533
- # timestamp('2020-10-01T00:00:00.000Z')",
551
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
552
+ # ",
534
553
  # `
535
554
  # `
536
- # ]
555
+ # ],
556
+ # "etag": "BwWWja0YfJA=",
557
+ # "version": 3
537
558
  # `
538
- # **YAML Example**
559
+ # **YAML example:**
539
560
  # bindings:
540
561
  # - members:
541
562
  # - user:mike@example.com
@@ -550,8 +571,10 @@ module Google
550
571
  # title: expirable access
551
572
  # description: Does not grant access after Sep 2020
552
573
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
574
+ # - etag: BwWWja0YfJA=
575
+ # - version: 3
553
576
  # For a description of IAM and its features, see the
554
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
577
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
555
578
  class Policy
556
579
  include Google::Apis::Core::Hashable
557
580
 
@@ -560,9 +583,9 @@ module Google
560
583
  # @return [Array<Google::Apis::CloudresourcemanagerV2beta1::AuditConfig>]
561
584
  attr_accessor :audit_configs
562
585
 
563
- # Associates a list of `members` to a `role`. Optionally may specify a
564
- # `condition` that determines when binding is in effect.
565
- # `bindings` with no members will result in an error.
586
+ # Associates a list of `members` to a `role`. Optionally, may specify a
587
+ # `condition` that determines how and when the `bindings` are applied. Each
588
+ # of the `bindings` must contain at least one member.
566
589
  # Corresponds to the JSON property `bindings`
567
590
  # @return [Array<Google::Apis::CloudresourcemanagerV2beta1::Binding>]
568
591
  attr_accessor :bindings
@@ -574,26 +597,31 @@ module Google
574
597
  # conditions: An `etag` is returned in the response to `getIamPolicy`, and
575
598
  # systems are expected to put that etag in the request to `setIamPolicy` to
576
599
  # ensure that their change will be applied to the same version of the policy.
577
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
578
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
579
- # 'setIamPolicy' will not fail even if the incoming policy version does not
580
- # meet the requirements for modifying the stored policy.
600
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
601
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
602
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
603
+ # the conditions in the version `3` policy are lost.
581
604
  # Corresponds to the JSON property `etag`
582
605
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
583
606
  # @return [String]
584
607
  attr_accessor :etag
585
608
 
586
609
  # Specifies the format of the policy.
587
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
588
- # rejected.
589
- # Operations affecting conditional bindings must specify version 3. This can
590
- # be either setting a conditional policy, modifying a conditional binding,
591
- # or removing a binding (conditional or unconditional) from the stored
592
- # conditional policy.
593
- # Operations on non-conditional policies may specify any valid value or
594
- # leave the field unset.
595
- # If no etag is provided in the call to `setIamPolicy`, version compliance
596
- # checks against the stored policy is skipped.
610
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
611
+ # are rejected.
612
+ # Any operation that affects conditional role bindings must specify version
613
+ # `3`. This requirement applies to the following operations:
614
+ # * Getting a policy that includes a conditional role binding
615
+ # * Adding a conditional role binding to a policy
616
+ # * Changing a conditional role binding in a policy
617
+ # * Removing any role binding, with or without a condition, from a policy
618
+ # that includes conditions
619
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
620
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
621
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
622
+ # the conditions in the version `3` policy are lost.
623
+ # If a policy does not include any conditions, operations on that policy may
624
+ # specify any valid version or leave the field unset.
597
625
  # Corresponds to the JSON property `version`
598
626
  # @return [Fixnum]
599
627
  attr_accessor :version
@@ -729,16 +757,18 @@ module Google
729
757
  class SetIamPolicyRequest
730
758
  include Google::Apis::Core::Hashable
731
759
 
732
- # Defines an Identity and Access Management (IAM) policy. It is used to
733
- # specify access control policies for Cloud Platform resources.
760
+ # An Identity and Access Management (IAM) policy, which specifies access
761
+ # controls for Google Cloud resources.
734
762
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
735
763
  # `members` to a single `role`. Members can be user accounts, service accounts,
736
764
  # Google groups, and domains (such as G Suite). A `role` is a named list of
737
- # permissions (defined by IAM or configured by users). A `binding` can
738
- # optionally specify a `condition`, which is a logic expression that further
739
- # constrains the role binding based on attributes about the request and/or
740
- # target resource.
741
- # **JSON Example**
765
+ # permissions; each `role` can be an IAM predefined role or a user-created
766
+ # custom role.
767
+ # Optionally, a `binding` can specify a `condition`, which is a logical
768
+ # expression that allows access to a resource only if the expression evaluates
769
+ # to `true`. A condition can add constraints based on attributes of the
770
+ # request, the resource, or both.
771
+ # **JSON example:**
742
772
  # `
743
773
  # "bindings": [
744
774
  # `
@@ -756,13 +786,15 @@ module Google
756
786
  # "condition": `
757
787
  # "title": "expirable access",
758
788
  # "description": "Does not grant access after Sep 2020",
759
- # "expression": "request.time <
760
- # timestamp('2020-10-01T00:00:00.000Z')",
789
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
790
+ # ",
761
791
  # `
762
792
  # `
763
- # ]
793
+ # ],
794
+ # "etag": "BwWWja0YfJA=",
795
+ # "version": 3
764
796
  # `
765
- # **YAML Example**
797
+ # **YAML example:**
766
798
  # bindings:
767
799
  # - members:
768
800
  # - user:mike@example.com
@@ -777,8 +809,10 @@ module Google
777
809
  # title: expirable access
778
810
  # description: Does not grant access after Sep 2020
779
811
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
812
+ # - etag: BwWWja0YfJA=
813
+ # - version: 3
780
814
  # For a description of IAM and its features, see the
781
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
815
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
782
816
  # Corresponds to the JSON property `policy`
783
817
  # @return [Google::Apis::CloudresourcemanagerV2beta1::Policy]
784
818
  attr_accessor :policy