google-api-client 0.43.0 → 0.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.github/workflows/release-please.yml +77 -0
- data/.gitignore +2 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +1066 -184
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/api_list_config.yaml +8 -0
- data/api_names.yaml +1 -0
- data/bin/generate-api +77 -15
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +60 -86
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +266 -236
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +308 -171
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +47 -36
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +72 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_directory_v1/classes.rb +344 -242
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -39
- data/generated/google/apis/admin_directory_v1/service.rb +607 -998
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admob_v1/classes.rb +31 -31
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/admob_v1.rb +6 -2
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1655 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +806 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +261 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +115 -75
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigateway_v1beta.rb +34 -0
- data/generated/google/apis/apigee_v1/classes.rb +630 -88
- data/generated/google/apis/apigee_v1/representations.rb +209 -1
- data/generated/google/apis/apigee_v1/service.rb +401 -74
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/appengine_v1/classes.rb +96 -59
- data/generated/google/apis/appengine_v1/representations.rb +17 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -47
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
- data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -47
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +249 -337
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
- data/generated/google/apis/bigquery_v2/classes.rb +593 -576
- data/generated/google/apis/bigquery_v2/representations.rb +85 -0
- data/generated/google/apis/bigquery_v2/service.rb +79 -41
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
- data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
- data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +27 -6
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +2 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +434 -355
- data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +434 -355
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +54 -54
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +13 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +173 -116
- data/generated/google/apis/chat_v1/representations.rb +36 -0
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -32
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -3
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +153 -21
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +1461 -1039
- data/generated/google/apis/cloudasset_v1/representations.rb +320 -0
- data/generated/google/apis/cloudasset_v1/service.rb +296 -167
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +285 -446
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +339 -344
- data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +277 -67
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +989 -107
- data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +883 -88
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1236 -307
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +921 -96
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +651 -781
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudshell_v1/classes.rb +256 -105
- data/generated/google/apis/cloudshell_v1/representations.rb +143 -10
- data/generated/google/apis/cloudshell_v1/service.rb +198 -25
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +189 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +94 -179
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1227 -186
- data/generated/google/apis/compute_alpha/representations.rb +235 -8
- data/generated/google/apis/compute_alpha/service.rb +2009 -1024
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1080 -108
- data/generated/google/apis/compute_beta/representations.rb +212 -2
- data/generated/google/apis/compute_beta/service.rb +1413 -741
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1512 -106
- data/generated/google/apis/compute_v1/representations.rb +470 -1
- data/generated/google/apis/compute_v1/service.rb +1625 -285
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +982 -965
- data/generated/google/apis/container_v1/representations.rb +60 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1106 -1044
- data/generated/google/apis/container_v1beta1/representations.rb +91 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +515 -1219
- data/generated/google/apis/content_v2/service.rb +377 -650
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1108 -1058
- data/generated/google/apis/content_v2_1/representations.rb +288 -0
- data/generated/google/apis/content_v2_1/service.rb +987 -795
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +413 -573
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +6 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1174 -973
- data/generated/google/apis/dataflow_v1b3/representations.rb +148 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1/service.rb +76 -89
- data/generated/google/apis/datafusion_v1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/dataproc_v1/classes.rb +97 -13
- data/generated/google/apis/dataproc_v1/representations.rb +34 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +117 -9
- data/generated/google/apis/dataproc_v1beta2/representations.rb +49 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +334 -476
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +259 -375
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
- data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dialogflow_v2/classes.rb +746 -217
- data/generated/google/apis/dialogflow_v2/representations.rb +318 -67
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +764 -233
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +318 -67
- data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -331
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8816 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3725 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2825 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +271 -38
- data/generated/google/apis/displayvideo_v1/representations.rb +83 -0
- data/generated/google/apis/displayvideo_v1/service.rb +287 -32
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
- data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1dev.rb +38 -0
- data/generated/google/apis/dlp_v2/classes.rb +1111 -1310
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +356 -198
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +83 -98
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +362 -206
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2/service.rb +83 -98
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
- data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → documentai_v1beta3.rb} +11 -10
- data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +13 -20
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +18 -7
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +79 -15
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +18 -8
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/{memcache_v1 → eventarc_v1beta1}/service.rb +236 -215
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/file_v1/classes.rb +155 -174
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +335 -194
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +21 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +188 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +406 -502
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +338 -413
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +982 -0
- data/generated/google/apis/fitness_v1/representations.rb +398 -0
- data/generated/google/apis/fitness_v1/service.rb +628 -0
- data/generated/google/apis/fitness_v1.rb +97 -0
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +35 -36
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +376 -83
- data/generated/google/apis/games_v1/representations.rb +118 -0
- data/generated/google/apis/games_v1/service.rb +118 -90
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/gameservices_v1/classes.rb +22 -14
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +22 -14
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +356 -275
- data/generated/google/apis/genomics_v2alpha1/representations.rb +48 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +37 -43
- data/generated/google/apis/gmail_v1/service.rb +5 -4
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +11 -11
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- data/generated/google/apis/healthcare_v1/classes.rb +637 -826
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +842 -855
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1937 -1299
- data/generated/google/apis/healthcare_v1beta1/representations.rb +534 -65
- data/generated/google/apis/healthcare_v1beta1/service.rb +2534 -1293
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/homegraph_v1.rb +4 -1
- data/generated/google/apis/iam_v1/classes.rb +395 -592
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1/service.rb +427 -555
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +14 -13
- data/generated/google/apis/iamcredentials_v1.rb +3 -2
- data/generated/google/apis/iap_v1/classes.rb +253 -355
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
- data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1559 -980
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +56 -86
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/lifesciences_v2beta/classes.rb +366 -290
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +426 -0
- data/generated/google/apis/localservices_v1/representations.rb +174 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/{appsactivity_v1.rb → localservices_v1.rb} +8 -11
- data/generated/google/apis/logging_v2/classes.rb +306 -232
- data/generated/google/apis/logging_v2/representations.rb +79 -0
- data/generated/google/apis/logging_v2/service.rb +3307 -1579
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -1
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -1
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +171 -250
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
- data/generated/google/apis/memcache_v1beta2/service.rb +60 -73
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1122 -1149
- data/generated/google/apis/ml_v1/representations.rb +82 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +107 -26
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +303 -345
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +176 -146
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +154 -902
- data/generated/google/apis/osconfig_v1/representations.rb +0 -337
- data/generated/google/apis/osconfig_v1/service.rb +26 -31
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
- data/generated/google/apis/osconfig_v1beta/service.rb +43 -56
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/people_v1/classes.rb +173 -63
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +63 -61
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +114 -161
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
- data/generated/google/apis/privateca_v1beta1.rb +34 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +644 -56
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +399 -518
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +221 -247
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
- data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
- data/generated/google/apis/pubsublite_v1/service.rb +558 -0
- data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
- data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +367 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +91 -513
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1/service.rb +92 -109
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +123 -517
- data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
- data/generated/google/apis/redis_v1beta1/service.rb +126 -109
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +957 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +952 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1105 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +19 -138
- data/generated/google/apis/run_v1/representations.rb +1 -62
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +3 -2
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +301 -412
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +644 -56
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +378 -365
- data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +217 -363
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +35 -123
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +24 -112
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +601 -642
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +343 -325
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1244 -2174
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
- data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +278 -121
- data/generated/google/apis/servicenetworking_v1/representations.rb +115 -15
- data/generated/google/apis/servicenetworking_v1/service.rb +118 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +213 -112
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +84 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +57 -111
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -18
- data/generated/google/apis/serviceusage_v1/service.rb +5 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +122 -112
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +23 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4029 -5014
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +537 -452
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +142 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/storage_v1/classes.rb +10 -17
- data/generated/google/apis/storage_v1/representations.rb +2 -3
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +301 -349
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +53 -72
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +110 -152
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +121 -0
- data/generated/google/apis/sts_v1/representations.rb +59 -0
- data/generated/google/apis/sts_v1/service.rb +90 -0
- data/generated/google/apis/sts_v1.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +191 -0
- data/generated/google/apis/sts_v1beta/representations.rb +61 -0
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- data/generated/google/apis/sts_v1beta.rb +32 -0
- data/generated/google/apis/tagmanager_v1/service.rb +2 -2
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/tagmanager_v2/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +21 -22
- data/generated/google/apis/tasks_v1/service.rb +19 -19
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +384 -390
- data/generated/google/apis/testing_v1/representations.rb +23 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
- data/generated/google/apis/texttospeech_v1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +20 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +57 -3
- data/generated/google/apis/tpu_v1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -3
- data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/trafficdirector_v2.rb +34 -0
- data/generated/google/apis/translate_v3/classes.rb +151 -177
- data/generated/google/apis/translate_v3/service.rb +122 -151
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +150 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -151
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +413 -103
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +182 -37
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1493 -935
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1/service.rb +38 -77
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1488 -928
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1482 -922
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1485 -925
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1410 -937
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +2 -4
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
- data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
- data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
- data/generated/google/apis/workflows_v1beta/service.rb +438 -0
- data/generated/google/apis/workflows_v1beta.rb +35 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -586
- data/generated/google/apis/youtube_v3/representations.rb +0 -269
- data/generated/google/apis/youtube_v3/service.rb +3 -120
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/google-api-client.gemspec +25 -24
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +134 -41
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +0 -203
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -928
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/memcache_v1/classes.rb +0 -1157
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
- data/generated/google/apis/plus_v1.rb +0 -43
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
- data/generated/google/apis/storage_v1beta2.rb +0 -40
@@ -19,16 +19,16 @@ require 'google/apis/errors'
|
|
19
19
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
|
-
module
|
22
|
+
module SqladminV1beta4
|
23
23
|
# Cloud SQL Admin API
|
24
24
|
#
|
25
25
|
# API for Cloud SQL database instance management
|
26
26
|
#
|
27
27
|
# @example
|
28
|
-
# require 'google/apis/
|
28
|
+
# require 'google/apis/sqladmin_v1beta4'
|
29
29
|
#
|
30
|
-
#
|
31
|
-
# service =
|
30
|
+
# Sqladmin = Google::Apis::SqladminV1beta4 # Alias the module
|
31
|
+
# service = Sqladmin::SQLAdminService.new
|
32
32
|
#
|
33
33
|
# @see https://developers.google.com/cloud-sql/
|
34
34
|
class SQLAdminService < Google::Apis::Core::BaseService
|
@@ -43,8 +43,8 @@ module Google
|
|
43
43
|
attr_accessor :quota_user
|
44
44
|
|
45
45
|
def initialize
|
46
|
-
super('https://
|
47
|
-
@batch_path = 'batch
|
46
|
+
super('https://sqladmin.googleapis.com/', '')
|
47
|
+
@batch_path = 'batch'
|
48
48
|
end
|
49
49
|
|
50
50
|
# Deletes the backup taken by a backup run.
|
@@ -53,8 +53,7 @@ module Google
|
|
53
53
|
# @param [String] instance
|
54
54
|
# Cloud SQL instance ID. This does not include the project ID.
|
55
55
|
# @param [Fixnum] id
|
56
|
-
# The ID of the Backup Run to delete. To find a Backup Run ID, use the
|
57
|
-
# href="/sql/docs/db_path/admin-api/rest/v1beta4/backupRuns/list">list</a>
|
56
|
+
# The ID of the Backup Run to delete. To find a Backup Run ID, use the list
|
58
57
|
# method.
|
59
58
|
# @param [String] fields
|
60
59
|
# Selector specifying which fields to include in a partial response.
|
@@ -65,18 +64,18 @@ module Google
|
|
65
64
|
# Request-specific options
|
66
65
|
#
|
67
66
|
# @yield [result, err] Result & error if block supplied
|
68
|
-
# @yieldparam result [Google::Apis::
|
67
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
69
68
|
# @yieldparam err [StandardError] error object if request failed
|
70
69
|
#
|
71
|
-
# @return [Google::Apis::
|
70
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
72
71
|
#
|
73
72
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
74
73
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
75
74
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
76
75
|
def delete_backup_run(project, instance, id, fields: nil, quota_user: nil, options: nil, &block)
|
77
76
|
command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}', options)
|
78
|
-
command.response_representation = Google::Apis::
|
79
|
-
command.response_class = Google::Apis::
|
77
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
78
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
80
79
|
command.params['project'] = project unless project.nil?
|
81
80
|
command.params['instance'] = instance unless instance.nil?
|
82
81
|
command.params['id'] = id unless id.nil?
|
@@ -101,18 +100,18 @@ module Google
|
|
101
100
|
# Request-specific options
|
102
101
|
#
|
103
102
|
# @yield [result, err] Result & error if block supplied
|
104
|
-
# @yieldparam result [Google::Apis::
|
103
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::BackupRun] parsed result object
|
105
104
|
# @yieldparam err [StandardError] error object if request failed
|
106
105
|
#
|
107
|
-
# @return [Google::Apis::
|
106
|
+
# @return [Google::Apis::SqladminV1beta4::BackupRun]
|
108
107
|
#
|
109
108
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
110
109
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
111
110
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
112
111
|
def get_backup_run(project, instance, id, fields: nil, quota_user: nil, options: nil, &block)
|
113
112
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}', options)
|
114
|
-
command.response_representation = Google::Apis::
|
115
|
-
command.response_class = Google::Apis::
|
113
|
+
command.response_representation = Google::Apis::SqladminV1beta4::BackupRun::Representation
|
114
|
+
command.response_class = Google::Apis::SqladminV1beta4::BackupRun
|
116
115
|
command.params['project'] = project unless project.nil?
|
117
116
|
command.params['instance'] = instance unless instance.nil?
|
118
117
|
command.params['id'] = id unless id.nil?
|
@@ -121,13 +120,13 @@ module Google
|
|
121
120
|
execute_or_queue_command(command, &block)
|
122
121
|
end
|
123
122
|
|
124
|
-
# Creates a new backup run on demand. This method is applicable only to
|
125
|
-
#
|
123
|
+
# Creates a new backup run on demand. This method is applicable only to Second
|
124
|
+
# Generation instances.
|
126
125
|
# @param [String] project
|
127
126
|
# Project ID of the project that contains the instance.
|
128
127
|
# @param [String] instance
|
129
128
|
# Cloud SQL instance ID. This does not include the project ID.
|
130
|
-
# @param [Google::Apis::
|
129
|
+
# @param [Google::Apis::SqladminV1beta4::BackupRun] backup_run_object
|
131
130
|
# @param [String] fields
|
132
131
|
# Selector specifying which fields to include in a partial response.
|
133
132
|
# @param [String] quota_user
|
@@ -137,20 +136,20 @@ module Google
|
|
137
136
|
# Request-specific options
|
138
137
|
#
|
139
138
|
# @yield [result, err] Result & error if block supplied
|
140
|
-
# @yieldparam result [Google::Apis::
|
139
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
141
140
|
# @yieldparam err [StandardError] error object if request failed
|
142
141
|
#
|
143
|
-
# @return [Google::Apis::
|
142
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
144
143
|
#
|
145
144
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
146
145
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
147
146
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
148
147
|
def insert_backup_run(project, instance, backup_run_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
149
148
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/backupRuns', options)
|
150
|
-
command.request_representation = Google::Apis::
|
149
|
+
command.request_representation = Google::Apis::SqladminV1beta4::BackupRun::Representation
|
151
150
|
command.request_object = backup_run_object
|
152
|
-
command.response_representation = Google::Apis::
|
153
|
-
command.response_class = Google::Apis::
|
151
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
152
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
154
153
|
command.params['project'] = project unless project.nil?
|
155
154
|
command.params['instance'] = instance unless instance.nil?
|
156
155
|
command.query['fields'] = fields unless fields.nil?
|
@@ -178,18 +177,18 @@ module Google
|
|
178
177
|
# Request-specific options
|
179
178
|
#
|
180
179
|
# @yield [result, err] Result & error if block supplied
|
181
|
-
# @yieldparam result [Google::Apis::
|
180
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::ListBackupRunsResponse] parsed result object
|
182
181
|
# @yieldparam err [StandardError] error object if request failed
|
183
182
|
#
|
184
|
-
# @return [Google::Apis::
|
183
|
+
# @return [Google::Apis::SqladminV1beta4::ListBackupRunsResponse]
|
185
184
|
#
|
186
185
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
187
186
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
188
187
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
189
188
|
def list_backup_runs(project, instance, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
190
189
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/backupRuns', options)
|
191
|
-
command.response_representation = Google::Apis::
|
192
|
-
command.response_class = Google::Apis::
|
190
|
+
command.response_representation = Google::Apis::SqladminV1beta4::ListBackupRunsResponse::Representation
|
191
|
+
command.response_class = Google::Apis::SqladminV1beta4::ListBackupRunsResponse
|
193
192
|
command.params['project'] = project unless project.nil?
|
194
193
|
command.params['instance'] = instance unless instance.nil?
|
195
194
|
command.query['maxResults'] = max_results unless max_results.nil?
|
@@ -215,18 +214,18 @@ module Google
|
|
215
214
|
# Request-specific options
|
216
215
|
#
|
217
216
|
# @yield [result, err] Result & error if block supplied
|
218
|
-
# @yieldparam result [Google::Apis::
|
217
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
219
218
|
# @yieldparam err [StandardError] error object if request failed
|
220
219
|
#
|
221
|
-
# @return [Google::Apis::
|
220
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
222
221
|
#
|
223
222
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
224
223
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
225
224
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
226
225
|
def delete_database(project, instance, database, fields: nil, quota_user: nil, options: nil, &block)
|
227
226
|
command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}', options)
|
228
|
-
command.response_representation = Google::Apis::
|
229
|
-
command.response_class = Google::Apis::
|
227
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
228
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
230
229
|
command.params['project'] = project unless project.nil?
|
231
230
|
command.params['instance'] = instance unless instance.nil?
|
232
231
|
command.params['database'] = database unless database.nil?
|
@@ -252,18 +251,18 @@ module Google
|
|
252
251
|
# Request-specific options
|
253
252
|
#
|
254
253
|
# @yield [result, err] Result & error if block supplied
|
255
|
-
# @yieldparam result [Google::Apis::
|
254
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Database] parsed result object
|
256
255
|
# @yieldparam err [StandardError] error object if request failed
|
257
256
|
#
|
258
|
-
# @return [Google::Apis::
|
257
|
+
# @return [Google::Apis::SqladminV1beta4::Database]
|
259
258
|
#
|
260
259
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
261
260
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
262
261
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
263
262
|
def get_database(project, instance, database, fields: nil, quota_user: nil, options: nil, &block)
|
264
263
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}', options)
|
265
|
-
command.response_representation = Google::Apis::
|
266
|
-
command.response_class = Google::Apis::
|
264
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Database::Representation
|
265
|
+
command.response_class = Google::Apis::SqladminV1beta4::Database
|
267
266
|
command.params['project'] = project unless project.nil?
|
268
267
|
command.params['instance'] = instance unless instance.nil?
|
269
268
|
command.params['database'] = database unless database.nil?
|
@@ -272,13 +271,13 @@ module Google
|
|
272
271
|
execute_or_queue_command(command, &block)
|
273
272
|
end
|
274
273
|
|
275
|
-
# Inserts a resource containing information about a database inside a Cloud
|
276
|
-
#
|
274
|
+
# Inserts a resource containing information about a database inside a Cloud SQL
|
275
|
+
# instance.
|
277
276
|
# @param [String] project
|
278
277
|
# Project ID of the project that contains the instance.
|
279
278
|
# @param [String] instance
|
280
279
|
# Database instance ID. This does not include the project ID.
|
281
|
-
# @param [Google::Apis::
|
280
|
+
# @param [Google::Apis::SqladminV1beta4::Database] database_object
|
282
281
|
# @param [String] fields
|
283
282
|
# Selector specifying which fields to include in a partial response.
|
284
283
|
# @param [String] quota_user
|
@@ -288,20 +287,20 @@ module Google
|
|
288
287
|
# Request-specific options
|
289
288
|
#
|
290
289
|
# @yield [result, err] Result & error if block supplied
|
291
|
-
# @yieldparam result [Google::Apis::
|
290
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
292
291
|
# @yieldparam err [StandardError] error object if request failed
|
293
292
|
#
|
294
|
-
# @return [Google::Apis::
|
293
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
295
294
|
#
|
296
295
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
297
296
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
298
297
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
299
298
|
def insert_database(project, instance, database_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
300
299
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/databases', options)
|
301
|
-
command.request_representation = Google::Apis::
|
300
|
+
command.request_representation = Google::Apis::SqladminV1beta4::Database::Representation
|
302
301
|
command.request_object = database_object
|
303
|
-
command.response_representation = Google::Apis::
|
304
|
-
command.response_class = Google::Apis::
|
302
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
303
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
305
304
|
command.params['project'] = project unless project.nil?
|
306
305
|
command.params['instance'] = instance unless instance.nil?
|
307
306
|
command.query['fields'] = fields unless fields.nil?
|
@@ -323,18 +322,18 @@ module Google
|
|
323
322
|
# Request-specific options
|
324
323
|
#
|
325
324
|
# @yield [result, err] Result & error if block supplied
|
326
|
-
# @yieldparam result [Google::Apis::
|
325
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::ListDatabasesResponse] parsed result object
|
327
326
|
# @yieldparam err [StandardError] error object if request failed
|
328
327
|
#
|
329
|
-
# @return [Google::Apis::
|
328
|
+
# @return [Google::Apis::SqladminV1beta4::ListDatabasesResponse]
|
330
329
|
#
|
331
330
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
332
331
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
333
332
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
334
333
|
def list_databases(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
335
334
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/databases', options)
|
336
|
-
command.response_representation = Google::Apis::
|
337
|
-
command.response_class = Google::Apis::
|
335
|
+
command.response_representation = Google::Apis::SqladminV1beta4::ListDatabasesResponse::Representation
|
336
|
+
command.response_class = Google::Apis::SqladminV1beta4::ListDatabasesResponse
|
338
337
|
command.params['project'] = project unless project.nil?
|
339
338
|
command.params['instance'] = instance unless instance.nil?
|
340
339
|
command.query['fields'] = fields unless fields.nil?
|
@@ -342,15 +341,15 @@ module Google
|
|
342
341
|
execute_or_queue_command(command, &block)
|
343
342
|
end
|
344
343
|
|
345
|
-
# Partially updates a resource containing information about a database inside
|
346
|
-
#
|
344
|
+
# Partially updates a resource containing information about a database inside a
|
345
|
+
# Cloud SQL instance. This method supports patch semantics.
|
347
346
|
# @param [String] project
|
348
347
|
# Project ID of the project that contains the instance.
|
349
348
|
# @param [String] instance
|
350
349
|
# Database instance ID. This does not include the project ID.
|
351
350
|
# @param [String] database
|
352
351
|
# Name of the database to be updated in the instance.
|
353
|
-
# @param [Google::Apis::
|
352
|
+
# @param [Google::Apis::SqladminV1beta4::Database] database_object
|
354
353
|
# @param [String] fields
|
355
354
|
# Selector specifying which fields to include in a partial response.
|
356
355
|
# @param [String] quota_user
|
@@ -360,20 +359,20 @@ module Google
|
|
360
359
|
# Request-specific options
|
361
360
|
#
|
362
361
|
# @yield [result, err] Result & error if block supplied
|
363
|
-
# @yieldparam result [Google::Apis::
|
362
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
364
363
|
# @yieldparam err [StandardError] error object if request failed
|
365
364
|
#
|
366
|
-
# @return [Google::Apis::
|
365
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
367
366
|
#
|
368
367
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
369
368
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
370
369
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
371
370
|
def patch_database(project, instance, database, database_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
372
371
|
command = make_simple_command(:patch, 'sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}', options)
|
373
|
-
command.request_representation = Google::Apis::
|
372
|
+
command.request_representation = Google::Apis::SqladminV1beta4::Database::Representation
|
374
373
|
command.request_object = database_object
|
375
|
-
command.response_representation = Google::Apis::
|
376
|
-
command.response_class = Google::Apis::
|
374
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
375
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
377
376
|
command.params['project'] = project unless project.nil?
|
378
377
|
command.params['instance'] = instance unless instance.nil?
|
379
378
|
command.params['database'] = database unless database.nil?
|
@@ -382,15 +381,15 @@ module Google
|
|
382
381
|
execute_or_queue_command(command, &block)
|
383
382
|
end
|
384
383
|
|
385
|
-
# Updates a resource containing information about a database inside a Cloud
|
386
|
-
#
|
384
|
+
# Updates a resource containing information about a database inside a Cloud SQL
|
385
|
+
# instance.
|
387
386
|
# @param [String] project
|
388
387
|
# Project ID of the project that contains the instance.
|
389
388
|
# @param [String] instance
|
390
389
|
# Database instance ID. This does not include the project ID.
|
391
390
|
# @param [String] database
|
392
391
|
# Name of the database to be updated in the instance.
|
393
|
-
# @param [Google::Apis::
|
392
|
+
# @param [Google::Apis::SqladminV1beta4::Database] database_object
|
394
393
|
# @param [String] fields
|
395
394
|
# Selector specifying which fields to include in a partial response.
|
396
395
|
# @param [String] quota_user
|
@@ -400,20 +399,20 @@ module Google
|
|
400
399
|
# Request-specific options
|
401
400
|
#
|
402
401
|
# @yield [result, err] Result & error if block supplied
|
403
|
-
# @yieldparam result [Google::Apis::
|
402
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
404
403
|
# @yieldparam err [StandardError] error object if request failed
|
405
404
|
#
|
406
|
-
# @return [Google::Apis::
|
405
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
407
406
|
#
|
408
407
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
409
408
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
410
409
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
411
410
|
def update_database(project, instance, database, database_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
412
411
|
command = make_simple_command(:put, 'sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}', options)
|
413
|
-
command.request_representation = Google::Apis::
|
412
|
+
command.request_representation = Google::Apis::SqladminV1beta4::Database::Representation
|
414
413
|
command.request_object = database_object
|
415
|
-
command.response_representation = Google::Apis::
|
416
|
-
command.response_class = Google::Apis::
|
414
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
415
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
417
416
|
command.params['project'] = project unless project.nil?
|
418
417
|
command.params['instance'] = instance unless instance.nil?
|
419
418
|
command.params['database'] = database unless database.nil?
|
@@ -435,18 +434,18 @@ module Google
|
|
435
434
|
# Request-specific options
|
436
435
|
#
|
437
436
|
# @yield [result, err] Result & error if block supplied
|
438
|
-
# @yieldparam result [Google::Apis::
|
437
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::ListFlagsResponse] parsed result object
|
439
438
|
# @yieldparam err [StandardError] error object if request failed
|
440
439
|
#
|
441
|
-
# @return [Google::Apis::
|
440
|
+
# @return [Google::Apis::SqladminV1beta4::ListFlagsResponse]
|
442
441
|
#
|
443
442
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
444
443
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
445
444
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
446
445
|
def list_flags(database_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
447
446
|
command = make_simple_command(:get, 'sql/v1beta4/flags', options)
|
448
|
-
command.response_representation = Google::Apis::
|
449
|
-
command.response_class = Google::Apis::
|
447
|
+
command.response_representation = Google::Apis::SqladminV1beta4::ListFlagsResponse::Representation
|
448
|
+
command.response_class = Google::Apis::SqladminV1beta4::ListFlagsResponse
|
450
449
|
command.query['databaseVersion'] = database_version unless database_version.nil?
|
451
450
|
command.query['fields'] = fields unless fields.nil?
|
452
451
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -454,10 +453,10 @@ module Google
|
|
454
453
|
end
|
455
454
|
|
456
455
|
# Add a new trusted Certificate Authority (CA) version for the specified
|
457
|
-
# instance. Required to prepare for a certificate rotation. If a CA version
|
458
|
-
#
|
459
|
-
#
|
460
|
-
#
|
456
|
+
# instance. Required to prepare for a certificate rotation. If a CA version was
|
457
|
+
# previously added but never used in a certificate rotation, this operation
|
458
|
+
# replaces that version. There cannot be more than one CA version waiting to be
|
459
|
+
# rotated in.
|
461
460
|
# @param [String] project
|
462
461
|
# Project ID of the project that contains the instance.
|
463
462
|
# @param [String] instance
|
@@ -471,18 +470,18 @@ module Google
|
|
471
470
|
# Request-specific options
|
472
471
|
#
|
473
472
|
# @yield [result, err] Result & error if block supplied
|
474
|
-
# @yieldparam result [Google::Apis::
|
473
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
475
474
|
# @yieldparam err [StandardError] error object if request failed
|
476
475
|
#
|
477
|
-
# @return [Google::Apis::
|
476
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
478
477
|
#
|
479
478
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
480
479
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
481
480
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
482
481
|
def add_instance_server_ca(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
483
482
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/addServerCa', options)
|
484
|
-
command.response_representation = Google::Apis::
|
485
|
-
command.response_class = Google::Apis::
|
483
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
484
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
486
485
|
command.params['project'] = project unless project.nil?
|
487
486
|
command.params['instance'] = instance unless instance.nil?
|
488
487
|
command.query['fields'] = fields unless fields.nil?
|
@@ -495,9 +494,9 @@ module Google
|
|
495
494
|
# @param [String] project
|
496
495
|
# Project ID of the source as well as the clone Cloud SQL instance.
|
497
496
|
# @param [String] instance
|
498
|
-
# The ID of the Cloud SQL instance to be cloned (source). This does not
|
499
|
-
#
|
500
|
-
# @param [Google::Apis::
|
497
|
+
# The ID of the Cloud SQL instance to be cloned (source). This does not include
|
498
|
+
# the project ID.
|
499
|
+
# @param [Google::Apis::SqladminV1beta4::CloneInstancesRequest] clone_instances_request_object
|
501
500
|
# @param [String] fields
|
502
501
|
# Selector specifying which fields to include in a partial response.
|
503
502
|
# @param [String] quota_user
|
@@ -507,20 +506,20 @@ module Google
|
|
507
506
|
# Request-specific options
|
508
507
|
#
|
509
508
|
# @yield [result, err] Result & error if block supplied
|
510
|
-
# @yieldparam result [Google::Apis::
|
509
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
511
510
|
# @yieldparam err [StandardError] error object if request failed
|
512
511
|
#
|
513
|
-
# @return [Google::Apis::
|
512
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
514
513
|
#
|
515
514
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
516
515
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
517
516
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
518
|
-
def clone_instance(project, instance,
|
517
|
+
def clone_instance(project, instance, clone_instances_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
519
518
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/clone', options)
|
520
|
-
command.request_representation = Google::Apis::
|
521
|
-
command.request_object =
|
522
|
-
command.response_representation = Google::Apis::
|
523
|
-
command.response_class = Google::Apis::
|
519
|
+
command.request_representation = Google::Apis::SqladminV1beta4::CloneInstancesRequest::Representation
|
520
|
+
command.request_object = clone_instances_request_object
|
521
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
522
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
524
523
|
command.params['project'] = project unless project.nil?
|
525
524
|
command.params['instance'] = instance unless instance.nil?
|
526
525
|
command.query['fields'] = fields unless fields.nil?
|
@@ -542,18 +541,18 @@ module Google
|
|
542
541
|
# Request-specific options
|
543
542
|
#
|
544
543
|
# @yield [result, err] Result & error if block supplied
|
545
|
-
# @yieldparam result [Google::Apis::
|
544
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
546
545
|
# @yieldparam err [StandardError] error object if request failed
|
547
546
|
#
|
548
|
-
# @return [Google::Apis::
|
547
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
549
548
|
#
|
550
549
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
551
550
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
552
551
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
553
552
|
def delete_instance(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
554
553
|
command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}', options)
|
555
|
-
command.response_representation = Google::Apis::
|
556
|
-
command.response_class = Google::Apis::
|
554
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
555
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
557
556
|
command.params['project'] = project unless project.nil?
|
558
557
|
command.params['instance'] = instance unless instance.nil?
|
559
558
|
command.query['fields'] = fields unless fields.nil?
|
@@ -567,7 +566,7 @@ module Google
|
|
567
566
|
# ID of the project that contains the instance.
|
568
567
|
# @param [String] instance
|
569
568
|
# Cloud SQL instance name.
|
570
|
-
# @param [Google::Apis::
|
569
|
+
# @param [Google::Apis::SqladminV1beta4::InstancesDemoteMasterRequest] instances_demote_master_request_object
|
571
570
|
# @param [String] fields
|
572
571
|
# Selector specifying which fields to include in a partial response.
|
573
572
|
# @param [String] quota_user
|
@@ -577,20 +576,20 @@ module Google
|
|
577
576
|
# Request-specific options
|
578
577
|
#
|
579
578
|
# @yield [result, err] Result & error if block supplied
|
580
|
-
# @yieldparam result [Google::Apis::
|
579
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
581
580
|
# @yieldparam err [StandardError] error object if request failed
|
582
581
|
#
|
583
|
-
# @return [Google::Apis::
|
582
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
584
583
|
#
|
585
584
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
586
585
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
587
586
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
588
587
|
def demote_instance_master(project, instance, instances_demote_master_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
589
588
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/demoteMaster', options)
|
590
|
-
command.request_representation = Google::Apis::
|
589
|
+
command.request_representation = Google::Apis::SqladminV1beta4::InstancesDemoteMasterRequest::Representation
|
591
590
|
command.request_object = instances_demote_master_request_object
|
592
|
-
command.response_representation = Google::Apis::
|
593
|
-
command.response_class = Google::Apis::
|
591
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
592
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
594
593
|
command.params['project'] = project unless project.nil?
|
595
594
|
command.params['instance'] = instance unless instance.nil?
|
596
595
|
command.query['fields'] = fields unless fields.nil?
|
@@ -598,13 +597,13 @@ module Google
|
|
598
597
|
execute_or_queue_command(command, &block)
|
599
598
|
end
|
600
599
|
|
601
|
-
# Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL
|
602
|
-
#
|
600
|
+
# Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump
|
601
|
+
# or CSV file.
|
603
602
|
# @param [String] project
|
604
603
|
# Project ID of the project that contains the instance to be exported.
|
605
604
|
# @param [String] instance
|
606
605
|
# Cloud SQL instance ID. This does not include the project ID.
|
607
|
-
# @param [Google::Apis::
|
606
|
+
# @param [Google::Apis::SqladminV1beta4::ExportInstancesRequest] export_instances_request_object
|
608
607
|
# @param [String] fields
|
609
608
|
# Selector specifying which fields to include in a partial response.
|
610
609
|
# @param [String] quota_user
|
@@ -614,20 +613,20 @@ module Google
|
|
614
613
|
# Request-specific options
|
615
614
|
#
|
616
615
|
# @yield [result, err] Result & error if block supplied
|
617
|
-
# @yieldparam result [Google::Apis::
|
616
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
618
617
|
# @yieldparam err [StandardError] error object if request failed
|
619
618
|
#
|
620
|
-
# @return [Google::Apis::
|
619
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
621
620
|
#
|
622
621
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
623
622
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
624
623
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
625
|
-
def export_instance(project, instance,
|
624
|
+
def export_instance(project, instance, export_instances_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
626
625
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/export', options)
|
627
|
-
command.request_representation = Google::Apis::
|
628
|
-
command.request_object =
|
629
|
-
command.response_representation = Google::Apis::
|
630
|
-
command.response_class = Google::Apis::
|
626
|
+
command.request_representation = Google::Apis::SqladminV1beta4::ExportInstancesRequest::Representation
|
627
|
+
command.request_object = export_instances_request_object
|
628
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
629
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
631
630
|
command.params['project'] = project unless project.nil?
|
632
631
|
command.params['instance'] = instance unless instance.nil?
|
633
632
|
command.query['fields'] = fields unless fields.nil?
|
@@ -635,13 +634,13 @@ module Google
|
|
635
634
|
execute_or_queue_command(command, &block)
|
636
635
|
end
|
637
636
|
|
638
|
-
# Failover the instance to its failover replica instance. Using this
|
639
|
-
#
|
637
|
+
# Failover the instance to its failover replica instance. Using this operation
|
638
|
+
# might cause your instance to restart.
|
640
639
|
# @param [String] project
|
641
640
|
# ID of the project that contains the read replica.
|
642
641
|
# @param [String] instance
|
643
642
|
# Cloud SQL instance ID. This does not include the project ID.
|
644
|
-
# @param [Google::Apis::
|
643
|
+
# @param [Google::Apis::SqladminV1beta4::InstancesFailoverRequest] instances_failover_request_object
|
645
644
|
# @param [String] fields
|
646
645
|
# Selector specifying which fields to include in a partial response.
|
647
646
|
# @param [String] quota_user
|
@@ -651,20 +650,20 @@ module Google
|
|
651
650
|
# Request-specific options
|
652
651
|
#
|
653
652
|
# @yield [result, err] Result & error if block supplied
|
654
|
-
# @yieldparam result [Google::Apis::
|
653
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
655
654
|
# @yieldparam err [StandardError] error object if request failed
|
656
655
|
#
|
657
|
-
# @return [Google::Apis::
|
656
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
658
657
|
#
|
659
658
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
660
659
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
661
660
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
662
661
|
def failover_instance(project, instance, instances_failover_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
663
662
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/failover', options)
|
664
|
-
command.request_representation = Google::Apis::
|
663
|
+
command.request_representation = Google::Apis::SqladminV1beta4::InstancesFailoverRequest::Representation
|
665
664
|
command.request_object = instances_failover_request_object
|
666
|
-
command.response_representation = Google::Apis::
|
667
|
-
command.response_class = Google::Apis::
|
665
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
666
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
668
667
|
command.params['project'] = project unless project.nil?
|
669
668
|
command.params['instance'] = instance unless instance.nil?
|
670
669
|
command.query['fields'] = fields unless fields.nil?
|
@@ -686,18 +685,18 @@ module Google
|
|
686
685
|
# Request-specific options
|
687
686
|
#
|
688
687
|
# @yield [result, err] Result & error if block supplied
|
689
|
-
# @yieldparam result [Google::Apis::
|
688
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::DatabaseInstance] parsed result object
|
690
689
|
# @yieldparam err [StandardError] error object if request failed
|
691
690
|
#
|
692
|
-
# @return [Google::Apis::
|
691
|
+
# @return [Google::Apis::SqladminV1beta4::DatabaseInstance]
|
693
692
|
#
|
694
693
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
695
694
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
696
695
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
697
696
|
def get_instance(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
698
697
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}', options)
|
699
|
-
command.response_representation = Google::Apis::
|
700
|
-
command.response_class = Google::Apis::
|
698
|
+
command.response_representation = Google::Apis::SqladminV1beta4::DatabaseInstance::Representation
|
699
|
+
command.response_class = Google::Apis::SqladminV1beta4::DatabaseInstance
|
701
700
|
command.params['project'] = project unless project.nil?
|
702
701
|
command.params['instance'] = instance unless instance.nil?
|
703
702
|
command.query['fields'] = fields unless fields.nil?
|
@@ -705,13 +704,13 @@ module Google
|
|
705
704
|
execute_or_queue_command(command, &block)
|
706
705
|
end
|
707
706
|
|
708
|
-
# Imports data into a Cloud SQL instance from a SQL dump
|
709
|
-
#
|
707
|
+
# Imports data into a Cloud SQL instance from a SQL dump or CSV file in Cloud
|
708
|
+
# Storage.
|
710
709
|
# @param [String] project
|
711
710
|
# Project ID of the project that contains the instance.
|
712
711
|
# @param [String] instance
|
713
712
|
# Cloud SQL instance ID. This does not include the project ID.
|
714
|
-
# @param [Google::Apis::
|
713
|
+
# @param [Google::Apis::SqladminV1beta4::ImportInstancesRequest] import_instances_request_object
|
715
714
|
# @param [String] fields
|
716
715
|
# Selector specifying which fields to include in a partial response.
|
717
716
|
# @param [String] quota_user
|
@@ -721,20 +720,20 @@ module Google
|
|
721
720
|
# Request-specific options
|
722
721
|
#
|
723
722
|
# @yield [result, err] Result & error if block supplied
|
724
|
-
# @yieldparam result [Google::Apis::
|
723
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
725
724
|
# @yieldparam err [StandardError] error object if request failed
|
726
725
|
#
|
727
|
-
# @return [Google::Apis::
|
726
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
728
727
|
#
|
729
728
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
730
729
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
731
730
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
732
|
-
def import_instance(project, instance,
|
731
|
+
def import_instance(project, instance, import_instances_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
733
732
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/import', options)
|
734
|
-
command.request_representation = Google::Apis::
|
735
|
-
command.request_object =
|
736
|
-
command.response_representation = Google::Apis::
|
737
|
-
command.response_class = Google::Apis::
|
733
|
+
command.request_representation = Google::Apis::SqladminV1beta4::ImportInstancesRequest::Representation
|
734
|
+
command.request_object = import_instances_request_object
|
735
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
736
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
738
737
|
command.params['project'] = project unless project.nil?
|
739
738
|
command.params['instance'] = instance unless instance.nil?
|
740
739
|
command.query['fields'] = fields unless fields.nil?
|
@@ -746,7 +745,7 @@ module Google
|
|
746
745
|
# @param [String] project
|
747
746
|
# Project ID of the project to which the newly created Cloud SQL instances
|
748
747
|
# should belong.
|
749
|
-
# @param [Google::Apis::
|
748
|
+
# @param [Google::Apis::SqladminV1beta4::DatabaseInstance] database_instance_object
|
750
749
|
# @param [String] fields
|
751
750
|
# Selector specifying which fields to include in a partial response.
|
752
751
|
# @param [String] quota_user
|
@@ -756,20 +755,20 @@ module Google
|
|
756
755
|
# Request-specific options
|
757
756
|
#
|
758
757
|
# @yield [result, err] Result & error if block supplied
|
759
|
-
# @yieldparam result [Google::Apis::
|
758
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
760
759
|
# @yieldparam err [StandardError] error object if request failed
|
761
760
|
#
|
762
|
-
# @return [Google::Apis::
|
761
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
763
762
|
#
|
764
763
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
765
764
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
766
765
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
767
766
|
def insert_instance(project, database_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
768
767
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances', options)
|
769
|
-
command.request_representation = Google::Apis::
|
768
|
+
command.request_representation = Google::Apis::SqladminV1beta4::DatabaseInstance::Representation
|
770
769
|
command.request_object = database_instance_object
|
771
|
-
command.response_representation = Google::Apis::
|
772
|
-
command.response_class = Google::Apis::
|
770
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
771
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
773
772
|
command.params['project'] = project unless project.nil?
|
774
773
|
command.query['fields'] = fields unless fields.nil?
|
775
774
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -780,14 +779,13 @@ module Google
|
|
780
779
|
# @param [String] project
|
781
780
|
# Project ID of the project for which to list Cloud SQL instances.
|
782
781
|
# @param [String] filter
|
783
|
-
# A filter expression that filters resources listed in the response.
|
784
|
-
#
|
785
|
-
#
|
786
|
-
#
|
787
|
-
#
|
788
|
-
#
|
789
|
-
#
|
790
|
-
# expressions explicitly.
|
782
|
+
# A filter expression that filters resources listed in the response. The
|
783
|
+
# expression is in the form of field:value. For example, 'instanceType:
|
784
|
+
# CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per their JSON
|
785
|
+
# representation, such as 'settings.userLabels.auto_start:true'. Multiple filter
|
786
|
+
# queries are space-separated. For example. 'state:RUNNABLE instanceType:
|
787
|
+
# CLOUD_SQL_INSTANCE'. By default, each expression is an AND expression. However,
|
788
|
+
# you can include AND and OR expressions explicitly.
|
791
789
|
# @param [Fixnum] max_results
|
792
790
|
# The maximum number of results to return per response.
|
793
791
|
# @param [String] page_token
|
@@ -802,18 +800,18 @@ module Google
|
|
802
800
|
# Request-specific options
|
803
801
|
#
|
804
802
|
# @yield [result, err] Result & error if block supplied
|
805
|
-
# @yieldparam result [Google::Apis::
|
803
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::ListInstancesResponse] parsed result object
|
806
804
|
# @yieldparam err [StandardError] error object if request failed
|
807
805
|
#
|
808
|
-
# @return [Google::Apis::
|
806
|
+
# @return [Google::Apis::SqladminV1beta4::ListInstancesResponse]
|
809
807
|
#
|
810
808
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
811
809
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
812
810
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
813
811
|
def list_instances(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
814
812
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances', options)
|
815
|
-
command.response_representation = Google::Apis::
|
816
|
-
command.response_class = Google::Apis::
|
813
|
+
command.response_representation = Google::Apis::SqladminV1beta4::ListInstancesResponse::Representation
|
814
|
+
command.response_class = Google::Apis::SqladminV1beta4::ListInstancesResponse
|
817
815
|
command.params['project'] = project unless project.nil?
|
818
816
|
command.query['filter'] = filter unless filter.nil?
|
819
817
|
command.query['maxResults'] = max_results unless max_results.nil?
|
@@ -825,9 +823,9 @@ module Google
|
|
825
823
|
|
826
824
|
# Lists all of the trusted Certificate Authorities (CAs) for the specified
|
827
825
|
# instance. There can be up to three CAs listed: the CA that was used to sign
|
828
|
-
# the certificate that is currently in use, a CA that has been added but not
|
829
|
-
#
|
830
|
-
#
|
826
|
+
# the certificate that is currently in use, a CA that has been added but not yet
|
827
|
+
# used to sign a certificate, and a CA used to sign a certificate that has
|
828
|
+
# previously rotated out.
|
831
829
|
# @param [String] project
|
832
830
|
# Project ID of the project that contains the instance.
|
833
831
|
# @param [String] instance
|
@@ -841,18 +839,18 @@ module Google
|
|
841
839
|
# Request-specific options
|
842
840
|
#
|
843
841
|
# @yield [result, err] Result & error if block supplied
|
844
|
-
# @yieldparam result [Google::Apis::
|
842
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::InstancesListServerCasResponse] parsed result object
|
845
843
|
# @yieldparam err [StandardError] error object if request failed
|
846
844
|
#
|
847
|
-
# @return [Google::Apis::
|
845
|
+
# @return [Google::Apis::SqladminV1beta4::InstancesListServerCasResponse]
|
848
846
|
#
|
849
847
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
850
848
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
851
849
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
852
850
|
def list_instance_server_cas(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
853
851
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/listServerCas', options)
|
854
|
-
command.response_representation = Google::Apis::
|
855
|
-
command.response_class = Google::Apis::
|
852
|
+
command.response_representation = Google::Apis::SqladminV1beta4::InstancesListServerCasResponse::Representation
|
853
|
+
command.response_class = Google::Apis::SqladminV1beta4::InstancesListServerCasResponse
|
856
854
|
command.params['project'] = project unless project.nil?
|
857
855
|
command.params['instance'] = instance unless instance.nil?
|
858
856
|
command.query['fields'] = fields unless fields.nil?
|
@@ -860,13 +858,12 @@ module Google
|
|
860
858
|
execute_or_queue_command(command, &block)
|
861
859
|
end
|
862
860
|
|
863
|
-
# Updates settings of a Cloud SQL instance.
|
864
|
-
# This method supports patch semantics.
|
861
|
+
# Updates settings of a Cloud SQL instance. This method supports patch semantics.
|
865
862
|
# @param [String] project
|
866
863
|
# Project ID of the project that contains the instance.
|
867
864
|
# @param [String] instance
|
868
865
|
# Cloud SQL instance ID. This does not include the project ID.
|
869
|
-
# @param [Google::Apis::
|
866
|
+
# @param [Google::Apis::SqladminV1beta4::DatabaseInstance] database_instance_object
|
870
867
|
# @param [String] fields
|
871
868
|
# Selector specifying which fields to include in a partial response.
|
872
869
|
# @param [String] quota_user
|
@@ -876,20 +873,20 @@ module Google
|
|
876
873
|
# Request-specific options
|
877
874
|
#
|
878
875
|
# @yield [result, err] Result & error if block supplied
|
879
|
-
# @yieldparam result [Google::Apis::
|
876
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
880
877
|
# @yieldparam err [StandardError] error object if request failed
|
881
878
|
#
|
882
|
-
# @return [Google::Apis::
|
879
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
883
880
|
#
|
884
881
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
885
882
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
886
883
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
887
884
|
def patch_instance(project, instance, database_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
888
885
|
command = make_simple_command(:patch, 'sql/v1beta4/projects/{project}/instances/{instance}', options)
|
889
|
-
command.request_representation = Google::Apis::
|
886
|
+
command.request_representation = Google::Apis::SqladminV1beta4::DatabaseInstance::Representation
|
890
887
|
command.request_object = database_instance_object
|
891
|
-
command.response_representation = Google::Apis::
|
892
|
-
command.response_class = Google::Apis::
|
888
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
889
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
893
890
|
command.params['project'] = project unless project.nil?
|
894
891
|
command.params['instance'] = instance unless instance.nil?
|
895
892
|
command.query['fields'] = fields unless fields.nil?
|
@@ -912,18 +909,18 @@ module Google
|
|
912
909
|
# Request-specific options
|
913
910
|
#
|
914
911
|
# @yield [result, err] Result & error if block supplied
|
915
|
-
# @yieldparam result [Google::Apis::
|
912
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
916
913
|
# @yieldparam err [StandardError] error object if request failed
|
917
914
|
#
|
918
|
-
# @return [Google::Apis::
|
915
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
919
916
|
#
|
920
917
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
921
918
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
922
919
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
923
920
|
def promote_instance_replica(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
924
921
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/promoteReplica', options)
|
925
|
-
command.response_representation = Google::Apis::
|
926
|
-
command.response_class = Google::Apis::
|
922
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
923
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
927
924
|
command.params['project'] = project unless project.nil?
|
928
925
|
command.params['instance'] = instance unless instance.nil?
|
929
926
|
command.query['fields'] = fields unless fields.nil?
|
@@ -931,8 +928,8 @@ module Google
|
|
931
928
|
execute_or_queue_command(command, &block)
|
932
929
|
end
|
933
930
|
|
934
|
-
# Deletes all client certificates and generates a new server SSL certificate
|
935
|
-
#
|
931
|
+
# Deletes all client certificates and generates a new server SSL certificate for
|
932
|
+
# the instance.
|
936
933
|
# @param [String] project
|
937
934
|
# Project ID of the project that contains the instance.
|
938
935
|
# @param [String] instance
|
@@ -946,18 +943,18 @@ module Google
|
|
946
943
|
# Request-specific options
|
947
944
|
#
|
948
945
|
# @yield [result, err] Result & error if block supplied
|
949
|
-
# @yieldparam result [Google::Apis::
|
946
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
950
947
|
# @yieldparam err [StandardError] error object if request failed
|
951
948
|
#
|
952
|
-
# @return [Google::Apis::
|
949
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
953
950
|
#
|
954
951
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
955
952
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
956
953
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
957
954
|
def reset_instance_ssl_config(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
958
955
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/resetSslConfig', options)
|
959
|
-
command.response_representation = Google::Apis::
|
960
|
-
command.response_class = Google::Apis::
|
956
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
957
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
961
958
|
command.params['project'] = project unless project.nil?
|
962
959
|
command.params['instance'] = instance unless instance.nil?
|
963
960
|
command.query['fields'] = fields unless fields.nil?
|
@@ -979,18 +976,18 @@ module Google
|
|
979
976
|
# Request-specific options
|
980
977
|
#
|
981
978
|
# @yield [result, err] Result & error if block supplied
|
982
|
-
# @yieldparam result [Google::Apis::
|
979
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
983
980
|
# @yieldparam err [StandardError] error object if request failed
|
984
981
|
#
|
985
|
-
# @return [Google::Apis::
|
982
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
986
983
|
#
|
987
984
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
988
985
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
989
986
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
990
987
|
def restart_instance(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
991
988
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/restart', options)
|
992
|
-
command.response_representation = Google::Apis::
|
993
|
-
command.response_class = Google::Apis::
|
989
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
990
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
994
991
|
command.params['project'] = project unless project.nil?
|
995
992
|
command.params['instance'] = instance unless instance.nil?
|
996
993
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1004,7 +1001,7 @@ module Google
|
|
1004
1001
|
# Project ID of the project that contains the instance.
|
1005
1002
|
# @param [String] instance
|
1006
1003
|
# Cloud SQL instance ID. This does not include the project ID.
|
1007
|
-
# @param [Google::Apis::
|
1004
|
+
# @param [Google::Apis::SqladminV1beta4::RestoreInstancesBackupRequest] restore_instances_backup_request_object
|
1008
1005
|
# @param [String] fields
|
1009
1006
|
# Selector specifying which fields to include in a partial response.
|
1010
1007
|
# @param [String] quota_user
|
@@ -1014,20 +1011,20 @@ module Google
|
|
1014
1011
|
# Request-specific options
|
1015
1012
|
#
|
1016
1013
|
# @yield [result, err] Result & error if block supplied
|
1017
|
-
# @yieldparam result [Google::Apis::
|
1014
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
1018
1015
|
# @yieldparam err [StandardError] error object if request failed
|
1019
1016
|
#
|
1020
|
-
# @return [Google::Apis::
|
1017
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
1021
1018
|
#
|
1022
1019
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1023
1020
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1024
1021
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1025
|
-
def restore_instance_backup(project, instance,
|
1022
|
+
def restore_instance_backup(project, instance, restore_instances_backup_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1026
1023
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/restoreBackup', options)
|
1027
|
-
command.request_representation = Google::Apis::
|
1028
|
-
command.request_object =
|
1029
|
-
command.response_representation = Google::Apis::
|
1030
|
-
command.response_class = Google::Apis::
|
1024
|
+
command.request_representation = Google::Apis::SqladminV1beta4::RestoreInstancesBackupRequest::Representation
|
1025
|
+
command.request_object = restore_instances_backup_request_object
|
1026
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1027
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1031
1028
|
command.params['project'] = project unless project.nil?
|
1032
1029
|
command.params['instance'] = instance unless instance.nil?
|
1033
1030
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1035,13 +1032,13 @@ module Google
|
|
1035
1032
|
execute_or_queue_command(command, &block)
|
1036
1033
|
end
|
1037
1034
|
|
1038
|
-
# Rotates the server certificate to one signed by the Certificate Authority
|
1039
|
-
#
|
1035
|
+
# Rotates the server certificate to one signed by the Certificate Authority (CA)
|
1036
|
+
# version previously added with the addServerCA method.
|
1040
1037
|
# @param [String] project
|
1041
1038
|
# Project ID of the project that contains the instance.
|
1042
1039
|
# @param [String] instance
|
1043
1040
|
# Cloud SQL instance ID. This does not include the project ID.
|
1044
|
-
# @param [Google::Apis::
|
1041
|
+
# @param [Google::Apis::SqladminV1beta4::InstancesRotateServerCaRequest] instances_rotate_server_ca_request_object
|
1045
1042
|
# @param [String] fields
|
1046
1043
|
# Selector specifying which fields to include in a partial response.
|
1047
1044
|
# @param [String] quota_user
|
@@ -1051,20 +1048,20 @@ module Google
|
|
1051
1048
|
# Request-specific options
|
1052
1049
|
#
|
1053
1050
|
# @yield [result, err] Result & error if block supplied
|
1054
|
-
# @yieldparam result [Google::Apis::
|
1051
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
1055
1052
|
# @yieldparam err [StandardError] error object if request failed
|
1056
1053
|
#
|
1057
|
-
# @return [Google::Apis::
|
1054
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
1058
1055
|
#
|
1059
1056
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1060
1057
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1061
1058
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1062
1059
|
def rotate_instance_server_ca(project, instance, instances_rotate_server_ca_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1063
1060
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/rotateServerCa', options)
|
1064
|
-
command.request_representation = Google::Apis::
|
1061
|
+
command.request_representation = Google::Apis::SqladminV1beta4::InstancesRotateServerCaRequest::Representation
|
1065
1062
|
command.request_object = instances_rotate_server_ca_request_object
|
1066
|
-
command.response_representation = Google::Apis::
|
1067
|
-
command.response_class = Google::Apis::
|
1063
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1064
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1068
1065
|
command.params['project'] = project unless project.nil?
|
1069
1066
|
command.params['instance'] = instance unless instance.nil?
|
1070
1067
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1086,18 +1083,18 @@ module Google
|
|
1086
1083
|
# Request-specific options
|
1087
1084
|
#
|
1088
1085
|
# @yield [result, err] Result & error if block supplied
|
1089
|
-
# @yieldparam result [Google::Apis::
|
1086
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
1090
1087
|
# @yieldparam err [StandardError] error object if request failed
|
1091
1088
|
#
|
1092
|
-
# @return [Google::Apis::
|
1089
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
1093
1090
|
#
|
1094
1091
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1095
1092
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1096
1093
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1097
1094
|
def start_instance_replica(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
1098
1095
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/startReplica', options)
|
1099
|
-
command.response_representation = Google::Apis::
|
1100
|
-
command.response_class = Google::Apis::
|
1096
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1097
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1101
1098
|
command.params['project'] = project unless project.nil?
|
1102
1099
|
command.params['instance'] = instance unless instance.nil?
|
1103
1100
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1119,18 +1116,18 @@ module Google
|
|
1119
1116
|
# Request-specific options
|
1120
1117
|
#
|
1121
1118
|
# @yield [result, err] Result & error if block supplied
|
1122
|
-
# @yieldparam result [Google::Apis::
|
1119
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
1123
1120
|
# @yieldparam err [StandardError] error object if request failed
|
1124
1121
|
#
|
1125
|
-
# @return [Google::Apis::
|
1122
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
1126
1123
|
#
|
1127
1124
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1128
1125
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1129
1126
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1130
1127
|
def stop_instance_replica(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
1131
1128
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/stopReplica', options)
|
1132
|
-
command.response_representation = Google::Apis::
|
1133
|
-
command.response_class = Google::Apis::
|
1129
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1130
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1134
1131
|
command.params['project'] = project unless project.nil?
|
1135
1132
|
command.params['instance'] = instance unless instance.nil?
|
1136
1133
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1143,7 +1140,7 @@ module Google
|
|
1143
1140
|
# Project ID of the Cloud SQL project.
|
1144
1141
|
# @param [String] instance
|
1145
1142
|
# Cloud SQL instance ID. This does not include the project ID.
|
1146
|
-
# @param [Google::Apis::
|
1143
|
+
# @param [Google::Apis::SqladminV1beta4::InstancesTruncateLogRequest] instances_truncate_log_request_object
|
1147
1144
|
# @param [String] fields
|
1148
1145
|
# Selector specifying which fields to include in a partial response.
|
1149
1146
|
# @param [String] quota_user
|
@@ -1153,20 +1150,20 @@ module Google
|
|
1153
1150
|
# Request-specific options
|
1154
1151
|
#
|
1155
1152
|
# @yield [result, err] Result & error if block supplied
|
1156
|
-
# @yieldparam result [Google::Apis::
|
1153
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
1157
1154
|
# @yieldparam err [StandardError] error object if request failed
|
1158
1155
|
#
|
1159
|
-
# @return [Google::Apis::
|
1156
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
1160
1157
|
#
|
1161
1158
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1162
1159
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1163
1160
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1164
1161
|
def truncate_instance_log(project, instance, instances_truncate_log_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1165
1162
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/truncateLog', options)
|
1166
|
-
command.request_representation = Google::Apis::
|
1163
|
+
command.request_representation = Google::Apis::SqladminV1beta4::InstancesTruncateLogRequest::Representation
|
1167
1164
|
command.request_object = instances_truncate_log_request_object
|
1168
|
-
command.response_representation = Google::Apis::
|
1169
|
-
command.response_class = Google::Apis::
|
1165
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1166
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1170
1167
|
command.params['project'] = project unless project.nil?
|
1171
1168
|
command.params['instance'] = instance unless instance.nil?
|
1172
1169
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1180,7 +1177,7 @@ module Google
|
|
1180
1177
|
# Project ID of the project that contains the instance.
|
1181
1178
|
# @param [String] instance
|
1182
1179
|
# Cloud SQL instance ID. This does not include the project ID.
|
1183
|
-
# @param [Google::Apis::
|
1180
|
+
# @param [Google::Apis::SqladminV1beta4::DatabaseInstance] database_instance_object
|
1184
1181
|
# @param [String] fields
|
1185
1182
|
# Selector specifying which fields to include in a partial response.
|
1186
1183
|
# @param [String] quota_user
|
@@ -1190,20 +1187,20 @@ module Google
|
|
1190
1187
|
# Request-specific options
|
1191
1188
|
#
|
1192
1189
|
# @yield [result, err] Result & error if block supplied
|
1193
|
-
# @yieldparam result [Google::Apis::
|
1190
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
1194
1191
|
# @yieldparam err [StandardError] error object if request failed
|
1195
1192
|
#
|
1196
|
-
# @return [Google::Apis::
|
1193
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
1197
1194
|
#
|
1198
1195
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1199
1196
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1200
1197
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1201
1198
|
def update_instance(project, instance, database_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1202
1199
|
command = make_simple_command(:put, 'sql/v1beta4/projects/{project}/instances/{instance}', options)
|
1203
|
-
command.request_representation = Google::Apis::
|
1200
|
+
command.request_representation = Google::Apis::SqladminV1beta4::DatabaseInstance::Representation
|
1204
1201
|
command.request_object = database_instance_object
|
1205
|
-
command.response_representation = Google::Apis::
|
1206
|
-
command.response_class = Google::Apis::
|
1202
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1203
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1207
1204
|
command.params['project'] = project unless project.nil?
|
1208
1205
|
command.params['instance'] = instance unless instance.nil?
|
1209
1206
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1225,18 +1222,18 @@ module Google
|
|
1225
1222
|
# Request-specific options
|
1226
1223
|
#
|
1227
1224
|
# @yield [result, err] Result & error if block supplied
|
1228
|
-
# @yieldparam result [Google::Apis::
|
1225
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
1229
1226
|
# @yieldparam err [StandardError] error object if request failed
|
1230
1227
|
#
|
1231
|
-
# @return [Google::Apis::
|
1228
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
1232
1229
|
#
|
1233
1230
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1234
1231
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1235
1232
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1236
1233
|
def get_operation(project, operation, fields: nil, quota_user: nil, options: nil, &block)
|
1237
1234
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/operations/{operation}', options)
|
1238
|
-
command.response_representation = Google::Apis::
|
1239
|
-
command.response_class = Google::Apis::
|
1235
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1236
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1240
1237
|
command.params['project'] = project unless project.nil?
|
1241
1238
|
command.params['operation'] = operation unless operation.nil?
|
1242
1239
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1244,8 +1241,8 @@ module Google
|
|
1244
1241
|
execute_or_queue_command(command, &block)
|
1245
1242
|
end
|
1246
1243
|
|
1247
|
-
# Lists all instance operations that have been performed on the given Cloud
|
1248
|
-
#
|
1244
|
+
# Lists all instance operations that have been performed on the given Cloud SQL
|
1245
|
+
# instance in the reverse chronological order of the start time.
|
1249
1246
|
# @param [String] project
|
1250
1247
|
# Project ID of the project that contains the instance.
|
1251
1248
|
# @param [String] instance
|
@@ -1264,18 +1261,18 @@ module Google
|
|
1264
1261
|
# Request-specific options
|
1265
1262
|
#
|
1266
1263
|
# @yield [result, err] Result & error if block supplied
|
1267
|
-
# @yieldparam result [Google::Apis::
|
1264
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::ListOperationsResponse] parsed result object
|
1268
1265
|
# @yieldparam err [StandardError] error object if request failed
|
1269
1266
|
#
|
1270
|
-
# @return [Google::Apis::
|
1267
|
+
# @return [Google::Apis::SqladminV1beta4::ListOperationsResponse]
|
1271
1268
|
#
|
1272
1269
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1273
1270
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1274
1271
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1275
1272
|
def list_operations(project, instance: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1276
1273
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/operations', options)
|
1277
|
-
command.response_representation = Google::Apis::
|
1278
|
-
command.response_class = Google::Apis::
|
1274
|
+
command.response_representation = Google::Apis::SqladminV1beta4::ListOperationsResponse::Representation
|
1275
|
+
command.response_class = Google::Apis::SqladminV1beta4::ListOperationsResponse
|
1279
1276
|
command.params['project'] = project unless project.nil?
|
1280
1277
|
command.query['instance'] = instance unless instance.nil?
|
1281
1278
|
command.query['maxResults'] = max_results unless max_results.nil?
|
@@ -1290,7 +1287,7 @@ module Google
|
|
1290
1287
|
# ID of the project that contains the instance.
|
1291
1288
|
# @param [String] instance
|
1292
1289
|
# Cloud SQL instance ID. This does not include the project ID.
|
1293
|
-
# @param [Google::Apis::
|
1290
|
+
# @param [Google::Apis::SqladminV1beta4::SqlInstancesRescheduleMaintenanceRequestBody] sql_instances_reschedule_maintenance_request_body_object
|
1294
1291
|
# @param [String] fields
|
1295
1292
|
# Selector specifying which fields to include in a partial response.
|
1296
1293
|
# @param [String] quota_user
|
@@ -1300,20 +1297,20 @@ module Google
|
|
1300
1297
|
# Request-specific options
|
1301
1298
|
#
|
1302
1299
|
# @yield [result, err] Result & error if block supplied
|
1303
|
-
# @yieldparam result [Google::Apis::
|
1300
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
1304
1301
|
# @yieldparam err [StandardError] error object if request failed
|
1305
1302
|
#
|
1306
|
-
# @return [Google::Apis::
|
1303
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
1307
1304
|
#
|
1308
1305
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1309
1306
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1310
1307
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1311
1308
|
def reschedule_project_instance_maintenance(project, instance, sql_instances_reschedule_maintenance_request_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1312
1309
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/rescheduleMaintenance', options)
|
1313
|
-
command.request_representation = Google::Apis::
|
1310
|
+
command.request_representation = Google::Apis::SqladminV1beta4::SqlInstancesRescheduleMaintenanceRequestBody::Representation
|
1314
1311
|
command.request_object = sql_instances_reschedule_maintenance_request_body_object
|
1315
|
-
command.response_representation = Google::Apis::
|
1316
|
-
command.response_class = Google::Apis::
|
1312
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1313
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1317
1314
|
command.params['project'] = project unless project.nil?
|
1318
1315
|
command.params['instance'] = instance unless instance.nil?
|
1319
1316
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1321,9 +1318,9 @@ module Google
|
|
1321
1318
|
execute_or_queue_command(command, &block)
|
1322
1319
|
end
|
1323
1320
|
|
1324
|
-
# Start External
|
1321
|
+
# Start External primary instance migration.
|
1325
1322
|
# @param [String] project
|
1326
|
-
# ID of the project that contains the
|
1323
|
+
# ID of the project that contains the instance.
|
1327
1324
|
# @param [String] instance
|
1328
1325
|
# Cloud SQL instance ID. This does not include the project ID.
|
1329
1326
|
# @param [String] sync_mode
|
@@ -1337,18 +1334,18 @@ module Google
|
|
1337
1334
|
# Request-specific options
|
1338
1335
|
#
|
1339
1336
|
# @yield [result, err] Result & error if block supplied
|
1340
|
-
# @yieldparam result [Google::Apis::
|
1337
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
1341
1338
|
# @yieldparam err [StandardError] error object if request failed
|
1342
1339
|
#
|
1343
|
-
# @return [Google::Apis::
|
1340
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
1344
1341
|
#
|
1345
1342
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1346
1343
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1347
1344
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1348
1345
|
def start_project_instance_external_sync(project, instance, sync_mode: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1349
1346
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/startExternalSync', options)
|
1350
|
-
command.response_representation = Google::Apis::
|
1351
|
-
command.response_class = Google::Apis::
|
1347
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1348
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1352
1349
|
command.params['project'] = project unless project.nil?
|
1353
1350
|
command.params['instance'] = instance unless instance.nil?
|
1354
1351
|
command.query['syncMode'] = sync_mode unless sync_mode.nil?
|
@@ -1357,7 +1354,7 @@ module Google
|
|
1357
1354
|
execute_or_queue_command(command, &block)
|
1358
1355
|
end
|
1359
1356
|
|
1360
|
-
# Verify External
|
1357
|
+
# Verify External primary instance external sync settings.
|
1361
1358
|
# @param [String] project
|
1362
1359
|
# Project ID of the project that contains the instance.
|
1363
1360
|
# @param [String] instance
|
@@ -1375,18 +1372,18 @@ module Google
|
|
1375
1372
|
# Request-specific options
|
1376
1373
|
#
|
1377
1374
|
# @yield [result, err] Result & error if block supplied
|
1378
|
-
# @yieldparam result [Google::Apis::
|
1375
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse] parsed result object
|
1379
1376
|
# @yieldparam err [StandardError] error object if request failed
|
1380
1377
|
#
|
1381
|
-
# @return [Google::Apis::
|
1378
|
+
# @return [Google::Apis::SqladminV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse]
|
1382
1379
|
#
|
1383
1380
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1384
1381
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1385
1382
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1386
1383
|
def verify_project_instance_external_sync_settings(project, instance, sync_mode: nil, verify_connection_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1387
1384
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/verifyExternalSyncSettings', options)
|
1388
|
-
command.response_representation = Google::Apis::
|
1389
|
-
command.response_class = Google::Apis::
|
1385
|
+
command.response_representation = Google::Apis::SqladminV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse::Representation
|
1386
|
+
command.response_class = Google::Apis::SqladminV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse
|
1390
1387
|
command.params['project'] = project unless project.nil?
|
1391
1388
|
command.params['instance'] = instance unless instance.nil?
|
1392
1389
|
command.query['syncMode'] = sync_mode unless sync_mode.nil?
|
@@ -1397,14 +1394,13 @@ module Google
|
|
1397
1394
|
end
|
1398
1395
|
|
1399
1396
|
# Generates a short-lived X509 certificate containing the provided public key
|
1400
|
-
# and signed by a private key specific to the target instance. Users may use
|
1401
|
-
#
|
1402
|
-
# database.
|
1397
|
+
# and signed by a private key specific to the target instance. Users may use the
|
1398
|
+
# certificate to authenticate as themselves when connecting to the database.
|
1403
1399
|
# @param [String] project
|
1404
1400
|
# Project ID of the Cloud SQL project.
|
1405
1401
|
# @param [String] instance
|
1406
1402
|
# Cloud SQL instance ID. This does not include the project ID.
|
1407
|
-
# @param [Google::Apis::
|
1403
|
+
# @param [Google::Apis::SqladminV1beta4::SslCertsCreateEphemeralRequest] ssl_certs_create_ephemeral_request_object
|
1408
1404
|
# @param [String] fields
|
1409
1405
|
# Selector specifying which fields to include in a partial response.
|
1410
1406
|
# @param [String] quota_user
|
@@ -1414,20 +1410,20 @@ module Google
|
|
1414
1410
|
# Request-specific options
|
1415
1411
|
#
|
1416
1412
|
# @yield [result, err] Result & error if block supplied
|
1417
|
-
# @yieldparam result [Google::Apis::
|
1413
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::SslCert] parsed result object
|
1418
1414
|
# @yieldparam err [StandardError] error object if request failed
|
1419
1415
|
#
|
1420
|
-
# @return [Google::Apis::
|
1416
|
+
# @return [Google::Apis::SqladminV1beta4::SslCert]
|
1421
1417
|
#
|
1422
1418
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1423
1419
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1424
1420
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1425
1421
|
def create_ssl_cert_ephemeral(project, instance, ssl_certs_create_ephemeral_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1426
1422
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/createEphemeral', options)
|
1427
|
-
command.request_representation = Google::Apis::
|
1423
|
+
command.request_representation = Google::Apis::SqladminV1beta4::SslCertsCreateEphemeralRequest::Representation
|
1428
1424
|
command.request_object = ssl_certs_create_ephemeral_request_object
|
1429
|
-
command.response_representation = Google::Apis::
|
1430
|
-
command.response_class = Google::Apis::
|
1425
|
+
command.response_representation = Google::Apis::SqladminV1beta4::SslCert::Representation
|
1426
|
+
command.response_class = Google::Apis::SqladminV1beta4::SslCert
|
1431
1427
|
command.params['project'] = project unless project.nil?
|
1432
1428
|
command.params['instance'] = instance unless instance.nil?
|
1433
1429
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1435,8 +1431,8 @@ module Google
|
|
1435
1431
|
execute_or_queue_command(command, &block)
|
1436
1432
|
end
|
1437
1433
|
|
1438
|
-
# Deletes the SSL certificate. For First Generation instances, the
|
1439
|
-
#
|
1434
|
+
# Deletes the SSL certificate. For First Generation instances, the certificate
|
1435
|
+
# remains valid until the instance is restarted.
|
1440
1436
|
# @param [String] project
|
1441
1437
|
# Project ID of the project that contains the instance.
|
1442
1438
|
# @param [String] instance
|
@@ -1452,18 +1448,18 @@ module Google
|
|
1452
1448
|
# Request-specific options
|
1453
1449
|
#
|
1454
1450
|
# @yield [result, err] Result & error if block supplied
|
1455
|
-
# @yieldparam result [Google::Apis::
|
1451
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
1456
1452
|
# @yieldparam err [StandardError] error object if request failed
|
1457
1453
|
#
|
1458
|
-
# @return [Google::Apis::
|
1454
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
1459
1455
|
#
|
1460
1456
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1461
1457
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1462
1458
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1463
1459
|
def delete_ssl_cert(project, instance, sha1_fingerprint, fields: nil, quota_user: nil, options: nil, &block)
|
1464
1460
|
command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', options)
|
1465
|
-
command.response_representation = Google::Apis::
|
1466
|
-
command.response_class = Google::Apis::
|
1461
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1462
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1467
1463
|
command.params['project'] = project unless project.nil?
|
1468
1464
|
command.params['instance'] = instance unless instance.nil?
|
1469
1465
|
command.params['sha1Fingerprint'] = sha1_fingerprint unless sha1_fingerprint.nil?
|
@@ -1472,8 +1468,8 @@ module Google
|
|
1472
1468
|
execute_or_queue_command(command, &block)
|
1473
1469
|
end
|
1474
1470
|
|
1475
|
-
# Retrieves a particular SSL certificate.
|
1476
|
-
#
|
1471
|
+
# Retrieves a particular SSL certificate. Does not include the private key (
|
1472
|
+
# required for usage). The private key must be saved from the response to
|
1477
1473
|
# initial creation.
|
1478
1474
|
# @param [String] project
|
1479
1475
|
# Project ID of the project that contains the instance.
|
@@ -1490,18 +1486,18 @@ module Google
|
|
1490
1486
|
# Request-specific options
|
1491
1487
|
#
|
1492
1488
|
# @yield [result, err] Result & error if block supplied
|
1493
|
-
# @yieldparam result [Google::Apis::
|
1489
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::SslCert] parsed result object
|
1494
1490
|
# @yieldparam err [StandardError] error object if request failed
|
1495
1491
|
#
|
1496
|
-
# @return [Google::Apis::
|
1492
|
+
# @return [Google::Apis::SqladminV1beta4::SslCert]
|
1497
1493
|
#
|
1498
1494
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1499
1495
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1500
1496
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1501
1497
|
def get_ssl_cert(project, instance, sha1_fingerprint, fields: nil, quota_user: nil, options: nil, &block)
|
1502
1498
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', options)
|
1503
|
-
command.response_representation = Google::Apis::
|
1504
|
-
command.response_class = Google::Apis::
|
1499
|
+
command.response_representation = Google::Apis::SqladminV1beta4::SslCert::Representation
|
1500
|
+
command.response_class = Google::Apis::SqladminV1beta4::SslCert
|
1505
1501
|
command.params['project'] = project unless project.nil?
|
1506
1502
|
command.params['instance'] = instance unless instance.nil?
|
1507
1503
|
command.params['sha1Fingerprint'] = sha1_fingerprint unless sha1_fingerprint.nil?
|
@@ -1511,13 +1507,13 @@ module Google
|
|
1511
1507
|
end
|
1512
1508
|
|
1513
1509
|
# Creates an SSL certificate and returns it along with the private key and
|
1514
|
-
# server certificate authority.
|
1515
|
-
#
|
1510
|
+
# server certificate authority. The new certificate will not be usable until the
|
1511
|
+
# instance is restarted.
|
1516
1512
|
# @param [String] project
|
1517
1513
|
# Project ID of the project that contains the instance.
|
1518
1514
|
# @param [String] instance
|
1519
1515
|
# Cloud SQL instance ID. This does not include the project ID.
|
1520
|
-
# @param [Google::Apis::
|
1516
|
+
# @param [Google::Apis::SqladminV1beta4::InsertSslCertsRequest] insert_ssl_certs_request_object
|
1521
1517
|
# @param [String] fields
|
1522
1518
|
# Selector specifying which fields to include in a partial response.
|
1523
1519
|
# @param [String] quota_user
|
@@ -1527,20 +1523,20 @@ module Google
|
|
1527
1523
|
# Request-specific options
|
1528
1524
|
#
|
1529
1525
|
# @yield [result, err] Result & error if block supplied
|
1530
|
-
# @yieldparam result [Google::Apis::
|
1526
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::InsertSslCertsResponse] parsed result object
|
1531
1527
|
# @yieldparam err [StandardError] error object if request failed
|
1532
1528
|
#
|
1533
|
-
# @return [Google::Apis::
|
1529
|
+
# @return [Google::Apis::SqladminV1beta4::InsertSslCertsResponse]
|
1534
1530
|
#
|
1535
1531
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1536
1532
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1537
1533
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1538
|
-
def insert_ssl_cert(project, instance,
|
1534
|
+
def insert_ssl_cert(project, instance, insert_ssl_certs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1539
1535
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/sslCerts', options)
|
1540
|
-
command.request_representation = Google::Apis::
|
1541
|
-
command.request_object =
|
1542
|
-
command.response_representation = Google::Apis::
|
1543
|
-
command.response_class = Google::Apis::
|
1536
|
+
command.request_representation = Google::Apis::SqladminV1beta4::InsertSslCertsRequest::Representation
|
1537
|
+
command.request_object = insert_ssl_certs_request_object
|
1538
|
+
command.response_representation = Google::Apis::SqladminV1beta4::InsertSslCertsResponse::Representation
|
1539
|
+
command.response_class = Google::Apis::SqladminV1beta4::InsertSslCertsResponse
|
1544
1540
|
command.params['project'] = project unless project.nil?
|
1545
1541
|
command.params['instance'] = instance unless instance.nil?
|
1546
1542
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1562,18 +1558,18 @@ module Google
|
|
1562
1558
|
# Request-specific options
|
1563
1559
|
#
|
1564
1560
|
# @yield [result, err] Result & error if block supplied
|
1565
|
-
# @yieldparam result [Google::Apis::
|
1561
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::ListSslCertsResponse] parsed result object
|
1566
1562
|
# @yieldparam err [StandardError] error object if request failed
|
1567
1563
|
#
|
1568
|
-
# @return [Google::Apis::
|
1564
|
+
# @return [Google::Apis::SqladminV1beta4::ListSslCertsResponse]
|
1569
1565
|
#
|
1570
1566
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1571
1567
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1572
1568
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1573
1569
|
def list_ssl_certs(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
1574
1570
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/sslCerts', options)
|
1575
|
-
command.response_representation = Google::Apis::
|
1576
|
-
command.response_class = Google::Apis::
|
1571
|
+
command.response_representation = Google::Apis::SqladminV1beta4::ListSslCertsResponse::Representation
|
1572
|
+
command.response_class = Google::Apis::SqladminV1beta4::ListSslCertsResponse
|
1577
1573
|
command.params['project'] = project unless project.nil?
|
1578
1574
|
command.params['instance'] = instance unless instance.nil?
|
1579
1575
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1581,9 +1577,8 @@ module Google
|
|
1581
1577
|
execute_or_queue_command(command, &block)
|
1582
1578
|
end
|
1583
1579
|
|
1584
|
-
# Lists all available machine types (tiers) for Cloud SQL, for example,
|
1585
|
-
#
|
1586
|
-
# href="/sql/pricing">Pricing</a>.
|
1580
|
+
# Lists all available machine types (tiers) for Cloud SQL, for example, db-n1-
|
1581
|
+
# standard-1. For related information, see Pricing.
|
1587
1582
|
# @param [String] project
|
1588
1583
|
# Project ID of the project for which to list tiers.
|
1589
1584
|
# @param [String] fields
|
@@ -1595,18 +1590,18 @@ module Google
|
|
1595
1590
|
# Request-specific options
|
1596
1591
|
#
|
1597
1592
|
# @yield [result, err] Result & error if block supplied
|
1598
|
-
# @yieldparam result [Google::Apis::
|
1593
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::ListTiersResponse] parsed result object
|
1599
1594
|
# @yieldparam err [StandardError] error object if request failed
|
1600
1595
|
#
|
1601
|
-
# @return [Google::Apis::
|
1596
|
+
# @return [Google::Apis::SqladminV1beta4::ListTiersResponse]
|
1602
1597
|
#
|
1603
1598
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1604
1599
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1605
1600
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1606
1601
|
def list_tiers(project, fields: nil, quota_user: nil, options: nil, &block)
|
1607
1602
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/tiers', options)
|
1608
|
-
command.response_representation = Google::Apis::
|
1609
|
-
command.response_class = Google::Apis::
|
1603
|
+
command.response_representation = Google::Apis::SqladminV1beta4::ListTiersResponse::Representation
|
1604
|
+
command.response_class = Google::Apis::SqladminV1beta4::ListTiersResponse
|
1610
1605
|
command.params['project'] = project unless project.nil?
|
1611
1606
|
command.query['fields'] = fields unless fields.nil?
|
1612
1607
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1631,18 +1626,18 @@ module Google
|
|
1631
1626
|
# Request-specific options
|
1632
1627
|
#
|
1633
1628
|
# @yield [result, err] Result & error if block supplied
|
1634
|
-
# @yieldparam result [Google::Apis::
|
1629
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
1635
1630
|
# @yieldparam err [StandardError] error object if request failed
|
1636
1631
|
#
|
1637
|
-
# @return [Google::Apis::
|
1632
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
1638
1633
|
#
|
1639
1634
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1640
1635
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1641
1636
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1642
1637
|
def delete_user(project, instance, host: nil, name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1643
1638
|
command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}/users', options)
|
1644
|
-
command.response_representation = Google::Apis::
|
1645
|
-
command.response_class = Google::Apis::
|
1639
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1640
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1646
1641
|
command.params['project'] = project unless project.nil?
|
1647
1642
|
command.params['instance'] = instance unless instance.nil?
|
1648
1643
|
command.query['host'] = host unless host.nil?
|
@@ -1657,7 +1652,7 @@ module Google
|
|
1657
1652
|
# Project ID of the project that contains the instance.
|
1658
1653
|
# @param [String] instance
|
1659
1654
|
# Database instance ID. This does not include the project ID.
|
1660
|
-
# @param [Google::Apis::
|
1655
|
+
# @param [Google::Apis::SqladminV1beta4::User] user_object
|
1661
1656
|
# @param [String] fields
|
1662
1657
|
# Selector specifying which fields to include in a partial response.
|
1663
1658
|
# @param [String] quota_user
|
@@ -1667,20 +1662,20 @@ module Google
|
|
1667
1662
|
# Request-specific options
|
1668
1663
|
#
|
1669
1664
|
# @yield [result, err] Result & error if block supplied
|
1670
|
-
# @yieldparam result [Google::Apis::
|
1665
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
1671
1666
|
# @yieldparam err [StandardError] error object if request failed
|
1672
1667
|
#
|
1673
|
-
# @return [Google::Apis::
|
1668
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
1674
1669
|
#
|
1675
1670
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1676
1671
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1677
1672
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1678
1673
|
def insert_user(project, instance, user_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1679
1674
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/users', options)
|
1680
|
-
command.request_representation = Google::Apis::
|
1675
|
+
command.request_representation = Google::Apis::SqladminV1beta4::User::Representation
|
1681
1676
|
command.request_object = user_object
|
1682
|
-
command.response_representation = Google::Apis::
|
1683
|
-
command.response_class = Google::Apis::
|
1677
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1678
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1684
1679
|
command.params['project'] = project unless project.nil?
|
1685
1680
|
command.params['instance'] = instance unless instance.nil?
|
1686
1681
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1702,18 +1697,18 @@ module Google
|
|
1702
1697
|
# Request-specific options
|
1703
1698
|
#
|
1704
1699
|
# @yield [result, err] Result & error if block supplied
|
1705
|
-
# @yieldparam result [Google::Apis::
|
1700
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::ListUsersResponse] parsed result object
|
1706
1701
|
# @yieldparam err [StandardError] error object if request failed
|
1707
1702
|
#
|
1708
|
-
# @return [Google::Apis::
|
1703
|
+
# @return [Google::Apis::SqladminV1beta4::ListUsersResponse]
|
1709
1704
|
#
|
1710
1705
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1711
1706
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1712
1707
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1713
1708
|
def list_users(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
1714
1709
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/users', options)
|
1715
|
-
command.response_representation = Google::Apis::
|
1716
|
-
command.response_class = Google::Apis::
|
1710
|
+
command.response_representation = Google::Apis::SqladminV1beta4::ListUsersResponse::Representation
|
1711
|
+
command.response_class = Google::Apis::SqladminV1beta4::ListUsersResponse
|
1717
1712
|
command.params['project'] = project unless project.nil?
|
1718
1713
|
command.params['instance'] = instance unless instance.nil?
|
1719
1714
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1726,7 +1721,7 @@ module Google
|
|
1726
1721
|
# Project ID of the project that contains the instance.
|
1727
1722
|
# @param [String] instance
|
1728
1723
|
# Database instance ID. This does not include the project ID.
|
1729
|
-
# @param [Google::Apis::
|
1724
|
+
# @param [Google::Apis::SqladminV1beta4::User] user_object
|
1730
1725
|
# @param [String] host
|
1731
1726
|
# Optional. Host of the user in the instance.
|
1732
1727
|
# @param [String] name
|
@@ -1740,20 +1735,20 @@ module Google
|
|
1740
1735
|
# Request-specific options
|
1741
1736
|
#
|
1742
1737
|
# @yield [result, err] Result & error if block supplied
|
1743
|
-
# @yieldparam result [Google::Apis::
|
1738
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
1744
1739
|
# @yieldparam err [StandardError] error object if request failed
|
1745
1740
|
#
|
1746
|
-
# @return [Google::Apis::
|
1741
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
1747
1742
|
#
|
1748
1743
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1749
1744
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1750
1745
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1751
1746
|
def update_user(project, instance, user_object = nil, host: nil, name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1752
1747
|
command = make_simple_command(:put, 'sql/v1beta4/projects/{project}/instances/{instance}/users', options)
|
1753
|
-
command.request_representation = Google::Apis::
|
1748
|
+
command.request_representation = Google::Apis::SqladminV1beta4::User::Representation
|
1754
1749
|
command.request_object = user_object
|
1755
|
-
command.response_representation = Google::Apis::
|
1756
|
-
command.response_class = Google::Apis::
|
1750
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1751
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1757
1752
|
command.params['project'] = project unless project.nil?
|
1758
1753
|
command.params['instance'] = instance unless instance.nil?
|
1759
1754
|
command.query['host'] = host unless host.nil?
|