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/cloud-build/docs/
26
26
  module CloudbuildV1
27
27
  VERSION = 'V1'
28
- REVISION = '20191109'
28
+ REVISION = '20191207'
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'
@@ -408,9 +408,9 @@ module Google
408
408
  # @return [Array<Google::Apis::CloudbuildV1::Volume>]
409
409
  attr_accessor :volumes
410
410
 
411
- # Option to specify a `WorkerPool` for the build. User specifies the pool
412
- # with the format "[WORKERPOOL_PROJECT_ID]/[WORKERPOOL_NAME]".
413
- # This is an experimental field.
411
+ # Option to specify a `WorkerPool` for the build.
412
+ # Format: projects/`project`/workerPools/`workerPool`
413
+ # This field is experimental.
414
414
  # Corresponds to the JSON property `workerPool`
415
415
  # @return [String]
416
416
  attr_accessor :worker_pool
@@ -649,7 +649,11 @@ module Google
649
649
  # @return [Array<String>]
650
650
  attr_accessor :included_files
651
651
 
652
- # User assigned name of the trigger. Must be unique within the project.
652
+ # User-assigned name of the trigger. Must be unique within the project.
653
+ # Trigger names must meet the following requirements:
654
+ # + They must contain only alphanumeric characters and dashes.
655
+ # + They can be 1-64 characters long.
656
+ # + They must begin and end with an alphanumeric character.
653
657
  # Corresponds to the JSON property `name`
654
658
  # @return [String]
655
659
  attr_accessor :name
@@ -1014,7 +1018,7 @@ module Google
1014
1018
  # @return [String]
1015
1019
  attr_accessor :branch
1016
1020
 
1017
- # Whether to block builds on a "/gcbrun" comment from a repository owner or
1021
+ # Whether to block builds on a "/gcbrun" comment from a repository admin or
1018
1022
  # collaborator.
1019
1023
  # Corresponds to the JSON property `commentControl`
1020
1024
  # @return [String]
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/functions
26
26
  module CloudfunctionsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20191112'
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'
@@ -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`
@@ -928,16 +945,18 @@ module Google
928
945
  end
929
946
  end
930
947
 
931
- # Defines an Identity and Access Management (IAM) policy. It is used to
932
- # specify access control policies for Cloud Platform resources.
948
+ # An Identity and Access Management (IAM) policy, which specifies access
949
+ # controls for Google Cloud resources.
933
950
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
934
951
  # `members` to a single `role`. Members can be user accounts, service accounts,
935
952
  # Google groups, and domains (such as G Suite). A `role` is a named list of
936
- # permissions (defined by IAM or configured by users). A `binding` can
937
- # optionally specify a `condition`, which is a logic expression that further
938
- # constrains the role binding based on attributes about the request and/or
939
- # target resource.
940
- # **JSON Example**
953
+ # permissions; each `role` can be an IAM predefined role or a user-created
954
+ # custom role.
955
+ # Optionally, a `binding` can specify a `condition`, which is a logical
956
+ # expression that allows access to a resource only if the expression evaluates
957
+ # to `true`. A condition can add constraints based on attributes of the
958
+ # request, the resource, or both.
959
+ # **JSON example:**
941
960
  # `
942
961
  # "bindings": [
943
962
  # `
@@ -955,13 +974,15 @@ module Google
955
974
  # "condition": `
956
975
  # "title": "expirable access",
957
976
  # "description": "Does not grant access after Sep 2020",
958
- # "expression": "request.time <
959
- # timestamp('2020-10-01T00:00:00.000Z')",
977
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
978
+ # ",
960
979
  # `
961
980
  # `
962
- # ]
981
+ # ],
982
+ # "etag": "BwWWja0YfJA=",
983
+ # "version": 3
963
984
  # `
964
- # **YAML Example**
985
+ # **YAML example:**
965
986
  # bindings:
966
987
  # - members:
967
988
  # - user:mike@example.com
@@ -976,8 +997,10 @@ module Google
976
997
  # title: expirable access
977
998
  # description: Does not grant access after Sep 2020
978
999
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1000
+ # - etag: BwWWja0YfJA=
1001
+ # - version: 3
979
1002
  # For a description of IAM and its features, see the
980
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
1003
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
981
1004
  class Policy
982
1005
  include Google::Apis::Core::Hashable
983
1006
 
@@ -986,9 +1009,9 @@ module Google
986
1009
  # @return [Array<Google::Apis::CloudfunctionsV1::AuditConfig>]
987
1010
  attr_accessor :audit_configs
988
1011
 
989
- # Associates a list of `members` to a `role`. Optionally may specify a
990
- # `condition` that determines when binding is in effect.
991
- # `bindings` with no members will result in an error.
1012
+ # Associates a list of `members` to a `role`. Optionally, may specify a
1013
+ # `condition` that determines how and when the `bindings` are applied. Each
1014
+ # of the `bindings` must contain at least one member.
992
1015
  # Corresponds to the JSON property `bindings`
993
1016
  # @return [Array<Google::Apis::CloudfunctionsV1::Binding>]
994
1017
  attr_accessor :bindings
@@ -1000,26 +1023,31 @@ module Google
1000
1023
  # conditions: An `etag` is returned in the response to `getIamPolicy`, and
1001
1024
  # systems are expected to put that etag in the request to `setIamPolicy` to
1002
1025
  # ensure that their change will be applied to the same version of the policy.
1003
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
1004
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
1005
- # 'setIamPolicy' will not fail even if the incoming policy version does not
1006
- # meet the requirements for modifying the stored policy.
1026
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
1027
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1028
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
1029
+ # the conditions in the version `3` policy are lost.
1007
1030
  # Corresponds to the JSON property `etag`
1008
1031
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1009
1032
  # @return [String]
1010
1033
  attr_accessor :etag
1011
1034
 
1012
1035
  # Specifies the format of the policy.
1013
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1014
- # rejected.
1015
- # Operations affecting conditional bindings must specify version 3. This can
1016
- # be either setting a conditional policy, modifying a conditional binding,
1017
- # or removing a binding (conditional or unconditional) from the stored
1018
- # conditional policy.
1019
- # Operations on non-conditional policies may specify any valid value or
1020
- # leave the field unset.
1021
- # If no etag is provided in the call to `setIamPolicy`, version compliance
1022
- # checks against the stored policy is skipped.
1036
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
1037
+ # are rejected.
1038
+ # Any operation that affects conditional role bindings must specify version
1039
+ # `3`. This requirement applies to the following operations:
1040
+ # * Getting a policy that includes a conditional role binding
1041
+ # * Adding a conditional role binding to a policy
1042
+ # * Changing a conditional role binding in a policy
1043
+ # * Removing any role binding, with or without a condition, from a policy
1044
+ # that includes conditions
1045
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
1046
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1047
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
1048
+ # the conditions in the version `3` policy are lost.
1049
+ # If a policy does not include any conditions, operations on that policy may
1050
+ # specify any valid version or leave the field unset.
1023
1051
  # Corresponds to the JSON property `version`
1024
1052
  # @return [Fixnum]
1025
1053
  attr_accessor :version
@@ -1058,16 +1086,18 @@ module Google
1058
1086
  class SetIamPolicyRequest
1059
1087
  include Google::Apis::Core::Hashable
1060
1088
 
1061
- # Defines an Identity and Access Management (IAM) policy. It is used to
1062
- # specify access control policies for Cloud Platform resources.
1089
+ # An Identity and Access Management (IAM) policy, which specifies access
1090
+ # controls for Google Cloud resources.
1063
1091
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1064
1092
  # `members` to a single `role`. Members can be user accounts, service accounts,
1065
1093
  # Google groups, and domains (such as G Suite). A `role` is a named list of
1066
- # permissions (defined by IAM or configured by users). A `binding` can
1067
- # optionally specify a `condition`, which is a logic expression that further
1068
- # constrains the role binding based on attributes about the request and/or
1069
- # target resource.
1070
- # **JSON Example**
1094
+ # permissions; each `role` can be an IAM predefined role or a user-created
1095
+ # custom role.
1096
+ # Optionally, a `binding` can specify a `condition`, which is a logical
1097
+ # expression that allows access to a resource only if the expression evaluates
1098
+ # to `true`. A condition can add constraints based on attributes of the
1099
+ # request, the resource, or both.
1100
+ # **JSON example:**
1071
1101
  # `
1072
1102
  # "bindings": [
1073
1103
  # `
@@ -1085,13 +1115,15 @@ module Google
1085
1115
  # "condition": `
1086
1116
  # "title": "expirable access",
1087
1117
  # "description": "Does not grant access after Sep 2020",
1088
- # "expression": "request.time <
1089
- # timestamp('2020-10-01T00:00:00.000Z')",
1118
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1119
+ # ",
1090
1120
  # `
1091
1121
  # `
1092
- # ]
1122
+ # ],
1123
+ # "etag": "BwWWja0YfJA=",
1124
+ # "version": 3
1093
1125
  # `
1094
- # **YAML Example**
1126
+ # **YAML example:**
1095
1127
  # bindings:
1096
1128
  # - members:
1097
1129
  # - user:mike@example.com
@@ -1106,8 +1138,10 @@ module Google
1106
1138
  # title: expirable access
1107
1139
  # description: Does not grant access after Sep 2020
1108
1140
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1141
+ # - etag: BwWWja0YfJA=
1142
+ # - version: 3
1109
1143
  # For a description of IAM and its features, see the
1110
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
1144
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1111
1145
  # Corresponds to the JSON property `policy`
1112
1146
  # @return [Google::Apis::CloudfunctionsV1::Policy]
1113
1147
  attr_accessor :policy
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/iot
27
27
  module CloudiotV1
28
28
  VERSION = 'V1'
29
- REVISION = '20191112'
29
+ REVISION = '20191203'
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'
@@ -87,6 +87,23 @@ module Google
87
87
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
88
88
  # * `group:`emailid``: An email address that represents a Google group.
89
89
  # For example, `admins@example.com`.
90
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
91
+ # identifier) representing a user that has been recently deleted. For
92
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
93
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
94
+ # retains the role in the binding.
95
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
96
+ # unique identifier) representing a service account that has been recently
97
+ # deleted. For example,
98
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
99
+ # If the service account is undeleted, this value reverts to
100
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
101
+ # role in the binding.
102
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
103
+ # identifier) representing a Google group that has been recently
104
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
105
+ # the group is recovered, this value reverts to `group:`emailid`` and the
106
+ # recovered group retains the role in the binding.
90
107
  # * `domain:`domain``: The G Suite domain (primary) that represents all the
91
108
  # users of that domain. For example, `google.com` or `example.com`.
92
109
  # Corresponds to the JSON property `members`
@@ -793,16 +810,18 @@ module Google
793
810
  end
794
811
  end
795
812
 
796
- # Defines an Identity and Access Management (IAM) policy. It is used to
797
- # specify access control policies for Cloud Platform resources.
813
+ # An Identity and Access Management (IAM) policy, which specifies access
814
+ # controls for Google Cloud resources.
798
815
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
799
816
  # `members` to a single `role`. Members can be user accounts, service accounts,
800
817
  # Google groups, and domains (such as G Suite). A `role` is a named list of
801
- # permissions (defined by IAM or configured by users). A `binding` can
802
- # optionally specify a `condition`, which is a logic expression that further
803
- # constrains the role binding based on attributes about the request and/or
804
- # target resource.
805
- # **JSON Example**
818
+ # permissions; each `role` can be an IAM predefined role or a user-created
819
+ # custom role.
820
+ # Optionally, a `binding` can specify a `condition`, which is a logical
821
+ # expression that allows access to a resource only if the expression evaluates
822
+ # to `true`. A condition can add constraints based on attributes of the
823
+ # request, the resource, or both.
824
+ # **JSON example:**
806
825
  # `
807
826
  # "bindings": [
808
827
  # `
@@ -820,13 +839,15 @@ module Google
820
839
  # "condition": `
821
840
  # "title": "expirable access",
822
841
  # "description": "Does not grant access after Sep 2020",
823
- # "expression": "request.time <
824
- # timestamp('2020-10-01T00:00:00.000Z')",
842
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
843
+ # ",
825
844
  # `
826
845
  # `
827
- # ]
846
+ # ],
847
+ # "etag": "BwWWja0YfJA=",
848
+ # "version": 3
828
849
  # `
829
- # **YAML Example**
850
+ # **YAML example:**
830
851
  # bindings:
831
852
  # - members:
832
853
  # - user:mike@example.com
@@ -841,14 +862,16 @@ module Google
841
862
  # title: expirable access
842
863
  # description: Does not grant access after Sep 2020
843
864
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
865
+ # - etag: BwWWja0YfJA=
866
+ # - version: 3
844
867
  # For a description of IAM and its features, see the
845
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
868
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
846
869
  class Policy
847
870
  include Google::Apis::Core::Hashable
848
871
 
849
- # Associates a list of `members` to a `role`. Optionally may specify a
850
- # `condition` that determines when binding is in effect.
851
- # `bindings` with no members will result in an error.
872
+ # Associates a list of `members` to a `role`. Optionally, may specify a
873
+ # `condition` that determines how and when the `bindings` are applied. Each
874
+ # of the `bindings` must contain at least one member.
852
875
  # Corresponds to the JSON property `bindings`
853
876
  # @return [Array<Google::Apis::CloudiotV1::Binding>]
854
877
  attr_accessor :bindings
@@ -860,26 +883,31 @@ module Google
860
883
  # conditions: An `etag` is returned in the response to `getIamPolicy`, and
861
884
  # systems are expected to put that etag in the request to `setIamPolicy` to
862
885
  # ensure that their change will be applied to the same version of the policy.
863
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
864
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
865
- # 'setIamPolicy' will not fail even if the incoming policy version does not
866
- # meet the requirements for modifying the stored policy.
886
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
887
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
888
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
889
+ # the conditions in the version `3` policy are lost.
867
890
  # Corresponds to the JSON property `etag`
868
891
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
869
892
  # @return [String]
870
893
  attr_accessor :etag
871
894
 
872
895
  # Specifies the format of the policy.
873
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
874
- # rejected.
875
- # Operations affecting conditional bindings must specify version 3. This can
876
- # be either setting a conditional policy, modifying a conditional binding,
877
- # or removing a binding (conditional or unconditional) from the stored
878
- # conditional policy.
879
- # Operations on non-conditional policies may specify any valid value or
880
- # leave the field unset.
881
- # If no etag is provided in the call to `setIamPolicy`, version compliance
882
- # checks against the stored policy is skipped.
896
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
897
+ # are rejected.
898
+ # Any operation that affects conditional role bindings must specify version
899
+ # `3`. This requirement applies to the following operations:
900
+ # * Getting a policy that includes a conditional role binding
901
+ # * Adding a conditional role binding to a policy
902
+ # * Changing a conditional role binding in a policy
903
+ # * Removing any role binding, with or without a condition, from a policy
904
+ # that includes conditions
905
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
906
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
907
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
908
+ # the conditions in the version `3` policy are lost.
909
+ # If a policy does not include any conditions, operations on that policy may
910
+ # specify any valid version or leave the field unset.
883
911
  # Corresponds to the JSON property `version`
884
912
  # @return [Fixnum]
885
913
  attr_accessor :version
@@ -1018,16 +1046,18 @@ module Google
1018
1046
  class SetIamPolicyRequest
1019
1047
  include Google::Apis::Core::Hashable
1020
1048
 
1021
- # Defines an Identity and Access Management (IAM) policy. It is used to
1022
- # specify access control policies for Cloud Platform resources.
1049
+ # An Identity and Access Management (IAM) policy, which specifies access
1050
+ # controls for Google Cloud resources.
1023
1051
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1024
1052
  # `members` to a single `role`. Members can be user accounts, service accounts,
1025
1053
  # Google groups, and domains (such as G Suite). A `role` is a named list of
1026
- # permissions (defined by IAM or configured by users). A `binding` can
1027
- # optionally specify a `condition`, which is a logic expression that further
1028
- # constrains the role binding based on attributes about the request and/or
1029
- # target resource.
1030
- # **JSON Example**
1054
+ # permissions; each `role` can be an IAM predefined role or a user-created
1055
+ # custom role.
1056
+ # Optionally, a `binding` can specify a `condition`, which is a logical
1057
+ # expression that allows access to a resource only if the expression evaluates
1058
+ # to `true`. A condition can add constraints based on attributes of the
1059
+ # request, the resource, or both.
1060
+ # **JSON example:**
1031
1061
  # `
1032
1062
  # "bindings": [
1033
1063
  # `
@@ -1045,13 +1075,15 @@ module Google
1045
1075
  # "condition": `
1046
1076
  # "title": "expirable access",
1047
1077
  # "description": "Does not grant access after Sep 2020",
1048
- # "expression": "request.time <
1049
- # timestamp('2020-10-01T00:00:00.000Z')",
1078
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1079
+ # ",
1050
1080
  # `
1051
1081
  # `
1052
- # ]
1082
+ # ],
1083
+ # "etag": "BwWWja0YfJA=",
1084
+ # "version": 3
1053
1085
  # `
1054
- # **YAML Example**
1086
+ # **YAML example:**
1055
1087
  # bindings:
1056
1088
  # - members:
1057
1089
  # - user:mike@example.com
@@ -1066,8 +1098,10 @@ module Google
1066
1098
  # title: expirable access
1067
1099
  # description: Does not grant access after Sep 2020
1068
1100
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1101
+ # - etag: BwWWja0YfJA=
1102
+ # - version: 3
1069
1103
  # For a description of IAM and its features, see the
1070
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
1104
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1071
1105
  # Corresponds to the JSON property `policy`
1072
1106
  # @return [Google::Apis::CloudiotV1::Policy]
1073
1107
  attr_accessor :policy