google-api-client 0.28.7 → 0.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kokoro/build.bat +9 -6
- data/.kokoro/build.sh +2 -32
- data/.kokoro/continuous/common.cfg +6 -1
- data/.kokoro/continuous/windows.cfg +17 -1
- data/.kokoro/osx.sh +2 -33
- data/.kokoro/presubmit/common.cfg +6 -1
- data/.kokoro/presubmit/windows.cfg +17 -1
- data/.kokoro/trampoline.bat +10 -0
- data/.kokoro/trampoline.sh +3 -23
- data/CHANGELOG.md +138 -0
- data/Rakefile +31 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +306 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +159 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +96 -131
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -42
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +98 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +2 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +40 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +0 -26
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -14
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -36
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +82 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +170 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/service.rb +6 -12
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +6 -12
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +7 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +2 -1
- data/generated/google/apis/appengine_v1beta/service.rb +7 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +4 -3
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +28 -4
- data/generated/google/apis/bigquery_v2/representations.rb +13 -0
- data/generated/google/apis/bigtableadmin_v1.rb +2 -2
- data/generated/google/apis/bigtableadmin_v1/service.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/classes.rb +10 -10
- data/generated/google/apis/bigtableadmin_v2/service.rb +111 -2
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +16 -16
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +77 -0
- data/generated/google/apis/classroom_v1/representations.rb +32 -0
- data/generated/google/apis/classroom_v1/service.rb +224 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +15 -2
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1/service.rb +3 -2
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +13 -0
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +2 -2
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -5
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -10
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -4
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +30 -21
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +37 -26
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1.rb +34 -0
- data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
- data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
- data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +25 -11
- data/generated/google/apis/cloudsearch_v1/service.rb +36 -32
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/service.rb +13 -13
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +13 -13
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +13 -13
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +328 -25
- data/generated/google/apis/compute_alpha/representations.rb +134 -0
- data/generated/google/apis/compute_alpha/service.rb +465 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +86 -20
- data/generated/google/apis/compute_beta/representations.rb +7 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +994 -103
- data/generated/google/apis/compute_v1/representations.rb +346 -0
- data/generated/google/apis/compute_v1/service.rb +533 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +167 -21
- data/generated/google/apis/container_v1/representations.rb +66 -0
- data/generated/google/apis/container_v1/service.rb +85 -36
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +86 -21
- data/generated/google/apis/container_v1beta1/representations.rb +32 -0
- data/generated/google/apis/container_v1beta1/service.rb +38 -38
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +95 -6
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +25 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +5 -5
- data/generated/google/apis/content_v2/service.rb +6 -6
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +18 -4
- data/generated/google/apis/content_v2_1/representations.rb +2 -0
- data/generated/google/apis/content_v2_1/service.rb +6 -6
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +56 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +39 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +251 -0
- data/generated/google/apis/datafusion_v1beta1.rb +43 -0
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
- data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +5 -5
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +37 -24
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +20 -16
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +236 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +64 -2
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +19 -2
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +202 -93
- data/generated/google/apis/dns_v1/service.rb +110 -15
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +262 -122
- data/generated/google/apis/dns_v1beta2/service.rb +141 -21
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +202 -93
- data/generated/google/apis/dns_v2beta1/service.rb +110 -15
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +10 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +601 -69
- data/generated/google/apis/drive_v2/representations.rb +152 -0
- data/generated/google/apis/drive_v2/service.rb +452 -96
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +591 -64
- data/generated/google/apis/drive_v3/representations.rb +151 -0
- data/generated/google/apis/drive_v3/service.rb +407 -77
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
- data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +399 -8
- data/generated/google/apis/file_v1/representations.rb +121 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +399 -8
- data/generated/google/apis/file_v1beta1/representations.rb +121 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +28 -4
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1.rb +2 -2
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +29 -0
- data/generated/google/apis/gmail_v1/representations.rb +13 -0
- data/generated/google/apis/gmail_v1/service.rb +76 -0
- data/generated/google/apis/healthcare_v1beta1.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +2462 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +3403 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +9 -8
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +13 -7
- data/generated/google/apis/jobs_v3/service.rb +1 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +13 -7
- data/generated/google/apis/jobs_v3p1beta1/service.rb +1 -2
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +3 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +3 -2
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +64 -16
- data/generated/google/apis/ml_v1/representations.rb +2 -0
- data/generated/google/apis/ml_v1/service.rb +5 -5
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +0 -10
- data/generated/google/apis/monitoring_v3/representations.rb +0 -1
- data/generated/google/apis/oauth2_v1.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oslogin_v1.rb +3 -2
- data/generated/google/apis/oslogin_v1/service.rb +2 -1
- data/generated/google/apis/oslogin_v1alpha.rb +3 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +2 -1
- data/generated/google/apis/oslogin_v1beta.rb +3 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +2 -1
- data/generated/google/apis/people_v1.rb +1 -4
- data/generated/google/apis/people_v1/classes.rb +19 -11
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +1 -0
- data/generated/google/apis/plus_domains_v1.rb +2 -5
- data/generated/google/apis/plus_domains_v1/service.rb +8 -90
- data/generated/google/apis/plus_v1.rb +2 -2
- data/generated/google/apis/plus_v1/service.rb +7 -7
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +3 -2
- data/generated/google/apis/poly_v1/service.rb +11 -8
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +2 -1
- data/generated/google/apis/pubsub_v1/service.rb +8 -8
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +7 -6
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -4
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -4
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +35 -0
- data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +324 -13
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +174 -0
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +5 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +2 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +101 -20
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +16 -13
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -13
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +110 -13
- data/generated/google/apis/serviceusage_v1/representations.rb +43 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +110 -13
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +43 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +182 -0
- data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +35 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +20 -19
- data/generated/google/apis/spanner_v1/service.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +9 -2
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +144 -0
- data/generated/google/apis/storage_v1/representations.rb +56 -0
- data/generated/google/apis/storage_v1/service.rb +441 -46
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +3 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +6 -0
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +240 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +43 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +116 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +10 -4
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +10 -4
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +37 -18
- data/generated/google/apis/vault_v1/representations.rb +3 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +84 -47
- data/generated/google/apis/vision_v1/service.rb +68 -4
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +84 -47
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +84 -47
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +0 -166
- data/generated/google/apis/webmasters_v3/representations.rb +0 -93
- data/generated/google/apis/webmasters_v3/service.rb +0 -171
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
- data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +31 -9
- data/.kokoro/common.cfg +0 -22
- data/.kokoro/windows.sh +0 -32
- data/generated/google/apis/logging_v2beta1.rb +0 -46
- data/generated/google/apis/logging_v2beta1/classes.rb +0 -1764
- data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
- data/generated/google/apis/logging_v2beta1/service.rb +0 -570
@@ -70,6 +70,18 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class BatchCreateAdminOverridesResponse
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class BatchCreateConsumerOverridesResponse
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
73
85
|
class BatchEnableServicesRequest
|
74
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
87
|
|
@@ -376,6 +388,12 @@ module Google
|
|
376
388
|
include Google::Apis::Core::JsonObjectSupport
|
377
389
|
end
|
378
390
|
|
391
|
+
class QuotaOverride
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
379
397
|
class SourceContext
|
380
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
399
|
|
@@ -516,6 +534,22 @@ module Google
|
|
516
534
|
end
|
517
535
|
end
|
518
536
|
|
537
|
+
class BatchCreateAdminOverridesResponse
|
538
|
+
# @private
|
539
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
540
|
+
collection :overrides, as: 'overrides', class: Google::Apis::ServiceusageV1::QuotaOverride, decorator: Google::Apis::ServiceusageV1::QuotaOverride::Representation
|
541
|
+
|
542
|
+
end
|
543
|
+
end
|
544
|
+
|
545
|
+
class BatchCreateConsumerOverridesResponse
|
546
|
+
# @private
|
547
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
548
|
+
collection :overrides, as: 'overrides', class: Google::Apis::ServiceusageV1::QuotaOverride, decorator: Google::Apis::ServiceusageV1::QuotaOverride::Representation
|
549
|
+
|
550
|
+
end
|
551
|
+
end
|
552
|
+
|
519
553
|
class BatchEnableServicesRequest
|
520
554
|
# @private
|
521
555
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1065,6 +1099,15 @@ module Google
|
|
1065
1099
|
end
|
1066
1100
|
end
|
1067
1101
|
|
1102
|
+
class QuotaOverride
|
1103
|
+
# @private
|
1104
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1105
|
+
hash :dimensions, as: 'dimensions'
|
1106
|
+
property :name, as: 'name'
|
1107
|
+
property :override_value, :numeric_string => true, as: 'overrideValue'
|
1108
|
+
end
|
1109
|
+
end
|
1110
|
+
|
1068
1111
|
class SourceContext
|
1069
1112
|
# @private
|
1070
1113
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/service-usage/
|
28
28
|
module ServiceusageV1beta1
|
29
29
|
VERSION = 'V1beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20190412'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -102,7 +102,7 @@ module Google
|
|
102
102
|
end
|
103
103
|
end
|
104
104
|
|
105
|
-
# Configuration for an
|
105
|
+
# Configuration for an authentication provider, including support for
|
106
106
|
# [JSON Web Token
|
107
107
|
# (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
|
108
108
|
class AuthProvider
|
@@ -420,6 +420,44 @@ module Google
|
|
420
420
|
end
|
421
421
|
end
|
422
422
|
|
423
|
+
# Response message for BatchCreateAdminOverrides
|
424
|
+
class BatchCreateAdminOverridesResponse
|
425
|
+
include Google::Apis::Core::Hashable
|
426
|
+
|
427
|
+
# The overrides that were created.
|
428
|
+
# Corresponds to the JSON property `overrides`
|
429
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::QuotaOverride>]
|
430
|
+
attr_accessor :overrides
|
431
|
+
|
432
|
+
def initialize(**args)
|
433
|
+
update!(**args)
|
434
|
+
end
|
435
|
+
|
436
|
+
# Update properties of this object
|
437
|
+
def update!(**args)
|
438
|
+
@overrides = args[:overrides] if args.key?(:overrides)
|
439
|
+
end
|
440
|
+
end
|
441
|
+
|
442
|
+
# Response message for BatchCreateConsumerOverrides
|
443
|
+
class BatchCreateConsumerOverridesResponse
|
444
|
+
include Google::Apis::Core::Hashable
|
445
|
+
|
446
|
+
# The overrides that were created.
|
447
|
+
# Corresponds to the JSON property `overrides`
|
448
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::QuotaOverride>]
|
449
|
+
attr_accessor :overrides
|
450
|
+
|
451
|
+
def initialize(**args)
|
452
|
+
update!(**args)
|
453
|
+
end
|
454
|
+
|
455
|
+
# Update properties of this object
|
456
|
+
def update!(**args)
|
457
|
+
@overrides = args[:overrides] if args.key?(:overrides)
|
458
|
+
end
|
459
|
+
end
|
460
|
+
|
423
461
|
# Request message for the `BatchEnableServices` method.
|
424
462
|
class BatchEnableServicesRequest
|
425
463
|
include Google::Apis::Core::Hashable
|
@@ -2014,8 +2052,9 @@ module Google
|
|
2014
2052
|
# This enables a HTTP JSON to RPC mapping as below:
|
2015
2053
|
# HTTP | gRPC
|
2016
2054
|
# -----|-----
|
2017
|
-
# `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
|
2018
|
-
# "123456" revision: 2 sub: SubMessage(subfield:
|
2055
|
+
# `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
|
2056
|
+
# `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
|
2057
|
+
# "foo"))`
|
2019
2058
|
# Note that fields which are mapped to URL query parameters must have a
|
2020
2059
|
# primitive type or a repeated primitive type or a non-repeated message type.
|
2021
2060
|
# In the case of a repeated type, the parameter can be repeated in the URL
|
@@ -2042,8 +2081,8 @@ module Google
|
|
2042
2081
|
# protos JSON encoding:
|
2043
2082
|
# HTTP | gRPC
|
2044
2083
|
# -----|-----
|
2045
|
-
# `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
|
2046
|
-
# 123456" message ` text: "Hi!" `)`
|
2084
|
+
# `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
|
2085
|
+
# "123456" message ` text: "Hi!" `)`
|
2047
2086
|
# The special name `*` can be used in the body mapping to define that
|
2048
2087
|
# every field not bound by the path template should be mapped to the
|
2049
2088
|
# request body. This enables the following alternative definition of
|
@@ -2063,8 +2102,8 @@ module Google
|
|
2063
2102
|
# The following HTTP JSON to RPC mapping is enabled:
|
2064
2103
|
# HTTP | gRPC
|
2065
2104
|
# -----|-----
|
2066
|
-
# `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
|
2067
|
-
# 123456" text: "Hi!")`
|
2105
|
+
# `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
|
2106
|
+
# "123456" text: "Hi!")`
|
2068
2107
|
# Note that when using `*` in the body mapping, it is not possible to
|
2069
2108
|
# have HTTP parameters, as all fields not bound by the path end in
|
2070
2109
|
# the body. This makes this option more rarely used in practice when
|
@@ -2090,8 +2129,8 @@ module Google
|
|
2090
2129
|
# HTTP | gRPC
|
2091
2130
|
# -----|-----
|
2092
2131
|
# `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
|
2093
|
-
# `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
|
2094
|
-
# 123456")`
|
2132
|
+
# `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
|
2133
|
+
# "123456")`
|
2095
2134
|
# ## Rules for HTTP mapping
|
2096
2135
|
# 1. Leaf request fields (recursive expansion nested messages in the request
|
2097
2136
|
# message) are classified into three categories:
|
@@ -2127,15 +2166,17 @@ module Google
|
|
2127
2166
|
# `"`var=*`"`, when such a variable is expanded into a URL path on the client
|
2128
2167
|
# side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
|
2129
2168
|
# server side does the reverse decoding. Such variables show up in the
|
2130
|
-
# [Discovery
|
2131
|
-
# as
|
2169
|
+
# [Discovery
|
2170
|
+
# Document](https://developers.google.com/discovery/v1/reference/apis) as
|
2171
|
+
# ``var``.
|
2132
2172
|
# If a variable contains multiple path segments, such as `"`var=foo/*`"`
|
2133
2173
|
# or `"`var=**`"`, when such a variable is expanded into a URL path on the
|
2134
2174
|
# client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
|
2135
2175
|
# The server side does the reverse decoding, except "%2F" and "%2f" are left
|
2136
2176
|
# unchanged. Such variables show up in the
|
2137
|
-
# [Discovery
|
2138
|
-
# as
|
2177
|
+
# [Discovery
|
2178
|
+
# Document](https://developers.google.com/discovery/v1/reference/apis) as
|
2179
|
+
# ``+var``.
|
2139
2180
|
# ## Using gRPC API Service Configuration
|
2140
2181
|
# gRPC API Service Configuration (service config) is a configuration language
|
2141
2182
|
# for configuring a gRPC service to become a user-facing product. The
|
@@ -3399,6 +3440,62 @@ module Google
|
|
3399
3440
|
end
|
3400
3441
|
end
|
3401
3442
|
|
3443
|
+
# A quota override
|
3444
|
+
class QuotaOverride
|
3445
|
+
include Google::Apis::Core::Hashable
|
3446
|
+
|
3447
|
+
# If this map is nonempty, then this override applies only to specific values
|
3448
|
+
# for dimensions defined in the limit unit.
|
3449
|
+
# For example, an override on a limit with the unit 1/`project`/`region`
|
3450
|
+
# could contain an entry with the key "region" and the value "us-east-1";
|
3451
|
+
# the override is only applied to quota consumed in that region.
|
3452
|
+
# This map has the following restrictions:
|
3453
|
+
# - Keys that are not defined in the limit's unit are not valid keys.
|
3454
|
+
# Any string appearing in `brackets` in the unit (besides `project` or
|
3455
|
+
# `user`) is a defined key.
|
3456
|
+
# - "project" is not a valid key; the project is already specified in
|
3457
|
+
# the parent resource name.
|
3458
|
+
# - "user" is not a valid key; the API does not support quota overrides
|
3459
|
+
# that apply only to a specific user.
|
3460
|
+
# - If "region" appears as a key, its value must be a valid Cloud region.
|
3461
|
+
# - If "zone" appears as a key, its value must be a valid Cloud zone.
|
3462
|
+
# - If any valid key other than "region" or "zone" appears in the map, then
|
3463
|
+
# all valid keys other than "region" or "zone" must also appear in the map.
|
3464
|
+
# Corresponds to the JSON property `dimensions`
|
3465
|
+
# @return [Hash<String,String>]
|
3466
|
+
attr_accessor :dimensions
|
3467
|
+
|
3468
|
+
# The resource name of the override.
|
3469
|
+
# This name is generated by the server when the override is created.
|
3470
|
+
# Example names would be:
|
3471
|
+
# `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.
|
3472
|
+
# googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
|
3473
|
+
# `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.
|
3474
|
+
# googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
|
3475
|
+
# The resource name is intended to be opaque and should not be parsed for
|
3476
|
+
# its component strings, since its representation could change in the future.
|
3477
|
+
# Corresponds to the JSON property `name`
|
3478
|
+
# @return [String]
|
3479
|
+
attr_accessor :name
|
3480
|
+
|
3481
|
+
# The overriding quota limit value.
|
3482
|
+
# Can be any nonnegative integer, or -1 (unlimited quota).
|
3483
|
+
# Corresponds to the JSON property `overrideValue`
|
3484
|
+
# @return [Fixnum]
|
3485
|
+
attr_accessor :override_value
|
3486
|
+
|
3487
|
+
def initialize(**args)
|
3488
|
+
update!(**args)
|
3489
|
+
end
|
3490
|
+
|
3491
|
+
# Update properties of this object
|
3492
|
+
def update!(**args)
|
3493
|
+
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
3494
|
+
@name = args[:name] if args.key?(:name)
|
3495
|
+
@override_value = args[:override_value] if args.key?(:override_value)
|
3496
|
+
end
|
3497
|
+
end
|
3498
|
+
|
3402
3499
|
# A service that is available for use by the consumer.
|
3403
3500
|
class Service
|
3404
3501
|
include Google::Apis::Core::Hashable
|
@@ -70,6 +70,18 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class BatchCreateAdminOverridesResponse
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class BatchCreateConsumerOverridesResponse
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
73
85
|
class BatchEnableServicesRequest
|
74
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
87
|
|
@@ -370,6 +382,12 @@ module Google
|
|
370
382
|
include Google::Apis::Core::JsonObjectSupport
|
371
383
|
end
|
372
384
|
|
385
|
+
class QuotaOverride
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
373
391
|
class Service
|
374
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
393
|
|
@@ -522,6 +540,22 @@ module Google
|
|
522
540
|
end
|
523
541
|
end
|
524
542
|
|
543
|
+
class BatchCreateAdminOverridesResponse
|
544
|
+
# @private
|
545
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
546
|
+
collection :overrides, as: 'overrides', class: Google::Apis::ServiceusageV1beta1::QuotaOverride, decorator: Google::Apis::ServiceusageV1beta1::QuotaOverride::Representation
|
547
|
+
|
548
|
+
end
|
549
|
+
end
|
550
|
+
|
551
|
+
class BatchCreateConsumerOverridesResponse
|
552
|
+
# @private
|
553
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
554
|
+
collection :overrides, as: 'overrides', class: Google::Apis::ServiceusageV1beta1::QuotaOverride, decorator: Google::Apis::ServiceusageV1beta1::QuotaOverride::Representation
|
555
|
+
|
556
|
+
end
|
557
|
+
end
|
558
|
+
|
525
559
|
class BatchEnableServicesRequest
|
526
560
|
# @private
|
527
561
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1064,6 +1098,15 @@ module Google
|
|
1064
1098
|
end
|
1065
1099
|
end
|
1066
1100
|
|
1101
|
+
class QuotaOverride
|
1102
|
+
# @private
|
1103
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1104
|
+
hash :dimensions, as: 'dimensions'
|
1105
|
+
property :name, as: 'name'
|
1106
|
+
property :override_value, :numeric_string => true, as: 'overrideValue'
|
1107
|
+
end
|
1108
|
+
end
|
1109
|
+
|
1067
1110
|
class Service
|
1068
1111
|
# @private
|
1069
1112
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/source-repositories/docs/apis
|
26
26
|
module SourcerepoV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190419'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -316,6 +316,103 @@ module Google
|
|
316
316
|
end
|
317
317
|
end
|
318
318
|
|
319
|
+
# This resource represents a long-running operation that is the result of a
|
320
|
+
# network API call.
|
321
|
+
class Operation
|
322
|
+
include Google::Apis::Core::Hashable
|
323
|
+
|
324
|
+
# If the value is `false`, it means the operation is still in progress.
|
325
|
+
# If `true`, the operation is completed, and either `error` or `response` is
|
326
|
+
# available.
|
327
|
+
# Corresponds to the JSON property `done`
|
328
|
+
# @return [Boolean]
|
329
|
+
attr_accessor :done
|
330
|
+
alias_method :done?, :done
|
331
|
+
|
332
|
+
# The `Status` type defines a logical error model that is suitable for
|
333
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
334
|
+
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
335
|
+
# - Simple to use and understand for most users
|
336
|
+
# - Flexible enough to meet unexpected needs
|
337
|
+
# # Overview
|
338
|
+
# The `Status` message contains three pieces of data: error code, error
|
339
|
+
# message, and error details. The error code should be an enum value of
|
340
|
+
# google.rpc.Code, but it may accept additional error codes if needed. The
|
341
|
+
# error message should be a developer-facing English message that helps
|
342
|
+
# developers *understand* and *resolve* the error. If a localized user-facing
|
343
|
+
# error message is needed, put the localized message in the error details or
|
344
|
+
# localize it in the client. The optional error details may contain arbitrary
|
345
|
+
# information about the error. There is a predefined set of error detail types
|
346
|
+
# in the package `google.rpc` that can be used for common error conditions.
|
347
|
+
# # Language mapping
|
348
|
+
# The `Status` message is the logical representation of the error model, but it
|
349
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
350
|
+
# exposed in different client libraries and different wire protocols, it can be
|
351
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
352
|
+
# in Java, but more likely mapped to some error codes in C.
|
353
|
+
# # Other uses
|
354
|
+
# The error model and the `Status` message can be used in a variety of
|
355
|
+
# environments, either with or without APIs, to provide a
|
356
|
+
# consistent developer experience across different environments.
|
357
|
+
# Example uses of this error model include:
|
358
|
+
# - Partial errors. If a service needs to return partial errors to the client,
|
359
|
+
# it may embed the `Status` in the normal response to indicate the partial
|
360
|
+
# errors.
|
361
|
+
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
362
|
+
# have a `Status` message for error reporting.
|
363
|
+
# - Batch operations. If a client uses batch request and batch response, the
|
364
|
+
# `Status` message should be used directly inside batch response, one for
|
365
|
+
# each error sub-response.
|
366
|
+
# - Asynchronous operations. If an API call embeds asynchronous operation
|
367
|
+
# results in its response, the status of those operations should be
|
368
|
+
# represented directly using the `Status` message.
|
369
|
+
# - Logging. If some API errors are stored in logs, the message `Status` could
|
370
|
+
# be used directly after any stripping needed for security/privacy reasons.
|
371
|
+
# Corresponds to the JSON property `error`
|
372
|
+
# @return [Google::Apis::SourcerepoV1::Status]
|
373
|
+
attr_accessor :error
|
374
|
+
|
375
|
+
# Service-specific metadata associated with the operation. It typically
|
376
|
+
# contains progress information and common metadata such as create time.
|
377
|
+
# Some services might not provide such metadata. Any method that returns a
|
378
|
+
# long-running operation should document the metadata type, if any.
|
379
|
+
# Corresponds to the JSON property `metadata`
|
380
|
+
# @return [Hash<String,Object>]
|
381
|
+
attr_accessor :metadata
|
382
|
+
|
383
|
+
# The server-assigned name, which is only unique within the same service that
|
384
|
+
# originally returns it. If you use the default HTTP mapping, the
|
385
|
+
# `name` should have the format of `operations/some/unique/name`.
|
386
|
+
# Corresponds to the JSON property `name`
|
387
|
+
# @return [String]
|
388
|
+
attr_accessor :name
|
389
|
+
|
390
|
+
# The normal response of the operation in case of success. If the original
|
391
|
+
# method returns no data on success, such as `Delete`, the response is
|
392
|
+
# `google.protobuf.Empty`. If the original method is standard
|
393
|
+
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
394
|
+
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
395
|
+
# is the original method name. For example, if the original method name
|
396
|
+
# is `TakeSnapshot()`, the inferred response type is
|
397
|
+
# `TakeSnapshotResponse`.
|
398
|
+
# Corresponds to the JSON property `response`
|
399
|
+
# @return [Hash<String,Object>]
|
400
|
+
attr_accessor :response
|
401
|
+
|
402
|
+
def initialize(**args)
|
403
|
+
update!(**args)
|
404
|
+
end
|
405
|
+
|
406
|
+
# Update properties of this object
|
407
|
+
def update!(**args)
|
408
|
+
@done = args[:done] if args.key?(:done)
|
409
|
+
@error = args[:error] if args.key?(:error)
|
410
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
411
|
+
@name = args[:name] if args.key?(:name)
|
412
|
+
@response = args[:response] if args.key?(:response)
|
413
|
+
end
|
414
|
+
end
|
415
|
+
|
319
416
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
320
417
|
# specify access control policies for Cloud Platform resources.
|
321
418
|
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
@@ -583,6 +680,91 @@ module Google
|
|
583
680
|
end
|
584
681
|
end
|
585
682
|
|
683
|
+
# The `Status` type defines a logical error model that is suitable for
|
684
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
685
|
+
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
686
|
+
# - Simple to use and understand for most users
|
687
|
+
# - Flexible enough to meet unexpected needs
|
688
|
+
# # Overview
|
689
|
+
# The `Status` message contains three pieces of data: error code, error
|
690
|
+
# message, and error details. The error code should be an enum value of
|
691
|
+
# google.rpc.Code, but it may accept additional error codes if needed. The
|
692
|
+
# error message should be a developer-facing English message that helps
|
693
|
+
# developers *understand* and *resolve* the error. If a localized user-facing
|
694
|
+
# error message is needed, put the localized message in the error details or
|
695
|
+
# localize it in the client. The optional error details may contain arbitrary
|
696
|
+
# information about the error. There is a predefined set of error detail types
|
697
|
+
# in the package `google.rpc` that can be used for common error conditions.
|
698
|
+
# # Language mapping
|
699
|
+
# The `Status` message is the logical representation of the error model, but it
|
700
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
701
|
+
# exposed in different client libraries and different wire protocols, it can be
|
702
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
703
|
+
# in Java, but more likely mapped to some error codes in C.
|
704
|
+
# # Other uses
|
705
|
+
# The error model and the `Status` message can be used in a variety of
|
706
|
+
# environments, either with or without APIs, to provide a
|
707
|
+
# consistent developer experience across different environments.
|
708
|
+
# Example uses of this error model include:
|
709
|
+
# - Partial errors. If a service needs to return partial errors to the client,
|
710
|
+
# it may embed the `Status` in the normal response to indicate the partial
|
711
|
+
# errors.
|
712
|
+
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
713
|
+
# have a `Status` message for error reporting.
|
714
|
+
# - Batch operations. If a client uses batch request and batch response, the
|
715
|
+
# `Status` message should be used directly inside batch response, one for
|
716
|
+
# each error sub-response.
|
717
|
+
# - Asynchronous operations. If an API call embeds asynchronous operation
|
718
|
+
# results in its response, the status of those operations should be
|
719
|
+
# represented directly using the `Status` message.
|
720
|
+
# - Logging. If some API errors are stored in logs, the message `Status` could
|
721
|
+
# be used directly after any stripping needed for security/privacy reasons.
|
722
|
+
class Status
|
723
|
+
include Google::Apis::Core::Hashable
|
724
|
+
|
725
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
726
|
+
# Corresponds to the JSON property `code`
|
727
|
+
# @return [Fixnum]
|
728
|
+
attr_accessor :code
|
729
|
+
|
730
|
+
# A list of messages that carry the error details. There is a common set of
|
731
|
+
# message types for APIs to use.
|
732
|
+
# Corresponds to the JSON property `details`
|
733
|
+
# @return [Array<Hash<String,Object>>]
|
734
|
+
attr_accessor :details
|
735
|
+
|
736
|
+
# A developer-facing error message, which should be in English. Any
|
737
|
+
# user-facing error message should be localized and sent in the
|
738
|
+
# google.rpc.Status.details field, or localized by the client.
|
739
|
+
# Corresponds to the JSON property `message`
|
740
|
+
# @return [String]
|
741
|
+
attr_accessor :message
|
742
|
+
|
743
|
+
def initialize(**args)
|
744
|
+
update!(**args)
|
745
|
+
end
|
746
|
+
|
747
|
+
# Update properties of this object
|
748
|
+
def update!(**args)
|
749
|
+
@code = args[:code] if args.key?(:code)
|
750
|
+
@details = args[:details] if args.key?(:details)
|
751
|
+
@message = args[:message] if args.key?(:message)
|
752
|
+
end
|
753
|
+
end
|
754
|
+
|
755
|
+
# Request for SyncRepo.
|
756
|
+
class SyncRepoRequest
|
757
|
+
include Google::Apis::Core::Hashable
|
758
|
+
|
759
|
+
def initialize(**args)
|
760
|
+
update!(**args)
|
761
|
+
end
|
762
|
+
|
763
|
+
# Update properties of this object
|
764
|
+
def update!(**args)
|
765
|
+
end
|
766
|
+
end
|
767
|
+
|
586
768
|
# Request message for `TestIamPermissions` method.
|
587
769
|
class TestIamPermissionsRequest
|
588
770
|
include Google::Apis::Core::Hashable
|