google-api-client 0.39.1 → 0.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +164 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +70 -347
- data/generated/google/apis/apigee_v1/representations.rb +6 -128
- data/generated/google/apis/apigee_v1/service.rb +60 -550
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1010 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +380 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +46 -1
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +21 -15
- data/generated/google/apis/bigqueryreservation_v1/service.rb +94 -81
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -61
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -16
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +4 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
- data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
- data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +371 -27
- data/generated/google/apis/cloudasset_v1/representations.rb +97 -0
- data/generated/google/apis/cloudasset_v1/service.rb +186 -8
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +23 -10
- data/generated/google/apis/cloudasset_v1beta1/service.rb +12 -3
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +42 -10
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +121 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +142 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +60 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +142 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +60 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +307 -14
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudkms_v1/service.rb +15 -6
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +26 -10
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -10
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +26 -10
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +26 -10
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +2 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
- data/generated/google/apis/composer_v1beta1/service.rb +5 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +165 -65
- data/generated/google/apis/compute_alpha/representations.rb +30 -1
- data/generated/google/apis/compute_alpha/service.rb +157 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +172 -55
- data/generated/google/apis/compute_beta/representations.rb +47 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +148 -51
- data/generated/google/apis/compute_v1/representations.rb +21 -0
- data/generated/google/apis/compute_v1/service.rb +83 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +5 -6
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +65 -6
- data/generated/google/apis/container_v1beta1/representations.rb +33 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +6 -0
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +26 -12
- data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
- data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +568 -8
- data/generated/google/apis/dialogflow_v2/representations.rb +238 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +568 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +238 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +46 -2
- data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
- data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +149 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +76 -0
- data/generated/google/apis/displayvideo_v1/service.rb +287 -2
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +9 -21
- data/generated/google/apis/dlp_v2/service.rb +79 -142
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +160 -261
- data/generated/google/apis/dns_v1/representations.rb +17 -0
- data/generated/google/apis/dns_v1/service.rb +21 -141
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
- data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
- data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
- data/generated/google/apis/dns_v2beta1/service.rb +21 -141
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1187 -0
- data/generated/google/apis/file_v1/representations.rb +396 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1187 -0
- data/generated/google/apis/file_v1beta1/representations.rb +396 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +4 -4
- data/generated/google/apis/{pagespeedonline_v2.rb → firebaseml_v1.rb} +12 -10
- data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
- data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
- data/generated/google/apis/firebaseml_v1/service.rb +181 -0
- data/generated/google/apis/fitness_v1.rb +4 -4
- data/generated/google/apis/fitness_v1/classes.rb +185 -158
- data/generated/google/apis/fitness_v1/service.rb +187 -215
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +6 -4
- data/generated/google/apis/games_management_v1management/classes.rb +50 -90
- data/generated/google/apis/games_management_v1management/representations.rb +0 -17
- data/generated/google/apis/games_management_v1management/service.rb +115 -291
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +73 -60
- data/generated/google/apis/gameservices_v1beta/service.rb +60 -57
- data/generated/google/apis/gmail_v1.rb +2 -3
- data/generated/google/apis/gmail_v1/classes.rb +199 -258
- data/generated/google/apis/gmail_v1/service.rb +744 -552
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +67 -46
- data/generated/google/apis/healthcare_v1/service.rb +107 -140
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +70 -54
- data/generated/google/apis/healthcare_v1beta1/service.rb +223 -255
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +3 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +24 -12
- data/generated/google/apis/iam_v1/service.rb +7 -0
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +26 -2
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +35 -12
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +26 -10
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +24 -12
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +84 -18
- data/generated/google/apis/ml_v1/representations.rb +4 -0
- data/generated/google/apis/ml_v1/service.rb +11 -6
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +7 -0
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +1 -1
- data/generated/google/apis/{pagespeedonline_v4.rb → networkmanagement_v1.rb} +13 -10
- data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +29 -27
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +17 -20
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +6 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +31 -49
- data/generated/google/apis/run_v1/representations.rb +1 -17
- data/generated/google/apis/run_v1/service.rb +3 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +23 -10
- data/generated/google/apis/run_v1alpha1/service.rb +3 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +26 -13
- data/generated/google/apis/secretmanager_v1/service.rb +3 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +23 -10
- data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +27 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +27 -12
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +27 -12
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -31
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +0 -31
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -31
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +379 -31
- data/generated/google/apis/servicenetworking_v1/representations.rb +209 -1
- data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +188 -31
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +0 -31
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -31
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -1
- 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 +29 -10
- 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 +3 -0
- data/generated/google/apis/tasks_v1.rb +3 -3
- data/generated/google/apis/tasks_v1/classes.rb +26 -25
- data/generated/google/apis/tasks_v1/representations.rb +4 -8
- data/generated/google/apis/tasks_v1/service.rb +79 -128
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +3 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +141 -2
- data/generated/google/apis/toolresults_v1beta3/representations.rb +77 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1.rb +3 -3
- data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
- data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +5 -5
- data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
- data/generated/google/apis/youtube_v3/representations.rb +64 -192
- data/generated/google/apis/youtube_v3/service.rb +1827 -2154
- data/lib/google/apis/version.rb +9 -4
- metadata +23 -15
- data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
- data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
- data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
- data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
- data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
- data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
- data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
26
26
|
module BigqueryV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200523'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -2117,6 +2117,11 @@ module Google
|
|
2117
2117
|
# @return [String]
|
2118
2118
|
attr_accessor :compression
|
2119
2119
|
|
2120
|
+
# [Optional, Trusted Tester] Connection for external data source.
|
2121
|
+
# Corresponds to the JSON property `connectionId`
|
2122
|
+
# @return [String]
|
2123
|
+
attr_accessor :connection_id
|
2124
|
+
|
2120
2125
|
# Additional properties to set if sourceFormat is set to CSV.
|
2121
2126
|
# Corresponds to the JSON property `csvOptions`
|
2122
2127
|
# @return [Google::Apis::BigqueryV2::CsvOptions]
|
@@ -2192,6 +2197,7 @@ module Google
|
|
2192
2197
|
@autodetect = args[:autodetect] if args.key?(:autodetect)
|
2193
2198
|
@bigtable_options = args[:bigtable_options] if args.key?(:bigtable_options)
|
2194
2199
|
@compression = args[:compression] if args.key?(:compression)
|
2200
|
+
@connection_id = args[:connection_id] if args.key?(:connection_id)
|
2195
2201
|
@csv_options = args[:csv_options] if args.key?(:csv_options)
|
2196
2202
|
@google_sheets_options = args[:google_sheets_options] if args.key?(:google_sheets_options)
|
2197
2203
|
@hive_partitioning_options = args[:hive_partitioning_options] if args.key?(:hive_partitioning_options)
|
@@ -4678,6 +4684,15 @@ module Google
|
|
4678
4684
|
# @return [String]
|
4679
4685
|
attr_accessor :kind
|
4680
4686
|
|
4687
|
+
# The labels associated with this job. You can use these to organize and group
|
4688
|
+
# your jobs. Label keys and values can be no longer than 63 characters, can only
|
4689
|
+
# contain lowercase letters, numeric characters, underscores and dashes.
|
4690
|
+
# International characters are allowed. Label values are optional. Label keys
|
4691
|
+
# must start with a letter and each label in the list must have a different key.
|
4692
|
+
# Corresponds to the JSON property `labels`
|
4693
|
+
# @return [Hash<String,String>]
|
4694
|
+
attr_accessor :labels
|
4695
|
+
|
4681
4696
|
# The geographic location where the job should run. See details at https://cloud.
|
4682
4697
|
# google.com/bigquery/docs/locations#specifying_your_location.
|
4683
4698
|
# Corresponds to the JSON property `location`
|
@@ -4693,6 +4708,13 @@ module Google
|
|
4693
4708
|
# @return [Fixnum]
|
4694
4709
|
attr_accessor :max_results
|
4695
4710
|
|
4711
|
+
# [Optional] Limits the bytes billed for this job. Queries that will have bytes
|
4712
|
+
# billed beyond this limit will fail (without incurring a charge). If
|
4713
|
+
# unspecified, this will be set to your project default.
|
4714
|
+
# Corresponds to the JSON property `maximumBytesBilled`
|
4715
|
+
# @return [Fixnum]
|
4716
|
+
attr_accessor :maximum_bytes_billed
|
4717
|
+
|
4696
4718
|
# Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or
|
4697
4719
|
# to NAMED to use named (@myparam) query parameters in this query.
|
4698
4720
|
# Corresponds to the JSON property `parameterMode`
|
@@ -4717,6 +4739,21 @@ module Google
|
|
4717
4739
|
# @return [Array<Google::Apis::BigqueryV2::QueryParameter>]
|
4718
4740
|
attr_accessor :query_parameters
|
4719
4741
|
|
4742
|
+
# A unique user provided identifier to ensure idempotent behavior for queries.
|
4743
|
+
# Note that this is different from the job_id. It has the following properties:
|
4744
|
+
# 1. It is case-sensitive, limited to up to 36 ASCII characters. A UUID is
|
4745
|
+
# recommended. 2. Read only queries can ignore this token since they are
|
4746
|
+
# nullipotent by definition. 3. When a duplicate mutating query request is
|
4747
|
+
# detected (i.e. having the same request_id as an earlier query), it returns: a.
|
4748
|
+
# the results of the mutation if it completes successfully within the timeout. b.
|
4749
|
+
# the running operation if it is still in progress at the end of the timeout. 4.
|
4750
|
+
# Its lifetime is limited to 15 minutes. In other words, if two requests are
|
4751
|
+
# sent with the same request_id, but more than 15 minutes apart, idempotency is
|
4752
|
+
# not guaranteed.
|
4753
|
+
# Corresponds to the JSON property `requestId`
|
4754
|
+
# @return [String]
|
4755
|
+
attr_accessor :request_id
|
4756
|
+
|
4720
4757
|
# [Optional] How long to wait for the query to complete, in milliseconds, before
|
4721
4758
|
# the request times out and returns. Note that this is only a timeout for the
|
4722
4759
|
# request, not the query. If the query takes longer to run than the timeout
|
@@ -4755,12 +4792,15 @@ module Google
|
|
4755
4792
|
@default_dataset = args[:default_dataset] if args.key?(:default_dataset)
|
4756
4793
|
@dry_run = args[:dry_run] if args.key?(:dry_run)
|
4757
4794
|
@kind = args[:kind] if args.key?(:kind)
|
4795
|
+
@labels = args[:labels] if args.key?(:labels)
|
4758
4796
|
@location = args[:location] if args.key?(:location)
|
4759
4797
|
@max_results = args[:max_results] if args.key?(:max_results)
|
4798
|
+
@maximum_bytes_billed = args[:maximum_bytes_billed] if args.key?(:maximum_bytes_billed)
|
4760
4799
|
@parameter_mode = args[:parameter_mode] if args.key?(:parameter_mode)
|
4761
4800
|
@preserve_nulls = args[:preserve_nulls] if args.key?(:preserve_nulls)
|
4762
4801
|
@query = args[:query] if args.key?(:query)
|
4763
4802
|
@query_parameters = args[:query_parameters] if args.key?(:query_parameters)
|
4803
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
4764
4804
|
@timeout_ms = args[:timeout_ms] if args.key?(:timeout_ms)
|
4765
4805
|
@use_legacy_sql = args[:use_legacy_sql] if args.key?(:use_legacy_sql)
|
4766
4806
|
@use_query_cache = args[:use_query_cache] if args.key?(:use_query_cache)
|
@@ -6675,7 +6715,12 @@ module Google
|
|
6675
6715
|
end
|
6676
6716
|
end
|
6677
6717
|
|
6678
|
-
#
|
6718
|
+
# This is used for defining User Defined Function (UDF) resources only when
|
6719
|
+
# using legacy SQL. Users of Standard SQL should leverage either DDL (e.g.
|
6720
|
+
# CREATE [TEMPORARY] FUNCTION ... ) or the Routines API to define UDF resources.
|
6721
|
+
# For additional information on migrating, see: https://cloud.google.com/
|
6722
|
+
# bigquery/docs/reference/standard-sql/migrating-from-legacy-sql#
|
6723
|
+
# differences_in_user-defined_javascript_functions
|
6679
6724
|
class UserDefinedFunctionResource
|
6680
6725
|
include Google::Apis::Core::Hashable
|
6681
6726
|
|
@@ -1267,6 +1267,7 @@ module Google
|
|
1267
1267
|
property :bigtable_options, as: 'bigtableOptions', class: Google::Apis::BigqueryV2::BigtableOptions, decorator: Google::Apis::BigqueryV2::BigtableOptions::Representation
|
1268
1268
|
|
1269
1269
|
property :compression, as: 'compression'
|
1270
|
+
property :connection_id, as: 'connectionId'
|
1270
1271
|
property :csv_options, as: 'csvOptions', class: Google::Apis::BigqueryV2::CsvOptions, decorator: Google::Apis::BigqueryV2::CsvOptions::Representation
|
1271
1272
|
|
1272
1273
|
property :google_sheets_options, as: 'googleSheetsOptions', class: Google::Apis::BigqueryV2::GoogleSheetsOptions, decorator: Google::Apis::BigqueryV2::GoogleSheetsOptions::Representation
|
@@ -1876,13 +1877,16 @@ module Google
|
|
1876
1877
|
|
1877
1878
|
property :dry_run, as: 'dryRun'
|
1878
1879
|
property :kind, as: 'kind'
|
1880
|
+
hash :labels, as: 'labels'
|
1879
1881
|
property :location, as: 'location'
|
1880
1882
|
property :max_results, as: 'maxResults'
|
1883
|
+
property :maximum_bytes_billed, :numeric_string => true, as: 'maximumBytesBilled'
|
1881
1884
|
property :parameter_mode, as: 'parameterMode'
|
1882
1885
|
property :preserve_nulls, as: 'preserveNulls'
|
1883
1886
|
property :query, as: 'query'
|
1884
1887
|
collection :query_parameters, as: 'queryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
|
1885
1888
|
|
1889
|
+
property :request_id, as: 'requestId'
|
1886
1890
|
property :timeout_ms, as: 'timeoutMs'
|
1887
1891
|
property :use_legacy_sql, as: 'useLegacySql'
|
1888
1892
|
property :use_query_cache, as: 'useQueryCache'
|
@@ -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 = '20200519'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -28,7 +28,7 @@ module Google
|
|
28
28
|
include Google::Apis::Core::Hashable
|
29
29
|
|
30
30
|
# The resource which will use the reservation. E.g.
|
31
|
-
# projects/myproject
|
31
|
+
# `projects/myproject`, `folders/123`, or `organizations/456`.
|
32
32
|
# Corresponds to the JSON property `assignee`
|
33
33
|
# @return [String]
|
34
34
|
attr_accessor :assignee
|
@@ -39,7 +39,7 @@ module Google
|
|
39
39
|
attr_accessor :job_type
|
40
40
|
|
41
41
|
# Output only. Name of the resource. E.g.:
|
42
|
-
# projects/myproject/locations/US/reservations/team1-prod/assignments/123
|
42
|
+
# `projects/myproject/locations/US/reservations/team1-prod/assignments/123`.
|
43
43
|
# Corresponds to the JSON property `name`
|
44
44
|
# @return [String]
|
45
45
|
attr_accessor :name
|
@@ -98,8 +98,9 @@ module Google
|
|
98
98
|
# Capacity commitment is a way to purchase compute capacity for BigQuery jobs
|
99
99
|
# (in the form of slots) with some committed period of usage. Annual
|
100
100
|
# commitments renew by default. Commitments can be removed after their
|
101
|
-
# commitment end time passes.
|
102
|
-
#
|
101
|
+
# commitment end time passes.
|
102
|
+
# In order to remove annual commitment, its plan needs to be changed
|
103
|
+
# to monthly or flex first.
|
103
104
|
# A capacity commitment resource exists as a child resource of the admin
|
104
105
|
# project.
|
105
106
|
class CapacityCommitment
|
@@ -123,7 +124,7 @@ module Google
|
|
123
124
|
attr_accessor :failure_status
|
124
125
|
|
125
126
|
# Output only. The resource name of the capacity commitment, e.g.,
|
126
|
-
# projects/myproject/locations/US/capacityCommitments/123
|
127
|
+
# `projects/myproject/locations/US/capacityCommitments/123`
|
127
128
|
# Corresponds to the JSON property `name`
|
128
129
|
# @return [String]
|
129
130
|
attr_accessor :name
|
@@ -135,7 +136,7 @@ module Google
|
|
135
136
|
|
136
137
|
# The plan this capacity commitment is converted to after commitment_end_time
|
137
138
|
# passes. Once the plan is changed, committed period is extended according to
|
138
|
-
# commitment plan. Only applicable for ANNUAL commitments.
|
139
|
+
# commitment plan. Only applicable for ANNUAL and TRIAL commitments.
|
139
140
|
# Corresponds to the JSON property `renewalPlan`
|
140
141
|
# @return [String]
|
141
142
|
attr_accessor :renewal_plan
|
@@ -316,6 +317,8 @@ module Google
|
|
316
317
|
# Ids of capacity commitments to merge.
|
317
318
|
# These capacity commitments must exist under admin project and location
|
318
319
|
# specified in the parent.
|
320
|
+
# ID is the last portion of capacity commitment name e.g., 'abc' for
|
321
|
+
# projects/myproject/locations/US/capacityCommitments/abc
|
319
322
|
# Corresponds to the JSON property `capacityCommitmentIds`
|
320
323
|
# @return [Array<String>]
|
321
324
|
attr_accessor :capacity_commitment_ids
|
@@ -332,15 +335,16 @@ module Google
|
|
332
335
|
|
333
336
|
# The request for
|
334
337
|
# ReservationService.MoveAssignment.
|
335
|
-
# Note
|
336
|
-
# destination_id.
|
337
|
-
# "bigquery.reservationAssignments.
|
338
|
+
# **Note**: "bigquery.reservationAssignments.create" permission is required on
|
339
|
+
# the destination_id.
|
340
|
+
# **Note**: "bigquery.reservationAssignments.create" and
|
341
|
+
# "bigquery.reservationAssignments.delete" permission are required on the
|
338
342
|
# related assignee.
|
339
343
|
class MoveAssignmentRequest
|
340
344
|
include Google::Apis::Core::Hashable
|
341
345
|
|
342
346
|
# The new reservation ID, e.g.:
|
343
|
-
# projects/myotherproject/locations/US/reservations/team2-prod
|
347
|
+
# `projects/myotherproject/locations/US/reservations/team2-prod`
|
344
348
|
# Corresponds to the JSON property `destinationId`
|
345
349
|
# @return [String]
|
346
350
|
attr_accessor :destination_id
|
@@ -432,7 +436,7 @@ module Google
|
|
432
436
|
alias_method :ignore_idle_slots?, :ignore_idle_slots
|
433
437
|
|
434
438
|
# The resource name of the reservation, e.g.,
|
435
|
-
#
|
439
|
+
# `projects/*/locations/*/reservations/team1-prod`.
|
436
440
|
# Corresponds to the JSON property `name`
|
437
441
|
# @return [String]
|
438
442
|
attr_accessor :name
|
@@ -513,8 +517,9 @@ module Google
|
|
513
517
|
# Capacity commitment is a way to purchase compute capacity for BigQuery jobs
|
514
518
|
# (in the form of slots) with some committed period of usage. Annual
|
515
519
|
# commitments renew by default. Commitments can be removed after their
|
516
|
-
# commitment end time passes.
|
517
|
-
#
|
520
|
+
# commitment end time passes.
|
521
|
+
# In order to remove annual commitment, its plan needs to be changed
|
522
|
+
# to monthly or flex first.
|
518
523
|
# A capacity commitment resource exists as a child resource of the admin
|
519
524
|
# project.
|
520
525
|
# Corresponds to the JSON property `first`
|
@@ -524,8 +529,9 @@ module Google
|
|
524
529
|
# Capacity commitment is a way to purchase compute capacity for BigQuery jobs
|
525
530
|
# (in the form of slots) with some committed period of usage. Annual
|
526
531
|
# commitments renew by default. Commitments can be removed after their
|
527
|
-
# commitment end time passes.
|
528
|
-
#
|
532
|
+
# commitment end time passes.
|
533
|
+
# In order to remove annual commitment, its plan needs to be changed
|
534
|
+
# to monthly or flex first.
|
529
535
|
# A capacity commitment resource exists as a child resource of the admin
|
530
536
|
# project.
|
531
537
|
# Corresponds to the JSON property `second`
|
@@ -160,34 +160,36 @@ module Google
|
|
160
160
|
|
161
161
|
# Looks up assignments for a specified resource for a particular region.
|
162
162
|
# If the request is about a project:
|
163
|
-
# 1
|
164
|
-
# 2
|
165
|
-
# returned.
|
166
|
-
#
|
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.
|
166
|
+
# 3. Assignments for different JobTypes will all be returned.
|
167
|
+
# The same logic applies if the request is about a folder.
|
167
168
|
# If the request is about an organization, then assignments created on the
|
168
169
|
# organization will be returned (organization doesn't have ancestors).
|
169
170
|
# Comparing to ListAssignments, there are some behavior
|
170
171
|
# differences:
|
171
|
-
# 1
|
172
|
-
# 2
|
173
|
-
# 3
|
174
|
-
# projects/*/locations/*reservations
|
175
|
-
# Note "-" cannot be used for projects
|
172
|
+
# 1. permission on the assignee will be verified in this API.
|
173
|
+
# 2. Hierarchy lookup (project->folder->organization) happens in this API.
|
174
|
+
# 3. Parent here is `projects/*/locations/*`, instead of
|
175
|
+
# `projects/*/locations/*reservations/*`.
|
176
|
+
# **Note** "-" cannot be used for projects
|
176
177
|
# nor locations.
|
177
178
|
# @param [String] parent
|
178
179
|
# Required. The resource name of the admin project(containing project and
|
179
180
|
# location),
|
180
181
|
# e.g.:
|
181
|
-
#
|
182
|
+
# `projects/myproject/locations/US`.
|
182
183
|
# @param [Fixnum] page_size
|
183
|
-
# The maximum number of items to return.
|
184
|
+
# The maximum number of items to return per page.
|
184
185
|
# @param [String] page_token
|
185
186
|
# The next_page_token value returned from a previous List request, if any.
|
186
187
|
# @param [String] query
|
187
188
|
# Please specify resource name as assignee in the query.
|
188
|
-
#
|
189
|
-
#
|
190
|
-
#
|
189
|
+
# Examples:
|
190
|
+
# * `assignee=projects/myproject`
|
191
|
+
# * `assignee=folders/123`
|
192
|
+
# * `assignee=organizations/456`
|
191
193
|
# @param [String] fields
|
192
194
|
# Selector specifying which fields to include in a partial response.
|
193
195
|
# @param [String] quota_user
|
@@ -219,8 +221,8 @@ module Google
|
|
219
221
|
end
|
220
222
|
|
221
223
|
# Updates a BI reservation.
|
222
|
-
# Only fields specified in the field_mask are updated.
|
223
|
-
#
|
224
|
+
# Only fields specified in the `field_mask` are updated.
|
225
|
+
# A singleton BI reservation always exists with default size 0.
|
224
226
|
# In order to reserve BI capacity it needs to be updated to an amount
|
225
227
|
# greater than 0. In order to release BI capacity reservation size
|
226
228
|
# must be set to 0.
|
@@ -264,7 +266,7 @@ module Google
|
|
264
266
|
# Creates a new capacity commitment resource.
|
265
267
|
# @param [String] parent
|
266
268
|
# Required. Resource name of the parent reservation. E.g.,
|
267
|
-
# projects/myproject/locations/US
|
269
|
+
# `projects/myproject/locations/US`
|
268
270
|
# @param [Google::Apis::BigqueryreservationV1::CapacityCommitment] capacity_commitment_object
|
269
271
|
# @param [Boolean] enforce_single_admin_project_per_org
|
270
272
|
# If true, fail the request if another project in the organization has a
|
@@ -304,7 +306,7 @@ module Google
|
|
304
306
|
# `google.rpc.Code.FAILED_PRECONDITION`.
|
305
307
|
# @param [String] name
|
306
308
|
# Required. Resource name of the capacity commitment to delete. E.g.,
|
307
|
-
# projects/myproject/locations/US/capacityCommitments/123
|
309
|
+
# `projects/myproject/locations/US/capacityCommitments/123`
|
308
310
|
# @param [String] fields
|
309
311
|
# Selector specifying which fields to include in a partial response.
|
310
312
|
# @param [String] quota_user
|
@@ -335,7 +337,7 @@ module Google
|
|
335
337
|
# Returns information about the capacity commitment.
|
336
338
|
# @param [String] name
|
337
339
|
# Required. Resource name of the capacity commitment to retrieve. E.g.,
|
338
|
-
# projects/myproject/locations/US/capacityCommitments/123
|
340
|
+
# `projects/myproject/locations/US/capacityCommitments/123`
|
339
341
|
# @param [String] fields
|
340
342
|
# Selector specifying which fields to include in a partial response.
|
341
343
|
# @param [String] quota_user
|
@@ -366,7 +368,7 @@ module Google
|
|
366
368
|
# Lists all the capacity commitments for the admin project.
|
367
369
|
# @param [String] parent
|
368
370
|
# Required. Resource name of the parent reservation. E.g.,
|
369
|
-
# projects/myproject/locations/US
|
371
|
+
# `projects/myproject/locations/US`
|
370
372
|
# @param [Fixnum] page_size
|
371
373
|
# The maximum number of items to return.
|
372
374
|
# @param [String] page_token
|
@@ -400,13 +402,14 @@ module Google
|
|
400
402
|
execute_or_queue_command(command, &block)
|
401
403
|
end
|
402
404
|
|
403
|
-
# Merges capacity commitments of the same plan into
|
404
|
-
# commitment has the
|
405
|
-
#
|
406
|
-
#
|
405
|
+
# Merges capacity commitments of the same plan into a single commitment.
|
406
|
+
# The resulting capacity commitment has the greater commitment_end_time
|
407
|
+
# out of the to-be-merged capacity commitments.
|
408
|
+
# Attempting to merge capacity commitments of different plan will fail
|
409
|
+
# with the error code `google.rpc.Code.FAILED_PRECONDITION`.
|
407
410
|
# @param [String] parent
|
408
411
|
# Parent resource that identifies admin project and location e.g.,
|
409
|
-
# projects/myproject/locations/us
|
412
|
+
# `projects/myproject/locations/us`
|
410
413
|
# @param [Google::Apis::BigqueryreservationV1::MergeCapacityCommitmentsRequest] merge_capacity_commitments_request_object
|
411
414
|
# @param [String] fields
|
412
415
|
# Selector specifying which fields to include in a partial response.
|
@@ -438,13 +441,13 @@ module Google
|
|
438
441
|
end
|
439
442
|
|
440
443
|
# Updates an existing capacity commitment.
|
441
|
-
# Only plan and renewal_plan fields can be updated.
|
444
|
+
# Only `plan` and `renewal_plan` fields can be updated.
|
442
445
|
# Plan can only be changed to a plan of a longer commitment period.
|
443
446
|
# Attempting to change to a plan with shorter commitment period will fail
|
444
447
|
# with the error code `google.rpc.Code.FAILED_PRECONDITION`.
|
445
448
|
# @param [String] name
|
446
449
|
# Output only. The resource name of the capacity commitment, e.g.,
|
447
|
-
# projects/myproject/locations/US/capacityCommitments/123
|
450
|
+
# `projects/myproject/locations/US/capacityCommitments/123`
|
448
451
|
# @param [Google::Apis::BigqueryreservationV1::CapacityCommitment] capacity_commitment_object
|
449
452
|
# @param [String] update_mask
|
450
453
|
# Standard field mask for the set of fields to be updated.
|
@@ -479,13 +482,14 @@ module Google
|
|
479
482
|
end
|
480
483
|
|
481
484
|
# Splits capacity commitment to two commitments of the same plan and
|
482
|
-
# commitment_end_time
|
483
|
-
#
|
484
|
-
#
|
485
|
-
#
|
485
|
+
# `commitment_end_time`.
|
486
|
+
# A common use case is to enable downgrading commitments.
|
487
|
+
# For example, in order to downgrade from 10000 slots to 8000, you might
|
488
|
+
# split a 10000 capacity commitment into commitments of 2000 and 8000. Then,
|
489
|
+
# you would change the plan of the first one to `FLEX` and then delete it.
|
486
490
|
# @param [String] name
|
487
491
|
# Required. The resource name e.g.,:
|
488
|
-
# projects/myproject/locations/US/capacityCommitments/123
|
492
|
+
# `projects/myproject/locations/US/capacityCommitments/123`
|
489
493
|
# @param [Google::Apis::BigqueryreservationV1::SplitCapacityCommitmentRequest] split_capacity_commitment_request_object
|
490
494
|
# @param [String] fields
|
491
495
|
# Selector specifying which fields to include in a partial response.
|
@@ -519,7 +523,7 @@ module Google
|
|
519
523
|
# Creates a new reservation resource.
|
520
524
|
# @param [String] parent
|
521
525
|
# Required. Project, location. E.g.,
|
522
|
-
# projects/myproject/locations/US
|
526
|
+
# `projects/myproject/locations/US`
|
523
527
|
# @param [Google::Apis::BigqueryreservationV1::Reservation] reservation_object
|
524
528
|
# @param [String] reservation_id
|
525
529
|
# The reservation ID. This field must only contain lower case alphanumeric
|
@@ -559,7 +563,7 @@ module Google
|
|
559
563
|
# assignments.
|
560
564
|
# @param [String] name
|
561
565
|
# Required. Resource name of the reservation to retrieve. E.g.,
|
562
|
-
# projects/myproject/locations/US/reservations/team1-prod
|
566
|
+
# `projects/myproject/locations/US/reservations/team1-prod`
|
563
567
|
# @param [String] fields
|
564
568
|
# Selector specifying which fields to include in a partial response.
|
565
569
|
# @param [String] quota_user
|
@@ -590,7 +594,7 @@ module Google
|
|
590
594
|
# Returns information about the reservation.
|
591
595
|
# @param [String] name
|
592
596
|
# Required. Resource name of the reservation to retrieve. E.g.,
|
593
|
-
# projects/myproject/locations/US/reservations/team1-prod
|
597
|
+
# `projects/myproject/locations/US/reservations/team1-prod`
|
594
598
|
# @param [String] fields
|
595
599
|
# Selector specifying which fields to include in a partial response.
|
596
600
|
# @param [String] quota_user
|
@@ -621,9 +625,9 @@ module Google
|
|
621
625
|
# Lists all the reservations for the project in the specified location.
|
622
626
|
# @param [String] parent
|
623
627
|
# Required. The parent resource name containing project and location, e.g.:
|
624
|
-
#
|
628
|
+
# `projects/myproject/locations/US`
|
625
629
|
# @param [Fixnum] page_size
|
626
|
-
# The maximum number of items to return.
|
630
|
+
# The maximum number of items to return per page.
|
627
631
|
# @param [String] page_token
|
628
632
|
# The next_page_token value returned from a previous List request, if any.
|
629
633
|
# @param [String] fields
|
@@ -658,7 +662,7 @@ module Google
|
|
658
662
|
# Updates an existing reservation resource.
|
659
663
|
# @param [String] name
|
660
664
|
# The resource name of the reservation, e.g.,
|
661
|
-
#
|
665
|
+
# `projects/*/locations/*/reservations/team1-prod`.
|
662
666
|
# @param [Google::Apis::BigqueryreservationV1::Reservation] reservation_object
|
663
667
|
# @param [String] update_mask
|
664
668
|
# Standard field mask for the set of fields to be updated.
|
@@ -692,18 +696,24 @@ module Google
|
|
692
696
|
execute_or_queue_command(command, &block)
|
693
697
|
end
|
694
698
|
|
695
|
-
# Creates an object which allows the given project to submit jobs
|
696
|
-
# of a certain type using slots from the specified reservation.
|
699
|
+
# Creates an assignment object which allows the given project to submit jobs
|
700
|
+
# of a certain type using slots from the specified reservation.
|
701
|
+
# Currently a
|
697
702
|
# resource (project, folder, organization) can only have one assignment per
|
698
|
-
#
|
699
|
-
#
|
700
|
-
#
|
703
|
+
# each (job_type, location) combination, and that reservation will be used
|
704
|
+
# for all jobs of the matching type.
|
705
|
+
# Different assignments can be created on different levels of the
|
706
|
+
# projects, folders or organization hierarchy. During query execution,
|
701
707
|
# 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.
|
703
|
-
# creating assignments, it does not matter if other assignments exist at
|
704
|
-
# higher levels.
|
705
|
-
#
|
706
|
-
#
|
708
|
+
# in that order. The first assignment found is applied to the query.
|
709
|
+
# When creating assignments, it does not matter if other assignments exist at
|
710
|
+
# higher levels.
|
711
|
+
# Example:
|
712
|
+
# * The organization `organizationA` contains two projects, `project1`
|
713
|
+
# and `project2`.
|
714
|
+
# * Assignments for all three entities (`organizationA`, `project1`, and
|
715
|
+
# `project2`) could all be created and mapped to the same or different
|
716
|
+
# reservations.
|
707
717
|
# Returns `google.rpc.Code.PERMISSION_DENIED` if user does not have
|
708
718
|
# 'bigquery.admin' permissions on the project using the reservation
|
709
719
|
# and the project that owns this reservation.
|
@@ -711,7 +721,7 @@ module Google
|
|
711
721
|
# does not match location of the reservation.
|
712
722
|
# @param [String] parent
|
713
723
|
# Required. The parent resource name of the assignment
|
714
|
-
# E.g
|
724
|
+
# E.g. `projects/myproject/locations/US/reservations/team1-prod`
|
715
725
|
# @param [Google::Apis::BigqueryreservationV1::Assignment] assignment_object
|
716
726
|
# @param [String] fields
|
717
727
|
# Selector specifying which fields to include in a partial response.
|
@@ -743,18 +753,20 @@ module Google
|
|
743
753
|
end
|
744
754
|
|
745
755
|
# Deletes a assignment. No expansion will happen.
|
746
|
-
#
|
747
|
-
# organizationA contains project1 and
|
748
|
-
#
|
749
|
-
# created
|
750
|
-
#
|
751
|
-
#
|
752
|
-
#
|
753
|
-
# deletion of
|
754
|
-
#
|
756
|
+
# Example:
|
757
|
+
# * Organization `organizationA` contains two projects, `project1` and
|
758
|
+
# `project2`.
|
759
|
+
# * Reservation `res1` exists and was created previously.
|
760
|
+
# * CreateAssignment was used previously to define the following
|
761
|
+
# associations between entities and reservations: `<organizationA, res1>`
|
762
|
+
# and `<project1, res1>`
|
763
|
+
# In this example, deletion of the `<organizationA, res1>` assignment won't
|
764
|
+
# affect the other assignment `<project1, res1>`. After said deletion,
|
765
|
+
# queries from `project1` will still use `res1` while queries from
|
766
|
+
# `project2` will switch to use on-demand mode.
|
755
767
|
# @param [String] name
|
756
|
-
# Required. Name of the resource, e.g
|
757
|
-
# projects/myproject/locations/US/reservations/team1-prod/assignments/123
|
768
|
+
# Required. Name of the resource, e.g.
|
769
|
+
# `projects/myproject/locations/US/reservations/team1-prod/assignments/123`
|
758
770
|
# @param [String] fields
|
759
771
|
# Selector specifying which fields to include in a partial response.
|
760
772
|
# @param [String] quota_user
|
@@ -783,24 +795,27 @@ module Google
|
|
783
795
|
end
|
784
796
|
|
785
797
|
# Lists assignments.
|
786
|
-
# Only explicitly created assignments will be returned.
|
787
|
-
#
|
788
|
-
#
|
789
|
-
#
|
790
|
-
#
|
791
|
-
#
|
792
|
-
#
|
793
|
-
#
|
798
|
+
# Only explicitly created assignments will be returned.
|
799
|
+
# Example:
|
800
|
+
# * Organization `organizationA` contains two projects, `project1` and
|
801
|
+
# `project2`.
|
802
|
+
# * Reservation `res1` exists and was created previously.
|
803
|
+
# * CreateAssignment was used previously to define the following
|
804
|
+
# associations between entities and reservations: `<organizationA, res1>`
|
805
|
+
# and `<project1, res1>`
|
806
|
+
# In this example, ListAssignments will just return the above two assignments
|
807
|
+
# for reservation `res1`, and no expansion/merge will happen.
|
808
|
+
# The wildcard "-" can be used for
|
794
809
|
# reservations in the request. In that case all assignments belongs to the
|
795
|
-
# specified project and location will be listed.
|
796
|
-
# "-" cannot be used for projects nor locations.
|
810
|
+
# specified project and location will be listed.
|
811
|
+
# **Note** "-" cannot be used for projects nor locations.
|
797
812
|
# @param [String] parent
|
798
813
|
# Required. The parent resource name e.g.:
|
799
|
-
# projects/myproject/locations/US/reservations/team1-prod
|
814
|
+
# `projects/myproject/locations/US/reservations/team1-prod`
|
800
815
|
# Or:
|
801
|
-
# projects/myproject/locations/US/reservations
|
816
|
+
# `projects/myproject/locations/US/reservations/-`
|
802
817
|
# @param [Fixnum] page_size
|
803
|
-
# The maximum number of items to return.
|
818
|
+
# The maximum number of items to return per page.
|
804
819
|
# @param [String] page_token
|
805
820
|
# The next_page_token value returned from a previous List request, if any.
|
806
821
|
# @param [String] fields
|
@@ -832,16 +847,14 @@ module Google
|
|
832
847
|
execute_or_queue_command(command, &block)
|
833
848
|
end
|
834
849
|
|
835
|
-
# Moves
|
836
|
-
#
|
837
|
-
#
|
838
|
-
#
|
839
|
-
# Without the method customers might see some queries run on-demand which
|
840
|
-
# might be unexpected.
|
850
|
+
# Moves an assignment under a new reservation.
|
851
|
+
# This differs from removing an existing assignment and recreating a new one
|
852
|
+
# by providing a transactional change that ensures an assignee always has an
|
853
|
+
# associated reservation.
|
841
854
|
# @param [String] name
|
842
855
|
# Required. The resource name of the assignment,
|
843
|
-
# e.g
|
844
|
-
# projects/myproject/locations/US/reservations/team1-prod/assignments/123
|
856
|
+
# e.g.
|
857
|
+
# `projects/myproject/locations/US/reservations/team1-prod/assignments/123`
|
845
858
|
# @param [Google::Apis::BigqueryreservationV1::MoveAssignmentRequest] move_assignment_request_object
|
846
859
|
# @param [String] fields
|
847
860
|
# Selector specifying which fields to include in a partial response.
|