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,30 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudkmsV1
|
24
24
|
|
25
|
+
class AsymmetricDecryptRequest
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AsymmetricDecryptResponse
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class AsymmetricSignRequest
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class AsymmetricSignResponse
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
25
49
|
class AuditConfig
|
26
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
51
|
|
@@ -52,6 +76,12 @@ module Google
|
|
52
76
|
include Google::Apis::Core::JsonObjectSupport
|
53
77
|
end
|
54
78
|
|
79
|
+
class CryptoKeyVersionTemplate
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
55
85
|
class DecryptRequest
|
56
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
87
|
|
@@ -70,6 +100,12 @@ module Google
|
|
70
100
|
include Google::Apis::Core::JsonObjectSupport
|
71
101
|
end
|
72
102
|
|
103
|
+
class Digest
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
73
109
|
class EncryptRequest
|
74
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
111
|
|
@@ -82,6 +118,18 @@ module Google
|
|
82
118
|
include Google::Apis::Core::JsonObjectSupport
|
83
119
|
end
|
84
120
|
|
121
|
+
class Expr
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class KeyOperationAttestation
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
85
133
|
class KeyRing
|
86
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
135
|
|
@@ -118,12 +166,24 @@ module Google
|
|
118
166
|
include Google::Apis::Core::JsonObjectSupport
|
119
167
|
end
|
120
168
|
|
169
|
+
class LocationMetadata
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
121
175
|
class Policy
|
122
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
177
|
|
124
178
|
include Google::Apis::Core::JsonObjectSupport
|
125
179
|
end
|
126
180
|
|
181
|
+
class PublicKey
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
127
187
|
class RestoreCryptoKeyVersionRequest
|
128
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
189
|
|
@@ -154,6 +214,35 @@ module Google
|
|
154
214
|
include Google::Apis::Core::JsonObjectSupport
|
155
215
|
end
|
156
216
|
|
217
|
+
class AsymmetricDecryptRequest
|
218
|
+
# @private
|
219
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
220
|
+
property :ciphertext, :base64 => true, as: 'ciphertext'
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
class AsymmetricDecryptResponse
|
225
|
+
# @private
|
226
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
227
|
+
property :plaintext, :base64 => true, as: 'plaintext'
|
228
|
+
end
|
229
|
+
end
|
230
|
+
|
231
|
+
class AsymmetricSignRequest
|
232
|
+
# @private
|
233
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
234
|
+
property :digest, as: 'digest', class: Google::Apis::CloudkmsV1::Digest, decorator: Google::Apis::CloudkmsV1::Digest::Representation
|
235
|
+
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
239
|
+
class AsymmetricSignResponse
|
240
|
+
# @private
|
241
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
242
|
+
property :signature, :base64 => true, as: 'signature'
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
157
246
|
class AuditConfig
|
158
247
|
# @private
|
159
248
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -174,6 +263,8 @@ module Google
|
|
174
263
|
class Binding
|
175
264
|
# @private
|
176
265
|
class Representation < Google::Apis::Core::JsonRepresentation
|
266
|
+
property :condition, as: 'condition', class: Google::Apis::CloudkmsV1::Expr, decorator: Google::Apis::CloudkmsV1::Expr::Representation
|
267
|
+
|
177
268
|
collection :members, as: 'members'
|
178
269
|
property :role, as: 'role'
|
179
270
|
end
|
@@ -190,20 +281,35 @@ module Google
|
|
190
281
|
|
191
282
|
property :purpose, as: 'purpose'
|
192
283
|
property :rotation_period, as: 'rotationPeriod'
|
284
|
+
property :version_template, as: 'versionTemplate', class: Google::Apis::CloudkmsV1::CryptoKeyVersionTemplate, decorator: Google::Apis::CloudkmsV1::CryptoKeyVersionTemplate::Representation
|
285
|
+
|
193
286
|
end
|
194
287
|
end
|
195
288
|
|
196
289
|
class CryptoKeyVersion
|
197
290
|
# @private
|
198
291
|
class Representation < Google::Apis::Core::JsonRepresentation
|
292
|
+
property :algorithm, as: 'algorithm'
|
293
|
+
property :attestation, as: 'attestation', class: Google::Apis::CloudkmsV1::KeyOperationAttestation, decorator: Google::Apis::CloudkmsV1::KeyOperationAttestation::Representation
|
294
|
+
|
199
295
|
property :create_time, as: 'createTime'
|
200
296
|
property :destroy_event_time, as: 'destroyEventTime'
|
201
297
|
property :destroy_time, as: 'destroyTime'
|
298
|
+
property :generate_time, as: 'generateTime'
|
202
299
|
property :name, as: 'name'
|
300
|
+
property :protection_level, as: 'protectionLevel'
|
203
301
|
property :state, as: 'state'
|
204
302
|
end
|
205
303
|
end
|
206
304
|
|
305
|
+
class CryptoKeyVersionTemplate
|
306
|
+
# @private
|
307
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
308
|
+
property :algorithm, as: 'algorithm'
|
309
|
+
property :protection_level, as: 'protectionLevel'
|
310
|
+
end
|
311
|
+
end
|
312
|
+
|
207
313
|
class DecryptRequest
|
208
314
|
# @private
|
209
315
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -225,6 +331,15 @@ module Google
|
|
225
331
|
end
|
226
332
|
end
|
227
333
|
|
334
|
+
class Digest
|
335
|
+
# @private
|
336
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
337
|
+
property :sha256, :base64 => true, as: 'sha256'
|
338
|
+
property :sha384, :base64 => true, as: 'sha384'
|
339
|
+
property :sha512, :base64 => true, as: 'sha512'
|
340
|
+
end
|
341
|
+
end
|
342
|
+
|
228
343
|
class EncryptRequest
|
229
344
|
# @private
|
230
345
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -241,6 +356,24 @@ module Google
|
|
241
356
|
end
|
242
357
|
end
|
243
358
|
|
359
|
+
class Expr
|
360
|
+
# @private
|
361
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
362
|
+
property :description, as: 'description'
|
363
|
+
property :expression, as: 'expression'
|
364
|
+
property :location, as: 'location'
|
365
|
+
property :title, as: 'title'
|
366
|
+
end
|
367
|
+
end
|
368
|
+
|
369
|
+
class KeyOperationAttestation
|
370
|
+
# @private
|
371
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
372
|
+
property :content, :base64 => true, as: 'content'
|
373
|
+
property :format, as: 'format'
|
374
|
+
end
|
375
|
+
end
|
376
|
+
|
244
377
|
class KeyRing
|
245
378
|
# @private
|
246
379
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -299,6 +432,13 @@ module Google
|
|
299
432
|
end
|
300
433
|
end
|
301
434
|
|
435
|
+
class LocationMetadata
|
436
|
+
# @private
|
437
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
438
|
+
property :hsm_available, as: 'hsmAvailable'
|
439
|
+
end
|
440
|
+
end
|
441
|
+
|
302
442
|
class Policy
|
303
443
|
# @private
|
304
444
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -311,6 +451,13 @@ module Google
|
|
311
451
|
end
|
312
452
|
end
|
313
453
|
|
454
|
+
class PublicKey
|
455
|
+
# @private
|
456
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
457
|
+
property :pem, as: 'pem'
|
458
|
+
end
|
459
|
+
end
|
460
|
+
|
314
461
|
class RestoreCryptoKeyVersionRequest
|
315
462
|
# @private
|
316
463
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -22,8 +22,11 @@ module Google
|
|
22
22
|
module CloudkmsV1
|
23
23
|
# Cloud Key Management Service (KMS) API
|
24
24
|
#
|
25
|
-
#
|
26
|
-
#
|
25
|
+
# Cloud KMS allows you to keep cryptographic keys in one central cloud service,
|
26
|
+
# for direct use by other cloud resources and applications. With Cloud KMS you
|
27
|
+
# are the ultimate custodian of your data, you can manage encryption in the
|
28
|
+
# cloud the same way you do on-premises, and you have a provable and monitorable
|
29
|
+
# root of trust over your data.
|
27
30
|
#
|
28
31
|
# @example
|
29
32
|
# require 'google/apis/cloudkms_v1'
|
@@ -334,7 +337,9 @@ module Google
|
|
334
337
|
end
|
335
338
|
|
336
339
|
# Create a new CryptoKey within a KeyRing.
|
337
|
-
# CryptoKey.purpose
|
340
|
+
# CryptoKey.purpose and
|
341
|
+
# CryptoKey.version_template.algorithm
|
342
|
+
# are required.
|
338
343
|
# @param [String] parent
|
339
344
|
# Required. The name of the KeyRing associated with the
|
340
345
|
# CryptoKeys.
|
@@ -372,7 +377,8 @@ module Google
|
|
372
377
|
execute_or_queue_command(command, &block)
|
373
378
|
end
|
374
379
|
|
375
|
-
# Decrypts data that was protected by Encrypt.
|
380
|
+
# Decrypts data that was protected by Encrypt. The CryptoKey.purpose
|
381
|
+
# must be ENCRYPT_DECRYPT.
|
376
382
|
# @param [String] name
|
377
383
|
# Required. The resource name of the CryptoKey to use for decryption.
|
378
384
|
# The server will choose the appropriate version.
|
@@ -407,6 +413,8 @@ module Google
|
|
407
413
|
end
|
408
414
|
|
409
415
|
# Encrypts data, so that it can only be recovered by a call to Decrypt.
|
416
|
+
# The CryptoKey.purpose must be
|
417
|
+
# ENCRYPT_DECRYPT.
|
410
418
|
# @param [String] name
|
411
419
|
# Required. The resource name of the CryptoKey or CryptoKeyVersion
|
412
420
|
# to use for encryption.
|
@@ -518,6 +526,8 @@ module Google
|
|
518
526
|
# @param [String] page_token
|
519
527
|
# Optional pagination token, returned earlier via
|
520
528
|
# ListCryptoKeysResponse.next_page_token.
|
529
|
+
# @param [String] version_view
|
530
|
+
# The fields of the primary version to include in the response.
|
521
531
|
# @param [String] fields
|
522
532
|
# Selector specifying which fields to include in a partial response.
|
523
533
|
# @param [String] quota_user
|
@@ -535,13 +545,14 @@ module Google
|
|
535
545
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
536
546
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
537
547
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
538
|
-
def list_project_location_key_ring_crypto_keys(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
548
|
+
def list_project_location_key_ring_crypto_keys(parent, page_size: nil, page_token: nil, version_view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
539
549
|
command = make_simple_command(:get, 'v1/{+parent}/cryptoKeys', options)
|
540
550
|
command.response_representation = Google::Apis::CloudkmsV1::ListCryptoKeysResponse::Representation
|
541
551
|
command.response_class = Google::Apis::CloudkmsV1::ListCryptoKeysResponse
|
542
552
|
command.params['parent'] = parent unless parent.nil?
|
543
553
|
command.query['pageSize'] = page_size unless page_size.nil?
|
544
554
|
command.query['pageToken'] = page_token unless page_token.nil?
|
555
|
+
command.query['versionView'] = version_view unless version_view.nil?
|
545
556
|
command.query['fields'] = fields unless fields.nil?
|
546
557
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
547
558
|
execute_or_queue_command(command, &block)
|
@@ -659,6 +670,7 @@ module Google
|
|
659
670
|
end
|
660
671
|
|
661
672
|
# Update the version of a CryptoKey that will be used in Encrypt.
|
673
|
+
# Returns an error if called on an asymmetric key.
|
662
674
|
# @param [String] name
|
663
675
|
# The resource name of the CryptoKey to update.
|
664
676
|
# @param [Google::Apis::CloudkmsV1::UpdateCryptoKeyPrimaryVersionRequest] update_crypto_key_primary_version_request_object
|
@@ -691,6 +703,77 @@ module Google
|
|
691
703
|
execute_or_queue_command(command, &block)
|
692
704
|
end
|
693
705
|
|
706
|
+
# Decrypts data that was encrypted with a public key retrieved from
|
707
|
+
# GetPublicKey corresponding to a CryptoKeyVersion with
|
708
|
+
# CryptoKey.purpose ASYMMETRIC_DECRYPT.
|
709
|
+
# @param [String] name
|
710
|
+
# Required. The resource name of the CryptoKeyVersion to use for
|
711
|
+
# decryption.
|
712
|
+
# @param [Google::Apis::CloudkmsV1::AsymmetricDecryptRequest] asymmetric_decrypt_request_object
|
713
|
+
# @param [String] fields
|
714
|
+
# Selector specifying which fields to include in a partial response.
|
715
|
+
# @param [String] quota_user
|
716
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
717
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
718
|
+
# @param [Google::Apis::RequestOptions] options
|
719
|
+
# Request-specific options
|
720
|
+
#
|
721
|
+
# @yield [result, err] Result & error if block supplied
|
722
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::AsymmetricDecryptResponse] parsed result object
|
723
|
+
# @yieldparam err [StandardError] error object if request failed
|
724
|
+
#
|
725
|
+
# @return [Google::Apis::CloudkmsV1::AsymmetricDecryptResponse]
|
726
|
+
#
|
727
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
728
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
729
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
730
|
+
def asymmetric_crypto_key_version_decrypt(name, asymmetric_decrypt_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
731
|
+
command = make_simple_command(:post, 'v1/{+name}:asymmetricDecrypt', options)
|
732
|
+
command.request_representation = Google::Apis::CloudkmsV1::AsymmetricDecryptRequest::Representation
|
733
|
+
command.request_object = asymmetric_decrypt_request_object
|
734
|
+
command.response_representation = Google::Apis::CloudkmsV1::AsymmetricDecryptResponse::Representation
|
735
|
+
command.response_class = Google::Apis::CloudkmsV1::AsymmetricDecryptResponse
|
736
|
+
command.params['name'] = name unless name.nil?
|
737
|
+
command.query['fields'] = fields unless fields.nil?
|
738
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
739
|
+
execute_or_queue_command(command, &block)
|
740
|
+
end
|
741
|
+
|
742
|
+
# Signs data using a CryptoKeyVersion with CryptoKey.purpose
|
743
|
+
# ASYMMETRIC_SIGN, producing a signature that can be verified with the public
|
744
|
+
# key retrieved from GetPublicKey.
|
745
|
+
# @param [String] name
|
746
|
+
# Required. The resource name of the CryptoKeyVersion to use for signing.
|
747
|
+
# @param [Google::Apis::CloudkmsV1::AsymmetricSignRequest] asymmetric_sign_request_object
|
748
|
+
# @param [String] fields
|
749
|
+
# Selector specifying which fields to include in a partial response.
|
750
|
+
# @param [String] quota_user
|
751
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
752
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
753
|
+
# @param [Google::Apis::RequestOptions] options
|
754
|
+
# Request-specific options
|
755
|
+
#
|
756
|
+
# @yield [result, err] Result & error if block supplied
|
757
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::AsymmetricSignResponse] parsed result object
|
758
|
+
# @yieldparam err [StandardError] error object if request failed
|
759
|
+
#
|
760
|
+
# @return [Google::Apis::CloudkmsV1::AsymmetricSignResponse]
|
761
|
+
#
|
762
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
763
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
764
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
765
|
+
def asymmetric_crypto_key_version_sign(name, asymmetric_sign_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
766
|
+
command = make_simple_command(:post, 'v1/{+name}:asymmetricSign', options)
|
767
|
+
command.request_representation = Google::Apis::CloudkmsV1::AsymmetricSignRequest::Representation
|
768
|
+
command.request_object = asymmetric_sign_request_object
|
769
|
+
command.response_representation = Google::Apis::CloudkmsV1::AsymmetricSignResponse::Representation
|
770
|
+
command.response_class = Google::Apis::CloudkmsV1::AsymmetricSignResponse
|
771
|
+
command.params['name'] = name unless name.nil?
|
772
|
+
command.query['fields'] = fields unless fields.nil?
|
773
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
774
|
+
execute_or_queue_command(command, &block)
|
775
|
+
end
|
776
|
+
|
694
777
|
# Create a new CryptoKeyVersion in a CryptoKey.
|
695
778
|
# The server will assign the next sequential id. If unset,
|
696
779
|
# state will be set to
|
@@ -800,6 +883,40 @@ module Google
|
|
800
883
|
execute_or_queue_command(command, &block)
|
801
884
|
end
|
802
885
|
|
886
|
+
# Returns the public key for the given CryptoKeyVersion. The
|
887
|
+
# CryptoKey.purpose must be
|
888
|
+
# ASYMMETRIC_SIGN or
|
889
|
+
# ASYMMETRIC_DECRYPT.
|
890
|
+
# @param [String] name
|
891
|
+
# The name of the CryptoKeyVersion public key to
|
892
|
+
# get.
|
893
|
+
# @param [String] fields
|
894
|
+
# Selector specifying which fields to include in a partial response.
|
895
|
+
# @param [String] quota_user
|
896
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
897
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
898
|
+
# @param [Google::Apis::RequestOptions] options
|
899
|
+
# Request-specific options
|
900
|
+
#
|
901
|
+
# @yield [result, err] Result & error if block supplied
|
902
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::PublicKey] parsed result object
|
903
|
+
# @yieldparam err [StandardError] error object if request failed
|
904
|
+
#
|
905
|
+
# @return [Google::Apis::CloudkmsV1::PublicKey]
|
906
|
+
#
|
907
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
908
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
909
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
910
|
+
def get_project_location_key_ring_crypto_key_crypto_key_version_public_key(name, fields: nil, quota_user: nil, options: nil, &block)
|
911
|
+
command = make_simple_command(:get, 'v1/{+name}/publicKey', options)
|
912
|
+
command.response_representation = Google::Apis::CloudkmsV1::PublicKey::Representation
|
913
|
+
command.response_class = Google::Apis::CloudkmsV1::PublicKey
|
914
|
+
command.params['name'] = name unless name.nil?
|
915
|
+
command.query['fields'] = fields unless fields.nil?
|
916
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
917
|
+
execute_or_queue_command(command, &block)
|
918
|
+
end
|
919
|
+
|
803
920
|
# Lists CryptoKeyVersions.
|
804
921
|
# @param [String] parent
|
805
922
|
# Required. The resource name of the CryptoKey to list, in the format
|
@@ -813,6 +930,8 @@ module Google
|
|
813
930
|
# @param [String] page_token
|
814
931
|
# Optional pagination token, returned earlier via
|
815
932
|
# ListCryptoKeyVersionsResponse.next_page_token.
|
933
|
+
# @param [String] view
|
934
|
+
# The fields to include in the response.
|
816
935
|
# @param [String] fields
|
817
936
|
# Selector specifying which fields to include in a partial response.
|
818
937
|
# @param [String] quota_user
|
@@ -830,13 +949,14 @@ module Google
|
|
830
949
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
831
950
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
832
951
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
833
|
-
def list_project_location_key_ring_crypto_key_crypto_key_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
952
|
+
def list_project_location_key_ring_crypto_key_crypto_key_versions(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
834
953
|
command = make_simple_command(:get, 'v1/{+parent}/cryptoKeyVersions', options)
|
835
954
|
command.response_representation = Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse::Representation
|
836
955
|
command.response_class = Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse
|
837
956
|
command.params['parent'] = parent unless parent.nil?
|
838
957
|
command.query['pageSize'] = page_size unless page_size.nil?
|
839
958
|
command.query['pageToken'] = page_token unless page_token.nil?
|
959
|
+
command.query['view'] = view unless view.nil?
|
840
960
|
command.query['fields'] = fields unless fields.nil?
|
841
961
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
842
962
|
execute_or_queue_command(command, &block)
|