google-api-client 0.37.3 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +146 -0
- data/api_list_config.yaml +2 -0
- data/api_names.yaml +2 -0
- data/bin/generate-api +9 -1
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
- data/generated/google/apis/admin_directory_v1/service.rb +0 -60
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +224 -5
- data/generated/google/apis/bigquery_v2/representations.rb +65 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
- data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
- data/generated/google/apis/blogger_v2.rb +5 -4
- data/generated/google/apis/blogger_v2/classes.rb +297 -45
- data/generated/google/apis/blogger_v2/representations.rb +105 -26
- data/generated/google/apis/blogger_v2/service.rb +79 -134
- data/generated/google/apis/blogger_v3.rb +4 -3
- data/generated/google/apis/blogger_v3/classes.rb +60 -53
- data/generated/google/apis/blogger_v3/representations.rb +10 -18
- data/generated/google/apis/blogger_v3/service.rb +183 -463
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -14
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
- data/generated/google/apis/cloudasset_v1/service.rb +2 -2
- data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
- data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
- data/generated/google/apis/cloudtrace_v1.rb +3 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +178 -0
- data/generated/google/apis/composer_v1/representations.rb +54 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1320 -307
- data/generated/google/apis/compute_alpha/representations.rb +284 -18
- data/generated/google/apis/compute_alpha/service.rb +4914 -3211
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +819 -236
- data/generated/google/apis/compute_beta/representations.rb +245 -16
- data/generated/google/apis/compute_beta/service.rb +3369 -2227
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +837 -133
- data/generated/google/apis/compute_v1/representations.rb +307 -0
- data/generated/google/apis/compute_v1/service.rb +3155 -2026
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +42 -22
- data/generated/google/apis/container_v1/service.rb +2 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +116 -136
- data/generated/google/apis/container_v1beta1/representations.rb +23 -51
- data/generated/google/apis/container_v1beta1/service.rb +2 -2
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1030 -113
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +987 -138
- data/generated/google/apis/content_v2_1/representations.rb +87 -0
- data/generated/google/apis/content_v2_1/service.rb +73 -0
- data/generated/google/apis/customsearch_v1.rb +3 -3
- data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
- data/generated/google/apis/customsearch_v1/representations.rb +166 -95
- data/generated/google/apis/customsearch_v1/service.rb +373 -104
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
- data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +76 -7
- data/generated/google/apis/dataproc_v1/representations.rb +21 -0
- data/generated/google/apis/dataproc_v1/service.rb +72 -15
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
- data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
- data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
- data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
- data/generated/google/apis/dialogflow_v2/service.rb +49 -49
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
- data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +80 -14
- data/generated/google/apis/dlp_v2/representations.rb +32 -0
- data/generated/google/apis/dlp_v2/service.rb +3 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +54 -2
- data/generated/google/apis/drive_v2/representations.rb +18 -0
- data/generated/google/apis/drive_v2/service.rb +81 -9
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +54 -2
- data/generated/google/apis/drive_v3/representations.rb +18 -0
- data/generated/google/apis/drive_v3/service.rb +37 -4
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +2 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1/service.rb +2 -2
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
- data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +7 -0
- data/generated/google/apis/games_management_v1management/representations.rb +1 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +13 -0
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
- data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +258 -199
- data/generated/google/apis/gmail_v1/service.rb +552 -744
- data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
- data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
- data/generated/google/apis/healthcare_v1/service.rb +3470 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
- data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +67 -63
- data/generated/google/apis/homegraph_v1/service.rb +43 -47
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +190 -0
- data/generated/google/apis/iap_v1/representations.rb +66 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +6 -6
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -7
- data/generated/google/apis/logging_v2.rb +3 -3
- data/generated/google/apis/logging_v2/classes.rb +3 -4
- data/generated/google/apis/logging_v2/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
- data/generated/google/apis/memcache_v1beta2.rb +35 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
- data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +47 -7
- data/generated/google/apis/ml_v1/representations.rb +4 -0
- data/generated/google/apis/monitoring_v1.rb +7 -8
- data/generated/google/apis/monitoring_v1/classes.rb +54 -15
- data/generated/google/apis/monitoring_v1/representations.rb +3 -0
- data/generated/google/apis/monitoring_v1/service.rb +7 -8
- data/generated/google/apis/monitoring_v3.rb +7 -8
- data/generated/google/apis/monitoring_v3/classes.rb +300 -27
- data/generated/google/apis/monitoring_v3/representations.rb +128 -0
- data/generated/google/apis/monitoring_v3/service.rb +52 -17
- data/generated/google/apis/oauth2_v2.rb +4 -4
- data/generated/google/apis/oauth2_v2/classes.rb +1 -13
- data/generated/google/apis/oauth2_v2/representations.rb +2 -4
- data/generated/google/apis/oauth2_v2/service.rb +10 -12
- data/generated/google/apis/osconfig_v1.rb +35 -0
- data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
- data/generated/google/apis/osconfig_v1/representations.rb +506 -0
- data/generated/google/apis/osconfig_v1/service.rb +386 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +30 -12
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +12 -24
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +9 -5
- data/generated/google/apis/pubsub_v1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -7
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +36 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +6 -13
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/secretmanager_v1.rb +2 -2
- data/generated/google/apis/secretmanager_v1/service.rb +4 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
- data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
- data/generated/google/apis/securitycenter_v1.rb +4 -4
- data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
- data/generated/google/apis/securitycenter_v1/service.rb +11 -3
- data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
- data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
- data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
- data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
- data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
- data/generated/google/apis/serviceusage_v1/service.rb +42 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
- data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +2 -2
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +463 -1
- data/generated/google/apis/spanner_v1/representations.rb +178 -0
- data/generated/google/apis/spanner_v1/service.rb +498 -10
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +7 -3
- 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 +7 -3
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
- data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
- data/generated/google/apis/sql_v1beta4/service.rb +54 -384
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +18 -0
- data/generated/google/apis/storage_v1/representations.rb +2 -0
- data/generated/google/apis/storage_v1/service.rb +28 -3
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
- data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +4 -1
- data/generated/google/apis/youtube_v3/classes.rb +7 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +32 -23
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
- data/generated/google/apis/mirror_v1/classes.rb +0 -1072
- data/generated/google/apis/mirror_v1/representations.rb +0 -390
- data/generated/google/apis/mirror_v1/service.rb +0 -928
- data/generated/google/apis/oauth2_v1.rb +0 -40
- data/generated/google/apis/oauth2_v1/classes.rb +0 -197
- data/generated/google/apis/oauth2_v1/representations.rb +0 -73
- data/generated/google/apis/oauth2_v1/service.rb +0 -160
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
|
@@ -22,36 +22,172 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module BigqueryreservationV1
|
|
24
24
|
|
|
25
|
+
class Assignment
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class BiReservation
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
class CapacityCommitment
|
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
+
|
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
class CreateSlotPoolMetadata
|
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
+
end
|
|
48
|
+
|
|
25
49
|
class Empty
|
|
26
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
51
|
|
|
28
52
|
include Google::Apis::Core::JsonObjectSupport
|
|
29
53
|
end
|
|
30
54
|
|
|
55
|
+
class ListAssignmentsResponse
|
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
class ListCapacityCommitmentsResponse
|
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
65
|
+
end
|
|
66
|
+
|
|
31
67
|
class ListOperationsResponse
|
|
32
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
69
|
|
|
34
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
35
71
|
end
|
|
36
72
|
|
|
73
|
+
class ListReservationsResponse
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
class MergeCapacityCommitmentsRequest
|
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
+
|
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
class MoveAssignmentRequest
|
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
+
end
|
|
90
|
+
|
|
37
91
|
class Operation
|
|
38
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
93
|
|
|
40
94
|
include Google::Apis::Core::JsonObjectSupport
|
|
41
95
|
end
|
|
42
96
|
|
|
97
|
+
class Reservation
|
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
class SearchAssignmentsResponse
|
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
|
+
|
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
class SplitCapacityCommitmentRequest
|
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
+
|
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
class SplitCapacityCommitmentResponse
|
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
+
|
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
119
|
+
end
|
|
120
|
+
|
|
43
121
|
class Status
|
|
44
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
123
|
|
|
46
124
|
include Google::Apis::Core::JsonObjectSupport
|
|
47
125
|
end
|
|
48
126
|
|
|
127
|
+
class Assignment
|
|
128
|
+
# @private
|
|
129
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
130
|
+
property :assignee, as: 'assignee'
|
|
131
|
+
property :job_type, as: 'jobType'
|
|
132
|
+
property :name, as: 'name'
|
|
133
|
+
property :state, as: 'state'
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
class BiReservation
|
|
138
|
+
# @private
|
|
139
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
140
|
+
property :name, as: 'name'
|
|
141
|
+
property :size, :numeric_string => true, as: 'size'
|
|
142
|
+
property :update_time, as: 'updateTime'
|
|
143
|
+
end
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
class CapacityCommitment
|
|
147
|
+
# @private
|
|
148
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
149
|
+
property :commitment_end_time, as: 'commitmentEndTime'
|
|
150
|
+
property :failure_status, as: 'failureStatus', class: Google::Apis::BigqueryreservationV1::Status, decorator: Google::Apis::BigqueryreservationV1::Status::Representation
|
|
151
|
+
|
|
152
|
+
property :name, as: 'name'
|
|
153
|
+
property :plan, as: 'plan'
|
|
154
|
+
property :renewal_plan, as: 'renewalPlan'
|
|
155
|
+
property :slot_count, :numeric_string => true, as: 'slotCount'
|
|
156
|
+
property :state, as: 'state'
|
|
157
|
+
end
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
class CreateSlotPoolMetadata
|
|
161
|
+
# @private
|
|
162
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
163
|
+
property :slot_pool, as: 'slotPool'
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
|
|
49
167
|
class Empty
|
|
50
168
|
# @private
|
|
51
169
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
52
170
|
end
|
|
53
171
|
end
|
|
54
172
|
|
|
173
|
+
class ListAssignmentsResponse
|
|
174
|
+
# @private
|
|
175
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
176
|
+
collection :assignments, as: 'assignments', class: Google::Apis::BigqueryreservationV1::Assignment, decorator: Google::Apis::BigqueryreservationV1::Assignment::Representation
|
|
177
|
+
|
|
178
|
+
property :next_page_token, as: 'nextPageToken'
|
|
179
|
+
end
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
class ListCapacityCommitmentsResponse
|
|
183
|
+
# @private
|
|
184
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
185
|
+
collection :capacity_commitments, as: 'capacityCommitments', class: Google::Apis::BigqueryreservationV1::CapacityCommitment, decorator: Google::Apis::BigqueryreservationV1::CapacityCommitment::Representation
|
|
186
|
+
|
|
187
|
+
property :next_page_token, as: 'nextPageToken'
|
|
188
|
+
end
|
|
189
|
+
end
|
|
190
|
+
|
|
55
191
|
class ListOperationsResponse
|
|
56
192
|
# @private
|
|
57
193
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -61,6 +197,29 @@ module Google
|
|
|
61
197
|
end
|
|
62
198
|
end
|
|
63
199
|
|
|
200
|
+
class ListReservationsResponse
|
|
201
|
+
# @private
|
|
202
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
203
|
+
property :next_page_token, as: 'nextPageToken'
|
|
204
|
+
collection :reservations, as: 'reservations', class: Google::Apis::BigqueryreservationV1::Reservation, decorator: Google::Apis::BigqueryreservationV1::Reservation::Representation
|
|
205
|
+
|
|
206
|
+
end
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
class MergeCapacityCommitmentsRequest
|
|
210
|
+
# @private
|
|
211
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
212
|
+
collection :capacity_commitment_ids, as: 'capacityCommitmentIds'
|
|
213
|
+
end
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
class MoveAssignmentRequest
|
|
217
|
+
# @private
|
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
219
|
+
property :destination_id, as: 'destinationId'
|
|
220
|
+
end
|
|
221
|
+
end
|
|
222
|
+
|
|
64
223
|
class Operation
|
|
65
224
|
# @private
|
|
66
225
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -73,6 +232,41 @@ module Google
|
|
|
73
232
|
end
|
|
74
233
|
end
|
|
75
234
|
|
|
235
|
+
class Reservation
|
|
236
|
+
# @private
|
|
237
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
238
|
+
property :ignore_idle_slots, as: 'ignoreIdleSlots'
|
|
239
|
+
property :name, as: 'name'
|
|
240
|
+
property :slot_capacity, :numeric_string => true, as: 'slotCapacity'
|
|
241
|
+
end
|
|
242
|
+
end
|
|
243
|
+
|
|
244
|
+
class SearchAssignmentsResponse
|
|
245
|
+
# @private
|
|
246
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
247
|
+
collection :assignments, as: 'assignments', class: Google::Apis::BigqueryreservationV1::Assignment, decorator: Google::Apis::BigqueryreservationV1::Assignment::Representation
|
|
248
|
+
|
|
249
|
+
property :next_page_token, as: 'nextPageToken'
|
|
250
|
+
end
|
|
251
|
+
end
|
|
252
|
+
|
|
253
|
+
class SplitCapacityCommitmentRequest
|
|
254
|
+
# @private
|
|
255
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
256
|
+
property :slot_count, :numeric_string => true, as: 'slotCount'
|
|
257
|
+
end
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
class SplitCapacityCommitmentResponse
|
|
261
|
+
# @private
|
|
262
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
263
|
+
property :first, as: 'first', class: Google::Apis::BigqueryreservationV1::CapacityCommitment, decorator: Google::Apis::BigqueryreservationV1::CapacityCommitment::Representation
|
|
264
|
+
|
|
265
|
+
property :second, as: 'second', class: Google::Apis::BigqueryreservationV1::CapacityCommitment, decorator: Google::Apis::BigqueryreservationV1::CapacityCommitment::Representation
|
|
266
|
+
|
|
267
|
+
end
|
|
268
|
+
end
|
|
269
|
+
|
|
76
270
|
class Status
|
|
77
271
|
# @private
|
|
78
272
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -126,6 +126,751 @@ module Google
|
|
|
126
126
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
127
127
|
execute_or_queue_command(command, &block)
|
|
128
128
|
end
|
|
129
|
+
|
|
130
|
+
# Retrieves a BI reservation.
|
|
131
|
+
# @param [String] name
|
|
132
|
+
# Required. Name of the requested reservation, for example:
|
|
133
|
+
# `projects/`project_id`/locations/`location_id`/bireservation`
|
|
134
|
+
# @param [String] fields
|
|
135
|
+
# Selector specifying which fields to include in a partial response.
|
|
136
|
+
# @param [String] quota_user
|
|
137
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
138
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
139
|
+
# @param [Google::Apis::RequestOptions] options
|
|
140
|
+
# Request-specific options
|
|
141
|
+
#
|
|
142
|
+
# @yield [result, err] Result & error if block supplied
|
|
143
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1::BiReservation] parsed result object
|
|
144
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
145
|
+
#
|
|
146
|
+
# @return [Google::Apis::BigqueryreservationV1::BiReservation]
|
|
147
|
+
#
|
|
148
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
149
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
150
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
151
|
+
def get_project_location_bi_reservation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
152
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
153
|
+
command.response_representation = Google::Apis::BigqueryreservationV1::BiReservation::Representation
|
|
154
|
+
command.response_class = Google::Apis::BigqueryreservationV1::BiReservation
|
|
155
|
+
command.params['name'] = name unless name.nil?
|
|
156
|
+
command.query['fields'] = fields unless fields.nil?
|
|
157
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
158
|
+
execute_or_queue_command(command, &block)
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
# Looks up assignments for a specified resource for a particular region.
|
|
162
|
+
# If the request is about a project:
|
|
163
|
+
# 1) Assignments created on the project will be returned if they exist.
|
|
164
|
+
# 2) Otherwise assignments created on the closest ancestor will be
|
|
165
|
+
# returned. 3) Assignments for different JobTypes will all be returned.
|
|
166
|
+
# Same logic applies if the request is about a folder.
|
|
167
|
+
# If the request is about an organization, then assignments created on the
|
|
168
|
+
# organization will be returned (organization doesn't have ancestors).
|
|
169
|
+
# Comparing to ListAssignments, there are some behavior
|
|
170
|
+
# differences:
|
|
171
|
+
# 1) permission on the assignee will be verified in this API.
|
|
172
|
+
# 2) Hierarchy lookup (project->folder->organization) happens in this API.
|
|
173
|
+
# 3) Parent here is projects/*/locations/*, instead of
|
|
174
|
+
# projects/*/locations/*reservations/*.
|
|
175
|
+
# Note "-" cannot be used for projects
|
|
176
|
+
# nor locations.
|
|
177
|
+
# @param [String] parent
|
|
178
|
+
# Required. The resource name of the admin project(containing project and
|
|
179
|
+
# location),
|
|
180
|
+
# e.g.:
|
|
181
|
+
# "projects/myproject/locations/US".
|
|
182
|
+
# @param [Fixnum] page_size
|
|
183
|
+
# The maximum number of items to return.
|
|
184
|
+
# @param [String] page_token
|
|
185
|
+
# The next_page_token value returned from a previous List request, if any.
|
|
186
|
+
# @param [String] query
|
|
187
|
+
# Please specify resource name as assignee in the query.
|
|
188
|
+
# e.g., "assignee=projects/myproject"
|
|
189
|
+
# "assignee=folders/123"
|
|
190
|
+
# "assignee=organizations/456"
|
|
191
|
+
# @param [String] fields
|
|
192
|
+
# Selector specifying which fields to include in a partial response.
|
|
193
|
+
# @param [String] quota_user
|
|
194
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
195
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
196
|
+
# @param [Google::Apis::RequestOptions] options
|
|
197
|
+
# Request-specific options
|
|
198
|
+
#
|
|
199
|
+
# @yield [result, err] Result & error if block supplied
|
|
200
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1::SearchAssignmentsResponse] parsed result object
|
|
201
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
202
|
+
#
|
|
203
|
+
# @return [Google::Apis::BigqueryreservationV1::SearchAssignmentsResponse]
|
|
204
|
+
#
|
|
205
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
206
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
207
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
208
|
+
def search_project_location_assignments(parent, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
209
|
+
command = make_simple_command(:get, 'v1/{+parent}:searchAssignments', options)
|
|
210
|
+
command.response_representation = Google::Apis::BigqueryreservationV1::SearchAssignmentsResponse::Representation
|
|
211
|
+
command.response_class = Google::Apis::BigqueryreservationV1::SearchAssignmentsResponse
|
|
212
|
+
command.params['parent'] = parent unless parent.nil?
|
|
213
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
214
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
215
|
+
command.query['query'] = query unless query.nil?
|
|
216
|
+
command.query['fields'] = fields unless fields.nil?
|
|
217
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
218
|
+
execute_or_queue_command(command, &block)
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
# Updates a BI reservation.
|
|
222
|
+
# Only fields specified in the field_mask are updated.
|
|
223
|
+
# Singleton BI reservation always exists with default size 0.
|
|
224
|
+
# In order to reserve BI capacity it needs to be updated to an amount
|
|
225
|
+
# greater than 0. In order to release BI capacity reservation size
|
|
226
|
+
# must be set to 0.
|
|
227
|
+
# @param [String] name
|
|
228
|
+
# The resource name of the singleton BI reservation.
|
|
229
|
+
# Reservation names have the form
|
|
230
|
+
# `projects/`project_id`/locations/`location_id`/bireservation`.
|
|
231
|
+
# @param [Google::Apis::BigqueryreservationV1::BiReservation] bi_reservation_object
|
|
232
|
+
# @param [String] update_mask
|
|
233
|
+
# A list of fields to be updated in this request.
|
|
234
|
+
# @param [String] fields
|
|
235
|
+
# Selector specifying which fields to include in a partial response.
|
|
236
|
+
# @param [String] quota_user
|
|
237
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
238
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
239
|
+
# @param [Google::Apis::RequestOptions] options
|
|
240
|
+
# Request-specific options
|
|
241
|
+
#
|
|
242
|
+
# @yield [result, err] Result & error if block supplied
|
|
243
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1::BiReservation] parsed result object
|
|
244
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
245
|
+
#
|
|
246
|
+
# @return [Google::Apis::BigqueryreservationV1::BiReservation]
|
|
247
|
+
#
|
|
248
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
249
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
250
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
251
|
+
def update_project_location_bi_reservation(name, bi_reservation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
252
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
253
|
+
command.request_representation = Google::Apis::BigqueryreservationV1::BiReservation::Representation
|
|
254
|
+
command.request_object = bi_reservation_object
|
|
255
|
+
command.response_representation = Google::Apis::BigqueryreservationV1::BiReservation::Representation
|
|
256
|
+
command.response_class = Google::Apis::BigqueryreservationV1::BiReservation
|
|
257
|
+
command.params['name'] = name unless name.nil?
|
|
258
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
259
|
+
command.query['fields'] = fields unless fields.nil?
|
|
260
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
261
|
+
execute_or_queue_command(command, &block)
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
# Creates a new capacity commitment resource.
|
|
265
|
+
# @param [String] parent
|
|
266
|
+
# Required. Resource name of the parent reservation. E.g.,
|
|
267
|
+
# projects/myproject/locations/US
|
|
268
|
+
# @param [Google::Apis::BigqueryreservationV1::CapacityCommitment] capacity_commitment_object
|
|
269
|
+
# @param [Boolean] enforce_single_admin_project_per_org
|
|
270
|
+
# If true, fail the request if another project in the organization has a
|
|
271
|
+
# capacity commitment.
|
|
272
|
+
# @param [String] fields
|
|
273
|
+
# Selector specifying which fields to include in a partial response.
|
|
274
|
+
# @param [String] quota_user
|
|
275
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
276
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
277
|
+
# @param [Google::Apis::RequestOptions] options
|
|
278
|
+
# Request-specific options
|
|
279
|
+
#
|
|
280
|
+
# @yield [result, err] Result & error if block supplied
|
|
281
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1::CapacityCommitment] parsed result object
|
|
282
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
283
|
+
#
|
|
284
|
+
# @return [Google::Apis::BigqueryreservationV1::CapacityCommitment]
|
|
285
|
+
#
|
|
286
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
287
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
288
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
289
|
+
def create_project_location_capacity_commitment(parent, capacity_commitment_object = nil, enforce_single_admin_project_per_org: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
290
|
+
command = make_simple_command(:post, 'v1/{+parent}/capacityCommitments', options)
|
|
291
|
+
command.request_representation = Google::Apis::BigqueryreservationV1::CapacityCommitment::Representation
|
|
292
|
+
command.request_object = capacity_commitment_object
|
|
293
|
+
command.response_representation = Google::Apis::BigqueryreservationV1::CapacityCommitment::Representation
|
|
294
|
+
command.response_class = Google::Apis::BigqueryreservationV1::CapacityCommitment
|
|
295
|
+
command.params['parent'] = parent unless parent.nil?
|
|
296
|
+
command.query['enforceSingleAdminProjectPerOrg'] = enforce_single_admin_project_per_org unless enforce_single_admin_project_per_org.nil?
|
|
297
|
+
command.query['fields'] = fields unless fields.nil?
|
|
298
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
299
|
+
execute_or_queue_command(command, &block)
|
|
300
|
+
end
|
|
301
|
+
|
|
302
|
+
# Deletes a capacity commitment. Attempting to delete capacity commitment
|
|
303
|
+
# before its commitment_end_time will fail with the error code
|
|
304
|
+
# `google.rpc.Code.FAILED_PRECONDITION`.
|
|
305
|
+
# @param [String] name
|
|
306
|
+
# Required. Resource name of the capacity commitment to delete. E.g.,
|
|
307
|
+
# projects/myproject/locations/US/capacityCommitments/123
|
|
308
|
+
# @param [String] fields
|
|
309
|
+
# Selector specifying which fields to include in a partial response.
|
|
310
|
+
# @param [String] quota_user
|
|
311
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
312
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
313
|
+
# @param [Google::Apis::RequestOptions] options
|
|
314
|
+
# Request-specific options
|
|
315
|
+
#
|
|
316
|
+
# @yield [result, err] Result & error if block supplied
|
|
317
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1::Empty] parsed result object
|
|
318
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
319
|
+
#
|
|
320
|
+
# @return [Google::Apis::BigqueryreservationV1::Empty]
|
|
321
|
+
#
|
|
322
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
323
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
324
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
325
|
+
def delete_project_location_capacity_commitment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
326
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
327
|
+
command.response_representation = Google::Apis::BigqueryreservationV1::Empty::Representation
|
|
328
|
+
command.response_class = Google::Apis::BigqueryreservationV1::Empty
|
|
329
|
+
command.params['name'] = name unless name.nil?
|
|
330
|
+
command.query['fields'] = fields unless fields.nil?
|
|
331
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
332
|
+
execute_or_queue_command(command, &block)
|
|
333
|
+
end
|
|
334
|
+
|
|
335
|
+
# Returns information about the capacity commitment.
|
|
336
|
+
# @param [String] name
|
|
337
|
+
# Required. Resource name of the capacity commitment to retrieve. E.g.,
|
|
338
|
+
# projects/myproject/locations/US/capacityCommitments/123
|
|
339
|
+
# @param [String] fields
|
|
340
|
+
# Selector specifying which fields to include in a partial response.
|
|
341
|
+
# @param [String] quota_user
|
|
342
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
343
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
344
|
+
# @param [Google::Apis::RequestOptions] options
|
|
345
|
+
# Request-specific options
|
|
346
|
+
#
|
|
347
|
+
# @yield [result, err] Result & error if block supplied
|
|
348
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1::CapacityCommitment] parsed result object
|
|
349
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
350
|
+
#
|
|
351
|
+
# @return [Google::Apis::BigqueryreservationV1::CapacityCommitment]
|
|
352
|
+
#
|
|
353
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
354
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
355
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
356
|
+
def get_project_location_capacity_commitment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
357
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
358
|
+
command.response_representation = Google::Apis::BigqueryreservationV1::CapacityCommitment::Representation
|
|
359
|
+
command.response_class = Google::Apis::BigqueryreservationV1::CapacityCommitment
|
|
360
|
+
command.params['name'] = name unless name.nil?
|
|
361
|
+
command.query['fields'] = fields unless fields.nil?
|
|
362
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
363
|
+
execute_or_queue_command(command, &block)
|
|
364
|
+
end
|
|
365
|
+
|
|
366
|
+
# Lists all the capacity commitments for the admin project.
|
|
367
|
+
# @param [String] parent
|
|
368
|
+
# Required. Resource name of the parent reservation. E.g.,
|
|
369
|
+
# projects/myproject/locations/US
|
|
370
|
+
# @param [Fixnum] page_size
|
|
371
|
+
# The maximum number of items to return.
|
|
372
|
+
# @param [String] page_token
|
|
373
|
+
# The next_page_token value returned from a previous List request, if any.
|
|
374
|
+
# @param [String] fields
|
|
375
|
+
# Selector specifying which fields to include in a partial response.
|
|
376
|
+
# @param [String] quota_user
|
|
377
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
378
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
379
|
+
# @param [Google::Apis::RequestOptions] options
|
|
380
|
+
# Request-specific options
|
|
381
|
+
#
|
|
382
|
+
# @yield [result, err] Result & error if block supplied
|
|
383
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1::ListCapacityCommitmentsResponse] parsed result object
|
|
384
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
385
|
+
#
|
|
386
|
+
# @return [Google::Apis::BigqueryreservationV1::ListCapacityCommitmentsResponse]
|
|
387
|
+
#
|
|
388
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
389
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
390
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
391
|
+
def list_project_location_capacity_commitments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
392
|
+
command = make_simple_command(:get, 'v1/{+parent}/capacityCommitments', options)
|
|
393
|
+
command.response_representation = Google::Apis::BigqueryreservationV1::ListCapacityCommitmentsResponse::Representation
|
|
394
|
+
command.response_class = Google::Apis::BigqueryreservationV1::ListCapacityCommitmentsResponse
|
|
395
|
+
command.params['parent'] = parent unless parent.nil?
|
|
396
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
397
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
398
|
+
command.query['fields'] = fields unless fields.nil?
|
|
399
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
400
|
+
execute_or_queue_command(command, &block)
|
|
401
|
+
end
|
|
402
|
+
|
|
403
|
+
# Merges capacity commitments of the same plan into one. Resulting capacity
|
|
404
|
+
# commitment has the longer commitment_end_time out of the two. Attempting to
|
|
405
|
+
# merge capacity commitments of different plan will fail with the error code
|
|
406
|
+
# `google.rpc.Code.FAILED_PRECONDITION`.
|
|
407
|
+
# @param [String] parent
|
|
408
|
+
# Parent resource that identifies admin project and location e.g.,
|
|
409
|
+
# projects/myproject/locations/us
|
|
410
|
+
# @param [Google::Apis::BigqueryreservationV1::MergeCapacityCommitmentsRequest] merge_capacity_commitments_request_object
|
|
411
|
+
# @param [String] fields
|
|
412
|
+
# Selector specifying which fields to include in a partial response.
|
|
413
|
+
# @param [String] quota_user
|
|
414
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
415
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
416
|
+
# @param [Google::Apis::RequestOptions] options
|
|
417
|
+
# Request-specific options
|
|
418
|
+
#
|
|
419
|
+
# @yield [result, err] Result & error if block supplied
|
|
420
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1::CapacityCommitment] parsed result object
|
|
421
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
422
|
+
#
|
|
423
|
+
# @return [Google::Apis::BigqueryreservationV1::CapacityCommitment]
|
|
424
|
+
#
|
|
425
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
426
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
427
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
428
|
+
def merge_capacity_commitments(parent, merge_capacity_commitments_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
429
|
+
command = make_simple_command(:post, 'v1/{+parent}/capacityCommitments:merge', options)
|
|
430
|
+
command.request_representation = Google::Apis::BigqueryreservationV1::MergeCapacityCommitmentsRequest::Representation
|
|
431
|
+
command.request_object = merge_capacity_commitments_request_object
|
|
432
|
+
command.response_representation = Google::Apis::BigqueryreservationV1::CapacityCommitment::Representation
|
|
433
|
+
command.response_class = Google::Apis::BigqueryreservationV1::CapacityCommitment
|
|
434
|
+
command.params['parent'] = parent unless parent.nil?
|
|
435
|
+
command.query['fields'] = fields unless fields.nil?
|
|
436
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
437
|
+
execute_or_queue_command(command, &block)
|
|
438
|
+
end
|
|
439
|
+
|
|
440
|
+
# Updates an existing capacity commitment.
|
|
441
|
+
# Only plan and renewal_plan fields can be updated.
|
|
442
|
+
# Plan can only be changed to a plan of a longer commitment period.
|
|
443
|
+
# Attempting to change to a plan with shorter commitment period will fail
|
|
444
|
+
# with the error code `google.rpc.Code.FAILED_PRECONDITION`.
|
|
445
|
+
# @param [String] name
|
|
446
|
+
# Output only. The resource name of the capacity commitment, e.g.,
|
|
447
|
+
# projects/myproject/locations/US/capacityCommitments/123
|
|
448
|
+
# @param [Google::Apis::BigqueryreservationV1::CapacityCommitment] capacity_commitment_object
|
|
449
|
+
# @param [String] update_mask
|
|
450
|
+
# Standard field mask for the set of fields to be updated.
|
|
451
|
+
# @param [String] fields
|
|
452
|
+
# Selector specifying which fields to include in a partial response.
|
|
453
|
+
# @param [String] quota_user
|
|
454
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
455
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
456
|
+
# @param [Google::Apis::RequestOptions] options
|
|
457
|
+
# Request-specific options
|
|
458
|
+
#
|
|
459
|
+
# @yield [result, err] Result & error if block supplied
|
|
460
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1::CapacityCommitment] parsed result object
|
|
461
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
462
|
+
#
|
|
463
|
+
# @return [Google::Apis::BigqueryreservationV1::CapacityCommitment]
|
|
464
|
+
#
|
|
465
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
466
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
467
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
468
|
+
def patch_project_location_capacity_commitment(name, capacity_commitment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
469
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
470
|
+
command.request_representation = Google::Apis::BigqueryreservationV1::CapacityCommitment::Representation
|
|
471
|
+
command.request_object = capacity_commitment_object
|
|
472
|
+
command.response_representation = Google::Apis::BigqueryreservationV1::CapacityCommitment::Representation
|
|
473
|
+
command.response_class = Google::Apis::BigqueryreservationV1::CapacityCommitment
|
|
474
|
+
command.params['name'] = name unless name.nil?
|
|
475
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
476
|
+
command.query['fields'] = fields unless fields.nil?
|
|
477
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
478
|
+
execute_or_queue_command(command, &block)
|
|
479
|
+
end
|
|
480
|
+
|
|
481
|
+
# Splits capacity commitment to two commitments of the same plan and
|
|
482
|
+
# commitment_end_time. A common use case to do that is to perform a downgrade
|
|
483
|
+
# e.g., in order to downgrade from 10000 slots to 8000, one might split 10000
|
|
484
|
+
# capacity commitment to 2000 and 8000, change the plan of the first one to
|
|
485
|
+
# flex and then delete it.
|
|
486
|
+
# @param [String] name
|
|
487
|
+
# Required. The resource name e.g.,:
|
|
488
|
+
# projects/myproject/locations/US/capacityCommitments/123
|
|
489
|
+
# @param [Google::Apis::BigqueryreservationV1::SplitCapacityCommitmentRequest] split_capacity_commitment_request_object
|
|
490
|
+
# @param [String] fields
|
|
491
|
+
# Selector specifying which fields to include in a partial response.
|
|
492
|
+
# @param [String] quota_user
|
|
493
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
494
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
495
|
+
# @param [Google::Apis::RequestOptions] options
|
|
496
|
+
# Request-specific options
|
|
497
|
+
#
|
|
498
|
+
# @yield [result, err] Result & error if block supplied
|
|
499
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1::SplitCapacityCommitmentResponse] parsed result object
|
|
500
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
501
|
+
#
|
|
502
|
+
# @return [Google::Apis::BigqueryreservationV1::SplitCapacityCommitmentResponse]
|
|
503
|
+
#
|
|
504
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
505
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
506
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
507
|
+
def split_capacity_commitment(name, split_capacity_commitment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
508
|
+
command = make_simple_command(:post, 'v1/{+name}:split', options)
|
|
509
|
+
command.request_representation = Google::Apis::BigqueryreservationV1::SplitCapacityCommitmentRequest::Representation
|
|
510
|
+
command.request_object = split_capacity_commitment_request_object
|
|
511
|
+
command.response_representation = Google::Apis::BigqueryreservationV1::SplitCapacityCommitmentResponse::Representation
|
|
512
|
+
command.response_class = Google::Apis::BigqueryreservationV1::SplitCapacityCommitmentResponse
|
|
513
|
+
command.params['name'] = name unless name.nil?
|
|
514
|
+
command.query['fields'] = fields unless fields.nil?
|
|
515
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
516
|
+
execute_or_queue_command(command, &block)
|
|
517
|
+
end
|
|
518
|
+
|
|
519
|
+
# Creates a new reservation resource.
|
|
520
|
+
# @param [String] parent
|
|
521
|
+
# Required. Project, location. E.g.,
|
|
522
|
+
# projects/myproject/locations/US
|
|
523
|
+
# @param [Google::Apis::BigqueryreservationV1::Reservation] reservation_object
|
|
524
|
+
# @param [String] reservation_id
|
|
525
|
+
# The reservation ID. This field must only contain lower case alphanumeric
|
|
526
|
+
# characters or dash. Max length is 64 characters.
|
|
527
|
+
# @param [String] fields
|
|
528
|
+
# Selector specifying which fields to include in a partial response.
|
|
529
|
+
# @param [String] quota_user
|
|
530
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
531
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
532
|
+
# @param [Google::Apis::RequestOptions] options
|
|
533
|
+
# Request-specific options
|
|
534
|
+
#
|
|
535
|
+
# @yield [result, err] Result & error if block supplied
|
|
536
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1::Reservation] parsed result object
|
|
537
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
538
|
+
#
|
|
539
|
+
# @return [Google::Apis::BigqueryreservationV1::Reservation]
|
|
540
|
+
#
|
|
541
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
542
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
543
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
544
|
+
def create_project_location_reservation(parent, reservation_object = nil, reservation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
545
|
+
command = make_simple_command(:post, 'v1/{+parent}/reservations', options)
|
|
546
|
+
command.request_representation = Google::Apis::BigqueryreservationV1::Reservation::Representation
|
|
547
|
+
command.request_object = reservation_object
|
|
548
|
+
command.response_representation = Google::Apis::BigqueryreservationV1::Reservation::Representation
|
|
549
|
+
command.response_class = Google::Apis::BigqueryreservationV1::Reservation
|
|
550
|
+
command.params['parent'] = parent unless parent.nil?
|
|
551
|
+
command.query['reservationId'] = reservation_id unless reservation_id.nil?
|
|
552
|
+
command.query['fields'] = fields unless fields.nil?
|
|
553
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
554
|
+
execute_or_queue_command(command, &block)
|
|
555
|
+
end
|
|
556
|
+
|
|
557
|
+
# Deletes a reservation.
|
|
558
|
+
# Returns `google.rpc.Code.FAILED_PRECONDITION` when reservation has
|
|
559
|
+
# assignments.
|
|
560
|
+
# @param [String] name
|
|
561
|
+
# Required. Resource name of the reservation to retrieve. E.g.,
|
|
562
|
+
# projects/myproject/locations/US/reservations/team1-prod
|
|
563
|
+
# @param [String] fields
|
|
564
|
+
# Selector specifying which fields to include in a partial response.
|
|
565
|
+
# @param [String] quota_user
|
|
566
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
567
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
568
|
+
# @param [Google::Apis::RequestOptions] options
|
|
569
|
+
# Request-specific options
|
|
570
|
+
#
|
|
571
|
+
# @yield [result, err] Result & error if block supplied
|
|
572
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1::Empty] parsed result object
|
|
573
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
574
|
+
#
|
|
575
|
+
# @return [Google::Apis::BigqueryreservationV1::Empty]
|
|
576
|
+
#
|
|
577
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
578
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
579
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
580
|
+
def delete_project_location_reservation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
581
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
582
|
+
command.response_representation = Google::Apis::BigqueryreservationV1::Empty::Representation
|
|
583
|
+
command.response_class = Google::Apis::BigqueryreservationV1::Empty
|
|
584
|
+
command.params['name'] = name unless name.nil?
|
|
585
|
+
command.query['fields'] = fields unless fields.nil?
|
|
586
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
587
|
+
execute_or_queue_command(command, &block)
|
|
588
|
+
end
|
|
589
|
+
|
|
590
|
+
# Returns information about the reservation.
|
|
591
|
+
# @param [String] name
|
|
592
|
+
# Required. Resource name of the reservation to retrieve. E.g.,
|
|
593
|
+
# projects/myproject/locations/US/reservations/team1-prod
|
|
594
|
+
# @param [String] fields
|
|
595
|
+
# Selector specifying which fields to include in a partial response.
|
|
596
|
+
# @param [String] quota_user
|
|
597
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
598
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
599
|
+
# @param [Google::Apis::RequestOptions] options
|
|
600
|
+
# Request-specific options
|
|
601
|
+
#
|
|
602
|
+
# @yield [result, err] Result & error if block supplied
|
|
603
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1::Reservation] parsed result object
|
|
604
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
605
|
+
#
|
|
606
|
+
# @return [Google::Apis::BigqueryreservationV1::Reservation]
|
|
607
|
+
#
|
|
608
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
609
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
610
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
611
|
+
def get_project_location_reservation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
612
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
613
|
+
command.response_representation = Google::Apis::BigqueryreservationV1::Reservation::Representation
|
|
614
|
+
command.response_class = Google::Apis::BigqueryreservationV1::Reservation
|
|
615
|
+
command.params['name'] = name unless name.nil?
|
|
616
|
+
command.query['fields'] = fields unless fields.nil?
|
|
617
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
618
|
+
execute_or_queue_command(command, &block)
|
|
619
|
+
end
|
|
620
|
+
|
|
621
|
+
# Lists all the reservations for the project in the specified location.
|
|
622
|
+
# @param [String] parent
|
|
623
|
+
# Required. The parent resource name containing project and location, e.g.:
|
|
624
|
+
# "projects/myproject/locations/US"
|
|
625
|
+
# @param [Fixnum] page_size
|
|
626
|
+
# The maximum number of items to return.
|
|
627
|
+
# @param [String] page_token
|
|
628
|
+
# The next_page_token value returned from a previous List request, if any.
|
|
629
|
+
# @param [String] fields
|
|
630
|
+
# Selector specifying which fields to include in a partial response.
|
|
631
|
+
# @param [String] quota_user
|
|
632
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
633
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
634
|
+
# @param [Google::Apis::RequestOptions] options
|
|
635
|
+
# Request-specific options
|
|
636
|
+
#
|
|
637
|
+
# @yield [result, err] Result & error if block supplied
|
|
638
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1::ListReservationsResponse] parsed result object
|
|
639
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
640
|
+
#
|
|
641
|
+
# @return [Google::Apis::BigqueryreservationV1::ListReservationsResponse]
|
|
642
|
+
#
|
|
643
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
644
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
645
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
646
|
+
def list_project_location_reservations(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
647
|
+
command = make_simple_command(:get, 'v1/{+parent}/reservations', options)
|
|
648
|
+
command.response_representation = Google::Apis::BigqueryreservationV1::ListReservationsResponse::Representation
|
|
649
|
+
command.response_class = Google::Apis::BigqueryreservationV1::ListReservationsResponse
|
|
650
|
+
command.params['parent'] = parent unless parent.nil?
|
|
651
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
652
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
653
|
+
command.query['fields'] = fields unless fields.nil?
|
|
654
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
655
|
+
execute_or_queue_command(command, &block)
|
|
656
|
+
end
|
|
657
|
+
|
|
658
|
+
# Updates an existing reservation resource.
|
|
659
|
+
# @param [String] name
|
|
660
|
+
# The resource name of the reservation, e.g.,
|
|
661
|
+
# "projects/*/locations/*/reservations/team1-prod".
|
|
662
|
+
# @param [Google::Apis::BigqueryreservationV1::Reservation] reservation_object
|
|
663
|
+
# @param [String] update_mask
|
|
664
|
+
# Standard field mask for the set of fields to be updated.
|
|
665
|
+
# @param [String] fields
|
|
666
|
+
# Selector specifying which fields to include in a partial response.
|
|
667
|
+
# @param [String] quota_user
|
|
668
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
669
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
670
|
+
# @param [Google::Apis::RequestOptions] options
|
|
671
|
+
# Request-specific options
|
|
672
|
+
#
|
|
673
|
+
# @yield [result, err] Result & error if block supplied
|
|
674
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1::Reservation] parsed result object
|
|
675
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
676
|
+
#
|
|
677
|
+
# @return [Google::Apis::BigqueryreservationV1::Reservation]
|
|
678
|
+
#
|
|
679
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
680
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
681
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
682
|
+
def patch_project_location_reservation(name, reservation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
683
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
684
|
+
command.request_representation = Google::Apis::BigqueryreservationV1::Reservation::Representation
|
|
685
|
+
command.request_object = reservation_object
|
|
686
|
+
command.response_representation = Google::Apis::BigqueryreservationV1::Reservation::Representation
|
|
687
|
+
command.response_class = Google::Apis::BigqueryreservationV1::Reservation
|
|
688
|
+
command.params['name'] = name unless name.nil?
|
|
689
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
690
|
+
command.query['fields'] = fields unless fields.nil?
|
|
691
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
692
|
+
execute_or_queue_command(command, &block)
|
|
693
|
+
end
|
|
694
|
+
|
|
695
|
+
# Creates an object which allows the given project to submit jobs
|
|
696
|
+
# of a certain type using slots from the specified reservation. Currently a
|
|
697
|
+
# resource (project, folder, organization) can only have one assignment per
|
|
698
|
+
# `job_type, location`, and that reservation will be used for all jobs of the
|
|
699
|
+
# matching type. Within the organization, different assignments can be
|
|
700
|
+
# created on projects, folders or organization level. During query execution,
|
|
701
|
+
# the assignment is looked up at the project, folder and organization levels
|
|
702
|
+
# in that order. The first assignment found is applied to the query. When
|
|
703
|
+
# creating assignments, it does not matter if other assignments exist at
|
|
704
|
+
# higher levels. E.g: organizationA contains project1, project2. Assignments
|
|
705
|
+
# for organizationA, project1 and project2 could all be created, mapping to
|
|
706
|
+
# the same or different reservations.
|
|
707
|
+
# Returns `google.rpc.Code.PERMISSION_DENIED` if user does not have
|
|
708
|
+
# 'bigquery.admin' permissions on the project using the reservation
|
|
709
|
+
# and the project that owns this reservation.
|
|
710
|
+
# Returns `google.rpc.Code.INVALID_ARGUMENT` when location of the assignment
|
|
711
|
+
# does not match location of the reservation.
|
|
712
|
+
# @param [String] parent
|
|
713
|
+
# Required. The parent resource name of the assignment
|
|
714
|
+
# E.g.: projects/myproject/locations/US/reservations/team1-prod
|
|
715
|
+
# @param [Google::Apis::BigqueryreservationV1::Assignment] assignment_object
|
|
716
|
+
# @param [String] fields
|
|
717
|
+
# Selector specifying which fields to include in a partial response.
|
|
718
|
+
# @param [String] quota_user
|
|
719
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
720
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
721
|
+
# @param [Google::Apis::RequestOptions] options
|
|
722
|
+
# Request-specific options
|
|
723
|
+
#
|
|
724
|
+
# @yield [result, err] Result & error if block supplied
|
|
725
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1::Assignment] parsed result object
|
|
726
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
727
|
+
#
|
|
728
|
+
# @return [Google::Apis::BigqueryreservationV1::Assignment]
|
|
729
|
+
#
|
|
730
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
731
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
732
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
733
|
+
def create_project_location_reservation_assignment(parent, assignment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
734
|
+
command = make_simple_command(:post, 'v1/{+parent}/assignments', options)
|
|
735
|
+
command.request_representation = Google::Apis::BigqueryreservationV1::Assignment::Representation
|
|
736
|
+
command.request_object = assignment_object
|
|
737
|
+
command.response_representation = Google::Apis::BigqueryreservationV1::Assignment::Representation
|
|
738
|
+
command.response_class = Google::Apis::BigqueryreservationV1::Assignment
|
|
739
|
+
command.params['parent'] = parent unless parent.nil?
|
|
740
|
+
command.query['fields'] = fields unless fields.nil?
|
|
741
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
742
|
+
execute_or_queue_command(command, &block)
|
|
743
|
+
end
|
|
744
|
+
|
|
745
|
+
# Deletes a assignment. No expansion will happen.
|
|
746
|
+
# E.g:
|
|
747
|
+
# organizationA contains project1 and project2. Reservation res1 exists.
|
|
748
|
+
# CreateAssignment was invoked previously and following assignments were
|
|
749
|
+
# created explicitly:
|
|
750
|
+
# <organizationA, res1>
|
|
751
|
+
# <project1, res1>
|
|
752
|
+
# Then deletion of <organizationA, res1> won't affect <project1, res1>. After
|
|
753
|
+
# deletion of <organizationA, res1>, queries from project1 will still use
|
|
754
|
+
# res1, while queries from project2 will use on-demand mode.
|
|
755
|
+
# @param [String] name
|
|
756
|
+
# Required. Name of the resource, e.g.:
|
|
757
|
+
# projects/myproject/locations/US/reservations/team1-prod/assignments/123
|
|
758
|
+
# @param [String] fields
|
|
759
|
+
# Selector specifying which fields to include in a partial response.
|
|
760
|
+
# @param [String] quota_user
|
|
761
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
762
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
763
|
+
# @param [Google::Apis::RequestOptions] options
|
|
764
|
+
# Request-specific options
|
|
765
|
+
#
|
|
766
|
+
# @yield [result, err] Result & error if block supplied
|
|
767
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1::Empty] parsed result object
|
|
768
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
769
|
+
#
|
|
770
|
+
# @return [Google::Apis::BigqueryreservationV1::Empty]
|
|
771
|
+
#
|
|
772
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
773
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
774
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
775
|
+
def delete_project_location_reservation_assignment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
776
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
777
|
+
command.response_representation = Google::Apis::BigqueryreservationV1::Empty::Representation
|
|
778
|
+
command.response_class = Google::Apis::BigqueryreservationV1::Empty
|
|
779
|
+
command.params['name'] = name unless name.nil?
|
|
780
|
+
command.query['fields'] = fields unless fields.nil?
|
|
781
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
782
|
+
execute_or_queue_command(command, &block)
|
|
783
|
+
end
|
|
784
|
+
|
|
785
|
+
# Lists assignments.
|
|
786
|
+
# Only explicitly created assignments will be returned. E.g:
|
|
787
|
+
# organizationA contains project1 and project2. Reservation res1 exists.
|
|
788
|
+
# CreateAssignment was invoked previously and following assignments were
|
|
789
|
+
# created explicitly:
|
|
790
|
+
# <organizationA, res1>
|
|
791
|
+
# <project1, res1>
|
|
792
|
+
# Then this API will just return the above two assignments for reservation
|
|
793
|
+
# res1, and no expansion/merge will happen. Wildcard "-" can be used for
|
|
794
|
+
# reservations in the request. In that case all assignments belongs to the
|
|
795
|
+
# specified project and location will be listed. Note
|
|
796
|
+
# "-" cannot be used for projects nor locations.
|
|
797
|
+
# @param [String] parent
|
|
798
|
+
# Required. The parent resource name e.g.:
|
|
799
|
+
# projects/myproject/locations/US/reservations/team1-prod
|
|
800
|
+
# Or:
|
|
801
|
+
# projects/myproject/locations/US/reservations/-
|
|
802
|
+
# @param [Fixnum] page_size
|
|
803
|
+
# The maximum number of items to return.
|
|
804
|
+
# @param [String] page_token
|
|
805
|
+
# The next_page_token value returned from a previous List request, if any.
|
|
806
|
+
# @param [String] fields
|
|
807
|
+
# Selector specifying which fields to include in a partial response.
|
|
808
|
+
# @param [String] quota_user
|
|
809
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
810
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
811
|
+
# @param [Google::Apis::RequestOptions] options
|
|
812
|
+
# Request-specific options
|
|
813
|
+
#
|
|
814
|
+
# @yield [result, err] Result & error if block supplied
|
|
815
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1::ListAssignmentsResponse] parsed result object
|
|
816
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
817
|
+
#
|
|
818
|
+
# @return [Google::Apis::BigqueryreservationV1::ListAssignmentsResponse]
|
|
819
|
+
#
|
|
820
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
821
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
822
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
823
|
+
def list_project_location_reservation_assignments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
824
|
+
command = make_simple_command(:get, 'v1/{+parent}/assignments', options)
|
|
825
|
+
command.response_representation = Google::Apis::BigqueryreservationV1::ListAssignmentsResponse::Representation
|
|
826
|
+
command.response_class = Google::Apis::BigqueryreservationV1::ListAssignmentsResponse
|
|
827
|
+
command.params['parent'] = parent unless parent.nil?
|
|
828
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
829
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
830
|
+
command.query['fields'] = fields unless fields.nil?
|
|
831
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
832
|
+
execute_or_queue_command(command, &block)
|
|
833
|
+
end
|
|
834
|
+
|
|
835
|
+
# Moves a assignment under a new reservation. Customers can do this by
|
|
836
|
+
# deleting the existing assignment followed by creating another assignment
|
|
837
|
+
# under the new reservation, but this method provides a transactional way to
|
|
838
|
+
# do so, to make sure the assignee always has an associated reservation.
|
|
839
|
+
# Without the method customers might see some queries run on-demand which
|
|
840
|
+
# might be unexpected.
|
|
841
|
+
# @param [String] name
|
|
842
|
+
# Required. The resource name of the assignment,
|
|
843
|
+
# e.g.:
|
|
844
|
+
# projects/myproject/locations/US/reservations/team1-prod/assignments/123
|
|
845
|
+
# @param [Google::Apis::BigqueryreservationV1::MoveAssignmentRequest] move_assignment_request_object
|
|
846
|
+
# @param [String] fields
|
|
847
|
+
# Selector specifying which fields to include in a partial response.
|
|
848
|
+
# @param [String] quota_user
|
|
849
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
850
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
851
|
+
# @param [Google::Apis::RequestOptions] options
|
|
852
|
+
# Request-specific options
|
|
853
|
+
#
|
|
854
|
+
# @yield [result, err] Result & error if block supplied
|
|
855
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1::Assignment] parsed result object
|
|
856
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
857
|
+
#
|
|
858
|
+
# @return [Google::Apis::BigqueryreservationV1::Assignment]
|
|
859
|
+
#
|
|
860
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
861
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
862
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
863
|
+
def move_assignment(name, move_assignment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
864
|
+
command = make_simple_command(:post, 'v1/{+name}:move', options)
|
|
865
|
+
command.request_representation = Google::Apis::BigqueryreservationV1::MoveAssignmentRequest::Representation
|
|
866
|
+
command.request_object = move_assignment_request_object
|
|
867
|
+
command.response_representation = Google::Apis::BigqueryreservationV1::Assignment::Representation
|
|
868
|
+
command.response_class = Google::Apis::BigqueryreservationV1::Assignment
|
|
869
|
+
command.params['name'] = name unless name.nil?
|
|
870
|
+
command.query['fields'] = fields unless fields.nil?
|
|
871
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
872
|
+
execute_or_queue_command(command, &block)
|
|
873
|
+
end
|
|
129
874
|
|
|
130
875
|
protected
|
|
131
876
|
|