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
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module BigqueryV2
|
24
24
|
|
25
|
+
class BigQueryModelTraining
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class BigtableColumn
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -430,6 +436,14 @@ module Google
|
|
430
436
|
include Google::Apis::Core::JsonObjectSupport
|
431
437
|
end
|
432
438
|
|
439
|
+
class BigQueryModelTraining
|
440
|
+
# @private
|
441
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
442
|
+
property :current_iteration, as: 'currentIteration'
|
443
|
+
property :expected_total_iterations, :numeric_string => true, as: 'expectedTotalIterations'
|
444
|
+
end
|
445
|
+
end
|
446
|
+
|
433
447
|
class BigtableColumn
|
434
448
|
# @private
|
435
449
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -886,6 +900,7 @@ module Google
|
|
886
900
|
|
887
901
|
property :query, as: 'query', class: Google::Apis::BigqueryV2::JobStatistics2, decorator: Google::Apis::BigqueryV2::JobStatistics2::Representation
|
888
902
|
|
903
|
+
collection :quota_deferments, as: 'quotaDeferments'
|
889
904
|
property :start_time, :numeric_string => true, as: 'startTime'
|
890
905
|
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
|
891
906
|
end
|
@@ -900,6 +915,8 @@ module Google
|
|
900
915
|
property :ddl_target_table, as: 'ddlTargetTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
901
916
|
|
902
917
|
property :estimated_bytes_processed, :numeric_string => true, as: 'estimatedBytesProcessed'
|
918
|
+
property :model_training, as: 'modelTraining', class: Google::Apis::BigqueryV2::BigQueryModelTraining, decorator: Google::Apis::BigqueryV2::BigQueryModelTraining::Representation
|
919
|
+
|
903
920
|
property :model_training_current_iteration, as: 'modelTrainingCurrentIteration'
|
904
921
|
property :model_training_expected_total_iteration, :numeric_string => true, as: 'modelTrainingExpectedTotalIteration'
|
905
922
|
property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/bigquery/
|
27
27
|
module BigquerydatatransferV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180728'
|
30
30
|
|
31
31
|
# View and manage your data in Google BigQuery
|
32
32
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -0,0 +1,35 @@
|
|
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/binaryauthorization_v1beta1/service.rb'
|
16
|
+
require 'google/apis/binaryauthorization_v1beta1/classes.rb'
|
17
|
+
require 'google/apis/binaryauthorization_v1beta1/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Binary Authorization API
|
22
|
+
#
|
23
|
+
# The management interface for Binary Authorization, a system providing policy
|
24
|
+
# control for images deployed to Kubernetes Engine clusters.
|
25
|
+
#
|
26
|
+
# @see https://cloud.google.com/binary-authorization/
|
27
|
+
module BinaryauthorizationV1beta1
|
28
|
+
VERSION = 'V1beta1'
|
29
|
+
REVISION = '20180813'
|
30
|
+
|
31
|
+
# View and manage your data across Google Cloud Platform services
|
32
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,597 @@
|
|
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 BinaryauthorizationV1beta1
|
24
|
+
|
25
|
+
# An admission rule specifies either that all container images
|
26
|
+
# used in a pod creation request must be attested to by one or more
|
27
|
+
# attestors, that all pod creations will be allowed, or that all
|
28
|
+
# pod creations will be denied.
|
29
|
+
# Images matching an admission whitelist pattern
|
30
|
+
# are exempted from admission rules and will never block a pod creation.
|
31
|
+
class AdmissionRule
|
32
|
+
include Google::Apis::Core::Hashable
|
33
|
+
|
34
|
+
# Required. The action when a pod creation is denied by the admission rule.
|
35
|
+
# Corresponds to the JSON property `enforcementMode`
|
36
|
+
# @return [String]
|
37
|
+
attr_accessor :enforcement_mode
|
38
|
+
|
39
|
+
# Required. How this admission rule will be evaluated.
|
40
|
+
# Corresponds to the JSON property `evaluationMode`
|
41
|
+
# @return [String]
|
42
|
+
attr_accessor :evaluation_mode
|
43
|
+
|
44
|
+
# Optional. The resource names of the attestors that must attest to
|
45
|
+
# a container image, in the format `projects/*/attestors/*`. Each
|
46
|
+
# attestor must exist before a policy can reference it. To add an attestor
|
47
|
+
# to a policy the principal issuing the policy change request must be able
|
48
|
+
# to read the attestor resource.
|
49
|
+
# Note: this field must be non-empty when the evaluation_mode field specifies
|
50
|
+
# REQUIRE_ATTESTATION, otherwise it must be empty.
|
51
|
+
# Corresponds to the JSON property `requireAttestationsBy`
|
52
|
+
# @return [Array<String>]
|
53
|
+
attr_accessor :require_attestations_by
|
54
|
+
|
55
|
+
def initialize(**args)
|
56
|
+
update!(**args)
|
57
|
+
end
|
58
|
+
|
59
|
+
# Update properties of this object
|
60
|
+
def update!(**args)
|
61
|
+
@enforcement_mode = args[:enforcement_mode] if args.key?(:enforcement_mode)
|
62
|
+
@evaluation_mode = args[:evaluation_mode] if args.key?(:evaluation_mode)
|
63
|
+
@require_attestations_by = args[:require_attestations_by] if args.key?(:require_attestations_by)
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
# An admission whitelist pattern exempts images
|
68
|
+
# from checks by admission rules.
|
69
|
+
class AdmissionWhitelistPattern
|
70
|
+
include Google::Apis::Core::Hashable
|
71
|
+
|
72
|
+
# An image name pattern to whitelist, in the form `registry/path/to/image`.
|
73
|
+
# This supports a trailing `*` as a wildcard, but this is allowed only in
|
74
|
+
# text after the `registry/` part.
|
75
|
+
# Corresponds to the JSON property `namePattern`
|
76
|
+
# @return [String]
|
77
|
+
attr_accessor :name_pattern
|
78
|
+
|
79
|
+
def initialize(**args)
|
80
|
+
update!(**args)
|
81
|
+
end
|
82
|
+
|
83
|
+
# Update properties of this object
|
84
|
+
def update!(**args)
|
85
|
+
@name_pattern = args[:name_pattern] if args.key?(:name_pattern)
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
# An attestor that attests to container image
|
90
|
+
# artifacts. An existing attestor cannot be modified except where
|
91
|
+
# indicated.
|
92
|
+
class Attestor
|
93
|
+
include Google::Apis::Core::Hashable
|
94
|
+
|
95
|
+
# Optional. A descriptive comment. This field may be updated.
|
96
|
+
# The field may be displayed in chooser dialogs.
|
97
|
+
# Corresponds to the JSON property `description`
|
98
|
+
# @return [String]
|
99
|
+
attr_accessor :description
|
100
|
+
|
101
|
+
# Required. The resource name, in the format:
|
102
|
+
# `projects/*/attestors/*`. This field may not be updated.
|
103
|
+
# Corresponds to the JSON property `name`
|
104
|
+
# @return [String]
|
105
|
+
attr_accessor :name
|
106
|
+
|
107
|
+
# Output only. Time when the attestor was last updated.
|
108
|
+
# Corresponds to the JSON property `updateTime`
|
109
|
+
# @return [String]
|
110
|
+
attr_accessor :update_time
|
111
|
+
|
112
|
+
# An user owned drydock note references a Drydock
|
113
|
+
# ATTESTATION_AUTHORITY Note created by the user.
|
114
|
+
# Corresponds to the JSON property `userOwnedDrydockNote`
|
115
|
+
# @return [Google::Apis::BinaryauthorizationV1beta1::UserOwnedDrydockNote]
|
116
|
+
attr_accessor :user_owned_drydock_note
|
117
|
+
|
118
|
+
def initialize(**args)
|
119
|
+
update!(**args)
|
120
|
+
end
|
121
|
+
|
122
|
+
# Update properties of this object
|
123
|
+
def update!(**args)
|
124
|
+
@description = args[:description] if args.key?(:description)
|
125
|
+
@name = args[:name] if args.key?(:name)
|
126
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
127
|
+
@user_owned_drydock_note = args[:user_owned_drydock_note] if args.key?(:user_owned_drydock_note)
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
# An attestator public key that will be used to
|
132
|
+
# verify attestations signed by this attestor.
|
133
|
+
class AttestorPublicKey
|
134
|
+
include Google::Apis::Core::Hashable
|
135
|
+
|
136
|
+
# ASCII-armored representation of a PGP public key, as the entire output by
|
137
|
+
# the command `gpg --export --armor foo@example.com` (either LF or CRLF
|
138
|
+
# line endings).
|
139
|
+
# Corresponds to the JSON property `asciiArmoredPgpPublicKey`
|
140
|
+
# @return [String]
|
141
|
+
attr_accessor :ascii_armored_pgp_public_key
|
142
|
+
|
143
|
+
# Optional. A descriptive comment. This field may be updated.
|
144
|
+
# Corresponds to the JSON property `comment`
|
145
|
+
# @return [String]
|
146
|
+
attr_accessor :comment
|
147
|
+
|
148
|
+
# Output only. This field will be overwritten with key ID information, for
|
149
|
+
# example, an identifier extracted from a PGP public key. This field may not
|
150
|
+
# be updated.
|
151
|
+
# Corresponds to the JSON property `id`
|
152
|
+
# @return [String]
|
153
|
+
attr_accessor :id
|
154
|
+
|
155
|
+
def initialize(**args)
|
156
|
+
update!(**args)
|
157
|
+
end
|
158
|
+
|
159
|
+
# Update properties of this object
|
160
|
+
def update!(**args)
|
161
|
+
@ascii_armored_pgp_public_key = args[:ascii_armored_pgp_public_key] if args.key?(:ascii_armored_pgp_public_key)
|
162
|
+
@comment = args[:comment] if args.key?(:comment)
|
163
|
+
@id = args[:id] if args.key?(:id)
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
# Associates `members` with a `role`.
|
168
|
+
class Binding
|
169
|
+
include Google::Apis::Core::Hashable
|
170
|
+
|
171
|
+
# Represents an expression text. Example:
|
172
|
+
# title: "User account presence"
|
173
|
+
# description: "Determines whether the request has a user account"
|
174
|
+
# expression: "size(request.user) > 0"
|
175
|
+
# Corresponds to the JSON property `condition`
|
176
|
+
# @return [Google::Apis::BinaryauthorizationV1beta1::Expr]
|
177
|
+
attr_accessor :condition
|
178
|
+
|
179
|
+
# Specifies the identities requesting access for a Cloud Platform resource.
|
180
|
+
# `members` can have the following values:
|
181
|
+
# * `allUsers`: A special identifier that represents anyone who is
|
182
|
+
# on the internet; with or without a Google account.
|
183
|
+
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
184
|
+
# who is authenticated with a Google account or a service account.
|
185
|
+
# * `user:`emailid``: An email address that represents a specific Google
|
186
|
+
# account. For example, `alice@gmail.com` .
|
187
|
+
# * `serviceAccount:`emailid``: An email address that represents a service
|
188
|
+
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
189
|
+
# * `group:`emailid``: An email address that represents a Google group.
|
190
|
+
# For example, `admins@example.com`.
|
191
|
+
# * `domain:`domain``: A Google Apps domain name that represents all the
|
192
|
+
# users of that domain. For example, `google.com` or `example.com`.
|
193
|
+
# Corresponds to the JSON property `members`
|
194
|
+
# @return [Array<String>]
|
195
|
+
attr_accessor :members
|
196
|
+
|
197
|
+
# Role that is assigned to `members`.
|
198
|
+
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
199
|
+
# Corresponds to the JSON property `role`
|
200
|
+
# @return [String]
|
201
|
+
attr_accessor :role
|
202
|
+
|
203
|
+
def initialize(**args)
|
204
|
+
update!(**args)
|
205
|
+
end
|
206
|
+
|
207
|
+
# Update properties of this object
|
208
|
+
def update!(**args)
|
209
|
+
@condition = args[:condition] if args.key?(:condition)
|
210
|
+
@members = args[:members] if args.key?(:members)
|
211
|
+
@role = args[:role] if args.key?(:role)
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
216
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
217
|
+
# or the response type of an API method. For instance:
|
218
|
+
# service Foo `
|
219
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
220
|
+
# `
|
221
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
222
|
+
class Empty
|
223
|
+
include Google::Apis::Core::Hashable
|
224
|
+
|
225
|
+
def initialize(**args)
|
226
|
+
update!(**args)
|
227
|
+
end
|
228
|
+
|
229
|
+
# Update properties of this object
|
230
|
+
def update!(**args)
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
# Represents an expression text. Example:
|
235
|
+
# title: "User account presence"
|
236
|
+
# description: "Determines whether the request has a user account"
|
237
|
+
# expression: "size(request.user) > 0"
|
238
|
+
class Expr
|
239
|
+
include Google::Apis::Core::Hashable
|
240
|
+
|
241
|
+
# An optional description of the expression. This is a longer text which
|
242
|
+
# describes the expression, e.g. when hovered over it in a UI.
|
243
|
+
# Corresponds to the JSON property `description`
|
244
|
+
# @return [String]
|
245
|
+
attr_accessor :description
|
246
|
+
|
247
|
+
# Textual representation of an expression in
|
248
|
+
# Common Expression Language syntax.
|
249
|
+
# The application context of the containing message determines which
|
250
|
+
# well-known feature set of CEL is supported.
|
251
|
+
# Corresponds to the JSON property `expression`
|
252
|
+
# @return [String]
|
253
|
+
attr_accessor :expression
|
254
|
+
|
255
|
+
# An optional string indicating the location of the expression for error
|
256
|
+
# reporting, e.g. a file name and a position in the file.
|
257
|
+
# Corresponds to the JSON property `location`
|
258
|
+
# @return [String]
|
259
|
+
attr_accessor :location
|
260
|
+
|
261
|
+
# An optional title for the expression, i.e. a short string describing
|
262
|
+
# its purpose. This can be used e.g. in UIs which allow to enter the
|
263
|
+
# expression.
|
264
|
+
# Corresponds to the JSON property `title`
|
265
|
+
# @return [String]
|
266
|
+
attr_accessor :title
|
267
|
+
|
268
|
+
def initialize(**args)
|
269
|
+
update!(**args)
|
270
|
+
end
|
271
|
+
|
272
|
+
# Update properties of this object
|
273
|
+
def update!(**args)
|
274
|
+
@description = args[:description] if args.key?(:description)
|
275
|
+
@expression = args[:expression] if args.key?(:expression)
|
276
|
+
@location = args[:location] if args.key?(:location)
|
277
|
+
@title = args[:title] if args.key?(:title)
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
281
|
+
# Defines an Identity and Access Management (IAM) policy. It is used to
|
282
|
+
# specify access control policies for Cloud Platform resources.
|
283
|
+
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
284
|
+
# `members` to a `role`, where the members can be user accounts, Google groups,
|
285
|
+
# Google domains, and service accounts. A `role` is a named list of permissions
|
286
|
+
# defined by IAM.
|
287
|
+
# **JSON Example**
|
288
|
+
# `
|
289
|
+
# "bindings": [
|
290
|
+
# `
|
291
|
+
# "role": "roles/owner",
|
292
|
+
# "members": [
|
293
|
+
# "user:mike@example.com",
|
294
|
+
# "group:admins@example.com",
|
295
|
+
# "domain:google.com",
|
296
|
+
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
297
|
+
# ]
|
298
|
+
# `,
|
299
|
+
# `
|
300
|
+
# "role": "roles/viewer",
|
301
|
+
# "members": ["user:sean@example.com"]
|
302
|
+
# `
|
303
|
+
# ]
|
304
|
+
# `
|
305
|
+
# **YAML Example**
|
306
|
+
# bindings:
|
307
|
+
# - members:
|
308
|
+
# - user:mike@example.com
|
309
|
+
# - group:admins@example.com
|
310
|
+
# - domain:google.com
|
311
|
+
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
312
|
+
# role: roles/owner
|
313
|
+
# - members:
|
314
|
+
# - user:sean@example.com
|
315
|
+
# role: roles/viewer
|
316
|
+
# For a description of IAM and its features, see the
|
317
|
+
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
318
|
+
class IamPolicy
|
319
|
+
include Google::Apis::Core::Hashable
|
320
|
+
|
321
|
+
# Associates a list of `members` to a `role`.
|
322
|
+
# `bindings` with no members will result in an error.
|
323
|
+
# Corresponds to the JSON property `bindings`
|
324
|
+
# @return [Array<Google::Apis::BinaryauthorizationV1beta1::Binding>]
|
325
|
+
attr_accessor :bindings
|
326
|
+
|
327
|
+
# `etag` is used for optimistic concurrency control as a way to help
|
328
|
+
# prevent simultaneous updates of a policy from overwriting each other.
|
329
|
+
# It is strongly suggested that systems make use of the `etag` in the
|
330
|
+
# read-modify-write cycle to perform policy updates in order to avoid race
|
331
|
+
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
332
|
+
# systems are expected to put that etag in the request to `setIamPolicy` to
|
333
|
+
# ensure that their change will be applied to the same version of the policy.
|
334
|
+
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
335
|
+
# policy is overwritten blindly.
|
336
|
+
# Corresponds to the JSON property `etag`
|
337
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
338
|
+
# @return [String]
|
339
|
+
attr_accessor :etag
|
340
|
+
|
341
|
+
# Deprecated.
|
342
|
+
# Corresponds to the JSON property `version`
|
343
|
+
# @return [Fixnum]
|
344
|
+
attr_accessor :version
|
345
|
+
|
346
|
+
def initialize(**args)
|
347
|
+
update!(**args)
|
348
|
+
end
|
349
|
+
|
350
|
+
# Update properties of this object
|
351
|
+
def update!(**args)
|
352
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
353
|
+
@etag = args[:etag] if args.key?(:etag)
|
354
|
+
@version = args[:version] if args.key?(:version)
|
355
|
+
end
|
356
|
+
end
|
357
|
+
|
358
|
+
# Response message for BinauthzManagementService.ListAttestors.
|
359
|
+
class ListAttestorsResponse
|
360
|
+
include Google::Apis::Core::Hashable
|
361
|
+
|
362
|
+
# The list of attestors.
|
363
|
+
# Corresponds to the JSON property `attestors`
|
364
|
+
# @return [Array<Google::Apis::BinaryauthorizationV1beta1::Attestor>]
|
365
|
+
attr_accessor :attestors
|
366
|
+
|
367
|
+
# A token to retrieve the next page of results. Pass this value in the
|
368
|
+
# ListAttestorsRequest.page_token field in the subsequent call to the
|
369
|
+
# `ListAttestors` method to retrieve the next page of results.
|
370
|
+
# Corresponds to the JSON property `nextPageToken`
|
371
|
+
# @return [String]
|
372
|
+
attr_accessor :next_page_token
|
373
|
+
|
374
|
+
def initialize(**args)
|
375
|
+
update!(**args)
|
376
|
+
end
|
377
|
+
|
378
|
+
# Update properties of this object
|
379
|
+
def update!(**args)
|
380
|
+
@attestors = args[:attestors] if args.key?(:attestors)
|
381
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
382
|
+
end
|
383
|
+
end
|
384
|
+
|
385
|
+
# A policy for container image binary authorization.
|
386
|
+
class Policy
|
387
|
+
include Google::Apis::Core::Hashable
|
388
|
+
|
389
|
+
# Optional. Admission policy whitelisting. A matching admission request will
|
390
|
+
# always be permitted. This feature is typically used to exclude Google or
|
391
|
+
# third-party infrastructure images from Binary Authorization policies.
|
392
|
+
# Corresponds to the JSON property `admissionWhitelistPatterns`
|
393
|
+
# @return [Array<Google::Apis::BinaryauthorizationV1beta1::AdmissionWhitelistPattern>]
|
394
|
+
attr_accessor :admission_whitelist_patterns
|
395
|
+
|
396
|
+
# Optional. Per-cluster admission rules. Cluster spec format:
|
397
|
+
# `location.clusterId`. There can be at most one admission rule per cluster
|
398
|
+
# spec.
|
399
|
+
# A `location` is either a compute zone (e.g. us-central1-a) or a region
|
400
|
+
# (e.g. us-central1).
|
401
|
+
# For `clusterId` syntax restrictions see
|
402
|
+
# https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.
|
403
|
+
# clusters.
|
404
|
+
# Corresponds to the JSON property `clusterAdmissionRules`
|
405
|
+
# @return [Hash<String,Google::Apis::BinaryauthorizationV1beta1::AdmissionRule>]
|
406
|
+
attr_accessor :cluster_admission_rules
|
407
|
+
|
408
|
+
# An admission rule specifies either that all container images
|
409
|
+
# used in a pod creation request must be attested to by one or more
|
410
|
+
# attestors, that all pod creations will be allowed, or that all
|
411
|
+
# pod creations will be denied.
|
412
|
+
# Images matching an admission whitelist pattern
|
413
|
+
# are exempted from admission rules and will never block a pod creation.
|
414
|
+
# Corresponds to the JSON property `defaultAdmissionRule`
|
415
|
+
# @return [Google::Apis::BinaryauthorizationV1beta1::AdmissionRule]
|
416
|
+
attr_accessor :default_admission_rule
|
417
|
+
|
418
|
+
# Optional. A descriptive comment.
|
419
|
+
# Corresponds to the JSON property `description`
|
420
|
+
# @return [String]
|
421
|
+
attr_accessor :description
|
422
|
+
|
423
|
+
# Output only. The resource name, in the format `projects/*/policy`. There is
|
424
|
+
# at most one policy per project.
|
425
|
+
# Corresponds to the JSON property `name`
|
426
|
+
# @return [String]
|
427
|
+
attr_accessor :name
|
428
|
+
|
429
|
+
# Output only. Time when the policy was last updated.
|
430
|
+
# Corresponds to the JSON property `updateTime`
|
431
|
+
# @return [String]
|
432
|
+
attr_accessor :update_time
|
433
|
+
|
434
|
+
def initialize(**args)
|
435
|
+
update!(**args)
|
436
|
+
end
|
437
|
+
|
438
|
+
# Update properties of this object
|
439
|
+
def update!(**args)
|
440
|
+
@admission_whitelist_patterns = args[:admission_whitelist_patterns] if args.key?(:admission_whitelist_patterns)
|
441
|
+
@cluster_admission_rules = args[:cluster_admission_rules] if args.key?(:cluster_admission_rules)
|
442
|
+
@default_admission_rule = args[:default_admission_rule] if args.key?(:default_admission_rule)
|
443
|
+
@description = args[:description] if args.key?(:description)
|
444
|
+
@name = args[:name] if args.key?(:name)
|
445
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
449
|
+
# Request message for `SetIamPolicy` method.
|
450
|
+
class SetIamPolicyRequest
|
451
|
+
include Google::Apis::Core::Hashable
|
452
|
+
|
453
|
+
# Defines an Identity and Access Management (IAM) policy. It is used to
|
454
|
+
# specify access control policies for Cloud Platform resources.
|
455
|
+
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
456
|
+
# `members` to a `role`, where the members can be user accounts, Google groups,
|
457
|
+
# Google domains, and service accounts. A `role` is a named list of permissions
|
458
|
+
# defined by IAM.
|
459
|
+
# **JSON Example**
|
460
|
+
# `
|
461
|
+
# "bindings": [
|
462
|
+
# `
|
463
|
+
# "role": "roles/owner",
|
464
|
+
# "members": [
|
465
|
+
# "user:mike@example.com",
|
466
|
+
# "group:admins@example.com",
|
467
|
+
# "domain:google.com",
|
468
|
+
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
469
|
+
# ]
|
470
|
+
# `,
|
471
|
+
# `
|
472
|
+
# "role": "roles/viewer",
|
473
|
+
# "members": ["user:sean@example.com"]
|
474
|
+
# `
|
475
|
+
# ]
|
476
|
+
# `
|
477
|
+
# **YAML Example**
|
478
|
+
# bindings:
|
479
|
+
# - members:
|
480
|
+
# - user:mike@example.com
|
481
|
+
# - group:admins@example.com
|
482
|
+
# - domain:google.com
|
483
|
+
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
484
|
+
# role: roles/owner
|
485
|
+
# - members:
|
486
|
+
# - user:sean@example.com
|
487
|
+
# role: roles/viewer
|
488
|
+
# For a description of IAM and its features, see the
|
489
|
+
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
490
|
+
# Corresponds to the JSON property `policy`
|
491
|
+
# @return [Google::Apis::BinaryauthorizationV1beta1::IamPolicy]
|
492
|
+
attr_accessor :policy
|
493
|
+
|
494
|
+
def initialize(**args)
|
495
|
+
update!(**args)
|
496
|
+
end
|
497
|
+
|
498
|
+
# Update properties of this object
|
499
|
+
def update!(**args)
|
500
|
+
@policy = args[:policy] if args.key?(:policy)
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
504
|
+
# Request message for `TestIamPermissions` method.
|
505
|
+
class TestIamPermissionsRequest
|
506
|
+
include Google::Apis::Core::Hashable
|
507
|
+
|
508
|
+
# The set of permissions to check for the `resource`. Permissions with
|
509
|
+
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
510
|
+
# information see
|
511
|
+
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
512
|
+
# Corresponds to the JSON property `permissions`
|
513
|
+
# @return [Array<String>]
|
514
|
+
attr_accessor :permissions
|
515
|
+
|
516
|
+
def initialize(**args)
|
517
|
+
update!(**args)
|
518
|
+
end
|
519
|
+
|
520
|
+
# Update properties of this object
|
521
|
+
def update!(**args)
|
522
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
523
|
+
end
|
524
|
+
end
|
525
|
+
|
526
|
+
# Response message for `TestIamPermissions` method.
|
527
|
+
class TestIamPermissionsResponse
|
528
|
+
include Google::Apis::Core::Hashable
|
529
|
+
|
530
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
531
|
+
# allowed.
|
532
|
+
# Corresponds to the JSON property `permissions`
|
533
|
+
# @return [Array<String>]
|
534
|
+
attr_accessor :permissions
|
535
|
+
|
536
|
+
def initialize(**args)
|
537
|
+
update!(**args)
|
538
|
+
end
|
539
|
+
|
540
|
+
# Update properties of this object
|
541
|
+
def update!(**args)
|
542
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
543
|
+
end
|
544
|
+
end
|
545
|
+
|
546
|
+
# An user owned drydock note references a Drydock
|
547
|
+
# ATTESTATION_AUTHORITY Note created by the user.
|
548
|
+
class UserOwnedDrydockNote
|
549
|
+
include Google::Apis::Core::Hashable
|
550
|
+
|
551
|
+
# Output only. This field will contain the service account email address
|
552
|
+
# that this Attestor will use as the principal when querying Container
|
553
|
+
# Analysis. Attestor administrators must grant this service account the
|
554
|
+
# IAM role needed to read attestations from the note_reference in
|
555
|
+
# Container Analysis (`containeranalysis.notes.occurrences.viewer`).
|
556
|
+
# This email address is fixed for the lifetime of the Attestor, but callers
|
557
|
+
# should not make any other assumptions about the service account email;
|
558
|
+
# future versions may use an email based on a different naming pattern.
|
559
|
+
# Corresponds to the JSON property `delegationServiceAccountEmail`
|
560
|
+
# @return [String]
|
561
|
+
attr_accessor :delegation_service_account_email
|
562
|
+
|
563
|
+
# Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
|
564
|
+
# created by the user, in the format: `projects/*/notes/*` (or the legacy
|
565
|
+
# `providers/*/notes/*`). This field may not be updated.
|
566
|
+
# An attestation by this attestor is stored as a Drydock
|
567
|
+
# ATTESTATION_AUTHORITY Occurrence that names a container image and that
|
568
|
+
# links to this Note. Drydock is an external dependency.
|
569
|
+
# Corresponds to the JSON property `noteReference`
|
570
|
+
# @return [String]
|
571
|
+
attr_accessor :note_reference
|
572
|
+
|
573
|
+
# Optional. Public keys that verify attestations signed by this
|
574
|
+
# attestor. This field may be updated.
|
575
|
+
# If this field is non-empty, one of the specified public keys must
|
576
|
+
# verify that an attestation was signed by this attestor for the
|
577
|
+
# image specified in the admission request.
|
578
|
+
# If this field is empty, this attestor always returns that no
|
579
|
+
# valid attestations exist.
|
580
|
+
# Corresponds to the JSON property `publicKeys`
|
581
|
+
# @return [Array<Google::Apis::BinaryauthorizationV1beta1::AttestorPublicKey>]
|
582
|
+
attr_accessor :public_keys
|
583
|
+
|
584
|
+
def initialize(**args)
|
585
|
+
update!(**args)
|
586
|
+
end
|
587
|
+
|
588
|
+
# Update properties of this object
|
589
|
+
def update!(**args)
|
590
|
+
@delegation_service_account_email = args[:delegation_service_account_email] if args.key?(:delegation_service_account_email)
|
591
|
+
@note_reference = args[:note_reference] if args.key?(:note_reference)
|
592
|
+
@public_keys = args[:public_keys] if args.key?(:public_keys)
|
593
|
+
end
|
594
|
+
end
|
595
|
+
end
|
596
|
+
end
|
597
|
+
end
|