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://cloud.google.com/resource-manager
|
27
27
|
module CloudresourcemanagerV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191206'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -184,6 +184,23 @@ module Google
|
|
184
184
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
185
185
|
# * `group:`emailid``: An email address that represents a Google group.
|
186
186
|
# For example, `admins@example.com`.
|
187
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
188
|
+
# identifier) representing a user that has been recently deleted. For
|
189
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
190
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
191
|
+
# retains the role in the binding.
|
192
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
193
|
+
# unique identifier) representing a service account that has been recently
|
194
|
+
# deleted. For example,
|
195
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
196
|
+
# If the service account is undeleted, this value reverts to
|
197
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
198
|
+
# role in the binding.
|
199
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
200
|
+
# identifier) representing a Google group that has been recently
|
201
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
202
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
203
|
+
# recovered group retains the role in the binding.
|
187
204
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
188
205
|
# users of that domain. For example, `google.com` or `example.com`.
|
189
206
|
# Corresponds to the JSON property `members`
|
@@ -560,16 +577,18 @@ module Google
|
|
560
577
|
end
|
561
578
|
end
|
562
579
|
|
563
|
-
#
|
564
|
-
#
|
580
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
581
|
+
# controls for Google Cloud resources.
|
565
582
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
566
583
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
567
584
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
568
|
-
# permissions
|
569
|
-
#
|
570
|
-
#
|
571
|
-
#
|
572
|
-
#
|
585
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
586
|
+
# custom role.
|
587
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
588
|
+
# expression that allows access to a resource only if the expression evaluates
|
589
|
+
# to `true`. A condition can add constraints based on attributes of the
|
590
|
+
# request, the resource, or both.
|
591
|
+
# **JSON example:**
|
573
592
|
# `
|
574
593
|
# "bindings": [
|
575
594
|
# `
|
@@ -587,13 +606,15 @@ module Google
|
|
587
606
|
# "condition": `
|
588
607
|
# "title": "expirable access",
|
589
608
|
# "description": "Does not grant access after Sep 2020",
|
590
|
-
# "expression": "request.time <
|
591
|
-
#
|
609
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
610
|
+
# ",
|
592
611
|
# `
|
593
612
|
# `
|
594
|
-
# ]
|
613
|
+
# ],
|
614
|
+
# "etag": "BwWWja0YfJA=",
|
615
|
+
# "version": 3
|
595
616
|
# `
|
596
|
-
# **YAML
|
617
|
+
# **YAML example:**
|
597
618
|
# bindings:
|
598
619
|
# - members:
|
599
620
|
# - user:mike@example.com
|
@@ -608,8 +629,10 @@ module Google
|
|
608
629
|
# title: expirable access
|
609
630
|
# description: Does not grant access after Sep 2020
|
610
631
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
632
|
+
# - etag: BwWWja0YfJA=
|
633
|
+
# - version: 3
|
611
634
|
# For a description of IAM and its features, see the
|
612
|
-
# [IAM
|
635
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
613
636
|
class Policy
|
614
637
|
include Google::Apis::Core::Hashable
|
615
638
|
|
@@ -618,9 +641,9 @@ module Google
|
|
618
641
|
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditConfig>]
|
619
642
|
attr_accessor :audit_configs
|
620
643
|
|
621
|
-
# Associates a list of `members` to a `role`. Optionally may specify a
|
622
|
-
# `condition` that determines when
|
623
|
-
# `bindings`
|
644
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
645
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
646
|
+
# of the `bindings` must contain at least one member.
|
624
647
|
# Corresponds to the JSON property `bindings`
|
625
648
|
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Binding>]
|
626
649
|
attr_accessor :bindings
|
@@ -632,26 +655,31 @@ module Google
|
|
632
655
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
633
656
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
634
657
|
# ensure that their change will be applied to the same version of the policy.
|
635
|
-
# If
|
636
|
-
#
|
637
|
-
#
|
638
|
-
#
|
658
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
659
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
660
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
661
|
+
# the conditions in the version `3` policy are lost.
|
639
662
|
# Corresponds to the JSON property `etag`
|
640
663
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
641
664
|
# @return [String]
|
642
665
|
attr_accessor :etag
|
643
666
|
|
644
667
|
# Specifies the format of the policy.
|
645
|
-
# Valid values are 0
|
646
|
-
# rejected.
|
647
|
-
#
|
648
|
-
#
|
649
|
-
#
|
650
|
-
# conditional policy
|
651
|
-
#
|
652
|
-
#
|
653
|
-
#
|
654
|
-
#
|
668
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
669
|
+
# are rejected.
|
670
|
+
# Any operation that affects conditional role bindings must specify version
|
671
|
+
# `3`. This requirement applies to the following operations:
|
672
|
+
# * Getting a policy that includes a conditional role binding
|
673
|
+
# * Adding a conditional role binding to a policy
|
674
|
+
# * Changing a conditional role binding in a policy
|
675
|
+
# * Removing any role binding, with or without a condition, from a policy
|
676
|
+
# that includes conditions
|
677
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
678
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
679
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
680
|
+
# the conditions in the version `3` policy are lost.
|
681
|
+
# If a policy does not include any conditions, operations on that policy may
|
682
|
+
# specify any valid version or leave the field unset.
|
655
683
|
# Corresponds to the JSON property `version`
|
656
684
|
# @return [Fixnum]
|
657
685
|
attr_accessor :version
|
@@ -824,16 +852,18 @@ module Google
|
|
824
852
|
class SetIamPolicyRequest
|
825
853
|
include Google::Apis::Core::Hashable
|
826
854
|
|
827
|
-
#
|
828
|
-
#
|
855
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
856
|
+
# controls for Google Cloud resources.
|
829
857
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
830
858
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
831
859
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
832
|
-
# permissions
|
833
|
-
#
|
834
|
-
#
|
835
|
-
#
|
836
|
-
#
|
860
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
861
|
+
# custom role.
|
862
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
863
|
+
# expression that allows access to a resource only if the expression evaluates
|
864
|
+
# to `true`. A condition can add constraints based on attributes of the
|
865
|
+
# request, the resource, or both.
|
866
|
+
# **JSON example:**
|
837
867
|
# `
|
838
868
|
# "bindings": [
|
839
869
|
# `
|
@@ -851,13 +881,15 @@ module Google
|
|
851
881
|
# "condition": `
|
852
882
|
# "title": "expirable access",
|
853
883
|
# "description": "Does not grant access after Sep 2020",
|
854
|
-
# "expression": "request.time <
|
855
|
-
#
|
884
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
885
|
+
# ",
|
856
886
|
# `
|
857
887
|
# `
|
858
|
-
# ]
|
888
|
+
# ],
|
889
|
+
# "etag": "BwWWja0YfJA=",
|
890
|
+
# "version": 3
|
859
891
|
# `
|
860
|
-
# **YAML
|
892
|
+
# **YAML example:**
|
861
893
|
# bindings:
|
862
894
|
# - members:
|
863
895
|
# - user:mike@example.com
|
@@ -872,8 +904,10 @@ module Google
|
|
872
904
|
# title: expirable access
|
873
905
|
# description: Does not grant access after Sep 2020
|
874
906
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
907
|
+
# - etag: BwWWja0YfJA=
|
908
|
+
# - version: 3
|
875
909
|
# For a description of IAM and its features, see the
|
876
|
-
# [IAM
|
910
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
877
911
|
# Corresponds to the JSON property `policy`
|
878
912
|
# @return [Google::Apis::CloudresourcemanagerV1beta1::Policy]
|
879
913
|
attr_accessor :policy
|
@@ -290,7 +290,7 @@ module Google
|
|
290
290
|
# (/billing/reference/rest/v1/projects/updateBillingInfo) method.
|
291
291
|
# @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object
|
292
292
|
# @param [Boolean] use_legacy_stack
|
293
|
-
# A
|
293
|
+
# A now unused experiment opt-out option.
|
294
294
|
# @param [String] fields
|
295
295
|
# Selector specifying which fields to include in a partial response.
|
296
296
|
# @param [String] quota_user
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
27
27
|
module CloudresourcemanagerV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191206'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -162,6 +162,23 @@ module Google
|
|
162
162
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
163
163
|
# * `group:`emailid``: An email address that represents a Google group.
|
164
164
|
# For example, `admins@example.com`.
|
165
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
166
|
+
# identifier) representing a user that has been recently deleted. For
|
167
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
168
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
169
|
+
# retains the role in the binding.
|
170
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
171
|
+
# unique identifier) representing a service account that has been recently
|
172
|
+
# deleted. For example,
|
173
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
174
|
+
# If the service account is undeleted, this value reverts to
|
175
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
176
|
+
# role in the binding.
|
177
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
178
|
+
# identifier) representing a Google group that has been recently
|
179
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
180
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
181
|
+
# recovered group retains the role in the binding.
|
165
182
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
166
183
|
# users of that domain. For example, `google.com` or `example.com`.
|
167
184
|
# Corresponds to the JSON property `members`
|
@@ -502,16 +519,18 @@ module Google
|
|
502
519
|
end
|
503
520
|
end
|
504
521
|
|
505
|
-
#
|
506
|
-
#
|
522
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
523
|
+
# controls for Google Cloud resources.
|
507
524
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
508
525
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
509
526
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
510
|
-
# permissions
|
511
|
-
#
|
512
|
-
#
|
513
|
-
#
|
514
|
-
#
|
527
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
528
|
+
# custom role.
|
529
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
530
|
+
# expression that allows access to a resource only if the expression evaluates
|
531
|
+
# to `true`. A condition can add constraints based on attributes of the
|
532
|
+
# request, the resource, or both.
|
533
|
+
# **JSON example:**
|
515
534
|
# `
|
516
535
|
# "bindings": [
|
517
536
|
# `
|
@@ -529,13 +548,15 @@ module Google
|
|
529
548
|
# "condition": `
|
530
549
|
# "title": "expirable access",
|
531
550
|
# "description": "Does not grant access after Sep 2020",
|
532
|
-
# "expression": "request.time <
|
533
|
-
#
|
551
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
552
|
+
# ",
|
534
553
|
# `
|
535
554
|
# `
|
536
|
-
# ]
|
555
|
+
# ],
|
556
|
+
# "etag": "BwWWja0YfJA=",
|
557
|
+
# "version": 3
|
537
558
|
# `
|
538
|
-
# **YAML
|
559
|
+
# **YAML example:**
|
539
560
|
# bindings:
|
540
561
|
# - members:
|
541
562
|
# - user:mike@example.com
|
@@ -550,8 +571,10 @@ module Google
|
|
550
571
|
# title: expirable access
|
551
572
|
# description: Does not grant access after Sep 2020
|
552
573
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
574
|
+
# - etag: BwWWja0YfJA=
|
575
|
+
# - version: 3
|
553
576
|
# For a description of IAM and its features, see the
|
554
|
-
# [IAM
|
577
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
555
578
|
class Policy
|
556
579
|
include Google::Apis::Core::Hashable
|
557
580
|
|
@@ -560,9 +583,9 @@ module Google
|
|
560
583
|
# @return [Array<Google::Apis::CloudresourcemanagerV2::AuditConfig>]
|
561
584
|
attr_accessor :audit_configs
|
562
585
|
|
563
|
-
# Associates a list of `members` to a `role`. Optionally may specify a
|
564
|
-
# `condition` that determines when
|
565
|
-
# `bindings`
|
586
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
587
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
588
|
+
# of the `bindings` must contain at least one member.
|
566
589
|
# Corresponds to the JSON property `bindings`
|
567
590
|
# @return [Array<Google::Apis::CloudresourcemanagerV2::Binding>]
|
568
591
|
attr_accessor :bindings
|
@@ -574,26 +597,31 @@ module Google
|
|
574
597
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
575
598
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
576
599
|
# ensure that their change will be applied to the same version of the policy.
|
577
|
-
# If
|
578
|
-
#
|
579
|
-
#
|
580
|
-
#
|
600
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
601
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
602
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
603
|
+
# the conditions in the version `3` policy are lost.
|
581
604
|
# Corresponds to the JSON property `etag`
|
582
605
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
583
606
|
# @return [String]
|
584
607
|
attr_accessor :etag
|
585
608
|
|
586
609
|
# Specifies the format of the policy.
|
587
|
-
# Valid values are 0
|
588
|
-
# rejected.
|
589
|
-
#
|
590
|
-
#
|
591
|
-
#
|
592
|
-
# conditional policy
|
593
|
-
#
|
594
|
-
#
|
595
|
-
#
|
596
|
-
#
|
610
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
611
|
+
# are rejected.
|
612
|
+
# Any operation that affects conditional role bindings must specify version
|
613
|
+
# `3`. This requirement applies to the following operations:
|
614
|
+
# * Getting a policy that includes a conditional role binding
|
615
|
+
# * Adding a conditional role binding to a policy
|
616
|
+
# * Changing a conditional role binding in a policy
|
617
|
+
# * Removing any role binding, with or without a condition, from a policy
|
618
|
+
# that includes conditions
|
619
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
620
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
621
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
622
|
+
# the conditions in the version `3` policy are lost.
|
623
|
+
# If a policy does not include any conditions, operations on that policy may
|
624
|
+
# specify any valid version or leave the field unset.
|
597
625
|
# Corresponds to the JSON property `version`
|
598
626
|
# @return [Fixnum]
|
599
627
|
attr_accessor :version
|
@@ -729,16 +757,18 @@ module Google
|
|
729
757
|
class SetIamPolicyRequest
|
730
758
|
include Google::Apis::Core::Hashable
|
731
759
|
|
732
|
-
#
|
733
|
-
#
|
760
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
761
|
+
# controls for Google Cloud resources.
|
734
762
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
735
763
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
736
764
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
737
|
-
# permissions
|
738
|
-
#
|
739
|
-
#
|
740
|
-
#
|
741
|
-
#
|
765
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
766
|
+
# custom role.
|
767
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
768
|
+
# expression that allows access to a resource only if the expression evaluates
|
769
|
+
# to `true`. A condition can add constraints based on attributes of the
|
770
|
+
# request, the resource, or both.
|
771
|
+
# **JSON example:**
|
742
772
|
# `
|
743
773
|
# "bindings": [
|
744
774
|
# `
|
@@ -756,13 +786,15 @@ module Google
|
|
756
786
|
# "condition": `
|
757
787
|
# "title": "expirable access",
|
758
788
|
# "description": "Does not grant access after Sep 2020",
|
759
|
-
# "expression": "request.time <
|
760
|
-
#
|
789
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
790
|
+
# ",
|
761
791
|
# `
|
762
792
|
# `
|
763
|
-
# ]
|
793
|
+
# ],
|
794
|
+
# "etag": "BwWWja0YfJA=",
|
795
|
+
# "version": 3
|
764
796
|
# `
|
765
|
-
# **YAML
|
797
|
+
# **YAML example:**
|
766
798
|
# bindings:
|
767
799
|
# - members:
|
768
800
|
# - user:mike@example.com
|
@@ -777,8 +809,10 @@ module Google
|
|
777
809
|
# title: expirable access
|
778
810
|
# description: Does not grant access after Sep 2020
|
779
811
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
812
|
+
# - etag: BwWWja0YfJA=
|
813
|
+
# - version: 3
|
780
814
|
# For a description of IAM and its features, see the
|
781
|
-
# [IAM
|
815
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
782
816
|
# Corresponds to the JSON property `policy`
|
783
817
|
# @return [Google::Apis::CloudresourcemanagerV2::Policy]
|
784
818
|
attr_accessor :policy
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
27
27
|
module CloudresourcemanagerV2beta1
|
28
28
|
VERSION = 'V2beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191206'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -162,6 +162,23 @@ module Google
|
|
162
162
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
163
163
|
# * `group:`emailid``: An email address that represents a Google group.
|
164
164
|
# For example, `admins@example.com`.
|
165
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
166
|
+
# identifier) representing a user that has been recently deleted. For
|
167
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
168
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
169
|
+
# retains the role in the binding.
|
170
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
171
|
+
# unique identifier) representing a service account that has been recently
|
172
|
+
# deleted. For example,
|
173
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
174
|
+
# If the service account is undeleted, this value reverts to
|
175
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
176
|
+
# role in the binding.
|
177
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
178
|
+
# identifier) representing a Google group that has been recently
|
179
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
180
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
181
|
+
# recovered group retains the role in the binding.
|
165
182
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
166
183
|
# users of that domain. For example, `google.com` or `example.com`.
|
167
184
|
# Corresponds to the JSON property `members`
|
@@ -502,16 +519,18 @@ module Google
|
|
502
519
|
end
|
503
520
|
end
|
504
521
|
|
505
|
-
#
|
506
|
-
#
|
522
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
523
|
+
# controls for Google Cloud resources.
|
507
524
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
508
525
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
509
526
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
510
|
-
# permissions
|
511
|
-
#
|
512
|
-
#
|
513
|
-
#
|
514
|
-
#
|
527
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
528
|
+
# custom role.
|
529
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
530
|
+
# expression that allows access to a resource only if the expression evaluates
|
531
|
+
# to `true`. A condition can add constraints based on attributes of the
|
532
|
+
# request, the resource, or both.
|
533
|
+
# **JSON example:**
|
515
534
|
# `
|
516
535
|
# "bindings": [
|
517
536
|
# `
|
@@ -529,13 +548,15 @@ module Google
|
|
529
548
|
# "condition": `
|
530
549
|
# "title": "expirable access",
|
531
550
|
# "description": "Does not grant access after Sep 2020",
|
532
|
-
# "expression": "request.time <
|
533
|
-
#
|
551
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
552
|
+
# ",
|
534
553
|
# `
|
535
554
|
# `
|
536
|
-
# ]
|
555
|
+
# ],
|
556
|
+
# "etag": "BwWWja0YfJA=",
|
557
|
+
# "version": 3
|
537
558
|
# `
|
538
|
-
# **YAML
|
559
|
+
# **YAML example:**
|
539
560
|
# bindings:
|
540
561
|
# - members:
|
541
562
|
# - user:mike@example.com
|
@@ -550,8 +571,10 @@ module Google
|
|
550
571
|
# title: expirable access
|
551
572
|
# description: Does not grant access after Sep 2020
|
552
573
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
574
|
+
# - etag: BwWWja0YfJA=
|
575
|
+
# - version: 3
|
553
576
|
# For a description of IAM and its features, see the
|
554
|
-
# [IAM
|
577
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
555
578
|
class Policy
|
556
579
|
include Google::Apis::Core::Hashable
|
557
580
|
|
@@ -560,9 +583,9 @@ module Google
|
|
560
583
|
# @return [Array<Google::Apis::CloudresourcemanagerV2beta1::AuditConfig>]
|
561
584
|
attr_accessor :audit_configs
|
562
585
|
|
563
|
-
# Associates a list of `members` to a `role`. Optionally may specify a
|
564
|
-
# `condition` that determines when
|
565
|
-
# `bindings`
|
586
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
587
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
588
|
+
# of the `bindings` must contain at least one member.
|
566
589
|
# Corresponds to the JSON property `bindings`
|
567
590
|
# @return [Array<Google::Apis::CloudresourcemanagerV2beta1::Binding>]
|
568
591
|
attr_accessor :bindings
|
@@ -574,26 +597,31 @@ module Google
|
|
574
597
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
575
598
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
576
599
|
# ensure that their change will be applied to the same version of the policy.
|
577
|
-
# If
|
578
|
-
#
|
579
|
-
#
|
580
|
-
#
|
600
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
601
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
602
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
603
|
+
# the conditions in the version `3` policy are lost.
|
581
604
|
# Corresponds to the JSON property `etag`
|
582
605
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
583
606
|
# @return [String]
|
584
607
|
attr_accessor :etag
|
585
608
|
|
586
609
|
# Specifies the format of the policy.
|
587
|
-
# Valid values are 0
|
588
|
-
# rejected.
|
589
|
-
#
|
590
|
-
#
|
591
|
-
#
|
592
|
-
# conditional policy
|
593
|
-
#
|
594
|
-
#
|
595
|
-
#
|
596
|
-
#
|
610
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
611
|
+
# are rejected.
|
612
|
+
# Any operation that affects conditional role bindings must specify version
|
613
|
+
# `3`. This requirement applies to the following operations:
|
614
|
+
# * Getting a policy that includes a conditional role binding
|
615
|
+
# * Adding a conditional role binding to a policy
|
616
|
+
# * Changing a conditional role binding in a policy
|
617
|
+
# * Removing any role binding, with or without a condition, from a policy
|
618
|
+
# that includes conditions
|
619
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
620
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
621
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
622
|
+
# the conditions in the version `3` policy are lost.
|
623
|
+
# If a policy does not include any conditions, operations on that policy may
|
624
|
+
# specify any valid version or leave the field unset.
|
597
625
|
# Corresponds to the JSON property `version`
|
598
626
|
# @return [Fixnum]
|
599
627
|
attr_accessor :version
|
@@ -729,16 +757,18 @@ module Google
|
|
729
757
|
class SetIamPolicyRequest
|
730
758
|
include Google::Apis::Core::Hashable
|
731
759
|
|
732
|
-
#
|
733
|
-
#
|
760
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
761
|
+
# controls for Google Cloud resources.
|
734
762
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
735
763
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
736
764
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
737
|
-
# permissions
|
738
|
-
#
|
739
|
-
#
|
740
|
-
#
|
741
|
-
#
|
765
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
766
|
+
# custom role.
|
767
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
768
|
+
# expression that allows access to a resource only if the expression evaluates
|
769
|
+
# to `true`. A condition can add constraints based on attributes of the
|
770
|
+
# request, the resource, or both.
|
771
|
+
# **JSON example:**
|
742
772
|
# `
|
743
773
|
# "bindings": [
|
744
774
|
# `
|
@@ -756,13 +786,15 @@ module Google
|
|
756
786
|
# "condition": `
|
757
787
|
# "title": "expirable access",
|
758
788
|
# "description": "Does not grant access after Sep 2020",
|
759
|
-
# "expression": "request.time <
|
760
|
-
#
|
789
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
790
|
+
# ",
|
761
791
|
# `
|
762
792
|
# `
|
763
|
-
# ]
|
793
|
+
# ],
|
794
|
+
# "etag": "BwWWja0YfJA=",
|
795
|
+
# "version": 3
|
764
796
|
# `
|
765
|
-
# **YAML
|
797
|
+
# **YAML example:**
|
766
798
|
# bindings:
|
767
799
|
# - members:
|
768
800
|
# - user:mike@example.com
|
@@ -777,8 +809,10 @@ module Google
|
|
777
809
|
# title: expirable access
|
778
810
|
# description: Does not grant access after Sep 2020
|
779
811
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
812
|
+
# - etag: BwWWja0YfJA=
|
813
|
+
# - version: 3
|
780
814
|
# For a description of IAM and its features, see the
|
781
|
-
# [IAM
|
815
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
782
816
|
# Corresponds to the JSON property `policy`
|
783
817
|
# @return [Google::Apis::CloudresourcemanagerV2beta1::Policy]
|
784
818
|
attr_accessor :policy
|