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
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
27
27
|
module ContainerV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190906'
|
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'
|
@@ -139,6 +139,27 @@ module Google
|
|
139
139
|
end
|
140
140
|
end
|
141
141
|
|
142
|
+
# Configuration for Binary Authorization.
|
143
|
+
class BinaryAuthorization
|
144
|
+
include Google::Apis::Core::Hashable
|
145
|
+
|
146
|
+
# Enable Binary Authorization for this cluster. If enabled, all container
|
147
|
+
# images will be validated by Binary Authorization.
|
148
|
+
# Corresponds to the JSON property `enabled`
|
149
|
+
# @return [Boolean]
|
150
|
+
attr_accessor :enabled
|
151
|
+
alias_method :enabled?, :enabled
|
152
|
+
|
153
|
+
def initialize(**args)
|
154
|
+
update!(**args)
|
155
|
+
end
|
156
|
+
|
157
|
+
# Update properties of this object
|
158
|
+
def update!(**args)
|
159
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
142
163
|
# CancelOperationRequest cancels a single operation.
|
143
164
|
class CancelOperationRequest
|
144
165
|
include Google::Apis::Core::Hashable
|
@@ -237,6 +258,11 @@ module Google
|
|
237
258
|
# @return [Google::Apis::ContainerV1::AddonsConfig]
|
238
259
|
attr_accessor :addons_config
|
239
260
|
|
261
|
+
# Configuration for Binary Authorization.
|
262
|
+
# Corresponds to the JSON property `binaryAuthorization`
|
263
|
+
# @return [Google::Apis::ContainerV1::BinaryAuthorization]
|
264
|
+
attr_accessor :binary_authorization
|
265
|
+
|
240
266
|
# The IP address range of the container pods in this cluster, in
|
241
267
|
# [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
|
242
268
|
# notation (e.g. `10.96.0.0/14`). Leave blank to have
|
@@ -277,6 +303,11 @@ module Google
|
|
277
303
|
# @return [String]
|
278
304
|
attr_accessor :current_node_version
|
279
305
|
|
306
|
+
# Configuration of etcd encryption.
|
307
|
+
# Corresponds to the JSON property `databaseEncryption`
|
308
|
+
# @return [Google::Apis::ContainerV1::DatabaseEncryption]
|
309
|
+
attr_accessor :database_encryption
|
310
|
+
|
280
311
|
# Constraints applied to pods.
|
281
312
|
# Corresponds to the JSON property `defaultMaxPodsConstraint`
|
282
313
|
# @return [Google::Apis::ContainerV1::MaxPodsConstraint]
|
@@ -541,12 +572,14 @@ module Google
|
|
541
572
|
# Update properties of this object
|
542
573
|
def update!(**args)
|
543
574
|
@addons_config = args[:addons_config] if args.key?(:addons_config)
|
575
|
+
@binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization)
|
544
576
|
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
|
545
577
|
@conditions = args[:conditions] if args.key?(:conditions)
|
546
578
|
@create_time = args[:create_time] if args.key?(:create_time)
|
547
579
|
@current_master_version = args[:current_master_version] if args.key?(:current_master_version)
|
548
580
|
@current_node_count = args[:current_node_count] if args.key?(:current_node_count)
|
549
581
|
@current_node_version = args[:current_node_version] if args.key?(:current_node_version)
|
582
|
+
@database_encryption = args[:database_encryption] if args.key?(:database_encryption)
|
550
583
|
@default_max_pods_constraint = args[:default_max_pods_constraint] if args.key?(:default_max_pods_constraint)
|
551
584
|
@description = args[:description] if args.key?(:description)
|
552
585
|
@enable_kubernetes_alpha = args[:enable_kubernetes_alpha] if args.key?(:enable_kubernetes_alpha)
|
@@ -598,6 +631,16 @@ module Google
|
|
598
631
|
# @return [Google::Apis::ContainerV1::AddonsConfig]
|
599
632
|
attr_accessor :desired_addons_config
|
600
633
|
|
634
|
+
# Configuration for Binary Authorization.
|
635
|
+
# Corresponds to the JSON property `desiredBinaryAuthorization`
|
636
|
+
# @return [Google::Apis::ContainerV1::BinaryAuthorization]
|
637
|
+
attr_accessor :desired_binary_authorization
|
638
|
+
|
639
|
+
# Configuration of etcd encryption.
|
640
|
+
# Corresponds to the JSON property `desiredDatabaseEncryption`
|
641
|
+
# @return [Google::Apis::ContainerV1::DatabaseEncryption]
|
642
|
+
attr_accessor :desired_database_encryption
|
643
|
+
|
601
644
|
# The desired image type for the node pool.
|
602
645
|
# NOTE: Set the "desired_node_pool" field as well.
|
603
646
|
# Corresponds to the JSON property `desiredImageType`
|
@@ -699,6 +742,8 @@ module Google
|
|
699
742
|
# Update properties of this object
|
700
743
|
def update!(**args)
|
701
744
|
@desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
|
745
|
+
@desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
|
746
|
+
@desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
|
702
747
|
@desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
|
703
748
|
@desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
|
704
749
|
@desired_locations = args[:desired_locations] if args.key?(:desired_locations)
|
@@ -908,6 +953,32 @@ module Google
|
|
908
953
|
end
|
909
954
|
end
|
910
955
|
|
956
|
+
# Configuration of etcd encryption.
|
957
|
+
class DatabaseEncryption
|
958
|
+
include Google::Apis::Core::Hashable
|
959
|
+
|
960
|
+
# Name of CloudKMS key to use for the encryption of secrets in etcd.
|
961
|
+
# Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
|
962
|
+
# Corresponds to the JSON property `keyName`
|
963
|
+
# @return [String]
|
964
|
+
attr_accessor :key_name
|
965
|
+
|
966
|
+
# Denotes the state of etcd encryption.
|
967
|
+
# Corresponds to the JSON property `state`
|
968
|
+
# @return [String]
|
969
|
+
attr_accessor :state
|
970
|
+
|
971
|
+
def initialize(**args)
|
972
|
+
update!(**args)
|
973
|
+
end
|
974
|
+
|
975
|
+
# Update properties of this object
|
976
|
+
def update!(**args)
|
977
|
+
@key_name = args[:key_name] if args.key?(:key_name)
|
978
|
+
@state = args[:state] if args.key?(:state)
|
979
|
+
end
|
980
|
+
end
|
981
|
+
|
911
982
|
# A generic empty message that you can re-use to avoid defining duplicated
|
912
983
|
# empty messages in your APIs. A typical example is to use it as the request
|
913
984
|
# or the response type of an API method. For instance:
|
@@ -1831,6 +1902,11 @@ module Google
|
|
1831
1902
|
# @return [String]
|
1832
1903
|
attr_accessor :service_account
|
1833
1904
|
|
1905
|
+
# A set of Shielded Instance options.
|
1906
|
+
# Corresponds to the JSON property `shieldedInstanceConfig`
|
1907
|
+
# @return [Google::Apis::ContainerV1::ShieldedInstanceConfig]
|
1908
|
+
attr_accessor :shielded_instance_config
|
1909
|
+
|
1834
1910
|
# The list of instance tags applied to all nodes. Tags are used to identify
|
1835
1911
|
# valid sources or targets for network firewalls and are specified by
|
1836
1912
|
# the client during cluster or node pool creation. Each tag within the list
|
@@ -1864,6 +1940,7 @@ module Google
|
|
1864
1940
|
@oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
|
1865
1941
|
@preemptible = args[:preemptible] if args.key?(:preemptible)
|
1866
1942
|
@service_account = args[:service_account] if args.key?(:service_account)
|
1943
|
+
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
|
1867
1944
|
@tags = args[:tags] if args.key?(:tags)
|
1868
1945
|
@taints = args[:taints] if args.key?(:taints)
|
1869
1946
|
end
|
@@ -3026,6 +3103,40 @@ module Google
|
|
3026
3103
|
end
|
3027
3104
|
end
|
3028
3105
|
|
3106
|
+
# A set of Shielded Instance options.
|
3107
|
+
class ShieldedInstanceConfig
|
3108
|
+
include Google::Apis::Core::Hashable
|
3109
|
+
|
3110
|
+
# Defines whether the instance has integrity monitoring enabled.
|
3111
|
+
# Enables monitoring and attestation of the boot integrity of the instance.
|
3112
|
+
# The attestation is performed against the integrity policy baseline. This
|
3113
|
+
# baseline is initially derived from the implicitly trusted boot image when
|
3114
|
+
# the instance is created.
|
3115
|
+
# Corresponds to the JSON property `enableIntegrityMonitoring`
|
3116
|
+
# @return [Boolean]
|
3117
|
+
attr_accessor :enable_integrity_monitoring
|
3118
|
+
alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
|
3119
|
+
|
3120
|
+
# Defines whether the instance has Secure Boot enabled.
|
3121
|
+
# Secure Boot helps ensure that the system only runs authentic software by
|
3122
|
+
# verifying the digital signature of all boot components, and halting the
|
3123
|
+
# boot process if signature verification fails.
|
3124
|
+
# Corresponds to the JSON property `enableSecureBoot`
|
3125
|
+
# @return [Boolean]
|
3126
|
+
attr_accessor :enable_secure_boot
|
3127
|
+
alias_method :enable_secure_boot?, :enable_secure_boot
|
3128
|
+
|
3129
|
+
def initialize(**args)
|
3130
|
+
update!(**args)
|
3131
|
+
end
|
3132
|
+
|
3133
|
+
# Update properties of this object
|
3134
|
+
def update!(**args)
|
3135
|
+
@enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring)
|
3136
|
+
@enable_secure_boot = args[:enable_secure_boot] if args.key?(:enable_secure_boot)
|
3137
|
+
end
|
3138
|
+
end
|
3139
|
+
|
3029
3140
|
# StartIPRotationRequest creates a new IP for the cluster and then performs
|
3030
3141
|
# a node upgrade on each node pool to point to the new IP.
|
3031
3142
|
class StartIpRotationRequest
|
@@ -46,6 +46,12 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
+
class BinaryAuthorization
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
49
55
|
class CancelOperationRequest
|
50
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
57
|
|
@@ -106,6 +112,12 @@ module Google
|
|
106
112
|
include Google::Apis::Core::JsonObjectSupport
|
107
113
|
end
|
108
114
|
|
115
|
+
class DatabaseEncryption
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
109
121
|
class Empty
|
110
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
123
|
|
@@ -376,6 +388,12 @@ module Google
|
|
376
388
|
include Google::Apis::Core::JsonObjectSupport
|
377
389
|
end
|
378
390
|
|
391
|
+
class ShieldedInstanceConfig
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
379
397
|
class StartIpRotationRequest
|
380
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
399
|
|
@@ -455,6 +473,13 @@ module Google
|
|
455
473
|
end
|
456
474
|
end
|
457
475
|
|
476
|
+
class BinaryAuthorization
|
477
|
+
# @private
|
478
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
479
|
+
property :enabled, as: 'enabled'
|
480
|
+
end
|
481
|
+
end
|
482
|
+
|
458
483
|
class CancelOperationRequest
|
459
484
|
# @private
|
460
485
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -485,6 +510,8 @@ module Google
|
|
485
510
|
class Representation < Google::Apis::Core::JsonRepresentation
|
486
511
|
property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation
|
487
512
|
|
513
|
+
property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::ContainerV1::BinaryAuthorization, decorator: Google::Apis::ContainerV1::BinaryAuthorization::Representation
|
514
|
+
|
488
515
|
property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr'
|
489
516
|
collection :conditions, as: 'conditions', class: Google::Apis::ContainerV1::StatusCondition, decorator: Google::Apis::ContainerV1::StatusCondition::Representation
|
490
517
|
|
@@ -492,6 +519,8 @@ module Google
|
|
492
519
|
property :current_master_version, as: 'currentMasterVersion'
|
493
520
|
property :current_node_count, as: 'currentNodeCount'
|
494
521
|
property :current_node_version, as: 'currentNodeVersion'
|
522
|
+
property :database_encryption, as: 'databaseEncryption', class: Google::Apis::ContainerV1::DatabaseEncryption, decorator: Google::Apis::ContainerV1::DatabaseEncryption::Representation
|
523
|
+
|
495
524
|
property :default_max_pods_constraint, as: 'defaultMaxPodsConstraint', class: Google::Apis::ContainerV1::MaxPodsConstraint, decorator: Google::Apis::ContainerV1::MaxPodsConstraint::Representation
|
496
525
|
|
497
526
|
property :description, as: 'description'
|
@@ -548,6 +577,10 @@ module Google
|
|
548
577
|
class Representation < Google::Apis::Core::JsonRepresentation
|
549
578
|
property :desired_addons_config, as: 'desiredAddonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation
|
550
579
|
|
580
|
+
property :desired_binary_authorization, as: 'desiredBinaryAuthorization', class: Google::Apis::ContainerV1::BinaryAuthorization, decorator: Google::Apis::ContainerV1::BinaryAuthorization::Representation
|
581
|
+
|
582
|
+
property :desired_database_encryption, as: 'desiredDatabaseEncryption', class: Google::Apis::ContainerV1::DatabaseEncryption, decorator: Google::Apis::ContainerV1::DatabaseEncryption::Representation
|
583
|
+
|
551
584
|
property :desired_image_type, as: 'desiredImageType'
|
552
585
|
property :desired_intra_node_visibility_config, as: 'desiredIntraNodeVisibilityConfig', class: Google::Apis::ContainerV1::IntraNodeVisibilityConfig, decorator: Google::Apis::ContainerV1::IntraNodeVisibilityConfig::Representation
|
553
586
|
|
@@ -614,6 +647,14 @@ module Google
|
|
614
647
|
end
|
615
648
|
end
|
616
649
|
|
650
|
+
class DatabaseEncryption
|
651
|
+
# @private
|
652
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
653
|
+
property :key_name, as: 'keyName'
|
654
|
+
property :state, as: 'state'
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
617
658
|
class Empty
|
618
659
|
# @private
|
619
660
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -842,6 +883,8 @@ module Google
|
|
842
883
|
collection :oauth_scopes, as: 'oauthScopes'
|
843
884
|
property :preemptible, as: 'preemptible'
|
844
885
|
property :service_account, as: 'serviceAccount'
|
886
|
+
property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::ContainerV1::ShieldedInstanceConfig, decorator: Google::Apis::ContainerV1::ShieldedInstanceConfig::Representation
|
887
|
+
|
845
888
|
collection :tags, as: 'tags'
|
846
889
|
collection :taints, as: 'taints', class: Google::Apis::ContainerV1::NodeTaint, decorator: Google::Apis::ContainerV1::NodeTaint::Representation
|
847
890
|
|
@@ -1108,6 +1151,14 @@ module Google
|
|
1108
1151
|
end
|
1109
1152
|
end
|
1110
1153
|
|
1154
|
+
class ShieldedInstanceConfig
|
1155
|
+
# @private
|
1156
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1157
|
+
property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
|
1158
|
+
property :enable_secure_boot, as: 'enableSecureBoot'
|
1159
|
+
end
|
1160
|
+
end
|
1161
|
+
|
1111
1162
|
class StartIpRotationRequest
|
1112
1163
|
# @private
|
1113
1164
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/container-analysis/api/reference/rest/
|
27
27
|
module ContaineranalysisV1alpha1
|
28
28
|
VERSION = 'V1alpha1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190930'
|
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'
|
@@ -745,6 +745,11 @@ module Google
|
|
745
745
|
# @return [String]
|
746
746
|
attr_accessor :continuous_analysis
|
747
747
|
|
748
|
+
# The CPE of the resource being scanned.
|
749
|
+
# Corresponds to the JSON property `cpe`
|
750
|
+
# @return [String]
|
751
|
+
attr_accessor :cpe
|
752
|
+
|
748
753
|
# This resource represents a long-running operation that is the result of a
|
749
754
|
# network API call.
|
750
755
|
# Corresponds to the JSON property `operation`
|
@@ -760,6 +765,7 @@ module Google
|
|
760
765
|
@analysis_status = args[:analysis_status] if args.key?(:analysis_status)
|
761
766
|
@analysis_status_error = args[:analysis_status_error] if args.key?(:analysis_status_error)
|
762
767
|
@continuous_analysis = args[:continuous_analysis] if args.key?(:continuous_analysis)
|
768
|
+
@cpe = args[:cpe] if args.key?(:cpe)
|
763
769
|
@operation = args[:operation] if args.key?(:operation)
|
764
770
|
end
|
765
771
|
end
|
@@ -989,9 +995,11 @@ module Google
|
|
989
995
|
include Google::Apis::Core::Hashable
|
990
996
|
|
991
997
|
# Optional. The policy format version to be returned.
|
992
|
-
#
|
993
|
-
#
|
994
|
-
#
|
998
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
999
|
+
# rejected.
|
1000
|
+
# Requests for policies with any conditional bindings must specify version 3.
|
1001
|
+
# Policies without any conditional bindings may specify any valid value or
|
1002
|
+
# leave the field unset.
|
995
1003
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
996
1004
|
# @return [Fixnum]
|
997
1005
|
attr_accessor :requested_policy_version
|
@@ -1931,25 +1939,34 @@ module Google
|
|
1931
1939
|
|
1932
1940
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
1933
1941
|
# specify access control policies for Cloud Platform resources.
|
1934
|
-
# A `Policy`
|
1935
|
-
# `members` to a `role
|
1936
|
-
# Google
|
1937
|
-
# defined by IAM.
|
1942
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
1943
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
1944
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1945
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
1946
|
+
# optionally specify a `condition`, which is a logic expression that further
|
1947
|
+
# constrains the role binding based on attributes about the request and/or
|
1948
|
+
# target resource.
|
1938
1949
|
# **JSON Example**
|
1939
1950
|
# `
|
1940
1951
|
# "bindings": [
|
1941
1952
|
# `
|
1942
|
-
# "role": "roles/
|
1953
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
1943
1954
|
# "members": [
|
1944
1955
|
# "user:mike@example.com",
|
1945
1956
|
# "group:admins@example.com",
|
1946
1957
|
# "domain:google.com",
|
1947
|
-
# "serviceAccount:my-
|
1958
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
1948
1959
|
# ]
|
1949
1960
|
# `,
|
1950
1961
|
# `
|
1951
|
-
# "role": "roles/
|
1952
|
-
# "members": ["user:
|
1962
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
1963
|
+
# "members": ["user:eve@example.com"],
|
1964
|
+
# "condition": `
|
1965
|
+
# "title": "expirable access",
|
1966
|
+
# "description": "Does not grant access after Sep 2020",
|
1967
|
+
# "expression": "request.time <
|
1968
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
1969
|
+
# `
|
1953
1970
|
# `
|
1954
1971
|
# ]
|
1955
1972
|
# `
|
@@ -1959,17 +1976,22 @@ module Google
|
|
1959
1976
|
# - user:mike@example.com
|
1960
1977
|
# - group:admins@example.com
|
1961
1978
|
# - domain:google.com
|
1962
|
-
# - serviceAccount:my-
|
1963
|
-
# role: roles/
|
1979
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1980
|
+
# role: roles/resourcemanager.organizationAdmin
|
1964
1981
|
# - members:
|
1965
|
-
# - user:
|
1966
|
-
# role: roles/
|
1982
|
+
# - user:eve@example.com
|
1983
|
+
# role: roles/resourcemanager.organizationViewer
|
1984
|
+
# condition:
|
1985
|
+
# title: expirable access
|
1986
|
+
# description: Does not grant access after Sep 2020
|
1987
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1967
1988
|
# For a description of IAM and its features, see the
|
1968
1989
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
1969
1990
|
class Policy
|
1970
1991
|
include Google::Apis::Core::Hashable
|
1971
1992
|
|
1972
|
-
# Associates a list of `members` to a `role`.
|
1993
|
+
# Associates a list of `members` to a `role`. Optionally may specify a
|
1994
|
+
# `condition` that determines when binding is in effect.
|
1973
1995
|
# `bindings` with no members will result in an error.
|
1974
1996
|
# Corresponds to the JSON property `bindings`
|
1975
1997
|
# @return [Array<Google::Apis::ContaineranalysisV1alpha1::Binding>]
|
@@ -1983,13 +2005,24 @@ module Google
|
|
1983
2005
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
1984
2006
|
# ensure that their change will be applied to the same version of the policy.
|
1985
2007
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
1986
|
-
# policy is overwritten.
|
2008
|
+
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
2009
|
+
# 'setIamPolicy' will not fail even if either of incoming or stored policy
|
2010
|
+
# does not meet the version requirements.
|
1987
2011
|
# Corresponds to the JSON property `etag`
|
1988
2012
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1989
2013
|
# @return [String]
|
1990
2014
|
attr_accessor :etag
|
1991
2015
|
|
1992
|
-
#
|
2016
|
+
# Specifies the format of the policy.
|
2017
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
2018
|
+
# rejected.
|
2019
|
+
# Operations affecting conditional bindings must specify version 3. This can
|
2020
|
+
# be either setting a conditional policy, modifying a conditional binding,
|
2021
|
+
# or removing a conditional binding from the stored conditional policy.
|
2022
|
+
# Operations on non-conditional policies may specify any valid value or
|
2023
|
+
# leave the field unset.
|
2024
|
+
# If no etag is provided in the call to `setIamPolicy`, any version
|
2025
|
+
# compliance checks on the incoming and/or stored policy is skipped.
|
1993
2026
|
# Corresponds to the JSON property `version`
|
1994
2027
|
# @return [Fixnum]
|
1995
2028
|
attr_accessor :version
|
@@ -2158,25 +2191,34 @@ module Google
|
|
2158
2191
|
|
2159
2192
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
2160
2193
|
# specify access control policies for Cloud Platform resources.
|
2161
|
-
# A `Policy`
|
2162
|
-
# `members` to a `role
|
2163
|
-
# Google
|
2164
|
-
# defined by IAM.
|
2194
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
2195
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
2196
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
2197
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
2198
|
+
# optionally specify a `condition`, which is a logic expression that further
|
2199
|
+
# constrains the role binding based on attributes about the request and/or
|
2200
|
+
# target resource.
|
2165
2201
|
# **JSON Example**
|
2166
2202
|
# `
|
2167
2203
|
# "bindings": [
|
2168
2204
|
# `
|
2169
|
-
# "role": "roles/
|
2205
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
2170
2206
|
# "members": [
|
2171
2207
|
# "user:mike@example.com",
|
2172
2208
|
# "group:admins@example.com",
|
2173
2209
|
# "domain:google.com",
|
2174
|
-
# "serviceAccount:my-
|
2210
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
2175
2211
|
# ]
|
2176
2212
|
# `,
|
2177
2213
|
# `
|
2178
|
-
# "role": "roles/
|
2179
|
-
# "members": ["user:
|
2214
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
2215
|
+
# "members": ["user:eve@example.com"],
|
2216
|
+
# "condition": `
|
2217
|
+
# "title": "expirable access",
|
2218
|
+
# "description": "Does not grant access after Sep 2020",
|
2219
|
+
# "expression": "request.time <
|
2220
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
2221
|
+
# `
|
2180
2222
|
# `
|
2181
2223
|
# ]
|
2182
2224
|
# `
|
@@ -2186,11 +2228,15 @@ module Google
|
|
2186
2228
|
# - user:mike@example.com
|
2187
2229
|
# - group:admins@example.com
|
2188
2230
|
# - domain:google.com
|
2189
|
-
# - serviceAccount:my-
|
2190
|
-
# role: roles/
|
2231
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2232
|
+
# role: roles/resourcemanager.organizationAdmin
|
2191
2233
|
# - members:
|
2192
|
-
# - user:
|
2193
|
-
# role: roles/
|
2234
|
+
# - user:eve@example.com
|
2235
|
+
# role: roles/resourcemanager.organizationViewer
|
2236
|
+
# condition:
|
2237
|
+
# title: expirable access
|
2238
|
+
# description: Does not grant access after Sep 2020
|
2239
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
2194
2240
|
# For a description of IAM and its features, see the
|
2195
2241
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
2196
2242
|
# Corresponds to the JSON property `policy`
|