google-api-client 0.34.1 → 0.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +16 -3
- data/CHANGELOG.md +114 -0
- data/OVERVIEW.md +36 -0
- data/README.md +49 -1
- data/Rakefile +1 -1
- 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/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +9 -0
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +9 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +93 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +49 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +46 -4
- data/generated/google/apis/bigquery_v2/representations.rb +17 -0
- data/generated/google/apis/bigquery_v2/service.rb +1 -5
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -5
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -4
- data/generated/google/apis/bigqueryreservation_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_v1alpha2.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_v1beta1.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 +112 -78
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
- data/generated/google/apis/{sqladmin_v1beta4.rb → billingbudgets_v1beta1.rb} +10 -13
- 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/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +6 -5
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -5
- data/generated/google/apis/books_v1.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/calendar_v3.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/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -58
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +6 -5
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -5
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +17 -0
- data/generated/google/apis/cloudbuild_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_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -2
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +4 -1
- data/generated/google/apis/cloudfunctions_v1.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 +3 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +6 -5
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +6 -5
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -5
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- data/generated/google/apis/cloudsearch_v1.rb +8 -8
- data/generated/google/apis/cloudsearch_v1/classes.rb +5 -130
- data/generated/google/apis/cloudsearch_v1/representations.rb +0 -75
- data/generated/google/apis/cloudsearch_v1/service.rb +42 -7
- data/generated/google/apis/cloudtasks_v2.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_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -5
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -5
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +14 -19
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +75 -12
- data/generated/google/apis/compute_alpha/representations.rb +2 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +54 -10
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +54 -10
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +6 -5
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +6 -5
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +13 -4
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +13 -4
- data/generated/google/apis/datacatalog_v1beta1.rb +35 -0
- 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/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +75 -4
- data/generated/google/apis/dataproc_v1/representations.rb +22 -0
- data/generated/google/apis/dataproc_v1/service.rb +14 -7
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -4
- data/generated/google/apis/dataproc_v1beta2/service.rb +14 -7
- data/generated/google/apis/dfareporting_v3_3.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_4.rb +40 -0
- data/generated/google/apis/dfareporting_v3_4/classes.rb +12717 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +4595 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +8685 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +484 -1
- data/generated/google/apis/dialogflow_v2/representations.rb +220 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +497 -1
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +221 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +68 -25
- data/generated/google/apis/dlp_v2/representations.rb +9 -4
- data/generated/google/apis/dlp_v2/service.rb +1925 -193
- data/generated/google/apis/dns_v1beta2.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/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +4 -8
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +34 -0
- 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/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +12 -3
- data/generated/google/apis/fcm_v1.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/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +3 -4
- data/generated/google/apis/firebase_v1beta1/service.rb +6 -6
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +25 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +47 -0
- data/generated/google/apis/firebaserules_v1.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/genomics_v2alpha1.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/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +8 -7
- data/generated/google/apis/homegraph_v1.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/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +6 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +18 -2
- data/generated/google/apis/logging_v2/representations.rb +2 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +173 -97
- data/generated/google/apis/ml_v1/representations.rb +58 -0
- data/generated/google/apis/ml_v1/service.rb +37 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +780 -6
- data/generated/google/apis/monitoring_v3/representations.rb +347 -0
- data/generated/google/apis/monitoring_v3/service.rb +382 -0
- data/generated/google/apis/pagespeedonline_v5.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/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -5
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +8 -6
- data/generated/google/apis/pubsub_v1/service.rb +6 -7
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -5
- data/generated/google/apis/recommender_v1beta1.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/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +33 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +15 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +33 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +15 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +33 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +15 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +8 -169
- data/generated/google/apis/run_v1/representations.rb +0 -71
- data/generated/google/apis/run_v1/service.rb +229 -1207
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +9 -9
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -5
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +66 -11
- data/generated/google/apis/securitycenter_v1/representations.rb +19 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +16 -13
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +6 -5
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +6 -5
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +6 -5
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +8 -1
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +12 -9
- data/generated/google/apis/servicemanagement_v1/service.rb +1 -9
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +130 -13
- data/generated/google/apis/servicenetworking_v1/representations.rb +58 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +42 -3
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +3 -2
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +3 -2
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +3 -2
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/spanner_v1.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/speech_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_v1p1beta1.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/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/service.rb +59 -10
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +112 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +112 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +112 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +112 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +112 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +62 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/core/api_command.rb +3 -0
- data/lib/google/apis/core/http_command.rb +10 -8
- data/lib/google/apis/version.rb +1 -1
- data/rakelib/devsite/devsite_builder.rb +1 -1
- metadata +33 -11
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +0 -2633
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +0 -1110
- data/generated/google/apis/sqladmin_v1beta4/service.rb +0 -1793
- data/generated/google/apis/storage_v1beta1.rb +0 -40
- 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
@@ -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'
|
@@ -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 BigqueryreservationV1alpha2
|
27
27
|
VERSION = 'V1alpha2'
|
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
|
@@ -102,6 +102,77 @@ module Google
|
|
102
102
|
execute_or_queue_command(command, &block)
|
103
103
|
end
|
104
104
|
|
105
|
+
# Starts asynchronous cancellation on a long-running operation. The server
|
106
|
+
# makes a best effort to cancel the operation, but success is not
|
107
|
+
# guaranteed. If the server doesn't support this method, it returns
|
108
|
+
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
|
109
|
+
# Operations.GetOperation or
|
110
|
+
# other methods to check whether the cancellation succeeded or whether the
|
111
|
+
# operation completed despite cancellation. On successful cancellation,
|
112
|
+
# the operation is not deleted; instead, it becomes an operation with
|
113
|
+
# an Operation.error value with a google.rpc.Status.code of 1,
|
114
|
+
# corresponding to `Code.CANCELLED`.
|
115
|
+
# @param [String] name
|
116
|
+
# The name of the operation resource to be cancelled.
|
117
|
+
# @param [String] fields
|
118
|
+
# Selector specifying which fields to include in a partial response.
|
119
|
+
# @param [String] quota_user
|
120
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
121
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
122
|
+
# @param [Google::Apis::RequestOptions] options
|
123
|
+
# Request-specific options
|
124
|
+
#
|
125
|
+
# @yield [result, err] Result & error if block supplied
|
126
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1alpha2::Empty] parsed result object
|
127
|
+
# @yieldparam err [StandardError] error object if request failed
|
128
|
+
#
|
129
|
+
# @return [Google::Apis::BigqueryreservationV1alpha2::Empty]
|
130
|
+
#
|
131
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
132
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
133
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
134
|
+
def cancel_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
135
|
+
command = make_simple_command(:post, 'v1alpha2/{+name}:cancel', options)
|
136
|
+
command.response_representation = Google::Apis::BigqueryreservationV1alpha2::Empty::Representation
|
137
|
+
command.response_class = Google::Apis::BigqueryreservationV1alpha2::Empty
|
138
|
+
command.params['name'] = name unless name.nil?
|
139
|
+
command.query['fields'] = fields unless fields.nil?
|
140
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
141
|
+
execute_or_queue_command(command, &block)
|
142
|
+
end
|
143
|
+
|
144
|
+
# Gets the latest state of a long-running operation. Clients can use this
|
145
|
+
# method to poll the operation result at intervals as recommended by the API
|
146
|
+
# service.
|
147
|
+
# @param [String] name
|
148
|
+
# The name of the operation resource.
|
149
|
+
# @param [String] fields
|
150
|
+
# Selector specifying which fields to include in a partial response.
|
151
|
+
# @param [String] quota_user
|
152
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
153
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
154
|
+
# @param [Google::Apis::RequestOptions] options
|
155
|
+
# Request-specific options
|
156
|
+
#
|
157
|
+
# @yield [result, err] Result & error if block supplied
|
158
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1alpha2::Operation] parsed result object
|
159
|
+
# @yieldparam err [StandardError] error object if request failed
|
160
|
+
#
|
161
|
+
# @return [Google::Apis::BigqueryreservationV1alpha2::Operation]
|
162
|
+
#
|
163
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
164
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
165
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
166
|
+
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
167
|
+
command = make_simple_command(:get, 'v1alpha2/{+name}', options)
|
168
|
+
command.response_representation = Google::Apis::BigqueryreservationV1alpha2::Operation::Representation
|
169
|
+
command.response_class = Google::Apis::BigqueryreservationV1alpha2::Operation
|
170
|
+
command.params['name'] = name unless name.nil?
|
171
|
+
command.query['fields'] = fields unless fields.nil?
|
172
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
173
|
+
execute_or_queue_command(command, &block)
|
174
|
+
end
|
175
|
+
|
105
176
|
# Returns `google.rpc.Code.PERMISSION_DENIED` if user does not have
|
106
177
|
# 'bigquery.admin' permissions on the project using the reservation
|
107
178
|
# and the project that owns this reservation.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
26
26
|
module BigqueryreservationV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191106'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -56,11 +56,45 @@ module Google
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
# Represents a BI Reservation.
|
60
|
+
class BiReservation
|
61
|
+
include Google::Apis::Core::Hashable
|
62
|
+
|
63
|
+
# The resource name of the singleton BI reservation.
|
64
|
+
# Reservation names have the form
|
65
|
+
# `projects/`project_id`/locations/`location_id`/bireservation`.
|
66
|
+
# Corresponds to the JSON property `name`
|
67
|
+
# @return [String]
|
68
|
+
attr_accessor :name
|
69
|
+
|
70
|
+
# Size of a reservation, in bytes.
|
71
|
+
# Corresponds to the JSON property `size`
|
72
|
+
# @return [Fixnum]
|
73
|
+
attr_accessor :size
|
74
|
+
|
75
|
+
# Output only. The last update timestamp of a reservation.
|
76
|
+
# Corresponds to the JSON property `updateTime`
|
77
|
+
# @return [String]
|
78
|
+
attr_accessor :update_time
|
79
|
+
|
80
|
+
def initialize(**args)
|
81
|
+
update!(**args)
|
82
|
+
end
|
83
|
+
|
84
|
+
# Update properties of this object
|
85
|
+
def update!(**args)
|
86
|
+
@name = args[:name] if args.key?(:name)
|
87
|
+
@size = args[:size] if args.key?(:size)
|
88
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
59
92
|
# Capacity commitment is a way to purchase compute capacity for BigQuery jobs
|
60
93
|
# (in the form of slots) with some minimum committed period of usage. Capacity
|
61
94
|
# commitment is immutable and cannot be deleted until the end of the commitment
|
62
95
|
# period. After the end of the commitment period, slots are still available but
|
63
|
-
# can be freely removed any time.
|
96
|
+
# can be freely removed any time. Annual commitments will automatically be
|
97
|
+
# downgraded to monthly after the commitment ends.
|
64
98
|
# A capacity commitment resource exists as a child resource of the admin
|
65
99
|
# project.
|
66
100
|
class CapacityCommitment
|
@@ -74,6 +108,16 @@ module Google
|
|
74
108
|
# @return [String]
|
75
109
|
attr_accessor :commitment_end_time
|
76
110
|
|
111
|
+
# The `Status` type defines a logical error model that is suitable for
|
112
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
113
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
114
|
+
# three pieces of data: error code, error message, and error details.
|
115
|
+
# You can find out more about this error model and how to work with it in the
|
116
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
117
|
+
# Corresponds to the JSON property `failureStatus`
|
118
|
+
# @return [Google::Apis::BigqueryreservationV1beta1::Status]
|
119
|
+
attr_accessor :failure_status
|
120
|
+
|
77
121
|
# Output only. The resource name of the capacity commitment, e.g.,
|
78
122
|
# projects/myproject/locations/US/capacityCommitments/123
|
79
123
|
# Corresponds to the JSON property `name`
|
@@ -102,6 +146,7 @@ module Google
|
|
102
146
|
# Update properties of this object
|
103
147
|
def update!(**args)
|
104
148
|
@commitment_end_time = args[:commitment_end_time] if args.key?(:commitment_end_time)
|
149
|
+
@failure_status = args[:failure_status] if args.key?(:failure_status)
|
105
150
|
@name = args[:name] if args.key?(:name)
|
106
151
|
@plan = args[:plan] if args.key?(:plan)
|
107
152
|
@slot_count = args[:slot_count] if args.key?(:slot_count)
|
@@ -109,27 +154,6 @@ module Google
|
|
109
154
|
end
|
110
155
|
end
|
111
156
|
|
112
|
-
# The metadata for operation returned from
|
113
|
-
# ReservationService.CreateCapacityCommitment.
|
114
|
-
class CreateCapacityCommitmentMetadata
|
115
|
-
include Google::Apis::Core::Hashable
|
116
|
-
|
117
|
-
# Resource name of the capacity commitment that is being created. E.g.,
|
118
|
-
# projects/myproject/locations/US/capacityCommitments/123
|
119
|
-
# Corresponds to the JSON property `capacityCommitment`
|
120
|
-
# @return [String]
|
121
|
-
attr_accessor :capacity_commitment
|
122
|
-
|
123
|
-
def initialize(**args)
|
124
|
-
update!(**args)
|
125
|
-
end
|
126
|
-
|
127
|
-
# Update properties of this object
|
128
|
-
def update!(**args)
|
129
|
-
@capacity_commitment = args[:capacity_commitment] if args.key?(:capacity_commitment)
|
130
|
-
end
|
131
|
-
end
|
132
|
-
|
133
157
|
# A generic empty message that you can re-use to avoid defining duplicated
|
134
158
|
# empty messages in your APIs. A typical example is to use it as the request
|
135
159
|
# or the response type of an API method. For instance:
|
@@ -321,55 +345,20 @@ module Google
|
|
321
345
|
end
|
322
346
|
end
|
323
347
|
|
324
|
-
#
|
325
|
-
#
|
326
|
-
|
348
|
+
# The request for
|
349
|
+
# ReservationService.MoveAssignment.
|
350
|
+
# Note: "bigquery.reservationAssignments.create" permission is required on the
|
351
|
+
# destination_id. Note: "bigquery.reservationAssignments.create" and
|
352
|
+
# "bigquery.reservationAssignments.delete" permission is required on the
|
353
|
+
# related assignee.
|
354
|
+
class MoveAssignmentRequest
|
327
355
|
include Google::Apis::Core::Hashable
|
328
356
|
|
329
|
-
#
|
330
|
-
#
|
331
|
-
#
|
332
|
-
# Corresponds to the JSON property `done`
|
333
|
-
# @return [Boolean]
|
334
|
-
attr_accessor :done
|
335
|
-
alias_method :done?, :done
|
336
|
-
|
337
|
-
# The `Status` type defines a logical error model that is suitable for
|
338
|
-
# different programming environments, including REST APIs and RPC APIs. It is
|
339
|
-
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
340
|
-
# three pieces of data: error code, error message, and error details.
|
341
|
-
# You can find out more about this error model and how to work with it in the
|
342
|
-
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
343
|
-
# Corresponds to the JSON property `error`
|
344
|
-
# @return [Google::Apis::BigqueryreservationV1beta1::Status]
|
345
|
-
attr_accessor :error
|
346
|
-
|
347
|
-
# Service-specific metadata associated with the operation. It typically
|
348
|
-
# contains progress information and common metadata such as create time.
|
349
|
-
# Some services might not provide such metadata. Any method that returns a
|
350
|
-
# long-running operation should document the metadata type, if any.
|
351
|
-
# Corresponds to the JSON property `metadata`
|
352
|
-
# @return [Hash<String,Object>]
|
353
|
-
attr_accessor :metadata
|
354
|
-
|
355
|
-
# The server-assigned name, which is only unique within the same service that
|
356
|
-
# originally returns it. If you use the default HTTP mapping, the
|
357
|
-
# `name` should be a resource name ending with `operations/`unique_id``.
|
358
|
-
# Corresponds to the JSON property `name`
|
357
|
+
# The new reservation ID, e.g.:
|
358
|
+
# projects/myotherproject/locations/US/reservations/team2-prod
|
359
|
+
# Corresponds to the JSON property `destinationId`
|
359
360
|
# @return [String]
|
360
|
-
attr_accessor :
|
361
|
-
|
362
|
-
# The normal response of the operation in case of success. If the original
|
363
|
-
# method returns no data on success, such as `Delete`, the response is
|
364
|
-
# `google.protobuf.Empty`. If the original method is standard
|
365
|
-
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
366
|
-
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
367
|
-
# is the original method name. For example, if the original method name
|
368
|
-
# is `TakeSnapshot()`, the inferred response type is
|
369
|
-
# `TakeSnapshotResponse`.
|
370
|
-
# Corresponds to the JSON property `response`
|
371
|
-
# @return [Hash<String,Object>]
|
372
|
-
attr_accessor :response
|
361
|
+
attr_accessor :destination_id
|
373
362
|
|
374
363
|
def initialize(**args)
|
375
364
|
update!(**args)
|
@@ -377,11 +366,7 @@ module Google
|
|
377
366
|
|
378
367
|
# Update properties of this object
|
379
368
|
def update!(**args)
|
380
|
-
@
|
381
|
-
@error = args[:error] if args.key?(:error)
|
382
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
383
|
-
@name = args[:name] if args.key?(:name)
|
384
|
-
@response = args[:response] if args.key?(:response)
|
369
|
+
@destination_id = args[:destination_id] if args.key?(:destination_id)
|
385
370
|
end
|
386
371
|
end
|
387
372
|
|
@@ -389,10 +374,9 @@ module Google
|
|
389
374
|
class Reservation
|
390
375
|
include Google::Apis::Core::Hashable
|
391
376
|
|
392
|
-
# If
|
393
|
-
#
|
394
|
-
#
|
395
|
-
# specified above. If not specified, default value is true.
|
377
|
+
# If false, any query using this reservation will use idle slots from other
|
378
|
+
# reservations within the same admin project. If true, a query using this
|
379
|
+
# reservation will execute with the maximum slot capacity as specified above.
|
396
380
|
# Corresponds to the JSON property `ignoreIdleSlots`
|
397
381
|
# @return [Boolean]
|
398
382
|
attr_accessor :ignore_idle_slots
|