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/kms/
|
27
27
|
module CloudkmsV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190926'
|
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'
|
@@ -316,7 +316,7 @@ module Google
|
|
316
316
|
# @return [Google::Apis::CloudkmsV1::CryptoKeyVersion]
|
317
317
|
attr_accessor :primary
|
318
318
|
|
319
|
-
# The immutable purpose of this CryptoKey.
|
319
|
+
# Immutable. The immutable purpose of this CryptoKey.
|
320
320
|
# Corresponds to the JSON property `purpose`
|
321
321
|
# @return [String]
|
322
322
|
attr_accessor :purpose
|
@@ -501,7 +501,7 @@ module Google
|
|
501
501
|
class DecryptRequest
|
502
502
|
include Google::Apis::Core::Hashable
|
503
503
|
|
504
|
-
# Optional data that must match the data originally supplied in
|
504
|
+
# Optional. Optional data that must match the data originally supplied in
|
505
505
|
# EncryptRequest.additional_authenticated_data.
|
506
506
|
# Corresponds to the JSON property `additionalAuthenticatedData`
|
507
507
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
@@ -597,7 +597,8 @@ module Google
|
|
597
597
|
class EncryptRequest
|
598
598
|
include Google::Apis::Core::Hashable
|
599
599
|
|
600
|
-
# Optional data that, if specified, must also be provided during
|
600
|
+
# Optional. Optional data that, if specified, must also be provided during
|
601
|
+
# decryption
|
601
602
|
# through DecryptRequest.additional_authenticated_data.
|
602
603
|
# The maximum size depends on the key version's
|
603
604
|
# protection_level. For
|
@@ -739,6 +740,10 @@ module Google
|
|
739
740
|
# using AES-KWP (RFC 5649).
|
740
741
|
# </li>
|
741
742
|
# </ol>
|
743
|
+
# If importing symmetric key material, it is expected that the unwrapped
|
744
|
+
# key contains plain bytes. If importing asymmetric key material, it is
|
745
|
+
# expected that the unwrapped key is in PKCS#8-encoded DER format (the
|
746
|
+
# PrivateKeyInfo structure from RFC 5208).
|
742
747
|
# This format is the same as the format produced by PKCS#11 mechanism
|
743
748
|
# CKM_RSA_AES_KEY_WRAP.
|
744
749
|
# Corresponds to the JSON property `rsaAesWrappedKey`
|
@@ -813,8 +818,7 @@ module Google
|
|
813
818
|
# @return [String]
|
814
819
|
attr_accessor :generate_time
|
815
820
|
|
816
|
-
# Required
|
817
|
-
# key material.
|
821
|
+
# Required. Immutable. The wrapping method to be used for incoming key material.
|
818
822
|
# Corresponds to the JSON property `importMethod`
|
819
823
|
# @return [String]
|
820
824
|
attr_accessor :import_method
|
@@ -825,8 +829,8 @@ module Google
|
|
825
829
|
# @return [String]
|
826
830
|
attr_accessor :name
|
827
831
|
|
828
|
-
# Required
|
829
|
-
#
|
832
|
+
# Required. Immutable. The protection level of the ImportJob. This must match
|
833
|
+
# the
|
830
834
|
# protection_level of the
|
831
835
|
# version_template on the CryptoKey you
|
832
836
|
# attempt to import into.
|
@@ -1146,25 +1150,34 @@ module Google
|
|
1146
1150
|
|
1147
1151
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
1148
1152
|
# specify access control policies for Cloud Platform resources.
|
1149
|
-
# A `Policy`
|
1150
|
-
# `members` to a `role
|
1151
|
-
# Google
|
1152
|
-
# defined by IAM.
|
1153
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
1154
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
1155
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1156
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
1157
|
+
# optionally specify a `condition`, which is a logic expression that further
|
1158
|
+
# constrains the role binding based on attributes about the request and/or
|
1159
|
+
# target resource.
|
1153
1160
|
# **JSON Example**
|
1154
1161
|
# `
|
1155
1162
|
# "bindings": [
|
1156
1163
|
# `
|
1157
|
-
# "role": "roles/
|
1164
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
1158
1165
|
# "members": [
|
1159
1166
|
# "user:mike@example.com",
|
1160
1167
|
# "group:admins@example.com",
|
1161
1168
|
# "domain:google.com",
|
1162
|
-
# "serviceAccount:my-
|
1169
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
1163
1170
|
# ]
|
1164
1171
|
# `,
|
1165
1172
|
# `
|
1166
|
-
# "role": "roles/
|
1167
|
-
# "members": ["user:
|
1173
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
1174
|
+
# "members": ["user:eve@example.com"],
|
1175
|
+
# "condition": `
|
1176
|
+
# "title": "expirable access",
|
1177
|
+
# "description": "Does not grant access after Sep 2020",
|
1178
|
+
# "expression": "request.time <
|
1179
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
1180
|
+
# `
|
1168
1181
|
# `
|
1169
1182
|
# ]
|
1170
1183
|
# `
|
@@ -1174,11 +1187,15 @@ module Google
|
|
1174
1187
|
# - user:mike@example.com
|
1175
1188
|
# - group:admins@example.com
|
1176
1189
|
# - domain:google.com
|
1177
|
-
# - serviceAccount:my-
|
1178
|
-
# role: roles/
|
1190
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1191
|
+
# role: roles/resourcemanager.organizationAdmin
|
1179
1192
|
# - members:
|
1180
|
-
# - user:
|
1181
|
-
# role: roles/
|
1193
|
+
# - user:eve@example.com
|
1194
|
+
# role: roles/resourcemanager.organizationViewer
|
1195
|
+
# condition:
|
1196
|
+
# title: expirable access
|
1197
|
+
# description: Does not grant access after Sep 2020
|
1198
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1182
1199
|
# For a description of IAM and its features, see the
|
1183
1200
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
1184
1201
|
class Policy
|
@@ -1189,7 +1206,8 @@ module Google
|
|
1189
1206
|
# @return [Array<Google::Apis::CloudkmsV1::AuditConfig>]
|
1190
1207
|
attr_accessor :audit_configs
|
1191
1208
|
|
1192
|
-
# Associates a list of `members` to a `role`.
|
1209
|
+
# Associates a list of `members` to a `role`. Optionally may specify a
|
1210
|
+
# `condition` that determines when binding is in effect.
|
1193
1211
|
# `bindings` with no members will result in an error.
|
1194
1212
|
# Corresponds to the JSON property `bindings`
|
1195
1213
|
# @return [Array<Google::Apis::CloudkmsV1::Binding>]
|
@@ -1203,13 +1221,24 @@ module Google
|
|
1203
1221
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
1204
1222
|
# ensure that their change will be applied to the same version of the policy.
|
1205
1223
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
1206
|
-
# policy is overwritten.
|
1224
|
+
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
1225
|
+
# 'setIamPolicy' will not fail even if either of incoming or stored policy
|
1226
|
+
# does not meet the version requirements.
|
1207
1227
|
# Corresponds to the JSON property `etag`
|
1208
1228
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1209
1229
|
# @return [String]
|
1210
1230
|
attr_accessor :etag
|
1211
1231
|
|
1212
|
-
#
|
1232
|
+
# Specifies the format of the policy.
|
1233
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1234
|
+
# rejected.
|
1235
|
+
# Operations affecting conditional bindings must specify version 3. This can
|
1236
|
+
# be either setting a conditional policy, modifying a conditional binding,
|
1237
|
+
# or removing a conditional binding from the stored conditional policy.
|
1238
|
+
# Operations on non-conditional policies may specify any valid value or
|
1239
|
+
# leave the field unset.
|
1240
|
+
# If no etag is provided in the call to `setIamPolicy`, any version
|
1241
|
+
# compliance checks on the incoming and/or stored policy is skipped.
|
1213
1242
|
# Corresponds to the JSON property `version`
|
1214
1243
|
# @return [Fixnum]
|
1215
1244
|
attr_accessor :version
|
@@ -1277,25 +1306,34 @@ module Google
|
|
1277
1306
|
|
1278
1307
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
1279
1308
|
# specify access control policies for Cloud Platform resources.
|
1280
|
-
# A `Policy`
|
1281
|
-
# `members` to a `role
|
1282
|
-
# Google
|
1283
|
-
# defined by IAM.
|
1309
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
1310
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
1311
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1312
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
1313
|
+
# optionally specify a `condition`, which is a logic expression that further
|
1314
|
+
# constrains the role binding based on attributes about the request and/or
|
1315
|
+
# target resource.
|
1284
1316
|
# **JSON Example**
|
1285
1317
|
# `
|
1286
1318
|
# "bindings": [
|
1287
1319
|
# `
|
1288
|
-
# "role": "roles/
|
1320
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
1289
1321
|
# "members": [
|
1290
1322
|
# "user:mike@example.com",
|
1291
1323
|
# "group:admins@example.com",
|
1292
1324
|
# "domain:google.com",
|
1293
|
-
# "serviceAccount:my-
|
1325
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
1294
1326
|
# ]
|
1295
1327
|
# `,
|
1296
1328
|
# `
|
1297
|
-
# "role": "roles/
|
1298
|
-
# "members": ["user:
|
1329
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
1330
|
+
# "members": ["user:eve@example.com"],
|
1331
|
+
# "condition": `
|
1332
|
+
# "title": "expirable access",
|
1333
|
+
# "description": "Does not grant access after Sep 2020",
|
1334
|
+
# "expression": "request.time <
|
1335
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
1336
|
+
# `
|
1299
1337
|
# `
|
1300
1338
|
# ]
|
1301
1339
|
# `
|
@@ -1305,11 +1343,15 @@ module Google
|
|
1305
1343
|
# - user:mike@example.com
|
1306
1344
|
# - group:admins@example.com
|
1307
1345
|
# - domain:google.com
|
1308
|
-
# - serviceAccount:my-
|
1309
|
-
# role: roles/
|
1346
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1347
|
+
# role: roles/resourcemanager.organizationAdmin
|
1310
1348
|
# - members:
|
1311
|
-
# - user:
|
1312
|
-
# role: roles/
|
1349
|
+
# - user:eve@example.com
|
1350
|
+
# role: roles/resourcemanager.organizationViewer
|
1351
|
+
# condition:
|
1352
|
+
# title: expirable access
|
1353
|
+
# description: Does not grant access after Sep 2020
|
1354
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1313
1355
|
# For a description of IAM and its features, see the
|
1314
1356
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
1315
1357
|
# Corresponds to the JSON property `policy`
|
@@ -1382,7 +1424,7 @@ module Google
|
|
1382
1424
|
class UpdateCryptoKeyPrimaryVersionRequest
|
1383
1425
|
include Google::Apis::Core::Hashable
|
1384
1426
|
|
1385
|
-
# The id of the child CryptoKeyVersion to use as primary.
|
1427
|
+
# Required. The id of the child CryptoKeyVersion to use as primary.
|
1386
1428
|
# Corresponds to the JSON property `cryptoKeyVersionId`
|
1387
1429
|
# @return [String]
|
1388
1430
|
attr_accessor :crypto_key_version_id
|
@@ -157,7 +157,7 @@ module Google
|
|
157
157
|
|
158
158
|
# Returns metadata for a given KeyRing.
|
159
159
|
# @param [String] name
|
160
|
-
# The name of the KeyRing to get.
|
160
|
+
# Required. The name of the KeyRing to get.
|
161
161
|
# @param [String] fields
|
162
162
|
# Selector specifying which fields to include in a partial response.
|
163
163
|
# @param [String] quota_user
|
@@ -193,9 +193,11 @@ module Google
|
|
193
193
|
# See the operation documentation for the appropriate value for this field.
|
194
194
|
# @param [Fixnum] options_requested_policy_version
|
195
195
|
# Optional. The policy format version to be returned.
|
196
|
-
#
|
197
|
-
#
|
198
|
-
#
|
196
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
197
|
+
# rejected.
|
198
|
+
# Requests for policies with any conditional bindings must specify version 3.
|
199
|
+
# Policies without any conditional bindings may specify any valid value or
|
200
|
+
# leave the field unset.
|
199
201
|
# @param [String] fields
|
200
202
|
# Selector specifying which fields to include in a partial response.
|
201
203
|
# @param [String] quota_user
|
@@ -239,12 +241,12 @@ module Google
|
|
239
241
|
# [Sorting and filtering list
|
240
242
|
# results](https://cloud.google.com/kms/docs/sorting-and-filtering).
|
241
243
|
# @param [Fixnum] page_size
|
242
|
-
# Optional limit on the number of KeyRings to include in the
|
244
|
+
# Optional. Optional limit on the number of KeyRings to include in the
|
243
245
|
# response. Further KeyRings can subsequently be obtained by
|
244
246
|
# including the ListKeyRingsResponse.next_page_token in a subsequent
|
245
247
|
# request. If unspecified, the server will pick an appropriate default.
|
246
248
|
# @param [String] page_token
|
247
|
-
# Optional pagination token, returned earlier via
|
249
|
+
# Optional. Optional pagination token, returned earlier via
|
248
250
|
# ListKeyRingsResponse.next_page_token.
|
249
251
|
# @param [String] fields
|
250
252
|
# Selector specifying which fields to include in a partial response.
|
@@ -475,7 +477,7 @@ module Google
|
|
475
477
|
# Returns metadata for a given CryptoKey, as well as its
|
476
478
|
# primary CryptoKeyVersion.
|
477
479
|
# @param [String] name
|
478
|
-
# The name of the CryptoKey to get.
|
480
|
+
# Required. The name of the CryptoKey to get.
|
479
481
|
# @param [String] fields
|
480
482
|
# Selector specifying which fields to include in a partial response.
|
481
483
|
# @param [String] quota_user
|
@@ -511,9 +513,11 @@ module Google
|
|
511
513
|
# See the operation documentation for the appropriate value for this field.
|
512
514
|
# @param [Fixnum] options_requested_policy_version
|
513
515
|
# Optional. The policy format version to be returned.
|
514
|
-
#
|
515
|
-
#
|
516
|
-
#
|
516
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
517
|
+
# rejected.
|
518
|
+
# Requests for policies with any conditional bindings must specify version 3.
|
519
|
+
# Policies without any conditional bindings may specify any valid value or
|
520
|
+
# leave the field unset.
|
517
521
|
# @param [String] fields
|
518
522
|
# Selector specifying which fields to include in a partial response.
|
519
523
|
# @param [String] quota_user
|
@@ -557,12 +561,12 @@ module Google
|
|
557
561
|
# [Sorting and filtering list
|
558
562
|
# results](https://cloud.google.com/kms/docs/sorting-and-filtering).
|
559
563
|
# @param [Fixnum] page_size
|
560
|
-
# Optional limit on the number of CryptoKeys to include in the
|
564
|
+
# Optional. Optional limit on the number of CryptoKeys to include in the
|
561
565
|
# response. Further CryptoKeys can subsequently be obtained by
|
562
566
|
# including the ListCryptoKeysResponse.next_page_token in a subsequent
|
563
567
|
# request. If unspecified, the server will pick an appropriate default.
|
564
568
|
# @param [String] page_token
|
565
|
-
# Optional pagination token, returned earlier via
|
569
|
+
# Optional. Optional pagination token, returned earlier via
|
566
570
|
# ListCryptoKeysResponse.next_page_token.
|
567
571
|
# @param [String] version_view
|
568
572
|
# The fields of the primary version to include in the response.
|
@@ -604,7 +608,7 @@ module Google
|
|
604
608
|
# `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
605
609
|
# @param [Google::Apis::CloudkmsV1::CryptoKey] crypto_key_object
|
606
610
|
# @param [String] update_mask
|
607
|
-
# Required
|
611
|
+
# Required. List of fields to be updated in this request.
|
608
612
|
# @param [String] fields
|
609
613
|
# Selector specifying which fields to include in a partial response.
|
610
614
|
# @param [String] quota_user
|
@@ -712,7 +716,7 @@ module Google
|
|
712
716
|
# Update the version of a CryptoKey that will be used in Encrypt.
|
713
717
|
# Returns an error if called on an asymmetric key.
|
714
718
|
# @param [String] name
|
715
|
-
# The resource name of the CryptoKey to update.
|
719
|
+
# Required. The resource name of the CryptoKey to update.
|
716
720
|
# @param [Google::Apis::CloudkmsV1::UpdateCryptoKeyPrimaryVersionRequest] update_crypto_key_primary_version_request_object
|
717
721
|
# @param [String] fields
|
718
722
|
# Selector specifying which fields to include in a partial response.
|
@@ -862,7 +866,7 @@ module Google
|
|
862
866
|
# Before the destroy_time is reached,
|
863
867
|
# RestoreCryptoKeyVersion may be called to reverse the process.
|
864
868
|
# @param [String] name
|
865
|
-
# The resource name of the CryptoKeyVersion to destroy.
|
869
|
+
# Required. The resource name of the CryptoKeyVersion to destroy.
|
866
870
|
# @param [Google::Apis::CloudkmsV1::DestroyCryptoKeyVersionRequest] destroy_crypto_key_version_request_object
|
867
871
|
# @param [String] fields
|
868
872
|
# Selector specifying which fields to include in a partial response.
|
@@ -895,7 +899,7 @@ module Google
|
|
895
899
|
|
896
900
|
# Returns metadata for a given CryptoKeyVersion.
|
897
901
|
# @param [String] name
|
898
|
-
# The name of the CryptoKeyVersion to get.
|
902
|
+
# Required. The name of the CryptoKeyVersion to get.
|
899
903
|
# @param [String] fields
|
900
904
|
# Selector specifying which fields to include in a partial response.
|
901
905
|
# @param [String] quota_user
|
@@ -928,7 +932,7 @@ module Google
|
|
928
932
|
# ASYMMETRIC_SIGN or
|
929
933
|
# ASYMMETRIC_DECRYPT.
|
930
934
|
# @param [String] name
|
931
|
-
# The name of the CryptoKeyVersion public key to
|
935
|
+
# Required. The name of the CryptoKeyVersion public key to
|
932
936
|
# get.
|
933
937
|
# @param [String] fields
|
934
938
|
# Selector specifying which fields to include in a partial response.
|
@@ -1009,13 +1013,13 @@ module Google
|
|
1009
1013
|
# [Sorting and filtering list
|
1010
1014
|
# results](https://cloud.google.com/kms/docs/sorting-and-filtering).
|
1011
1015
|
# @param [Fixnum] page_size
|
1012
|
-
# Optional limit on the number of CryptoKeyVersions to
|
1016
|
+
# Optional. Optional limit on the number of CryptoKeyVersions to
|
1013
1017
|
# include in the response. Further CryptoKeyVersions can
|
1014
1018
|
# subsequently be obtained by including the
|
1015
1019
|
# ListCryptoKeyVersionsResponse.next_page_token in a subsequent request.
|
1016
1020
|
# If unspecified, the server will pick an appropriate default.
|
1017
1021
|
# @param [String] page_token
|
1018
|
-
# Optional pagination token, returned earlier via
|
1022
|
+
# Optional. Optional pagination token, returned earlier via
|
1019
1023
|
# ListCryptoKeyVersionsResponse.next_page_token.
|
1020
1024
|
# @param [String] view
|
1021
1025
|
# The fields to include in the response.
|
@@ -1062,7 +1066,7 @@ module Google
|
|
1062
1066
|
# `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
|
1063
1067
|
# @param [Google::Apis::CloudkmsV1::CryptoKeyVersion] crypto_key_version_object
|
1064
1068
|
# @param [String] update_mask
|
1065
|
-
# Required
|
1069
|
+
# Required. List of fields to be updated in this request.
|
1066
1070
|
# @param [String] fields
|
1067
1071
|
# Selector specifying which fields to include in a partial response.
|
1068
1072
|
# @param [String] quota_user
|
@@ -1100,7 +1104,7 @@ module Google
|
|
1100
1104
|
# will be set to DISABLED,
|
1101
1105
|
# and destroy_time will be cleared.
|
1102
1106
|
# @param [String] name
|
1103
|
-
# The resource name of the CryptoKeyVersion to restore.
|
1107
|
+
# Required. The resource name of the CryptoKeyVersion to restore.
|
1104
1108
|
# @param [Google::Apis::CloudkmsV1::RestoreCryptoKeyVersionRequest] restore_crypto_key_version_request_object
|
1105
1109
|
# @param [String] fields
|
1106
1110
|
# Selector specifying which fields to include in a partial response.
|
@@ -1172,7 +1176,7 @@ module Google
|
|
1172
1176
|
|
1173
1177
|
# Returns metadata for a given ImportJob.
|
1174
1178
|
# @param [String] name
|
1175
|
-
# The name of the ImportJob to get.
|
1179
|
+
# Required. The name of the ImportJob to get.
|
1176
1180
|
# @param [String] fields
|
1177
1181
|
# Selector specifying which fields to include in a partial response.
|
1178
1182
|
# @param [String] quota_user
|
@@ -1208,9 +1212,11 @@ module Google
|
|
1208
1212
|
# See the operation documentation for the appropriate value for this field.
|
1209
1213
|
# @param [Fixnum] options_requested_policy_version
|
1210
1214
|
# Optional. The policy format version to be returned.
|
1211
|
-
#
|
1212
|
-
#
|
1213
|
-
#
|
1215
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1216
|
+
# rejected.
|
1217
|
+
# Requests for policies with any conditional bindings must specify version 3.
|
1218
|
+
# Policies without any conditional bindings may specify any valid value or
|
1219
|
+
# leave the field unset.
|
1214
1220
|
# @param [String] fields
|
1215
1221
|
# Selector specifying which fields to include in a partial response.
|
1216
1222
|
# @param [String] quota_user
|
@@ -1254,12 +1260,12 @@ module Google
|
|
1254
1260
|
# [Sorting and filtering list
|
1255
1261
|
# results](https://cloud.google.com/kms/docs/sorting-and-filtering).
|
1256
1262
|
# @param [Fixnum] page_size
|
1257
|
-
# Optional limit on the number of ImportJobs to include in the
|
1263
|
+
# Optional. Optional limit on the number of ImportJobs to include in the
|
1258
1264
|
# response. Further ImportJobs can subsequently be obtained by
|
1259
1265
|
# including the ListImportJobsResponse.next_page_token in a subsequent
|
1260
1266
|
# request. If unspecified, the server will pick an appropriate default.
|
1261
1267
|
# @param [String] page_token
|
1262
|
-
# Optional pagination token, returned earlier via
|
1268
|
+
# Optional. Optional pagination token, returned earlier via
|
1263
1269
|
# ListImportJobsResponse.next_page_token.
|
1264
1270
|
# @param [String] fields
|
1265
1271
|
# Selector specifying which fields to include in a partial response.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/private-catalog/
|
27
27
|
module CloudprivatecatalogproducerV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190921'
|
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'
|
@@ -747,25 +747,34 @@ module Google
|
|
747
747
|
|
748
748
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
749
749
|
# specify access control policies for Cloud Platform resources.
|
750
|
-
# A `Policy`
|
751
|
-
# `members` to a `role
|
752
|
-
# Google
|
753
|
-
# defined by IAM.
|
750
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
751
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
752
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
753
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
754
|
+
# optionally specify a `condition`, which is a logic expression that further
|
755
|
+
# constrains the role binding based on attributes about the request and/or
|
756
|
+
# target resource.
|
754
757
|
# **JSON Example**
|
755
758
|
# `
|
756
759
|
# "bindings": [
|
757
760
|
# `
|
758
|
-
# "role": "roles/
|
761
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
759
762
|
# "members": [
|
760
763
|
# "user:mike@example.com",
|
761
764
|
# "group:admins@example.com",
|
762
765
|
# "domain:google.com",
|
763
|
-
# "serviceAccount:my-
|
766
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
764
767
|
# ]
|
765
768
|
# `,
|
766
769
|
# `
|
767
|
-
# "role": "roles/
|
768
|
-
# "members": ["user:
|
770
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
771
|
+
# "members": ["user:eve@example.com"],
|
772
|
+
# "condition": `
|
773
|
+
# "title": "expirable access",
|
774
|
+
# "description": "Does not grant access after Sep 2020",
|
775
|
+
# "expression": "request.time <
|
776
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
777
|
+
# `
|
769
778
|
# `
|
770
779
|
# ]
|
771
780
|
# `
|
@@ -775,11 +784,15 @@ module Google
|
|
775
784
|
# - user:mike@example.com
|
776
785
|
# - group:admins@example.com
|
777
786
|
# - domain:google.com
|
778
|
-
# - serviceAccount:my-
|
779
|
-
# role: roles/
|
787
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
788
|
+
# role: roles/resourcemanager.organizationAdmin
|
780
789
|
# - members:
|
781
|
-
# - user:
|
782
|
-
# role: roles/
|
790
|
+
# - user:eve@example.com
|
791
|
+
# role: roles/resourcemanager.organizationViewer
|
792
|
+
# condition:
|
793
|
+
# title: expirable access
|
794
|
+
# description: Does not grant access after Sep 2020
|
795
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
783
796
|
# For a description of IAM and its features, see the
|
784
797
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
785
798
|
class GoogleIamV1Policy
|
@@ -790,7 +803,8 @@ module Google
|
|
790
803
|
# @return [Array<Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1AuditConfig>]
|
791
804
|
attr_accessor :audit_configs
|
792
805
|
|
793
|
-
# Associates a list of `members` to a `role`.
|
806
|
+
# Associates a list of `members` to a `role`. Optionally may specify a
|
807
|
+
# `condition` that determines when binding is in effect.
|
794
808
|
# `bindings` with no members will result in an error.
|
795
809
|
# Corresponds to the JSON property `bindings`
|
796
810
|
# @return [Array<Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Binding>]
|
@@ -804,7 +818,9 @@ module Google
|
|
804
818
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
805
819
|
# ensure that their change will be applied to the same version of the policy.
|
806
820
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
807
|
-
# policy is overwritten.
|
821
|
+
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
822
|
+
# 'setIamPolicy' will not fail even if either of incoming or stored policy
|
823
|
+
# does not meet the version requirements.
|
808
824
|
# Corresponds to the JSON property `etag`
|
809
825
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
810
826
|
# @return [String]
|
@@ -813,9 +829,13 @@ module Google
|
|
813
829
|
# Specifies the format of the policy.
|
814
830
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
815
831
|
# rejected.
|
816
|
-
#
|
817
|
-
#
|
818
|
-
#
|
832
|
+
# Operations affecting conditional bindings must specify version 3. This can
|
833
|
+
# be either setting a conditional policy, modifying a conditional binding,
|
834
|
+
# or removing a conditional binding from the stored conditional policy.
|
835
|
+
# Operations on non-conditional policies may specify any valid value or
|
836
|
+
# leave the field unset.
|
837
|
+
# If no etag is provided in the call to `setIamPolicy`, any version
|
838
|
+
# compliance checks on the incoming and/or stored policy is skipped.
|
819
839
|
# Corresponds to the JSON property `version`
|
820
840
|
# @return [Fixnum]
|
821
841
|
attr_accessor :version
|
@@ -839,25 +859,34 @@ module Google
|
|
839
859
|
|
840
860
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
841
861
|
# specify access control policies for Cloud Platform resources.
|
842
|
-
# A `Policy`
|
843
|
-
# `members` to a `role
|
844
|
-
# Google
|
845
|
-
# defined by IAM.
|
862
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
863
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
864
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
865
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
866
|
+
# optionally specify a `condition`, which is a logic expression that further
|
867
|
+
# constrains the role binding based on attributes about the request and/or
|
868
|
+
# target resource.
|
846
869
|
# **JSON Example**
|
847
870
|
# `
|
848
871
|
# "bindings": [
|
849
872
|
# `
|
850
|
-
# "role": "roles/
|
873
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
851
874
|
# "members": [
|
852
875
|
# "user:mike@example.com",
|
853
876
|
# "group:admins@example.com",
|
854
877
|
# "domain:google.com",
|
855
|
-
# "serviceAccount:my-
|
878
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
856
879
|
# ]
|
857
880
|
# `,
|
858
881
|
# `
|
859
|
-
# "role": "roles/
|
860
|
-
# "members": ["user:
|
882
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
883
|
+
# "members": ["user:eve@example.com"],
|
884
|
+
# "condition": `
|
885
|
+
# "title": "expirable access",
|
886
|
+
# "description": "Does not grant access after Sep 2020",
|
887
|
+
# "expression": "request.time <
|
888
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
889
|
+
# `
|
861
890
|
# `
|
862
891
|
# ]
|
863
892
|
# `
|
@@ -867,11 +896,15 @@ module Google
|
|
867
896
|
# - user:mike@example.com
|
868
897
|
# - group:admins@example.com
|
869
898
|
# - domain:google.com
|
870
|
-
# - serviceAccount:my-
|
871
|
-
# role: roles/
|
899
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
900
|
+
# role: roles/resourcemanager.organizationAdmin
|
872
901
|
# - members:
|
873
|
-
# - user:
|
874
|
-
# role: roles/
|
902
|
+
# - user:eve@example.com
|
903
|
+
# role: roles/resourcemanager.organizationViewer
|
904
|
+
# condition:
|
905
|
+
# title: expirable access
|
906
|
+
# description: Does not grant access after Sep 2020
|
907
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
875
908
|
# For a description of IAM and its features, see the
|
876
909
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
877
910
|
# Corresponds to the JSON property `policy`
|