google-api-client 0.37.3 → 0.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +146 -0
- data/api_list_config.yaml +2 -0
- data/api_names.yaml +2 -0
- data/bin/generate-api +9 -1
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
- data/generated/google/apis/admin_directory_v1/service.rb +0 -60
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +224 -5
- data/generated/google/apis/bigquery_v2/representations.rb +65 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
- data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
- data/generated/google/apis/blogger_v2.rb +5 -4
- data/generated/google/apis/blogger_v2/classes.rb +297 -45
- data/generated/google/apis/blogger_v2/representations.rb +105 -26
- data/generated/google/apis/blogger_v2/service.rb +79 -134
- data/generated/google/apis/blogger_v3.rb +4 -3
- data/generated/google/apis/blogger_v3/classes.rb +60 -53
- data/generated/google/apis/blogger_v3/representations.rb +10 -18
- data/generated/google/apis/blogger_v3/service.rb +183 -463
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -14
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
- data/generated/google/apis/cloudasset_v1/service.rb +2 -2
- data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
- data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
- data/generated/google/apis/cloudtrace_v1.rb +3 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +178 -0
- data/generated/google/apis/composer_v1/representations.rb +54 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1320 -307
- data/generated/google/apis/compute_alpha/representations.rb +284 -18
- data/generated/google/apis/compute_alpha/service.rb +4914 -3211
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +819 -236
- data/generated/google/apis/compute_beta/representations.rb +245 -16
- data/generated/google/apis/compute_beta/service.rb +3369 -2227
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +837 -133
- data/generated/google/apis/compute_v1/representations.rb +307 -0
- data/generated/google/apis/compute_v1/service.rb +3155 -2026
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +42 -22
- data/generated/google/apis/container_v1/service.rb +2 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +116 -136
- data/generated/google/apis/container_v1beta1/representations.rb +23 -51
- data/generated/google/apis/container_v1beta1/service.rb +2 -2
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1030 -113
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +987 -138
- data/generated/google/apis/content_v2_1/representations.rb +87 -0
- data/generated/google/apis/content_v2_1/service.rb +73 -0
- data/generated/google/apis/customsearch_v1.rb +3 -3
- data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
- data/generated/google/apis/customsearch_v1/representations.rb +166 -95
- data/generated/google/apis/customsearch_v1/service.rb +373 -104
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
- data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +76 -7
- data/generated/google/apis/dataproc_v1/representations.rb +21 -0
- data/generated/google/apis/dataproc_v1/service.rb +72 -15
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
- data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
- data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
- data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
- data/generated/google/apis/dialogflow_v2/service.rb +49 -49
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
- data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +80 -14
- data/generated/google/apis/dlp_v2/representations.rb +32 -0
- data/generated/google/apis/dlp_v2/service.rb +3 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +54 -2
- data/generated/google/apis/drive_v2/representations.rb +18 -0
- data/generated/google/apis/drive_v2/service.rb +81 -9
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +54 -2
- data/generated/google/apis/drive_v3/representations.rb +18 -0
- data/generated/google/apis/drive_v3/service.rb +37 -4
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +2 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1/service.rb +2 -2
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
- data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +7 -0
- data/generated/google/apis/games_management_v1management/representations.rb +1 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +13 -0
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
- data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +258 -199
- data/generated/google/apis/gmail_v1/service.rb +552 -744
- data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
- data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
- data/generated/google/apis/healthcare_v1/service.rb +3470 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
- data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +67 -63
- data/generated/google/apis/homegraph_v1/service.rb +43 -47
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +190 -0
- data/generated/google/apis/iap_v1/representations.rb +66 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +6 -6
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -7
- data/generated/google/apis/logging_v2.rb +3 -3
- data/generated/google/apis/logging_v2/classes.rb +3 -4
- data/generated/google/apis/logging_v2/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
- data/generated/google/apis/memcache_v1beta2.rb +35 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
- data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +47 -7
- data/generated/google/apis/ml_v1/representations.rb +4 -0
- data/generated/google/apis/monitoring_v1.rb +7 -8
- data/generated/google/apis/monitoring_v1/classes.rb +54 -15
- data/generated/google/apis/monitoring_v1/representations.rb +3 -0
- data/generated/google/apis/monitoring_v1/service.rb +7 -8
- data/generated/google/apis/monitoring_v3.rb +7 -8
- data/generated/google/apis/monitoring_v3/classes.rb +300 -27
- data/generated/google/apis/monitoring_v3/representations.rb +128 -0
- data/generated/google/apis/monitoring_v3/service.rb +52 -17
- data/generated/google/apis/oauth2_v2.rb +4 -4
- data/generated/google/apis/oauth2_v2/classes.rb +1 -13
- data/generated/google/apis/oauth2_v2/representations.rb +2 -4
- data/generated/google/apis/oauth2_v2/service.rb +10 -12
- data/generated/google/apis/osconfig_v1.rb +35 -0
- data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
- data/generated/google/apis/osconfig_v1/representations.rb +506 -0
- data/generated/google/apis/osconfig_v1/service.rb +386 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +30 -12
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +12 -24
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +9 -5
- data/generated/google/apis/pubsub_v1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -7
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +36 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +6 -13
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/secretmanager_v1.rb +2 -2
- data/generated/google/apis/secretmanager_v1/service.rb +4 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
- data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
- data/generated/google/apis/securitycenter_v1.rb +4 -4
- data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
- data/generated/google/apis/securitycenter_v1/service.rb +11 -3
- data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
- data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
- data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
- data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
- data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
- data/generated/google/apis/serviceusage_v1/service.rb +42 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
- data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +2 -2
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +463 -1
- data/generated/google/apis/spanner_v1/representations.rb +178 -0
- data/generated/google/apis/spanner_v1/service.rb +498 -10
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +7 -3
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
- data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
- data/generated/google/apis/sql_v1beta4/service.rb +54 -384
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +18 -0
- data/generated/google/apis/storage_v1/representations.rb +2 -0
- data/generated/google/apis/storage_v1/service.rb +28 -3
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
- data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +4 -1
- data/generated/google/apis/youtube_v3/classes.rb +7 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +32 -23
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
- data/generated/google/apis/mirror_v1/classes.rb +0 -1072
- data/generated/google/apis/mirror_v1/representations.rb +0 -390
- data/generated/google/apis/mirror_v1/service.rb +0 -928
- data/generated/google/apis/oauth2_v1.rb +0 -40
- data/generated/google/apis/oauth2_v1/classes.rb +0 -197
- data/generated/google/apis/oauth2_v1/representations.rb +0 -73
- data/generated/google/apis/oauth2_v1/service.rb +0 -160
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
@@ -418,24 +418,21 @@ module Google
|
|
418
418
|
class Representation < Google::Apis::Core::JsonRepresentation
|
419
419
|
property :basic, as: 'basic', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1BasicLevel, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1BasicLevel::Representation
|
420
420
|
|
421
|
-
property :create_time, as: 'createTime'
|
422
421
|
property :custom, as: 'custom', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1CustomLevel, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1CustomLevel::Representation
|
423
422
|
|
424
423
|
property :description, as: 'description'
|
425
424
|
property :name, as: 'name'
|
426
425
|
property :title, as: 'title'
|
427
|
-
property :update_time, as: 'updateTime'
|
428
426
|
end
|
429
427
|
end
|
430
428
|
|
431
429
|
class GoogleIdentityAccesscontextmanagerV1AccessPolicy
|
432
430
|
# @private
|
433
431
|
class Representation < Google::Apis::Core::JsonRepresentation
|
434
|
-
property :
|
432
|
+
property :etag, as: 'etag'
|
435
433
|
property :name, as: 'name'
|
436
434
|
property :parent, as: 'parent'
|
437
435
|
property :title, as: 'title'
|
438
|
-
property :update_time, as: 'updateTime'
|
439
436
|
end
|
440
437
|
end
|
441
438
|
|
@@ -494,7 +491,6 @@ module Google
|
|
494
491
|
class GoogleIdentityAccesscontextmanagerV1ServicePerimeter
|
495
492
|
# @private
|
496
493
|
class Representation < Google::Apis::Core::JsonRepresentation
|
497
|
-
property :create_time, as: 'createTime'
|
498
494
|
property :description, as: 'description'
|
499
495
|
property :name, as: 'name'
|
500
496
|
property :perimeter_type, as: 'perimeterType'
|
@@ -503,7 +499,6 @@ module Google
|
|
503
499
|
property :status, as: 'status', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig::Representation
|
504
500
|
|
505
501
|
property :title, as: 'title'
|
506
|
-
property :update_time, as: 'updateTime'
|
507
502
|
property :use_explicit_dry_run_spec, as: 'useExplicitDryRunSpec'
|
508
503
|
end
|
509
504
|
end
|
@@ -278,8 +278,8 @@ module Google
|
|
278
278
|
# @param [String] content_type
|
279
279
|
# Optional. The content type.
|
280
280
|
# @param [String] read_time_window_end_time
|
281
|
-
# End time of the time window (inclusive).
|
282
|
-
#
|
281
|
+
# End time of the time window (inclusive). If not specified, the current
|
282
|
+
# timestamp is used instead.
|
283
283
|
# @param [String] read_time_window_start_time
|
284
284
|
# Start time of the time window (exclusive).
|
285
285
|
# @param [String] fields
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/cloudasset_v1p1beta1/service.rb'
|
16
|
+
require 'google/apis/cloudasset_v1p1beta1/classes.rb'
|
17
|
+
require 'google/apis/cloudasset_v1p1beta1/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Cloud Asset API
|
22
|
+
#
|
23
|
+
# The cloud asset API manages the history and inventory of cloud resources.
|
24
|
+
#
|
25
|
+
# @see https://cloud.google.com/asset-inventory/docs/quickstart
|
26
|
+
module CloudassetV1p1beta1
|
27
|
+
VERSION = 'V1p1beta1'
|
28
|
+
REVISION = '20200403'
|
29
|
+
|
30
|
+
# View and manage your data across Google Cloud Platform services
|
31
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,669 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module CloudassetV1p1beta1
|
24
|
+
|
25
|
+
# Specifies the audit configuration for a service.
|
26
|
+
# The configuration determines which permission types are logged, and what
|
27
|
+
# identities, if any, are exempted from logging.
|
28
|
+
# An AuditConfig must have one or more AuditLogConfigs.
|
29
|
+
# If there are AuditConfigs for both `allServices` and a specific service,
|
30
|
+
# the union of the two AuditConfigs is used for that service: the log_types
|
31
|
+
# specified in each AuditConfig are enabled, and the exempted_members in each
|
32
|
+
# AuditLogConfig are exempted.
|
33
|
+
# Example Policy with multiple AuditConfigs:
|
34
|
+
# `
|
35
|
+
# "audit_configs": [
|
36
|
+
# `
|
37
|
+
# "service": "allServices"
|
38
|
+
# "audit_log_configs": [
|
39
|
+
# `
|
40
|
+
# "log_type": "DATA_READ",
|
41
|
+
# "exempted_members": [
|
42
|
+
# "user:jose@example.com"
|
43
|
+
# ]
|
44
|
+
# `,
|
45
|
+
# `
|
46
|
+
# "log_type": "DATA_WRITE",
|
47
|
+
# `,
|
48
|
+
# `
|
49
|
+
# "log_type": "ADMIN_READ",
|
50
|
+
# `
|
51
|
+
# ]
|
52
|
+
# `,
|
53
|
+
# `
|
54
|
+
# "service": "sampleservice.googleapis.com"
|
55
|
+
# "audit_log_configs": [
|
56
|
+
# `
|
57
|
+
# "log_type": "DATA_READ",
|
58
|
+
# `,
|
59
|
+
# `
|
60
|
+
# "log_type": "DATA_WRITE",
|
61
|
+
# "exempted_members": [
|
62
|
+
# "user:aliya@example.com"
|
63
|
+
# ]
|
64
|
+
# `
|
65
|
+
# ]
|
66
|
+
# `
|
67
|
+
# ]
|
68
|
+
# `
|
69
|
+
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
70
|
+
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
71
|
+
# aliya@example.com from DATA_WRITE logging.
|
72
|
+
class AuditConfig
|
73
|
+
include Google::Apis::Core::Hashable
|
74
|
+
|
75
|
+
# The configuration for logging of each type of permission.
|
76
|
+
# Corresponds to the JSON property `auditLogConfigs`
|
77
|
+
# @return [Array<Google::Apis::CloudassetV1p1beta1::AuditLogConfig>]
|
78
|
+
attr_accessor :audit_log_configs
|
79
|
+
|
80
|
+
# Specifies a service that will be enabled for audit logging.
|
81
|
+
# For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
|
82
|
+
# `allServices` is a special value that covers all services.
|
83
|
+
# Corresponds to the JSON property `service`
|
84
|
+
# @return [String]
|
85
|
+
attr_accessor :service
|
86
|
+
|
87
|
+
def initialize(**args)
|
88
|
+
update!(**args)
|
89
|
+
end
|
90
|
+
|
91
|
+
# Update properties of this object
|
92
|
+
def update!(**args)
|
93
|
+
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
94
|
+
@service = args[:service] if args.key?(:service)
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
# Provides the configuration for logging a type of permissions.
|
99
|
+
# Example:
|
100
|
+
# `
|
101
|
+
# "audit_log_configs": [
|
102
|
+
# `
|
103
|
+
# "log_type": "DATA_READ",
|
104
|
+
# "exempted_members": [
|
105
|
+
# "user:jose@example.com"
|
106
|
+
# ]
|
107
|
+
# `,
|
108
|
+
# `
|
109
|
+
# "log_type": "DATA_WRITE",
|
110
|
+
# `
|
111
|
+
# ]
|
112
|
+
# `
|
113
|
+
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
114
|
+
# jose@example.com from DATA_READ logging.
|
115
|
+
class AuditLogConfig
|
116
|
+
include Google::Apis::Core::Hashable
|
117
|
+
|
118
|
+
# Specifies the identities that do not cause logging for this type of
|
119
|
+
# permission.
|
120
|
+
# Follows the same format of Binding.members.
|
121
|
+
# Corresponds to the JSON property `exemptedMembers`
|
122
|
+
# @return [Array<String>]
|
123
|
+
attr_accessor :exempted_members
|
124
|
+
|
125
|
+
# The log type that this config enables.
|
126
|
+
# Corresponds to the JSON property `logType`
|
127
|
+
# @return [String]
|
128
|
+
attr_accessor :log_type
|
129
|
+
|
130
|
+
def initialize(**args)
|
131
|
+
update!(**args)
|
132
|
+
end
|
133
|
+
|
134
|
+
# Update properties of this object
|
135
|
+
def update!(**args)
|
136
|
+
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
137
|
+
@log_type = args[:log_type] if args.key?(:log_type)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
# Associates `members` with a `role`.
|
142
|
+
class Binding
|
143
|
+
include Google::Apis::Core::Hashable
|
144
|
+
|
145
|
+
# Represents a textual expression in the Common Expression Language (CEL)
|
146
|
+
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
147
|
+
# are documented at https://github.com/google/cel-spec.
|
148
|
+
# Example (Comparison):
|
149
|
+
# title: "Summary size limit"
|
150
|
+
# description: "Determines if a summary is less than 100 chars"
|
151
|
+
# expression: "document.summary.size() < 100"
|
152
|
+
# Example (Equality):
|
153
|
+
# title: "Requestor is owner"
|
154
|
+
# description: "Determines if requestor is the document owner"
|
155
|
+
# expression: "document.owner == request.auth.claims.email"
|
156
|
+
# Example (Logic):
|
157
|
+
# title: "Public documents"
|
158
|
+
# description: "Determine whether the document should be publicly visible"
|
159
|
+
# expression: "document.type != 'private' && document.type != 'internal'"
|
160
|
+
# Example (Data Manipulation):
|
161
|
+
# title: "Notification string"
|
162
|
+
# description: "Create a notification string with a timestamp."
|
163
|
+
# expression: "'New message received at ' + string(document.create_time)"
|
164
|
+
# The exact variables and functions that may be referenced within an expression
|
165
|
+
# are determined by the service that evaluates it. See the service
|
166
|
+
# documentation for additional information.
|
167
|
+
# Corresponds to the JSON property `condition`
|
168
|
+
# @return [Google::Apis::CloudassetV1p1beta1::Expr]
|
169
|
+
attr_accessor :condition
|
170
|
+
|
171
|
+
# Specifies the identities requesting access for a Cloud Platform resource.
|
172
|
+
# `members` can have the following values:
|
173
|
+
# * `allUsers`: A special identifier that represents anyone who is
|
174
|
+
# on the internet; with or without a Google account.
|
175
|
+
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
176
|
+
# who is authenticated with a Google account or a service account.
|
177
|
+
# * `user:`emailid``: An email address that represents a specific Google
|
178
|
+
# account. For example, `alice@example.com` .
|
179
|
+
# * `serviceAccount:`emailid``: An email address that represents a service
|
180
|
+
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
181
|
+
# * `group:`emailid``: An email address that represents a Google group.
|
182
|
+
# For example, `admins@example.com`.
|
183
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
184
|
+
# identifier) representing a user that has been recently deleted. For
|
185
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
186
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
187
|
+
# retains the role in the binding.
|
188
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
189
|
+
# unique identifier) representing a service account that has been recently
|
190
|
+
# deleted. For example,
|
191
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
192
|
+
# If the service account is undeleted, this value reverts to
|
193
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
194
|
+
# role in the binding.
|
195
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
196
|
+
# identifier) representing a Google group that has been recently
|
197
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
198
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
199
|
+
# recovered group retains the role in the binding.
|
200
|
+
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
201
|
+
# users of that domain. For example, `google.com` or `example.com`.
|
202
|
+
# Corresponds to the JSON property `members`
|
203
|
+
# @return [Array<String>]
|
204
|
+
attr_accessor :members
|
205
|
+
|
206
|
+
# Role that is assigned to `members`.
|
207
|
+
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
208
|
+
# Corresponds to the JSON property `role`
|
209
|
+
# @return [String]
|
210
|
+
attr_accessor :role
|
211
|
+
|
212
|
+
def initialize(**args)
|
213
|
+
update!(**args)
|
214
|
+
end
|
215
|
+
|
216
|
+
# Update properties of this object
|
217
|
+
def update!(**args)
|
218
|
+
@condition = args[:condition] if args.key?(:condition)
|
219
|
+
@members = args[:members] if args.key?(:members)
|
220
|
+
@role = args[:role] if args.key?(:role)
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
# Explanation about the IAM policy search result.
|
225
|
+
class Explanation
|
226
|
+
include Google::Apis::Core::Hashable
|
227
|
+
|
228
|
+
# The map from roles to their included permission matching the permission
|
229
|
+
# query (e.g. containing `policy.role.permissions:`). A sample role string:
|
230
|
+
# "roles/compute.instanceAdmin". The roles can also be found in the
|
231
|
+
# returned `policy` bindings. Note that the map is populated only if
|
232
|
+
# requesting with a permission query.
|
233
|
+
# Corresponds to the JSON property `matchedPermissions`
|
234
|
+
# @return [Hash<String,Google::Apis::CloudassetV1p1beta1::Permissions>]
|
235
|
+
attr_accessor :matched_permissions
|
236
|
+
|
237
|
+
def initialize(**args)
|
238
|
+
update!(**args)
|
239
|
+
end
|
240
|
+
|
241
|
+
# Update properties of this object
|
242
|
+
def update!(**args)
|
243
|
+
@matched_permissions = args[:matched_permissions] if args.key?(:matched_permissions)
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
247
|
+
# Represents a textual expression in the Common Expression Language (CEL)
|
248
|
+
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
249
|
+
# are documented at https://github.com/google/cel-spec.
|
250
|
+
# Example (Comparison):
|
251
|
+
# title: "Summary size limit"
|
252
|
+
# description: "Determines if a summary is less than 100 chars"
|
253
|
+
# expression: "document.summary.size() < 100"
|
254
|
+
# Example (Equality):
|
255
|
+
# title: "Requestor is owner"
|
256
|
+
# description: "Determines if requestor is the document owner"
|
257
|
+
# expression: "document.owner == request.auth.claims.email"
|
258
|
+
# Example (Logic):
|
259
|
+
# title: "Public documents"
|
260
|
+
# description: "Determine whether the document should be publicly visible"
|
261
|
+
# expression: "document.type != 'private' && document.type != 'internal'"
|
262
|
+
# Example (Data Manipulation):
|
263
|
+
# title: "Notification string"
|
264
|
+
# description: "Create a notification string with a timestamp."
|
265
|
+
# expression: "'New message received at ' + string(document.create_time)"
|
266
|
+
# The exact variables and functions that may be referenced within an expression
|
267
|
+
# are determined by the service that evaluates it. See the service
|
268
|
+
# documentation for additional information.
|
269
|
+
class Expr
|
270
|
+
include Google::Apis::Core::Hashable
|
271
|
+
|
272
|
+
# Optional. Description of the expression. This is a longer text which
|
273
|
+
# describes the expression, e.g. when hovered over it in a UI.
|
274
|
+
# Corresponds to the JSON property `description`
|
275
|
+
# @return [String]
|
276
|
+
attr_accessor :description
|
277
|
+
|
278
|
+
# Textual representation of an expression in Common Expression Language
|
279
|
+
# syntax.
|
280
|
+
# Corresponds to the JSON property `expression`
|
281
|
+
# @return [String]
|
282
|
+
attr_accessor :expression
|
283
|
+
|
284
|
+
# Optional. String indicating the location of the expression for error
|
285
|
+
# reporting, e.g. a file name and a position in the file.
|
286
|
+
# Corresponds to the JSON property `location`
|
287
|
+
# @return [String]
|
288
|
+
attr_accessor :location
|
289
|
+
|
290
|
+
# Optional. Title for the expression, i.e. a short string describing
|
291
|
+
# its purpose. This can be used e.g. in UIs which allow to enter the
|
292
|
+
# expression.
|
293
|
+
# Corresponds to the JSON property `title`
|
294
|
+
# @return [String]
|
295
|
+
attr_accessor :title
|
296
|
+
|
297
|
+
def initialize(**args)
|
298
|
+
update!(**args)
|
299
|
+
end
|
300
|
+
|
301
|
+
# Update properties of this object
|
302
|
+
def update!(**args)
|
303
|
+
@description = args[:description] if args.key?(:description)
|
304
|
+
@expression = args[:expression] if args.key?(:expression)
|
305
|
+
@location = args[:location] if args.key?(:location)
|
306
|
+
@title = args[:title] if args.key?(:title)
|
307
|
+
end
|
308
|
+
end
|
309
|
+
|
310
|
+
# The result for a IAM Policy search.
|
311
|
+
class IamPolicySearchResult
|
312
|
+
include Google::Apis::Core::Hashable
|
313
|
+
|
314
|
+
# Explanation about the IAM policy search result.
|
315
|
+
# Corresponds to the JSON property `explanation`
|
316
|
+
# @return [Google::Apis::CloudassetV1p1beta1::Explanation]
|
317
|
+
attr_accessor :explanation
|
318
|
+
|
319
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
320
|
+
# controls for Google Cloud resources.
|
321
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
322
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
323
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
324
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
325
|
+
# custom role.
|
326
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
327
|
+
# expression that allows access to a resource only if the expression evaluates
|
328
|
+
# to `true`. A condition can add constraints based on attributes of the
|
329
|
+
# request, the resource, or both.
|
330
|
+
# **JSON example:**
|
331
|
+
# `
|
332
|
+
# "bindings": [
|
333
|
+
# `
|
334
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
335
|
+
# "members": [
|
336
|
+
# "user:mike@example.com",
|
337
|
+
# "group:admins@example.com",
|
338
|
+
# "domain:google.com",
|
339
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
340
|
+
# ]
|
341
|
+
# `,
|
342
|
+
# `
|
343
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
344
|
+
# "members": ["user:eve@example.com"],
|
345
|
+
# "condition": `
|
346
|
+
# "title": "expirable access",
|
347
|
+
# "description": "Does not grant access after Sep 2020",
|
348
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
349
|
+
# ",
|
350
|
+
# `
|
351
|
+
# `
|
352
|
+
# ],
|
353
|
+
# "etag": "BwWWja0YfJA=",
|
354
|
+
# "version": 3
|
355
|
+
# `
|
356
|
+
# **YAML example:**
|
357
|
+
# bindings:
|
358
|
+
# - members:
|
359
|
+
# - user:mike@example.com
|
360
|
+
# - group:admins@example.com
|
361
|
+
# - domain:google.com
|
362
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
363
|
+
# role: roles/resourcemanager.organizationAdmin
|
364
|
+
# - members:
|
365
|
+
# - user:eve@example.com
|
366
|
+
# role: roles/resourcemanager.organizationViewer
|
367
|
+
# condition:
|
368
|
+
# title: expirable access
|
369
|
+
# description: Does not grant access after Sep 2020
|
370
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
371
|
+
# - etag: BwWWja0YfJA=
|
372
|
+
# - version: 3
|
373
|
+
# For a description of IAM and its features, see the
|
374
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
375
|
+
# Corresponds to the JSON property `policy`
|
376
|
+
# @return [Google::Apis::CloudassetV1p1beta1::Policy]
|
377
|
+
attr_accessor :policy
|
378
|
+
|
379
|
+
# The project that the associated GCP resource belongs to, in the form of
|
380
|
+
# `projects/`project_number``. If an IAM policy is set on a resource (like VM
|
381
|
+
# instance, Cloud Storage bucket), the project field will indicate the
|
382
|
+
# project that contains the resource. If an IAM policy is set on a folder or
|
383
|
+
# orgnization, the project field will be empty.
|
384
|
+
# Corresponds to the JSON property `project`
|
385
|
+
# @return [String]
|
386
|
+
attr_accessor :project
|
387
|
+
|
388
|
+
# The [full resource
|
389
|
+
# name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
|
390
|
+
# of the resource associated with this IAM policy.
|
391
|
+
# Corresponds to the JSON property `resource`
|
392
|
+
# @return [String]
|
393
|
+
attr_accessor :resource
|
394
|
+
|
395
|
+
def initialize(**args)
|
396
|
+
update!(**args)
|
397
|
+
end
|
398
|
+
|
399
|
+
# Update properties of this object
|
400
|
+
def update!(**args)
|
401
|
+
@explanation = args[:explanation] if args.key?(:explanation)
|
402
|
+
@policy = args[:policy] if args.key?(:policy)
|
403
|
+
@project = args[:project] if args.key?(:project)
|
404
|
+
@resource = args[:resource] if args.key?(:resource)
|
405
|
+
end
|
406
|
+
end
|
407
|
+
|
408
|
+
# IAM permissions
|
409
|
+
class Permissions
|
410
|
+
include Google::Apis::Core::Hashable
|
411
|
+
|
412
|
+
# A list of permissions. A sample permission string: "compute.disk.get".
|
413
|
+
# Corresponds to the JSON property `permissions`
|
414
|
+
# @return [Array<String>]
|
415
|
+
attr_accessor :permissions
|
416
|
+
|
417
|
+
def initialize(**args)
|
418
|
+
update!(**args)
|
419
|
+
end
|
420
|
+
|
421
|
+
# Update properties of this object
|
422
|
+
def update!(**args)
|
423
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
424
|
+
end
|
425
|
+
end
|
426
|
+
|
427
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
428
|
+
# controls for Google Cloud resources.
|
429
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
430
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
431
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
432
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
433
|
+
# custom role.
|
434
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
435
|
+
# expression that allows access to a resource only if the expression evaluates
|
436
|
+
# to `true`. A condition can add constraints based on attributes of the
|
437
|
+
# request, the resource, or both.
|
438
|
+
# **JSON example:**
|
439
|
+
# `
|
440
|
+
# "bindings": [
|
441
|
+
# `
|
442
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
443
|
+
# "members": [
|
444
|
+
# "user:mike@example.com",
|
445
|
+
# "group:admins@example.com",
|
446
|
+
# "domain:google.com",
|
447
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
448
|
+
# ]
|
449
|
+
# `,
|
450
|
+
# `
|
451
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
452
|
+
# "members": ["user:eve@example.com"],
|
453
|
+
# "condition": `
|
454
|
+
# "title": "expirable access",
|
455
|
+
# "description": "Does not grant access after Sep 2020",
|
456
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
457
|
+
# ",
|
458
|
+
# `
|
459
|
+
# `
|
460
|
+
# ],
|
461
|
+
# "etag": "BwWWja0YfJA=",
|
462
|
+
# "version": 3
|
463
|
+
# `
|
464
|
+
# **YAML example:**
|
465
|
+
# bindings:
|
466
|
+
# - members:
|
467
|
+
# - user:mike@example.com
|
468
|
+
# - group:admins@example.com
|
469
|
+
# - domain:google.com
|
470
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
471
|
+
# role: roles/resourcemanager.organizationAdmin
|
472
|
+
# - members:
|
473
|
+
# - user:eve@example.com
|
474
|
+
# role: roles/resourcemanager.organizationViewer
|
475
|
+
# condition:
|
476
|
+
# title: expirable access
|
477
|
+
# description: Does not grant access after Sep 2020
|
478
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
479
|
+
# - etag: BwWWja0YfJA=
|
480
|
+
# - version: 3
|
481
|
+
# For a description of IAM and its features, see the
|
482
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
483
|
+
class Policy
|
484
|
+
include Google::Apis::Core::Hashable
|
485
|
+
|
486
|
+
# Specifies cloud audit logging configuration for this policy.
|
487
|
+
# Corresponds to the JSON property `auditConfigs`
|
488
|
+
# @return [Array<Google::Apis::CloudassetV1p1beta1::AuditConfig>]
|
489
|
+
attr_accessor :audit_configs
|
490
|
+
|
491
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
492
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
493
|
+
# of the `bindings` must contain at least one member.
|
494
|
+
# Corresponds to the JSON property `bindings`
|
495
|
+
# @return [Array<Google::Apis::CloudassetV1p1beta1::Binding>]
|
496
|
+
attr_accessor :bindings
|
497
|
+
|
498
|
+
# `etag` is used for optimistic concurrency control as a way to help
|
499
|
+
# prevent simultaneous updates of a policy from overwriting each other.
|
500
|
+
# It is strongly suggested that systems make use of the `etag` in the
|
501
|
+
# read-modify-write cycle to perform policy updates in order to avoid race
|
502
|
+
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
503
|
+
# systems are expected to put that etag in the request to `setIamPolicy` to
|
504
|
+
# ensure that their change will be applied to the same version of the policy.
|
505
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
506
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
507
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
508
|
+
# the conditions in the version `3` policy are lost.
|
509
|
+
# Corresponds to the JSON property `etag`
|
510
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
511
|
+
# @return [String]
|
512
|
+
attr_accessor :etag
|
513
|
+
|
514
|
+
# Specifies the format of the policy.
|
515
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
516
|
+
# are rejected.
|
517
|
+
# Any operation that affects conditional role bindings must specify version
|
518
|
+
# `3`. This requirement applies to the following operations:
|
519
|
+
# * Getting a policy that includes a conditional role binding
|
520
|
+
# * Adding a conditional role binding to a policy
|
521
|
+
# * Changing a conditional role binding in a policy
|
522
|
+
# * Removing any role binding, with or without a condition, from a policy
|
523
|
+
# that includes conditions
|
524
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
525
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
526
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
527
|
+
# the conditions in the version `3` policy are lost.
|
528
|
+
# If a policy does not include any conditions, operations on that policy may
|
529
|
+
# specify any valid version or leave the field unset.
|
530
|
+
# Corresponds to the JSON property `version`
|
531
|
+
# @return [Fixnum]
|
532
|
+
attr_accessor :version
|
533
|
+
|
534
|
+
def initialize(**args)
|
535
|
+
update!(**args)
|
536
|
+
end
|
537
|
+
|
538
|
+
# Update properties of this object
|
539
|
+
def update!(**args)
|
540
|
+
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
541
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
542
|
+
@etag = args[:etag] if args.key?(:etag)
|
543
|
+
@version = args[:version] if args.key?(:version)
|
544
|
+
end
|
545
|
+
end
|
546
|
+
|
547
|
+
# Search all IAM policies response.
|
548
|
+
class SearchAllIamPoliciesResponse
|
549
|
+
include Google::Apis::Core::Hashable
|
550
|
+
|
551
|
+
# Set if there are more results than those appearing in this response; to get
|
552
|
+
# the next set of results, call this method again, using this value as the
|
553
|
+
# `page_token`.
|
554
|
+
# Corresponds to the JSON property `nextPageToken`
|
555
|
+
# @return [String]
|
556
|
+
attr_accessor :next_page_token
|
557
|
+
|
558
|
+
# A list of IamPolicy that match the search query. Related information such
|
559
|
+
# as the associated resource is returned along with the policy.
|
560
|
+
# Corresponds to the JSON property `results`
|
561
|
+
# @return [Array<Google::Apis::CloudassetV1p1beta1::IamPolicySearchResult>]
|
562
|
+
attr_accessor :results
|
563
|
+
|
564
|
+
def initialize(**args)
|
565
|
+
update!(**args)
|
566
|
+
end
|
567
|
+
|
568
|
+
# Update properties of this object
|
569
|
+
def update!(**args)
|
570
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
571
|
+
@results = args[:results] if args.key?(:results)
|
572
|
+
end
|
573
|
+
end
|
574
|
+
|
575
|
+
# Search all resources response.
|
576
|
+
class SearchAllResourcesResponse
|
577
|
+
include Google::Apis::Core::Hashable
|
578
|
+
|
579
|
+
# If there are more results than those appearing in this response, then
|
580
|
+
# `next_page_token` is included. To get the next set of results, call this
|
581
|
+
# method again using the value of `next_page_token` as `page_token`.
|
582
|
+
# Corresponds to the JSON property `nextPageToken`
|
583
|
+
# @return [String]
|
584
|
+
attr_accessor :next_page_token
|
585
|
+
|
586
|
+
# A list of resource that match the search query.
|
587
|
+
# Corresponds to the JSON property `results`
|
588
|
+
# @return [Array<Google::Apis::CloudassetV1p1beta1::StandardResourceMetadata>]
|
589
|
+
attr_accessor :results
|
590
|
+
|
591
|
+
def initialize(**args)
|
592
|
+
update!(**args)
|
593
|
+
end
|
594
|
+
|
595
|
+
# Update properties of this object
|
596
|
+
def update!(**args)
|
597
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
598
|
+
@results = args[:results] if args.key?(:results)
|
599
|
+
end
|
600
|
+
end
|
601
|
+
|
602
|
+
# The standard metadata of a cloud resource.
|
603
|
+
class StandardResourceMetadata
|
604
|
+
include Google::Apis::Core::Hashable
|
605
|
+
|
606
|
+
# Additional searchable attributes of this resource.
|
607
|
+
# Informational only. The exact set of attributes is subject to change.
|
608
|
+
# For example: project id, DNS name etc.
|
609
|
+
# Corresponds to the JSON property `additionalAttributes`
|
610
|
+
# @return [Array<String>]
|
611
|
+
attr_accessor :additional_attributes
|
612
|
+
|
613
|
+
# The type of this resource.
|
614
|
+
# For example: "compute.googleapis.com/Disk".
|
615
|
+
# Corresponds to the JSON property `assetType`
|
616
|
+
# @return [String]
|
617
|
+
attr_accessor :asset_type
|
618
|
+
|
619
|
+
# One or more paragraphs of text description of this resource. Maximum length
|
620
|
+
# could be up to 1M bytes.
|
621
|
+
# Corresponds to the JSON property `description`
|
622
|
+
# @return [String]
|
623
|
+
attr_accessor :description
|
624
|
+
|
625
|
+
# The display name of this resource.
|
626
|
+
# Corresponds to the JSON property `displayName`
|
627
|
+
# @return [String]
|
628
|
+
attr_accessor :display_name
|
629
|
+
|
630
|
+
# Location can be "global", regional like "us-east1", or zonal like
|
631
|
+
# "us-west1-b".
|
632
|
+
# Corresponds to the JSON property `location`
|
633
|
+
# @return [String]
|
634
|
+
attr_accessor :location
|
635
|
+
|
636
|
+
# The full resource name. For example:
|
637
|
+
# `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
|
638
|
+
# instance1`.
|
639
|
+
# See [Resource
|
640
|
+
# Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
|
641
|
+
# for more information.
|
642
|
+
# Corresponds to the JSON property `name`
|
643
|
+
# @return [String]
|
644
|
+
attr_accessor :name
|
645
|
+
|
646
|
+
# The project that this resource belongs to, in the form of
|
647
|
+
# `projects/`project_number``.
|
648
|
+
# Corresponds to the JSON property `project`
|
649
|
+
# @return [String]
|
650
|
+
attr_accessor :project
|
651
|
+
|
652
|
+
def initialize(**args)
|
653
|
+
update!(**args)
|
654
|
+
end
|
655
|
+
|
656
|
+
# Update properties of this object
|
657
|
+
def update!(**args)
|
658
|
+
@additional_attributes = args[:additional_attributes] if args.key?(:additional_attributes)
|
659
|
+
@asset_type = args[:asset_type] if args.key?(:asset_type)
|
660
|
+
@description = args[:description] if args.key?(:description)
|
661
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
662
|
+
@location = args[:location] if args.key?(:location)
|
663
|
+
@name = args[:name] if args.key?(:name)
|
664
|
+
@project = args[:project] if args.key?(:project)
|
665
|
+
end
|
666
|
+
end
|
667
|
+
end
|
668
|
+
end
|
669
|
+
end
|