google-api-client 0.32.1 → 0.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.kokoro/continuous/linux.cfg +2 -2
- data/.kokoro/continuous/post.cfg +30 -0
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/.kokoro/release.cfg +94 -0
- data/.repo-metadata.json +5 -0
- data/.rubocop.yml +5 -0
- data/.yardopts +16 -3
- data/CHANGELOG.md +327 -0
- data/Gemfile +1 -0
- data/OVERVIEW.md +36 -0
- data/README.md +50 -2
- data/Rakefile +71 -2
- data/docs/api-keys.md +20 -0
- data/docs/auth.md +53 -0
- data/docs/client-secrets.md +69 -0
- data/docs/getting-started.md +340 -0
- data/docs/installation.md +0 -0
- data/docs/logging.md +34 -0
- data/docs/media-upload.md +25 -0
- data/docs/oauth-installed.md +191 -0
- data/docs/oauth-server.md +135 -0
- data/docs/oauth-web.md +280 -0
- data/docs/oauth.md +268 -0
- data/docs/pagination.md +29 -0
- data/docs/performance.md +25 -0
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -73
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +4 -3
- data/generated/google/apis/admin_directory_v1.rb +4 -1
- data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
- data/generated/google/apis/admin_reports_v1/service.rb +310 -64
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +105 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +51 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +10 -6
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +10 -6
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +104 -23
- data/generated/google/apis/bigquery_v2/representations.rb +37 -0
- data/generated/google/apis/bigquery_v2/service.rb +1 -5
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -5
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +3 -2
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -4
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -21
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +116 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +35 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +61 -77
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +16 -17
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +116 -78
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +63 -30
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +392 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +191 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +233 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1/classes.rb +6 -5
- data/generated/google/apis/binaryauthorization_v1/service.rb +2 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -5
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +20 -0
- data/generated/google/apis/books_v1/representations.rb +3 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +18 -30
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +89 -55
- data/generated/google/apis/cloudasset_v1/service.rb +1 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +75 -40
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +82 -36
- data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +5 -3
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +8 -2
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +18 -18
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +14 -14
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +13 -5
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +10 -4
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
- data/generated/google/apis/cloudidentity_v1/service.rb +2 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +13 -10
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +6 -5
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +6 -5
- data/generated/google/apis/cloudkms_v1/service.rb +3 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +75 -40
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +18 -17
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +10 -13
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +10 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +10 -132
- data/generated/google/apis/cloudsearch_v1/representations.rb +0 -75
- data/generated/google/apis/cloudsearch_v1/service.rb +47 -9
- data/generated/google/apis/cloudsearch_v1.rb +8 -8
- data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
- data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -1
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +212 -5
- data/generated/google/apis/cloudtasks_v2/representations.rb +50 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -5
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -5
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +14 -19
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +594 -164
- data/generated/google/apis/compute_alpha/representations.rb +110 -2
- data/generated/google/apis/compute_alpha/service.rb +1035 -640
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1070 -276
- data/generated/google/apis/compute_beta/representations.rb +284 -0
- data/generated/google/apis/compute_beta/service.rb +1242 -532
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +335 -133
- data/generated/google/apis/compute_v1/representations.rb +24 -0
- data/generated/google/apis/compute_v1/service.rb +759 -473
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +410 -83
- data/generated/google/apis/container_v1/representations.rb +134 -0
- data/generated/google/apis/container_v1/service.rb +119 -119
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +157 -3
- data/generated/google/apis/container_v1beta1/representations.rb +38 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +6 -5
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +6 -5
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +35 -223
- data/generated/google/apis/content_v2/representations.rb +0 -115
- data/generated/google/apis/content_v2/service.rb +0 -160
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +69 -21
- data/generated/google/apis/content_v2_1/representations.rb +3 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1646 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +700 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +1982 -0
- data/generated/google/apis/{cloudbuild_v1alpha1.rb → datacatalog_v1beta1.rb} +10 -9
- data/generated/google/apis/dataflow_v1b3/classes.rb +6 -9
- data/generated/google/apis/dataflow_v1b3/representations.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +156 -46
- data/generated/google/apis/datafusion_v1beta1/representations.rb +33 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +10 -1
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +119 -11
- data/generated/google/apis/dataproc_v1/representations.rb +39 -0
- data/generated/google/apis/dataproc_v1/service.rb +14 -7
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +9 -11
- data/generated/google/apis/dataproc_v1beta2/service.rb +26 -19
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +85 -1
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +21 -1
- data/generated/google/apis/dfareporting_v3_3/service.rb +6 -6
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1215 -797
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +593 -395
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +966 -1074
- data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
- data/generated/google/apis/dialogflow_v2/classes.rb +509 -8
- data/generated/google/apis/dialogflow_v2/representations.rb +222 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +530 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +224 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +109 -33
- data/generated/google/apis/dlp_v2/representations.rb +23 -3
- data/generated/google/apis/dlp_v2/service.rb +1996 -209
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +47 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +17 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +175 -0
- data/generated/google/apis/docs_v1/representations.rb +77 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +826 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +372 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +371 -0
- data/generated/google/apis/{urlshortener_v1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
- data/generated/google/apis/drive_v2/classes.rb +2 -1
- data/generated/google/apis/drive_v2/service.rb +3 -3
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +12 -3
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +15 -0
- data/generated/google/apis/fcm_v1/representations.rb +2 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +18 -4
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +6 -6
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +62 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +31 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +47 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +6 -26
- data/generated/google/apis/games_management_v1management/representations.rb +1 -14
- data/generated/google/apis/games_management_v1management/service.rb +0 -158
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +6 -292
- data/generated/google/apis/games_v1/representations.rb +1 -98
- data/generated/google/apis/games_v1/service.rb +0 -123
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +213 -16
- data/generated/google/apis/healthcare_v1beta1/representations.rb +101 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +207 -116
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +15 -1
- data/generated/google/apis/homegraph_v1/representations.rb +2 -1
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +15 -7
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +187 -2
- data/generated/google/apis/iap_v1/representations.rb +102 -0
- data/generated/google/apis/iap_v1/service.rb +72 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +167 -0
- data/generated/google/apis/jobs_v2/representations.rb +40 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +179 -0
- data/generated/google/apis/jobs_v3/representations.rb +41 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +179 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +15 -7
- data/generated/google/apis/licensing_v1/service.rb +81 -37
- data/generated/google/apis/licensing_v1.rb +4 -4
- data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
- data/generated/google/apis/lifesciences_v2beta.rb +35 -0
- data/generated/google/apis/logging_v2/classes.rb +30 -2
- data/generated/google/apis/logging_v2/representations.rb +4 -0
- data/generated/google/apis/logging_v2/service.rb +10 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +308 -155
- data/generated/google/apis/ml_v1/representations.rb +59 -0
- data/generated/google/apis/ml_v1/service.rb +44 -3
- data/generated/google/apis/ml_v1.rb +2 -2
- data/generated/google/apis/monitoring_v1/classes.rb +1153 -0
- data/generated/google/apis/monitoring_v1/representations.rb +528 -0
- data/generated/google/apis/{cloudbuild_v1alpha1 → monitoring_v1}/service.rb +86 -63
- data/generated/google/apis/monitoring_v1.rb +48 -0
- data/generated/google/apis/monitoring_v3/classes.rb +836 -60
- data/generated/google/apis/monitoring_v3/representations.rb +348 -0
- data/generated/google/apis/monitoring_v3/service.rb +384 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +10 -6
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +8 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +67 -63
- data/generated/google/apis/people_v1/service.rb +53 -44
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +168 -90
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +8 -6
- data/generated/google/apis/pubsub_v1/service.rb +9 -7
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -5
- data/generated/google/apis/pubsub_v1beta2/service.rb +2 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +10 -8
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +11 -11
- data/generated/google/apis/redis_v1/service.rb +5 -5
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +11 -11
- data/generated/google/apis/redis_v1beta1/service.rb +5 -5
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +113 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +50 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +113 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +50 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +113 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +50 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +8 -176
- data/generated/google/apis/run_v1/representations.rb +0 -71
- data/generated/google/apis/run_v1/service.rb +209 -1125
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +328 -9
- data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
- data/generated/google/apis/run_v1alpha1/service.rb +408 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +75 -40
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +159 -66
- data/generated/google/apis/securitycenter_v1/representations.rb +19 -0
- data/generated/google/apis/securitycenter_v1/service.rb +14 -12
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +95 -57
- data/generated/google/apis/securitycenter_v1beta1/service.rb +14 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +75 -40
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +75 -40
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +75 -40
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +95 -43
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +8 -12
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +142 -91
- data/generated/google/apis/servicemanagement_v1/representations.rb +24 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +32 -26
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +181 -54
- data/generated/google/apis/servicenetworking_v1/representations.rb +71 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +77 -3
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -43
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +87 -43
- data/generated/google/apis/serviceusage_v1/representations.rb +29 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -43
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +29 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +1371 -232
- data/generated/google/apis/sheets_v4/representations.rb +180 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +70 -30
- data/generated/google/apis/spanner_v1/service.rb +270 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +6 -0
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +6 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +9 -8
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +6 -6
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
- data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +499 -380
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +125 -104
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +637 -590
- data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +142 -1
- data/generated/google/apis/testing_v1/representations.rb +76 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +147 -36
- data/generated/google/apis/videointelligence_v1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +147 -36
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +147 -36
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +147 -36
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +147 -36
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +66 -0
- data/generated/google/apis/vision_v1/representations.rb +32 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +66 -0
- data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +66 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/google-api-client.gemspec +6 -3
- data/lib/google/apis/core/api_command.rb +3 -0
- data/lib/google/apis/core/http_command.rb +10 -8
- data/lib/google/apis/core/upload.rb +4 -0
- data/lib/google/apis/version.rb +1 -1
- data/rakelib/devsite/devsite_builder.rb +126 -0
- data/rakelib/devsite/link_checker.rb +64 -0
- data/rakelib/devsite/repo_metadata.rb +56 -0
- metadata +64 -42
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +0 -1168
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +0 -434
- data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
- data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
- data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
- data/generated/google/apis/storage_v1beta1.rb +0 -40
- data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
- data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
- data/generated/google/apis/urlshortener_v1/service.rb +0 -169
@@ -166,6 +166,12 @@ module Google
|
|
166
166
|
include Google::Apis::Core::JsonObjectSupport
|
167
167
|
end
|
168
168
|
|
169
|
+
class DataSplitResult
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
169
175
|
class Dataset
|
170
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
177
|
|
@@ -618,6 +624,12 @@ module Google
|
|
618
624
|
|
619
625
|
include Google::Apis::Core::JsonObjectSupport
|
620
626
|
end
|
627
|
+
|
628
|
+
class PolicyTags
|
629
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
630
|
+
|
631
|
+
include Google::Apis::Core::JsonObjectSupport
|
632
|
+
end
|
621
633
|
|
622
634
|
include Google::Apis::Core::JsonObjectSupport
|
623
635
|
end
|
@@ -941,6 +953,16 @@ module Google
|
|
941
953
|
end
|
942
954
|
end
|
943
955
|
|
956
|
+
class DataSplitResult
|
957
|
+
# @private
|
958
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
959
|
+
property :evaluation_table, as: 'evaluationTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
960
|
+
|
961
|
+
property :training_table, as: 'trainingTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
962
|
+
|
963
|
+
end
|
964
|
+
end
|
965
|
+
|
944
966
|
class Dataset
|
945
967
|
# @private
|
946
968
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1534,8 +1556,10 @@ module Google
|
|
1534
1556
|
class MaterializedViewDefinition
|
1535
1557
|
# @private
|
1536
1558
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1559
|
+
property :enable_refresh, as: 'enableRefresh'
|
1537
1560
|
property :last_refresh_time, :numeric_string => true, as: 'lastRefreshTime'
|
1538
1561
|
property :query, as: 'query'
|
1562
|
+
property :refresh_interval_ms, :numeric_string => true, as: 'refreshIntervalMs'
|
1539
1563
|
end
|
1540
1564
|
end
|
1541
1565
|
|
@@ -1965,6 +1989,8 @@ module Google
|
|
1965
1989
|
|
1966
1990
|
property :mode, as: 'mode'
|
1967
1991
|
property :name, as: 'name'
|
1992
|
+
property :policy_tags, as: 'policyTags', class: Google::Apis::BigqueryV2::TableFieldSchema::PolicyTags, decorator: Google::Apis::BigqueryV2::TableFieldSchema::PolicyTags::Representation
|
1993
|
+
|
1968
1994
|
property :type, as: 'type'
|
1969
1995
|
end
|
1970
1996
|
|
@@ -1974,6 +2000,13 @@ module Google
|
|
1974
2000
|
collection :names, as: 'names'
|
1975
2001
|
end
|
1976
2002
|
end
|
2003
|
+
|
2004
|
+
class PolicyTags
|
2005
|
+
# @private
|
2006
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2007
|
+
collection :names, as: 'names'
|
2008
|
+
end
|
2009
|
+
end
|
1977
2010
|
end
|
1978
2011
|
|
1979
2012
|
class TableList
|
@@ -1998,6 +2031,8 @@ module Google
|
|
1998
2031
|
property :id, as: 'id'
|
1999
2032
|
property :kind, as: 'kind'
|
2000
2033
|
hash :labels, as: 'labels'
|
2034
|
+
property :range_partitioning, as: 'rangePartitioning', class: Google::Apis::BigqueryV2::RangePartitioning, decorator: Google::Apis::BigqueryV2::RangePartitioning::Representation
|
2035
|
+
|
2001
2036
|
property :table_reference, as: 'tableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
2002
2037
|
|
2003
2038
|
property :time_partitioning, as: 'timePartitioning', class: Google::Apis::BigqueryV2::TimePartitioning, decorator: Google::Apis::BigqueryV2::TimePartitioning::Representation
|
@@ -2081,6 +2116,8 @@ module Google
|
|
2081
2116
|
class TrainingRun
|
2082
2117
|
# @private
|
2083
2118
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2119
|
+
property :data_split_result, as: 'dataSplitResult', class: Google::Apis::BigqueryV2::DataSplitResult, decorator: Google::Apis::BigqueryV2::DataSplitResult::Representation
|
2120
|
+
|
2084
2121
|
property :evaluation_metrics, as: 'evaluationMetrics', class: Google::Apis::BigqueryV2::EvaluationMetrics, decorator: Google::Apis::BigqueryV2::EvaluationMetrics::Representation
|
2085
2122
|
|
2086
2123
|
collection :results, as: 'results', class: Google::Apis::BigqueryV2::IterationResult, decorator: Google::Apis::BigqueryV2::IterationResult::Representation
|
@@ -858,9 +858,6 @@ module Google
|
|
858
858
|
# Required. Dataset ID of the requested routine
|
859
859
|
# @param [String] routine_id
|
860
860
|
# Required. Routine ID of the requested routine
|
861
|
-
# @param [String] field_mask
|
862
|
-
# If set, only the Routine fields in the field mask are returned in the
|
863
|
-
# response. If unset, all Routine fields are returned.
|
864
861
|
# @param [String] fields
|
865
862
|
# Selector specifying which fields to include in a partial response.
|
866
863
|
# @param [String] quota_user
|
@@ -880,14 +877,13 @@ module Google
|
|
880
877
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
881
878
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
882
879
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
883
|
-
def get_routine(project_id, dataset_id, routine_id,
|
880
|
+
def get_routine(project_id, dataset_id, routine_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
884
881
|
command = make_simple_command(:get, 'projects/{+projectId}/datasets/{+datasetId}/routines/{+routineId}', options)
|
885
882
|
command.response_representation = Google::Apis::BigqueryV2::Routine::Representation
|
886
883
|
command.response_class = Google::Apis::BigqueryV2::Routine
|
887
884
|
command.params['projectId'] = project_id unless project_id.nil?
|
888
885
|
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
889
886
|
command.params['routineId'] = routine_id unless routine_id.nil?
|
890
|
-
command.query['fieldMask'] = field_mask unless field_mask.nil?
|
891
887
|
command.query['fields'] = fields unless fields.nil?
|
892
888
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
893
889
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
26
26
|
module BigqueryV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191105'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -527,8 +527,8 @@ module Google
|
|
527
527
|
# ensure that their change will be applied to the same version of the policy.
|
528
528
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
529
529
|
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
530
|
-
# 'setIamPolicy' will not fail even if
|
531
|
-
#
|
530
|
+
# 'setIamPolicy' will not fail even if the incoming policy version does not
|
531
|
+
# meet the requirements for modifying the stored policy.
|
532
532
|
# Corresponds to the JSON property `etag`
|
533
533
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
534
534
|
# @return [String]
|
@@ -539,11 +539,12 @@ module Google
|
|
539
539
|
# rejected.
|
540
540
|
# Operations affecting conditional bindings must specify version 3. This can
|
541
541
|
# be either setting a conditional policy, modifying a conditional binding,
|
542
|
-
# or removing a conditional
|
542
|
+
# or removing a binding (conditional or unconditional) from the stored
|
543
|
+
# conditional policy.
|
543
544
|
# Operations on non-conditional policies may specify any valid value or
|
544
545
|
# leave the field unset.
|
545
|
-
# If no etag is provided in the call to `setIamPolicy`,
|
546
|
-
#
|
546
|
+
# If no etag is provided in the call to `setIamPolicy`, version compliance
|
547
|
+
# checks against the stored policy is skipped.
|
547
548
|
# Corresponds to the JSON property `version`
|
548
549
|
# @return [Fixnum]
|
549
550
|
attr_accessor :version
|
@@ -53,7 +53,7 @@ module Google
|
|
53
53
|
# Must be in the format `projects/`project_id`/locations/`location_id``
|
54
54
|
# @param [Google::Apis::BigqueryconnectionV1beta1::Connection] connection_object
|
55
55
|
# @param [String] connection_id
|
56
|
-
# Optional
|
56
|
+
# Optional. Connection id that should be assigned to the created connection.
|
57
57
|
# @param [String] fields
|
58
58
|
# Selector specifying which fields to include in a partial response.
|
59
59
|
# @param [String] quota_user
|
@@ -187,7 +187,7 @@ module Google
|
|
187
187
|
# Parent resource name.
|
188
188
|
# Must be in the form: `projects/`project_id`/locations/`location_id``
|
189
189
|
# @param [Fixnum] max_results
|
190
|
-
# Maximum number of results
|
190
|
+
# Maximum number of results per page.
|
191
191
|
# @param [String] page_token
|
192
192
|
# Page token.
|
193
193
|
# @param [String] fields
|
@@ -259,6 +259,7 @@ module Google
|
|
259
259
|
|
260
260
|
# Sets the access control policy on the specified resource. Replaces any
|
261
261
|
# existing policy.
|
262
|
+
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
262
263
|
# @param [String] resource
|
263
264
|
# REQUIRED: The resource for which the policy is being specified.
|
264
265
|
# See the operation documentation for the appropriate value for this field.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
26
26
|
module BigqueryconnectionV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191113'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -368,6 +368,11 @@ module Google
|
|
368
368
|
# urn:ietf:wg:oauth:2.0:oob means that authorization code should be
|
369
369
|
# returned in the title bar of the browser, with the page text prompting
|
370
370
|
# the user to copy the code and paste it in the application.
|
371
|
+
# @param [String] service_account_name
|
372
|
+
# Optional service account name. If this field is set, transfer config will
|
373
|
+
# be created with this service account credentials. It requires that
|
374
|
+
# requesting user calling this API has permissions to act as this service
|
375
|
+
# account.
|
371
376
|
# @param [String] version_info
|
372
377
|
# Optional version info. If users want to find a very recent access token,
|
373
378
|
# that is, immediately after approving access, users have to set the
|
@@ -392,7 +397,7 @@ module Google
|
|
392
397
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
393
398
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
394
399
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
395
|
-
def create_project_location_transfer_config(parent, transfer_config_object = nil, authorization_code: nil, version_info: nil, fields: nil, quota_user: nil, options: nil, &block)
|
400
|
+
def create_project_location_transfer_config(parent, transfer_config_object = nil, authorization_code: nil, service_account_name: nil, version_info: nil, fields: nil, quota_user: nil, options: nil, &block)
|
396
401
|
command = make_simple_command(:post, 'v1/{+parent}/transferConfigs', options)
|
397
402
|
command.request_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation
|
398
403
|
command.request_object = transfer_config_object
|
@@ -400,6 +405,7 @@ module Google
|
|
400
405
|
command.response_class = Google::Apis::BigquerydatatransferV1::TransferConfig
|
401
406
|
command.params['parent'] = parent unless parent.nil?
|
402
407
|
command.query['authorizationCode'] = authorization_code unless authorization_code.nil?
|
408
|
+
command.query['serviceAccountName'] = service_account_name unless service_account_name.nil?
|
403
409
|
command.query['versionInfo'] = version_info unless version_info.nil?
|
404
410
|
command.query['fields'] = fields unless fields.nil?
|
405
411
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -541,6 +547,12 @@ module Google
|
|
541
547
|
# urn:ietf:wg:oauth:2.0:oob means that authorization code should be
|
542
548
|
# returned in the title bar of the browser, with the page text prompting
|
543
549
|
# the user to copy the code and paste it in the application.
|
550
|
+
# @param [String] service_account_name
|
551
|
+
# Optional service account name. If this field is set and
|
552
|
+
# "service_account_name" is set in update_mask, transfer config will be
|
553
|
+
# updated to use this service account credentials. It requires that
|
554
|
+
# requesting user calling this API has permissions to act as this service
|
555
|
+
# account.
|
544
556
|
# @param [String] update_mask
|
545
557
|
# Required. Required list of fields to be updated in this request.
|
546
558
|
# @param [String] version_info
|
@@ -567,7 +579,7 @@ module Google
|
|
567
579
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
568
580
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
569
581
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
570
|
-
def patch_project_location_transfer_config(name, transfer_config_object = nil, authorization_code: nil, update_mask: nil, version_info: nil, fields: nil, quota_user: nil, options: nil, &block)
|
582
|
+
def patch_project_location_transfer_config(name, transfer_config_object = nil, authorization_code: nil, service_account_name: nil, update_mask: nil, version_info: nil, fields: nil, quota_user: nil, options: nil, &block)
|
571
583
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
572
584
|
command.request_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation
|
573
585
|
command.request_object = transfer_config_object
|
@@ -575,6 +587,7 @@ module Google
|
|
575
587
|
command.response_class = Google::Apis::BigquerydatatransferV1::TransferConfig
|
576
588
|
command.params['name'] = name unless name.nil?
|
577
589
|
command.query['authorizationCode'] = authorization_code unless authorization_code.nil?
|
590
|
+
command.query['serviceAccountName'] = service_account_name unless service_account_name.nil?
|
578
591
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
579
592
|
command.query['versionInfo'] = version_info unless version_info.nil?
|
580
593
|
command.query['fields'] = fields unless fields.nil?
|
@@ -838,6 +851,11 @@ module Google
|
|
838
851
|
# urn:ietf:wg:oauth:2.0:oob means that authorization code should be
|
839
852
|
# returned in the title bar of the browser, with the page text prompting
|
840
853
|
# the user to copy the code and paste it in the application.
|
854
|
+
# @param [String] service_account_name
|
855
|
+
# Optional service account name. If this field is set, transfer config will
|
856
|
+
# be created with this service account credentials. It requires that
|
857
|
+
# requesting user calling this API has permissions to act as this service
|
858
|
+
# account.
|
841
859
|
# @param [String] version_info
|
842
860
|
# Optional version info. If users want to find a very recent access token,
|
843
861
|
# that is, immediately after approving access, users have to set the
|
@@ -862,7 +880,7 @@ module Google
|
|
862
880
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
863
881
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
864
882
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
865
|
-
def create_project_transfer_config(parent, transfer_config_object = nil, authorization_code: nil, version_info: nil, fields: nil, quota_user: nil, options: nil, &block)
|
883
|
+
def create_project_transfer_config(parent, transfer_config_object = nil, authorization_code: nil, service_account_name: nil, version_info: nil, fields: nil, quota_user: nil, options: nil, &block)
|
866
884
|
command = make_simple_command(:post, 'v1/{+parent}/transferConfigs', options)
|
867
885
|
command.request_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation
|
868
886
|
command.request_object = transfer_config_object
|
@@ -870,6 +888,7 @@ module Google
|
|
870
888
|
command.response_class = Google::Apis::BigquerydatatransferV1::TransferConfig
|
871
889
|
command.params['parent'] = parent unless parent.nil?
|
872
890
|
command.query['authorizationCode'] = authorization_code unless authorization_code.nil?
|
891
|
+
command.query['serviceAccountName'] = service_account_name unless service_account_name.nil?
|
873
892
|
command.query['versionInfo'] = version_info unless version_info.nil?
|
874
893
|
command.query['fields'] = fields unless fields.nil?
|
875
894
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1011,6 +1030,12 @@ module Google
|
|
1011
1030
|
# urn:ietf:wg:oauth:2.0:oob means that authorization code should be
|
1012
1031
|
# returned in the title bar of the browser, with the page text prompting
|
1013
1032
|
# the user to copy the code and paste it in the application.
|
1033
|
+
# @param [String] service_account_name
|
1034
|
+
# Optional service account name. If this field is set and
|
1035
|
+
# "service_account_name" is set in update_mask, transfer config will be
|
1036
|
+
# updated to use this service account credentials. It requires that
|
1037
|
+
# requesting user calling this API has permissions to act as this service
|
1038
|
+
# account.
|
1014
1039
|
# @param [String] update_mask
|
1015
1040
|
# Required. Required list of fields to be updated in this request.
|
1016
1041
|
# @param [String] version_info
|
@@ -1037,7 +1062,7 @@ module Google
|
|
1037
1062
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1038
1063
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1039
1064
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1040
|
-
def patch_project_transfer_config(name, transfer_config_object = nil, authorization_code: nil, update_mask: nil, version_info: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1065
|
+
def patch_project_transfer_config(name, transfer_config_object = nil, authorization_code: nil, service_account_name: nil, update_mask: nil, version_info: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1041
1066
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1042
1067
|
command.request_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation
|
1043
1068
|
command.request_object = transfer_config_object
|
@@ -1045,6 +1070,7 @@ module Google
|
|
1045
1070
|
command.response_class = Google::Apis::BigquerydatatransferV1::TransferConfig
|
1046
1071
|
command.params['name'] = name unless name.nil?
|
1047
1072
|
command.query['authorizationCode'] = authorization_code unless authorization_code.nil?
|
1073
|
+
command.query['serviceAccountName'] = service_account_name unless service_account_name.nil?
|
1048
1074
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1049
1075
|
command.query['versionInfo'] = version_info unless version_info.nil?
|
1050
1076
|
command.query['fields'] = fields unless fields.nil?
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/bigquery/
|
27
27
|
module BigquerydatatransferV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191103'
|
30
30
|
|
31
31
|
# View and manage your data in Google BigQuery
|
32
32
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -22,27 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module BigqueryreservationV1
|
24
24
|
|
25
|
-
# The metadata for operation returned from
|
26
|
-
# ReservationService.CreateCapacityCommitment.
|
27
|
-
class CreateCapacityCommitmentMetadata
|
28
|
-
include Google::Apis::Core::Hashable
|
29
|
-
|
30
|
-
# Resource name of the capacity commitment that is being created. E.g.,
|
31
|
-
# projects/myproject/locations/US/capacityCommitments/123
|
32
|
-
# Corresponds to the JSON property `capacityCommitment`
|
33
|
-
# @return [String]
|
34
|
-
attr_accessor :capacity_commitment
|
35
|
-
|
36
|
-
def initialize(**args)
|
37
|
-
update!(**args)
|
38
|
-
end
|
39
|
-
|
40
|
-
# Update properties of this object
|
41
|
-
def update!(**args)
|
42
|
-
@capacity_commitment = args[:capacity_commitment] if args.key?(:capacity_commitment)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
25
|
# A generic empty message that you can re-use to avoid defining duplicated
|
47
26
|
# empty messages in your APIs. A typical example is to use it as the request
|
48
27
|
# or the response type of an API method. For instance:
|
@@ -22,12 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module BigqueryreservationV1
|
24
24
|
|
25
|
-
class CreateCapacityCommitmentMetadata
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
29
|
-
end
|
30
|
-
|
31
25
|
class Empty
|
32
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
27
|
|
@@ -58,13 +52,6 @@ module Google
|
|
58
52
|
include Google::Apis::Core::JsonObjectSupport
|
59
53
|
end
|
60
54
|
|
61
|
-
class CreateCapacityCommitmentMetadata
|
62
|
-
# @private
|
63
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
64
|
-
property :capacity_commitment, as: 'capacityCommitment'
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
55
|
class Empty
|
69
56
|
# @private
|
70
57
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
26
26
|
module BigqueryreservationV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191029'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -162,6 +162,70 @@ module Google
|
|
162
162
|
end
|
163
163
|
end
|
164
164
|
|
165
|
+
# This resource represents a long-running operation that is the result of a
|
166
|
+
# network API call.
|
167
|
+
class Operation
|
168
|
+
include Google::Apis::Core::Hashable
|
169
|
+
|
170
|
+
# If the value is `false`, it means the operation is still in progress.
|
171
|
+
# If `true`, the operation is completed, and either `error` or `response` is
|
172
|
+
# available.
|
173
|
+
# Corresponds to the JSON property `done`
|
174
|
+
# @return [Boolean]
|
175
|
+
attr_accessor :done
|
176
|
+
alias_method :done?, :done
|
177
|
+
|
178
|
+
# The `Status` type defines a logical error model that is suitable for
|
179
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
180
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
181
|
+
# three pieces of data: error code, error message, and error details.
|
182
|
+
# You can find out more about this error model and how to work with it in the
|
183
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
184
|
+
# Corresponds to the JSON property `error`
|
185
|
+
# @return [Google::Apis::BigqueryreservationV1alpha2::Status]
|
186
|
+
attr_accessor :error
|
187
|
+
|
188
|
+
# Service-specific metadata associated with the operation. It typically
|
189
|
+
# contains progress information and common metadata such as create time.
|
190
|
+
# Some services might not provide such metadata. Any method that returns a
|
191
|
+
# long-running operation should document the metadata type, if any.
|
192
|
+
# Corresponds to the JSON property `metadata`
|
193
|
+
# @return [Hash<String,Object>]
|
194
|
+
attr_accessor :metadata
|
195
|
+
|
196
|
+
# The server-assigned name, which is only unique within the same service that
|
197
|
+
# originally returns it. If you use the default HTTP mapping, the
|
198
|
+
# `name` should be a resource name ending with `operations/`unique_id``.
|
199
|
+
# Corresponds to the JSON property `name`
|
200
|
+
# @return [String]
|
201
|
+
attr_accessor :name
|
202
|
+
|
203
|
+
# The normal response of the operation in case of success. If the original
|
204
|
+
# method returns no data on success, such as `Delete`, the response is
|
205
|
+
# `google.protobuf.Empty`. If the original method is standard
|
206
|
+
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
207
|
+
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
208
|
+
# is the original method name. For example, if the original method name
|
209
|
+
# is `TakeSnapshot()`, the inferred response type is
|
210
|
+
# `TakeSnapshotResponse`.
|
211
|
+
# Corresponds to the JSON property `response`
|
212
|
+
# @return [Hash<String,Object>]
|
213
|
+
attr_accessor :response
|
214
|
+
|
215
|
+
def initialize(**args)
|
216
|
+
update!(**args)
|
217
|
+
end
|
218
|
+
|
219
|
+
# Update properties of this object
|
220
|
+
def update!(**args)
|
221
|
+
@done = args[:done] if args.key?(:done)
|
222
|
+
@error = args[:error] if args.key?(:error)
|
223
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
224
|
+
@name = args[:name] if args.key?(:name)
|
225
|
+
@response = args[:response] if args.key?(:response)
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
165
229
|
# A reservation is a mechanism used to guarantee slots to users.
|
166
230
|
class Reservation
|
167
231
|
include Google::Apis::Core::Hashable
|
@@ -284,7 +348,8 @@ module Google
|
|
284
348
|
# Slot pool is a way to purchase slots with some minimum committed period of
|
285
349
|
# usage. Slot pool is immutable and cannot be deleted until the end of the
|
286
350
|
# commitment period. After the end of the commitment period, slots are still
|
287
|
-
# available but can be freely removed any time.
|
351
|
+
# available but can be freely removed any time. Annual commitments will
|
352
|
+
# automatically be downgraded to monthly after the commitment ends.
|
288
353
|
# A slot pool resource exists as a child resource of a top-level reservation.
|
289
354
|
# Sum of all the ACTIVE pools slot_count is always equal to the reservation
|
290
355
|
# slot_capacity.
|
@@ -299,6 +364,16 @@ module Google
|
|
299
364
|
# @return [String]
|
300
365
|
attr_accessor :commitment_end_time
|
301
366
|
|
367
|
+
# The `Status` type defines a logical error model that is suitable for
|
368
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
369
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
370
|
+
# three pieces of data: error code, error message, and error details.
|
371
|
+
# You can find out more about this error model and how to work with it in the
|
372
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
373
|
+
# Corresponds to the JSON property `failureStatus`
|
374
|
+
# @return [Google::Apis::BigqueryreservationV1alpha2::Status]
|
375
|
+
attr_accessor :failure_status
|
376
|
+
|
302
377
|
# Output only. The resource name of the slot pool, e.g.,
|
303
378
|
# projects/myproject/locations/us-central1/reservations/myreservation/
|
304
379
|
# slotPools/123
|
@@ -328,12 +403,52 @@ module Google
|
|
328
403
|
# Update properties of this object
|
329
404
|
def update!(**args)
|
330
405
|
@commitment_end_time = args[:commitment_end_time] if args.key?(:commitment_end_time)
|
406
|
+
@failure_status = args[:failure_status] if args.key?(:failure_status)
|
331
407
|
@name = args[:name] if args.key?(:name)
|
332
408
|
@plan = args[:plan] if args.key?(:plan)
|
333
409
|
@slot_count = args[:slot_count] if args.key?(:slot_count)
|
334
410
|
@state = args[:state] if args.key?(:state)
|
335
411
|
end
|
336
412
|
end
|
413
|
+
|
414
|
+
# The `Status` type defines a logical error model that is suitable for
|
415
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
416
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
417
|
+
# three pieces of data: error code, error message, and error details.
|
418
|
+
# You can find out more about this error model and how to work with it in the
|
419
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
420
|
+
class Status
|
421
|
+
include Google::Apis::Core::Hashable
|
422
|
+
|
423
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
424
|
+
# Corresponds to the JSON property `code`
|
425
|
+
# @return [Fixnum]
|
426
|
+
attr_accessor :code
|
427
|
+
|
428
|
+
# A list of messages that carry the error details. There is a common set of
|
429
|
+
# message types for APIs to use.
|
430
|
+
# Corresponds to the JSON property `details`
|
431
|
+
# @return [Array<Hash<String,Object>>]
|
432
|
+
attr_accessor :details
|
433
|
+
|
434
|
+
# A developer-facing error message, which should be in English. Any
|
435
|
+
# user-facing error message should be localized and sent in the
|
436
|
+
# google.rpc.Status.details field, or localized by the client.
|
437
|
+
# Corresponds to the JSON property `message`
|
438
|
+
# @return [String]
|
439
|
+
attr_accessor :message
|
440
|
+
|
441
|
+
def initialize(**args)
|
442
|
+
update!(**args)
|
443
|
+
end
|
444
|
+
|
445
|
+
# Update properties of this object
|
446
|
+
def update!(**args)
|
447
|
+
@code = args[:code] if args.key?(:code)
|
448
|
+
@details = args[:details] if args.key?(:details)
|
449
|
+
@message = args[:message] if args.key?(:message)
|
450
|
+
end
|
451
|
+
end
|
337
452
|
end
|
338
453
|
end
|
339
454
|
end
|
@@ -58,6 +58,12 @@ module Google
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
+
class Operation
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
61
67
|
class Reservation
|
62
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
69
|
|
@@ -82,6 +88,12 @@ module Google
|
|
82
88
|
include Google::Apis::Core::JsonObjectSupport
|
83
89
|
end
|
84
90
|
|
91
|
+
class Status
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
85
97
|
class CreateSlotPoolMetadata
|
86
98
|
# @private
|
87
99
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -129,6 +141,18 @@ module Google
|
|
129
141
|
end
|
130
142
|
end
|
131
143
|
|
144
|
+
class Operation
|
145
|
+
# @private
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
147
|
+
property :done, as: 'done'
|
148
|
+
property :error, as: 'error', class: Google::Apis::BigqueryreservationV1alpha2::Status, decorator: Google::Apis::BigqueryreservationV1alpha2::Status::Representation
|
149
|
+
|
150
|
+
hash :metadata, as: 'metadata'
|
151
|
+
property :name, as: 'name'
|
152
|
+
hash :response, as: 'response'
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
132
156
|
class Reservation
|
133
157
|
# @private
|
134
158
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -161,12 +185,23 @@ module Google
|
|
161
185
|
# @private
|
162
186
|
class Representation < Google::Apis::Core::JsonRepresentation
|
163
187
|
property :commitment_end_time, as: 'commitmentEndTime'
|
188
|
+
property :failure_status, as: 'failureStatus', class: Google::Apis::BigqueryreservationV1alpha2::Status, decorator: Google::Apis::BigqueryreservationV1alpha2::Status::Representation
|
189
|
+
|
164
190
|
property :name, as: 'name'
|
165
191
|
property :plan, as: 'plan'
|
166
192
|
property :slot_count, :numeric_string => true, as: 'slotCount'
|
167
193
|
property :state, as: 'state'
|
168
194
|
end
|
169
195
|
end
|
196
|
+
|
197
|
+
class Status
|
198
|
+
# @private
|
199
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
200
|
+
property :code, as: 'code'
|
201
|
+
collection :details, as: 'details'
|
202
|
+
property :message, as: 'message'
|
203
|
+
end
|
204
|
+
end
|
170
205
|
end
|
171
206
|
end
|
172
207
|
end
|