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/tasks/
26
26
  module CloudtasksV2beta3
27
27
  VERSION = 'V2beta3'
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'
@@ -177,8 +177,8 @@ module Google
177
177
  # In addition, Cloud Tasks sets some headers when the task is dispatched,
178
178
  # such as headers containing information about the task; see
179
179
  # [request
180
- # headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/
181
- # creating-handlers#reading_request_headers).
180
+ # headers](https://cloud.google.com/tasks/docs/creating-appengine-handlers#
181
+ # reading_request_headers).
182
182
  # These headers are set only when the task is dispatched, so they are not
183
183
  # visible when the task is returned in a Cloud Tasks response.
184
184
  # Although there is no specific limit for the maximum number of headers or
@@ -396,6 +396,23 @@ module Google
396
396
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
397
397
  # * `group:`emailid``: An email address that represents a Google group.
398
398
  # For example, `admins@example.com`.
399
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
400
+ # identifier) representing a user that has been recently deleted. For
401
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
402
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
403
+ # retains the role in the binding.
404
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
405
+ # unique identifier) representing a service account that has been recently
406
+ # deleted. For example,
407
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
408
+ # If the service account is undeleted, this value reverts to
409
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
410
+ # role in the binding.
411
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
412
+ # identifier) representing a Google group that has been recently
413
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
414
+ # the group is recovered, this value reverts to `group:`emailid`` and the
415
+ # recovered group retains the role in the binding.
399
416
  # * `domain:`domain``: The G Suite domain (primary) that represents all the
400
417
  # users of that domain. For example, `google.com` or `example.com`.
401
418
  # Corresponds to the JSON property `members`
@@ -566,7 +583,7 @@ module Google
566
583
  # HTTP request.
567
584
  # The task will be pushed to the worker as an HTTP request. If the worker
568
585
  # or the redirected worker acknowledges the task by returning a successful HTTP
569
- # response code ([`200` - `299`]), the task will removed from the queue. If
586
+ # response code ([`200` - `299`]), the task will be removed from the queue. If
570
587
  # any other HTTP response code is returned or no response is received, the
571
588
  # task will be retried according to the following:
572
589
  # * User-specified throttling: retry configuration,
@@ -580,7 +597,7 @@ module Google
580
597
  # `429` (Too Many Requests), `503` (Service Unavailable), or the rate of
581
598
  # errors is high, Cloud Tasks will use a higher backoff rate. The retry
582
599
  # specified in the `Retry-After` HTTP response header is considered.
583
- # * To prevent traffic spikes and to smooth sudden large traffic spikes,
600
+ # * To prevent traffic spikes and to smooth sudden increases in traffic,
584
601
  # dispatches ramp up slowly when the queue is newly created or idle and
585
602
  # if large numbers of tasks suddenly become available to dispatch (due to
586
603
  # spikes in create task rates, the queue being unpaused, or many tasks
@@ -884,16 +901,18 @@ module Google
884
901
  end
885
902
  end
886
903
 
887
- # Defines an Identity and Access Management (IAM) policy. It is used to
888
- # specify access control policies for Cloud Platform resources.
904
+ # An Identity and Access Management (IAM) policy, which specifies access
905
+ # controls for Google Cloud resources.
889
906
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
890
907
  # `members` to a single `role`. Members can be user accounts, service accounts,
891
908
  # Google groups, and domains (such as G Suite). A `role` is a named list of
892
- # permissions (defined by IAM or configured by users). A `binding` can
893
- # optionally specify a `condition`, which is a logic expression that further
894
- # constrains the role binding based on attributes about the request and/or
895
- # target resource.
896
- # **JSON Example**
909
+ # permissions; each `role` can be an IAM predefined role or a user-created
910
+ # custom role.
911
+ # Optionally, a `binding` can specify a `condition`, which is a logical
912
+ # expression that allows access to a resource only if the expression evaluates
913
+ # to `true`. A condition can add constraints based on attributes of the
914
+ # request, the resource, or both.
915
+ # **JSON example:**
897
916
  # `
898
917
  # "bindings": [
899
918
  # `
@@ -911,13 +930,15 @@ module Google
911
930
  # "condition": `
912
931
  # "title": "expirable access",
913
932
  # "description": "Does not grant access after Sep 2020",
914
- # "expression": "request.time <
915
- # timestamp('2020-10-01T00:00:00.000Z')",
933
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
934
+ # ",
916
935
  # `
917
936
  # `
918
- # ]
937
+ # ],
938
+ # "etag": "BwWWja0YfJA=",
939
+ # "version": 3
919
940
  # `
920
- # **YAML Example**
941
+ # **YAML example:**
921
942
  # bindings:
922
943
  # - members:
923
944
  # - user:mike@example.com
@@ -932,14 +953,16 @@ module Google
932
953
  # title: expirable access
933
954
  # description: Does not grant access after Sep 2020
934
955
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
956
+ # - etag: BwWWja0YfJA=
957
+ # - version: 3
935
958
  # For a description of IAM and its features, see the
936
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
959
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
937
960
  class Policy
938
961
  include Google::Apis::Core::Hashable
939
962
 
940
- # Associates a list of `members` to a `role`. Optionally may specify a
941
- # `condition` that determines when binding is in effect.
942
- # `bindings` with no members will result in an error.
963
+ # Associates a list of `members` to a `role`. Optionally, may specify a
964
+ # `condition` that determines how and when the `bindings` are applied. Each
965
+ # of the `bindings` must contain at least one member.
943
966
  # Corresponds to the JSON property `bindings`
944
967
  # @return [Array<Google::Apis::CloudtasksV2beta3::Binding>]
945
968
  attr_accessor :bindings
@@ -951,26 +974,31 @@ module Google
951
974
  # conditions: An `etag` is returned in the response to `getIamPolicy`, and
952
975
  # systems are expected to put that etag in the request to `setIamPolicy` to
953
976
  # ensure that their change will be applied to the same version of the policy.
954
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
955
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
956
- # 'setIamPolicy' will not fail even if the incoming policy version does not
957
- # meet the requirements for modifying the stored policy.
977
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
978
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
979
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
980
+ # the conditions in the version `3` policy are lost.
958
981
  # Corresponds to the JSON property `etag`
959
982
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
960
983
  # @return [String]
961
984
  attr_accessor :etag
962
985
 
963
986
  # Specifies the format of the policy.
964
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
965
- # rejected.
966
- # Operations affecting conditional bindings must specify version 3. This can
967
- # be either setting a conditional policy, modifying a conditional binding,
968
- # or removing a binding (conditional or unconditional) from the stored
969
- # conditional policy.
970
- # Operations on non-conditional policies may specify any valid value or
971
- # leave the field unset.
972
- # If no etag is provided in the call to `setIamPolicy`, version compliance
973
- # checks against the stored policy is skipped.
987
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
988
+ # are rejected.
989
+ # Any operation that affects conditional role bindings must specify version
990
+ # `3`. This requirement applies to the following operations:
991
+ # * Getting a policy that includes a conditional role binding
992
+ # * Adding a conditional role binding to a policy
993
+ # * Changing a conditional role binding in a policy
994
+ # * Removing any role binding, with or without a condition, from a policy
995
+ # that includes conditions
996
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
997
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
998
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
999
+ # the conditions in the version `3` policy are lost.
1000
+ # If a policy does not include any conditions, operations on that policy may
1001
+ # specify any valid version or leave the field unset.
974
1002
  # Corresponds to the JSON property `version`
975
1003
  # @return [Fixnum]
976
1004
  attr_accessor :version
@@ -1340,16 +1368,18 @@ module Google
1340
1368
  class SetIamPolicyRequest
1341
1369
  include Google::Apis::Core::Hashable
1342
1370
 
1343
- # Defines an Identity and Access Management (IAM) policy. It is used to
1344
- # specify access control policies for Cloud Platform resources.
1371
+ # An Identity and Access Management (IAM) policy, which specifies access
1372
+ # controls for Google Cloud resources.
1345
1373
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1346
1374
  # `members` to a single `role`. Members can be user accounts, service accounts,
1347
1375
  # Google groups, and domains (such as G Suite). A `role` is a named list of
1348
- # permissions (defined by IAM or configured by users). A `binding` can
1349
- # optionally specify a `condition`, which is a logic expression that further
1350
- # constrains the role binding based on attributes about the request and/or
1351
- # target resource.
1352
- # **JSON Example**
1376
+ # permissions; each `role` can be an IAM predefined role or a user-created
1377
+ # custom role.
1378
+ # Optionally, a `binding` can specify a `condition`, which is a logical
1379
+ # expression that allows access to a resource only if the expression evaluates
1380
+ # to `true`. A condition can add constraints based on attributes of the
1381
+ # request, the resource, or both.
1382
+ # **JSON example:**
1353
1383
  # `
1354
1384
  # "bindings": [
1355
1385
  # `
@@ -1367,13 +1397,15 @@ module Google
1367
1397
  # "condition": `
1368
1398
  # "title": "expirable access",
1369
1399
  # "description": "Does not grant access after Sep 2020",
1370
- # "expression": "request.time <
1371
- # timestamp('2020-10-01T00:00:00.000Z')",
1400
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1401
+ # ",
1372
1402
  # `
1373
1403
  # `
1374
- # ]
1404
+ # ],
1405
+ # "etag": "BwWWja0YfJA=",
1406
+ # "version": 3
1375
1407
  # `
1376
- # **YAML Example**
1408
+ # **YAML example:**
1377
1409
  # bindings:
1378
1410
  # - members:
1379
1411
  # - user:mike@example.com
@@ -1388,8 +1420,10 @@ module Google
1388
1420
  # title: expirable access
1389
1421
  # description: Does not grant access after Sep 2020
1390
1422
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1423
+ # - etag: BwWWja0YfJA=
1424
+ # - version: 3
1391
1425
  # For a description of IAM and its features, see the
1392
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
1426
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1393
1427
  # Corresponds to the JSON property `policy`
1394
1428
  # @return [Google::Apis::CloudtasksV2beta3::Policy]
1395
1429
  attr_accessor :policy
@@ -1580,7 +1614,7 @@ module Google
1580
1614
  # HTTP request.
1581
1615
  # The task will be pushed to the worker as an HTTP request. If the worker
1582
1616
  # or the redirected worker acknowledges the task by returning a successful HTTP
1583
- # response code ([`200` - `299`]), the task will removed from the queue. If
1617
+ # response code ([`200` - `299`]), the task will be removed from the queue. If
1584
1618
  # any other HTTP response code is returned or no response is received, the
1585
1619
  # task will be retried according to the following:
1586
1620
  # * User-specified throttling: retry configuration,
@@ -1594,7 +1628,7 @@ module Google
1594
1628
  # `429` (Too Many Requests), `503` (Service Unavailable), or the rate of
1595
1629
  # errors is high, Cloud Tasks will use a higher backoff rate. The retry
1596
1630
  # specified in the `Retry-After` HTTP response header is considered.
1597
- # * To prevent traffic spikes and to smooth sudden large traffic spikes,
1631
+ # * To prevent traffic spikes and to smooth sudden increases in traffic,
1598
1632
  # dispatches ramp up slowly when the queue is newly created or idle and
1599
1633
  # if large numbers of tasks suddenly become available to dispatch (due to
1600
1634
  # spikes in create task rates, the queue being unpaused, or many tasks
@@ -29,7 +29,7 @@ module Google
29
29
  # @see https://cloud.google.com/trace
30
30
  module CloudtraceV2
31
31
  VERSION = 'V2'
32
- REVISION = '20190917'
32
+ REVISION = '20191202'
33
33
 
34
34
  # View and manage your data across Google Cloud Platform services
35
35
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -309,7 +309,8 @@ module Google
309
309
  # @return [Google::Apis::CloudtraceV2::TruncatableString]
310
310
  attr_accessor :display_name
311
311
 
312
- # The end time of the span. On the client side, this is the time kept by
312
+ # Required. The end time of the span. On the client side, this is the time kept
313
+ # by
313
314
  # the local machine where the span execution ends. On the server side, this
314
315
  # is the time when the server application handler stops running.
315
316
  # Corresponds to the JSON property `endTime`
@@ -347,7 +348,7 @@ module Google
347
348
  attr_accessor :same_process_as_parent_span
348
349
  alias_method :same_process_as_parent_span?, :same_process_as_parent_span
349
350
 
350
- # The [SPAN_ID] portion of the span's resource name.
351
+ # Required. The [SPAN_ID] portion of the span's resource name.
351
352
  # Corresponds to the JSON property `spanId`
352
353
  # @return [String]
353
354
  attr_accessor :span_id
@@ -364,7 +365,8 @@ module Google
364
365
  # @return [Google::Apis::CloudtraceV2::StackTrace]
365
366
  attr_accessor :stack_trace
366
367
 
367
- # The start time of the span. On the client side, this is the time kept by
368
+ # Required. The start time of the span. On the client side, this is the time
369
+ # kept by
368
370
  # the local machine where the span execution starts. On the server side, this
369
371
  # is the time when the server's application handler starts running.
370
372
  # Corresponds to the JSON property `startTime`
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeAlpha
27
27
  VERSION = 'Alpha'
28
- REVISION = '20191014'
28
+ REVISION = '20191025'
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'
@@ -1727,12 +1727,13 @@ module Google
1727
1727
  attr_accessor :self_link_with_id
1728
1728
 
1729
1729
  # [Output Only] The status of the autoscaler configuration. Current set of
1730
- # possible values: PENDING: Autoscaler backend hasn't read new/updated
1731
- # configuration DELETING: Configuration is being deleted ACTIVE: Configuration
1732
- # is acknowledged to be effective. Some warnings might or might not be present
1733
- # in the status_details field. ERROR: Configuration has errors. Actionable for
1734
- # users. Details are present in the status_details field. New values might be
1735
- # added in the future.
1730
+ # possible values:
1731
+ # - PENDING: Autoscaler backend hasn't read new/updated configuration.
1732
+ # - DELETING: Configuration is being deleted.
1733
+ # - ACTIVE: Configuration is acknowledged to be effective. Some warnings might
1734
+ # be present in the statusDetails field.
1735
+ # - ERROR: Configuration has errors. Actionable for users. Details are present
1736
+ # in the statusDetails field. New values might be added in the future.
1736
1737
  # Corresponds to the JSON property `status`
1737
1738
  # @return [String]
1738
1739
  attr_accessor :status
@@ -2023,38 +2024,45 @@ module Google
2023
2024
  # @return [String]
2024
2025
  attr_accessor :message
2025
2026
 
2026
- # The type of error, warning or notice returned. Current set of possible values:
2027
- # ALL_INSTANCES_UNHEALTHY (WARNING): All instances in the instance group are
2028
- # unhealthy (not in RUNNING state). BACKEND_SERVICE_DOES_NOT_EXIST (ERROR):
2029
- # There is no backend service attached to the instance group.
2030
- # CAPPED_AT_MAX_NUM_REPLICAS (WARNING): Autoscaler recommends size bigger than
2031
- # maxNumReplicas. CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING): The custom
2032
- # metric samples are not exported often enough to be a credible base for
2033
- # autoscaling. CUSTOM_METRIC_INVALID (ERROR): The custom metric that was
2034
- # specified does not exist or does not have the necessary labels. MIN_EQUALS_MAX
2035
- # (WARNING): The minNumReplicas is equal to maxNumReplicas. This means the
2036
- # autoscaler cannot add or remove instances from the instance group.
2037
- # MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING): The autoscaler did not receive
2027
+ # The type of error, warning, or notice returned. Current set of possible values:
2028
+ #
2029
+ # - ALL_INSTANCES_UNHEALTHY (WARNING): All instances in the instance group are
2030
+ # unhealthy (not in RUNNING state).
2031
+ # - BACKEND_SERVICE_DOES_NOT_EXIST (ERROR): There is no backend service attached
2032
+ # to the instance group.
2033
+ # - CAPPED_AT_MAX_NUM_REPLICAS (WARNING): Autoscaler recommends a size greater
2034
+ # than maxNumReplicas.
2035
+ # - CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING): The custom metric samples
2036
+ # are not exported often enough to be a credible base for autoscaling.
2037
+ # - CUSTOM_METRIC_INVALID (ERROR): The custom metric that was specified does not
2038
+ # exist or does not have the necessary labels.
2039
+ # - MIN_EQUALS_MAX (WARNING): The minNumReplicas is equal to maxNumReplicas.
2040
+ # This means the autoscaler cannot add or remove instances from the instance
2041
+ # group.
2042
+ # - MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING): The autoscaler did not receive
2038
2043
  # any data from the custom metric configured for autoscaling.
2039
- # MISSING_LOAD_BALANCING_DATA_POINTS (WARNING): The autoscaler is configured to
2040
- # scale based on a load balancing signal but the instance group has not received
2041
- # any requests from the load balancer. MODE_OFF (WARNING): Autoscaling is turned
2042
- # off. The number of instances in the group won't change automatically. The
2043
- # autoscaling configuration is preserved. MODE_ONLY_UP (WARNING): Autoscaling is
2044
- # in the "Autoscale only up" mode. Instances in the group will be only added.
2045
- # MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be autoscaled
2046
- # because it has more than one backend service attached to it.
2047
- # NOT_ENOUGH_QUOTA_AVAILABLE (ERROR): Exceeded quota for necessary resources,
2048
- # such as CPU, number of instances and so on. REGION_RESOURCE_STOCKOUT (ERROR):
2049
- # Showed only for regional autoscalers: there is a resource stockout in the
2050
- # chosen region. SCALING_TARGET_DOES_NOT_EXIST (ERROR): The target to be scaled
2051
- # does not exist. UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION (ERROR):
2052
- # Autoscaling does not work with an HTTP/S load balancer that has been
2053
- # configured for maxRate. ZONE_RESOURCE_STOCKOUT (ERROR): For zonal autoscalers:
2054
- # there is a resource stockout in the chosen zone. For regional autoscalers: in
2055
- # at least one of the zones you're using there is a resource stockout. New
2056
- # values might be added in the future. Some of the values might not be available
2057
- # in all API versions.
2044
+ # - MISSING_LOAD_BALANCING_DATA_POINTS (WARNING): The autoscaler is configured
2045
+ # to scale based on a load balancing signal but the instance group has not
2046
+ # received any requests from the load balancer.
2047
+ # - MODE_OFF (WARNING): Autoscaling is turned off. The number of instances in
2048
+ # the group won't change automatically. The autoscaling configuration is
2049
+ # preserved.
2050
+ # - MODE_ONLY_UP (WARNING): Autoscaling is in the "Autoscale only up" mode. The
2051
+ # autoscaler can add instances but not remove any.
2052
+ # - MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be
2053
+ # autoscaled because it has more than one backend service attached to it.
2054
+ # - NOT_ENOUGH_QUOTA_AVAILABLE (ERROR): There is insufficient quota for the
2055
+ # necessary resources, such as CPU or number of instances.
2056
+ # - REGION_RESOURCE_STOCKOUT (ERROR): Shown only for regional autoscalers: there
2057
+ # is a resource stockout in the chosen region.
2058
+ # - SCALING_TARGET_DOES_NOT_EXIST (ERROR): The target to be scaled does not
2059
+ # exist.
2060
+ # - UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION (ERROR): Autoscaling does
2061
+ # not work with an HTTP/S load balancer that has been configured for maxRate.
2062
+ # - ZONE_RESOURCE_STOCKOUT (ERROR): For zonal autoscalers: there is a resource
2063
+ # stockout in the chosen zone. For regional autoscalers: in at least one of the
2064
+ # zones you're using there is a resource stockout. New values might be added in
2065
+ # the future. Some of the values might not be available in all API versions.
2058
2066
  # Corresponds to the JSON property `type`
2059
2067
  # @return [String]
2060
2068
  attr_accessor :type
@@ -5014,7 +5022,7 @@ module Google
5014
5022
  attr_accessor :kms_key_name
5015
5023
 
5016
5024
  # The service account being used for the encryption request for the given KMS
5017
- # key. If absent, default GCE compute robot account will be used
5025
+ # key. If absent, the Compute Engine default service account is used.
5018
5026
  # Corresponds to the JSON property `kmsKeyServiceAccount`
5019
5027
  # @return [String]
5020
5028
  attr_accessor :kms_key_service_account
@@ -6370,6 +6378,17 @@ module Google
6370
6378
  class DistributionPolicy
6371
6379
  include Google::Apis::Core::Hashable
6372
6380
 
6381
+ # The shape to which the group converges either proactively or on resize events (
6382
+ # depending on the value set in updatePolicy.instanceRedistributionType). The
6383
+ # possible values are EVEN and ANY. For EVEN the group attempts to preserve a
6384
+ # balanced number of instances across zones. For ANY the group creates new
6385
+ # instances where resources are available to fulfill the request; as a result,
6386
+ # instances may be distributed unevenly across zones in this mode. The default
6387
+ # value is EVEN.
6388
+ # Corresponds to the JSON property `targetShape`
6389
+ # @return [String]
6390
+ attr_accessor :target_shape
6391
+
6373
6392
  # Zones where the regional managed instance group will create and manage
6374
6393
  # instances.
6375
6394
  # Corresponds to the JSON property `zones`
@@ -6382,6 +6401,7 @@ module Google
6382
6401
 
6383
6402
  # Update properties of this object
6384
6403
  def update!(**args)
6404
+ @target_shape = args[:target_shape] if args.key?(:target_shape)
6385
6405
  @zones = args[:zones] if args.key?(:zones)
6386
6406
  end
6387
6407
  end
@@ -17404,11 +17424,6 @@ module Google
17404
17424
  class MachineImageList
17405
17425
  include Google::Apis::Core::Hashable
17406
17426
 
17407
- #
17408
- # Corresponds to the JSON property `etag`
17409
- # @return [String]
17410
- attr_accessor :etag
17411
-
17412
17427
  # [Output Only] Unique identifier for the resource; defined by the server.
17413
17428
  # Corresponds to the JSON property `id`
17414
17429
  # @return [String]
@@ -17450,7 +17465,6 @@ module Google
17450
17465
 
17451
17466
  # Update properties of this object
17452
17467
  def update!(**args)
17453
- @etag = args[:etag] if args.key?(:etag)
17454
17468
  @id = args[:id] if args.key?(:id)
17455
17469
  @items = args[:items] if args.key?(:items)
17456
17470
  @kind = args[:kind] if args.key?(:kind)
@@ -18474,7 +18488,7 @@ module Google
18474
18488
  attr_accessor :load_balancer_vm_encryption
18475
18489
 
18476
18490
  # Maximum Transmission Unit in bytes. The minimum value for this field is 1460
18477
- # and the maximum value is 1600 bytes.
18491
+ # and the maximum value is 1500 bytes.
18478
18492
  # Corresponds to the JSON property `mtu`
18479
18493
  # @return [Fixnum]
18480
18494
  attr_accessor :mtu
@@ -20021,6 +20035,12 @@ module Google
20021
20035
  # @return [String]
20022
20036
  attr_accessor :description
20023
20037
 
20038
+ #
20039
+ # Corresponds to the JSON property `fingerprint`
20040
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
20041
+ # @return [String]
20042
+ attr_accessor :fingerprint
20043
+
20024
20044
  # [Output Only] The unique identifier for the resource. This identifier is
20025
20045
  # defined by the server.
20026
20046
  # Corresponds to the JSON property `id`
@@ -20089,6 +20109,7 @@ module Google
20089
20109
  @autoscaling_policy = args[:autoscaling_policy] if args.key?(:autoscaling_policy)
20090
20110
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
20091
20111
  @description = args[:description] if args.key?(:description)
20112
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
20092
20113
  @id = args[:id] if args.key?(:id)
20093
20114
  @kind = args[:kind] if args.key?(:kind)
20094
20115
  @maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
@@ -30856,8 +30877,8 @@ module Google
30856
30877
  class Snapshot
30857
30878
  include Google::Apis::Core::Hashable
30858
30879
 
30859
- # [Output Only] Set to true if snapshots are automatically by applying resource
30860
- # policy on the target disk.
30880
+ # [Output Only] Set to true if snapshots are automatically created by applying
30881
+ # resource policy on the target disk.
30861
30882
  # Corresponds to the JSON property `autoCreated`
30862
30883
  # @return [Boolean]
30863
30884
  attr_accessor :auto_created