google-api-client 0.43.0 → 0.45.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +462 -0
- data/api_names.yaml +1 -0
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +53 -86
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
- data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
- data/generated/google/apis/accesscontextmanager_v1beta.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/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- 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_directory_v1.rb +6 -8
- data/generated/google/apis/admin_directory_v1/classes.rb +209 -242
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -39
- data/generated/google/apis/admin_directory_v1/service.rb +535 -998
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- 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/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/classes.rb +2 -2
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- 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 +2135 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +98 -61
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
- data/generated/google/apis/apigateway_v1alpha1.rb +34 -0
- data/generated/google/apis/apigateway_v1alpha1/classes.rb +633 -0
- data/generated/google/apis/apigateway_v1alpha1/representations.rb +250 -0
- data/generated/google/apis/apigateway_v1alpha1/service.rb +623 -0
- data/generated/google/apis/apigateway_v1alpha2.rb +34 -0
- data/generated/google/apis/apigateway_v1alpha2/classes.rb +633 -0
- data/generated/google/apis/apigateway_v1alpha2/representations.rb +250 -0
- data/generated/google/apis/apigateway_v1alpha2/service.rb +623 -0
- data/generated/google/apis/apigateway_v1beta.rb +34 -0
- 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/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +432 -82
- data/generated/google/apis/apigee_v1/representations.rb +139 -1
- data/generated/google/apis/apigee_v1/service.rb +158 -41
- data/generated/google/apis/appengine_v1.rb +1 -1
- 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_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1beta.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/appsmarket_v2.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +242 -337
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +458 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +230 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +403 -553
- data/generated/google/apis/bigquery_v2/representations.rb +17 -0
- data/generated/google/apis/bigquery_v2/service.rb +32 -40
- data/generated/google/apis/bigqueryconnection_v1beta1.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/bigquerydatatransfer_v1.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/bigqueryreservation_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_v1alpha2.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_v1beta1.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/bigtableadmin_v1.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_v2.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/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +433 -354
- 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_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +433 -354
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +13 -10
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +165 -116
- data/generated/google/apis/chat_v1/representations.rb +35 -0
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +132 -0
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +764 -1039
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1/service.rb +125 -167
- data/generated/google/apis/cloudasset_v1beta1.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_v1p1beta1.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_v1p4beta1.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_v1p5beta1.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/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +337 -343
- data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +268 -66
- data/generated/google/apis/cloudbuild_v1alpha1.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_v1alpha2.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/clouddebugger_v2.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/clouderrorreporting_v1beta1.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/cloudfunctions_v1.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/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +943 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +841 -62
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1233 -307
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +906 -96
- data/generated/google/apis/cloudiot_v1.rb +1 -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/cloudkms_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/cloudprofiler_v2.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/cloudresourcemanager_v1.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_v1beta1.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_v2.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_v2beta1.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/cloudscheduler_v1.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_v1beta1.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/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudsearch_v1/classes.rb +650 -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/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
- data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
- data/generated/google/apis/cloudshell_v1/service.rb +21 -25
- data/generated/google/apis/cloudshell_v1alpha1.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/cloudtasks_v2.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_v2beta2.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_v2beta3.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/cloudtrace_v1.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_v2.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_v2beta1.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/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +190 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +92 -179
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +681 -127
- data/generated/google/apis/compute_alpha/representations.rb +110 -6
- data/generated/google/apis/compute_alpha/service.rb +695 -692
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +570 -70
- data/generated/google/apis/compute_beta/representations.rb +112 -1
- data/generated/google/apis/compute_beta/service.rb +608 -605
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +977 -85
- data/generated/google/apis/compute_v1/representations.rb +372 -0
- data/generated/google/apis/compute_v1/service.rb +747 -15
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +970 -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_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1094 -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/containeranalysis_v1alpha1.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_v1beta1.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/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +5 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +107 -5
- data/generated/google/apis/content_v2_1/representations.rb +35 -0
- data/generated/google/apis/content_v2_1/service.rb +54 -3
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +389 -573
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1162 -973
- data/generated/google/apis/dataflow_v1b3/representations.rb +145 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
- data/generated/google/apis/datafusion_v1.rb +5 -8
- 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_v1beta1.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/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +60 -14
- data/generated/google/apis/dataproc_v1/representations.rb +18 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +80 -10
- data/generated/google/apis/dataproc_v1beta2/representations.rb +33 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +330 -472
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1beta1.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_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- 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_4.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/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +199 -70
- data/generated/google/apis/dialogflow_v2/representations.rb +104 -15
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +210 -78
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +104 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +500 -325
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8352 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3544 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +63 -8
- data/generated/google/apis/displayvideo_v1/representations.rb +6 -0
- data/generated/google/apis/displayvideo_v1/service.rb +47 -35
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- 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_v1beta2.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_v1dev.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/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1102 -1302
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +175 -198
- data/generated/google/apis/dns_v1/service.rb +82 -97
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
- data/generated/google/apis/dns_v1beta2/service.rb +82 -97
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/documentai_v1beta2.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/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -14
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +12 -20
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +14 -6
- 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_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +14 -6
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +154 -173
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +334 -193
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/firebase_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 +8 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +186 -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/firebaseml_v1beta2.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/firebaserules_v1.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/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +402 -498
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta2.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/fitness_v1.rb +85 -0
- 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 +626 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- 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_management_v1management.rb +2 -3
- 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_v1.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +76 -83
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/games_v1/service.rb +84 -90
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +7 -0
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/genomics_v1.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_v1alpha2.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_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -275
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
- data/generated/google/apis/gmail_v1.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/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- 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/healthcare_v1.rb +1 -1
- 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 +840 -854
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1833 -1102
- data/generated/google/apis/healthcare_v1beta1/representations.rb +474 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +2476 -1281
- data/generated/google/apis/homegraph_v1.rb +4 -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/iam_v1.rb +5 -2
- 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 +431 -556
- data/generated/google/apis/iamcredentials_v1.rb +4 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
- data/generated/google/apis/iap_v1.rb +1 -1
- 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_v1beta1.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/indexing_v3.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +786 -1086
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +637 -856
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +762 -1023
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/kgsearch_v1.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/licensing_v1.rb +4 -3
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +55 -85
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/localservices_v1.rb +31 -0
- data/generated/google/apis/localservices_v1/classes.rb +419 -0
- data/generated/google/apis/localservices_v1/representations.rb +172 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +230 -227
- data/generated/google/apis/logging_v2/representations.rb +47 -0
- data/generated/google/apis/logging_v2/service.rb +2056 -673
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +8 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +8 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
- data/generated/google/apis/manufacturers_v1.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/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +170 -249
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
- data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +956 -1144
- data/generated/google/apis/ml_v1/representations.rb +65 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/monitoring_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_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +232 -328
- data/generated/google/apis/monitoring_v3/service.rb +121 -140
- data/generated/google/apis/networkmanagement_v1.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_v1beta1.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/osconfig_v1.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 +22 -27
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
- data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
- data/generated/google/apis/oslogin_v1.rb +1 -1
- 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_v1alpha.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_v1beta.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/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +121 -12
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +47 -45
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- 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 +479 -0
- data/generated/google/apis/pubsub_v1.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 +220 -246
- data/generated/google/apis/pubsub_v1beta1a.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_v1beta2.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/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
- data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
- data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +228 -228
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
- data/generated/google/apis/redis_v1.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 +93 -110
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +95 -517
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -139
- data/generated/google/apis/redis_v1beta1/service.rb +93 -110
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +12 -135
- 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_v1alpha1.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_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +3 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +302 -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/safebrowsing_v4.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/sasportal_v1alpha1.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 +479 -0
- data/generated/google/apis/script_v1.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/searchconsole_v1.rb +7 -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/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +379 -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_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +218 -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/securitycenter_v1.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_v1beta1.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_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- 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/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +30 -60
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +31 -29
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +525 -641
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +281 -325
- data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
- data/generated/google/apis/servicedirectory_v1beta1.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/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1263 -2135
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
- data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +93 -57
- data/generated/google/apis/servicenetworking_v1/representations.rb +52 -1
- data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
- data/generated/google/apis/serviceusage_v1/service.rb +5 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +3933 -5008
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_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/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
- data/generated/google/apis/{accessapproval_v1beta1 → smartdevicemanagement_v1}/representations.rb +44 -73
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/spanner_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/speech_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_v1p1beta1.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_v2beta1.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/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +469 -452
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +122 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +8 -7
- data/generated/google/apis/storage_v1/representations.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +261 -339
- data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/sts_v1.rb +32 -0
- data/generated/google/apis/sts_v1/classes.rb +120 -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_v1beta.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +194 -0
- data/generated/google/apis/{oauth2_v2 → sts_v1beta}/representations.rb +14 -21
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/service.rb +2 -2
- data/generated/google/apis/tasks_v1.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/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +317 -382
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/texttospeech_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_v1beta1.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/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +54 -0
- data/generated/google/apis/tpu_v1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +54 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
- data/generated/google/apis/trafficdirector_v2.rb +34 -0
- 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/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +148 -175
- data/generated/google/apis/translate_v3/service.rb +122 -151
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -151
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +80 -103
- data/generated/google/apis/vault_v1/service.rb +31 -37
- data/generated/google/apis/vectortile_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/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
- data/generated/google/apis/videointelligence_v1/service.rb +71 -48
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +2 -4
- 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.rb +34 -0
- 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/workflows_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 +437 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.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 +0 -117
- data/google-api-client.gemspec +2 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +106 -40
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- 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/memcache_v1/classes.rb +0 -1157
- data/generated/google/apis/oauth2_v2.rb +0 -40
- data/generated/google/apis/oauth2_v2/classes.rb +0 -165
- data/generated/google/apis/oauth2_v2/service.rb +0 -158
- data/generated/google/apis/plus_v1.rb +0 -43
- 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/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.rb +0 -40
- 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
|
@@ -47,9 +47,8 @@ module Google
|
|
|
47
47
|
@batch_path = 'batch'
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
-
# Gets the latest state of a long-running operation.
|
|
51
|
-
#
|
|
52
|
-
# service.
|
|
50
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
|
51
|
+
# to poll the operation result at intervals as recommended by the API service.
|
|
53
52
|
# @param [String] name
|
|
54
53
|
# The name of the operation resource.
|
|
55
54
|
# @param [String] fields
|
|
@@ -79,15 +78,14 @@ module Google
|
|
|
79
78
|
execute_or_queue_command(command, &block)
|
|
80
79
|
end
|
|
81
80
|
|
|
82
|
-
# Lists operations that match the specified filter in the request. If the
|
|
83
|
-
#
|
|
84
|
-
#
|
|
85
|
-
#
|
|
86
|
-
#
|
|
87
|
-
#
|
|
88
|
-
#
|
|
89
|
-
#
|
|
90
|
-
# is the parent resource, without the operations collection id.
|
|
81
|
+
# Lists operations that match the specified filter in the request. If the server
|
|
82
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
|
83
|
+
# binding allows API services to override the binding to use different resource
|
|
84
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
|
85
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
|
86
|
+
# service configuration. For backwards compatibility, the default name includes
|
|
87
|
+
# the operations collection id, however overriding users must ensure the name
|
|
88
|
+
# binding is the parent resource, without the operations collection id.
|
|
91
89
|
# @param [String] filter
|
|
92
90
|
# The standard list filter.
|
|
93
91
|
# @param [String] name
|
|
@@ -126,9 +124,8 @@ module Google
|
|
|
126
124
|
execute_or_queue_command(command, &block)
|
|
127
125
|
end
|
|
128
126
|
|
|
129
|
-
# Gets the latest state of a long-running operation.
|
|
130
|
-
#
|
|
131
|
-
# service.
|
|
127
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
|
128
|
+
# to poll the operation result at intervals as recommended by the API service.
|
|
132
129
|
# @param [String] name
|
|
133
130
|
# The name of the operation resource.
|
|
134
131
|
# @param [String] fields
|
|
@@ -158,15 +155,14 @@ module Google
|
|
|
158
155
|
execute_or_queue_command(command, &block)
|
|
159
156
|
end
|
|
160
157
|
|
|
161
|
-
# Lists operations that match the specified filter in the request. If the
|
|
162
|
-
#
|
|
163
|
-
#
|
|
164
|
-
#
|
|
165
|
-
#
|
|
166
|
-
#
|
|
167
|
-
#
|
|
168
|
-
#
|
|
169
|
-
# is the parent resource, without the operations collection id.
|
|
158
|
+
# Lists operations that match the specified filter in the request. If the server
|
|
159
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
|
160
|
+
# binding allows API services to override the binding to use different resource
|
|
161
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
|
162
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
|
163
|
+
# service configuration. For backwards compatibility, the default name includes
|
|
164
|
+
# the operations collection id, however overriding users must ensure the name
|
|
165
|
+
# binding is the parent resource, without the operations collection id.
|
|
170
166
|
# @param [String] name
|
|
171
167
|
# The name of the operation's parent resource.
|
|
172
168
|
# @param [String] filter
|
|
@@ -205,12 +201,11 @@ module Google
|
|
|
205
201
|
execute_or_queue_command(command, &block)
|
|
206
202
|
end
|
|
207
203
|
|
|
208
|
-
# Performs asynchronous speech recognition: receive results via the
|
|
209
|
-
#
|
|
210
|
-
#
|
|
211
|
-
#
|
|
212
|
-
#
|
|
213
|
-
# [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize).
|
|
204
|
+
# Performs asynchronous speech recognition: receive results via the google.
|
|
205
|
+
# longrunning.Operations interface. Returns either an `Operation.error` or an `
|
|
206
|
+
# Operation.response` which contains a `LongRunningRecognizeResponse` message.
|
|
207
|
+
# For more information on asynchronous speech recognition, see the [how-to](
|
|
208
|
+
# https://cloud.google.com/speech-to-text/docs/async-recognize).
|
|
214
209
|
# @param [Google::Apis::SpeechV1p1beta1::LongRunningRecognizeRequest] long_running_recognize_request_object
|
|
215
210
|
# @param [String] fields
|
|
216
211
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -240,8 +235,8 @@ module Google
|
|
|
240
235
|
execute_or_queue_command(command, &block)
|
|
241
236
|
end
|
|
242
237
|
|
|
243
|
-
# Performs synchronous speech recognition: receive results after all audio
|
|
244
|
-
#
|
|
238
|
+
# Performs synchronous speech recognition: receive results after all audio has
|
|
239
|
+
# been sent and processed.
|
|
245
240
|
# @param [Google::Apis::SpeechV1p1beta1::RecognizeRequest] recognize_request_object
|
|
246
241
|
# @param [String] fields
|
|
247
242
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
|
26
26
|
module SpeechV2beta1
|
|
27
27
|
VERSION = 'V2beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200824'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -48,8 +48,8 @@ module Google
|
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
# Describes the progress of a long-running `LongRunningRecognize` call. It is
|
|
51
|
-
# included in the `metadata` field of the `Operation` returned by the
|
|
52
|
-
#
|
|
51
|
+
# included in the `metadata` field of the `Operation` returned by the `
|
|
52
|
+
# GetOperation` call of the `google::longrunning::Operations` service.
|
|
53
53
|
class LongRunningRecognizeMetadata
|
|
54
54
|
include Google::Apis::Core::Hashable
|
|
55
55
|
|
|
@@ -59,8 +59,7 @@ module Google
|
|
|
59
59
|
attr_accessor :last_update_time
|
|
60
60
|
|
|
61
61
|
# Output only. Approximate percentage of audio processed thus far. Guaranteed to
|
|
62
|
-
# be 100
|
|
63
|
-
# when the audio is fully processed and the results are available.
|
|
62
|
+
# be 100 when the audio is fully processed and the results are available.
|
|
64
63
|
# Corresponds to the JSON property `progressPercent`
|
|
65
64
|
# @return [Fixnum]
|
|
66
65
|
attr_accessor :progress_percent
|
|
@@ -70,8 +69,8 @@ module Google
|
|
|
70
69
|
# @return [String]
|
|
71
70
|
attr_accessor :start_time
|
|
72
71
|
|
|
73
|
-
# The URI of the audio file being transcribed. Empty if the audio was sent
|
|
74
|
-
#
|
|
72
|
+
# The URI of the audio file being transcribed. Empty if the audio was sent as
|
|
73
|
+
# byte content.
|
|
75
74
|
# Corresponds to the JSON property `uri`
|
|
76
75
|
# @return [String]
|
|
77
76
|
attr_accessor :uri
|
|
@@ -118,47 +117,45 @@ module Google
|
|
|
118
117
|
class Operation
|
|
119
118
|
include Google::Apis::Core::Hashable
|
|
120
119
|
|
|
121
|
-
# If the value is `false`, it means the operation is still in progress.
|
|
122
|
-
#
|
|
123
|
-
# available.
|
|
120
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
|
121
|
+
# , the operation is completed, and either `error` or `response` is available.
|
|
124
122
|
# Corresponds to the JSON property `done`
|
|
125
123
|
# @return [Boolean]
|
|
126
124
|
attr_accessor :done
|
|
127
125
|
alias_method :done?, :done
|
|
128
126
|
|
|
129
|
-
# The `Status` type defines a logical error model that is suitable for
|
|
130
|
-
#
|
|
131
|
-
#
|
|
132
|
-
#
|
|
133
|
-
#
|
|
134
|
-
#
|
|
127
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
128
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
129
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
130
|
+
# data: error code, error message, and error details. You can find out more
|
|
131
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
132
|
+
# //cloud.google.com/apis/design/errors).
|
|
135
133
|
# Corresponds to the JSON property `error`
|
|
136
134
|
# @return [Google::Apis::SpeechV2beta1::Status]
|
|
137
135
|
attr_accessor :error
|
|
138
136
|
|
|
139
|
-
# Service-specific metadata associated with the operation.
|
|
140
|
-
#
|
|
141
|
-
#
|
|
142
|
-
#
|
|
137
|
+
# Service-specific metadata associated with the operation. It typically contains
|
|
138
|
+
# progress information and common metadata such as create time. Some services
|
|
139
|
+
# might not provide such metadata. Any method that returns a long-running
|
|
140
|
+
# operation should document the metadata type, if any.
|
|
143
141
|
# Corresponds to the JSON property `metadata`
|
|
144
142
|
# @return [Hash<String,Object>]
|
|
145
143
|
attr_accessor :metadata
|
|
146
144
|
|
|
147
145
|
# The server-assigned name, which is only unique within the same service that
|
|
148
|
-
# originally returns it. If you use the default HTTP mapping, the
|
|
149
|
-
#
|
|
146
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
|
147
|
+
# be a resource name ending with `operations/`unique_id``.
|
|
150
148
|
# Corresponds to the JSON property `name`
|
|
151
149
|
# @return [String]
|
|
152
150
|
attr_accessor :name
|
|
153
151
|
|
|
154
|
-
# The normal response of the operation in case of success.
|
|
155
|
-
# method returns no data on success, such as `Delete`, the response is
|
|
156
|
-
#
|
|
157
|
-
#
|
|
158
|
-
#
|
|
159
|
-
#
|
|
160
|
-
#
|
|
161
|
-
# `TakeSnapshotResponse`.
|
|
152
|
+
# The normal response of the operation in case of success. If the original
|
|
153
|
+
# method returns no data on success, such as `Delete`, the response is `google.
|
|
154
|
+
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
|
155
|
+
# the response should be the resource. For other methods, the response should
|
|
156
|
+
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
|
157
|
+
# example, if the original method name is `TakeSnapshot()`, the inferred
|
|
158
|
+
# response type is `TakeSnapshotResponse`.
|
|
162
159
|
# Corresponds to the JSON property `response`
|
|
163
160
|
# @return [Hash<String,Object>]
|
|
164
161
|
attr_accessor :response
|
|
@@ -184,10 +181,10 @@ module Google
|
|
|
184
181
|
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
|
185
182
|
# indicates an estimated greater likelihood that the recognized words are
|
|
186
183
|
# correct. This field is set only for the top alternative of a non-streaming
|
|
187
|
-
# result or, of a streaming result where `is_final=true`.
|
|
188
|
-
#
|
|
189
|
-
#
|
|
190
|
-
#
|
|
184
|
+
# result or, of a streaming result where `is_final=true`. This field is not
|
|
185
|
+
# guaranteed to be accurate and users should not rely on it to be always
|
|
186
|
+
# provided. The default of 0.0 is a sentinel value indicating `confidence` was
|
|
187
|
+
# not set.
|
|
191
188
|
# Corresponds to the JSON property `confidence`
|
|
192
189
|
# @return [Float]
|
|
193
190
|
attr_accessor :confidence
|
|
@@ -220,26 +217,24 @@ module Google
|
|
|
220
217
|
class SpeechRecognitionResult
|
|
221
218
|
include Google::Apis::Core::Hashable
|
|
222
219
|
|
|
223
|
-
# Output only. May contain one or more recognition hypotheses (up to the
|
|
224
|
-
#
|
|
225
|
-
#
|
|
226
|
-
#
|
|
220
|
+
# Output only. May contain one or more recognition hypotheses (up to the maximum
|
|
221
|
+
# specified in `max_alternatives`). These alternatives are ordered in terms of
|
|
222
|
+
# accuracy, with the top (first) alternative being the most probable, as ranked
|
|
223
|
+
# by the recognizer.
|
|
227
224
|
# Corresponds to the JSON property `alternatives`
|
|
228
225
|
# @return [Array<Google::Apis::SpeechV2beta1::SpeechRecognitionAlternative>]
|
|
229
226
|
attr_accessor :alternatives
|
|
230
227
|
|
|
231
228
|
# Output only. For multi-channel audio, this is the channel number corresponding
|
|
232
|
-
# to the
|
|
233
|
-
#
|
|
234
|
-
# For `audio_channel_count` = N, its output values can range from `1` to `N`.
|
|
229
|
+
# to the recognized result for the audio from that channel. For `
|
|
230
|
+
# audio_channel_count` = N, its output values can range from `1` to `N`.
|
|
235
231
|
# Corresponds to the JSON property `channelTag`
|
|
236
232
|
# @return [Fixnum]
|
|
237
233
|
attr_accessor :channel_tag
|
|
238
234
|
|
|
239
|
-
# Output only. The
|
|
240
|
-
#
|
|
241
|
-
#
|
|
242
|
-
# likelihood of being spoken in the audio.
|
|
235
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
|
236
|
+
# language tag of the language in this result. This language code was detected
|
|
237
|
+
# to have the most likelihood of being spoken in the audio.
|
|
243
238
|
# Corresponds to the JSON property `languageCode`
|
|
244
239
|
# @return [String]
|
|
245
240
|
attr_accessor :language_code
|
|
@@ -256,12 +251,12 @@ module Google
|
|
|
256
251
|
end
|
|
257
252
|
end
|
|
258
253
|
|
|
259
|
-
# The `Status` type defines a logical error model that is suitable for
|
|
260
|
-
#
|
|
261
|
-
#
|
|
262
|
-
#
|
|
263
|
-
#
|
|
264
|
-
#
|
|
254
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
255
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
256
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
257
|
+
# data: error code, error message, and error details. You can find out more
|
|
258
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
259
|
+
# //cloud.google.com/apis/design/errors).
|
|
265
260
|
class Status
|
|
266
261
|
include Google::Apis::Core::Hashable
|
|
267
262
|
|
|
@@ -270,15 +265,15 @@ module Google
|
|
|
270
265
|
# @return [Fixnum]
|
|
271
266
|
attr_accessor :code
|
|
272
267
|
|
|
273
|
-
# A list of messages that carry the error details.
|
|
268
|
+
# A list of messages that carry the error details. There is a common set of
|
|
274
269
|
# message types for APIs to use.
|
|
275
270
|
# Corresponds to the JSON property `details`
|
|
276
271
|
# @return [Array<Hash<String,Object>>]
|
|
277
272
|
attr_accessor :details
|
|
278
273
|
|
|
279
|
-
# A developer-facing error message, which should be in English. Any
|
|
280
|
-
#
|
|
281
|
-
#
|
|
274
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
|
275
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
|
276
|
+
# field, or localized by the client.
|
|
282
277
|
# Corresponds to the JSON property `message`
|
|
283
278
|
# @return [String]
|
|
284
279
|
attr_accessor :message
|
|
@@ -302,40 +297,35 @@ module Google
|
|
|
302
297
|
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
|
303
298
|
# indicates an estimated greater likelihood that the recognized words are
|
|
304
299
|
# correct. This field is set only for the top alternative of a non-streaming
|
|
305
|
-
# result or, of a streaming result where `is_final=true`.
|
|
306
|
-
#
|
|
307
|
-
#
|
|
308
|
-
#
|
|
300
|
+
# result or, of a streaming result where `is_final=true`. This field is not
|
|
301
|
+
# guaranteed to be accurate and users should not rely on it to be always
|
|
302
|
+
# provided. The default of 0.0 is a sentinel value indicating `confidence` was
|
|
303
|
+
# not set.
|
|
309
304
|
# Corresponds to the JSON property `confidence`
|
|
310
305
|
# @return [Float]
|
|
311
306
|
attr_accessor :confidence
|
|
312
307
|
|
|
313
|
-
# Output only. Time offset relative to the beginning of the audio,
|
|
314
|
-
#
|
|
315
|
-
#
|
|
316
|
-
#
|
|
317
|
-
# This is an experimental feature and the accuracy of the time offset can
|
|
318
|
-
# vary.
|
|
308
|
+
# Output only. Time offset relative to the beginning of the audio, and
|
|
309
|
+
# corresponding to the end of the spoken word. This field is only set if `
|
|
310
|
+
# enable_word_time_offsets=true` and only in the top hypothesis. This is an
|
|
311
|
+
# experimental feature and the accuracy of the time offset can vary.
|
|
319
312
|
# Corresponds to the JSON property `endOffset`
|
|
320
313
|
# @return [String]
|
|
321
314
|
attr_accessor :end_offset
|
|
322
315
|
|
|
323
|
-
# Output only. A distinct integer value is assigned for every speaker within
|
|
324
|
-
#
|
|
325
|
-
#
|
|
326
|
-
#
|
|
327
|
-
#
|
|
328
|
-
# top alternative.
|
|
316
|
+
# Output only. A distinct integer value is assigned for every speaker within the
|
|
317
|
+
# audio. This field specifies which one of those speakers was detected to have
|
|
318
|
+
# spoken this word. Value ranges from `1` to `diarization_config.
|
|
319
|
+
# max_speaker_count` . `speaker_tag` is set if `diarization_config.
|
|
320
|
+
# enable_speaker_diarization` = `true` and only in the top alternative.
|
|
329
321
|
# Corresponds to the JSON property `speakerTag`
|
|
330
322
|
# @return [Fixnum]
|
|
331
323
|
attr_accessor :speaker_tag
|
|
332
324
|
|
|
333
|
-
# Output only. Time offset relative to the beginning of the audio,
|
|
334
|
-
#
|
|
335
|
-
#
|
|
336
|
-
#
|
|
337
|
-
# This is an experimental feature and the accuracy of the time offset can
|
|
338
|
-
# vary.
|
|
325
|
+
# Output only. Time offset relative to the beginning of the audio, and
|
|
326
|
+
# corresponding to the start of the spoken word. This field is only set if `
|
|
327
|
+
# enable_word_time_offsets=true` and only in the top hypothesis. This is an
|
|
328
|
+
# experimental feature and the accuracy of the time offset can vary.
|
|
339
329
|
# Corresponds to the JSON property `startOffset`
|
|
340
330
|
# @return [String]
|
|
341
331
|
attr_accessor :start_offset
|
|
@@ -47,9 +47,8 @@ module Google
|
|
|
47
47
|
@batch_path = 'batch'
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
-
# Gets the latest state of a long-running operation.
|
|
51
|
-
#
|
|
52
|
-
# service.
|
|
50
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
|
51
|
+
# to poll the operation result at intervals as recommended by the API service.
|
|
53
52
|
# @param [String] name
|
|
54
53
|
# The name of the operation resource.
|
|
55
54
|
# @param [String] fields
|
|
@@ -79,15 +78,14 @@ module Google
|
|
|
79
78
|
execute_or_queue_command(command, &block)
|
|
80
79
|
end
|
|
81
80
|
|
|
82
|
-
# Lists operations that match the specified filter in the request. If the
|
|
83
|
-
#
|
|
84
|
-
#
|
|
85
|
-
#
|
|
86
|
-
#
|
|
87
|
-
#
|
|
88
|
-
#
|
|
89
|
-
#
|
|
90
|
-
# is the parent resource, without the operations collection id.
|
|
81
|
+
# Lists operations that match the specified filter in the request. If the server
|
|
82
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
|
83
|
+
# binding allows API services to override the binding to use different resource
|
|
84
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
|
85
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
|
86
|
+
# service configuration. For backwards compatibility, the default name includes
|
|
87
|
+
# the operations collection id, however overriding users must ensure the name
|
|
88
|
+
# binding is the parent resource, without the operations collection id.
|
|
91
89
|
# @param [String] name
|
|
92
90
|
# The name of the operation's parent resource.
|
|
93
91
|
# @param [String] filter
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
|
-
require 'google/apis/
|
|
16
|
-
require 'google/apis/
|
|
17
|
-
require 'google/apis/
|
|
15
|
+
require 'google/apis/sqladmin_v1beta4/service.rb'
|
|
16
|
+
require 'google/apis/sqladmin_v1beta4/classes.rb'
|
|
17
|
+
require 'google/apis/sqladmin_v1beta4/representations.rb'
|
|
18
18
|
|
|
19
19
|
module Google
|
|
20
20
|
module Apis
|
|
@@ -23,9 +23,9 @@ module Google
|
|
|
23
23
|
# API for Cloud SQL database instance management
|
|
24
24
|
#
|
|
25
25
|
# @see https://developers.google.com/cloud-sql/
|
|
26
|
-
module
|
|
26
|
+
module SqladminV1beta4
|
|
27
27
|
VERSION = 'V1beta4'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200919'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -20,20 +20,19 @@ require 'google/apis/errors'
|
|
|
20
20
|
|
|
21
21
|
module Google
|
|
22
22
|
module Apis
|
|
23
|
-
module
|
|
23
|
+
module SqladminV1beta4
|
|
24
24
|
|
|
25
25
|
# An entry for an Access Control list.
|
|
26
26
|
class AclEntry
|
|
27
27
|
include Google::Apis::Core::Hashable
|
|
28
28
|
|
|
29
|
-
# The time when this access control entry expires in
|
|
30
|
-
#
|
|
31
|
-
# <b>2012-11-15T16:19:00.094Z</b>.
|
|
29
|
+
# The time when this access control entry expires in RFC 3339 format, for
|
|
30
|
+
# example *2012-11-15T16:19:00.094Z*.
|
|
32
31
|
# Corresponds to the JSON property `expirationTime`
|
|
33
32
|
# @return [String]
|
|
34
33
|
attr_accessor :expiration_time
|
|
35
34
|
|
|
36
|
-
# This is always
|
|
35
|
+
# This is always *sql#aclEntry*.
|
|
37
36
|
# Corresponds to the JSON property `kind`
|
|
38
37
|
# @return [String]
|
|
39
38
|
attr_accessor :kind
|
|
@@ -43,7 +42,7 @@ module Google
|
|
|
43
42
|
# @return [String]
|
|
44
43
|
attr_accessor :name
|
|
45
44
|
|
|
46
|
-
# The
|
|
45
|
+
# The allowlisted value for the access control list.
|
|
47
46
|
# Corresponds to the JSON property `value`
|
|
48
47
|
# @return [String]
|
|
49
48
|
attr_accessor :value
|
|
@@ -103,7 +102,7 @@ module Google
|
|
|
103
102
|
attr_accessor :enabled
|
|
104
103
|
alias_method :enabled?, :enabled
|
|
105
104
|
|
|
106
|
-
# This is always
|
|
105
|
+
# This is always *sql#backupConfiguration*.
|
|
107
106
|
# Corresponds to the JSON property `kind`
|
|
108
107
|
# @return [String]
|
|
109
108
|
attr_accessor :kind
|
|
@@ -125,8 +124,8 @@ module Google
|
|
|
125
124
|
attr_accessor :replication_log_archiving_enabled
|
|
126
125
|
alias_method :replication_log_archiving_enabled?, :replication_log_archiving_enabled
|
|
127
126
|
|
|
128
|
-
# Start time for the daily backup configuration in UTC timezone in the 24
|
|
129
|
-
#
|
|
127
|
+
# Start time for the daily backup configuration in UTC timezone in the 24 hour
|
|
128
|
+
# format - *HH:MM*.
|
|
130
129
|
# Corresponds to the JSON property `startTime`
|
|
131
130
|
# @return [String]
|
|
132
131
|
attr_accessor :start_time
|
|
@@ -163,31 +162,29 @@ module Google
|
|
|
163
162
|
|
|
164
163
|
# Disk encryption configuration for an instance.
|
|
165
164
|
# Corresponds to the JSON property `diskEncryptionConfiguration`
|
|
166
|
-
# @return [Google::Apis::
|
|
165
|
+
# @return [Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration]
|
|
167
166
|
attr_accessor :disk_encryption_configuration
|
|
168
167
|
|
|
169
168
|
# Disk encryption status for an instance.
|
|
170
169
|
# Corresponds to the JSON property `diskEncryptionStatus`
|
|
171
|
-
# @return [Google::Apis::
|
|
170
|
+
# @return [Google::Apis::SqladminV1beta4::DiskEncryptionStatus]
|
|
172
171
|
attr_accessor :disk_encryption_status
|
|
173
172
|
|
|
174
|
-
# The time the backup operation completed in UTC timezone in
|
|
175
|
-
#
|
|
176
|
-
# <b>2012-11-15T16:19:00.094Z</b>.
|
|
173
|
+
# The time the backup operation completed in UTC timezone in RFC 3339 format,
|
|
174
|
+
# for example *2012-11-15T16:19:00.094Z*.
|
|
177
175
|
# Corresponds to the JSON property `endTime`
|
|
178
176
|
# @return [String]
|
|
179
177
|
attr_accessor :end_time
|
|
180
178
|
|
|
181
|
-
# The time the run was enqueued in UTC timezone in
|
|
182
|
-
#
|
|
183
|
-
# <b>2012-11-15T16:19:00.094Z</b>.
|
|
179
|
+
# The time the run was enqueued in UTC timezone in RFC 3339 format, for example *
|
|
180
|
+
# 2012-11-15T16:19:00.094Z*.
|
|
184
181
|
# Corresponds to the JSON property `enqueuedTime`
|
|
185
182
|
# @return [String]
|
|
186
183
|
attr_accessor :enqueued_time
|
|
187
184
|
|
|
188
185
|
# Database instance operation error.
|
|
189
186
|
# Corresponds to the JSON property `error`
|
|
190
|
-
# @return [Google::Apis::
|
|
187
|
+
# @return [Google::Apis::SqladminV1beta4::OperationError]
|
|
191
188
|
attr_accessor :error
|
|
192
189
|
|
|
193
190
|
# The identifier for this backup run. Unique only for a specific Cloud SQL
|
|
@@ -201,7 +198,7 @@ module Google
|
|
|
201
198
|
# @return [String]
|
|
202
199
|
attr_accessor :instance
|
|
203
200
|
|
|
204
|
-
# This is always
|
|
201
|
+
# This is always *sql#backupRun*.
|
|
205
202
|
# Corresponds to the JSON property `kind`
|
|
206
203
|
# @return [String]
|
|
207
204
|
attr_accessor :kind
|
|
@@ -216,9 +213,8 @@ module Google
|
|
|
216
213
|
# @return [String]
|
|
217
214
|
attr_accessor :self_link
|
|
218
215
|
|
|
219
|
-
# The time the backup operation actually started in UTC timezone in
|
|
220
|
-
#
|
|
221
|
-
# <b>2012-11-15T16:19:00.094Z</b>.
|
|
216
|
+
# The time the backup operation actually started in UTC timezone in RFC 3339
|
|
217
|
+
# format, for example *2012-11-15T16:19:00.094Z*.
|
|
222
218
|
# Corresponds to the JSON property `startTime`
|
|
223
219
|
# @return [String]
|
|
224
220
|
attr_accessor :start_time
|
|
@@ -233,9 +229,8 @@ module Google
|
|
|
233
229
|
# @return [String]
|
|
234
230
|
attr_accessor :type
|
|
235
231
|
|
|
236
|
-
# The start time of the backup window during which this the backup was
|
|
237
|
-
#
|
|
238
|
-
# format, for example <b>2012-11-15T16:19:00.094Z</b>.
|
|
232
|
+
# The start time of the backup window during which this the backup was attempted
|
|
233
|
+
# in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.
|
|
239
234
|
# Corresponds to the JSON property `windowStartTime`
|
|
240
235
|
# @return [String]
|
|
241
236
|
attr_accessor :window_start_time
|
|
@@ -266,21 +261,21 @@ module Google
|
|
|
266
261
|
end
|
|
267
262
|
|
|
268
263
|
# Backup run list results.
|
|
269
|
-
class
|
|
264
|
+
class ListBackupRunsResponse
|
|
270
265
|
include Google::Apis::Core::Hashable
|
|
271
266
|
|
|
272
267
|
# A list of backup runs in reverse chronological order of the enqueued time.
|
|
273
268
|
# Corresponds to the JSON property `items`
|
|
274
|
-
# @return [Array<Google::Apis::
|
|
269
|
+
# @return [Array<Google::Apis::SqladminV1beta4::BackupRun>]
|
|
275
270
|
attr_accessor :items
|
|
276
271
|
|
|
277
|
-
# This is always
|
|
272
|
+
# This is always *sql#backupRunsList*.
|
|
278
273
|
# Corresponds to the JSON property `kind`
|
|
279
274
|
# @return [String]
|
|
280
275
|
attr_accessor :kind
|
|
281
276
|
|
|
282
|
-
# The continuation token, used to page through large result sets. Provide
|
|
283
|
-
#
|
|
277
|
+
# The continuation token, used to page through large result sets. Provide this
|
|
278
|
+
# value in a subsequent request to return the next page of results.
|
|
284
279
|
# Corresponds to the JSON property `nextPageToken`
|
|
285
280
|
# @return [String]
|
|
286
281
|
attr_accessor :next_page_token
|
|
@@ -311,7 +306,7 @@ module Google
|
|
|
311
306
|
# @return [Fixnum]
|
|
312
307
|
attr_accessor :bin_log_position
|
|
313
308
|
|
|
314
|
-
# This is always
|
|
309
|
+
# This is always *sql#binLogCoordinates*.
|
|
315
310
|
# Corresponds to the JSON property `kind`
|
|
316
311
|
# @return [String]
|
|
317
312
|
attr_accessor :kind
|
|
@@ -334,7 +329,7 @@ module Google
|
|
|
334
329
|
|
|
335
330
|
# Binary log coordinates.
|
|
336
331
|
# Corresponds to the JSON property `binLogCoordinates`
|
|
337
|
-
# @return [Google::Apis::
|
|
332
|
+
# @return [Google::Apis::SqladminV1beta4::BinLogCoordinates]
|
|
338
333
|
attr_accessor :bin_log_coordinates
|
|
339
334
|
|
|
340
335
|
# Name of the Cloud SQL instance to be created as a clone.
|
|
@@ -342,7 +337,7 @@ module Google
|
|
|
342
337
|
# @return [String]
|
|
343
338
|
attr_accessor :destination_instance_name
|
|
344
339
|
|
|
345
|
-
# This is always
|
|
340
|
+
# This is always *sql#cloneContext*.
|
|
346
341
|
# Corresponds to the JSON property `kind`
|
|
347
342
|
# @return [String]
|
|
348
343
|
attr_accessor :kind
|
|
@@ -385,8 +380,7 @@ module Google
|
|
|
385
380
|
# @return [String]
|
|
386
381
|
attr_accessor :collation
|
|
387
382
|
|
|
388
|
-
# This field is deprecated and will be removed from a future version of the
|
|
389
|
-
# API.
|
|
383
|
+
# This field is deprecated and will be removed from a future version of the API.
|
|
390
384
|
# Corresponds to the JSON property `etag`
|
|
391
385
|
# @return [String]
|
|
392
386
|
attr_accessor :etag
|
|
@@ -396,13 +390,13 @@ module Google
|
|
|
396
390
|
# @return [String]
|
|
397
391
|
attr_accessor :instance
|
|
398
392
|
|
|
399
|
-
# This is always
|
|
393
|
+
# This is always *sql#database*.
|
|
400
394
|
# Corresponds to the JSON property `kind`
|
|
401
395
|
# @return [String]
|
|
402
396
|
attr_accessor :kind
|
|
403
397
|
|
|
404
|
-
# The name of the database in the Cloud SQL instance. This does not include
|
|
405
|
-
#
|
|
398
|
+
# The name of the database in the Cloud SQL instance. This does not include the
|
|
399
|
+
# project ID or instance name.
|
|
406
400
|
# Corresponds to the JSON property `name`
|
|
407
401
|
# @return [String]
|
|
408
402
|
attr_accessor :name
|
|
@@ -420,7 +414,7 @@ module Google
|
|
|
420
414
|
|
|
421
415
|
# Represents a Sql Server database on the Cloud SQL instance.
|
|
422
416
|
# Corresponds to the JSON property `sqlserverDatabaseDetails`
|
|
423
|
-
# @return [Google::Apis::
|
|
417
|
+
# @return [Google::Apis::SqladminV1beta4::SqlServerDatabaseDetails]
|
|
424
418
|
attr_accessor :sqlserver_database_details
|
|
425
419
|
|
|
426
420
|
def initialize(**args)
|
|
@@ -445,18 +439,16 @@ module Google
|
|
|
445
439
|
class DatabaseFlags
|
|
446
440
|
include Google::Apis::Core::Hashable
|
|
447
441
|
|
|
448
|
-
# The name of the flag. These flags are passed at instance startup, so
|
|
449
|
-
#
|
|
450
|
-
#
|
|
451
|
-
#
|
|
452
|
-
# SQL documentation.
|
|
442
|
+
# The name of the flag. These flags are passed at instance startup, so include
|
|
443
|
+
# both server options and system variables for MySQL. Flags are specified with
|
|
444
|
+
# underscores, not hyphens. For more information, see Configuring Database Flags
|
|
445
|
+
# in the Cloud SQL documentation.
|
|
453
446
|
# Corresponds to the JSON property `name`
|
|
454
447
|
# @return [String]
|
|
455
448
|
attr_accessor :name
|
|
456
449
|
|
|
457
|
-
# The value of the flag. Booleans
|
|
458
|
-
#
|
|
459
|
-
# doesn't take a value.
|
|
450
|
+
# The value of the flag. Booleans are set to *on* for true and *off* for false.
|
|
451
|
+
# This field must be omitted if the flag doesn't take a value.
|
|
460
452
|
# Corresponds to the JSON property `value`
|
|
461
453
|
# @return [String]
|
|
462
454
|
attr_accessor :value
|
|
@@ -472,16 +464,13 @@ module Google
|
|
|
472
464
|
end
|
|
473
465
|
end
|
|
474
466
|
|
|
475
|
-
# A Cloud SQL instance resource.
|
|
476
|
-
# Next field: 34
|
|
467
|
+
# A Cloud SQL instance resource. Next field: 36
|
|
477
468
|
class DatabaseInstance
|
|
478
469
|
include Google::Apis::Core::Hashable
|
|
479
470
|
|
|
480
|
-
#
|
|
481
|
-
#
|
|
482
|
-
#
|
|
483
|
-
# <b>tier</b> property in the <b>settings</b> object to determine
|
|
484
|
-
# the database type.
|
|
471
|
+
# *SECOND_GEN*: Cloud SQL database instance. *EXTERNAL*: A database server that
|
|
472
|
+
# is not managed by Google. This property is read-only; use the *tier* property
|
|
473
|
+
# in the *settings* object to determine the database type.
|
|
485
474
|
# Corresponds to the JSON property `backendType`
|
|
486
475
|
# @return [String]
|
|
487
476
|
attr_accessor :backend_type
|
|
@@ -492,48 +481,42 @@ module Google
|
|
|
492
481
|
attr_accessor :connection_name
|
|
493
482
|
|
|
494
483
|
# The current disk usage of the instance in bytes. This property has been
|
|
495
|
-
# deprecated.
|
|
496
|
-
#
|
|
497
|
-
# Monitoring API instead. Please see <a
|
|
498
|
-
# href="https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/
|
|
499
|
-
# BtvFtdFeAgAJ">this
|
|
500
|
-
# announcement</a> for details.
|
|
484
|
+
# deprecated. Use the "cloudsql.googleapis.com/database/disk/bytes_used" metric
|
|
485
|
+
# in Cloud Monitoring API instead. Please see this announcement for details.
|
|
501
486
|
# Corresponds to the JSON property `currentDiskSize`
|
|
502
487
|
# @return [Fixnum]
|
|
503
488
|
attr_accessor :current_disk_size
|
|
504
489
|
|
|
505
|
-
# The database engine type and version. The
|
|
506
|
-
#
|
|
507
|
-
#
|
|
508
|
-
#
|
|
509
|
-
#
|
|
510
|
-
#
|
|
511
|
-
# <b>SQLSERVER_2017_ENTERPRISE</b>, <b>SQLSERVER_2017_EXPRESS</b>, or
|
|
512
|
-
# <b>SQLSERVER_2017_WEB</b>.
|
|
490
|
+
# The database engine type and version. The *databaseVersion* field cannot be
|
|
491
|
+
# changed after instance creation. MySQL instances: *MYSQL_8_0*, *MYSQL_5_7* (
|
|
492
|
+
# default), or *MYSQL_5_6*. PostgreSQL instances: *POSTGRES_9_6*, *POSTGRES_10*,
|
|
493
|
+
# *POSTGRES_11* or *POSTGRES_12* (default). SQL Server instances: *
|
|
494
|
+
# SQLSERVER_2017_STANDARD* (default), *SQLSERVER_2017_ENTERPRISE*, *
|
|
495
|
+
# SQLSERVER_2017_EXPRESS*, or *SQLSERVER_2017_WEB*.
|
|
513
496
|
# Corresponds to the JSON property `databaseVersion`
|
|
514
497
|
# @return [String]
|
|
515
498
|
attr_accessor :database_version
|
|
516
499
|
|
|
517
500
|
# Disk encryption configuration for an instance.
|
|
518
501
|
# Corresponds to the JSON property `diskEncryptionConfiguration`
|
|
519
|
-
# @return [Google::Apis::
|
|
502
|
+
# @return [Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration]
|
|
520
503
|
attr_accessor :disk_encryption_configuration
|
|
521
504
|
|
|
522
505
|
# Disk encryption status for an instance.
|
|
523
506
|
# Corresponds to the JSON property `diskEncryptionStatus`
|
|
524
|
-
# @return [Google::Apis::
|
|
507
|
+
# @return [Google::Apis::SqladminV1beta4::DiskEncryptionStatus]
|
|
525
508
|
attr_accessor :disk_encryption_status
|
|
526
509
|
|
|
527
|
-
# This field is deprecated and will be removed from a future version of the
|
|
528
|
-
#
|
|
510
|
+
# This field is deprecated and will be removed from a future version of the API.
|
|
511
|
+
# Use the *settings.settingsVersion* field instead.
|
|
529
512
|
# Corresponds to the JSON property `etag`
|
|
530
513
|
# @return [String]
|
|
531
514
|
attr_accessor :etag
|
|
532
515
|
|
|
533
|
-
# The name and status of the failover replica. This property is applicable
|
|
534
|
-
#
|
|
516
|
+
# The name and status of the failover replica. This property is applicable only
|
|
517
|
+
# to Second Generation instances.
|
|
535
518
|
# Corresponds to the JSON property `failoverReplica`
|
|
536
|
-
# @return [Google::Apis::
|
|
519
|
+
# @return [Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica]
|
|
537
520
|
attr_accessor :failover_replica
|
|
538
521
|
|
|
539
522
|
# The Compute Engine zone that the instance is currently serving from. This
|
|
@@ -543,33 +526,31 @@ module Google
|
|
|
543
526
|
# @return [String]
|
|
544
527
|
attr_accessor :gce_zone
|
|
545
528
|
|
|
546
|
-
# The instance type. This can be one of the following.
|
|
547
|
-
#
|
|
548
|
-
#
|
|
549
|
-
#
|
|
550
|
-
# configured as a read-replica.
|
|
529
|
+
# The instance type. This can be one of the following. *CLOUD_SQL_INSTANCE*: A
|
|
530
|
+
# Cloud SQL instance that is not replicating from a primary instance. *
|
|
531
|
+
# ON_PREMISES_INSTANCE*: An instance running on the customer's premises. *
|
|
532
|
+
# READ_REPLICA_INSTANCE*: A Cloud SQL instance configured as a read-replica.
|
|
551
533
|
# Corresponds to the JSON property `instanceType`
|
|
552
534
|
# @return [String]
|
|
553
535
|
attr_accessor :instance_type
|
|
554
536
|
|
|
555
537
|
# The assigned IP addresses for the instance.
|
|
556
538
|
# Corresponds to the JSON property `ipAddresses`
|
|
557
|
-
# @return [Array<Google::Apis::
|
|
539
|
+
# @return [Array<Google::Apis::SqladminV1beta4::IpMapping>]
|
|
558
540
|
attr_accessor :ip_addresses
|
|
559
541
|
|
|
560
|
-
# The IPv6 address assigned to the instance.
|
|
561
|
-
#
|
|
562
|
-
# to First Generation instances.
|
|
542
|
+
# The IPv6 address assigned to the instance. (Deprecated) This property was
|
|
543
|
+
# applicable only to First Generation instances.
|
|
563
544
|
# Corresponds to the JSON property `ipv6Address`
|
|
564
545
|
# @return [String]
|
|
565
546
|
attr_accessor :ipv6_address
|
|
566
547
|
|
|
567
|
-
# This is always
|
|
548
|
+
# This is always *sql#instance*.
|
|
568
549
|
# Corresponds to the JSON property `kind`
|
|
569
550
|
# @return [String]
|
|
570
551
|
attr_accessor :kind
|
|
571
552
|
|
|
572
|
-
# The name of the instance which will act as
|
|
553
|
+
# The name of the instance which will act as primary in the replication setup.
|
|
573
554
|
# Corresponds to the JSON property `masterInstanceName`
|
|
574
555
|
# @return [String]
|
|
575
556
|
attr_accessor :master_instance_name
|
|
@@ -586,7 +567,7 @@ module Google
|
|
|
586
567
|
|
|
587
568
|
# On-premises instance configuration.
|
|
588
569
|
# Corresponds to the JSON property `onPremisesConfiguration`
|
|
589
|
-
# @return [Google::Apis::
|
|
570
|
+
# @return [Google::Apis::SqladminV1beta4::OnPremisesConfiguration]
|
|
590
571
|
attr_accessor :on_premises_configuration
|
|
591
572
|
|
|
592
573
|
# The project ID of the project containing the Cloud SQL instance. The Google
|
|
@@ -595,20 +576,17 @@ module Google
|
|
|
595
576
|
# @return [String]
|
|
596
577
|
attr_accessor :project
|
|
597
578
|
|
|
598
|
-
# The geographical region. Can be
|
|
599
|
-
#
|
|
600
|
-
#
|
|
601
|
-
#
|
|
602
|
-
# <br>Defaults to <b>us-central</b> or
|
|
603
|
-
# <b>us-central1</b> depending on the instance type.
|
|
604
|
-
# The region cannot be changed after instance creation.
|
|
579
|
+
# The geographical region. Can be *us-central* (*FIRST_GEN* instances only) *us-
|
|
580
|
+
# central1* (*SECOND_GEN* instances only) *asia-east1* or *europe-west1*.
|
|
581
|
+
# Defaults to *us-central* or *us-central1* depending on the instance type. The
|
|
582
|
+
# region cannot be changed after instance creation.
|
|
605
583
|
# Corresponds to the JSON property `region`
|
|
606
584
|
# @return [String]
|
|
607
585
|
attr_accessor :region
|
|
608
586
|
|
|
609
|
-
# Read-replica configuration for connecting to the
|
|
587
|
+
# Read-replica configuration for connecting to the primary instance.
|
|
610
588
|
# Corresponds to the JSON property `replicaConfiguration`
|
|
611
|
-
# @return [Google::Apis::
|
|
589
|
+
# @return [Google::Apis::SqladminV1beta4::ReplicaConfiguration]
|
|
612
590
|
attr_accessor :replica_configuration
|
|
613
591
|
|
|
614
592
|
# The replicas of the instance.
|
|
@@ -623,7 +601,7 @@ module Google
|
|
|
623
601
|
|
|
624
602
|
# Any scheduled maintenancce for this instance.
|
|
625
603
|
# Corresponds to the JSON property `scheduledMaintenance`
|
|
626
|
-
# @return [Google::Apis::
|
|
604
|
+
# @return [Google::Apis::SqladminV1beta4::SqlScheduledMaintenance]
|
|
627
605
|
attr_accessor :scheduled_maintenance
|
|
628
606
|
|
|
629
607
|
# The URI of this resource.
|
|
@@ -633,28 +611,26 @@ module Google
|
|
|
633
611
|
|
|
634
612
|
# SslCerts Resource
|
|
635
613
|
# Corresponds to the JSON property `serverCaCert`
|
|
636
|
-
# @return [Google::Apis::
|
|
614
|
+
# @return [Google::Apis::SqladminV1beta4::SslCert]
|
|
637
615
|
attr_accessor :server_ca_cert
|
|
638
616
|
|
|
639
|
-
# The service account email address assigned to the instance. This property
|
|
640
|
-
#
|
|
617
|
+
# The service account email address assigned to the instance. This property is
|
|
618
|
+
# applicable only to Second Generation instances.
|
|
641
619
|
# Corresponds to the JSON property `serviceAccountEmailAddress`
|
|
642
620
|
# @return [String]
|
|
643
621
|
attr_accessor :service_account_email_address
|
|
644
622
|
|
|
645
623
|
# Database instance settings.
|
|
646
624
|
# Corresponds to the JSON property `settings`
|
|
647
|
-
# @return [Google::Apis::
|
|
625
|
+
# @return [Google::Apis::SqladminV1beta4::Settings]
|
|
648
626
|
attr_accessor :settings
|
|
649
627
|
|
|
650
628
|
# The current serving state of the Cloud SQL instance. This can be one of the
|
|
651
|
-
# following.
|
|
652
|
-
#
|
|
653
|
-
#
|
|
654
|
-
#
|
|
655
|
-
#
|
|
656
|
-
# <br><b>FAILED</b>: The instance creation failed.
|
|
657
|
-
# <br><b>UNKNOWN_STATE</b>: The state of the instance is unknown.
|
|
629
|
+
# following. *RUNNABLE*: The instance is running, or is ready to run when
|
|
630
|
+
# accessed. *SUSPENDED*: The instance is not available, for example due to
|
|
631
|
+
# problems with billing. *PENDING_CREATE*: The instance is being created. *
|
|
632
|
+
# MAINTENANCE*: The instance is down for maintenance. *FAILED*: The instance
|
|
633
|
+
# creation failed. *UNKNOWN_STATE*: The state of the instance is unknown.
|
|
658
634
|
# Corresponds to the JSON property `state`
|
|
659
635
|
# @return [String]
|
|
660
636
|
attr_accessor :state
|
|
@@ -701,13 +677,13 @@ module Google
|
|
|
701
677
|
@suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
|
|
702
678
|
end
|
|
703
679
|
|
|
704
|
-
# The name and status of the failover replica. This property is applicable
|
|
705
|
-
#
|
|
680
|
+
# The name and status of the failover replica. This property is applicable only
|
|
681
|
+
# to Second Generation instances.
|
|
706
682
|
class FailoverReplica
|
|
707
683
|
include Google::Apis::Core::Hashable
|
|
708
684
|
|
|
709
|
-
# The availability status of the failover replica. A false status indicates
|
|
710
|
-
#
|
|
685
|
+
# The availability status of the failover replica. A false status indicates that
|
|
686
|
+
# the failover replica is out of sync. The primary instance can only failover to
|
|
711
687
|
# the failover replica when the status is true.
|
|
712
688
|
# Corresponds to the JSON property `available`
|
|
713
689
|
# @return [Boolean]
|
|
@@ -715,9 +691,8 @@ module Google
|
|
|
715
691
|
alias_method :available?, :available
|
|
716
692
|
|
|
717
693
|
# The name of the failover replica. If specified at instance creation, a
|
|
718
|
-
# failover replica is created for the instance. The name
|
|
719
|
-
#
|
|
720
|
-
# Second Generation instances.
|
|
694
|
+
# failover replica is created for the instance. The name doesn't include the
|
|
695
|
+
# project ID. This property is applicable only to Second Generation instances.
|
|
721
696
|
# Corresponds to the JSON property `name`
|
|
722
697
|
# @return [String]
|
|
723
698
|
attr_accessor :name
|
|
@@ -735,15 +710,15 @@ module Google
|
|
|
735
710
|
end
|
|
736
711
|
|
|
737
712
|
# Database list response.
|
|
738
|
-
class
|
|
713
|
+
class ListDatabasesResponse
|
|
739
714
|
include Google::Apis::Core::Hashable
|
|
740
715
|
|
|
741
716
|
# List of database resources in the instance.
|
|
742
717
|
# Corresponds to the JSON property `items`
|
|
743
|
-
# @return [Array<Google::Apis::
|
|
718
|
+
# @return [Array<Google::Apis::SqladminV1beta4::Database>]
|
|
744
719
|
attr_accessor :items
|
|
745
720
|
|
|
746
|
-
# This is always
|
|
721
|
+
# This is always *sql#databasesList*.
|
|
747
722
|
# Corresponds to the JSON property `kind`
|
|
748
723
|
# @return [String]
|
|
749
724
|
attr_accessor :kind
|
|
@@ -759,18 +734,18 @@ module Google
|
|
|
759
734
|
end
|
|
760
735
|
end
|
|
761
736
|
|
|
762
|
-
# Read-replica configuration for connecting to the on-premises
|
|
737
|
+
# Read-replica configuration for connecting to the on-premises primary instance.
|
|
763
738
|
class DemoteMasterConfiguration
|
|
764
739
|
include Google::Apis::Core::Hashable
|
|
765
740
|
|
|
766
|
-
# This is always
|
|
741
|
+
# This is always *sql#demoteMasterConfiguration*.
|
|
767
742
|
# Corresponds to the JSON property `kind`
|
|
768
743
|
# @return [String]
|
|
769
744
|
attr_accessor :kind
|
|
770
745
|
|
|
771
746
|
# Read-replica configuration specific to MySQL databases.
|
|
772
747
|
# Corresponds to the JSON property `mysqlReplicaConfiguration`
|
|
773
|
-
# @return [Google::Apis::
|
|
748
|
+
# @return [Google::Apis::SqladminV1beta4::DemoteMasterMySqlReplicaConfiguration]
|
|
774
749
|
attr_accessor :mysql_replica_configuration
|
|
775
750
|
|
|
776
751
|
def initialize(**args)
|
|
@@ -784,33 +759,33 @@ module Google
|
|
|
784
759
|
end
|
|
785
760
|
end
|
|
786
761
|
|
|
787
|
-
# Database instance demote
|
|
762
|
+
# Database instance demote primary instance context.
|
|
788
763
|
class DemoteMasterContext
|
|
789
764
|
include Google::Apis::Core::Hashable
|
|
790
765
|
|
|
791
|
-
# This is always
|
|
766
|
+
# This is always *sql#demoteMasterContext*.
|
|
792
767
|
# Corresponds to the JSON property `kind`
|
|
793
768
|
# @return [String]
|
|
794
769
|
attr_accessor :kind
|
|
795
770
|
|
|
796
|
-
# The name of the instance which will act as on-premises
|
|
771
|
+
# The name of the instance which will act as on-premises primary instance in the
|
|
797
772
|
# replication setup.
|
|
798
773
|
# Corresponds to the JSON property `masterInstanceName`
|
|
799
774
|
# @return [String]
|
|
800
775
|
attr_accessor :master_instance_name
|
|
801
776
|
|
|
802
|
-
# Read-replica configuration for connecting to the on-premises
|
|
777
|
+
# Read-replica configuration for connecting to the on-premises primary instance.
|
|
803
778
|
# Corresponds to the JSON property `replicaConfiguration`
|
|
804
|
-
# @return [Google::Apis::
|
|
779
|
+
# @return [Google::Apis::SqladminV1beta4::DemoteMasterConfiguration]
|
|
805
780
|
attr_accessor :replica_configuration
|
|
806
781
|
|
|
807
|
-
# Verify GTID consistency for demote operation. Default value:
|
|
808
|
-
#
|
|
809
|
-
#
|
|
810
|
-
#
|
|
811
|
-
#
|
|
812
|
-
#
|
|
813
|
-
#
|
|
782
|
+
# Verify GTID consistency for demote operation. Default value: *True*. Second
|
|
783
|
+
# Generation instances only. Setting this flag to false enables you to bypass
|
|
784
|
+
# GTID consistency check between on-premises primary instance and Cloud SQL
|
|
785
|
+
# instance during the demotion operation but also exposes you to the risk of
|
|
786
|
+
# future replication failures. Change the value only if you know the reason for
|
|
787
|
+
# the GTID divergence and are confident that doing so will not cause any
|
|
788
|
+
# replication issues.
|
|
814
789
|
# Corresponds to the JSON property `verifyGtidConsistency`
|
|
815
790
|
# @return [Boolean]
|
|
816
791
|
attr_accessor :verify_gtid_consistency
|
|
@@ -838,19 +813,19 @@ module Google
|
|
|
838
813
|
# @return [String]
|
|
839
814
|
attr_accessor :ca_certificate
|
|
840
815
|
|
|
841
|
-
# PEM representation of the
|
|
816
|
+
# PEM representation of the replica's x509 certificate.
|
|
842
817
|
# Corresponds to the JSON property `clientCertificate`
|
|
843
818
|
# @return [String]
|
|
844
819
|
attr_accessor :client_certificate
|
|
845
820
|
|
|
846
|
-
# PEM representation of the
|
|
847
|
-
# is encoded in the client's certificate. The format of the
|
|
821
|
+
# PEM representation of the replica's private key. The corresponsing public key
|
|
822
|
+
# is encoded in the client's certificate. The format of the replica's private
|
|
848
823
|
# key can be either PKCS #1 or PKCS #8.
|
|
849
824
|
# Corresponds to the JSON property `clientKey`
|
|
850
825
|
# @return [String]
|
|
851
826
|
attr_accessor :client_key
|
|
852
827
|
|
|
853
|
-
# This is always
|
|
828
|
+
# This is always *sql#demoteMasterMysqlReplicaConfiguration*.
|
|
854
829
|
# Corresponds to the JSON property `kind`
|
|
855
830
|
# @return [String]
|
|
856
831
|
attr_accessor :kind
|
|
@@ -880,11 +855,50 @@ module Google
|
|
|
880
855
|
end
|
|
881
856
|
end
|
|
882
857
|
|
|
858
|
+
# Deny Maintenance Periods. This specifies a date range during when all CSA
|
|
859
|
+
# rollout will be denied.
|
|
860
|
+
class DenyMaintenancePeriod
|
|
861
|
+
include Google::Apis::Core::Hashable
|
|
862
|
+
|
|
863
|
+
# "deny maintenance period" end date. If the year of the end date is empty, the
|
|
864
|
+
# year of the start date also must be empty. In this case, it means the deny
|
|
865
|
+
# maintenance period recurs every year. The date is in format yyyy-mm-dd i.e.,
|
|
866
|
+
# 2020-11-01, or mm-dd, i.e., 11-01
|
|
867
|
+
# Corresponds to the JSON property `endDate`
|
|
868
|
+
# @return [String]
|
|
869
|
+
attr_accessor :end_date
|
|
870
|
+
|
|
871
|
+
# "deny maintenance period" start date. If the year of the start date is empty,
|
|
872
|
+
# the year of the end date also must be empty. In this case, it means the deny
|
|
873
|
+
# maintenance period recurs every year. The date is in format yyyy-mm-dd i.e.,
|
|
874
|
+
# 2020-11-01, or mm-dd, i.e., 11-01
|
|
875
|
+
# Corresponds to the JSON property `startDate`
|
|
876
|
+
# @return [String]
|
|
877
|
+
attr_accessor :start_date
|
|
878
|
+
|
|
879
|
+
# Time in UTC when the "deny maintenance period" starts on start_date and ends
|
|
880
|
+
# on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
|
|
881
|
+
# Corresponds to the JSON property `time`
|
|
882
|
+
# @return [String]
|
|
883
|
+
attr_accessor :time
|
|
884
|
+
|
|
885
|
+
def initialize(**args)
|
|
886
|
+
update!(**args)
|
|
887
|
+
end
|
|
888
|
+
|
|
889
|
+
# Update properties of this object
|
|
890
|
+
def update!(**args)
|
|
891
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
|
892
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
|
893
|
+
@time = args[:time] if args.key?(:time)
|
|
894
|
+
end
|
|
895
|
+
end
|
|
896
|
+
|
|
883
897
|
# Disk encryption configuration for an instance.
|
|
884
898
|
class DiskEncryptionConfiguration
|
|
885
899
|
include Google::Apis::Core::Hashable
|
|
886
900
|
|
|
887
|
-
# This is always
|
|
901
|
+
# This is always *sql#diskEncryptionConfiguration*.
|
|
888
902
|
# Corresponds to the JSON property `kind`
|
|
889
903
|
# @return [String]
|
|
890
904
|
attr_accessor :kind
|
|
@@ -909,7 +923,7 @@ module Google
|
|
|
909
923
|
class DiskEncryptionStatus
|
|
910
924
|
include Google::Apis::Core::Hashable
|
|
911
925
|
|
|
912
|
-
# This is always
|
|
926
|
+
# This is always *sql#diskEncryptionStatus*.
|
|
913
927
|
# Corresponds to the JSON property `kind`
|
|
914
928
|
# @return [String]
|
|
915
929
|
attr_accessor :kind
|
|
@@ -936,45 +950,46 @@ module Google
|
|
|
936
950
|
|
|
937
951
|
# Options for exporting data as CSV.
|
|
938
952
|
# Corresponds to the JSON property `csvExportOptions`
|
|
939
|
-
# @return [Google::Apis::
|
|
953
|
+
# @return [Google::Apis::SqladminV1beta4::ExportContext::CsvExportOptions]
|
|
940
954
|
attr_accessor :csv_export_options
|
|
941
955
|
|
|
942
|
-
# Databases to be exported.
|
|
943
|
-
#
|
|
944
|
-
#
|
|
945
|
-
#
|
|
946
|
-
#
|
|
947
|
-
#
|
|
948
|
-
#
|
|
949
|
-
# one database to be exported. If <b>fileType</b> is <b>CSV</b>,
|
|
950
|
-
# this database must match the one specified in the
|
|
951
|
-
# <b>csvExportOptions.selectQuery</b> property.
|
|
956
|
+
# Databases to be exported. *MySQL instances:* If *fileType* is *SQL* and no
|
|
957
|
+
# database is specified, all databases are exported, except for the *mysql*
|
|
958
|
+
# system database. If *fileType* is *CSV*, you can specify one database, either
|
|
959
|
+
# by using this property or by using the *csvExportOptions.selectQuery* property,
|
|
960
|
+
# which takes precedence over this property. *PostgreSQL instances:* You must
|
|
961
|
+
# specify one database to be exported. If *fileType* is *CSV*, this database
|
|
962
|
+
# must match the one specified in the *csvExportOptions.selectQuery* property.
|
|
952
963
|
# Corresponds to the JSON property `databases`
|
|
953
964
|
# @return [Array<String>]
|
|
954
965
|
attr_accessor :databases
|
|
955
966
|
|
|
956
|
-
# The file type for the specified uri.
|
|
957
|
-
#
|
|
967
|
+
# The file type for the specified uri. *SQL*: The file contains SQL statements. *
|
|
968
|
+
# CSV*: The file contains CSV data.
|
|
958
969
|
# Corresponds to the JSON property `fileType`
|
|
959
970
|
# @return [String]
|
|
960
971
|
attr_accessor :file_type
|
|
961
972
|
|
|
962
|
-
# This is always
|
|
973
|
+
# This is always *sql#exportContext*.
|
|
963
974
|
# Corresponds to the JSON property `kind`
|
|
964
975
|
# @return [String]
|
|
965
976
|
attr_accessor :kind
|
|
966
977
|
|
|
978
|
+
# Option for export offload.
|
|
979
|
+
# Corresponds to the JSON property `offload`
|
|
980
|
+
# @return [Boolean]
|
|
981
|
+
attr_accessor :offload
|
|
982
|
+
alias_method :offload?, :offload
|
|
983
|
+
|
|
967
984
|
# Options for exporting data as SQL statements.
|
|
968
985
|
# Corresponds to the JSON property `sqlExportOptions`
|
|
969
|
-
# @return [Google::Apis::
|
|
986
|
+
# @return [Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions]
|
|
970
987
|
attr_accessor :sql_export_options
|
|
971
988
|
|
|
972
|
-
# The path to the file in Google Cloud Storage where the export will be
|
|
973
|
-
#
|
|
974
|
-
# //
|
|
975
|
-
#
|
|
976
|
-
# // <b>SQL</b> and the filename ends with .gz, the contents are
|
|
977
|
-
# // compressed.
|
|
989
|
+
# The path to the file in Google Cloud Storage where the export will be stored.
|
|
990
|
+
# The URI is in the form *gs: //bucketName/fileName*. If the file already exists,
|
|
991
|
+
# the requests // succeeds, but the operation fails. If *fileType* is // *SQL*
|
|
992
|
+
# and the filename ends with .gz, the contents are // compressed.
|
|
978
993
|
# Corresponds to the JSON property `uri`
|
|
979
994
|
# @return [String]
|
|
980
995
|
attr_accessor :uri
|
|
@@ -989,6 +1004,7 @@ module Google
|
|
|
989
1004
|
@databases = args[:databases] if args.key?(:databases)
|
|
990
1005
|
@file_type = args[:file_type] if args.key?(:file_type)
|
|
991
1006
|
@kind = args[:kind] if args.key?(:kind)
|
|
1007
|
+
@offload = args[:offload] if args.key?(:offload)
|
|
992
1008
|
@sql_export_options = args[:sql_export_options] if args.key?(:sql_export_options)
|
|
993
1009
|
@uri = args[:uri] if args.key?(:uri)
|
|
994
1010
|
end
|
|
@@ -1018,7 +1034,7 @@ module Google
|
|
|
1018
1034
|
|
|
1019
1035
|
# Options for exporting from MySQL.
|
|
1020
1036
|
# Corresponds to the JSON property `mysqlExportOptions`
|
|
1021
|
-
# @return [Google::Apis::
|
|
1037
|
+
# @return [Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions::MysqlExportOptions]
|
|
1022
1038
|
attr_accessor :mysql_export_options
|
|
1023
1039
|
|
|
1024
1040
|
# Export only schemas.
|
|
@@ -1027,9 +1043,9 @@ module Google
|
|
|
1027
1043
|
attr_accessor :schema_only
|
|
1028
1044
|
alias_method :schema_only?, :schema_only
|
|
1029
1045
|
|
|
1030
|
-
# Tables to export, or that were exported, from the specified database. If
|
|
1031
|
-
#
|
|
1032
|
-
#
|
|
1046
|
+
# Tables to export, or that were exported, from the specified database. If you
|
|
1047
|
+
# specify tables, specify one and only one database. For PostgreSQL instances,
|
|
1048
|
+
# you can specify only one table.
|
|
1033
1049
|
# Corresponds to the JSON property `tables`
|
|
1034
1050
|
# @return [Array<String>]
|
|
1035
1051
|
attr_accessor :tables
|
|
@@ -1049,12 +1065,10 @@ module Google
|
|
|
1049
1065
|
class MysqlExportOptions
|
|
1050
1066
|
include Google::Apis::Core::Hashable
|
|
1051
1067
|
|
|
1052
|
-
# Option to include SQL statement required to set up replication.
|
|
1053
|
-
#
|
|
1054
|
-
#
|
|
1055
|
-
#
|
|
1056
|
-
# a SQL comment, and has no effect.
|
|
1057
|
-
# All other values are ignored.
|
|
1068
|
+
# Option to include SQL statement required to set up replication. If set to *1*,
|
|
1069
|
+
# the dump file includes a CHANGE MASTER TO statement with the binary log
|
|
1070
|
+
# coordinates. If set to *2*, the CHANGE MASTER TO statement is written as a SQL
|
|
1071
|
+
# comment, and has no effect. All other values are ignored.
|
|
1058
1072
|
# Corresponds to the JSON property `masterData`
|
|
1059
1073
|
# @return [Fixnum]
|
|
1060
1074
|
attr_accessor :master_data
|
|
@@ -1075,7 +1089,7 @@ module Google
|
|
|
1075
1089
|
class FailoverContext
|
|
1076
1090
|
include Google::Apis::Core::Hashable
|
|
1077
1091
|
|
|
1078
|
-
# This is always
|
|
1092
|
+
# This is always *sql#failoverContext*.
|
|
1079
1093
|
# Corresponds to the JSON property `kind`
|
|
1080
1094
|
# @return [String]
|
|
1081
1095
|
attr_accessor :kind
|
|
@@ -1101,21 +1115,19 @@ module Google
|
|
|
1101
1115
|
class Flag
|
|
1102
1116
|
include Google::Apis::Core::Hashable
|
|
1103
1117
|
|
|
1104
|
-
# Use this field if only certain integers are accepted. Can be combined
|
|
1105
|
-
#
|
|
1118
|
+
# Use this field if only certain integers are accepted. Can be combined with
|
|
1119
|
+
# min_value and max_value to add additional values.
|
|
1106
1120
|
# Corresponds to the JSON property `allowedIntValues`
|
|
1107
1121
|
# @return [Array<Fixnum>]
|
|
1108
1122
|
attr_accessor :allowed_int_values
|
|
1109
1123
|
|
|
1110
|
-
# For
|
|
1111
|
-
# to.
|
|
1124
|
+
# For *STRING* flags, a list of strings that the value can be set to.
|
|
1112
1125
|
# Corresponds to the JSON property `allowedStringValues`
|
|
1113
1126
|
# @return [Array<String>]
|
|
1114
1127
|
attr_accessor :allowed_string_values
|
|
1115
1128
|
|
|
1116
|
-
# The database version this flag applies to. Can be
|
|
1117
|
-
#
|
|
1118
|
-
# is applicable only to Second Generation instances.
|
|
1129
|
+
# The database version this flag applies to. Can be *MYSQL_8_0*, *MYSQL_5_6*, or
|
|
1130
|
+
# *MYSQL_5_7*.
|
|
1119
1131
|
# Corresponds to the JSON property `appliesTo`
|
|
1120
1132
|
# @return [Array<String>]
|
|
1121
1133
|
attr_accessor :applies_to
|
|
@@ -1126,23 +1138,23 @@ module Google
|
|
|
1126
1138
|
attr_accessor :in_beta
|
|
1127
1139
|
alias_method :in_beta?, :in_beta
|
|
1128
1140
|
|
|
1129
|
-
# This is always
|
|
1141
|
+
# This is always *sql#flag*.
|
|
1130
1142
|
# Corresponds to the JSON property `kind`
|
|
1131
1143
|
# @return [String]
|
|
1132
1144
|
attr_accessor :kind
|
|
1133
1145
|
|
|
1134
|
-
# For
|
|
1146
|
+
# For *INTEGER* flags, the maximum allowed value.
|
|
1135
1147
|
# Corresponds to the JSON property `maxValue`
|
|
1136
1148
|
# @return [Fixnum]
|
|
1137
1149
|
attr_accessor :max_value
|
|
1138
1150
|
|
|
1139
|
-
# For
|
|
1151
|
+
# For *INTEGER* flags, the minimum allowed value.
|
|
1140
1152
|
# Corresponds to the JSON property `minValue`
|
|
1141
1153
|
# @return [Fixnum]
|
|
1142
1154
|
attr_accessor :min_value
|
|
1143
1155
|
|
|
1144
|
-
# This is the name of the flag. Flag names always use underscores, not
|
|
1145
|
-
#
|
|
1156
|
+
# This is the name of the flag. Flag names always use underscores, not hyphens,
|
|
1157
|
+
# for example: *max_allowed_packet*
|
|
1146
1158
|
# Corresponds to the JSON property `name`
|
|
1147
1159
|
# @return [String]
|
|
1148
1160
|
attr_accessor :name
|
|
@@ -1154,10 +1166,9 @@ module Google
|
|
|
1154
1166
|
attr_accessor :requires_restart
|
|
1155
1167
|
alias_method :requires_restart?, :requires_restart
|
|
1156
1168
|
|
|
1157
|
-
# The type of the flag. Flags are typed to being
|
|
1158
|
-
#
|
|
1159
|
-
#
|
|
1160
|
-
# <b>skip_grant_tables</b>.
|
|
1169
|
+
# The type of the flag. Flags are typed to being *BOOLEAN*, *STRING*, *INTEGER*
|
|
1170
|
+
# or *NONE*. *NONE* is used for flags which do not take a value, such as *
|
|
1171
|
+
# skip_grant_tables*.
|
|
1161
1172
|
# Corresponds to the JSON property `type`
|
|
1162
1173
|
# @return [String]
|
|
1163
1174
|
attr_accessor :type
|
|
@@ -1182,15 +1193,15 @@ module Google
|
|
|
1182
1193
|
end
|
|
1183
1194
|
|
|
1184
1195
|
# Flags list response.
|
|
1185
|
-
class
|
|
1196
|
+
class ListFlagsResponse
|
|
1186
1197
|
include Google::Apis::Core::Hashable
|
|
1187
1198
|
|
|
1188
1199
|
# List of flags.
|
|
1189
1200
|
# Corresponds to the JSON property `items`
|
|
1190
|
-
# @return [Array<Google::Apis::
|
|
1201
|
+
# @return [Array<Google::Apis::SqladminV1beta4::Flag>]
|
|
1191
1202
|
attr_accessor :items
|
|
1192
1203
|
|
|
1193
|
-
# This is always
|
|
1204
|
+
# This is always *sql#flagsList*.
|
|
1194
1205
|
# Corresponds to the JSON property `kind`
|
|
1195
1206
|
# @return [String]
|
|
1196
1207
|
attr_accessor :kind
|
|
@@ -1212,25 +1223,24 @@ module Google
|
|
|
1212
1223
|
|
|
1213
1224
|
# Import parameters specific to SQL Server .BAK files
|
|
1214
1225
|
# Corresponds to the JSON property `bakImportOptions`
|
|
1215
|
-
# @return [Google::Apis::
|
|
1226
|
+
# @return [Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions]
|
|
1216
1227
|
attr_accessor :bak_import_options
|
|
1217
1228
|
|
|
1218
1229
|
# Options for importing data as CSV.
|
|
1219
1230
|
# Corresponds to the JSON property `csvImportOptions`
|
|
1220
|
-
# @return [Google::Apis::
|
|
1231
|
+
# @return [Google::Apis::SqladminV1beta4::ImportContext::CsvImportOptions]
|
|
1221
1232
|
attr_accessor :csv_import_options
|
|
1222
1233
|
|
|
1223
|
-
# The target database for the import. If
|
|
1224
|
-
#
|
|
1225
|
-
#
|
|
1226
|
-
#
|
|
1227
|
-
# must be specified.
|
|
1234
|
+
# The target database for the import. If *fileType* is *SQL*, this field is
|
|
1235
|
+
# required only if the import file does not specify a database, and is
|
|
1236
|
+
# overridden by any database specification in the import file. If *fileType* is *
|
|
1237
|
+
# CSV*, one database must be specified.
|
|
1228
1238
|
# Corresponds to the JSON property `database`
|
|
1229
1239
|
# @return [String]
|
|
1230
1240
|
attr_accessor :database
|
|
1231
1241
|
|
|
1232
|
-
# The file type for the specified uri.
|
|
1233
|
-
#
|
|
1242
|
+
# The file type for the specified uri. *SQL*: The file contains SQL statements. *
|
|
1243
|
+
# CSV*: The file contains CSV data.
|
|
1234
1244
|
# Corresponds to the JSON property `fileType`
|
|
1235
1245
|
# @return [String]
|
|
1236
1246
|
attr_accessor :file_type
|
|
@@ -1240,16 +1250,15 @@ module Google
|
|
|
1240
1250
|
# @return [String]
|
|
1241
1251
|
attr_accessor :import_user
|
|
1242
1252
|
|
|
1243
|
-
# This is always
|
|
1253
|
+
# This is always *sql#importContext*.
|
|
1244
1254
|
# Corresponds to the JSON property `kind`
|
|
1245
1255
|
# @return [String]
|
|
1246
1256
|
attr_accessor :kind
|
|
1247
1257
|
|
|
1248
|
-
# Path to the import file in Cloud Storage, in the form
|
|
1249
|
-
#
|
|
1250
|
-
# //
|
|
1251
|
-
#
|
|
1252
|
-
# // write permissions to the bucket and read access to the file.
|
|
1258
|
+
# Path to the import file in Cloud Storage, in the form *gs: //bucketName/
|
|
1259
|
+
# fileName*. Compressed gzip files (.gz) are supported // when *fileType* is *
|
|
1260
|
+
# SQL*. The instance must have // write permissions to the bucket and read
|
|
1261
|
+
# access to the file.
|
|
1253
1262
|
# Corresponds to the JSON property `uri`
|
|
1254
1263
|
# @return [String]
|
|
1255
1264
|
attr_accessor :uri
|
|
@@ -1275,7 +1284,7 @@ module Google
|
|
|
1275
1284
|
|
|
1276
1285
|
#
|
|
1277
1286
|
# Corresponds to the JSON property `encryptionOptions`
|
|
1278
|
-
# @return [Google::Apis::
|
|
1287
|
+
# @return [Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions::EncryptionOptions]
|
|
1279
1288
|
attr_accessor :encryption_options
|
|
1280
1289
|
|
|
1281
1290
|
def initialize(**args)
|
|
@@ -1291,9 +1300,9 @@ module Google
|
|
|
1291
1300
|
class EncryptionOptions
|
|
1292
1301
|
include Google::Apis::Core::Hashable
|
|
1293
1302
|
|
|
1294
|
-
# Path to the Certificate (.cer) in Cloud Storage, in the form
|
|
1295
|
-
#
|
|
1296
|
-
#
|
|
1303
|
+
# Path to the Certificate (.cer) in Cloud Storage, in the form *gs://bucketName/
|
|
1304
|
+
# fileName*. The instance must have write permissions to the bucket and read
|
|
1305
|
+
# access to the file.
|
|
1297
1306
|
# Corresponds to the JSON property `certPath`
|
|
1298
1307
|
# @return [String]
|
|
1299
1308
|
attr_accessor :cert_path
|
|
@@ -1303,9 +1312,9 @@ module Google
|
|
|
1303
1312
|
# @return [String]
|
|
1304
1313
|
attr_accessor :pvk_password
|
|
1305
1314
|
|
|
1306
|
-
# Path to the Certificate Private Key (.pvk)
|
|
1307
|
-
#
|
|
1308
|
-
#
|
|
1315
|
+
# Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form *gs://
|
|
1316
|
+
# bucketName/fileName*. The instance must have write permissions to the bucket
|
|
1317
|
+
# and read access to the file.
|
|
1309
1318
|
# Corresponds to the JSON property `pvkPath`
|
|
1310
1319
|
# @return [String]
|
|
1311
1320
|
attr_accessor :pvk_path
|
|
@@ -1327,8 +1336,8 @@ module Google
|
|
|
1327
1336
|
class CsvImportOptions
|
|
1328
1337
|
include Google::Apis::Core::Hashable
|
|
1329
1338
|
|
|
1330
|
-
# The columns to which CSV data is imported. If not specified, all columns
|
|
1331
|
-
#
|
|
1339
|
+
# The columns to which CSV data is imported. If not specified, all columns of
|
|
1340
|
+
# the database table are loaded with CSV data.
|
|
1332
1341
|
# Corresponds to the JSON property `columns`
|
|
1333
1342
|
# @return [Array<String>]
|
|
1334
1343
|
attr_accessor :columns
|
|
@@ -1351,12 +1360,12 @@ module Google
|
|
|
1351
1360
|
end
|
|
1352
1361
|
|
|
1353
1362
|
# Database instance clone request.
|
|
1354
|
-
class
|
|
1363
|
+
class CloneInstancesRequest
|
|
1355
1364
|
include Google::Apis::Core::Hashable
|
|
1356
1365
|
|
|
1357
1366
|
# Database instance clone context.
|
|
1358
1367
|
# Corresponds to the JSON property `cloneContext`
|
|
1359
|
-
# @return [Google::Apis::
|
|
1368
|
+
# @return [Google::Apis::SqladminV1beta4::CloneContext]
|
|
1360
1369
|
attr_accessor :clone_context
|
|
1361
1370
|
|
|
1362
1371
|
def initialize(**args)
|
|
@@ -1369,13 +1378,13 @@ module Google
|
|
|
1369
1378
|
end
|
|
1370
1379
|
end
|
|
1371
1380
|
|
|
1372
|
-
# Database demote
|
|
1381
|
+
# Database demote primary instance request.
|
|
1373
1382
|
class InstancesDemoteMasterRequest
|
|
1374
1383
|
include Google::Apis::Core::Hashable
|
|
1375
1384
|
|
|
1376
|
-
# Database instance demote
|
|
1385
|
+
# Database instance demote primary instance context.
|
|
1377
1386
|
# Corresponds to the JSON property `demoteMasterContext`
|
|
1378
|
-
# @return [Google::Apis::
|
|
1387
|
+
# @return [Google::Apis::SqladminV1beta4::DemoteMasterContext]
|
|
1379
1388
|
attr_accessor :demote_master_context
|
|
1380
1389
|
|
|
1381
1390
|
def initialize(**args)
|
|
@@ -1389,12 +1398,12 @@ module Google
|
|
|
1389
1398
|
end
|
|
1390
1399
|
|
|
1391
1400
|
# Database instance export request.
|
|
1392
|
-
class
|
|
1401
|
+
class ExportInstancesRequest
|
|
1393
1402
|
include Google::Apis::Core::Hashable
|
|
1394
1403
|
|
|
1395
1404
|
# Database instance export context.
|
|
1396
1405
|
# Corresponds to the JSON property `exportContext`
|
|
1397
|
-
# @return [Google::Apis::
|
|
1406
|
+
# @return [Google::Apis::SqladminV1beta4::ExportContext]
|
|
1398
1407
|
attr_accessor :export_context
|
|
1399
1408
|
|
|
1400
1409
|
def initialize(**args)
|
|
@@ -1413,7 +1422,7 @@ module Google
|
|
|
1413
1422
|
|
|
1414
1423
|
# Database instance failover context.
|
|
1415
1424
|
# Corresponds to the JSON property `failoverContext`
|
|
1416
|
-
# @return [Google::Apis::
|
|
1425
|
+
# @return [Google::Apis::SqladminV1beta4::FailoverContext]
|
|
1417
1426
|
attr_accessor :failover_context
|
|
1418
1427
|
|
|
1419
1428
|
def initialize(**args)
|
|
@@ -1427,12 +1436,12 @@ module Google
|
|
|
1427
1436
|
end
|
|
1428
1437
|
|
|
1429
1438
|
# Database instance import request.
|
|
1430
|
-
class
|
|
1439
|
+
class ImportInstancesRequest
|
|
1431
1440
|
include Google::Apis::Core::Hashable
|
|
1432
1441
|
|
|
1433
1442
|
# Database instance import context.
|
|
1434
1443
|
# Corresponds to the JSON property `importContext`
|
|
1435
|
-
# @return [Google::Apis::
|
|
1444
|
+
# @return [Google::Apis::SqladminV1beta4::ImportContext]
|
|
1436
1445
|
attr_accessor :import_context
|
|
1437
1446
|
|
|
1438
1447
|
def initialize(**args)
|
|
@@ -1446,28 +1455,28 @@ module Google
|
|
|
1446
1455
|
end
|
|
1447
1456
|
|
|
1448
1457
|
# Database instances list response.
|
|
1449
|
-
class
|
|
1458
|
+
class ListInstancesResponse
|
|
1450
1459
|
include Google::Apis::Core::Hashable
|
|
1451
1460
|
|
|
1452
1461
|
# List of database instance resources.
|
|
1453
1462
|
# Corresponds to the JSON property `items`
|
|
1454
|
-
# @return [Array<Google::Apis::
|
|
1463
|
+
# @return [Array<Google::Apis::SqladminV1beta4::DatabaseInstance>]
|
|
1455
1464
|
attr_accessor :items
|
|
1456
1465
|
|
|
1457
|
-
# This is always
|
|
1466
|
+
# This is always *sql#instancesList*.
|
|
1458
1467
|
# Corresponds to the JSON property `kind`
|
|
1459
1468
|
# @return [String]
|
|
1460
1469
|
attr_accessor :kind
|
|
1461
1470
|
|
|
1462
|
-
# The continuation token, used to page through large result sets. Provide
|
|
1463
|
-
#
|
|
1471
|
+
# The continuation token, used to page through large result sets. Provide this
|
|
1472
|
+
# value in a subsequent request to return the next page of results.
|
|
1464
1473
|
# Corresponds to the JSON property `nextPageToken`
|
|
1465
1474
|
# @return [String]
|
|
1466
1475
|
attr_accessor :next_page_token
|
|
1467
1476
|
|
|
1468
1477
|
# List of warnings that occurred while handling the request.
|
|
1469
1478
|
# Corresponds to the JSON property `warnings`
|
|
1470
|
-
# @return [Array<Google::Apis::
|
|
1479
|
+
# @return [Array<Google::Apis::SqladminV1beta4::ApiWarning>]
|
|
1471
1480
|
attr_accessor :warnings
|
|
1472
1481
|
|
|
1473
1482
|
def initialize(**args)
|
|
@@ -1494,10 +1503,10 @@ module Google
|
|
|
1494
1503
|
|
|
1495
1504
|
# List of server CA certificates for the instance.
|
|
1496
1505
|
# Corresponds to the JSON property `certs`
|
|
1497
|
-
# @return [Array<Google::Apis::
|
|
1506
|
+
# @return [Array<Google::Apis::SqladminV1beta4::SslCert>]
|
|
1498
1507
|
attr_accessor :certs
|
|
1499
1508
|
|
|
1500
|
-
# This is always
|
|
1509
|
+
# This is always *sql#instancesListServerCas*.
|
|
1501
1510
|
# Corresponds to the JSON property `kind`
|
|
1502
1511
|
# @return [String]
|
|
1503
1512
|
attr_accessor :kind
|
|
@@ -1515,13 +1524,13 @@ module Google
|
|
|
1515
1524
|
end
|
|
1516
1525
|
|
|
1517
1526
|
# Database instance restore backup request.
|
|
1518
|
-
class
|
|
1527
|
+
class RestoreInstancesBackupRequest
|
|
1519
1528
|
include Google::Apis::Core::Hashable
|
|
1520
1529
|
|
|
1521
|
-
# Database instance restore from backup context.
|
|
1522
|
-
#
|
|
1530
|
+
# Database instance restore from backup context. Backup context contains source
|
|
1531
|
+
# instance id and project id.
|
|
1523
1532
|
# Corresponds to the JSON property `restoreBackupContext`
|
|
1524
|
-
# @return [Google::Apis::
|
|
1533
|
+
# @return [Google::Apis::SqladminV1beta4::RestoreBackupContext]
|
|
1525
1534
|
attr_accessor :restore_backup_context
|
|
1526
1535
|
|
|
1527
1536
|
def initialize(**args)
|
|
@@ -1540,7 +1549,7 @@ module Google
|
|
|
1540
1549
|
|
|
1541
1550
|
# Instance rotate server CA context.
|
|
1542
1551
|
# Corresponds to the JSON property `rotateServerCaContext`
|
|
1543
|
-
# @return [Google::Apis::
|
|
1552
|
+
# @return [Google::Apis::SqladminV1beta4::RotateServerCaContext]
|
|
1544
1553
|
attr_accessor :rotate_server_ca_context
|
|
1545
1554
|
|
|
1546
1555
|
def initialize(**args)
|
|
@@ -1559,7 +1568,7 @@ module Google
|
|
|
1559
1568
|
|
|
1560
1569
|
# Database Instance truncate log context.
|
|
1561
1570
|
# Corresponds to the JSON property `truncateLogContext`
|
|
1562
|
-
# @return [Google::Apis::
|
|
1571
|
+
# @return [Google::Apis::SqladminV1beta4::TruncateLogContext]
|
|
1563
1572
|
attr_accessor :truncate_log_context
|
|
1564
1573
|
|
|
1565
1574
|
def initialize(**args)
|
|
@@ -1577,27 +1586,27 @@ module Google
|
|
|
1577
1586
|
include Google::Apis::Core::Hashable
|
|
1578
1587
|
|
|
1579
1588
|
# The list of external networks that are allowed to connect to the instance
|
|
1580
|
-
# using the IP. In 'CIDR' notation, also known as 'slash' notation (
|
|
1581
|
-
#
|
|
1589
|
+
# using the IP. In 'CIDR' notation, also known as 'slash' notation (for example:
|
|
1590
|
+
# *192.168.100.0/24*).
|
|
1582
1591
|
# Corresponds to the JSON property `authorizedNetworks`
|
|
1583
|
-
# @return [Array<Google::Apis::
|
|
1592
|
+
# @return [Array<Google::Apis::SqladminV1beta4::AclEntry>]
|
|
1584
1593
|
attr_accessor :authorized_networks
|
|
1585
1594
|
|
|
1586
|
-
# Whether the instance
|
|
1595
|
+
# Whether the instance is assigned a public IP address or not.
|
|
1587
1596
|
# Corresponds to the JSON property `ipv4Enabled`
|
|
1588
1597
|
# @return [Boolean]
|
|
1589
1598
|
attr_accessor :ipv4_enabled
|
|
1590
1599
|
alias_method :ipv4_enabled?, :ipv4_enabled
|
|
1591
1600
|
|
|
1592
1601
|
# The resource link for the VPC network from which the Cloud SQL instance is
|
|
1593
|
-
# accessible for private IP. For example,
|
|
1594
|
-
#
|
|
1595
|
-
#
|
|
1602
|
+
# accessible for private IP. For example, */projects/myProject/global/networks/
|
|
1603
|
+
# default*. This setting can be updated, but it cannot be removed after it is
|
|
1604
|
+
# set.
|
|
1596
1605
|
# Corresponds to the JSON property `privateNetwork`
|
|
1597
1606
|
# @return [String]
|
|
1598
1607
|
attr_accessor :private_network
|
|
1599
1608
|
|
|
1600
|
-
# Whether SSL connections over IP
|
|
1609
|
+
# Whether SSL connections over IP are enforced or not.
|
|
1601
1610
|
# Corresponds to the JSON property `requireSsl`
|
|
1602
1611
|
# @return [Boolean]
|
|
1603
1612
|
attr_accessor :require_ssl
|
|
@@ -1625,19 +1634,17 @@ module Google
|
|
|
1625
1634
|
# @return [String]
|
|
1626
1635
|
attr_accessor :ip_address
|
|
1627
1636
|
|
|
1628
|
-
# The due time for this IP to be retired in
|
|
1629
|
-
#
|
|
1630
|
-
#
|
|
1631
|
-
# the IP is scheduled to be retired.
|
|
1637
|
+
# The due time for this IP to be retired in RFC 3339 format, for example *2012-
|
|
1638
|
+
# 11-15T16:19:00.094Z*. This field is only available when the IP is scheduled to
|
|
1639
|
+
# be retired.
|
|
1632
1640
|
# Corresponds to the JSON property `timeToRetire`
|
|
1633
1641
|
# @return [String]
|
|
1634
1642
|
attr_accessor :time_to_retire
|
|
1635
1643
|
|
|
1636
|
-
# The type of this IP address. A
|
|
1637
|
-
#
|
|
1638
|
-
#
|
|
1639
|
-
#
|
|
1640
|
-
# originating from the instance, if supported.
|
|
1644
|
+
# The type of this IP address. A *PRIMARY* address is a public address that can
|
|
1645
|
+
# accept incoming connections. A *PRIVATE* address is a private address that can
|
|
1646
|
+
# accept incoming connections. An *OUTGOING* address is the source address of
|
|
1647
|
+
# connections originating from the instance, if supported.
|
|
1641
1648
|
# Corresponds to the JSON property `type`
|
|
1642
1649
|
# @return [String]
|
|
1643
1650
|
attr_accessor :type
|
|
@@ -1654,11 +1661,11 @@ module Google
|
|
|
1654
1661
|
end
|
|
1655
1662
|
end
|
|
1656
1663
|
|
|
1657
|
-
# Preferred location. This specifies where a Cloud SQL instance
|
|
1658
|
-
#
|
|
1659
|
-
#
|
|
1660
|
-
#
|
|
1661
|
-
#
|
|
1664
|
+
# Preferred location. This specifies where a Cloud SQL instance is located,
|
|
1665
|
+
# either in a specific Compute Engine zone, or co-located with an App Engine
|
|
1666
|
+
# application. Note that if the preferred location is not available, the
|
|
1667
|
+
# instance will be located as close as possible within the region. Only one
|
|
1668
|
+
# location may be specified.
|
|
1662
1669
|
class LocationPreference
|
|
1663
1670
|
include Google::Apis::Core::Hashable
|
|
1664
1671
|
|
|
@@ -1668,12 +1675,12 @@ module Google
|
|
|
1668
1675
|
# @return [String]
|
|
1669
1676
|
attr_accessor :follow_gae_application
|
|
1670
1677
|
|
|
1671
|
-
# This is always
|
|
1678
|
+
# This is always *sql#locationPreference*.
|
|
1672
1679
|
# Corresponds to the JSON property `kind`
|
|
1673
1680
|
# @return [String]
|
|
1674
1681
|
attr_accessor :kind
|
|
1675
1682
|
|
|
1676
|
-
# The preferred Compute Engine zone (
|
|
1683
|
+
# The preferred Compute Engine zone (for example: us-central1-a, us-central1-b,
|
|
1677
1684
|
# etc.).
|
|
1678
1685
|
# Corresponds to the JSON property `zone`
|
|
1679
1686
|
# @return [String]
|
|
@@ -1691,8 +1698,8 @@ module Google
|
|
|
1691
1698
|
end
|
|
1692
1699
|
end
|
|
1693
1700
|
|
|
1694
|
-
# Maintenance window. This specifies when a
|
|
1695
|
-
#
|
|
1701
|
+
# Maintenance window. This specifies when a Cloud SQL instance is restarted for
|
|
1702
|
+
# system maintenance purposes.
|
|
1696
1703
|
class MaintenanceWindow
|
|
1697
1704
|
include Google::Apis::Core::Hashable
|
|
1698
1705
|
|
|
@@ -1706,15 +1713,12 @@ module Google
|
|
|
1706
1713
|
# @return [Fixnum]
|
|
1707
1714
|
attr_accessor :hour
|
|
1708
1715
|
|
|
1709
|
-
# This is always
|
|
1716
|
+
# This is always *sql#maintenanceWindow*.
|
|
1710
1717
|
# Corresponds to the JSON property `kind`
|
|
1711
1718
|
# @return [String]
|
|
1712
1719
|
attr_accessor :kind
|
|
1713
1720
|
|
|
1714
|
-
# Maintenance timing setting:
|
|
1715
|
-
# <b>stable</b> (Later). <br /><a
|
|
1716
|
-
# href="/sql/docs/db_path/instance-settings#maintenance-timing-2ndgen">
|
|
1717
|
-
# Learn more</a>.
|
|
1721
|
+
# Maintenance timing setting: *canary* (Earlier) or *stable* (Later). Learn more.
|
|
1718
1722
|
# Corresponds to the JSON property `updateTrack`
|
|
1719
1723
|
# @return [String]
|
|
1720
1724
|
attr_accessor :update_track
|
|
@@ -1741,12 +1745,12 @@ module Google
|
|
|
1741
1745
|
# @return [String]
|
|
1742
1746
|
attr_accessor :ca_certificate
|
|
1743
1747
|
|
|
1744
|
-
# PEM representation of the
|
|
1748
|
+
# PEM representation of the replica's x509 certificate.
|
|
1745
1749
|
# Corresponds to the JSON property `clientCertificate`
|
|
1746
1750
|
# @return [String]
|
|
1747
1751
|
attr_accessor :client_certificate
|
|
1748
1752
|
|
|
1749
|
-
# PEM representation of the
|
|
1753
|
+
# PEM representation of the replica's private key. The corresponsing public key
|
|
1750
1754
|
# is encoded in the client's certificate.
|
|
1751
1755
|
# Corresponds to the JSON property `clientKey`
|
|
1752
1756
|
# @return [String]
|
|
@@ -1757,17 +1761,16 @@ module Google
|
|
|
1757
1761
|
# @return [Fixnum]
|
|
1758
1762
|
attr_accessor :connect_retry_interval
|
|
1759
1763
|
|
|
1760
|
-
# Path to a SQL dump file in Google Cloud Storage from which the
|
|
1764
|
+
# Path to a SQL dump file in Google Cloud Storage from which the replica
|
|
1761
1765
|
# instance is to be created. The URI is in the form gs://bucketName/fileName.
|
|
1762
|
-
# Compressed gzip files (.gz) are also supported.
|
|
1763
|
-
#
|
|
1764
|
-
#
|
|
1765
|
-
# mysqldump.
|
|
1766
|
+
# Compressed gzip files (.gz) are also supported. Dumps have the binlog co-
|
|
1767
|
+
# ordinates from which replication begins. This can be accomplished by setting --
|
|
1768
|
+
# master-data to 1 when using mysqldump.
|
|
1766
1769
|
# Corresponds to the JSON property `dumpFilePath`
|
|
1767
1770
|
# @return [String]
|
|
1768
1771
|
attr_accessor :dump_file_path
|
|
1769
1772
|
|
|
1770
|
-
# This is always
|
|
1773
|
+
# This is always *sql#mysqlReplicaConfiguration*.
|
|
1771
1774
|
# Corresponds to the JSON property `kind`
|
|
1772
1775
|
# @return [String]
|
|
1773
1776
|
attr_accessor :kind
|
|
@@ -1792,8 +1795,8 @@ module Google
|
|
|
1792
1795
|
# @return [String]
|
|
1793
1796
|
attr_accessor :username
|
|
1794
1797
|
|
|
1795
|
-
# Whether or not to check the
|
|
1796
|
-
# that it sends during the SSL handshake.
|
|
1798
|
+
# Whether or not to check the primary instance's Common Name value in the
|
|
1799
|
+
# certificate that it sends during the SSL handshake.
|
|
1797
1800
|
# Corresponds to the JSON property `verifyServerCertificate`
|
|
1798
1801
|
# @return [Boolean]
|
|
1799
1802
|
attr_accessor :verify_server_certificate
|
|
@@ -1828,12 +1831,12 @@ module Google
|
|
|
1828
1831
|
# @return [String]
|
|
1829
1832
|
attr_accessor :ca_certificate
|
|
1830
1833
|
|
|
1831
|
-
# PEM representation of the
|
|
1834
|
+
# PEM representation of the replica's x509 certificate.
|
|
1832
1835
|
# Corresponds to the JSON property `clientCertificate`
|
|
1833
1836
|
# @return [String]
|
|
1834
1837
|
attr_accessor :client_certificate
|
|
1835
1838
|
|
|
1836
|
-
# PEM representation of the
|
|
1839
|
+
# PEM representation of the replica's private key. The corresponsing public key
|
|
1837
1840
|
# is encoded in the client's certificate.
|
|
1838
1841
|
# Corresponds to the JSON property `clientKey`
|
|
1839
1842
|
# @return [String]
|
|
@@ -1849,7 +1852,7 @@ module Google
|
|
|
1849
1852
|
# @return [String]
|
|
1850
1853
|
attr_accessor :host_port
|
|
1851
1854
|
|
|
1852
|
-
# This is always
|
|
1855
|
+
# This is always *sql#onPremisesConfiguration*.
|
|
1853
1856
|
# Corresponds to the JSON property `kind`
|
|
1854
1857
|
# @return [String]
|
|
1855
1858
|
attr_accessor :kind
|
|
@@ -1881,66 +1884,54 @@ module Google
|
|
|
1881
1884
|
end
|
|
1882
1885
|
end
|
|
1883
1886
|
|
|
1884
|
-
# An Operation resource
|
|
1885
|
-
#
|
|
1886
|
-
#
|
|
1887
|
+
# An Operation resource. For successful operations that return an Operation
|
|
1888
|
+
# resource, only the fields relevant to the operation are populated in the
|
|
1889
|
+
# resource.
|
|
1887
1890
|
class Operation
|
|
1888
1891
|
include Google::Apis::Core::Hashable
|
|
1889
1892
|
|
|
1890
|
-
# The time this operation finished in UTC timezone in
|
|
1891
|
-
#
|
|
1892
|
-
# <b>2012-11-15T16:19:00.094Z</b>.
|
|
1893
|
+
# The time this operation finished in UTC timezone in RFC 3339 format, for
|
|
1894
|
+
# example *2012-11-15T16:19:00.094Z*.
|
|
1893
1895
|
# Corresponds to the JSON property `endTime`
|
|
1894
1896
|
# @return [String]
|
|
1895
1897
|
attr_accessor :end_time
|
|
1896
1898
|
|
|
1897
1899
|
# Database instance operation errors list wrapper.
|
|
1898
1900
|
# Corresponds to the JSON property `error`
|
|
1899
|
-
# @return [Google::Apis::
|
|
1901
|
+
# @return [Google::Apis::SqladminV1beta4::OperationErrors]
|
|
1900
1902
|
attr_accessor :error
|
|
1901
1903
|
|
|
1902
1904
|
# Database instance export context.
|
|
1903
1905
|
# Corresponds to the JSON property `exportContext`
|
|
1904
|
-
# @return [Google::Apis::
|
|
1906
|
+
# @return [Google::Apis::SqladminV1beta4::ExportContext]
|
|
1905
1907
|
attr_accessor :export_context
|
|
1906
1908
|
|
|
1907
1909
|
# Database instance import context.
|
|
1908
1910
|
# Corresponds to the JSON property `importContext`
|
|
1909
|
-
# @return [Google::Apis::
|
|
1911
|
+
# @return [Google::Apis::SqladminV1beta4::ImportContext]
|
|
1910
1912
|
attr_accessor :import_context
|
|
1911
1913
|
|
|
1912
|
-
# The time this operation was enqueued in UTC timezone in
|
|
1913
|
-
#
|
|
1914
|
-
# <b>2012-11-15T16:19:00.094Z</b>.
|
|
1914
|
+
# The time this operation was enqueued in UTC timezone in RFC 3339 format, for
|
|
1915
|
+
# example *2012-11-15T16:19:00.094Z*.
|
|
1915
1916
|
# Corresponds to the JSON property `insertTime`
|
|
1916
1917
|
# @return [String]
|
|
1917
1918
|
attr_accessor :insert_time
|
|
1918
1919
|
|
|
1919
|
-
# This is always
|
|
1920
|
+
# This is always *sql#operation*.
|
|
1920
1921
|
# Corresponds to the JSON property `kind`
|
|
1921
1922
|
# @return [String]
|
|
1922
1923
|
attr_accessor :kind
|
|
1923
1924
|
|
|
1924
1925
|
# An identifier that uniquely identifies the operation. You can use this
|
|
1925
|
-
# identifier to retrieve the Operations resource that has information about
|
|
1926
|
-
#
|
|
1926
|
+
# identifier to retrieve the Operations resource that has information about the
|
|
1927
|
+
# operation.
|
|
1927
1928
|
# Corresponds to the JSON property `name`
|
|
1928
1929
|
# @return [String]
|
|
1929
1930
|
attr_accessor :name
|
|
1930
1931
|
|
|
1931
|
-
# The type of the operation. Valid values are:
|
|
1932
|
-
#
|
|
1933
|
-
#
|
|
1934
|
-
# <br><b>UPDATE</b>
|
|
1935
|
-
# <br><b>RESTART</b>
|
|
1936
|
-
# <br><b>IMPORT</b>
|
|
1937
|
-
# <br><b>EXPORT</b>
|
|
1938
|
-
# <br><b>BACKUP_VOLUME</b>
|
|
1939
|
-
# <br><b>RESTORE_VOLUME</b>
|
|
1940
|
-
# <br><b>CREATE_USER</b>
|
|
1941
|
-
# <br><b>DELETE_USER</b>
|
|
1942
|
-
# <br><b>CREATE_DATABASE</b>
|
|
1943
|
-
# <br><b>DELETE_DATABASE</b>
|
|
1932
|
+
# The type of the operation. Valid values are: *CREATE* *DELETE* *UPDATE* *
|
|
1933
|
+
# RESTART* *IMPORT* *EXPORT* *BACKUP_VOLUME* *RESTORE_VOLUME* *CREATE_USER* *
|
|
1934
|
+
# DELETE_USER* *CREATE_DATABASE* *DELETE_DATABASE*
|
|
1944
1935
|
# Corresponds to the JSON property `operationType`
|
|
1945
1936
|
# @return [String]
|
|
1946
1937
|
attr_accessor :operation_type
|
|
@@ -1950,18 +1941,14 @@ module Google
|
|
|
1950
1941
|
# @return [String]
|
|
1951
1942
|
attr_accessor :self_link
|
|
1952
1943
|
|
|
1953
|
-
# The time this operation actually started in UTC timezone in
|
|
1954
|
-
#
|
|
1955
|
-
# <b>2012-11-15T16:19:00.094Z</b>.
|
|
1944
|
+
# The time this operation actually started in UTC timezone in RFC 3339 format,
|
|
1945
|
+
# for example *2012-11-15T16:19:00.094Z*.
|
|
1956
1946
|
# Corresponds to the JSON property `startTime`
|
|
1957
1947
|
# @return [String]
|
|
1958
1948
|
attr_accessor :start_time
|
|
1959
1949
|
|
|
1960
|
-
# The status of an operation. Valid values are:
|
|
1961
|
-
#
|
|
1962
|
-
# <br><b>RUNNING</b>
|
|
1963
|
-
# <br><b>DONE</b>
|
|
1964
|
-
# <br><b>SQL_OPERATION_STATUS_UNSPECIFIED</b>
|
|
1950
|
+
# The status of an operation. Valid values are: *PENDING* *RUNNING* *DONE* *
|
|
1951
|
+
# SQL_OPERATION_STATUS_UNSPECIFIED*
|
|
1965
1952
|
# Corresponds to the JSON property `status`
|
|
1966
1953
|
# @return [String]
|
|
1967
1954
|
attr_accessor :status
|
|
@@ -2019,7 +2006,7 @@ module Google
|
|
|
2019
2006
|
# @return [String]
|
|
2020
2007
|
attr_accessor :code
|
|
2021
2008
|
|
|
2022
|
-
# This is always
|
|
2009
|
+
# This is always *sql#operationError*.
|
|
2023
2010
|
# Corresponds to the JSON property `kind`
|
|
2024
2011
|
# @return [String]
|
|
2025
2012
|
attr_accessor :kind
|
|
@@ -2047,10 +2034,10 @@ module Google
|
|
|
2047
2034
|
|
|
2048
2035
|
# The list of errors encountered while processing this operation.
|
|
2049
2036
|
# Corresponds to the JSON property `errors`
|
|
2050
|
-
# @return [Array<Google::Apis::
|
|
2037
|
+
# @return [Array<Google::Apis::SqladminV1beta4::OperationError>]
|
|
2051
2038
|
attr_accessor :errors
|
|
2052
2039
|
|
|
2053
|
-
# This is always
|
|
2040
|
+
# This is always *sql#operationErrors*.
|
|
2054
2041
|
# Corresponds to the JSON property `kind`
|
|
2055
2042
|
# @return [String]
|
|
2056
2043
|
attr_accessor :kind
|
|
@@ -2067,21 +2054,21 @@ module Google
|
|
|
2067
2054
|
end
|
|
2068
2055
|
|
|
2069
2056
|
# Database instance list operations response.
|
|
2070
|
-
class
|
|
2057
|
+
class ListOperationsResponse
|
|
2071
2058
|
include Google::Apis::Core::Hashable
|
|
2072
2059
|
|
|
2073
2060
|
# List of operation resources.
|
|
2074
2061
|
# Corresponds to the JSON property `items`
|
|
2075
|
-
# @return [Array<Google::Apis::
|
|
2062
|
+
# @return [Array<Google::Apis::SqladminV1beta4::Operation>]
|
|
2076
2063
|
attr_accessor :items
|
|
2077
2064
|
|
|
2078
|
-
# This is always
|
|
2065
|
+
# This is always *sql#operationsList*.
|
|
2079
2066
|
# Corresponds to the JSON property `kind`
|
|
2080
2067
|
# @return [String]
|
|
2081
2068
|
attr_accessor :kind
|
|
2082
2069
|
|
|
2083
|
-
# The continuation token, used to page through large result sets. Provide
|
|
2084
|
-
#
|
|
2070
|
+
# The continuation token, used to page through large result sets. Provide this
|
|
2071
|
+
# value in a subsequent request to return the next page of results.
|
|
2085
2072
|
# Corresponds to the JSON property `nextPageToken`
|
|
2086
2073
|
# @return [String]
|
|
2087
2074
|
attr_accessor :next_page_token
|
|
@@ -2098,29 +2085,28 @@ module Google
|
|
|
2098
2085
|
end
|
|
2099
2086
|
end
|
|
2100
2087
|
|
|
2101
|
-
# Read-replica configuration for connecting to the
|
|
2088
|
+
# Read-replica configuration for connecting to the primary instance.
|
|
2102
2089
|
class ReplicaConfiguration
|
|
2103
2090
|
include Google::Apis::Core::Hashable
|
|
2104
2091
|
|
|
2105
|
-
# Specifies if the replica is the failover target. If the field is set to
|
|
2106
|
-
#
|
|
2107
|
-
#
|
|
2108
|
-
#
|
|
2109
|
-
#
|
|
2110
|
-
# instance.
|
|
2092
|
+
# Specifies if the replica is the failover target. If the field is set to *true*
|
|
2093
|
+
# the replica will be designated as a failover replica. In case the primary
|
|
2094
|
+
# instance fails, the replica instance will be promoted as the new primary
|
|
2095
|
+
# instance. Only one replica can be specified as failover target, and the
|
|
2096
|
+
# replica has to be in different zone with the primary instance.
|
|
2111
2097
|
# Corresponds to the JSON property `failoverTarget`
|
|
2112
2098
|
# @return [Boolean]
|
|
2113
2099
|
attr_accessor :failover_target
|
|
2114
2100
|
alias_method :failover_target?, :failover_target
|
|
2115
2101
|
|
|
2116
|
-
# This is always
|
|
2102
|
+
# This is always *sql#replicaConfiguration*.
|
|
2117
2103
|
# Corresponds to the JSON property `kind`
|
|
2118
2104
|
# @return [String]
|
|
2119
2105
|
attr_accessor :kind
|
|
2120
2106
|
|
|
2121
2107
|
# Read-replica configuration specific to MySQL databases.
|
|
2122
2108
|
# Corresponds to the JSON property `mysqlReplicaConfiguration`
|
|
2123
|
-
# @return [Google::Apis::
|
|
2109
|
+
# @return [Google::Apis::SqladminV1beta4::MySqlReplicaConfiguration]
|
|
2124
2110
|
attr_accessor :mysql_replica_configuration
|
|
2125
2111
|
|
|
2126
2112
|
def initialize(**args)
|
|
@@ -2145,9 +2131,8 @@ module Google
|
|
|
2145
2131
|
attr_accessor :reschedule_type
|
|
2146
2132
|
|
|
2147
2133
|
# Optional. Timestamp when the maintenance shall be rescheduled to if
|
|
2148
|
-
# reschedule_type=SPECIFIC_TIME, in
|
|
2149
|
-
#
|
|
2150
|
-
# example <b>2012-11-15T16:19:00.094Z</b>.
|
|
2134
|
+
# reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example *2012-11-15T16:
|
|
2135
|
+
# 19:00.094Z*.
|
|
2151
2136
|
# Corresponds to the JSON property `scheduleTime`
|
|
2152
2137
|
# @return [String]
|
|
2153
2138
|
attr_accessor :schedule_time
|
|
@@ -2163,8 +2148,8 @@ module Google
|
|
|
2163
2148
|
end
|
|
2164
2149
|
end
|
|
2165
2150
|
|
|
2166
|
-
# Database instance restore from backup context.
|
|
2167
|
-
#
|
|
2151
|
+
# Database instance restore from backup context. Backup context contains source
|
|
2152
|
+
# instance id and project id.
|
|
2168
2153
|
class RestoreBackupContext
|
|
2169
2154
|
include Google::Apis::Core::Hashable
|
|
2170
2155
|
|
|
@@ -2178,7 +2163,7 @@ module Google
|
|
|
2178
2163
|
# @return [String]
|
|
2179
2164
|
attr_accessor :instance_id
|
|
2180
2165
|
|
|
2181
|
-
# This is always
|
|
2166
|
+
# This is always *sql#restoreBackupContext*.
|
|
2182
2167
|
# Corresponds to the JSON property `kind`
|
|
2183
2168
|
# @return [String]
|
|
2184
2169
|
attr_accessor :kind
|
|
@@ -2205,7 +2190,7 @@ module Google
|
|
|
2205
2190
|
class RotateServerCaContext
|
|
2206
2191
|
include Google::Apis::Core::Hashable
|
|
2207
2192
|
|
|
2208
|
-
# This is always
|
|
2193
|
+
# This is always *sql#rotateServerCaContext*.
|
|
2209
2194
|
# Corresponds to the JSON property `kind`
|
|
2210
2195
|
# @return [String]
|
|
2211
2196
|
attr_accessor :kind
|
|
@@ -2232,36 +2217,37 @@ module Google
|
|
|
2232
2217
|
include Google::Apis::Core::Hashable
|
|
2233
2218
|
|
|
2234
2219
|
# The activation policy specifies when the instance is activated; it is
|
|
2235
|
-
# applicable only when the instance state is RUNNABLE. Valid values:
|
|
2236
|
-
#
|
|
2237
|
-
#
|
|
2238
|
-
#
|
|
2239
|
-
# connection request arrives.
|
|
2220
|
+
# applicable only when the instance state is RUNNABLE. Valid values: *ALWAYS*:
|
|
2221
|
+
# The instance is on, and remains so even in the absence of connection requests.
|
|
2222
|
+
# *NEVER*: The instance is off; it is not activated, even if a connection
|
|
2223
|
+
# request arrives.
|
|
2240
2224
|
# Corresponds to the JSON property `activationPolicy`
|
|
2241
2225
|
# @return [String]
|
|
2242
2226
|
attr_accessor :activation_policy
|
|
2243
2227
|
|
|
2244
|
-
#
|
|
2245
|
-
#
|
|
2228
|
+
# Active Directory configuration, for now relevant only for SQL Server
|
|
2229
|
+
# Corresponds to the JSON property `activeDirectoryConfig`
|
|
2230
|
+
# @return [Google::Apis::SqladminV1beta4::SqlActiveDirectoryConfig]
|
|
2231
|
+
attr_accessor :active_directory_config
|
|
2232
|
+
|
|
2233
|
+
# The App Engine app IDs that can access this instance. (Deprecated) Applied to
|
|
2234
|
+
# First Generation instances only.
|
|
2246
2235
|
# Corresponds to the JSON property `authorizedGaeApplications`
|
|
2247
2236
|
# @return [Array<String>]
|
|
2248
2237
|
attr_accessor :authorized_gae_applications
|
|
2249
2238
|
|
|
2250
|
-
# Availability type. Potential values:
|
|
2251
|
-
#
|
|
2252
|
-
#
|
|
2253
|
-
#
|
|
2254
|
-
#
|
|
2255
|
-
# (it is highly available). <br>For more information, see
|
|
2256
|
-
# <a href="/sql/docs/postgres/high-availability">
|
|
2257
|
-
# Overview of the High Availability Configuration</a>.
|
|
2239
|
+
# Availability type. Potential values: *ZONAL*: The instance serves data from
|
|
2240
|
+
# only one zone. Outages in that zone affect data accessibility. *REGIONAL*: The
|
|
2241
|
+
# instance can serve data from more than one zone in a region (it is highly
|
|
2242
|
+
# available). For more information, see Overview of the High Availability
|
|
2243
|
+
# Configuration.
|
|
2258
2244
|
# Corresponds to the JSON property `availabilityType`
|
|
2259
2245
|
# @return [String]
|
|
2260
2246
|
attr_accessor :availability_type
|
|
2261
2247
|
|
|
2262
2248
|
# Database instance backup configuration.
|
|
2263
2249
|
# Corresponds to the JSON property `backupConfiguration`
|
|
2264
|
-
# @return [Google::Apis::
|
|
2250
|
+
# @return [Google::Apis::SqladminV1beta4::BackupConfiguration]
|
|
2265
2251
|
attr_accessor :backup_configuration
|
|
2266
2252
|
|
|
2267
2253
|
# The name of server Instance collation.
|
|
@@ -2269,9 +2255,9 @@ module Google
|
|
|
2269
2255
|
# @return [String]
|
|
2270
2256
|
attr_accessor :collation
|
|
2271
2257
|
|
|
2272
|
-
# Configuration specific to read replica instances. Indicates whether
|
|
2273
|
-
#
|
|
2274
|
-
#
|
|
2258
|
+
# Configuration specific to read replica instances. Indicates whether database
|
|
2259
|
+
# flags for crash-safe replication are enabled. This property was only
|
|
2260
|
+
# applicable to First Generation instances.
|
|
2275
2261
|
# Corresponds to the JSON property `crashSafeReplicationEnabled`
|
|
2276
2262
|
# @return [Boolean]
|
|
2277
2263
|
attr_accessor :crash_safe_replication_enabled
|
|
@@ -2282,15 +2268,15 @@ module Google
|
|
|
2282
2268
|
# @return [Fixnum]
|
|
2283
2269
|
attr_accessor :data_disk_size_gb
|
|
2284
2270
|
|
|
2285
|
-
# The type of data disk: PD_SSD (default) or
|
|
2286
|
-
#
|
|
2271
|
+
# The type of data disk: PD_SSD (default) or PD_HDD. Not used for First
|
|
2272
|
+
# Generation instances.
|
|
2287
2273
|
# Corresponds to the JSON property `dataDiskType`
|
|
2288
2274
|
# @return [String]
|
|
2289
2275
|
attr_accessor :data_disk_type
|
|
2290
2276
|
|
|
2291
2277
|
# The database flags passed to the instance at startup.
|
|
2292
2278
|
# Corresponds to the JSON property `databaseFlags`
|
|
2293
|
-
# @return [Array<Google::Apis::
|
|
2279
|
+
# @return [Array<Google::Apis::SqladminV1beta4::DatabaseFlags>]
|
|
2294
2280
|
attr_accessor :database_flags
|
|
2295
2281
|
|
|
2296
2282
|
# Configuration specific to read replica instances. Indicates whether
|
|
@@ -2300,50 +2286,53 @@ module Google
|
|
|
2300
2286
|
attr_accessor :database_replication_enabled
|
|
2301
2287
|
alias_method :database_replication_enabled?, :database_replication_enabled
|
|
2302
2288
|
|
|
2289
|
+
# Deny maintenance periods
|
|
2290
|
+
# Corresponds to the JSON property `denyMaintenancePeriods`
|
|
2291
|
+
# @return [Array<Google::Apis::SqladminV1beta4::DenyMaintenancePeriod>]
|
|
2292
|
+
attr_accessor :deny_maintenance_periods
|
|
2293
|
+
|
|
2303
2294
|
# IP Management configuration.
|
|
2304
2295
|
# Corresponds to the JSON property `ipConfiguration`
|
|
2305
|
-
# @return [Google::Apis::
|
|
2296
|
+
# @return [Google::Apis::SqladminV1beta4::IpConfiguration]
|
|
2306
2297
|
attr_accessor :ip_configuration
|
|
2307
2298
|
|
|
2308
|
-
# This is always
|
|
2299
|
+
# This is always *sql#settings*.
|
|
2309
2300
|
# Corresponds to the JSON property `kind`
|
|
2310
2301
|
# @return [String]
|
|
2311
2302
|
attr_accessor :kind
|
|
2312
2303
|
|
|
2313
|
-
# Preferred location. This specifies where a Cloud SQL instance
|
|
2314
|
-
#
|
|
2315
|
-
#
|
|
2316
|
-
#
|
|
2317
|
-
#
|
|
2304
|
+
# Preferred location. This specifies where a Cloud SQL instance is located,
|
|
2305
|
+
# either in a specific Compute Engine zone, or co-located with an App Engine
|
|
2306
|
+
# application. Note that if the preferred location is not available, the
|
|
2307
|
+
# instance will be located as close as possible within the region. Only one
|
|
2308
|
+
# location may be specified.
|
|
2318
2309
|
# Corresponds to the JSON property `locationPreference`
|
|
2319
|
-
# @return [Google::Apis::
|
|
2310
|
+
# @return [Google::Apis::SqladminV1beta4::LocationPreference]
|
|
2320
2311
|
attr_accessor :location_preference
|
|
2321
2312
|
|
|
2322
|
-
# Maintenance window. This specifies when a
|
|
2323
|
-
#
|
|
2313
|
+
# Maintenance window. This specifies when a Cloud SQL instance is restarted for
|
|
2314
|
+
# system maintenance purposes.
|
|
2324
2315
|
# Corresponds to the JSON property `maintenanceWindow`
|
|
2325
|
-
# @return [Google::Apis::
|
|
2316
|
+
# @return [Google::Apis::SqladminV1beta4::MaintenanceWindow]
|
|
2326
2317
|
attr_accessor :maintenance_window
|
|
2327
2318
|
|
|
2328
|
-
# The pricing plan for this instance. This can be either
|
|
2329
|
-
#
|
|
2330
|
-
# Generation instances.
|
|
2319
|
+
# The pricing plan for this instance. This can be either *PER_USE* or *PACKAGE*.
|
|
2320
|
+
# Only *PER_USE* is supported for Second Generation instances.
|
|
2331
2321
|
# Corresponds to the JSON property `pricingPlan`
|
|
2332
2322
|
# @return [String]
|
|
2333
2323
|
attr_accessor :pricing_plan
|
|
2334
2324
|
|
|
2335
|
-
# The type of replication this instance uses. This can be either
|
|
2336
|
-
#
|
|
2337
|
-
#
|
|
2338
|
-
# First Generation instances.
|
|
2325
|
+
# The type of replication this instance uses. This can be either *ASYNCHRONOUS*
|
|
2326
|
+
# or *SYNCHRONOUS*. (Deprecated_ This property was only applicable to First
|
|
2327
|
+
# Generation instances.
|
|
2339
2328
|
# Corresponds to the JSON property `replicationType`
|
|
2340
2329
|
# @return [String]
|
|
2341
2330
|
attr_accessor :replication_type
|
|
2342
2331
|
|
|
2343
|
-
# The version of instance settings. This is a required field for update
|
|
2344
|
-
#
|
|
2345
|
-
#
|
|
2346
|
-
#
|
|
2332
|
+
# The version of instance settings. This is a required field for update method
|
|
2333
|
+
# to make sure concurrent updates are handled properly. During update, use the
|
|
2334
|
+
# most recent settingsVersion value for this instance and do not try to update
|
|
2335
|
+
# this value.
|
|
2347
2336
|
# Corresponds to the JSON property `settingsVersion`
|
|
2348
2337
|
# @return [Fixnum]
|
|
2349
2338
|
attr_accessor :settings_version
|
|
@@ -2355,21 +2344,20 @@ module Google
|
|
|
2355
2344
|
attr_accessor :storage_auto_resize
|
|
2356
2345
|
alias_method :storage_auto_resize?, :storage_auto_resize
|
|
2357
2346
|
|
|
2358
|
-
# The maximum size to which storage capacity can be automatically increased.
|
|
2359
|
-
#
|
|
2347
|
+
# The maximum size to which storage capacity can be automatically increased. The
|
|
2348
|
+
# default value is 0, which specifies that there is no limit.
|
|
2360
2349
|
# Corresponds to the JSON property `storageAutoResizeLimit`
|
|
2361
2350
|
# @return [Fixnum]
|
|
2362
2351
|
attr_accessor :storage_auto_resize_limit
|
|
2363
2352
|
|
|
2364
|
-
# The tier (or machine type) for this instance, for example
|
|
2365
|
-
#
|
|
2366
|
-
# <b>db-custom-1-3840</b> (PostgreSQL instances).
|
|
2353
|
+
# The tier (or machine type) for this instance, for example *db-n1-standard-1* (
|
|
2354
|
+
# MySQL instances) or *db-custom-1-3840* (PostgreSQL instances).
|
|
2367
2355
|
# Corresponds to the JSON property `tier`
|
|
2368
2356
|
# @return [String]
|
|
2369
2357
|
attr_accessor :tier
|
|
2370
2358
|
|
|
2371
|
-
# User-provided labels, represented as a dictionary where each label is a
|
|
2372
|
-
#
|
|
2359
|
+
# User-provided labels, represented as a dictionary where each label is a single
|
|
2360
|
+
# key value pair.
|
|
2373
2361
|
# Corresponds to the JSON property `userLabels`
|
|
2374
2362
|
# @return [Hash<String,String>]
|
|
2375
2363
|
attr_accessor :user_labels
|
|
@@ -2381,6 +2369,7 @@ module Google
|
|
|
2381
2369
|
# Update properties of this object
|
|
2382
2370
|
def update!(**args)
|
|
2383
2371
|
@activation_policy = args[:activation_policy] if args.key?(:activation_policy)
|
|
2372
|
+
@active_directory_config = args[:active_directory_config] if args.key?(:active_directory_config)
|
|
2384
2373
|
@authorized_gae_applications = args[:authorized_gae_applications] if args.key?(:authorized_gae_applications)
|
|
2385
2374
|
@availability_type = args[:availability_type] if args.key?(:availability_type)
|
|
2386
2375
|
@backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
|
|
@@ -2390,6 +2379,7 @@ module Google
|
|
|
2390
2379
|
@data_disk_type = args[:data_disk_type] if args.key?(:data_disk_type)
|
|
2391
2380
|
@database_flags = args[:database_flags] if args.key?(:database_flags)
|
|
2392
2381
|
@database_replication_enabled = args[:database_replication_enabled] if args.key?(:database_replication_enabled)
|
|
2382
|
+
@deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
|
|
2393
2383
|
@ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
|
|
2394
2384
|
@kind = args[:kind] if args.key?(:kind)
|
|
2395
2385
|
@location_preference = args[:location_preference] if args.key?(:location_preference)
|
|
@@ -2404,7 +2394,32 @@ module Google
|
|
|
2404
2394
|
end
|
|
2405
2395
|
end
|
|
2406
2396
|
|
|
2407
|
-
#
|
|
2397
|
+
# Active Directory configuration, for now relevant only for SQL Server
|
|
2398
|
+
class SqlActiveDirectoryConfig
|
|
2399
|
+
include Google::Apis::Core::Hashable
|
|
2400
|
+
|
|
2401
|
+
# Domain name
|
|
2402
|
+
# Corresponds to the JSON property `domain`
|
|
2403
|
+
# @return [String]
|
|
2404
|
+
attr_accessor :domain
|
|
2405
|
+
|
|
2406
|
+
# This will be always sql#activeDirectoryConfig.
|
|
2407
|
+
# Corresponds to the JSON property `kind`
|
|
2408
|
+
# @return [String]
|
|
2409
|
+
attr_accessor :kind
|
|
2410
|
+
|
|
2411
|
+
def initialize(**args)
|
|
2412
|
+
update!(**args)
|
|
2413
|
+
end
|
|
2414
|
+
|
|
2415
|
+
# Update properties of this object
|
|
2416
|
+
def update!(**args)
|
|
2417
|
+
@domain = args[:domain] if args.key?(:domain)
|
|
2418
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
2419
|
+
end
|
|
2420
|
+
end
|
|
2421
|
+
|
|
2422
|
+
# External primary instance migration setting error.
|
|
2408
2423
|
class SqlExternalSyncSettingError
|
|
2409
2424
|
include Google::Apis::Core::Hashable
|
|
2410
2425
|
|
|
@@ -2413,7 +2428,7 @@ module Google
|
|
|
2413
2428
|
# @return [String]
|
|
2414
2429
|
attr_accessor :detail
|
|
2415
2430
|
|
|
2416
|
-
# This is always
|
|
2431
|
+
# This is always *sql#migrationSettingError*.
|
|
2417
2432
|
# Corresponds to the JSON property `kind`
|
|
2418
2433
|
# @return [String]
|
|
2419
2434
|
attr_accessor :kind
|
|
@@ -2441,7 +2456,7 @@ module Google
|
|
|
2441
2456
|
|
|
2442
2457
|
# Required. The type of the reschedule the user wants.
|
|
2443
2458
|
# Corresponds to the JSON property `reschedule`
|
|
2444
|
-
# @return [Google::Apis::
|
|
2459
|
+
# @return [Google::Apis::SqladminV1beta4::Reschedule]
|
|
2445
2460
|
attr_accessor :reschedule
|
|
2446
2461
|
|
|
2447
2462
|
def initialize(**args)
|
|
@@ -2460,10 +2475,10 @@ module Google
|
|
|
2460
2475
|
|
|
2461
2476
|
# List of migration violations.
|
|
2462
2477
|
# Corresponds to the JSON property `errors`
|
|
2463
|
-
# @return [Array<Google::Apis::
|
|
2478
|
+
# @return [Array<Google::Apis::SqladminV1beta4::SqlExternalSyncSettingError>]
|
|
2464
2479
|
attr_accessor :errors
|
|
2465
2480
|
|
|
2466
|
-
# This is always
|
|
2481
|
+
# This is always *sql#migrationSettingErrorList*.
|
|
2467
2482
|
# Corresponds to the JSON property `kind`
|
|
2468
2483
|
# @return [String]
|
|
2469
2484
|
attr_accessor :kind
|
|
@@ -2577,21 +2592,19 @@ module Google
|
|
|
2577
2592
|
# @return [String]
|
|
2578
2593
|
attr_accessor :cert_serial_number
|
|
2579
2594
|
|
|
2580
|
-
# User supplied name.
|
|
2595
|
+
# User supplied name. Constrained to [a-zA-Z.-_ ]+.
|
|
2581
2596
|
# Corresponds to the JSON property `commonName`
|
|
2582
2597
|
# @return [String]
|
|
2583
2598
|
attr_accessor :common_name
|
|
2584
2599
|
|
|
2585
|
-
# The time when the certificate was created in
|
|
2586
|
-
#
|
|
2587
|
-
# <b>2012-11-15T16:19:00.094Z</b>
|
|
2600
|
+
# The time when the certificate was created in RFC 3339 format, for example *
|
|
2601
|
+
# 2012-11-15T16:19:00.094Z*
|
|
2588
2602
|
# Corresponds to the JSON property `createTime`
|
|
2589
2603
|
# @return [String]
|
|
2590
2604
|
attr_accessor :create_time
|
|
2591
2605
|
|
|
2592
|
-
# The time when the certificate expires in
|
|
2593
|
-
#
|
|
2594
|
-
# <b>2012-11-15T16:19:00.094Z</b>.
|
|
2606
|
+
# The time when the certificate expires in RFC 3339 format, for example *2012-11-
|
|
2607
|
+
# 15T16:19:00.094Z*.
|
|
2595
2608
|
# Corresponds to the JSON property `expirationTime`
|
|
2596
2609
|
# @return [String]
|
|
2597
2610
|
attr_accessor :expiration_time
|
|
@@ -2601,7 +2614,7 @@ module Google
|
|
|
2601
2614
|
# @return [String]
|
|
2602
2615
|
attr_accessor :instance
|
|
2603
2616
|
|
|
2604
|
-
# This is always
|
|
2617
|
+
# This is always *sql#sslCert*.
|
|
2605
2618
|
# Corresponds to the JSON property `kind`
|
|
2606
2619
|
# @return [String]
|
|
2607
2620
|
attr_accessor :kind
|
|
@@ -2640,11 +2653,11 @@ module Google
|
|
|
2640
2653
|
|
|
2641
2654
|
# SslCerts Resource
|
|
2642
2655
|
# Corresponds to the JSON property `certInfo`
|
|
2643
|
-
# @return [Google::Apis::
|
|
2656
|
+
# @return [Google::Apis::SqladminV1beta4::SslCert]
|
|
2644
2657
|
attr_accessor :cert_info
|
|
2645
2658
|
|
|
2646
|
-
# The private key for the client cert, in pem format.
|
|
2647
|
-
#
|
|
2659
|
+
# The private key for the client cert, in pem format. Keep private in order to
|
|
2660
|
+
# protect your security.
|
|
2648
2661
|
# Corresponds to the JSON property `certPrivateKey`
|
|
2649
2662
|
# @return [String]
|
|
2650
2663
|
attr_accessor :cert_private_key
|
|
@@ -2680,11 +2693,11 @@ module Google
|
|
|
2680
2693
|
end
|
|
2681
2694
|
|
|
2682
2695
|
# SslCerts insert request.
|
|
2683
|
-
class
|
|
2696
|
+
class InsertSslCertsRequest
|
|
2684
2697
|
include Google::Apis::Core::Hashable
|
|
2685
2698
|
|
|
2686
|
-
# User supplied name.
|
|
2687
|
-
#
|
|
2699
|
+
# User supplied name. Must be a distinct name from the other certificates for
|
|
2700
|
+
# this instance.
|
|
2688
2701
|
# Corresponds to the JSON property `commonName`
|
|
2689
2702
|
# @return [String]
|
|
2690
2703
|
attr_accessor :common_name
|
|
@@ -2700,29 +2713,29 @@ module Google
|
|
|
2700
2713
|
end
|
|
2701
2714
|
|
|
2702
2715
|
# SslCert insert response.
|
|
2703
|
-
class
|
|
2716
|
+
class InsertSslCertsResponse
|
|
2704
2717
|
include Google::Apis::Core::Hashable
|
|
2705
2718
|
|
|
2706
2719
|
# SslCertDetail.
|
|
2707
2720
|
# Corresponds to the JSON property `clientCert`
|
|
2708
|
-
# @return [Google::Apis::
|
|
2721
|
+
# @return [Google::Apis::SqladminV1beta4::SslCertDetail]
|
|
2709
2722
|
attr_accessor :client_cert
|
|
2710
2723
|
|
|
2711
|
-
# This is always
|
|
2724
|
+
# This is always *sql#sslCertsInsert*.
|
|
2712
2725
|
# Corresponds to the JSON property `kind`
|
|
2713
2726
|
# @return [String]
|
|
2714
2727
|
attr_accessor :kind
|
|
2715
2728
|
|
|
2716
|
-
# An Operation resource
|
|
2717
|
-
#
|
|
2718
|
-
#
|
|
2729
|
+
# An Operation resource. For successful operations that return an Operation
|
|
2730
|
+
# resource, only the fields relevant to the operation are populated in the
|
|
2731
|
+
# resource.
|
|
2719
2732
|
# Corresponds to the JSON property `operation`
|
|
2720
|
-
# @return [Google::Apis::
|
|
2733
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
|
2721
2734
|
attr_accessor :operation
|
|
2722
2735
|
|
|
2723
2736
|
# SslCerts Resource
|
|
2724
2737
|
# Corresponds to the JSON property `serverCaCert`
|
|
2725
|
-
# @return [Google::Apis::
|
|
2738
|
+
# @return [Google::Apis::SqladminV1beta4::SslCert]
|
|
2726
2739
|
attr_accessor :server_ca_cert
|
|
2727
2740
|
|
|
2728
2741
|
def initialize(**args)
|
|
@@ -2739,15 +2752,15 @@ module Google
|
|
|
2739
2752
|
end
|
|
2740
2753
|
|
|
2741
2754
|
# SslCerts list response.
|
|
2742
|
-
class
|
|
2755
|
+
class ListSslCertsResponse
|
|
2743
2756
|
include Google::Apis::Core::Hashable
|
|
2744
2757
|
|
|
2745
2758
|
# List of client certificates for the instance.
|
|
2746
2759
|
# Corresponds to the JSON property `items`
|
|
2747
|
-
# @return [Array<Google::Apis::
|
|
2760
|
+
# @return [Array<Google::Apis::SqladminV1beta4::SslCert>]
|
|
2748
2761
|
attr_accessor :items
|
|
2749
2762
|
|
|
2750
|
-
# This is always
|
|
2763
|
+
# This is always *sql#sslCertsList*.
|
|
2751
2764
|
# Corresponds to the JSON property `kind`
|
|
2752
2765
|
# @return [String]
|
|
2753
2766
|
attr_accessor :kind
|
|
@@ -2777,7 +2790,7 @@ module Google
|
|
|
2777
2790
|
# @return [Fixnum]
|
|
2778
2791
|
attr_accessor :ram
|
|
2779
2792
|
|
|
2780
|
-
# This is always
|
|
2793
|
+
# This is always *sql#tier*.
|
|
2781
2794
|
# Corresponds to the JSON property `kind`
|
|
2782
2795
|
# @return [String]
|
|
2783
2796
|
attr_accessor :kind
|
|
@@ -2787,8 +2800,8 @@ module Google
|
|
|
2787
2800
|
# @return [Array<String>]
|
|
2788
2801
|
attr_accessor :region
|
|
2789
2802
|
|
|
2790
|
-
# An identifier for the machine type, for example, db-n1-standard-1. For
|
|
2791
|
-
#
|
|
2803
|
+
# An identifier for the machine type, for example, db-n1-standard-1. For related
|
|
2804
|
+
# information, see Pricing.
|
|
2792
2805
|
# Corresponds to the JSON property `tier`
|
|
2793
2806
|
# @return [String]
|
|
2794
2807
|
attr_accessor :tier
|
|
@@ -2808,15 +2821,15 @@ module Google
|
|
|
2808
2821
|
end
|
|
2809
2822
|
|
|
2810
2823
|
# Tiers list response.
|
|
2811
|
-
class
|
|
2824
|
+
class ListTiersResponse
|
|
2812
2825
|
include Google::Apis::Core::Hashable
|
|
2813
2826
|
|
|
2814
2827
|
# List of tiers.
|
|
2815
2828
|
# Corresponds to the JSON property `items`
|
|
2816
|
-
# @return [Array<Google::Apis::
|
|
2829
|
+
# @return [Array<Google::Apis::SqladminV1beta4::Tier>]
|
|
2817
2830
|
attr_accessor :items
|
|
2818
2831
|
|
|
2819
|
-
# This is always
|
|
2832
|
+
# This is always *sql#tiersList*.
|
|
2820
2833
|
# Corresponds to the JSON property `kind`
|
|
2821
2834
|
# @return [String]
|
|
2822
2835
|
attr_accessor :kind
|
|
@@ -2836,13 +2849,13 @@ module Google
|
|
|
2836
2849
|
class TruncateLogContext
|
|
2837
2850
|
include Google::Apis::Core::Hashable
|
|
2838
2851
|
|
|
2839
|
-
# This is always
|
|
2852
|
+
# This is always *sql#truncateLogContext*.
|
|
2840
2853
|
# Corresponds to the JSON property `kind`
|
|
2841
2854
|
# @return [String]
|
|
2842
2855
|
attr_accessor :kind
|
|
2843
2856
|
|
|
2844
|
-
# The type of log to truncate. Valid values are
|
|
2845
|
-
#
|
|
2857
|
+
# The type of log to truncate. Valid values are *MYSQL_GENERAL_TABLE* and *
|
|
2858
|
+
# MYSQL_SLOW_TABLE*.
|
|
2846
2859
|
# Corresponds to the JSON property `logType`
|
|
2847
2860
|
# @return [String]
|
|
2848
2861
|
attr_accessor :log_type
|
|
@@ -2862,34 +2875,31 @@ module Google
|
|
|
2862
2875
|
class User
|
|
2863
2876
|
include Google::Apis::Core::Hashable
|
|
2864
2877
|
|
|
2865
|
-
# This field is deprecated and will be removed from a future version of the
|
|
2866
|
-
# API.
|
|
2878
|
+
# This field is deprecated and will be removed from a future version of the API.
|
|
2867
2879
|
# Corresponds to the JSON property `etag`
|
|
2868
2880
|
# @return [String]
|
|
2869
2881
|
attr_accessor :etag
|
|
2870
2882
|
|
|
2871
|
-
# The host name from which the user can connect. For
|
|
2872
|
-
#
|
|
2873
|
-
#
|
|
2874
|
-
# cannot be updated after insertion.
|
|
2883
|
+
# The host name from which the user can connect. For *insert* operations, host
|
|
2884
|
+
# defaults to an empty string. For *update* operations, host is specified as
|
|
2885
|
+
# part of the request URL. The host name cannot be updated after insertion.
|
|
2875
2886
|
# Corresponds to the JSON property `host`
|
|
2876
2887
|
# @return [String]
|
|
2877
2888
|
attr_accessor :host
|
|
2878
2889
|
|
|
2879
|
-
# The name of the Cloud SQL instance. This does not include the project ID.
|
|
2880
|
-
#
|
|
2881
|
-
# URL.
|
|
2890
|
+
# The name of the Cloud SQL instance. This does not include the project ID. Can
|
|
2891
|
+
# be omitted for *update* since it is already specified on the URL.
|
|
2882
2892
|
# Corresponds to the JSON property `instance`
|
|
2883
2893
|
# @return [String]
|
|
2884
2894
|
attr_accessor :instance
|
|
2885
2895
|
|
|
2886
|
-
# This is always
|
|
2896
|
+
# This is always *sql#user*.
|
|
2887
2897
|
# Corresponds to the JSON property `kind`
|
|
2888
2898
|
# @return [String]
|
|
2889
2899
|
attr_accessor :kind
|
|
2890
2900
|
|
|
2891
|
-
# The name of the user in the Cloud SQL instance. Can be omitted for
|
|
2892
|
-
#
|
|
2901
|
+
# The name of the user in the Cloud SQL instance. Can be omitted for *update*
|
|
2902
|
+
# since it is already specified in the URL.
|
|
2893
2903
|
# Corresponds to the JSON property `name`
|
|
2894
2904
|
# @return [String]
|
|
2895
2905
|
attr_accessor :name
|
|
@@ -2900,17 +2910,23 @@ module Google
|
|
|
2900
2910
|
attr_accessor :password
|
|
2901
2911
|
|
|
2902
2912
|
# The project ID of the project containing the Cloud SQL database. The Google
|
|
2903
|
-
# apps domain is prefixed if applicable. Can be omitted for
|
|
2904
|
-
#
|
|
2913
|
+
# apps domain is prefixed if applicable. Can be omitted for *update* since it is
|
|
2914
|
+
# already specified on the URL.
|
|
2905
2915
|
# Corresponds to the JSON property `project`
|
|
2906
2916
|
# @return [String]
|
|
2907
2917
|
attr_accessor :project
|
|
2908
2918
|
|
|
2909
2919
|
# Represents a Sql Server user on the Cloud SQL instance.
|
|
2910
2920
|
# Corresponds to the JSON property `sqlserverUserDetails`
|
|
2911
|
-
# @return [Google::Apis::
|
|
2921
|
+
# @return [Google::Apis::SqladminV1beta4::SqlServerUserDetails]
|
|
2912
2922
|
attr_accessor :sqlserver_user_details
|
|
2913
2923
|
|
|
2924
|
+
# The user type. It determines the method to authenticate the user during login.
|
|
2925
|
+
# The default is the database's built-in user type.
|
|
2926
|
+
# Corresponds to the JSON property `type`
|
|
2927
|
+
# @return [String]
|
|
2928
|
+
attr_accessor :type
|
|
2929
|
+
|
|
2914
2930
|
def initialize(**args)
|
|
2915
2931
|
update!(**args)
|
|
2916
2932
|
end
|
|
@@ -2925,26 +2941,27 @@ module Google
|
|
|
2925
2941
|
@password = args[:password] if args.key?(:password)
|
|
2926
2942
|
@project = args[:project] if args.key?(:project)
|
|
2927
2943
|
@sqlserver_user_details = args[:sqlserver_user_details] if args.key?(:sqlserver_user_details)
|
|
2944
|
+
@type = args[:type] if args.key?(:type)
|
|
2928
2945
|
end
|
|
2929
2946
|
end
|
|
2930
2947
|
|
|
2931
2948
|
# User list response.
|
|
2932
|
-
class
|
|
2949
|
+
class ListUsersResponse
|
|
2933
2950
|
include Google::Apis::Core::Hashable
|
|
2934
2951
|
|
|
2935
2952
|
# List of user resources in the instance.
|
|
2936
2953
|
# Corresponds to the JSON property `items`
|
|
2937
|
-
# @return [Array<Google::Apis::
|
|
2954
|
+
# @return [Array<Google::Apis::SqladminV1beta4::User>]
|
|
2938
2955
|
attr_accessor :items
|
|
2939
2956
|
|
|
2940
|
-
# This is always
|
|
2957
|
+
# This is always *sql#usersList*.
|
|
2941
2958
|
# Corresponds to the JSON property `kind`
|
|
2942
2959
|
# @return [String]
|
|
2943
2960
|
attr_accessor :kind
|
|
2944
2961
|
|
|
2945
2962
|
# An identifier that uniquely identifies the operation. You can use this
|
|
2946
|
-
# identifier to retrieve the Operations resource that has information about
|
|
2947
|
-
#
|
|
2963
|
+
# identifier to retrieve the Operations resource that has information about the
|
|
2964
|
+
# operation.
|
|
2948
2965
|
# Corresponds to the JSON property `nextPageToken`
|
|
2949
2966
|
# @return [String]
|
|
2950
2967
|
attr_accessor :next_page_token
|