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.
- 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
@@ -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 = '
|
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
|
-
#
|
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
|
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 = '
|
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/
|
142
|
-
#
|
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
|
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
|
-
#
|
855
|
-
#
|
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
|
860
|
-
#
|
861
|
-
#
|
862
|
-
#
|
863
|
-
#
|
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
|
-
#
|
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
|
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
|
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
|
909
|
-
# `bindings`
|
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
|
922
|
-
#
|
923
|
-
#
|
924
|
-
#
|
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
|
932
|
-
# rejected.
|
933
|
-
#
|
934
|
-
#
|
935
|
-
#
|
936
|
-
# conditional policy
|
937
|
-
#
|
938
|
-
#
|
939
|
-
#
|
940
|
-
#
|
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
|
-
#
|
1314
|
-
#
|
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
|
1319
|
-
#
|
1320
|
-
#
|
1321
|
-
#
|
1322
|
-
#
|
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
|
-
#
|
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
|
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
|
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
|
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 = '
|
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
|
-
#
|
920
|
-
#
|
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
|
925
|
-
#
|
926
|
-
#
|
927
|
-
#
|
928
|
-
#
|
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
|
-
#
|
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
|
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
|
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
|
974
|
-
# `bindings`
|
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
|
987
|
-
#
|
988
|
-
#
|
989
|
-
#
|
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
|
997
|
-
# rejected.
|
998
|
-
#
|
999
|
-
#
|
1000
|
-
#
|
1001
|
-
# conditional policy
|
1002
|
-
#
|
1003
|
-
#
|
1004
|
-
#
|
1005
|
-
#
|
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
|
-
#
|
1489
|
-
#
|
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
|
1494
|
-
#
|
1495
|
-
#
|
1496
|
-
#
|
1497
|
-
#
|
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
|
-
#
|
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
|
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
|
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
|