google-api-client 0.36.0 → 0.36.1

Sign up to get free protection for your applications and to get access to all the features.
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://developers.google.com/cloud-search/docs/guides/
27
27
  module CloudsearchV1
28
28
  VERSION = 'V1'
29
- REVISION = '20191112'
29
+ REVISION = '20191202'
30
30
 
31
31
  # Index and serve your organization's data with Cloud Search
32
32
  AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'
@@ -3254,7 +3254,7 @@ module Google
3254
3254
  # The interpretation of the query used in search. For example, queries with
3255
3255
  # natural language intent like "email from john" will be interpreted as
3256
3256
  # "from:john source:mail". This field will not be filled when the reason is
3257
- # NO_RESULTS_FOUND_FOR_USER_QUERY.
3257
+ # NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY.
3258
3258
  # Corresponds to the JSON property `interpretedQuery`
3259
3259
  # @return [String]
3260
3260
  attr_accessor :interpreted_query
@@ -4994,7 +4994,8 @@ module Google
4994
4994
  # @return [Google::Apis::CloudsearchV1::Schema]
4995
4995
  attr_accessor :schema
4996
4996
 
4997
- # If true, the request will be validated without side effects.
4997
+ # If true, the schema will be checked for validity,
4998
+ # but will not be registered with the data source, even if valid.
4998
4999
  # Corresponds to the JSON property `validateOnly`
4999
5000
  # @return [Boolean]
5000
5001
  attr_accessor :validate_only
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/tasks/
26
26
  module CloudtasksV2
27
27
  VERSION = 'V2'
28
- REVISION = '20191111'
28
+ REVISION = '20191202'
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'
@@ -138,8 +138,8 @@ module Google
138
138
  # In addition, Cloud Tasks sets some headers when the task is dispatched,
139
139
  # such as headers containing information about the task; see
140
140
  # [request
141
- # headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/
142
- # creating-handlers#reading_request_headers).
141
+ # headers](https://cloud.google.com/tasks/docs/creating-appengine-handlers#
142
+ # reading_request_headers).
143
143
  # These headers are set only when the task is dispatched, so they are not
144
144
  # visible when the task is returned in a Cloud Tasks response.
145
145
  # Although there is no specific limit for the maximum number of headers or
@@ -363,6 +363,23 @@ module Google
363
363
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
364
364
  # * `group:`emailid``: An email address that represents a Google group.
365
365
  # For example, `admins@example.com`.
366
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
367
+ # identifier) representing a user that has been recently deleted. For
368
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
369
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
370
+ # retains the role in the binding.
371
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
372
+ # unique identifier) representing a service account that has been recently
373
+ # deleted. For example,
374
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
375
+ # If the service account is undeleted, this value reverts to
376
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
377
+ # role in the binding.
378
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
379
+ # identifier) representing a Google group that has been recently
380
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
381
+ # the group is recovered, this value reverts to `group:`emailid`` and the
382
+ # recovered group retains the role in the binding.
366
383
  # * `domain:`domain``: The G Suite domain (primary) that represents all the
367
384
  # users of that domain. For example, `google.com` or `example.com`.
368
385
  # Corresponds to the JSON property `members`
@@ -533,7 +550,7 @@ module Google
533
550
  # HTTP request.
534
551
  # The task will be pushed to the worker as an HTTP request. If the worker
535
552
  # or the redirected worker acknowledges the task by returning a successful HTTP
536
- # response code ([`200` - `299`]), the task will removed from the queue. If
553
+ # response code ([`200` - `299`]), the task will be removed from the queue. If
537
554
  # any other HTTP response code is returned or no response is received, the
538
555
  # task will be retried according to the following:
539
556
  # * User-specified throttling: retry configuration,
@@ -547,7 +564,7 @@ module Google
547
564
  # `429` (Too Many Requests), `503` (Service Unavailable), or the rate of
548
565
  # errors is high, Cloud Tasks will use a higher backoff rate. The retry
549
566
  # specified in the `Retry-After` HTTP response header is considered.
550
- # * To prevent traffic spikes and to smooth sudden large traffic spikes,
567
+ # * To prevent traffic spikes and to smooth sudden increases in traffic,
551
568
  # dispatches ramp up slowly when the queue is newly created or idle and
552
569
  # if large numbers of tasks suddenly become available to dispatch (due to
553
570
  # spikes in create task rates, the queue being unpaused, or many tasks
@@ -851,16 +868,18 @@ module Google
851
868
  end
852
869
  end
853
870
 
854
- # Defines an Identity and Access Management (IAM) policy. It is used to
855
- # specify access control policies for Cloud Platform resources.
871
+ # An Identity and Access Management (IAM) policy, which specifies access
872
+ # controls for Google Cloud resources.
856
873
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
857
874
  # `members` to a single `role`. Members can be user accounts, service accounts,
858
875
  # Google groups, and domains (such as G Suite). A `role` is a named list of
859
- # permissions (defined by IAM or configured by users). A `binding` can
860
- # optionally specify a `condition`, which is a logic expression that further
861
- # constrains the role binding based on attributes about the request and/or
862
- # target resource.
863
- # **JSON Example**
876
+ # permissions; each `role` can be an IAM predefined role or a user-created
877
+ # custom role.
878
+ # Optionally, a `binding` can specify a `condition`, which is a logical
879
+ # expression that allows access to a resource only if the expression evaluates
880
+ # to `true`. A condition can add constraints based on attributes of the
881
+ # request, the resource, or both.
882
+ # **JSON example:**
864
883
  # `
865
884
  # "bindings": [
866
885
  # `
@@ -878,13 +897,15 @@ module Google
878
897
  # "condition": `
879
898
  # "title": "expirable access",
880
899
  # "description": "Does not grant access after Sep 2020",
881
- # "expression": "request.time <
882
- # timestamp('2020-10-01T00:00:00.000Z')",
900
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
901
+ # ",
883
902
  # `
884
903
  # `
885
- # ]
904
+ # ],
905
+ # "etag": "BwWWja0YfJA=",
906
+ # "version": 3
886
907
  # `
887
- # **YAML Example**
908
+ # **YAML example:**
888
909
  # bindings:
889
910
  # - members:
890
911
  # - user:mike@example.com
@@ -899,14 +920,16 @@ module Google
899
920
  # title: expirable access
900
921
  # description: Does not grant access after Sep 2020
901
922
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
923
+ # - etag: BwWWja0YfJA=
924
+ # - version: 3
902
925
  # For a description of IAM and its features, see the
903
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
926
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
904
927
  class Policy
905
928
  include Google::Apis::Core::Hashable
906
929
 
907
- # Associates a list of `members` to a `role`. Optionally may specify a
908
- # `condition` that determines when binding is in effect.
909
- # `bindings` with no members will result in an error.
930
+ # Associates a list of `members` to a `role`. Optionally, may specify a
931
+ # `condition` that determines how and when the `bindings` are applied. Each
932
+ # of the `bindings` must contain at least one member.
910
933
  # Corresponds to the JSON property `bindings`
911
934
  # @return [Array<Google::Apis::CloudtasksV2::Binding>]
912
935
  attr_accessor :bindings
@@ -918,26 +941,31 @@ module Google
918
941
  # conditions: An `etag` is returned in the response to `getIamPolicy`, and
919
942
  # systems are expected to put that etag in the request to `setIamPolicy` to
920
943
  # ensure that their change will be applied to the same version of the policy.
921
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
922
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
923
- # 'setIamPolicy' will not fail even if the incoming policy version does not
924
- # meet the requirements for modifying the stored policy.
944
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
945
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
946
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
947
+ # the conditions in the version `3` policy are lost.
925
948
  # Corresponds to the JSON property `etag`
926
949
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
927
950
  # @return [String]
928
951
  attr_accessor :etag
929
952
 
930
953
  # Specifies the format of the policy.
931
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
932
- # rejected.
933
- # Operations affecting conditional bindings must specify version 3. This can
934
- # be either setting a conditional policy, modifying a conditional binding,
935
- # or removing a binding (conditional or unconditional) from the stored
936
- # conditional policy.
937
- # Operations on non-conditional policies may specify any valid value or
938
- # leave the field unset.
939
- # If no etag is provided in the call to `setIamPolicy`, version compliance
940
- # checks against the stored policy is skipped.
954
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
955
+ # are rejected.
956
+ # Any operation that affects conditional role bindings must specify version
957
+ # `3`. This requirement applies to the following operations:
958
+ # * Getting a policy that includes a conditional role binding
959
+ # * Adding a conditional role binding to a policy
960
+ # * Changing a conditional role binding in a policy
961
+ # * Removing any role binding, with or without a condition, from a policy
962
+ # that includes conditions
963
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
964
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
965
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
966
+ # the conditions in the version `3` policy are lost.
967
+ # If a policy does not include any conditions, operations on that policy may
968
+ # specify any valid version or leave the field unset.
941
969
  # Corresponds to the JSON property `version`
942
970
  # @return [Fixnum]
943
971
  attr_accessor :version
@@ -1310,16 +1338,18 @@ module Google
1310
1338
  class SetIamPolicyRequest
1311
1339
  include Google::Apis::Core::Hashable
1312
1340
 
1313
- # Defines an Identity and Access Management (IAM) policy. It is used to
1314
- # specify access control policies for Cloud Platform resources.
1341
+ # An Identity and Access Management (IAM) policy, which specifies access
1342
+ # controls for Google Cloud resources.
1315
1343
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1316
1344
  # `members` to a single `role`. Members can be user accounts, service accounts,
1317
1345
  # Google groups, and domains (such as G Suite). A `role` is a named list of
1318
- # permissions (defined by IAM or configured by users). A `binding` can
1319
- # optionally specify a `condition`, which is a logic expression that further
1320
- # constrains the role binding based on attributes about the request and/or
1321
- # target resource.
1322
- # **JSON Example**
1346
+ # permissions; each `role` can be an IAM predefined role or a user-created
1347
+ # custom role.
1348
+ # Optionally, a `binding` can specify a `condition`, which is a logical
1349
+ # expression that allows access to a resource only if the expression evaluates
1350
+ # to `true`. A condition can add constraints based on attributes of the
1351
+ # request, the resource, or both.
1352
+ # **JSON example:**
1323
1353
  # `
1324
1354
  # "bindings": [
1325
1355
  # `
@@ -1337,13 +1367,15 @@ module Google
1337
1367
  # "condition": `
1338
1368
  # "title": "expirable access",
1339
1369
  # "description": "Does not grant access after Sep 2020",
1340
- # "expression": "request.time <
1341
- # timestamp('2020-10-01T00:00:00.000Z')",
1370
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1371
+ # ",
1342
1372
  # `
1343
1373
  # `
1344
- # ]
1374
+ # ],
1375
+ # "etag": "BwWWja0YfJA=",
1376
+ # "version": 3
1345
1377
  # `
1346
- # **YAML Example**
1378
+ # **YAML example:**
1347
1379
  # bindings:
1348
1380
  # - members:
1349
1381
  # - user:mike@example.com
@@ -1358,8 +1390,10 @@ module Google
1358
1390
  # title: expirable access
1359
1391
  # description: Does not grant access after Sep 2020
1360
1392
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1393
+ # - etag: BwWWja0YfJA=
1394
+ # - version: 3
1361
1395
  # For a description of IAM and its features, see the
1362
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
1396
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1363
1397
  # Corresponds to the JSON property `policy`
1364
1398
  # @return [Google::Apis::CloudtasksV2::Policy]
1365
1399
  attr_accessor :policy
@@ -1526,7 +1560,7 @@ module Google
1526
1560
  # HTTP request.
1527
1561
  # The task will be pushed to the worker as an HTTP request. If the worker
1528
1562
  # or the redirected worker acknowledges the task by returning a successful HTTP
1529
- # response code ([`200` - `299`]), the task will removed from the queue. If
1563
+ # response code ([`200` - `299`]), the task will be removed from the queue. If
1530
1564
  # any other HTTP response code is returned or no response is received, the
1531
1565
  # task will be retried according to the following:
1532
1566
  # * User-specified throttling: retry configuration,
@@ -1540,7 +1574,7 @@ module Google
1540
1574
  # `429` (Too Many Requests), `503` (Service Unavailable), or the rate of
1541
1575
  # errors is high, Cloud Tasks will use a higher backoff rate. The retry
1542
1576
  # specified in the `Retry-After` HTTP response header is considered.
1543
- # * To prevent traffic spikes and to smooth sudden large traffic spikes,
1577
+ # * To prevent traffic spikes and to smooth sudden increases in traffic,
1544
1578
  # dispatches ramp up slowly when the queue is newly created or idle and
1545
1579
  # if large numbers of tasks suddenly become available to dispatch (due to
1546
1580
  # spikes in create task rates, the queue being unpaused, or many tasks
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/tasks/
26
26
  module CloudtasksV2beta2
27
27
  VERSION = 'V2beta2'
28
- REVISION = '20191111'
28
+ REVISION = '20191202'
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'
@@ -460,6 +460,23 @@ module Google
460
460
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
461
461
  # * `group:`emailid``: An email address that represents a Google group.
462
462
  # For example, `admins@example.com`.
463
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
464
+ # identifier) representing a user that has been recently deleted. For
465
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
466
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
467
+ # retains the role in the binding.
468
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
469
+ # unique identifier) representing a service account that has been recently
470
+ # deleted. For example,
471
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
472
+ # If the service account is undeleted, this value reverts to
473
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
474
+ # role in the binding.
475
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
476
+ # identifier) representing a Google group that has been recently
477
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
478
+ # the group is recovered, this value reverts to `group:`emailid`` and the
479
+ # recovered group retains the role in the binding.
463
480
  # * `domain:`domain``: The G Suite domain (primary) that represents all the
464
481
  # users of that domain. For example, `google.com` or `example.com`.
465
482
  # Corresponds to the JSON property `members`
@@ -916,16 +933,18 @@ module Google
916
933
  end
917
934
  end
918
935
 
919
- # Defines an Identity and Access Management (IAM) policy. It is used to
920
- # specify access control policies for Cloud Platform resources.
936
+ # An Identity and Access Management (IAM) policy, which specifies access
937
+ # controls for Google Cloud resources.
921
938
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
922
939
  # `members` to a single `role`. Members can be user accounts, service accounts,
923
940
  # Google groups, and domains (such as G Suite). A `role` is a named list of
924
- # permissions (defined by IAM or configured by users). A `binding` can
925
- # optionally specify a `condition`, which is a logic expression that further
926
- # constrains the role binding based on attributes about the request and/or
927
- # target resource.
928
- # **JSON Example**
941
+ # permissions; each `role` can be an IAM predefined role or a user-created
942
+ # custom role.
943
+ # Optionally, a `binding` can specify a `condition`, which is a logical
944
+ # expression that allows access to a resource only if the expression evaluates
945
+ # to `true`. A condition can add constraints based on attributes of the
946
+ # request, the resource, or both.
947
+ # **JSON example:**
929
948
  # `
930
949
  # "bindings": [
931
950
  # `
@@ -943,13 +962,15 @@ module Google
943
962
  # "condition": `
944
963
  # "title": "expirable access",
945
964
  # "description": "Does not grant access after Sep 2020",
946
- # "expression": "request.time <
947
- # timestamp('2020-10-01T00:00:00.000Z')",
965
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
966
+ # ",
948
967
  # `
949
968
  # `
950
- # ]
969
+ # ],
970
+ # "etag": "BwWWja0YfJA=",
971
+ # "version": 3
951
972
  # `
952
- # **YAML Example**
973
+ # **YAML example:**
953
974
  # bindings:
954
975
  # - members:
955
976
  # - user:mike@example.com
@@ -964,14 +985,16 @@ module Google
964
985
  # title: expirable access
965
986
  # description: Does not grant access after Sep 2020
966
987
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
988
+ # - etag: BwWWja0YfJA=
989
+ # - version: 3
967
990
  # For a description of IAM and its features, see the
968
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
991
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
969
992
  class Policy
970
993
  include Google::Apis::Core::Hashable
971
994
 
972
- # Associates a list of `members` to a `role`. Optionally may specify a
973
- # `condition` that determines when binding is in effect.
974
- # `bindings` with no members will result in an error.
995
+ # Associates a list of `members` to a `role`. Optionally, may specify a
996
+ # `condition` that determines how and when the `bindings` are applied. Each
997
+ # of the `bindings` must contain at least one member.
975
998
  # Corresponds to the JSON property `bindings`
976
999
  # @return [Array<Google::Apis::CloudtasksV2beta2::Binding>]
977
1000
  attr_accessor :bindings
@@ -983,26 +1006,31 @@ module Google
983
1006
  # conditions: An `etag` is returned in the response to `getIamPolicy`, and
984
1007
  # systems are expected to put that etag in the request to `setIamPolicy` to
985
1008
  # ensure that their change will be applied to the same version of the policy.
986
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
987
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
988
- # 'setIamPolicy' will not fail even if the incoming policy version does not
989
- # meet the requirements for modifying the stored policy.
1009
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
1010
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1011
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
1012
+ # the conditions in the version `3` policy are lost.
990
1013
  # Corresponds to the JSON property `etag`
991
1014
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
992
1015
  # @return [String]
993
1016
  attr_accessor :etag
994
1017
 
995
1018
  # Specifies the format of the policy.
996
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
997
- # rejected.
998
- # Operations affecting conditional bindings must specify version 3. This can
999
- # be either setting a conditional policy, modifying a conditional binding,
1000
- # or removing a binding (conditional or unconditional) from the stored
1001
- # conditional policy.
1002
- # Operations on non-conditional policies may specify any valid value or
1003
- # leave the field unset.
1004
- # If no etag is provided in the call to `setIamPolicy`, version compliance
1005
- # checks against the stored policy is skipped.
1019
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
1020
+ # are rejected.
1021
+ # Any operation that affects conditional role bindings must specify version
1022
+ # `3`. This requirement applies to the following operations:
1023
+ # * Getting a policy that includes a conditional role binding
1024
+ # * Adding a conditional role binding to a policy
1025
+ # * Changing a conditional role binding in a policy
1026
+ # * Removing any role binding, with or without a condition, from a policy
1027
+ # that includes conditions
1028
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
1029
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1030
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
1031
+ # the conditions in the version `3` policy are lost.
1032
+ # If a policy does not include any conditions, operations on that policy may
1033
+ # specify any valid version or leave the field unset.
1006
1034
  # Corresponds to the JSON property `version`
1007
1035
  # @return [Fixnum]
1008
1036
  attr_accessor :version
@@ -1485,16 +1513,18 @@ module Google
1485
1513
  class SetIamPolicyRequest
1486
1514
  include Google::Apis::Core::Hashable
1487
1515
 
1488
- # Defines an Identity and Access Management (IAM) policy. It is used to
1489
- # specify access control policies for Cloud Platform resources.
1516
+ # An Identity and Access Management (IAM) policy, which specifies access
1517
+ # controls for Google Cloud resources.
1490
1518
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1491
1519
  # `members` to a single `role`. Members can be user accounts, service accounts,
1492
1520
  # Google groups, and domains (such as G Suite). A `role` is a named list of
1493
- # permissions (defined by IAM or configured by users). A `binding` can
1494
- # optionally specify a `condition`, which is a logic expression that further
1495
- # constrains the role binding based on attributes about the request and/or
1496
- # target resource.
1497
- # **JSON Example**
1521
+ # permissions; each `role` can be an IAM predefined role or a user-created
1522
+ # custom role.
1523
+ # Optionally, a `binding` can specify a `condition`, which is a logical
1524
+ # expression that allows access to a resource only if the expression evaluates
1525
+ # to `true`. A condition can add constraints based on attributes of the
1526
+ # request, the resource, or both.
1527
+ # **JSON example:**
1498
1528
  # `
1499
1529
  # "bindings": [
1500
1530
  # `
@@ -1512,13 +1542,15 @@ module Google
1512
1542
  # "condition": `
1513
1543
  # "title": "expirable access",
1514
1544
  # "description": "Does not grant access after Sep 2020",
1515
- # "expression": "request.time <
1516
- # timestamp('2020-10-01T00:00:00.000Z')",
1545
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1546
+ # ",
1517
1547
  # `
1518
1548
  # `
1519
- # ]
1549
+ # ],
1550
+ # "etag": "BwWWja0YfJA=",
1551
+ # "version": 3
1520
1552
  # `
1521
- # **YAML Example**
1553
+ # **YAML example:**
1522
1554
  # bindings:
1523
1555
  # - members:
1524
1556
  # - user:mike@example.com
@@ -1533,8 +1565,10 @@ module Google
1533
1565
  # title: expirable access
1534
1566
  # description: Does not grant access after Sep 2020
1535
1567
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1568
+ # - etag: BwWWja0YfJA=
1569
+ # - version: 3
1536
1570
  # For a description of IAM and its features, see the
1537
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
1571
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1538
1572
  # Corresponds to the JSON property `policy`
1539
1573
  # @return [Google::Apis::CloudtasksV2beta2::Policy]
1540
1574
  attr_accessor :policy