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
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/google-apps/calendar/firstapp
|
26
26
|
module CalendarV3
|
27
27
|
VERSION = 'V3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190929'
|
29
29
|
|
30
30
|
# See, edit, share, and permanently delete all the calendars you can access using Google Calendar
|
31
31
|
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
@@ -829,6 +829,7 @@ module Google
|
|
829
829
|
# - "eventNamedHangout" for classic Hangouts for G Suite users (http://hangouts.
|
830
830
|
# google.com)
|
831
831
|
# - "hangoutsMeet" for Hangouts Meet (http://meet.google.com)
|
832
|
+
# - "addOn" for 3P conference providers
|
832
833
|
# Corresponds to the JSON property `type`
|
833
834
|
# @return [String]
|
834
835
|
attr_accessor :type
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
|
26
26
|
module CloudassetV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190928'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -42,6 +42,15 @@ module Google
|
|
42
42
|
# @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1AccessPolicy]
|
43
43
|
attr_accessor :access_policy
|
44
44
|
|
45
|
+
# Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
|
46
|
+
# represented as a list of relative resource names. Ancestry path starts with
|
47
|
+
# the closest CRM ancestor and ends at root. If the asset is a CRM
|
48
|
+
# project/folder/organization, this starts from the asset itself.
|
49
|
+
# Example: ["projects/123456789", "folders/5432", "organizations/1234"]
|
50
|
+
# Corresponds to the JSON property `ancestors`
|
51
|
+
# @return [Array<String>]
|
52
|
+
attr_accessor :ancestors
|
53
|
+
|
45
54
|
# Type of the asset. Example: "compute.googleapis.com/Disk".
|
46
55
|
# Corresponds to the JSON property `assetType`
|
47
56
|
# @return [String]
|
@@ -49,25 +58,34 @@ module Google
|
|
49
58
|
|
50
59
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
51
60
|
# specify access control policies for Cloud Platform resources.
|
52
|
-
# A `Policy`
|
53
|
-
# `members` to a `role
|
54
|
-
# Google
|
55
|
-
# defined by IAM.
|
61
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
62
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
63
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
64
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
65
|
+
# optionally specify a `condition`, which is a logic expression that further
|
66
|
+
# constrains the role binding based on attributes about the request and/or
|
67
|
+
# target resource.
|
56
68
|
# **JSON Example**
|
57
69
|
# `
|
58
70
|
# "bindings": [
|
59
71
|
# `
|
60
|
-
# "role": "roles/
|
72
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
61
73
|
# "members": [
|
62
74
|
# "user:mike@example.com",
|
63
75
|
# "group:admins@example.com",
|
64
76
|
# "domain:google.com",
|
65
|
-
# "serviceAccount:my-
|
77
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
66
78
|
# ]
|
67
79
|
# `,
|
68
80
|
# `
|
69
|
-
# "role": "roles/
|
70
|
-
# "members": ["user:
|
81
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
82
|
+
# "members": ["user:eve@example.com"],
|
83
|
+
# "condition": `
|
84
|
+
# "title": "expirable access",
|
85
|
+
# "description": "Does not grant access after Sep 2020",
|
86
|
+
# "expression": "request.time <
|
87
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
88
|
+
# `
|
71
89
|
# `
|
72
90
|
# ]
|
73
91
|
# `
|
@@ -77,11 +95,15 @@ module Google
|
|
77
95
|
# - user:mike@example.com
|
78
96
|
# - group:admins@example.com
|
79
97
|
# - domain:google.com
|
80
|
-
# - serviceAccount:my-
|
81
|
-
# role: roles/
|
98
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
99
|
+
# role: roles/resourcemanager.organizationAdmin
|
82
100
|
# - members:
|
83
|
-
# - user:
|
84
|
-
# role: roles/
|
101
|
+
# - user:eve@example.com
|
102
|
+
# role: roles/resourcemanager.organizationViewer
|
103
|
+
# condition:
|
104
|
+
# title: expirable access
|
105
|
+
# description: Does not grant access after Sep 2020
|
106
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
85
107
|
# For a description of IAM and its features, see the
|
86
108
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
87
109
|
# Corresponds to the JSON property `iamPolicy`
|
@@ -131,6 +153,7 @@ module Google
|
|
131
153
|
def update!(**args)
|
132
154
|
@access_level = args[:access_level] if args.key?(:access_level)
|
133
155
|
@access_policy = args[:access_policy] if args.key?(:access_policy)
|
156
|
+
@ancestors = args[:ancestors] if args.key?(:ancestors)
|
134
157
|
@asset_type = args[:asset_type] if args.key?(:asset_type)
|
135
158
|
@iam_policy = args[:iam_policy] if args.key?(:iam_policy)
|
136
159
|
@name = args[:name] if args.key?(:name)
|
@@ -1347,25 +1370,34 @@ module Google
|
|
1347
1370
|
|
1348
1371
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
1349
1372
|
# specify access control policies for Cloud Platform resources.
|
1350
|
-
# A `Policy`
|
1351
|
-
# `members` to a `role
|
1352
|
-
# Google
|
1353
|
-
# defined by IAM.
|
1373
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
1374
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
1375
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1376
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
1377
|
+
# optionally specify a `condition`, which is a logic expression that further
|
1378
|
+
# constrains the role binding based on attributes about the request and/or
|
1379
|
+
# target resource.
|
1354
1380
|
# **JSON Example**
|
1355
1381
|
# `
|
1356
1382
|
# "bindings": [
|
1357
1383
|
# `
|
1358
|
-
# "role": "roles/
|
1384
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
1359
1385
|
# "members": [
|
1360
1386
|
# "user:mike@example.com",
|
1361
1387
|
# "group:admins@example.com",
|
1362
1388
|
# "domain:google.com",
|
1363
|
-
# "serviceAccount:my-
|
1389
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
1364
1390
|
# ]
|
1365
1391
|
# `,
|
1366
1392
|
# `
|
1367
|
-
# "role": "roles/
|
1368
|
-
# "members": ["user:
|
1393
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
1394
|
+
# "members": ["user:eve@example.com"],
|
1395
|
+
# "condition": `
|
1396
|
+
# "title": "expirable access",
|
1397
|
+
# "description": "Does not grant access after Sep 2020",
|
1398
|
+
# "expression": "request.time <
|
1399
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
1400
|
+
# `
|
1369
1401
|
# `
|
1370
1402
|
# ]
|
1371
1403
|
# `
|
@@ -1375,11 +1407,15 @@ module Google
|
|
1375
1407
|
# - user:mike@example.com
|
1376
1408
|
# - group:admins@example.com
|
1377
1409
|
# - domain:google.com
|
1378
|
-
# - serviceAccount:my-
|
1379
|
-
# role: roles/
|
1410
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1411
|
+
# role: roles/resourcemanager.organizationAdmin
|
1380
1412
|
# - members:
|
1381
|
-
# - user:
|
1382
|
-
# role: roles/
|
1413
|
+
# - user:eve@example.com
|
1414
|
+
# role: roles/resourcemanager.organizationViewer
|
1415
|
+
# condition:
|
1416
|
+
# title: expirable access
|
1417
|
+
# description: Does not grant access after Sep 2020
|
1418
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1383
1419
|
# For a description of IAM and its features, see the
|
1384
1420
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
1385
1421
|
class Policy
|
@@ -1390,7 +1426,8 @@ module Google
|
|
1390
1426
|
# @return [Array<Google::Apis::CloudassetV1::AuditConfig>]
|
1391
1427
|
attr_accessor :audit_configs
|
1392
1428
|
|
1393
|
-
# Associates a list of `members` to a `role`.
|
1429
|
+
# Associates a list of `members` to a `role`. Optionally may specify a
|
1430
|
+
# `condition` that determines when binding is in effect.
|
1394
1431
|
# `bindings` with no members will result in an error.
|
1395
1432
|
# Corresponds to the JSON property `bindings`
|
1396
1433
|
# @return [Array<Google::Apis::CloudassetV1::Binding>]
|
@@ -1404,7 +1441,9 @@ module Google
|
|
1404
1441
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
1405
1442
|
# ensure that their change will be applied to the same version of the policy.
|
1406
1443
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
1407
|
-
# policy is overwritten.
|
1444
|
+
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
1445
|
+
# 'setIamPolicy' will not fail even if either of incoming or stored policy
|
1446
|
+
# does not meet the version requirements.
|
1408
1447
|
# Corresponds to the JSON property `etag`
|
1409
1448
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1410
1449
|
# @return [String]
|
@@ -1413,9 +1452,13 @@ module Google
|
|
1413
1452
|
# Specifies the format of the policy.
|
1414
1453
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1415
1454
|
# rejected.
|
1416
|
-
#
|
1417
|
-
#
|
1418
|
-
#
|
1455
|
+
# Operations affecting conditional bindings must specify version 3. This can
|
1456
|
+
# be either setting a conditional policy, modifying a conditional binding,
|
1457
|
+
# or removing a conditional binding from the stored conditional policy.
|
1458
|
+
# Operations on non-conditional policies may specify any valid value or
|
1459
|
+
# leave the field unset.
|
1460
|
+
# If no etag is provided in the call to `setIamPolicy`, any version
|
1461
|
+
# compliance checks on the incoming and/or stored policy is skipped.
|
1419
1462
|
# Corresponds to the JSON property `version`
|
1420
1463
|
# @return [Fixnum]
|
1421
1464
|
attr_accessor :version
|
@@ -197,6 +197,7 @@ module Google
|
|
197
197
|
|
198
198
|
property :access_policy, as: 'accessPolicy', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1AccessPolicy, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1AccessPolicy::Representation
|
199
199
|
|
200
|
+
collection :ancestors, as: 'ancestors'
|
200
201
|
property :asset_type, as: 'assetType'
|
201
202
|
property :iam_policy, as: 'iamPolicy', class: Google::Apis::CloudassetV1::Policy, decorator: Google::Apis::CloudassetV1::Policy::Representation
|
202
203
|
|
@@ -103,7 +103,7 @@ module Google
|
|
103
103
|
# The request becomes a no-op if the asset name list is empty, and the max
|
104
104
|
# size of the asset name list is 100 in one request.
|
105
105
|
# @param [String] content_type
|
106
|
-
#
|
106
|
+
# Optional. The content type.
|
107
107
|
# @param [String] read_time_window_end_time
|
108
108
|
# End time of the time window (inclusive).
|
109
109
|
# Current timestamp if not specified.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
|
26
26
|
module CloudassetV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190928'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -34,25 +34,34 @@ module Google
|
|
34
34
|
|
35
35
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
36
36
|
# specify access control policies for Cloud Platform resources.
|
37
|
-
# A `Policy`
|
38
|
-
# `members` to a `role
|
39
|
-
# Google
|
40
|
-
# defined by IAM.
|
37
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
38
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
39
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
40
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
41
|
+
# optionally specify a `condition`, which is a logic expression that further
|
42
|
+
# constrains the role binding based on attributes about the request and/or
|
43
|
+
# target resource.
|
41
44
|
# **JSON Example**
|
42
45
|
# `
|
43
46
|
# "bindings": [
|
44
47
|
# `
|
45
|
-
# "role": "roles/
|
48
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
46
49
|
# "members": [
|
47
50
|
# "user:mike@example.com",
|
48
51
|
# "group:admins@example.com",
|
49
52
|
# "domain:google.com",
|
50
|
-
# "serviceAccount:my-
|
53
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
51
54
|
# ]
|
52
55
|
# `,
|
53
56
|
# `
|
54
|
-
# "role": "roles/
|
55
|
-
# "members": ["user:
|
57
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
58
|
+
# "members": ["user:eve@example.com"],
|
59
|
+
# "condition": `
|
60
|
+
# "title": "expirable access",
|
61
|
+
# "description": "Does not grant access after Sep 2020",
|
62
|
+
# "expression": "request.time <
|
63
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
64
|
+
# `
|
56
65
|
# `
|
57
66
|
# ]
|
58
67
|
# `
|
@@ -62,11 +71,15 @@ module Google
|
|
62
71
|
# - user:mike@example.com
|
63
72
|
# - group:admins@example.com
|
64
73
|
# - domain:google.com
|
65
|
-
# - serviceAccount:my-
|
66
|
-
# role: roles/
|
74
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
75
|
+
# role: roles/resourcemanager.organizationAdmin
|
67
76
|
# - members:
|
68
|
-
# - user:
|
69
|
-
# role: roles/
|
77
|
+
# - user:eve@example.com
|
78
|
+
# role: roles/resourcemanager.organizationViewer
|
79
|
+
# condition:
|
80
|
+
# title: expirable access
|
81
|
+
# description: Does not grant access after Sep 2020
|
82
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
70
83
|
# For a description of IAM and its features, see the
|
71
84
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
72
85
|
# Corresponds to the JSON property `iamPolicy`
|
@@ -499,25 +512,34 @@ module Google
|
|
499
512
|
|
500
513
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
501
514
|
# specify access control policies for Cloud Platform resources.
|
502
|
-
# A `Policy`
|
503
|
-
# `members` to a `role
|
504
|
-
# Google
|
505
|
-
# defined by IAM.
|
515
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
516
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
517
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
518
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
519
|
+
# optionally specify a `condition`, which is a logic expression that further
|
520
|
+
# constrains the role binding based on attributes about the request and/or
|
521
|
+
# target resource.
|
506
522
|
# **JSON Example**
|
507
523
|
# `
|
508
524
|
# "bindings": [
|
509
525
|
# `
|
510
|
-
# "role": "roles/
|
526
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
511
527
|
# "members": [
|
512
528
|
# "user:mike@example.com",
|
513
529
|
# "group:admins@example.com",
|
514
530
|
# "domain:google.com",
|
515
|
-
# "serviceAccount:my-
|
531
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
516
532
|
# ]
|
517
533
|
# `,
|
518
534
|
# `
|
519
|
-
# "role": "roles/
|
520
|
-
# "members": ["user:
|
535
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
536
|
+
# "members": ["user:eve@example.com"],
|
537
|
+
# "condition": `
|
538
|
+
# "title": "expirable access",
|
539
|
+
# "description": "Does not grant access after Sep 2020",
|
540
|
+
# "expression": "request.time <
|
541
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
542
|
+
# `
|
521
543
|
# `
|
522
544
|
# ]
|
523
545
|
# `
|
@@ -527,11 +549,15 @@ module Google
|
|
527
549
|
# - user:mike@example.com
|
528
550
|
# - group:admins@example.com
|
529
551
|
# - domain:google.com
|
530
|
-
# - serviceAccount:my-
|
531
|
-
# role: roles/
|
552
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
553
|
+
# role: roles/resourcemanager.organizationAdmin
|
532
554
|
# - members:
|
533
|
-
# - user:
|
534
|
-
# role: roles/
|
555
|
+
# - user:eve@example.com
|
556
|
+
# role: roles/resourcemanager.organizationViewer
|
557
|
+
# condition:
|
558
|
+
# title: expirable access
|
559
|
+
# description: Does not grant access after Sep 2020
|
560
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
535
561
|
# For a description of IAM and its features, see the
|
536
562
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
537
563
|
class Policy
|
@@ -542,7 +568,8 @@ module Google
|
|
542
568
|
# @return [Array<Google::Apis::CloudassetV1beta1::AuditConfig>]
|
543
569
|
attr_accessor :audit_configs
|
544
570
|
|
545
|
-
# Associates a list of `members` to a `role`.
|
571
|
+
# Associates a list of `members` to a `role`. Optionally may specify a
|
572
|
+
# `condition` that determines when binding is in effect.
|
546
573
|
# `bindings` with no members will result in an error.
|
547
574
|
# Corresponds to the JSON property `bindings`
|
548
575
|
# @return [Array<Google::Apis::CloudassetV1beta1::Binding>]
|
@@ -556,7 +583,9 @@ module Google
|
|
556
583
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
557
584
|
# ensure that their change will be applied to the same version of the policy.
|
558
585
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
559
|
-
# policy is overwritten.
|
586
|
+
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
587
|
+
# 'setIamPolicy' will not fail even if either of incoming or stored policy
|
588
|
+
# does not meet the version requirements.
|
560
589
|
# Corresponds to the JSON property `etag`
|
561
590
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
562
591
|
# @return [String]
|
@@ -565,9 +594,13 @@ module Google
|
|
565
594
|
# Specifies the format of the policy.
|
566
595
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
567
596
|
# rejected.
|
568
|
-
#
|
569
|
-
#
|
570
|
-
#
|
597
|
+
# Operations affecting conditional bindings must specify version 3. This can
|
598
|
+
# be either setting a conditional policy, modifying a conditional binding,
|
599
|
+
# or removing a conditional binding from the stored conditional policy.
|
600
|
+
# Operations on non-conditional policies may specify any valid value or
|
601
|
+
# leave the field unset.
|
602
|
+
# If no etag is provided in the call to `setIamPolicy`, any version
|
603
|
+
# compliance checks on the incoming and/or stored policy is skipped.
|
571
604
|
# Corresponds to the JSON property `version`
|
572
605
|
# @return [Fixnum]
|
573
606
|
attr_accessor :version
|
@@ -139,7 +139,7 @@ module Google
|
|
139
139
|
# The request becomes a no-op if the asset name list is empty, and the max
|
140
140
|
# size of the asset name list is 100 in one request.
|
141
141
|
# @param [String] content_type
|
142
|
-
#
|
142
|
+
# Optional. The content type.
|
143
143
|
# @param [String] read_time_window_end_time
|
144
144
|
# End time of the time window (inclusive).
|
145
145
|
# Current timestamp if not specified.
|
@@ -268,7 +268,7 @@ module Google
|
|
268
268
|
# The request becomes a no-op if the asset name list is empty, and the max
|
269
269
|
# size of the asset name list is 100 in one request.
|
270
270
|
# @param [String] content_type
|
271
|
-
#
|
271
|
+
# Optional. The content type.
|
272
272
|
# @param [String] read_time_window_end_time
|
273
273
|
# End time of the time window (inclusive).
|
274
274
|
# Current timestamp if not specified.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/functions
|
26
26
|
module CloudfunctionsV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190917'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -190,7 +190,7 @@ module Google
|
|
190
190
|
class CallFunctionRequest
|
191
191
|
include Google::Apis::Core::Hashable
|
192
192
|
|
193
|
-
# Input to be passed to the function.
|
193
|
+
# Required. Input to be passed to the function.
|
194
194
|
# Corresponds to the JSON property `data`
|
195
195
|
# @return [String]
|
196
196
|
attr_accessor :data
|
@@ -986,7 +986,12 @@ module Google
|
|
986
986
|
# @return [String]
|
987
987
|
attr_accessor :etag
|
988
988
|
|
989
|
-
#
|
989
|
+
# Specifies the format of the policy.
|
990
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
991
|
+
# rejected.
|
992
|
+
# Policies with any conditional bindings must specify version 3. Policies
|
993
|
+
# without any conditional bindings may specify any valid value or leave the
|
994
|
+
# field unset.
|
990
995
|
# Corresponds to the JSON property `version`
|
991
996
|
# @return [Fixnum]
|
992
997
|
attr_accessor :version
|