google-api-client 0.31.0 → 0.32.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kokoro/continuous/linux.cfg +11 -1
- data/.kokoro/continuous/osx.cfg +5 -0
- data/.kokoro/continuous/windows.cfg +10 -0
- data/.kokoro/presubmit/linux.cfg +11 -1
- data/.kokoro/presubmit/osx.cfg +5 -0
- data/.kokoro/presubmit/windows.cfg +10 -0
- data/CHANGELOG.md +107 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +12 -1
- data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +241 -0
- data/generated/google/apis/bigquery_v2/representations.rb +115 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +62 -29
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +2 -2
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -26
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +7 -7
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +3 -3
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -175
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -65
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -140
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +37 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +497 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +236 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +713 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +307 -0
- data/generated/google/apis/binaryauthorization_v1/representations.rb +88 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +230 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +62 -29
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/blogger_v3/service.rb +6 -6
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +72 -29
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1/service.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +62 -29
- data/generated/google/apis/cloudasset_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -2
- data/generated/google/apis/cloudfunctions_v1/service.rb +10 -7
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +7 -6
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +68 -35
- data/generated/google/apis/cloudiot_v1/service.rb +18 -17
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +77 -35
- data/generated/google/apis/cloudkms_v1/service.rb +33 -27
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +62 -29
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +354 -0
- data/generated/google/apis/cloudsearch_v1/representations.rb +196 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +314 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +62 -29
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +10 -10
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +3 -3
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +7 -10
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +38 -42
- data/generated/google/apis/compute_alpha/representations.rb +5 -16
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +10 -5
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1327 -4
- data/generated/google/apis/compute_v1/representations.rb +439 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +111 -0
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +76 -30
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +70 -30
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +0 -226
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +42 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +4 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +324 -38
- data/generated/google/apis/dataproc_v1/representations.rb +97 -0
- data/generated/google/apis/dataproc_v1/service.rb +613 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +100 -54
- data/generated/google/apis/dataproc_v1beta2/service.rb +29 -22
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +363 -167
- data/generated/google/apis/dialogflow_v2/representations.rb +160 -49
- data/generated/google/apis/dialogflow_v2/service.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +433 -178
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +199 -59
- data/generated/google/apis/dialogflow_v2beta1/service.rb +39 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +3 -4
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +2 -2
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +9 -4
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +8 -0
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1/service.rb +2 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +8 -0
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1/service.rb +2 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +41 -4
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +22 -14
- data/generated/google/apis/fitness_v1.rb +19 -19
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +136 -100
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +124 -119
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +87 -41
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +62 -29
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +62 -29
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +114 -49
- data/generated/google/apis/ml_v1/representations.rb +2 -0
- data/generated/google/apis/ml_v1/service.rb +12 -6
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +14 -10
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +12 -0
- data/generated/google/apis/oslogin_v1/representations.rb +2 -0
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +12 -0
- data/generated/google/apis/oslogin_v1alpha/representations.rb +2 -0
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +12 -0
- data/generated/google/apis/oslogin_v1beta/representations.rb +2 -0
- data/generated/google/apis/policytroubleshooter_v1beta.rb +34 -0
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +621 -0
- data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +203 -0
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +91 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +7 -4
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +60 -58
- data/generated/google/apis/recommender_v1beta1.rb +34 -0
- data/generated/google/apis/recommender_v1beta1/classes.rb +502 -0
- data/generated/google/apis/recommender_v1beta1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1beta1/service.rb +262 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +49 -1100
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -276
- data/generated/google/apis/remotebuildexecution_v1/service.rb +0 -77
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +12 -990
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -245
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +12 -990
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -245
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +3553 -33
- data/generated/google/apis/run_v1/representations.rb +1186 -4
- data/generated/google/apis/run_v1/service.rb +2509 -23
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +103 -140
- data/generated/google/apis/run_v1alpha1/representations.rb +5 -43
- data/generated/google/apis/run_v1beta1.rb +35 -0
- data/generated/google/apis/run_v1beta1/classes.rb +1209 -0
- data/generated/google/apis/run_v1beta1/representations.rb +421 -0
- data/generated/google/apis/run_v1beta1/service.rb +172 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +62 -29
- data/generated/google/apis/safebrowsing_v4.rb +5 -2
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +70 -35
- data/generated/google/apis/securitycenter_v1/service.rb +13 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +71 -35
- data/generated/google/apis/securitycenter_v1beta1/service.rb +13 -12
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +62 -29
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +62 -29
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +62 -29
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +11 -2
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +63 -33
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +11 -2
- data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +11 -2
- 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 +11 -2
- 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 +11 -2
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +78 -2
- data/generated/google/apis/spanner_v1/representations.rb +44 -0
- data/generated/google/apis/spanner_v1/service.rb +35 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +73 -19
- data/generated/google/apis/speech_v1/representations.rb +18 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +31 -35
- data/generated/google/apis/speech_v2beta.rb +1 -1
- data/generated/google/apis/speech_v2beta/classes.rb +6 -6
- data/generated/google/apis/speech_v2beta/representations.rb +2 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +1 -1
- data/generated/google/apis/storage_v1/representations.rb +2 -1
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +9 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +42 -0
- data/generated/google/apis/testing_v1/representations.rb +18 -0
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +6 -5
- data/generated/google/apis/texttospeech_v1/service.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +6 -5
- data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +22 -16
- data/generated/google/apis/translate_v3beta1/service.rb +31 -31
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +45 -10
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +6 -156
- data/generated/google/apis/vision_v1/representations.rb +0 -44
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -156
- data/generated/google/apis/vision_v1p1beta1/representations.rb +0 -44
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +6 -156
- data/generated/google/apis/vision_v1p2beta1/representations.rb +0 -44
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +21 -31
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +30 -42
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +0 -83
- data/generated/google/apis/youtube_partner_v1/representations.rb +0 -35
- data/generated/google/apis/youtube_partner_v1/service.rb +0 -100
- data/lib/google/apis/version.rb +1 -1
- metadata +18 -6
- data/generated/google/apis/dfareporting_v3_1.rb +0 -40
- data/generated/google/apis/dfareporting_v3_1/classes.rb +0 -11998
- data/generated/google/apis/dfareporting_v3_1/representations.rb +0 -4313
- data/generated/google/apis/dfareporting_v3_1/service.rb +0 -8688
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
|
28
28
|
module ServicebrokerV1alpha1
|
29
29
|
VERSION = 'V1alpha1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20190924'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -776,25 +776,34 @@ module Google
|
|
776
776
|
|
777
777
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
778
778
|
# specify access control policies for Cloud Platform resources.
|
779
|
-
# A `Policy`
|
780
|
-
# `members` to a `role
|
781
|
-
# Google
|
782
|
-
# defined by IAM.
|
779
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
780
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
781
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
782
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
783
|
+
# optionally specify a `condition`, which is a logic expression that further
|
784
|
+
# constrains the role binding based on attributes about the request and/or
|
785
|
+
# target resource.
|
783
786
|
# **JSON Example**
|
784
787
|
# `
|
785
788
|
# "bindings": [
|
786
789
|
# `
|
787
|
-
# "role": "roles/
|
790
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
788
791
|
# "members": [
|
789
792
|
# "user:mike@example.com",
|
790
793
|
# "group:admins@example.com",
|
791
794
|
# "domain:google.com",
|
792
|
-
# "serviceAccount:my-
|
795
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
793
796
|
# ]
|
794
797
|
# `,
|
795
798
|
# `
|
796
|
-
# "role": "roles/
|
797
|
-
# "members": ["user:
|
799
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
800
|
+
# "members": ["user:eve@example.com"],
|
801
|
+
# "condition": `
|
802
|
+
# "title": "expirable access",
|
803
|
+
# "description": "Does not grant access after Sep 2020",
|
804
|
+
# "expression": "request.time <
|
805
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
806
|
+
# `
|
798
807
|
# `
|
799
808
|
# ]
|
800
809
|
# `
|
@@ -804,17 +813,22 @@ module Google
|
|
804
813
|
# - user:mike@example.com
|
805
814
|
# - group:admins@example.com
|
806
815
|
# - domain:google.com
|
807
|
-
# - serviceAccount:my-
|
808
|
-
# role: roles/
|
816
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
817
|
+
# role: roles/resourcemanager.organizationAdmin
|
809
818
|
# - members:
|
810
|
-
# - user:
|
811
|
-
# role: roles/
|
819
|
+
# - user:eve@example.com
|
820
|
+
# role: roles/resourcemanager.organizationViewer
|
821
|
+
# condition:
|
822
|
+
# title: expirable access
|
823
|
+
# description: Does not grant access after Sep 2020
|
824
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
812
825
|
# For a description of IAM and its features, see the
|
813
826
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
814
827
|
class GoogleIamV1Policy
|
815
828
|
include Google::Apis::Core::Hashable
|
816
829
|
|
817
|
-
# Associates a list of `members` to a `role`.
|
830
|
+
# Associates a list of `members` to a `role`. Optionally may specify a
|
831
|
+
# `condition` that determines when binding is in effect.
|
818
832
|
# `bindings` with no members will result in an error.
|
819
833
|
# Corresponds to the JSON property `bindings`
|
820
834
|
# @return [Array<Google::Apis::ServicebrokerV1alpha1::GoogleIamV1Binding>]
|
@@ -828,7 +842,9 @@ module Google
|
|
828
842
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
829
843
|
# ensure that their change will be applied to the same version of the policy.
|
830
844
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
831
|
-
# policy is overwritten.
|
845
|
+
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
846
|
+
# 'setIamPolicy' will not fail even if either of incoming or stored policy
|
847
|
+
# does not meet the version requirements.
|
832
848
|
# Corresponds to the JSON property `etag`
|
833
849
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
834
850
|
# @return [String]
|
@@ -837,9 +853,13 @@ module Google
|
|
837
853
|
# Specifies the format of the policy.
|
838
854
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
839
855
|
# rejected.
|
840
|
-
#
|
841
|
-
#
|
842
|
-
#
|
856
|
+
# Operations affecting conditional bindings must specify version 3. This can
|
857
|
+
# be either setting a conditional policy, modifying a conditional binding,
|
858
|
+
# or removing a conditional binding from the stored conditional policy.
|
859
|
+
# Operations on non-conditional policies may specify any valid value or
|
860
|
+
# leave the field unset.
|
861
|
+
# If no etag is provided in the call to `setIamPolicy`, any version
|
862
|
+
# compliance checks on the incoming and/or stored policy is skipped.
|
843
863
|
# Corresponds to the JSON property `version`
|
844
864
|
# @return [Fixnum]
|
845
865
|
attr_accessor :version
|
@@ -862,25 +882,34 @@ module Google
|
|
862
882
|
|
863
883
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
864
884
|
# specify access control policies for Cloud Platform resources.
|
865
|
-
# A `Policy`
|
866
|
-
# `members` to a `role
|
867
|
-
# Google
|
868
|
-
# defined by IAM.
|
885
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
886
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
887
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
888
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
889
|
+
# optionally specify a `condition`, which is a logic expression that further
|
890
|
+
# constrains the role binding based on attributes about the request and/or
|
891
|
+
# target resource.
|
869
892
|
# **JSON Example**
|
870
893
|
# `
|
871
894
|
# "bindings": [
|
872
895
|
# `
|
873
|
-
# "role": "roles/
|
896
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
874
897
|
# "members": [
|
875
898
|
# "user:mike@example.com",
|
876
899
|
# "group:admins@example.com",
|
877
900
|
# "domain:google.com",
|
878
|
-
# "serviceAccount:my-
|
901
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
879
902
|
# ]
|
880
903
|
# `,
|
881
904
|
# `
|
882
|
-
# "role": "roles/
|
883
|
-
# "members": ["user:
|
905
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
906
|
+
# "members": ["user:eve@example.com"],
|
907
|
+
# "condition": `
|
908
|
+
# "title": "expirable access",
|
909
|
+
# "description": "Does not grant access after Sep 2020",
|
910
|
+
# "expression": "request.time <
|
911
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
912
|
+
# `
|
884
913
|
# `
|
885
914
|
# ]
|
886
915
|
# `
|
@@ -890,11 +919,15 @@ module Google
|
|
890
919
|
# - user:mike@example.com
|
891
920
|
# - group:admins@example.com
|
892
921
|
# - domain:google.com
|
893
|
-
# - serviceAccount:my-
|
894
|
-
# role: roles/
|
922
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
923
|
+
# role: roles/resourcemanager.organizationAdmin
|
895
924
|
# - members:
|
896
|
-
# - user:
|
897
|
-
# role: roles/
|
925
|
+
# - user:eve@example.com
|
926
|
+
# role: roles/resourcemanager.organizationViewer
|
927
|
+
# condition:
|
928
|
+
# title: expirable access
|
929
|
+
# description: Does not grant access after Sep 2020
|
930
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
898
931
|
# For a description of IAM and its features, see the
|
899
932
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
900
933
|
# Corresponds to the JSON property `policy`
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
|
28
28
|
module ServicebrokerV1beta1
|
29
29
|
VERSION = 'V1beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20190924'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -893,25 +893,34 @@ module Google
|
|
893
893
|
|
894
894
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
895
895
|
# specify access control policies for Cloud Platform resources.
|
896
|
-
# A `Policy`
|
897
|
-
# `members` to a `role
|
898
|
-
# Google
|
899
|
-
# defined by IAM.
|
896
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
897
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
898
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
899
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
900
|
+
# optionally specify a `condition`, which is a logic expression that further
|
901
|
+
# constrains the role binding based on attributes about the request and/or
|
902
|
+
# target resource.
|
900
903
|
# **JSON Example**
|
901
904
|
# `
|
902
905
|
# "bindings": [
|
903
906
|
# `
|
904
|
-
# "role": "roles/
|
907
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
905
908
|
# "members": [
|
906
909
|
# "user:mike@example.com",
|
907
910
|
# "group:admins@example.com",
|
908
911
|
# "domain:google.com",
|
909
|
-
# "serviceAccount:my-
|
912
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
910
913
|
# ]
|
911
914
|
# `,
|
912
915
|
# `
|
913
|
-
# "role": "roles/
|
914
|
-
# "members": ["user:
|
916
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
917
|
+
# "members": ["user:eve@example.com"],
|
918
|
+
# "condition": `
|
919
|
+
# "title": "expirable access",
|
920
|
+
# "description": "Does not grant access after Sep 2020",
|
921
|
+
# "expression": "request.time <
|
922
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
923
|
+
# `
|
915
924
|
# `
|
916
925
|
# ]
|
917
926
|
# `
|
@@ -921,17 +930,22 @@ module Google
|
|
921
930
|
# - user:mike@example.com
|
922
931
|
# - group:admins@example.com
|
923
932
|
# - domain:google.com
|
924
|
-
# - serviceAccount:my-
|
925
|
-
# role: roles/
|
933
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
934
|
+
# role: roles/resourcemanager.organizationAdmin
|
926
935
|
# - members:
|
927
|
-
# - user:
|
928
|
-
# role: roles/
|
936
|
+
# - user:eve@example.com
|
937
|
+
# role: roles/resourcemanager.organizationViewer
|
938
|
+
# condition:
|
939
|
+
# title: expirable access
|
940
|
+
# description: Does not grant access after Sep 2020
|
941
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
929
942
|
# For a description of IAM and its features, see the
|
930
943
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
931
944
|
class GoogleIamV1Policy
|
932
945
|
include Google::Apis::Core::Hashable
|
933
946
|
|
934
|
-
# Associates a list of `members` to a `role`.
|
947
|
+
# Associates a list of `members` to a `role`. Optionally may specify a
|
948
|
+
# `condition` that determines when binding is in effect.
|
935
949
|
# `bindings` with no members will result in an error.
|
936
950
|
# Corresponds to the JSON property `bindings`
|
937
951
|
# @return [Array<Google::Apis::ServicebrokerV1beta1::GoogleIamV1Binding>]
|
@@ -945,7 +959,9 @@ module Google
|
|
945
959
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
946
960
|
# ensure that their change will be applied to the same version of the policy.
|
947
961
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
948
|
-
# policy is overwritten.
|
962
|
+
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
963
|
+
# 'setIamPolicy' will not fail even if either of incoming or stored policy
|
964
|
+
# does not meet the version requirements.
|
949
965
|
# Corresponds to the JSON property `etag`
|
950
966
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
951
967
|
# @return [String]
|
@@ -954,9 +970,13 @@ module Google
|
|
954
970
|
# Specifies the format of the policy.
|
955
971
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
956
972
|
# rejected.
|
957
|
-
#
|
958
|
-
#
|
959
|
-
#
|
973
|
+
# Operations affecting conditional bindings must specify version 3. This can
|
974
|
+
# be either setting a conditional policy, modifying a conditional binding,
|
975
|
+
# or removing a conditional binding from the stored conditional policy.
|
976
|
+
# Operations on non-conditional policies may specify any valid value or
|
977
|
+
# leave the field unset.
|
978
|
+
# If no etag is provided in the call to `setIamPolicy`, any version
|
979
|
+
# compliance checks on the incoming and/or stored policy is skipped.
|
960
980
|
# Corresponds to the JSON property `version`
|
961
981
|
# @return [Fixnum]
|
962
982
|
attr_accessor :version
|
@@ -979,25 +999,34 @@ module Google
|
|
979
999
|
|
980
1000
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
981
1001
|
# specify access control policies for Cloud Platform resources.
|
982
|
-
# A `Policy`
|
983
|
-
# `members` to a `role
|
984
|
-
# Google
|
985
|
-
# defined by IAM.
|
1002
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
1003
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
1004
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1005
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
1006
|
+
# optionally specify a `condition`, which is a logic expression that further
|
1007
|
+
# constrains the role binding based on attributes about the request and/or
|
1008
|
+
# target resource.
|
986
1009
|
# **JSON Example**
|
987
1010
|
# `
|
988
1011
|
# "bindings": [
|
989
1012
|
# `
|
990
|
-
# "role": "roles/
|
1013
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
991
1014
|
# "members": [
|
992
1015
|
# "user:mike@example.com",
|
993
1016
|
# "group:admins@example.com",
|
994
1017
|
# "domain:google.com",
|
995
|
-
# "serviceAccount:my-
|
1018
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
996
1019
|
# ]
|
997
1020
|
# `,
|
998
1021
|
# `
|
999
|
-
# "role": "roles/
|
1000
|
-
# "members": ["user:
|
1022
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
1023
|
+
# "members": ["user:eve@example.com"],
|
1024
|
+
# "condition": `
|
1025
|
+
# "title": "expirable access",
|
1026
|
+
# "description": "Does not grant access after Sep 2020",
|
1027
|
+
# "expression": "request.time <
|
1028
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
1029
|
+
# `
|
1001
1030
|
# `
|
1002
1031
|
# ]
|
1003
1032
|
# `
|
@@ -1007,11 +1036,15 @@ module Google
|
|
1007
1036
|
# - user:mike@example.com
|
1008
1037
|
# - group:admins@example.com
|
1009
1038
|
# - domain:google.com
|
1010
|
-
# - serviceAccount:my-
|
1011
|
-
# role: roles/
|
1039
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1040
|
+
# role: roles/resourcemanager.organizationAdmin
|
1012
1041
|
# - members:
|
1013
|
-
# - user:
|
1014
|
-
# role: roles/
|
1042
|
+
# - user:eve@example.com
|
1043
|
+
# role: roles/resourcemanager.organizationViewer
|
1044
|
+
# condition:
|
1045
|
+
# title: expirable access
|
1046
|
+
# description: Does not grant access after Sep 2020
|
1047
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1015
1048
|
# For a description of IAM and its features, see the
|
1016
1049
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
1017
1050
|
# Corresponds to the JSON property `policy`
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
26
26
|
module ServiceconsumermanagementV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190920'
|
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'
|
@@ -1887,6 +1887,15 @@ module Google
|
|
1887
1887
|
# @return [String]
|
1888
1888
|
attr_accessor :metric_kind
|
1889
1889
|
|
1890
|
+
# Read-only. If present, then a time
|
1891
|
+
# series, which is identified partially by
|
1892
|
+
# a metric type and a MonitoredResourceDescriptor, that is associated
|
1893
|
+
# with this metric type can only be associated with one of the monitored
|
1894
|
+
# resource types listed here.
|
1895
|
+
# Corresponds to the JSON property `monitoredResourceTypes`
|
1896
|
+
# @return [Array<String>]
|
1897
|
+
attr_accessor :monitored_resource_types
|
1898
|
+
|
1890
1899
|
# The resource name of the metric descriptor.
|
1891
1900
|
# Corresponds to the JSON property `name`
|
1892
1901
|
# @return [String]
|
@@ -1977,6 +1986,7 @@ module Google
|
|
1977
1986
|
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
|
1978
1987
|
@metadata = args[:metadata] if args.key?(:metadata)
|
1979
1988
|
@metric_kind = args[:metric_kind] if args.key?(:metric_kind)
|
1989
|
+
@monitored_resource_types = args[:monitored_resource_types] if args.key?(:monitored_resource_types)
|
1980
1990
|
@name = args[:name] if args.key?(:name)
|
1981
1991
|
@type = args[:type] if args.key?(:type)
|
1982
1992
|
@unit = args[:unit] if args.key?(:unit)
|
@@ -1995,8 +2005,7 @@ module Google
|
|
1995
2005
|
# @return [String]
|
1996
2006
|
attr_accessor :ingest_delay
|
1997
2007
|
|
1998
|
-
# Deprecated.
|
1999
|
-
# The launch stage of the metric definition.
|
2008
|
+
# Deprecated. Must use the MetricDescriptor.launch_stage instead.
|
2000
2009
|
# Corresponds to the JSON property `launchStage`
|
2001
2010
|
# @return [String]
|
2002
2011
|
attr_accessor :launch_stage
|
@@ -909,6 +909,7 @@ module Google
|
|
909
909
|
property :metadata, as: 'metadata', class: Google::Apis::ServiceconsumermanagementV1::MetricDescriptorMetadata, decorator: Google::Apis::ServiceconsumermanagementV1::MetricDescriptorMetadata::Representation
|
910
910
|
|
911
911
|
property :metric_kind, as: 'metricKind'
|
912
|
+
collection :monitored_resource_types, as: 'monitoredResourceTypes'
|
912
913
|
property :name, as: 'name'
|
913
914
|
property :type, as: 'type'
|
914
915
|
property :unit, as: 'unit'
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/service-management/
|
28
28
|
module ServicemanagementV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20190920'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -3043,25 +3043,34 @@ module Google
|
|
3043
3043
|
|
3044
3044
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
3045
3045
|
# specify access control policies for Cloud Platform resources.
|
3046
|
-
# A `Policy`
|
3047
|
-
# `members` to a `role
|
3048
|
-
# Google
|
3049
|
-
# defined by IAM.
|
3046
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
3047
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
3048
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
3049
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
3050
|
+
# optionally specify a `condition`, which is a logic expression that further
|
3051
|
+
# constrains the role binding based on attributes about the request and/or
|
3052
|
+
# target resource.
|
3050
3053
|
# **JSON Example**
|
3051
3054
|
# `
|
3052
3055
|
# "bindings": [
|
3053
3056
|
# `
|
3054
|
-
# "role": "
|
3057
|
+
# "role": "role/resourcemanager.organizationAdmin",
|
3055
3058
|
# "members": [
|
3056
3059
|
# "user:mike@example.com",
|
3057
3060
|
# "group:admins@example.com",
|
3058
3061
|
# "domain:google.com",
|
3059
|
-
# "serviceAccount:my-
|
3062
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
3060
3063
|
# ]
|
3061
3064
|
# `,
|
3062
3065
|
# `
|
3063
|
-
# "role": "roles/
|
3064
|
-
# "members": ["user:
|
3066
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
3067
|
+
# "members": ["user:eve@example.com"],
|
3068
|
+
# "condition": `
|
3069
|
+
# "title": "expirable access",
|
3070
|
+
# "description": "Does not grant access after Sep 2020",
|
3071
|
+
# "expression": "request.time <
|
3072
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
3073
|
+
# `
|
3065
3074
|
# `
|
3066
3075
|
# ]
|
3067
3076
|
# `
|
@@ -3071,11 +3080,15 @@ module Google
|
|
3071
3080
|
# - user:mike@example.com
|
3072
3081
|
# - group:admins@example.com
|
3073
3082
|
# - domain:google.com
|
3074
|
-
# - serviceAccount:my-
|
3075
|
-
# role: roles/
|
3083
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3084
|
+
# role: roles/resourcemanager.organizationAdmin
|
3076
3085
|
# - members:
|
3077
|
-
# - user:
|
3078
|
-
# role: roles/
|
3086
|
+
# - user:eve@example.com
|
3087
|
+
# role: roles/resourcemanager.organizationViewer
|
3088
|
+
# condition:
|
3089
|
+
# title: expirable access
|
3090
|
+
# description: Does not grant access after Sep 2020
|
3091
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
3079
3092
|
# For a description of IAM and its features, see the
|
3080
3093
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
3081
3094
|
class Policy
|
@@ -3086,7 +3099,8 @@ module Google
|
|
3086
3099
|
# @return [Array<Google::Apis::ServicemanagementV1::AuditConfig>]
|
3087
3100
|
attr_accessor :audit_configs
|
3088
3101
|
|
3089
|
-
# Associates a list of `members` to a `role`.
|
3102
|
+
# Associates a list of `members` to a `role`. Optionally may specify a
|
3103
|
+
# `condition` that determines when binding is in effect.
|
3090
3104
|
# `bindings` with no members will result in an error.
|
3091
3105
|
# Corresponds to the JSON property `bindings`
|
3092
3106
|
# @return [Array<Google::Apis::ServicemanagementV1::Binding>]
|
@@ -3100,7 +3114,9 @@ module Google
|
|
3100
3114
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
3101
3115
|
# ensure that their change will be applied to the same version of the policy.
|
3102
3116
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
3103
|
-
# policy is overwritten.
|
3117
|
+
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
3118
|
+
# 'setIamPolicy' will not fail even if either of incoming or stored policy
|
3119
|
+
# does not meet the version requirements.
|
3104
3120
|
# Corresponds to the JSON property `etag`
|
3105
3121
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
3106
3122
|
# @return [String]
|
@@ -3109,9 +3125,13 @@ module Google
|
|
3109
3125
|
# Specifies the format of the policy.
|
3110
3126
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
3111
3127
|
# rejected.
|
3112
|
-
#
|
3113
|
-
#
|
3114
|
-
#
|
3128
|
+
# Operations affecting conditional bindings must specify version 3. This can
|
3129
|
+
# be either setting a conditional policy, modifying a conditional binding,
|
3130
|
+
# or removing a conditional binding from the stored conditional policy.
|
3131
|
+
# Operations on non-conditional policies may specify any valid value or
|
3132
|
+
# leave the field unset.
|
3133
|
+
# If no etag is provided in the call to `setIamPolicy`, any version
|
3134
|
+
# compliance checks on the incoming and/or stored policy is skipped.
|
3115
3135
|
# Corresponds to the JSON property `version`
|
3116
3136
|
# @return [Fixnum]
|
3117
3137
|
attr_accessor :version
|
@@ -3227,10 +3247,7 @@ module Google
|
|
3227
3247
|
# @return [String]
|
3228
3248
|
attr_accessor :display_name
|
3229
3249
|
|
3230
|
-
# Duration of this limit in textual notation.
|
3231
|
-
# For duration longer than a day, only multiple of days is supported. We
|
3232
|
-
# support only "100s" and "1d" for now. Additional support will be added in
|
3233
|
-
# the future. "0" indicates indefinite duration.
|
3250
|
+
# Duration of this limit in textual notation. Must be "100s" or "1d".
|
3234
3251
|
# Used by group-based quotas only.
|
3235
3252
|
# Corresponds to the JSON property `duration`
|
3236
3253
|
# @return [String]
|
@@ -3851,25 +3868,34 @@ module Google
|
|
3851
3868
|
|
3852
3869
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
3853
3870
|
# specify access control policies for Cloud Platform resources.
|
3854
|
-
# A `Policy`
|
3855
|
-
# `members` to a `role
|
3856
|
-
# Google
|
3857
|
-
# defined by IAM.
|
3871
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
3872
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
3873
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
3874
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
3875
|
+
# optionally specify a `condition`, which is a logic expression that further
|
3876
|
+
# constrains the role binding based on attributes about the request and/or
|
3877
|
+
# target resource.
|
3858
3878
|
# **JSON Example**
|
3859
3879
|
# `
|
3860
3880
|
# "bindings": [
|
3861
3881
|
# `
|
3862
|
-
# "role": "
|
3882
|
+
# "role": "role/resourcemanager.organizationAdmin",
|
3863
3883
|
# "members": [
|
3864
3884
|
# "user:mike@example.com",
|
3865
3885
|
# "group:admins@example.com",
|
3866
3886
|
# "domain:google.com",
|
3867
|
-
# "serviceAccount:my-
|
3887
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
3868
3888
|
# ]
|
3869
3889
|
# `,
|
3870
3890
|
# `
|
3871
|
-
# "role": "roles/
|
3872
|
-
# "members": ["user:
|
3891
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
3892
|
+
# "members": ["user:eve@example.com"],
|
3893
|
+
# "condition": `
|
3894
|
+
# "title": "expirable access",
|
3895
|
+
# "description": "Does not grant access after Sep 2020",
|
3896
|
+
# "expression": "request.time <
|
3897
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
3898
|
+
# `
|
3873
3899
|
# `
|
3874
3900
|
# ]
|
3875
3901
|
# `
|
@@ -3879,11 +3905,15 @@ module Google
|
|
3879
3905
|
# - user:mike@example.com
|
3880
3906
|
# - group:admins@example.com
|
3881
3907
|
# - domain:google.com
|
3882
|
-
# - serviceAccount:my-
|
3883
|
-
# role: roles/
|
3908
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3909
|
+
# role: roles/resourcemanager.organizationAdmin
|
3884
3910
|
# - members:
|
3885
|
-
# - user:
|
3886
|
-
# role: roles/
|
3911
|
+
# - user:eve@example.com
|
3912
|
+
# role: roles/resourcemanager.organizationViewer
|
3913
|
+
# condition:
|
3914
|
+
# title: expirable access
|
3915
|
+
# description: Does not grant access after Sep 2020
|
3916
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
3887
3917
|
# For a description of IAM and its features, see the
|
3888
3918
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
3889
3919
|
# Corresponds to the JSON property `policy`
|