google-api-client 0.23.4 → 0.23.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +171 -0
- data/Gemfile +1 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +7 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +7 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +13 -1
- data/generated/google/apis/adsense_v1_4/representations.rb +2 -0
- data/generated/google/apis/adsense_v1_4/service.rb +36 -0
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v2_4.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +68 -0
- data/generated/google/apis/analytics_v3/representations.rb +31 -0
- data/generated/google/apis/analytics_v3/service.rb +33 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +108 -28
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +32 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +73 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -70
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +2 -5
- data/generated/google/apis/androidpublisher_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +3 -4
- data/generated/google/apis/appsactivity_v1.rb +2 -2
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +103 -61
- data/generated/google/apis/bigquery_v2/representations.rb +17 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +597 -0
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +238 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +523 -0
- data/generated/google/apis/blogger_v2.rb +1 -1
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +7 -0
- data/generated/google/apis/books_v1/representations.rb +1 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +44 -12
- data/generated/google/apis/calendar_v3/service.rb +7 -7
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +641 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +215 -0
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +25 -0
- data/generated/google/apis/classroom_v1/representations.rb +15 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +85 -10
- data/generated/google/apis/cloudbilling_v1/representations.rb +18 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +3 -13
- data/generated/google/apis/cloudbuild_v1.rb +4 -4
- data/generated/google/apis/cloudbuild_v1/classes.rb +37 -3
- data/generated/google/apis/cloudbuild_v1/representations.rb +3 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +3 -3
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +1 -0
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +4 -5
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +56 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +18 -0
- data/generated/google/apis/cloudiot_v1/service.rb +355 -0
- data/generated/google/apis/cloudkms_v1.rb +6 -3
- data/generated/google/apis/cloudkms_v1/classes.rb +340 -14
- data/generated/google/apis/cloudkms_v1/representations.rb +147 -0
- data/generated/google/apis/cloudkms_v1/service.rb +126 -6
- data/generated/google/apis/cloudprofiler_v2.rb +3 -3
- data/generated/google/apis/cloudprofiler_v2/classes.rb +0 -6
- data/generated/google/apis/cloudprofiler_v2/representations.rb +0 -2
- data/generated/google/apis/cloudprofiler_v2/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +57 -1
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +18 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +56 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +18 -0
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +57 -1
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +18 -0
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +57 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +18 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +28 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +37 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +2 -2
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +167 -103
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +18 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -21
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/{spectrum_v1explorer.rb → composer_v1.rb} +12 -9
- data/generated/google/apis/composer_v1/classes.rb +640 -0
- data/generated/google/apis/composer_v1/representations.rb +195 -0
- data/generated/google/apis/composer_v1/service.rb +462 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +13 -10
- data/generated/google/apis/composer_v1beta1/service.rb +6 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +5135 -4250
- data/generated/google/apis/compute_alpha/representations.rb +644 -216
- data/generated/google/apis/compute_alpha/service.rb +2308 -1655
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1070 -62
- data/generated/google/apis/compute_beta/representations.rb +435 -0
- data/generated/google/apis/compute_beta/service.rb +1758 -321
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1984 -210
- data/generated/google/apis/compute_v1/representations.rb +754 -9
- data/generated/google/apis/compute_v1/service.rb +1299 -12
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +43 -0
- data/generated/google/apis/container_v1/representations.rb +17 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +193 -231
- data/generated/google/apis/container_v1beta1/representations.rb +72 -82
- data/generated/google/apis/container_v1beta1/service.rb +0 -112
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +199 -29
- data/generated/google/apis/content_v2/representations.rb +59 -0
- data/generated/google/apis/content_v2/service.rb +8 -3
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +32 -19
- data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
- data/generated/google/apis/content_v2sandbox/service.rb +8 -3
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +7 -7
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +112 -43
- data/generated/google/apis/dataproc_v1beta2/representations.rb +19 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +140 -0
- data/generated/google/apis/datastore_v1/representations.rb +65 -0
- data/generated/google/apis/datastore_v1/service.rb +74 -0
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +31 -0
- data/generated/google/apis/datastore_v1beta1/representations.rb +17 -0
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +31 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +17 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v3_0.rb +1 -1
- data/generated/google/apis/dfareporting_v3_1.rb +1 -1
- data/generated/google/apis/dfareporting_v3_2.rb +40 -0
- data/generated/google/apis/dfareporting_v3_2/classes.rb +12297 -0
- data/generated/google/apis/dfareporting_v3_2/representations.rb +4397 -0
- data/generated/google/apis/dfareporting_v3_2/service.rb +8790 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +304 -12
- data/generated/google/apis/dialogflow_v2/representations.rb +113 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +656 -26
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +248 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -0
- data/generated/google/apis/discovery_v1.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +357 -6
- data/generated/google/apis/dlp_v2/representations.rb +161 -0
- data/generated/google/apis/dlp_v2/service.rb +366 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +0 -7
- data/generated/google/apis/dns_v1/representations.rb +0 -1
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +0 -7
- data/generated/google/apis/dns_v1beta2/representations.rb +0 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -7
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +3 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +37 -0
- data/generated/google/apis/firestore_v1/classes.rb +324 -0
- data/generated/google/apis/firestore_v1/representations.rb +130 -0
- data/generated/google/apis/firestore_v1/service.rb +282 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +290 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +128 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +79 -0
- data/generated/google/apis/firestore_v1beta2.rb +37 -0
- data/generated/google/apis/firestore_v1beta2/classes.rb +531 -0
- data/generated/google/apis/firestore_v1beta2/representations.rb +189 -0
- data/generated/google/apis/firestore_v1beta2/service.rb +213 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +113 -36
- data/generated/google/apis/genomics_v1/representations.rb +31 -0
- data/generated/google/apis/genomics_v1/service.rb +2 -0
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +57 -36
- data/generated/google/apis/genomics_v1alpha2/representations.rb +13 -0
- data/generated/google/apis/genomics_v1alpha2/service.rb +2 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -137
- data/generated/google/apis/genomics_v2alpha1/representations.rb +50 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +7 -5
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +258 -3
- data/generated/google/apis/iam_v1/representations.rb +73 -0
- data/generated/google/apis/iam_v1/service.rb +50 -2
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +34 -0
- data/generated/google/apis/iap_v1beta1/classes.rb +440 -0
- data/generated/google/apis/iap_v1beta1/representations.rb +158 -0
- data/generated/google/apis/iap_v1beta1/service.rb +398 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +3 -3
- data/generated/google/apis/jobs_v2/classes.rb +61 -5
- data/generated/google/apis/jobs_v2/representations.rb +18 -0
- data/generated/google/apis/jobs_v2/service.rb +3 -3
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +2 -2
- data/generated/google/apis/logging_v2/classes.rb +64 -58
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +39 -40
- data/generated/google/apis/logging_v2beta1.rb +2 -2
- data/generated/google/apis/logging_v2beta1/classes.rb +59 -53
- data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
- data/generated/google/apis/logging_v2beta1/service.rb +15 -16
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +87 -0
- data/generated/google/apis/ml_v1/representations.rb +34 -0
- data/generated/google/apis/ml_v1/service.rb +53 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +68 -15
- data/generated/google/apis/monitoring_v3/representations.rb +26 -0
- data/generated/google/apis/mybusiness_v3/classes.rb +1 -1
- data/generated/google/apis/oauth2_v1.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v1.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4.rb +1 -1
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/poly_v1.rb +4 -3
- data/generated/google/apis/poly_v1/classes.rb +28 -0
- data/generated/google/apis/poly_v1/representations.rb +15 -0
- data/generated/google/apis/poly_v1/service.rb +3 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +63 -8
- data/generated/google/apis/pubsub_v1/representations.rb +18 -0
- data/generated/google/apis/pubsub_v1/service.rb +7 -8
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +56 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +18 -0
- data/generated/google/apis/redis_v1beta1.rb +2 -2
- data/generated/google/apis/redis_v1beta1/classes.rb +38 -119
- data/generated/google/apis/redis_v1beta1/representations.rb +10 -43
- data/generated/google/apis/redis_v1beta1/service.rb +73 -1
- data/generated/google/apis/replicapool_v1beta1.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +57 -1
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +18 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +1 -57
- data/generated/google/apis/script_v1/representations.rb +0 -32
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +56 -1
- data/generated/google/apis/servicebroker_v1/representations.rb +18 -0
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +56 -1
- data/generated/google/apis/servicebroker_v1alpha1/representations.rb +18 -0
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +56 -1
- data/generated/google/apis/servicebroker_v1beta1/representations.rb +18 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +13 -4
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +259 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +68 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +68 -4
- data/generated/google/apis/servicemanagement_v1/representations.rb +19 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +13 -4
- 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 +13 -4
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +12 -3
- data/generated/google/apis/serviceuser_v1/representations.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +22 -22
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +56 -1
- data/generated/google/apis/sourcerepo_v1/representations.rb +18 -0
- data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
- data/generated/google/apis/sqladmin_v1beta3/classes.rb +1632 -0
- data/generated/google/apis/sqladmin_v1beta3/representations.rb +733 -0
- data/generated/google/apis/sqladmin_v1beta3/service.rb +995 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +4 -4
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +30 -14
- data/generated/google/apis/sqladmin_v1beta4/service.rb +7 -7
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/surveys_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -2
- data/generated/google/apis/texttospeech_v1.rb +34 -0
- data/generated/google/apis/texttospeech_v1/classes.rb +278 -0
- data/generated/google/apis/texttospeech_v1/representations.rb +133 -0
- data/generated/google/apis/texttospeech_v1/service.rb +127 -0
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +0 -12
- data/generated/google/apis/toolresults_v1beta3/representations.rb +0 -2
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +0 -13
- data/generated/google/apis/tpu_v1/representations.rb +0 -12
- data/generated/google/apis/tpu_v1/service.rb +0 -33
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -13
- data/generated/google/apis/tpu_v1alpha1/representations.rb +0 -12
- data/generated/google/apis/tpu_v1alpha1/service.rb +0 -33
- data/generated/google/apis/urlshortener_v1.rb +1 -1
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +803 -0
- data/generated/google/apis/vault_v1/representations.rb +384 -0
- data/generated/google/apis/vault_v1/service.rb +211 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +3342 -227
- data/generated/google/apis/vision_v1/representations.rb +1696 -365
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1826 -94
- data/generated/google/apis/vision_v1p1beta1/representations.rb +754 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +3712 -597
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1606 -275
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +58 -2
- data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +32 -0
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/core/http_command.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +34 -6
- data/generated/google/apis/spectrum_v1explorer/classes.rb +0 -1612
- data/generated/google/apis/spectrum_v1explorer/representations.rb +0 -611
- data/generated/google/apis/spectrum_v1explorer/service.rb +0 -271
@@ -82,6 +82,30 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class Expr
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class LintPolicyRequest
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class LintPolicyResponse
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class LintResult
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
85
109
|
class ListRolesResponse
|
86
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
111
|
|
@@ -255,6 +279,8 @@ module Google
|
|
255
279
|
class Binding
|
256
280
|
# @private
|
257
281
|
class Representation < Google::Apis::Core::JsonRepresentation
|
282
|
+
property :condition, as: 'condition', class: Google::Apis::IamV1::Expr, decorator: Google::Apis::IamV1::Expr::Representation
|
283
|
+
|
258
284
|
collection :members, as: 'members'
|
259
285
|
property :role, as: 'role'
|
260
286
|
end
|
@@ -264,6 +290,8 @@ module Google
|
|
264
290
|
# @private
|
265
291
|
class Representation < Google::Apis::Core::JsonRepresentation
|
266
292
|
property :action, as: 'action'
|
293
|
+
property :condition, as: 'condition', class: Google::Apis::IamV1::Expr, decorator: Google::Apis::IamV1::Expr::Representation
|
294
|
+
|
267
295
|
property :member, as: 'member'
|
268
296
|
property :role, as: 'role'
|
269
297
|
end
|
@@ -301,6 +329,51 @@ module Google
|
|
301
329
|
end
|
302
330
|
end
|
303
331
|
|
332
|
+
class Expr
|
333
|
+
# @private
|
334
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
335
|
+
property :description, as: 'description'
|
336
|
+
property :expression, as: 'expression'
|
337
|
+
property :location, as: 'location'
|
338
|
+
property :title, as: 'title'
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|
342
|
+
class LintPolicyRequest
|
343
|
+
# @private
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
345
|
+
property :binding, as: 'binding', class: Google::Apis::IamV1::Binding, decorator: Google::Apis::IamV1::Binding::Representation
|
346
|
+
|
347
|
+
property :condition, as: 'condition', class: Google::Apis::IamV1::Expr, decorator: Google::Apis::IamV1::Expr::Representation
|
348
|
+
|
349
|
+
hash :context, as: 'context'
|
350
|
+
property :full_resource_name, as: 'fullResourceName'
|
351
|
+
property :policy, as: 'policy', class: Google::Apis::IamV1::Policy, decorator: Google::Apis::IamV1::Policy::Representation
|
352
|
+
|
353
|
+
end
|
354
|
+
end
|
355
|
+
|
356
|
+
class LintPolicyResponse
|
357
|
+
# @private
|
358
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
359
|
+
collection :lint_results, as: 'lintResults', class: Google::Apis::IamV1::LintResult, decorator: Google::Apis::IamV1::LintResult::Representation
|
360
|
+
|
361
|
+
end
|
362
|
+
end
|
363
|
+
|
364
|
+
class LintResult
|
365
|
+
# @private
|
366
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
367
|
+
property :binding_ordinal, as: 'bindingOrdinal'
|
368
|
+
property :debug_message, as: 'debugMessage'
|
369
|
+
property :field_name, as: 'fieldName'
|
370
|
+
property :level, as: 'level'
|
371
|
+
property :location_offset, as: 'locationOffset'
|
372
|
+
property :severity, as: 'severity'
|
373
|
+
property :validation_unit_name, as: 'validationUnitName'
|
374
|
+
end
|
375
|
+
end
|
376
|
+
|
304
377
|
class ListRolesResponse
|
305
378
|
# @private
|
306
379
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -49,6 +49,55 @@ module Google
|
|
49
49
|
@batch_path = 'batch'
|
50
50
|
end
|
51
51
|
|
52
|
+
# Lints a Cloud IAM policy object or its sub fields. Currently supports
|
53
|
+
# google.iam.v1.Policy, google.iam.v1.Binding and
|
54
|
+
# google.iam.v1.Binding.condition.
|
55
|
+
# Each lint operation consists of multiple lint validation units.
|
56
|
+
# Validation units have the following properties:
|
57
|
+
# - Each unit inspects the input object in regard to a particular
|
58
|
+
# linting aspect and issues a google.iam.admin.v1.LintResult
|
59
|
+
# disclosing the result.
|
60
|
+
# - Domain of discourse of each unit can be either
|
61
|
+
# google.iam.v1.Policy, google.iam.v1.Binding, or
|
62
|
+
# google.iam.v1.Binding.condition depending on the purpose of the
|
63
|
+
# validation.
|
64
|
+
# - A unit may require additional data (like the list of all possible
|
65
|
+
# enumerable values of a particular attribute used in the policy instance)
|
66
|
+
# which shall be provided by the caller. Refer to the comments of
|
67
|
+
# google.iam.admin.v1.LintPolicyRequest.context for more details.
|
68
|
+
# The set of applicable validation units is determined by the Cloud IAM
|
69
|
+
# server and is not configurable.
|
70
|
+
# Regardless of any lint issues or their severities, successful calls to
|
71
|
+
# `lintPolicy` return an HTTP 200 OK status code.
|
72
|
+
# @param [Google::Apis::IamV1::LintPolicyRequest] lint_policy_request_object
|
73
|
+
# @param [String] fields
|
74
|
+
# Selector specifying which fields to include in a partial response.
|
75
|
+
# @param [String] quota_user
|
76
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
77
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
78
|
+
# @param [Google::Apis::RequestOptions] options
|
79
|
+
# Request-specific options
|
80
|
+
#
|
81
|
+
# @yield [result, err] Result & error if block supplied
|
82
|
+
# @yieldparam result [Google::Apis::IamV1::LintPolicyResponse] parsed result object
|
83
|
+
# @yieldparam err [StandardError] error object if request failed
|
84
|
+
#
|
85
|
+
# @return [Google::Apis::IamV1::LintPolicyResponse]
|
86
|
+
#
|
87
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
88
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
89
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
90
|
+
def lint_iam_policy_policy(lint_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
91
|
+
command = make_simple_command(:post, 'v1/iamPolicies:lintPolicy', options)
|
92
|
+
command.request_representation = Google::Apis::IamV1::LintPolicyRequest::Representation
|
93
|
+
command.request_object = lint_policy_request_object
|
94
|
+
command.response_representation = Google::Apis::IamV1::LintPolicyResponse::Representation
|
95
|
+
command.response_class = Google::Apis::IamV1::LintPolicyResponse
|
96
|
+
command.query['fields'] = fields unless fields.nil?
|
97
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
98
|
+
execute_or_queue_command(command, &block)
|
99
|
+
end
|
100
|
+
|
52
101
|
# Returns a list of services that support service level audit logging
|
53
102
|
# configuration for the given resource.
|
54
103
|
# @param [Google::Apis::IamV1::QueryAuditableServicesRequest] query_auditable_services_request_object
|
@@ -892,8 +941,7 @@ module Google
|
|
892
941
|
|
893
942
|
# Updates a ServiceAccount.
|
894
943
|
# Currently, only the following fields are updatable:
|
895
|
-
# `display_name`
|
896
|
-
# The `etag` is mandatory.
|
944
|
+
# `display_name`, `description`.
|
897
945
|
# @param [String] name
|
898
946
|
# The resource name of the service account in the following format:
|
899
947
|
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
@@ -22,10 +22,10 @@ module Google
|
|
22
22
|
#
|
23
23
|
# IAM Service Account Credentials API
|
24
24
|
#
|
25
|
-
# @see https://
|
25
|
+
# @see https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials
|
26
26
|
module IamcredentialsV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180727'
|
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'
|
@@ -46,8 +46,7 @@ module Google
|
|
46
46
|
# @return [String]
|
47
47
|
attr_accessor :lifetime
|
48
48
|
|
49
|
-
# Code to identify
|
50
|
-
# OAuth token.
|
49
|
+
# Code to identify the scopes to be included in the OAuth 2.0 access token.
|
51
50
|
# See https://developers.google.com/identity/protocols/googlescopes for more
|
52
51
|
# information.
|
53
52
|
# At least one value required.
|
@@ -77,6 +76,7 @@ module Google
|
|
77
76
|
attr_accessor :access_token
|
78
77
|
|
79
78
|
# Token expiration time.
|
79
|
+
# The expiration time is always set.
|
80
80
|
# Corresponds to the JSON property `expireTime`
|
81
81
|
# @return [String]
|
82
82
|
attr_accessor :expire_time
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# Iamcredentials = Google::Apis::IamcredentialsV1 # Alias the module
|
31
31
|
# service = Iamcredentials::IAMCredentialsService.new
|
32
32
|
#
|
33
|
-
# @see https://
|
33
|
+
# @see https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials
|
34
34
|
class IAMCredentialsService < Google::Apis::Core::BaseService
|
35
35
|
# @return [String]
|
36
36
|
# API key. Your API key identifies your project and provides you with API access,
|
@@ -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/iap_v1beta1/service.rb'
|
16
|
+
require 'google/apis/iap_v1beta1/classes.rb'
|
17
|
+
require 'google/apis/iap_v1beta1/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Cloud Identity-Aware Proxy API
|
22
|
+
#
|
23
|
+
# Controls access to cloud applications running on Google Cloud Platform.
|
24
|
+
#
|
25
|
+
# @see https://cloud.google.com/iap
|
26
|
+
module IapV1beta1
|
27
|
+
VERSION = 'V1beta1'
|
28
|
+
REVISION = '20180806'
|
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,440 @@
|
|
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 IapV1beta1
|
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:foo@gmail.com"
|
43
|
+
# ]
|
44
|
+
# `,
|
45
|
+
# `
|
46
|
+
# "log_type": "DATA_WRITE",
|
47
|
+
# `,
|
48
|
+
# `
|
49
|
+
# "log_type": "ADMIN_READ",
|
50
|
+
# `
|
51
|
+
# ]
|
52
|
+
# `,
|
53
|
+
# `
|
54
|
+
# "service": "fooservice.googleapis.com"
|
55
|
+
# "audit_log_configs": [
|
56
|
+
# `
|
57
|
+
# "log_type": "DATA_READ",
|
58
|
+
# `,
|
59
|
+
# `
|
60
|
+
# "log_type": "DATA_WRITE",
|
61
|
+
# "exempted_members": [
|
62
|
+
# "user:bar@gmail.com"
|
63
|
+
# ]
|
64
|
+
# `
|
65
|
+
# ]
|
66
|
+
# `
|
67
|
+
# ]
|
68
|
+
# `
|
69
|
+
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
70
|
+
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
|
71
|
+
# bar@gmail.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::IapV1beta1::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:foo@gmail.com"
|
106
|
+
# ]
|
107
|
+
# `,
|
108
|
+
# `
|
109
|
+
# "log_type": "DATA_WRITE",
|
110
|
+
# `
|
111
|
+
# ]
|
112
|
+
# `
|
113
|
+
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
114
|
+
# foo@gmail.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 an expression text. Example:
|
146
|
+
# title: "User account presence"
|
147
|
+
# description: "Determines whether the request has a user account"
|
148
|
+
# expression: "size(request.user) > 0"
|
149
|
+
# Corresponds to the JSON property `condition`
|
150
|
+
# @return [Google::Apis::IapV1beta1::Expr]
|
151
|
+
attr_accessor :condition
|
152
|
+
|
153
|
+
# Specifies the identities requesting access for a Cloud Platform resource.
|
154
|
+
# `members` can have the following values:
|
155
|
+
# * `allUsers`: A special identifier that represents anyone who is
|
156
|
+
# on the internet; with or without a Google account.
|
157
|
+
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
158
|
+
# who is authenticated with a Google account or a service account.
|
159
|
+
# * `user:`emailid``: An email address that represents a specific Google
|
160
|
+
# account. For example, `alice@gmail.com` .
|
161
|
+
# * `serviceAccount:`emailid``: An email address that represents a service
|
162
|
+
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
163
|
+
# * `group:`emailid``: An email address that represents a Google group.
|
164
|
+
# For example, `admins@example.com`.
|
165
|
+
# * `domain:`domain``: A Google Apps domain name that represents all the
|
166
|
+
# users of that domain. For example, `google.com` or `example.com`.
|
167
|
+
# Corresponds to the JSON property `members`
|
168
|
+
# @return [Array<String>]
|
169
|
+
attr_accessor :members
|
170
|
+
|
171
|
+
# Role that is assigned to `members`.
|
172
|
+
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
173
|
+
# Corresponds to the JSON property `role`
|
174
|
+
# @return [String]
|
175
|
+
attr_accessor :role
|
176
|
+
|
177
|
+
def initialize(**args)
|
178
|
+
update!(**args)
|
179
|
+
end
|
180
|
+
|
181
|
+
# Update properties of this object
|
182
|
+
def update!(**args)
|
183
|
+
@condition = args[:condition] if args.key?(:condition)
|
184
|
+
@members = args[:members] if args.key?(:members)
|
185
|
+
@role = args[:role] if args.key?(:role)
|
186
|
+
end
|
187
|
+
end
|
188
|
+
|
189
|
+
# Represents an expression text. Example:
|
190
|
+
# title: "User account presence"
|
191
|
+
# description: "Determines whether the request has a user account"
|
192
|
+
# expression: "size(request.user) > 0"
|
193
|
+
class Expr
|
194
|
+
include Google::Apis::Core::Hashable
|
195
|
+
|
196
|
+
# An optional description of the expression. This is a longer text which
|
197
|
+
# describes the expression, e.g. when hovered over it in a UI.
|
198
|
+
# Corresponds to the JSON property `description`
|
199
|
+
# @return [String]
|
200
|
+
attr_accessor :description
|
201
|
+
|
202
|
+
# Textual representation of an expression in
|
203
|
+
# Common Expression Language syntax.
|
204
|
+
# The application context of the containing message determines which
|
205
|
+
# well-known feature set of CEL is supported.
|
206
|
+
# Corresponds to the JSON property `expression`
|
207
|
+
# @return [String]
|
208
|
+
attr_accessor :expression
|
209
|
+
|
210
|
+
# An optional string indicating the location of the expression for error
|
211
|
+
# reporting, e.g. a file name and a position in the file.
|
212
|
+
# Corresponds to the JSON property `location`
|
213
|
+
# @return [String]
|
214
|
+
attr_accessor :location
|
215
|
+
|
216
|
+
# An optional title for the expression, i.e. a short string describing
|
217
|
+
# its purpose. This can be used e.g. in UIs which allow to enter the
|
218
|
+
# expression.
|
219
|
+
# Corresponds to the JSON property `title`
|
220
|
+
# @return [String]
|
221
|
+
attr_accessor :title
|
222
|
+
|
223
|
+
def initialize(**args)
|
224
|
+
update!(**args)
|
225
|
+
end
|
226
|
+
|
227
|
+
# Update properties of this object
|
228
|
+
def update!(**args)
|
229
|
+
@description = args[:description] if args.key?(:description)
|
230
|
+
@expression = args[:expression] if args.key?(:expression)
|
231
|
+
@location = args[:location] if args.key?(:location)
|
232
|
+
@title = args[:title] if args.key?(:title)
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
236
|
+
# Request message for `GetIamPolicy` method.
|
237
|
+
class GetIamPolicyRequest
|
238
|
+
include Google::Apis::Core::Hashable
|
239
|
+
|
240
|
+
def initialize(**args)
|
241
|
+
update!(**args)
|
242
|
+
end
|
243
|
+
|
244
|
+
# Update properties of this object
|
245
|
+
def update!(**args)
|
246
|
+
end
|
247
|
+
end
|
248
|
+
|
249
|
+
# Defines an Identity and Access Management (IAM) policy. It is used to
|
250
|
+
# specify access control policies for Cloud Platform resources.
|
251
|
+
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
252
|
+
# `members` to a `role`, where the members can be user accounts, Google groups,
|
253
|
+
# Google domains, and service accounts. A `role` is a named list of permissions
|
254
|
+
# defined by IAM.
|
255
|
+
# **JSON Example**
|
256
|
+
# `
|
257
|
+
# "bindings": [
|
258
|
+
# `
|
259
|
+
# "role": "roles/owner",
|
260
|
+
# "members": [
|
261
|
+
# "user:mike@example.com",
|
262
|
+
# "group:admins@example.com",
|
263
|
+
# "domain:google.com",
|
264
|
+
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
265
|
+
# ]
|
266
|
+
# `,
|
267
|
+
# `
|
268
|
+
# "role": "roles/viewer",
|
269
|
+
# "members": ["user:sean@example.com"]
|
270
|
+
# `
|
271
|
+
# ]
|
272
|
+
# `
|
273
|
+
# **YAML Example**
|
274
|
+
# bindings:
|
275
|
+
# - members:
|
276
|
+
# - user:mike@example.com
|
277
|
+
# - group:admins@example.com
|
278
|
+
# - domain:google.com
|
279
|
+
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
280
|
+
# role: roles/owner
|
281
|
+
# - members:
|
282
|
+
# - user:sean@example.com
|
283
|
+
# role: roles/viewer
|
284
|
+
# For a description of IAM and its features, see the
|
285
|
+
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
286
|
+
class Policy
|
287
|
+
include Google::Apis::Core::Hashable
|
288
|
+
|
289
|
+
# Specifies cloud audit logging configuration for this policy.
|
290
|
+
# Corresponds to the JSON property `auditConfigs`
|
291
|
+
# @return [Array<Google::Apis::IapV1beta1::AuditConfig>]
|
292
|
+
attr_accessor :audit_configs
|
293
|
+
|
294
|
+
# Associates a list of `members` to a `role`.
|
295
|
+
# `bindings` with no members will result in an error.
|
296
|
+
# Corresponds to the JSON property `bindings`
|
297
|
+
# @return [Array<Google::Apis::IapV1beta1::Binding>]
|
298
|
+
attr_accessor :bindings
|
299
|
+
|
300
|
+
# `etag` is used for optimistic concurrency control as a way to help
|
301
|
+
# prevent simultaneous updates of a policy from overwriting each other.
|
302
|
+
# It is strongly suggested that systems make use of the `etag` in the
|
303
|
+
# read-modify-write cycle to perform policy updates in order to avoid race
|
304
|
+
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
305
|
+
# systems are expected to put that etag in the request to `setIamPolicy` to
|
306
|
+
# ensure that their change will be applied to the same version of the policy.
|
307
|
+
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
308
|
+
# policy is overwritten blindly.
|
309
|
+
# Corresponds to the JSON property `etag`
|
310
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
311
|
+
# @return [String]
|
312
|
+
attr_accessor :etag
|
313
|
+
|
314
|
+
# Deprecated.
|
315
|
+
# Corresponds to the JSON property `version`
|
316
|
+
# @return [Fixnum]
|
317
|
+
attr_accessor :version
|
318
|
+
|
319
|
+
def initialize(**args)
|
320
|
+
update!(**args)
|
321
|
+
end
|
322
|
+
|
323
|
+
# Update properties of this object
|
324
|
+
def update!(**args)
|
325
|
+
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
326
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
327
|
+
@etag = args[:etag] if args.key?(:etag)
|
328
|
+
@version = args[:version] if args.key?(:version)
|
329
|
+
end
|
330
|
+
end
|
331
|
+
|
332
|
+
# Request message for `SetIamPolicy` method.
|
333
|
+
class SetIamPolicyRequest
|
334
|
+
include Google::Apis::Core::Hashable
|
335
|
+
|
336
|
+
# Defines an Identity and Access Management (IAM) policy. It is used to
|
337
|
+
# specify access control policies for Cloud Platform resources.
|
338
|
+
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
339
|
+
# `members` to a `role`, where the members can be user accounts, Google groups,
|
340
|
+
# Google domains, and service accounts. A `role` is a named list of permissions
|
341
|
+
# defined by IAM.
|
342
|
+
# **JSON Example**
|
343
|
+
# `
|
344
|
+
# "bindings": [
|
345
|
+
# `
|
346
|
+
# "role": "roles/owner",
|
347
|
+
# "members": [
|
348
|
+
# "user:mike@example.com",
|
349
|
+
# "group:admins@example.com",
|
350
|
+
# "domain:google.com",
|
351
|
+
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
352
|
+
# ]
|
353
|
+
# `,
|
354
|
+
# `
|
355
|
+
# "role": "roles/viewer",
|
356
|
+
# "members": ["user:sean@example.com"]
|
357
|
+
# `
|
358
|
+
# ]
|
359
|
+
# `
|
360
|
+
# **YAML Example**
|
361
|
+
# bindings:
|
362
|
+
# - members:
|
363
|
+
# - user:mike@example.com
|
364
|
+
# - group:admins@example.com
|
365
|
+
# - domain:google.com
|
366
|
+
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
367
|
+
# role: roles/owner
|
368
|
+
# - members:
|
369
|
+
# - user:sean@example.com
|
370
|
+
# role: roles/viewer
|
371
|
+
# For a description of IAM and its features, see the
|
372
|
+
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
373
|
+
# Corresponds to the JSON property `policy`
|
374
|
+
# @return [Google::Apis::IapV1beta1::Policy]
|
375
|
+
attr_accessor :policy
|
376
|
+
|
377
|
+
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
378
|
+
# the fields in the mask will be modified. If no mask is provided, the
|
379
|
+
# following default mask is used:
|
380
|
+
# paths: "bindings, etag"
|
381
|
+
# This field is only used by Cloud IAM.
|
382
|
+
# Corresponds to the JSON property `updateMask`
|
383
|
+
# @return [String]
|
384
|
+
attr_accessor :update_mask
|
385
|
+
|
386
|
+
def initialize(**args)
|
387
|
+
update!(**args)
|
388
|
+
end
|
389
|
+
|
390
|
+
# Update properties of this object
|
391
|
+
def update!(**args)
|
392
|
+
@policy = args[:policy] if args.key?(:policy)
|
393
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
394
|
+
end
|
395
|
+
end
|
396
|
+
|
397
|
+
# Request message for `TestIamPermissions` method.
|
398
|
+
class TestIamPermissionsRequest
|
399
|
+
include Google::Apis::Core::Hashable
|
400
|
+
|
401
|
+
# The set of permissions to check for the `resource`. Permissions with
|
402
|
+
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
403
|
+
# information see
|
404
|
+
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
405
|
+
# Corresponds to the JSON property `permissions`
|
406
|
+
# @return [Array<String>]
|
407
|
+
attr_accessor :permissions
|
408
|
+
|
409
|
+
def initialize(**args)
|
410
|
+
update!(**args)
|
411
|
+
end
|
412
|
+
|
413
|
+
# Update properties of this object
|
414
|
+
def update!(**args)
|
415
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
416
|
+
end
|
417
|
+
end
|
418
|
+
|
419
|
+
# Response message for `TestIamPermissions` method.
|
420
|
+
class TestIamPermissionsResponse
|
421
|
+
include Google::Apis::Core::Hashable
|
422
|
+
|
423
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
424
|
+
# allowed.
|
425
|
+
# Corresponds to the JSON property `permissions`
|
426
|
+
# @return [Array<String>]
|
427
|
+
attr_accessor :permissions
|
428
|
+
|
429
|
+
def initialize(**args)
|
430
|
+
update!(**args)
|
431
|
+
end
|
432
|
+
|
433
|
+
# Update properties of this object
|
434
|
+
def update!(**args)
|
435
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
436
|
+
end
|
437
|
+
end
|
438
|
+
end
|
439
|
+
end
|
440
|
+
end
|