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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +69 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +7 -4
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +32 -32
- data/generated/google/apis/androidpublisher_v3/representations.rb +17 -17
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +2 -1
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +81 -41
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +8 -8
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +60 -30
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +75 -40
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +75 -41
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +75 -41
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +5 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +206 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
- data/generated/google/apis/cloudasset_v1/service.rb +174 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +59 -41
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +9 -5
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +75 -41
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +75 -41
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +104 -41
- data/generated/google/apis/cloudkms_v1/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +75 -41
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +75 -41
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +75 -41
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +75 -41
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +3 -2
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +81 -47
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +75 -41
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +81 -47
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +5 -3
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +68 -47
- data/generated/google/apis/compute_alpha/representations.rb +2 -1
- data/generated/google/apis/compute_alpha/service.rb +54 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +597 -40
- data/generated/google/apis/compute_beta/representations.rb +164 -0
- data/generated/google/apis/compute_beta/service.rb +343 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +54 -39
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +75 -41
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +77 -43
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +46 -42
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +46 -42
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +75 -41
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +16 -22
- data/generated/google/apis/datastore_v1/service.rb +10 -10
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +5 -4
- data/generated/google/apis/datastore_v1beta3/service.rb +8 -8
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +88 -88
- data/generated/google/apis/dfareporting_v3_4/representations.rb +39 -39
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +77 -0
- data/generated/google/apis/dlp_v2/representations.rb +42 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +59 -12
- data/generated/google/apis/file_v1/representations.rb +19 -2
- data/generated/google/apis/file_v1/service.rb +8 -4
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +59 -12
- data/generated/google/apis/file_v1beta1/representations.rb +19 -2
- data/generated/google/apis/file_v1beta1/service.rb +8 -4
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +75 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +35 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +6 -2
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +7 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +225 -40
- data/generated/google/apis/iap_v1/representations.rb +84 -0
- data/generated/google/apis/iap_v1/service.rb +292 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +75 -40
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +29 -41
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +14 -21
- data/generated/google/apis/ml_v1/service.rb +15 -18
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +15 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +6 -10
- data/generated/google/apis/monitoring_v3/representations.rb +0 -1
- data/generated/google/apis/{fusiontables_v1.rb → policytroubleshooter_v1.rb} +10 -13
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +700 -0
- data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
- data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +75 -41
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +75 -41
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +75 -41
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +82 -41
- data/generated/google/apis/run_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/{fusiontables_v2.rb → secretmanager_v1beta1.rb} +11 -14
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +936 -0
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +388 -0
- data/generated/google/apis/secretmanager_v1beta1/service.rb +674 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +85 -1
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +4 -3
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +38 -1
- data/generated/google/apis/servicenetworking_v1/representations.rb +14 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +35 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -1
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +16 -1
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +16 -1
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/service.rb +4 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +374 -2
- data/generated/google/apis/toolresults_v1beta3/representations.rb +109 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +98 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -11
- data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
- data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
- data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
- data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
- data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
- 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 = '
|
|
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/
|
|
181
|
-
#
|
|
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
|
|
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
|
-
#
|
|
888
|
-
#
|
|
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
|
|
893
|
-
#
|
|
894
|
-
#
|
|
895
|
-
#
|
|
896
|
-
#
|
|
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
|
-
#
|
|
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
|
|
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
|
|
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
|
|
942
|
-
# `bindings`
|
|
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
|
|
955
|
-
#
|
|
956
|
-
#
|
|
957
|
-
#
|
|
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
|
|
965
|
-
# rejected.
|
|
966
|
-
#
|
|
967
|
-
#
|
|
968
|
-
#
|
|
969
|
-
# conditional policy
|
|
970
|
-
#
|
|
971
|
-
#
|
|
972
|
-
#
|
|
973
|
-
#
|
|
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
|
-
#
|
|
1344
|
-
#
|
|
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
|
|
1349
|
-
#
|
|
1350
|
-
#
|
|
1351
|
-
#
|
|
1352
|
-
#
|
|
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
|
-
#
|
|
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
|
|
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
|
|
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
|
|
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 = '
|
|
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
|
|
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
|
|
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 = '
|
|
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:
|
|
1731
|
-
#
|
|
1732
|
-
#
|
|
1733
|
-
#
|
|
1734
|
-
#
|
|
1735
|
-
#
|
|
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
|
-
#
|
|
2028
|
-
#
|
|
2029
|
-
#
|
|
2030
|
-
#
|
|
2031
|
-
#
|
|
2032
|
-
#
|
|
2033
|
-
#
|
|
2034
|
-
#
|
|
2035
|
-
#
|
|
2036
|
-
#
|
|
2037
|
-
#
|
|
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
|
|
2040
|
-
# scale based on a load balancing signal but the instance group has not
|
|
2041
|
-
# any requests from the load balancer.
|
|
2042
|
-
# off. The number of instances in
|
|
2043
|
-
#
|
|
2044
|
-
#
|
|
2045
|
-
#
|
|
2046
|
-
#
|
|
2047
|
-
#
|
|
2048
|
-
#
|
|
2049
|
-
#
|
|
2050
|
-
#
|
|
2051
|
-
#
|
|
2052
|
-
#
|
|
2053
|
-
#
|
|
2054
|
-
#
|
|
2055
|
-
#
|
|
2056
|
-
#
|
|
2057
|
-
#
|
|
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,
|
|
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
|
|
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
|
|
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
|