google-api-client 0.32.1 → 0.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.kokoro/continuous/linux.cfg +2 -2
- data/.kokoro/continuous/post.cfg +30 -0
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/.kokoro/release.cfg +94 -0
- data/.repo-metadata.json +5 -0
- data/.rubocop.yml +5 -0
- data/.yardopts +16 -3
- data/CHANGELOG.md +327 -0
- data/Gemfile +1 -0
- data/OVERVIEW.md +36 -0
- data/README.md +50 -2
- data/Rakefile +71 -2
- data/docs/api-keys.md +20 -0
- data/docs/auth.md +53 -0
- data/docs/client-secrets.md +69 -0
- data/docs/getting-started.md +340 -0
- data/docs/installation.md +0 -0
- data/docs/logging.md +34 -0
- data/docs/media-upload.md +25 -0
- data/docs/oauth-installed.md +191 -0
- data/docs/oauth-server.md +135 -0
- data/docs/oauth-web.md +280 -0
- data/docs/oauth.md +268 -0
- data/docs/pagination.md +29 -0
- data/docs/performance.md +25 -0
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -73
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +4 -3
- data/generated/google/apis/admin_directory_v1.rb +4 -1
- data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
- data/generated/google/apis/admin_reports_v1/service.rb +310 -64
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +105 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +51 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +10 -6
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +10 -6
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +104 -23
- data/generated/google/apis/bigquery_v2/representations.rb +37 -0
- data/generated/google/apis/bigquery_v2/service.rb +1 -5
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -5
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +3 -2
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -4
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -21
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +116 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +35 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +61 -77
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +16 -17
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +116 -78
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +63 -30
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +392 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +191 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +233 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1/classes.rb +6 -5
- data/generated/google/apis/binaryauthorization_v1/service.rb +2 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -5
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +20 -0
- data/generated/google/apis/books_v1/representations.rb +3 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +18 -30
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +89 -55
- data/generated/google/apis/cloudasset_v1/service.rb +1 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +75 -40
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +82 -36
- data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +5 -3
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +8 -2
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +18 -18
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +14 -14
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +13 -5
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +10 -4
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
- data/generated/google/apis/cloudidentity_v1/service.rb +2 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +13 -10
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +6 -5
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +6 -5
- data/generated/google/apis/cloudkms_v1/service.rb +3 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +75 -40
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +18 -17
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +10 -13
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +10 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +10 -132
- data/generated/google/apis/cloudsearch_v1/representations.rb +0 -75
- data/generated/google/apis/cloudsearch_v1/service.rb +47 -9
- data/generated/google/apis/cloudsearch_v1.rb +8 -8
- data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
- data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -1
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +212 -5
- data/generated/google/apis/cloudtasks_v2/representations.rb +50 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -5
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -5
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +14 -19
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +594 -164
- data/generated/google/apis/compute_alpha/representations.rb +110 -2
- data/generated/google/apis/compute_alpha/service.rb +1035 -640
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1070 -276
- data/generated/google/apis/compute_beta/representations.rb +284 -0
- data/generated/google/apis/compute_beta/service.rb +1242 -532
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +335 -133
- data/generated/google/apis/compute_v1/representations.rb +24 -0
- data/generated/google/apis/compute_v1/service.rb +759 -473
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +410 -83
- data/generated/google/apis/container_v1/representations.rb +134 -0
- data/generated/google/apis/container_v1/service.rb +119 -119
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +157 -3
- data/generated/google/apis/container_v1beta1/representations.rb +38 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +6 -5
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +6 -5
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +35 -223
- data/generated/google/apis/content_v2/representations.rb +0 -115
- data/generated/google/apis/content_v2/service.rb +0 -160
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +69 -21
- data/generated/google/apis/content_v2_1/representations.rb +3 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1646 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +700 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +1982 -0
- data/generated/google/apis/{cloudbuild_v1alpha1.rb → datacatalog_v1beta1.rb} +10 -9
- data/generated/google/apis/dataflow_v1b3/classes.rb +6 -9
- data/generated/google/apis/dataflow_v1b3/representations.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +156 -46
- data/generated/google/apis/datafusion_v1beta1/representations.rb +33 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +10 -1
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +119 -11
- data/generated/google/apis/dataproc_v1/representations.rb +39 -0
- data/generated/google/apis/dataproc_v1/service.rb +14 -7
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +9 -11
- data/generated/google/apis/dataproc_v1beta2/service.rb +26 -19
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +85 -1
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +21 -1
- data/generated/google/apis/dfareporting_v3_3/service.rb +6 -6
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1215 -797
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +593 -395
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +966 -1074
- data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
- data/generated/google/apis/dialogflow_v2/classes.rb +509 -8
- data/generated/google/apis/dialogflow_v2/representations.rb +222 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +530 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +224 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +109 -33
- data/generated/google/apis/dlp_v2/representations.rb +23 -3
- data/generated/google/apis/dlp_v2/service.rb +1996 -209
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +47 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +17 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +175 -0
- data/generated/google/apis/docs_v1/representations.rb +77 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +826 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +372 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +371 -0
- data/generated/google/apis/{urlshortener_v1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
- data/generated/google/apis/drive_v2/classes.rb +2 -1
- data/generated/google/apis/drive_v2/service.rb +3 -3
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +12 -3
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +15 -0
- data/generated/google/apis/fcm_v1/representations.rb +2 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +18 -4
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +6 -6
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +62 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +31 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +47 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +6 -26
- data/generated/google/apis/games_management_v1management/representations.rb +1 -14
- data/generated/google/apis/games_management_v1management/service.rb +0 -158
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +6 -292
- data/generated/google/apis/games_v1/representations.rb +1 -98
- data/generated/google/apis/games_v1/service.rb +0 -123
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +213 -16
- data/generated/google/apis/healthcare_v1beta1/representations.rb +101 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +207 -116
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +15 -1
- data/generated/google/apis/homegraph_v1/representations.rb +2 -1
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +15 -7
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +187 -2
- data/generated/google/apis/iap_v1/representations.rb +102 -0
- data/generated/google/apis/iap_v1/service.rb +72 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +167 -0
- data/generated/google/apis/jobs_v2/representations.rb +40 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +179 -0
- data/generated/google/apis/jobs_v3/representations.rb +41 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +179 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +15 -7
- data/generated/google/apis/licensing_v1/service.rb +81 -37
- data/generated/google/apis/licensing_v1.rb +4 -4
- data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
- data/generated/google/apis/lifesciences_v2beta.rb +35 -0
- data/generated/google/apis/logging_v2/classes.rb +30 -2
- data/generated/google/apis/logging_v2/representations.rb +4 -0
- data/generated/google/apis/logging_v2/service.rb +10 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +308 -155
- data/generated/google/apis/ml_v1/representations.rb +59 -0
- data/generated/google/apis/ml_v1/service.rb +44 -3
- data/generated/google/apis/ml_v1.rb +2 -2
- data/generated/google/apis/monitoring_v1/classes.rb +1153 -0
- data/generated/google/apis/monitoring_v1/representations.rb +528 -0
- data/generated/google/apis/{cloudbuild_v1alpha1 → monitoring_v1}/service.rb +86 -63
- data/generated/google/apis/monitoring_v1.rb +48 -0
- data/generated/google/apis/monitoring_v3/classes.rb +836 -60
- data/generated/google/apis/monitoring_v3/representations.rb +348 -0
- data/generated/google/apis/monitoring_v3/service.rb +384 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +10 -6
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +8 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +67 -63
- data/generated/google/apis/people_v1/service.rb +53 -44
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +168 -90
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +8 -6
- data/generated/google/apis/pubsub_v1/service.rb +9 -7
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -5
- data/generated/google/apis/pubsub_v1beta2/service.rb +2 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +10 -8
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +11 -11
- data/generated/google/apis/redis_v1/service.rb +5 -5
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +11 -11
- data/generated/google/apis/redis_v1beta1/service.rb +5 -5
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +113 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +50 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +113 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +50 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +113 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +50 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +8 -176
- data/generated/google/apis/run_v1/representations.rb +0 -71
- data/generated/google/apis/run_v1/service.rb +209 -1125
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +328 -9
- data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
- data/generated/google/apis/run_v1alpha1/service.rb +408 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +75 -40
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +159 -66
- data/generated/google/apis/securitycenter_v1/representations.rb +19 -0
- data/generated/google/apis/securitycenter_v1/service.rb +14 -12
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +95 -57
- data/generated/google/apis/securitycenter_v1beta1/service.rb +14 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +75 -40
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +75 -40
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +75 -40
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +95 -43
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +8 -12
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +142 -91
- data/generated/google/apis/servicemanagement_v1/representations.rb +24 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +32 -26
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +181 -54
- data/generated/google/apis/servicenetworking_v1/representations.rb +71 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +77 -3
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -43
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +87 -43
- data/generated/google/apis/serviceusage_v1/representations.rb +29 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -43
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +29 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +1371 -232
- data/generated/google/apis/sheets_v4/representations.rb +180 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +70 -30
- data/generated/google/apis/spanner_v1/service.rb +270 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +6 -0
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +6 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +9 -8
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +6 -6
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
- data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +499 -380
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +125 -104
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +637 -590
- data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +142 -1
- data/generated/google/apis/testing_v1/representations.rb +76 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +147 -36
- data/generated/google/apis/videointelligence_v1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +147 -36
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +147 -36
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +147 -36
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +147 -36
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +66 -0
- data/generated/google/apis/vision_v1/representations.rb +32 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +66 -0
- data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +66 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/google-api-client.gemspec +6 -3
- data/lib/google/apis/core/api_command.rb +3 -0
- data/lib/google/apis/core/http_command.rb +10 -8
- data/lib/google/apis/core/upload.rb +4 -0
- data/lib/google/apis/version.rb +1 -1
- data/rakelib/devsite/devsite_builder.rb +126 -0
- data/rakelib/devsite/link_checker.rb +64 -0
- data/rakelib/devsite/repo_metadata.rb +56 -0
- metadata +64 -42
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +0 -1168
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +0 -434
- data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
- data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
- data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
- data/generated/google/apis/storage_v1beta1.rb +0 -40
- data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
- data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
- data/generated/google/apis/urlshortener_v1/service.rb +0 -169
|
@@ -20,19 +20,20 @@ require 'google/apis/errors'
|
|
|
20
20
|
|
|
21
21
|
module Google
|
|
22
22
|
module Apis
|
|
23
|
-
module
|
|
23
|
+
module SqlV1beta4
|
|
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
|
-
#
|
|
29
|
+
# The time when this access control entry expires in <a
|
|
30
|
+
# href="https://tools.ietf.org/html/rfc3339">RFC 3339</a> format, for example
|
|
31
|
+
# <code>2012-11-15T16:19:00.094Z</code>.
|
|
31
32
|
# Corresponds to the JSON property `expirationTime`
|
|
32
|
-
# @return [
|
|
33
|
+
# @return [String]
|
|
33
34
|
attr_accessor :expiration_time
|
|
34
35
|
|
|
35
|
-
# This is always sql#aclEntry
|
|
36
|
+
# This is always <code>sql#aclEntry</code>.
|
|
36
37
|
# Corresponds to the JSON property `kind`
|
|
37
38
|
# @return [String]
|
|
38
39
|
attr_accessor :kind
|
|
@@ -89,8 +90,8 @@ module Google
|
|
|
89
90
|
class BackupConfiguration
|
|
90
91
|
include Google::Apis::Core::Hashable
|
|
91
92
|
|
|
92
|
-
# Whether binary log is enabled. If backup configuration is disabled, binary
|
|
93
|
-
# must be disabled as well.
|
|
93
|
+
# Whether binary log is enabled. If backup configuration is disabled, binary
|
|
94
|
+
# log must be disabled as well.
|
|
94
95
|
# Corresponds to the JSON property `binaryLogEnabled`
|
|
95
96
|
# @return [Boolean]
|
|
96
97
|
attr_accessor :binary_log_enabled
|
|
@@ -102,12 +103,12 @@ module Google
|
|
|
102
103
|
attr_accessor :enabled
|
|
103
104
|
alias_method :enabled?, :enabled
|
|
104
105
|
|
|
105
|
-
# This is always sql#backupConfiguration
|
|
106
|
+
# This is always <code>sql#backupConfiguration</code>.
|
|
106
107
|
# Corresponds to the JSON property `kind`
|
|
107
108
|
# @return [String]
|
|
108
109
|
attr_accessor :kind
|
|
109
110
|
|
|
110
|
-
#
|
|
111
|
+
# Location of the backup
|
|
111
112
|
# Corresponds to the JSON property `location`
|
|
112
113
|
# @return [String]
|
|
113
114
|
attr_accessor :location
|
|
@@ -118,8 +119,8 @@ module Google
|
|
|
118
119
|
attr_accessor :replication_log_archiving_enabled
|
|
119
120
|
alias_method :replication_log_archiving_enabled?, :replication_log_archiving_enabled
|
|
120
121
|
|
|
121
|
-
# Start time for the daily backup configuration in UTC timezone in the 24
|
|
122
|
-
# format - HH:MM
|
|
122
|
+
# Start time for the daily backup configuration in UTC timezone in the 24
|
|
123
|
+
# hour format - <code>HH:MM</code>.
|
|
123
124
|
# Corresponds to the JSON property `startTime`
|
|
124
125
|
# @return [String]
|
|
125
126
|
attr_accessor :start_time
|
|
@@ -148,31 +149,33 @@ module Google
|
|
|
148
149
|
# @return [String]
|
|
149
150
|
attr_accessor :description
|
|
150
151
|
|
|
151
|
-
# Disk encryption configuration.
|
|
152
|
+
# Disk encryption configuration for an instance.
|
|
152
153
|
# Corresponds to the JSON property `diskEncryptionConfiguration`
|
|
153
|
-
# @return [Google::Apis::
|
|
154
|
+
# @return [Google::Apis::SqlV1beta4::DiskEncryptionConfiguration]
|
|
154
155
|
attr_accessor :disk_encryption_configuration
|
|
155
156
|
|
|
156
|
-
# Disk encryption status.
|
|
157
|
+
# Disk encryption status for an instance.
|
|
157
158
|
# Corresponds to the JSON property `diskEncryptionStatus`
|
|
158
|
-
# @return [Google::Apis::
|
|
159
|
+
# @return [Google::Apis::SqlV1beta4::DiskEncryptionStatus]
|
|
159
160
|
attr_accessor :disk_encryption_status
|
|
160
161
|
|
|
161
|
-
# The time the backup operation completed in UTC timezone in
|
|
162
|
-
# for example
|
|
162
|
+
# The time the backup operation completed in UTC timezone in <a
|
|
163
|
+
# href="https://tools.ietf.org/html/rfc3339">RFC 3339</a> format, for example
|
|
164
|
+
# <code>2012-11-15T16:19:00.094Z</code>.
|
|
163
165
|
# Corresponds to the JSON property `endTime`
|
|
164
|
-
# @return [
|
|
166
|
+
# @return [String]
|
|
165
167
|
attr_accessor :end_time
|
|
166
168
|
|
|
167
|
-
# The time the run was enqueued in UTC timezone in
|
|
168
|
-
#
|
|
169
|
+
# The time the run was enqueued in UTC timezone in <a
|
|
170
|
+
# href="https://tools.ietf.org/html/rfc3339">RFC 3339</a> format, for example
|
|
171
|
+
# <code>2012-11-15T16:19:00.094Z</code>.
|
|
169
172
|
# Corresponds to the JSON property `enqueuedTime`
|
|
170
|
-
# @return [
|
|
173
|
+
# @return [String]
|
|
171
174
|
attr_accessor :enqueued_time
|
|
172
175
|
|
|
173
176
|
# Database instance operation error.
|
|
174
177
|
# Corresponds to the JSON property `error`
|
|
175
|
-
# @return [Google::Apis::
|
|
178
|
+
# @return [Google::Apis::SqlV1beta4::OperationError]
|
|
176
179
|
attr_accessor :error
|
|
177
180
|
|
|
178
181
|
# The identifier for this backup run. Unique only for a specific Cloud SQL
|
|
@@ -186,12 +189,12 @@ module Google
|
|
|
186
189
|
# @return [String]
|
|
187
190
|
attr_accessor :instance
|
|
188
191
|
|
|
189
|
-
# This is always sql#backupRun
|
|
192
|
+
# This is always <code>sql#backupRun</code>.
|
|
190
193
|
# Corresponds to the JSON property `kind`
|
|
191
194
|
# @return [String]
|
|
192
195
|
attr_accessor :kind
|
|
193
196
|
|
|
194
|
-
#
|
|
197
|
+
# Location of the backups.
|
|
195
198
|
# Corresponds to the JSON property `location`
|
|
196
199
|
# @return [String]
|
|
197
200
|
attr_accessor :location
|
|
@@ -201,10 +204,11 @@ module Google
|
|
|
201
204
|
# @return [String]
|
|
202
205
|
attr_accessor :self_link
|
|
203
206
|
|
|
204
|
-
# The time the backup operation actually started in UTC timezone in
|
|
205
|
-
# format, for example
|
|
207
|
+
# The time the backup operation actually started in UTC timezone in <a
|
|
208
|
+
# href="https://tools.ietf.org/html/rfc3339">RFC 3339</a> format, for example
|
|
209
|
+
# <code>2012-11-15T16:19:00.094Z</code>.
|
|
206
210
|
# Corresponds to the JSON property `startTime`
|
|
207
|
-
# @return [
|
|
211
|
+
# @return [String]
|
|
208
212
|
attr_accessor :start_time
|
|
209
213
|
|
|
210
214
|
# The status of this run.
|
|
@@ -217,10 +221,11 @@ module Google
|
|
|
217
221
|
# @return [String]
|
|
218
222
|
attr_accessor :type
|
|
219
223
|
|
|
220
|
-
# The start time of the backup window during which this the backup was
|
|
221
|
-
# in RFC 3339
|
|
224
|
+
# The start time of the backup window during which this the backup was
|
|
225
|
+
# attempted in <a href="https://tools.ietf.org/html/rfc3339">RFC 3339</a>
|
|
226
|
+
# format, for example <code>2012-11-15T16:19:00.094Z</code>.
|
|
222
227
|
# Corresponds to the JSON property `windowStartTime`
|
|
223
|
-
# @return [
|
|
228
|
+
# @return [String]
|
|
224
229
|
attr_accessor :window_start_time
|
|
225
230
|
|
|
226
231
|
def initialize(**args)
|
|
@@ -248,21 +253,21 @@ module Google
|
|
|
248
253
|
end
|
|
249
254
|
|
|
250
255
|
# Backup run list results.
|
|
251
|
-
class
|
|
256
|
+
class BackupRunsListResponse
|
|
252
257
|
include Google::Apis::Core::Hashable
|
|
253
258
|
|
|
254
259
|
# A list of backup runs in reverse chronological order of the enqueued time.
|
|
255
260
|
# Corresponds to the JSON property `items`
|
|
256
|
-
# @return [Array<Google::Apis::
|
|
261
|
+
# @return [Array<Google::Apis::SqlV1beta4::BackupRun>]
|
|
257
262
|
attr_accessor :items
|
|
258
263
|
|
|
259
|
-
# This is always sql#backupRunsList
|
|
264
|
+
# This is always <code>sql#backupRunsList</code>.
|
|
260
265
|
# Corresponds to the JSON property `kind`
|
|
261
266
|
# @return [String]
|
|
262
267
|
attr_accessor :kind
|
|
263
268
|
|
|
264
|
-
# The continuation token, used to page through large result sets. Provide
|
|
265
|
-
# value in a subsequent request to return the next page of results.
|
|
269
|
+
# The continuation token, used to page through large result sets. Provide
|
|
270
|
+
# this value in a subsequent request to return the next page of results.
|
|
266
271
|
# Corresponds to the JSON property `nextPageToken`
|
|
267
272
|
# @return [String]
|
|
268
273
|
attr_accessor :next_page_token
|
|
@@ -293,7 +298,7 @@ module Google
|
|
|
293
298
|
# @return [Fixnum]
|
|
294
299
|
attr_accessor :bin_log_position
|
|
295
300
|
|
|
296
|
-
# This is always sql#binLogCoordinates
|
|
301
|
+
# This is always <code>sql#binLogCoordinates</code>.
|
|
297
302
|
# Corresponds to the JSON property `kind`
|
|
298
303
|
# @return [String]
|
|
299
304
|
attr_accessor :kind
|
|
@@ -316,7 +321,7 @@ module Google
|
|
|
316
321
|
|
|
317
322
|
# Binary log coordinates.
|
|
318
323
|
# Corresponds to the JSON property `binLogCoordinates`
|
|
319
|
-
# @return [Google::Apis::
|
|
324
|
+
# @return [Google::Apis::SqlV1beta4::BinLogCoordinates]
|
|
320
325
|
attr_accessor :bin_log_coordinates
|
|
321
326
|
|
|
322
327
|
# Name of the Cloud SQL instance to be created as a clone.
|
|
@@ -324,7 +329,7 @@ module Google
|
|
|
324
329
|
# @return [String]
|
|
325
330
|
attr_accessor :destination_instance_name
|
|
326
331
|
|
|
327
|
-
# This is always sql#cloneContext
|
|
332
|
+
# This is always <code>sql#cloneContext</code>.
|
|
328
333
|
# Corresponds to the JSON property `kind`
|
|
329
334
|
# @return [String]
|
|
330
335
|
attr_accessor :kind
|
|
@@ -361,7 +366,8 @@ module Google
|
|
|
361
366
|
# @return [String]
|
|
362
367
|
attr_accessor :collation
|
|
363
368
|
|
|
364
|
-
# This field is deprecated and will be removed from a future version of the
|
|
369
|
+
# This field is deprecated and will be removed from a future version of the
|
|
370
|
+
# API.
|
|
365
371
|
# Corresponds to the JSON property `etag`
|
|
366
372
|
# @return [String]
|
|
367
373
|
attr_accessor :etag
|
|
@@ -371,13 +377,13 @@ module Google
|
|
|
371
377
|
# @return [String]
|
|
372
378
|
attr_accessor :instance
|
|
373
379
|
|
|
374
|
-
# This is always sql#database
|
|
380
|
+
# This is always <code>sql#database</code>.
|
|
375
381
|
# Corresponds to the JSON property `kind`
|
|
376
382
|
# @return [String]
|
|
377
383
|
attr_accessor :kind
|
|
378
384
|
|
|
379
|
-
# The name of the database in the Cloud SQL instance. This does not include
|
|
380
|
-
# project ID or instance name.
|
|
385
|
+
# The name of the database in the Cloud SQL instance. This does not include
|
|
386
|
+
# the project ID or instance name.
|
|
381
387
|
# Corresponds to the JSON property `name`
|
|
382
388
|
# @return [String]
|
|
383
389
|
attr_accessor :name
|
|
@@ -393,6 +399,11 @@ module Google
|
|
|
393
399
|
# @return [String]
|
|
394
400
|
attr_accessor :self_link
|
|
395
401
|
|
|
402
|
+
# Represents a Sql Server database on the Cloud SQL instance.
|
|
403
|
+
# Corresponds to the JSON property `sqlserverDatabaseDetails`
|
|
404
|
+
# @return [Google::Apis::SqlV1beta4::SqlServerDatabaseDetails]
|
|
405
|
+
attr_accessor :sqlserver_database_details
|
|
406
|
+
|
|
396
407
|
def initialize(**args)
|
|
397
408
|
update!(**args)
|
|
398
409
|
end
|
|
@@ -407,6 +418,7 @@ module Google
|
|
|
407
418
|
@name = args[:name] if args.key?(:name)
|
|
408
419
|
@project = args[:project] if args.key?(:project)
|
|
409
420
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
421
|
+
@sqlserver_database_details = args[:sqlserver_database_details] if args.key?(:sqlserver_database_details)
|
|
410
422
|
end
|
|
411
423
|
end
|
|
412
424
|
|
|
@@ -414,16 +426,18 @@ module Google
|
|
|
414
426
|
class DatabaseFlags
|
|
415
427
|
include Google::Apis::Core::Hashable
|
|
416
428
|
|
|
417
|
-
# The name of the flag. These flags are passed at instance startup, so
|
|
418
|
-
# both server options and system variables for MySQL. Flags should be
|
|
419
|
-
# with underscores, not hyphens. For more information, see
|
|
420
|
-
# Flags in the Cloud
|
|
429
|
+
# The name of the flag. These flags are passed at instance startup, so
|
|
430
|
+
# include both server options and system variables for MySQL. Flags should be
|
|
431
|
+
# specified with underscores, not hyphens. For more information, see <a
|
|
432
|
+
# href="/sql/docs/mysql/flags">Configuring Database Flags</a> in the Cloud
|
|
433
|
+
# SQL documentation.
|
|
421
434
|
# Corresponds to the JSON property `name`
|
|
422
435
|
# @return [String]
|
|
423
436
|
attr_accessor :name
|
|
424
437
|
|
|
425
|
-
# The value of the flag. Booleans should be set to on for true
|
|
426
|
-
# This field must be omitted if the flag
|
|
438
|
+
# The value of the flag. Booleans should be set to <code>on</code> for true
|
|
439
|
+
# and <code>off</code> for false. This field must be omitted if the flag
|
|
440
|
+
# doesn't take a value.
|
|
427
441
|
# Corresponds to the JSON property `value`
|
|
428
442
|
# @return [String]
|
|
429
443
|
attr_accessor :value
|
|
@@ -440,14 +454,16 @@ module Google
|
|
|
440
454
|
end
|
|
441
455
|
|
|
442
456
|
# A Cloud SQL instance resource.
|
|
457
|
+
# If you change this, also change SqlDatabaseInstance
|
|
443
458
|
class DatabaseInstance
|
|
444
459
|
include Google::Apis::Core::Hashable
|
|
445
460
|
|
|
446
|
-
# FIRST_GEN
|
|
447
|
-
# SECOND_GEN
|
|
448
|
-
# EXTERNAL
|
|
449
|
-
# This property is read-only; use the
|
|
450
|
-
#
|
|
461
|
+
# <code>FIRST_GEN</code>: First Generation instance. MySQL only. <br
|
|
462
|
+
# /><code>SECOND_GEN</code>: Second Generation instance or PostgreSQL
|
|
463
|
+
# instance. <br /><code>EXTERNAL</code>: A database server that is not
|
|
464
|
+
# managed by Google. <br>This property is read-only; use the
|
|
465
|
+
# <code>tier</code> property in the <code>settings</code> object to determine
|
|
466
|
+
# the database type and Second or First Generation.
|
|
451
467
|
# Corresponds to the JSON property `backendType`
|
|
452
468
|
# @return [String]
|
|
453
469
|
attr_accessor :backend_type
|
|
@@ -458,42 +474,46 @@ module Google
|
|
|
458
474
|
attr_accessor :connection_name
|
|
459
475
|
|
|
460
476
|
# The current disk usage of the instance in bytes. This property has been
|
|
461
|
-
# deprecated. Users should use the
|
|
462
|
-
# bytes_used" metric in Cloud
|
|
463
|
-
#
|
|
477
|
+
# deprecated. Users should use the
|
|
478
|
+
# "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud
|
|
479
|
+
# Monitoring API instead. Please see <a
|
|
480
|
+
# href="https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/
|
|
481
|
+
# BtvFtdFeAgAJ">this
|
|
482
|
+
# announcement</a> for details.
|
|
464
483
|
# Corresponds to the JSON property `currentDiskSize`
|
|
465
484
|
# @return [Fixnum]
|
|
466
485
|
attr_accessor :current_disk_size
|
|
467
486
|
|
|
468
|
-
# The database engine type and version. The databaseVersion
|
|
469
|
-
# changed after instance creation.
|
|
470
|
-
#
|
|
471
|
-
#
|
|
472
|
-
#
|
|
487
|
+
# The database engine type and version. The <code>databaseVersion</code>
|
|
488
|
+
# field can not be changed after instance creation. MySQL Second Generation
|
|
489
|
+
# instances: <code>MYSQL_5_7</code> (default) or <code>MYSQL_5_6</code>.
|
|
490
|
+
# PostgreSQL instances: <code>POSTGRES_9_6</code> (default) or
|
|
491
|
+
# <code>POSTGRES_11 Beta</code> MySQL First Generation
|
|
492
|
+
# instances: <code>MYSQL_5_6</code> (default) or <code>MYSQL_5_5</code>
|
|
473
493
|
# Corresponds to the JSON property `databaseVersion`
|
|
474
494
|
# @return [String]
|
|
475
495
|
attr_accessor :database_version
|
|
476
496
|
|
|
477
|
-
# Disk encryption configuration.
|
|
497
|
+
# Disk encryption configuration for an instance.
|
|
478
498
|
# Corresponds to the JSON property `diskEncryptionConfiguration`
|
|
479
|
-
# @return [Google::Apis::
|
|
499
|
+
# @return [Google::Apis::SqlV1beta4::DiskEncryptionConfiguration]
|
|
480
500
|
attr_accessor :disk_encryption_configuration
|
|
481
501
|
|
|
482
|
-
# Disk encryption status.
|
|
502
|
+
# Disk encryption status for an instance.
|
|
483
503
|
# Corresponds to the JSON property `diskEncryptionStatus`
|
|
484
|
-
# @return [Google::Apis::
|
|
504
|
+
# @return [Google::Apis::SqlV1beta4::DiskEncryptionStatus]
|
|
485
505
|
attr_accessor :disk_encryption_status
|
|
486
506
|
|
|
487
|
-
# This field is deprecated and will be removed from a future version of the
|
|
488
|
-
# Use the settings.settingsVersion field instead.
|
|
507
|
+
# This field is deprecated and will be removed from a future version of the
|
|
508
|
+
# API. Use the <code>settings.settingsVersion</code> field instead.
|
|
489
509
|
# Corresponds to the JSON property `etag`
|
|
490
510
|
# @return [String]
|
|
491
511
|
attr_accessor :etag
|
|
492
512
|
|
|
493
|
-
# The name and status of the failover replica. This property is applicable
|
|
494
|
-
# to Second Generation instances.
|
|
513
|
+
# The name and status of the failover replica. This property is applicable
|
|
514
|
+
# only to Second Generation instances.
|
|
495
515
|
# Corresponds to the JSON property `failoverReplica`
|
|
496
|
-
# @return [Google::Apis::
|
|
516
|
+
# @return [Google::Apis::SqlV1beta4::DatabaseInstance::FailoverReplica]
|
|
497
517
|
attr_accessor :failover_replica
|
|
498
518
|
|
|
499
519
|
# The Compute Engine zone that the instance is currently serving from. This
|
|
@@ -504,25 +524,27 @@ module Google
|
|
|
504
524
|
attr_accessor :gce_zone
|
|
505
525
|
|
|
506
526
|
# The instance type. This can be one of the following.
|
|
507
|
-
# CLOUD_SQL_INSTANCE
|
|
508
|
-
#
|
|
509
|
-
#
|
|
527
|
+
# <br><code>CLOUD_SQL_INSTANCE</code>: A Cloud SQL instance that is not
|
|
528
|
+
# replicating from a master. <br><code>ON_PREMISES_INSTANCE</code>: An
|
|
529
|
+
# instance running on the
|
|
530
|
+
# customer's premises. <br><code>READ_REPLICA_INSTANCE</code>: A Cloud SQL
|
|
531
|
+
# instance configured as a read-replica.
|
|
510
532
|
# Corresponds to the JSON property `instanceType`
|
|
511
533
|
# @return [String]
|
|
512
534
|
attr_accessor :instance_type
|
|
513
535
|
|
|
514
536
|
# The assigned IP addresses for the instance.
|
|
515
537
|
# Corresponds to the JSON property `ipAddresses`
|
|
516
|
-
# @return [Array<Google::Apis::
|
|
538
|
+
# @return [Array<Google::Apis::SqlV1beta4::IpMapping>]
|
|
517
539
|
attr_accessor :ip_addresses
|
|
518
540
|
|
|
519
|
-
# The IPv6 address assigned to the instance. This property is applicable only
|
|
520
|
-
# First Generation instances.
|
|
541
|
+
# The IPv6 address assigned to the instance. This property is applicable only
|
|
542
|
+
# to First Generation instances.
|
|
521
543
|
# Corresponds to the JSON property `ipv6Address`
|
|
522
544
|
# @return [String]
|
|
523
545
|
attr_accessor :ipv6_address
|
|
524
546
|
|
|
525
|
-
# This is always sql#instance
|
|
547
|
+
# This is always <code>sql#instance</code>.
|
|
526
548
|
# Corresponds to the JSON property `kind`
|
|
527
549
|
# @return [String]
|
|
528
550
|
attr_accessor :kind
|
|
@@ -544,7 +566,7 @@ module Google
|
|
|
544
566
|
|
|
545
567
|
# On-premises instance configuration.
|
|
546
568
|
# Corresponds to the JSON property `onPremisesConfiguration`
|
|
547
|
-
# @return [Google::Apis::
|
|
569
|
+
# @return [Google::Apis::SqlV1beta4::OnPremisesConfiguration]
|
|
548
570
|
attr_accessor :on_premises_configuration
|
|
549
571
|
|
|
550
572
|
# The project ID of the project containing the Cloud SQL instance. The Google
|
|
@@ -553,17 +575,20 @@ module Google
|
|
|
553
575
|
# @return [String]
|
|
554
576
|
attr_accessor :project
|
|
555
577
|
|
|
556
|
-
# The geographical region. Can be us-central
|
|
557
|
-
#
|
|
558
|
-
#
|
|
559
|
-
#
|
|
578
|
+
# The geographical region. Can be <code>us-central</code>
|
|
579
|
+
# (<code>FIRST_GEN</code> instances only), <code>us-central1</code>
|
|
580
|
+
# (<code>SECOND_GEN</code> instances only), <code>asia-east1</code> or
|
|
581
|
+
# <code>europe-west1</code>. Defaults to <code>us-central</code> or
|
|
582
|
+
# <code>us-central1</code> depending on the instance type (First Generation
|
|
583
|
+
# or Second Generation). The region can not be changed after instance
|
|
584
|
+
# creation.
|
|
560
585
|
# Corresponds to the JSON property `region`
|
|
561
586
|
# @return [String]
|
|
562
587
|
attr_accessor :region
|
|
563
588
|
|
|
564
589
|
# Read-replica configuration for connecting to the master.
|
|
565
590
|
# Corresponds to the JSON property `replicaConfiguration`
|
|
566
|
-
# @return [Google::Apis::
|
|
591
|
+
# @return [Google::Apis::SqlV1beta4::ReplicaConfiguration]
|
|
567
592
|
attr_accessor :replica_configuration
|
|
568
593
|
|
|
569
594
|
# The replicas of the instance.
|
|
@@ -576,6 +601,11 @@ module Google
|
|
|
576
601
|
# @return [String]
|
|
577
602
|
attr_accessor :root_password
|
|
578
603
|
|
|
604
|
+
# Any scheduled maintenancce for this instance.
|
|
605
|
+
# Corresponds to the JSON property `scheduledMaintenance`
|
|
606
|
+
# @return [Google::Apis::SqlV1beta4::SqlScheduledMaintenance]
|
|
607
|
+
attr_accessor :scheduled_maintenance
|
|
608
|
+
|
|
579
609
|
# The URI of this resource.
|
|
580
610
|
# Corresponds to the JSON property `selfLink`
|
|
581
611
|
# @return [String]
|
|
@@ -583,29 +613,28 @@ module Google
|
|
|
583
613
|
|
|
584
614
|
# SslCerts Resource
|
|
585
615
|
# Corresponds to the JSON property `serverCaCert`
|
|
586
|
-
# @return [Google::Apis::
|
|
616
|
+
# @return [Google::Apis::SqlV1beta4::SslCert]
|
|
587
617
|
attr_accessor :server_ca_cert
|
|
588
618
|
|
|
589
|
-
# The service account email address assigned to the instance. This property
|
|
590
|
-
# applicable only to Second Generation instances.
|
|
619
|
+
# The service account email address assigned to the instance. This property
|
|
620
|
+
# is applicable only to Second Generation instances.
|
|
591
621
|
# Corresponds to the JSON property `serviceAccountEmailAddress`
|
|
592
622
|
# @return [String]
|
|
593
623
|
attr_accessor :service_account_email_address
|
|
594
624
|
|
|
595
625
|
# Database instance settings.
|
|
596
626
|
# Corresponds to the JSON property `settings`
|
|
597
|
-
# @return [Google::Apis::
|
|
627
|
+
# @return [Google::Apis::SqlV1beta4::Settings]
|
|
598
628
|
attr_accessor :settings
|
|
599
629
|
|
|
600
630
|
# The current serving state of the Cloud SQL instance. This can be one of the
|
|
601
|
-
# following.
|
|
602
|
-
#
|
|
603
|
-
#
|
|
604
|
-
#
|
|
605
|
-
#
|
|
606
|
-
#
|
|
607
|
-
#
|
|
608
|
-
# UNKNOWN_STATE: The state of the instance is unknown.
|
|
631
|
+
# following. <br><code>RUNNABLE</code>: The instance is running, or is ready
|
|
632
|
+
# to run when accessed. <br><code>SUSPENDED</code>: The instance is not
|
|
633
|
+
# available, for example due to problems with billing.
|
|
634
|
+
# <br><code>PENDING_CREATE</code>: The instance is being created.
|
|
635
|
+
# <br><code>MAINTENANCE</code>: The instance is down for maintenance.
|
|
636
|
+
# <br><code>FAILED</code>: The instance creation failed.
|
|
637
|
+
# <br><code>UNKNOWN_STATE</code>: The state of the instance is unknown.
|
|
609
638
|
# Corresponds to the JSON property `state`
|
|
610
639
|
# @return [String]
|
|
611
640
|
attr_accessor :state
|
|
@@ -643,6 +672,7 @@ module Google
|
|
|
643
672
|
@replica_configuration = args[:replica_configuration] if args.key?(:replica_configuration)
|
|
644
673
|
@replica_names = args[:replica_names] if args.key?(:replica_names)
|
|
645
674
|
@root_password = args[:root_password] if args.key?(:root_password)
|
|
675
|
+
@scheduled_maintenance = args[:scheduled_maintenance] if args.key?(:scheduled_maintenance)
|
|
646
676
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
647
677
|
@server_ca_cert = args[:server_ca_cert] if args.key?(:server_ca_cert)
|
|
648
678
|
@service_account_email_address = args[:service_account_email_address] if args.key?(:service_account_email_address)
|
|
@@ -651,22 +681,23 @@ module Google
|
|
|
651
681
|
@suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
|
|
652
682
|
end
|
|
653
683
|
|
|
654
|
-
# The name and status of the failover replica. This property is applicable
|
|
655
|
-
# to Second Generation instances.
|
|
684
|
+
# The name and status of the failover replica. This property is applicable
|
|
685
|
+
# only to Second Generation instances.
|
|
656
686
|
class FailoverReplica
|
|
657
687
|
include Google::Apis::Core::Hashable
|
|
658
688
|
|
|
659
|
-
# The availability status of the failover replica. A false status indicates
|
|
660
|
-
# the failover replica is out of sync. The master can only failover to
|
|
661
|
-
#
|
|
689
|
+
# The availability status of the failover replica. A false status indicates
|
|
690
|
+
# that the failover replica is out of sync. The master can only failover to
|
|
691
|
+
# the failover replica when the status is true.
|
|
662
692
|
# Corresponds to the JSON property `available`
|
|
663
693
|
# @return [Boolean]
|
|
664
694
|
attr_accessor :available
|
|
665
695
|
alias_method :available?, :available
|
|
666
696
|
|
|
667
697
|
# The name of the failover replica. If specified at instance creation, a
|
|
668
|
-
# failover replica is created for the instance. The name
|
|
669
|
-
# project ID. This property is applicable only to
|
|
698
|
+
# failover replica is created for the instance. The name
|
|
699
|
+
# doesn't include the project ID. This property is applicable only to
|
|
700
|
+
# Second Generation instances.
|
|
670
701
|
# Corresponds to the JSON property `name`
|
|
671
702
|
# @return [String]
|
|
672
703
|
attr_accessor :name
|
|
@@ -684,15 +715,15 @@ module Google
|
|
|
684
715
|
end
|
|
685
716
|
|
|
686
717
|
# Database list response.
|
|
687
|
-
class
|
|
718
|
+
class DatabasesListResponse
|
|
688
719
|
include Google::Apis::Core::Hashable
|
|
689
720
|
|
|
690
721
|
# List of database resources in the instance.
|
|
691
722
|
# Corresponds to the JSON property `items`
|
|
692
|
-
# @return [Array<Google::Apis::
|
|
723
|
+
# @return [Array<Google::Apis::SqlV1beta4::Database>]
|
|
693
724
|
attr_accessor :items
|
|
694
725
|
|
|
695
|
-
# This is always sql#databasesList
|
|
726
|
+
# This is always <code>sql#databasesList</code>.
|
|
696
727
|
# Corresponds to the JSON property `kind`
|
|
697
728
|
# @return [String]
|
|
698
729
|
attr_accessor :kind
|
|
@@ -712,14 +743,14 @@ module Google
|
|
|
712
743
|
class DemoteMasterConfiguration
|
|
713
744
|
include Google::Apis::Core::Hashable
|
|
714
745
|
|
|
715
|
-
# This is always sql#demoteMasterConfiguration
|
|
746
|
+
# This is always <code>sql#demoteMasterConfiguration</code>.
|
|
716
747
|
# Corresponds to the JSON property `kind`
|
|
717
748
|
# @return [String]
|
|
718
749
|
attr_accessor :kind
|
|
719
750
|
|
|
720
751
|
# Read-replica configuration specific to MySQL databases.
|
|
721
752
|
# Corresponds to the JSON property `mysqlReplicaConfiguration`
|
|
722
|
-
# @return [Google::Apis::
|
|
753
|
+
# @return [Google::Apis::SqlV1beta4::DemoteMasterMySqlReplicaConfiguration]
|
|
723
754
|
attr_accessor :mysql_replica_configuration
|
|
724
755
|
|
|
725
756
|
def initialize(**args)
|
|
@@ -737,7 +768,7 @@ module Google
|
|
|
737
768
|
class DemoteMasterContext
|
|
738
769
|
include Google::Apis::Core::Hashable
|
|
739
770
|
|
|
740
|
-
# This is always sql#demoteMasterContext
|
|
771
|
+
# This is always <code>sql#demoteMasterContext</code>.
|
|
741
772
|
# Corresponds to the JSON property `kind`
|
|
742
773
|
# @return [String]
|
|
743
774
|
attr_accessor :kind
|
|
@@ -750,16 +781,16 @@ module Google
|
|
|
750
781
|
|
|
751
782
|
# Read-replica configuration for connecting to the on-premises master.
|
|
752
783
|
# Corresponds to the JSON property `replicaConfiguration`
|
|
753
|
-
# @return [Google::Apis::
|
|
784
|
+
# @return [Google::Apis::SqlV1beta4::DemoteMasterConfiguration]
|
|
754
785
|
attr_accessor :replica_configuration
|
|
755
786
|
|
|
756
|
-
# Verify GTID consistency for demote operation. Default value:
|
|
757
|
-
# Generation instances only.
|
|
758
|
-
# GTID consistency check between on-premises
|
|
759
|
-
# during the demotion operation but also
|
|
760
|
-
#
|
|
761
|
-
#
|
|
762
|
-
# issues.
|
|
787
|
+
# Verify GTID consistency for demote operation. Default value:
|
|
788
|
+
# <code>True</code>. Second Generation instances only. Setting this flag to
|
|
789
|
+
# false enables you to bypass GTID consistency check between on-premises
|
|
790
|
+
# master and Cloud SQL instance during the demotion operation but also
|
|
791
|
+
# exposes you to the risk of future replication failures. Change the value
|
|
792
|
+
# only if you know the reason for the GTID divergence and are confident that
|
|
793
|
+
# doing so will not cause any replication issues.
|
|
763
794
|
# Corresponds to the JSON property `verifyGtidConsistency`
|
|
764
795
|
# @return [Boolean]
|
|
765
796
|
attr_accessor :verify_gtid_consistency
|
|
@@ -792,14 +823,14 @@ module Google
|
|
|
792
823
|
# @return [String]
|
|
793
824
|
attr_accessor :client_certificate
|
|
794
825
|
|
|
795
|
-
# PEM representation of the slave's private key. The corresponsing public key
|
|
796
|
-
# encoded in the client's certificate. The format of the slave's private
|
|
797
|
-
# be either PKCS #1 or PKCS #8.
|
|
826
|
+
# PEM representation of the slave's private key. The corresponsing public key
|
|
827
|
+
# is encoded in the client's certificate. The format of the slave's private
|
|
828
|
+
# key can be either PKCS #1 or PKCS #8.
|
|
798
829
|
# Corresponds to the JSON property `clientKey`
|
|
799
830
|
# @return [String]
|
|
800
831
|
attr_accessor :client_key
|
|
801
832
|
|
|
802
|
-
# This is always sql#demoteMasterMysqlReplicaConfiguration
|
|
833
|
+
# This is always <code>sql#demoteMasterMysqlReplicaConfiguration</code>.
|
|
803
834
|
# Corresponds to the JSON property `kind`
|
|
804
835
|
# @return [String]
|
|
805
836
|
attr_accessor :kind
|
|
@@ -829,16 +860,16 @@ module Google
|
|
|
829
860
|
end
|
|
830
861
|
end
|
|
831
862
|
|
|
832
|
-
# Disk encryption configuration.
|
|
863
|
+
# Disk encryption configuration for an instance.
|
|
833
864
|
class DiskEncryptionConfiguration
|
|
834
865
|
include Google::Apis::Core::Hashable
|
|
835
866
|
|
|
836
|
-
# This is always sql#diskEncryptionConfiguration
|
|
867
|
+
# This is always <code>sql#diskEncryptionConfiguration</code>.
|
|
837
868
|
# Corresponds to the JSON property `kind`
|
|
838
869
|
# @return [String]
|
|
839
870
|
attr_accessor :kind
|
|
840
871
|
|
|
841
|
-
# KMS key
|
|
872
|
+
# Resource name of KMS key for disk encryption
|
|
842
873
|
# Corresponds to the JSON property `kmsKeyName`
|
|
843
874
|
# @return [String]
|
|
844
875
|
attr_accessor :kms_key_name
|
|
@@ -854,16 +885,16 @@ module Google
|
|
|
854
885
|
end
|
|
855
886
|
end
|
|
856
887
|
|
|
857
|
-
# Disk encryption status.
|
|
888
|
+
# Disk encryption status for an instance.
|
|
858
889
|
class DiskEncryptionStatus
|
|
859
890
|
include Google::Apis::Core::Hashable
|
|
860
891
|
|
|
861
|
-
# This is always sql#diskEncryptionStatus
|
|
892
|
+
# This is always <code>sql#diskEncryptionStatus</code>.
|
|
862
893
|
# Corresponds to the JSON property `kind`
|
|
863
894
|
# @return [String]
|
|
864
895
|
attr_accessor :kind
|
|
865
896
|
|
|
866
|
-
# KMS key version used to encrypt the Cloud SQL instance
|
|
897
|
+
# KMS key version used to encrypt the Cloud SQL instance resource
|
|
867
898
|
# Corresponds to the JSON property `kmsKeyVersionName`
|
|
868
899
|
# @return [String]
|
|
869
900
|
attr_accessor :kms_key_version_name
|
|
@@ -885,43 +916,45 @@ module Google
|
|
|
885
916
|
|
|
886
917
|
# Options for exporting data as CSV.
|
|
887
918
|
# Corresponds to the JSON property `csvExportOptions`
|
|
888
|
-
# @return [Google::Apis::
|
|
919
|
+
# @return [Google::Apis::SqlV1beta4::ExportContext::CsvExportOptions]
|
|
889
920
|
attr_accessor :csv_export_options
|
|
890
921
|
|
|
891
|
-
# Databases to be exported.
|
|
892
|
-
#
|
|
893
|
-
# databases are exported, except for the mysql system database.
|
|
894
|
-
# CSV
|
|
895
|
-
#
|
|
896
|
-
# property
|
|
897
|
-
#
|
|
898
|
-
#
|
|
899
|
-
#
|
|
922
|
+
# Databases to be exported. <br /> <b>MySQL instances:</b> If
|
|
923
|
+
# <code>fileType</code> is <code>SQL</code> and no database is specified, all
|
|
924
|
+
# databases are exported, except for the <code>mysql</code> system database.
|
|
925
|
+
# If <code>fileType</code> is <code>CSV</code>, you can specify one database,
|
|
926
|
+
# either by using this property or by using the
|
|
927
|
+
# <code>csvExportOptions.selectQuery</code> property, which takes precedence
|
|
928
|
+
# over this property. <br /> <b>PostgreSQL instances:</b> You must specify
|
|
929
|
+
# one database to be exported. If <code>fileType</code> is <code>CSV</code>,
|
|
930
|
+
# this database must match the one specified in the
|
|
931
|
+
# <code>csvExportOptions.selectQuery</code> property.
|
|
900
932
|
# Corresponds to the JSON property `databases`
|
|
901
933
|
# @return [Array<String>]
|
|
902
934
|
attr_accessor :databases
|
|
903
935
|
|
|
904
|
-
# The file type for the specified uri.
|
|
905
|
-
# SQL
|
|
906
|
-
# CSV: The file contains CSV data.
|
|
936
|
+
# The file type for the specified uri. <br><code>SQL</code>: The file
|
|
937
|
+
# contains SQL statements. <br><code>CSV</code>: The file contains CSV data.
|
|
907
938
|
# Corresponds to the JSON property `fileType`
|
|
908
939
|
# @return [String]
|
|
909
940
|
attr_accessor :file_type
|
|
910
941
|
|
|
911
|
-
# This is always sql#exportContext
|
|
942
|
+
# This is always <code>sql#exportContext</code>.
|
|
912
943
|
# Corresponds to the JSON property `kind`
|
|
913
944
|
# @return [String]
|
|
914
945
|
attr_accessor :kind
|
|
915
946
|
|
|
916
947
|
# Options for exporting data as SQL statements.
|
|
917
948
|
# Corresponds to the JSON property `sqlExportOptions`
|
|
918
|
-
# @return [Google::Apis::
|
|
949
|
+
# @return [Google::Apis::SqlV1beta4::ExportContext::SqlExportOptions]
|
|
919
950
|
attr_accessor :sql_export_options
|
|
920
951
|
|
|
921
|
-
# The path to the file in Google Cloud Storage where the export will be
|
|
922
|
-
# The URI is in the form gs
|
|
923
|
-
#
|
|
924
|
-
#
|
|
952
|
+
# The path to the file in Google Cloud Storage where the export will be
|
|
953
|
+
# stored. The URI is in the form <code>gs:
|
|
954
|
+
# //bucketName/fileName</code>. If the file already exists, the requests
|
|
955
|
+
# // succeeds, but the operation fails. If <code>fileType</code> is
|
|
956
|
+
# // <code>SQL</code> and the filename ends with .gz, the contents are
|
|
957
|
+
# // compressed.
|
|
925
958
|
# Corresponds to the JSON property `uri`
|
|
926
959
|
# @return [String]
|
|
927
960
|
attr_accessor :uri
|
|
@@ -965,7 +998,7 @@ module Google
|
|
|
965
998
|
|
|
966
999
|
# Options for exporting from MySQL.
|
|
967
1000
|
# Corresponds to the JSON property `mysqlExportOptions`
|
|
968
|
-
# @return [Google::Apis::
|
|
1001
|
+
# @return [Google::Apis::SqlV1beta4::ExportContext::SqlExportOptions::MysqlExportOptions]
|
|
969
1002
|
attr_accessor :mysql_export_options
|
|
970
1003
|
|
|
971
1004
|
# Export only schemas.
|
|
@@ -974,9 +1007,9 @@ module Google
|
|
|
974
1007
|
attr_accessor :schema_only
|
|
975
1008
|
alias_method :schema_only?, :schema_only
|
|
976
1009
|
|
|
977
|
-
# Tables to export, or that were exported, from the specified database. If
|
|
978
|
-
# specify tables, specify one and only one database. For PostgreSQL
|
|
979
|
-
# you can specify only one table.
|
|
1010
|
+
# Tables to export, or that were exported, from the specified database. If
|
|
1011
|
+
# you specify tables, specify one and only one database. For PostgreSQL
|
|
1012
|
+
# instances, you can specify only one table.
|
|
980
1013
|
# Corresponds to the JSON property `tables`
|
|
981
1014
|
# @return [Array<String>]
|
|
982
1015
|
attr_accessor :tables
|
|
@@ -996,10 +1029,12 @@ module Google
|
|
|
996
1029
|
class MysqlExportOptions
|
|
997
1030
|
include Google::Apis::Core::Hashable
|
|
998
1031
|
|
|
999
|
-
# Option to include SQL statement required to set up replication.
|
|
1000
|
-
# the dump file includes
|
|
1001
|
-
#
|
|
1002
|
-
#
|
|
1032
|
+
# Option to include SQL statement required to set up replication.
|
|
1033
|
+
# If set to <code>1</code>, the dump file includes
|
|
1034
|
+
# a CHANGE MASTER TO statement with the binary log coordinates.
|
|
1035
|
+
# If set to <code>2</code>, the CHANGE MASTER TO statement is written as
|
|
1036
|
+
# a SQL comment, and has no effect.
|
|
1037
|
+
# All other values are ignored.
|
|
1003
1038
|
# Corresponds to the JSON property `masterData`
|
|
1004
1039
|
# @return [Fixnum]
|
|
1005
1040
|
attr_accessor :master_data
|
|
@@ -1020,7 +1055,7 @@ module Google
|
|
|
1020
1055
|
class FailoverContext
|
|
1021
1056
|
include Google::Apis::Core::Hashable
|
|
1022
1057
|
|
|
1023
|
-
# This is always sql#failoverContext
|
|
1058
|
+
# This is always <code>sql#failoverContext</code>.
|
|
1024
1059
|
# Corresponds to the JSON property `kind`
|
|
1025
1060
|
# @return [String]
|
|
1026
1061
|
attr_accessor :kind
|
|
@@ -1046,40 +1081,42 @@ module Google
|
|
|
1046
1081
|
class Flag
|
|
1047
1082
|
include Google::Apis::Core::Hashable
|
|
1048
1083
|
|
|
1049
|
-
# For STRING flags, a list of strings that the value can be set
|
|
1084
|
+
# For <code>STRING</code> flags, a list of strings that the value can be set
|
|
1085
|
+
# to.
|
|
1050
1086
|
# Corresponds to the JSON property `allowedStringValues`
|
|
1051
1087
|
# @return [Array<String>]
|
|
1052
1088
|
attr_accessor :allowed_string_values
|
|
1053
1089
|
|
|
1054
|
-
# The database version this flag applies to. Can be MYSQL_5_5
|
|
1055
|
-
# MYSQL_5_7
|
|
1090
|
+
# The database version this flag applies to. Can be <code>MYSQL_5_5</code>,
|
|
1091
|
+
# <code>MYSQL_5_6</code>, or <code>MYSQL_5_7</code>. <code>MYSQL_5_7</code>
|
|
1092
|
+
# is applicable only to Second Generation instances.
|
|
1056
1093
|
# Corresponds to the JSON property `appliesTo`
|
|
1057
1094
|
# @return [Array<String>]
|
|
1058
1095
|
attr_accessor :applies_to
|
|
1059
1096
|
|
|
1060
|
-
#
|
|
1097
|
+
# Whether or not the flag is considered in beta.
|
|
1061
1098
|
# Corresponds to the JSON property `inBeta`
|
|
1062
1099
|
# @return [Boolean]
|
|
1063
1100
|
attr_accessor :in_beta
|
|
1064
1101
|
alias_method :in_beta?, :in_beta
|
|
1065
1102
|
|
|
1066
|
-
# This is always sql#flag
|
|
1103
|
+
# This is always <code>sql#flag</code>.
|
|
1067
1104
|
# Corresponds to the JSON property `kind`
|
|
1068
1105
|
# @return [String]
|
|
1069
1106
|
attr_accessor :kind
|
|
1070
1107
|
|
|
1071
|
-
# For INTEGER flags, the maximum allowed value.
|
|
1108
|
+
# For <code>INTEGER</code> flags, the maximum allowed value.
|
|
1072
1109
|
# Corresponds to the JSON property `maxValue`
|
|
1073
1110
|
# @return [Fixnum]
|
|
1074
1111
|
attr_accessor :max_value
|
|
1075
1112
|
|
|
1076
|
-
# For INTEGER flags, the minimum allowed value.
|
|
1113
|
+
# For <code>INTEGER</code> flags, the minimum allowed value.
|
|
1077
1114
|
# Corresponds to the JSON property `minValue`
|
|
1078
1115
|
# @return [Fixnum]
|
|
1079
1116
|
attr_accessor :min_value
|
|
1080
1117
|
|
|
1081
|
-
# This is the name of the flag. Flag names always use underscores, not
|
|
1082
|
-
# e.g. max_allowed_packet
|
|
1118
|
+
# This is the name of the flag. Flag names always use underscores, not
|
|
1119
|
+
# hyphens, e.g. <code>max_allowed_packet</code>
|
|
1083
1120
|
# Corresponds to the JSON property `name`
|
|
1084
1121
|
# @return [String]
|
|
1085
1122
|
attr_accessor :name
|
|
@@ -1091,9 +1128,10 @@ module Google
|
|
|
1091
1128
|
attr_accessor :requires_restart
|
|
1092
1129
|
alias_method :requires_restart?, :requires_restart
|
|
1093
1130
|
|
|
1094
|
-
# The type of the flag. Flags are typed to being BOOLEAN
|
|
1095
|
-
#
|
|
1096
|
-
#
|
|
1131
|
+
# The type of the flag. Flags are typed to being <code>BOOLEAN</code>,
|
|
1132
|
+
# <code>STRING</code>, <code>INTEGER</code> or <code>NONE</code>.
|
|
1133
|
+
# <code>NONE</code> is used for flags which do not take a value, such as
|
|
1134
|
+
# <code>skip_grant_tables</code>.
|
|
1097
1135
|
# Corresponds to the JSON property `type`
|
|
1098
1136
|
# @return [String]
|
|
1099
1137
|
attr_accessor :type
|
|
@@ -1117,15 +1155,15 @@ module Google
|
|
|
1117
1155
|
end
|
|
1118
1156
|
|
|
1119
1157
|
# Flags list response.
|
|
1120
|
-
class
|
|
1158
|
+
class FlagsListResponse
|
|
1121
1159
|
include Google::Apis::Core::Hashable
|
|
1122
1160
|
|
|
1123
1161
|
# List of flags.
|
|
1124
1162
|
# Corresponds to the JSON property `items`
|
|
1125
|
-
# @return [Array<Google::Apis::
|
|
1163
|
+
# @return [Array<Google::Apis::SqlV1beta4::Flag>]
|
|
1126
1164
|
attr_accessor :items
|
|
1127
1165
|
|
|
1128
|
-
# This is always sql#flagsList
|
|
1166
|
+
# This is always <code>sql#flagsList</code>.
|
|
1129
1167
|
# Corresponds to the JSON property `kind`
|
|
1130
1168
|
# @return [String]
|
|
1131
1169
|
attr_accessor :kind
|
|
@@ -1147,25 +1185,25 @@ module Google
|
|
|
1147
1185
|
|
|
1148
1186
|
# Import parameters specific to SQL Server .BAK files
|
|
1149
1187
|
# Corresponds to the JSON property `bakImportOptions`
|
|
1150
|
-
# @return [Google::Apis::
|
|
1188
|
+
# @return [Google::Apis::SqlV1beta4::ImportContext::BakImportOptions]
|
|
1151
1189
|
attr_accessor :bak_import_options
|
|
1152
1190
|
|
|
1153
1191
|
# Options for importing data as CSV.
|
|
1154
1192
|
# Corresponds to the JSON property `csvImportOptions`
|
|
1155
|
-
# @return [Google::Apis::
|
|
1193
|
+
# @return [Google::Apis::SqlV1beta4::ImportContext::CsvImportOptions]
|
|
1156
1194
|
attr_accessor :csv_import_options
|
|
1157
1195
|
|
|
1158
|
-
# The target database for the import. If fileType is
|
|
1159
|
-
# only if the import file does not
|
|
1160
|
-
#
|
|
1196
|
+
# The target database for the import. If <code>fileType</code> is
|
|
1197
|
+
# <code>SQL</code>, this field is required only if the import file does not
|
|
1198
|
+
# specify a database, and is overridden by any database specification in the
|
|
1199
|
+
# import file. If <code>fileType</code> is <code>CSV</code>, one database
|
|
1161
1200
|
# must be specified.
|
|
1162
1201
|
# Corresponds to the JSON property `database`
|
|
1163
1202
|
# @return [String]
|
|
1164
1203
|
attr_accessor :database
|
|
1165
1204
|
|
|
1166
|
-
# The file type for the specified uri.
|
|
1167
|
-
# SQL
|
|
1168
|
-
# CSV: The file contains CSV data.
|
|
1205
|
+
# The file type for the specified uri. <br><code>SQL</code>: The file
|
|
1206
|
+
# contains SQL statements. <br><code>CSV</code>: The file contains CSV data.
|
|
1169
1207
|
# Corresponds to the JSON property `fileType`
|
|
1170
1208
|
# @return [String]
|
|
1171
1209
|
attr_accessor :file_type
|
|
@@ -1175,14 +1213,16 @@ module Google
|
|
|
1175
1213
|
# @return [String]
|
|
1176
1214
|
attr_accessor :import_user
|
|
1177
1215
|
|
|
1178
|
-
# This is always sql#importContext
|
|
1216
|
+
# This is always <code>sql#importContext</code>.
|
|
1179
1217
|
# Corresponds to the JSON property `kind`
|
|
1180
1218
|
# @return [String]
|
|
1181
1219
|
attr_accessor :kind
|
|
1182
1220
|
|
|
1183
|
-
# Path to the import file in Cloud Storage, in the form
|
|
1184
|
-
#
|
|
1185
|
-
#
|
|
1221
|
+
# Path to the import file in Cloud Storage, in the form
|
|
1222
|
+
# <code>gs:
|
|
1223
|
+
# //bucketName/fileName</code>. Compressed gzip files (.gz) are supported
|
|
1224
|
+
# // when <code>fileType</code> is <code>SQL</code>. The instance must have
|
|
1225
|
+
# // write permissions to the bucket and read access to the file.
|
|
1186
1226
|
# Corresponds to the JSON property `uri`
|
|
1187
1227
|
# @return [String]
|
|
1188
1228
|
attr_accessor :uri
|
|
@@ -1208,7 +1248,7 @@ module Google
|
|
|
1208
1248
|
|
|
1209
1249
|
#
|
|
1210
1250
|
# Corresponds to the JSON property `encryptionOptions`
|
|
1211
|
-
# @return [Google::Apis::
|
|
1251
|
+
# @return [Google::Apis::SqlV1beta4::ImportContext::BakImportOptions::EncryptionOptions]
|
|
1212
1252
|
attr_accessor :encryption_options
|
|
1213
1253
|
|
|
1214
1254
|
def initialize(**args)
|
|
@@ -1224,9 +1264,9 @@ module Google
|
|
|
1224
1264
|
class EncryptionOptions
|
|
1225
1265
|
include Google::Apis::Core::Hashable
|
|
1226
1266
|
|
|
1227
|
-
# Path to the Certificate (.cer) in Cloud Storage, in the form
|
|
1228
|
-
# fileName
|
|
1229
|
-
# access to the file.
|
|
1267
|
+
# Path to the Certificate (.cer) in Cloud Storage, in the form
|
|
1268
|
+
# <code>gs://bucketName/fileName</code>. The instance must have
|
|
1269
|
+
# write permissions to the bucket and read access to the file.
|
|
1230
1270
|
# Corresponds to the JSON property `certPath`
|
|
1231
1271
|
# @return [String]
|
|
1232
1272
|
attr_accessor :cert_path
|
|
@@ -1236,9 +1276,9 @@ module Google
|
|
|
1236
1276
|
# @return [String]
|
|
1237
1277
|
attr_accessor :pvk_password
|
|
1238
1278
|
|
|
1239
|
-
# Path to the Certificate Private Key (.pvk)
|
|
1240
|
-
# bucketName/fileName
|
|
1241
|
-
# and read access to the file.
|
|
1279
|
+
# Path to the Certificate Private Key (.pvk) in Cloud Storage, in the
|
|
1280
|
+
# form <code>gs://bucketName/fileName</code>. The instance must have
|
|
1281
|
+
# write permissions to the bucket and read access to the file.
|
|
1242
1282
|
# Corresponds to the JSON property `pvkPath`
|
|
1243
1283
|
# @return [String]
|
|
1244
1284
|
attr_accessor :pvk_path
|
|
@@ -1260,8 +1300,8 @@ module Google
|
|
|
1260
1300
|
class CsvImportOptions
|
|
1261
1301
|
include Google::Apis::Core::Hashable
|
|
1262
1302
|
|
|
1263
|
-
# The columns to which CSV data is imported. If not specified, all columns
|
|
1264
|
-
# the database table are loaded with CSV data.
|
|
1303
|
+
# The columns to which CSV data is imported. If not specified, all columns
|
|
1304
|
+
# of the database table are loaded with CSV data.
|
|
1265
1305
|
# Corresponds to the JSON property `columns`
|
|
1266
1306
|
# @return [Array<String>]
|
|
1267
1307
|
attr_accessor :columns
|
|
@@ -1284,12 +1324,12 @@ module Google
|
|
|
1284
1324
|
end
|
|
1285
1325
|
|
|
1286
1326
|
# Database instance clone request.
|
|
1287
|
-
class
|
|
1327
|
+
class InstancesCloneRequest
|
|
1288
1328
|
include Google::Apis::Core::Hashable
|
|
1289
1329
|
|
|
1290
1330
|
# Database instance clone context.
|
|
1291
1331
|
# Corresponds to the JSON property `cloneContext`
|
|
1292
|
-
# @return [Google::Apis::
|
|
1332
|
+
# @return [Google::Apis::SqlV1beta4::CloneContext]
|
|
1293
1333
|
attr_accessor :clone_context
|
|
1294
1334
|
|
|
1295
1335
|
def initialize(**args)
|
|
@@ -1308,7 +1348,7 @@ module Google
|
|
|
1308
1348
|
|
|
1309
1349
|
# Database instance demote master context.
|
|
1310
1350
|
# Corresponds to the JSON property `demoteMasterContext`
|
|
1311
|
-
# @return [Google::Apis::
|
|
1351
|
+
# @return [Google::Apis::SqlV1beta4::DemoteMasterContext]
|
|
1312
1352
|
attr_accessor :demote_master_context
|
|
1313
1353
|
|
|
1314
1354
|
def initialize(**args)
|
|
@@ -1322,12 +1362,12 @@ module Google
|
|
|
1322
1362
|
end
|
|
1323
1363
|
|
|
1324
1364
|
# Database instance export request.
|
|
1325
|
-
class
|
|
1365
|
+
class InstancesExportRequest
|
|
1326
1366
|
include Google::Apis::Core::Hashable
|
|
1327
1367
|
|
|
1328
1368
|
# Database instance export context.
|
|
1329
1369
|
# Corresponds to the JSON property `exportContext`
|
|
1330
|
-
# @return [Google::Apis::
|
|
1370
|
+
# @return [Google::Apis::SqlV1beta4::ExportContext]
|
|
1331
1371
|
attr_accessor :export_context
|
|
1332
1372
|
|
|
1333
1373
|
def initialize(**args)
|
|
@@ -1346,7 +1386,7 @@ module Google
|
|
|
1346
1386
|
|
|
1347
1387
|
# Database instance failover context.
|
|
1348
1388
|
# Corresponds to the JSON property `failoverContext`
|
|
1349
|
-
# @return [Google::Apis::
|
|
1389
|
+
# @return [Google::Apis::SqlV1beta4::FailoverContext]
|
|
1350
1390
|
attr_accessor :failover_context
|
|
1351
1391
|
|
|
1352
1392
|
def initialize(**args)
|
|
@@ -1360,12 +1400,12 @@ module Google
|
|
|
1360
1400
|
end
|
|
1361
1401
|
|
|
1362
1402
|
# Database instance import request.
|
|
1363
|
-
class
|
|
1403
|
+
class InstancesImportRequest
|
|
1364
1404
|
include Google::Apis::Core::Hashable
|
|
1365
1405
|
|
|
1366
1406
|
# Database instance import context.
|
|
1367
1407
|
# Corresponds to the JSON property `importContext`
|
|
1368
|
-
# @return [Google::Apis::
|
|
1408
|
+
# @return [Google::Apis::SqlV1beta4::ImportContext]
|
|
1369
1409
|
attr_accessor :import_context
|
|
1370
1410
|
|
|
1371
1411
|
def initialize(**args)
|
|
@@ -1379,28 +1419,28 @@ module Google
|
|
|
1379
1419
|
end
|
|
1380
1420
|
|
|
1381
1421
|
# Database instances list response.
|
|
1382
|
-
class
|
|
1422
|
+
class InstancesListResponse
|
|
1383
1423
|
include Google::Apis::Core::Hashable
|
|
1384
1424
|
|
|
1385
1425
|
# List of database instance resources.
|
|
1386
1426
|
# Corresponds to the JSON property `items`
|
|
1387
|
-
# @return [Array<Google::Apis::
|
|
1427
|
+
# @return [Array<Google::Apis::SqlV1beta4::DatabaseInstance>]
|
|
1388
1428
|
attr_accessor :items
|
|
1389
1429
|
|
|
1390
|
-
# This is always sql#instancesList
|
|
1430
|
+
# This is always <code>sql#instancesList</code>.
|
|
1391
1431
|
# Corresponds to the JSON property `kind`
|
|
1392
1432
|
# @return [String]
|
|
1393
1433
|
attr_accessor :kind
|
|
1394
1434
|
|
|
1395
|
-
# The continuation token, used to page through large result sets. Provide
|
|
1396
|
-
# value in a subsequent request to return the next page of results.
|
|
1435
|
+
# The continuation token, used to page through large result sets. Provide
|
|
1436
|
+
# this value in a subsequent request to return the next page of results.
|
|
1397
1437
|
# Corresponds to the JSON property `nextPageToken`
|
|
1398
1438
|
# @return [String]
|
|
1399
1439
|
attr_accessor :next_page_token
|
|
1400
1440
|
|
|
1401
1441
|
# List of warnings that ocurred while handling the request.
|
|
1402
1442
|
# Corresponds to the JSON property `warnings`
|
|
1403
|
-
# @return [Array<Google::Apis::
|
|
1443
|
+
# @return [Array<Google::Apis::SqlV1beta4::ApiWarning>]
|
|
1404
1444
|
attr_accessor :warnings
|
|
1405
1445
|
|
|
1406
1446
|
def initialize(**args)
|
|
@@ -1427,10 +1467,10 @@ module Google
|
|
|
1427
1467
|
|
|
1428
1468
|
# List of server CA certificates for the instance.
|
|
1429
1469
|
# Corresponds to the JSON property `certs`
|
|
1430
|
-
# @return [Array<Google::Apis::
|
|
1470
|
+
# @return [Array<Google::Apis::SqlV1beta4::SslCert>]
|
|
1431
1471
|
attr_accessor :certs
|
|
1432
1472
|
|
|
1433
|
-
# This is always sql#instancesListServerCas
|
|
1473
|
+
# This is always <code>sql#instancesListServerCas</code>.
|
|
1434
1474
|
# Corresponds to the JSON property `kind`
|
|
1435
1475
|
# @return [String]
|
|
1436
1476
|
attr_accessor :kind
|
|
@@ -1448,12 +1488,13 @@ module Google
|
|
|
1448
1488
|
end
|
|
1449
1489
|
|
|
1450
1490
|
# Database instance restore backup request.
|
|
1451
|
-
class
|
|
1491
|
+
class InstancesRestoreBackupRequest
|
|
1452
1492
|
include Google::Apis::Core::Hashable
|
|
1453
1493
|
|
|
1454
1494
|
# Database instance restore from backup context.
|
|
1495
|
+
# Backup context contains source instance id and project id.
|
|
1455
1496
|
# Corresponds to the JSON property `restoreBackupContext`
|
|
1456
|
-
# @return [Google::Apis::
|
|
1497
|
+
# @return [Google::Apis::SqlV1beta4::RestoreBackupContext]
|
|
1457
1498
|
attr_accessor :restore_backup_context
|
|
1458
1499
|
|
|
1459
1500
|
def initialize(**args)
|
|
@@ -1472,7 +1513,7 @@ module Google
|
|
|
1472
1513
|
|
|
1473
1514
|
# Instance rotate server CA context.
|
|
1474
1515
|
# Corresponds to the JSON property `rotateServerCaContext`
|
|
1475
|
-
# @return [Google::Apis::
|
|
1516
|
+
# @return [Google::Apis::SqlV1beta4::RotateServerCaContext]
|
|
1476
1517
|
attr_accessor :rotate_server_ca_context
|
|
1477
1518
|
|
|
1478
1519
|
def initialize(**args)
|
|
@@ -1491,7 +1532,7 @@ module Google
|
|
|
1491
1532
|
|
|
1492
1533
|
# Database Instance truncate log context.
|
|
1493
1534
|
# Corresponds to the JSON property `truncateLogContext`
|
|
1494
|
-
# @return [Google::Apis::
|
|
1535
|
+
# @return [Google::Apis::SqlV1beta4::TruncateLogContext]
|
|
1495
1536
|
attr_accessor :truncate_log_context
|
|
1496
1537
|
|
|
1497
1538
|
def initialize(**args)
|
|
@@ -1509,10 +1550,12 @@ module Google
|
|
|
1509
1550
|
include Google::Apis::Core::Hashable
|
|
1510
1551
|
|
|
1511
1552
|
# The list of external networks that are allowed to connect to the instance
|
|
1512
|
-
# using the IP. In
|
|
1513
|
-
#
|
|
1553
|
+
# using the IP. In <a
|
|
1554
|
+
# href="http://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation">CIDR
|
|
1555
|
+
# notation</a>, also known as 'slash' notation (e.g.
|
|
1556
|
+
# <code>192.168.100.0/24</code>).
|
|
1514
1557
|
# Corresponds to the JSON property `authorizedNetworks`
|
|
1515
|
-
# @return [Array<Google::Apis::
|
|
1558
|
+
# @return [Array<Google::Apis::SqlV1beta4::AclEntry>]
|
|
1516
1559
|
attr_accessor :authorized_networks
|
|
1517
1560
|
|
|
1518
1561
|
# Whether the instance should be assigned an IP address or not.
|
|
@@ -1522,8 +1565,9 @@ module Google
|
|
|
1522
1565
|
alias_method :ipv4_enabled?, :ipv4_enabled
|
|
1523
1566
|
|
|
1524
1567
|
# The resource link for the VPC network from which the Cloud SQL instance is
|
|
1525
|
-
# accessible for private IP. For example,
|
|
1526
|
-
# default
|
|
1568
|
+
# accessible for private IP. For example,
|
|
1569
|
+
# <code>/projects/myProject/global/networks/default</code>. This setting can
|
|
1570
|
+
# be updated, but it cannot be removed after it is set.
|
|
1527
1571
|
# Corresponds to the JSON property `privateNetwork`
|
|
1528
1572
|
# @return [String]
|
|
1529
1573
|
attr_accessor :private_network
|
|
@@ -1556,17 +1600,19 @@ module Google
|
|
|
1556
1600
|
# @return [String]
|
|
1557
1601
|
attr_accessor :ip_address
|
|
1558
1602
|
|
|
1559
|
-
# The due time for this IP to be retired in
|
|
1560
|
-
#
|
|
1561
|
-
#
|
|
1603
|
+
# The due time for this IP to be retired in <a
|
|
1604
|
+
# href="https://tools.ietf.org/html/rfc3339">RFC 3339</a> format, for example
|
|
1605
|
+
# <code>2012-11-15T16:19:00.094Z</code>. This field is only available when
|
|
1606
|
+
# the IP is scheduled to be retired.
|
|
1562
1607
|
# Corresponds to the JSON property `timeToRetire`
|
|
1563
|
-
# @return [
|
|
1608
|
+
# @return [String]
|
|
1564
1609
|
attr_accessor :time_to_retire
|
|
1565
1610
|
|
|
1566
|
-
# The type of this IP address. A PRIMARY address is a public
|
|
1567
|
-
# accept incoming connections. A PRIVATE
|
|
1568
|
-
#
|
|
1569
|
-
#
|
|
1611
|
+
# The type of this IP address. A <code>PRIMARY</code> address is a public
|
|
1612
|
+
# address that can accept incoming connections. A <code>PRIVATE</code>
|
|
1613
|
+
# address is a private address that can accept incoming connections. An
|
|
1614
|
+
# <code>OUTGOING</code> address is the source address of connections
|
|
1615
|
+
# originating from the instance, if supported.
|
|
1570
1616
|
# Corresponds to the JSON property `type`
|
|
1571
1617
|
# @return [String]
|
|
1572
1618
|
attr_accessor :type
|
|
@@ -1584,10 +1630,10 @@ module Google
|
|
|
1584
1630
|
end
|
|
1585
1631
|
|
|
1586
1632
|
# Preferred location. This specifies where a Cloud SQL instance should
|
|
1587
|
-
# preferably be located, either in a specific Compute Engine zone, or
|
|
1588
|
-
# with an App Engine application. Note that if the preferred
|
|
1589
|
-
# available, the instance will be located as close as possible
|
|
1590
|
-
# Only one location may be specified.
|
|
1633
|
+
# preferably be located, either in a specific Compute Engine zone, or
|
|
1634
|
+
# co-located with an App Engine application. Note that if the preferred
|
|
1635
|
+
# location is not available, the instance will be located as close as possible
|
|
1636
|
+
# within the region. Only one location may be specified.
|
|
1591
1637
|
class LocationPreference
|
|
1592
1638
|
include Google::Apis::Core::Hashable
|
|
1593
1639
|
|
|
@@ -1597,12 +1643,13 @@ module Google
|
|
|
1597
1643
|
# @return [String]
|
|
1598
1644
|
attr_accessor :follow_gae_application
|
|
1599
1645
|
|
|
1600
|
-
# This is always sql#locationPreference
|
|
1646
|
+
# This is always <code>sql#locationPreference</code>.
|
|
1601
1647
|
# Corresponds to the JSON property `kind`
|
|
1602
1648
|
# @return [String]
|
|
1603
1649
|
attr_accessor :kind
|
|
1604
1650
|
|
|
1605
|
-
# The preferred Compute Engine zone (e.g. us-central1-a, us-central1-b,
|
|
1651
|
+
# The preferred Compute Engine zone (e.g. us-central1-a, us-central1-b,
|
|
1652
|
+
# etc.).
|
|
1606
1653
|
# Corresponds to the JSON property `zone`
|
|
1607
1654
|
# @return [String]
|
|
1608
1655
|
attr_accessor :zone
|
|
@@ -1634,13 +1681,15 @@ module Google
|
|
|
1634
1681
|
# @return [Fixnum]
|
|
1635
1682
|
attr_accessor :hour
|
|
1636
1683
|
|
|
1637
|
-
# This is always sql#maintenanceWindow
|
|
1684
|
+
# This is always <code>sql#maintenanceWindow</code>.
|
|
1638
1685
|
# Corresponds to the JSON property `kind`
|
|
1639
1686
|
# @return [String]
|
|
1640
1687
|
attr_accessor :kind
|
|
1641
1688
|
|
|
1642
|
-
# Maintenance timing setting: canary (Earlier) or
|
|
1643
|
-
#
|
|
1689
|
+
# Maintenance timing setting: <code>canary</code> (Earlier) or
|
|
1690
|
+
# <code>stable</code> (Later). <br /><a
|
|
1691
|
+
# href="/sql/docs/db_path/instance-settings#maintenance-timing-2ndgen">
|
|
1692
|
+
# Learn more</a>.
|
|
1644
1693
|
# Corresponds to the JSON property `updateTrack`
|
|
1645
1694
|
# @return [String]
|
|
1646
1695
|
attr_accessor :update_track
|
|
@@ -1672,8 +1721,8 @@ module Google
|
|
|
1672
1721
|
# @return [String]
|
|
1673
1722
|
attr_accessor :client_certificate
|
|
1674
1723
|
|
|
1675
|
-
# PEM representation of the slave's private key. The corresponsing public key
|
|
1676
|
-
# encoded in the client's certificate.
|
|
1724
|
+
# PEM representation of the slave's private key. The corresponsing public key
|
|
1725
|
+
# is encoded in the client's certificate.
|
|
1677
1726
|
# Corresponds to the JSON property `clientKey`
|
|
1678
1727
|
# @return [String]
|
|
1679
1728
|
attr_accessor :client_key
|
|
@@ -1683,16 +1732,17 @@ module Google
|
|
|
1683
1732
|
# @return [Fixnum]
|
|
1684
1733
|
attr_accessor :connect_retry_interval
|
|
1685
1734
|
|
|
1686
|
-
# Path to a SQL dump file in Google Cloud Storage from which the slave
|
|
1687
|
-
# is to be created. The URI is in the form gs
|
|
1688
|
-
# gzip files (.gz) are also supported.
|
|
1689
|
-
#
|
|
1690
|
-
# master-data to 1 when using
|
|
1735
|
+
# Path to a SQL dump file in Google Cloud Storage from which the slave
|
|
1736
|
+
# instance is to be created. The URI is in the form gs:
|
|
1737
|
+
# //bucketName/fileName. Compressed gzip files (.gz) are also supported.
|
|
1738
|
+
# // Dumps should have the binlog co-ordinates from which replication should
|
|
1739
|
+
# // begin. This can be accomplished by setting --master-data to 1 when using
|
|
1740
|
+
# // mysqldump.
|
|
1691
1741
|
# Corresponds to the JSON property `dumpFilePath`
|
|
1692
1742
|
# @return [String]
|
|
1693
1743
|
attr_accessor :dump_file_path
|
|
1694
1744
|
|
|
1695
|
-
# This is always sql#mysqlReplicaConfiguration
|
|
1745
|
+
# This is always <code>sql#mysqlReplicaConfiguration</code>.
|
|
1696
1746
|
# Corresponds to the JSON property `kind`
|
|
1697
1747
|
# @return [String]
|
|
1698
1748
|
attr_accessor :kind
|
|
@@ -1717,8 +1767,8 @@ module Google
|
|
|
1717
1767
|
# @return [String]
|
|
1718
1768
|
attr_accessor :username
|
|
1719
1769
|
|
|
1720
|
-
# Whether or not to check the master's Common Name value in the certificate
|
|
1721
|
-
# it sends during the SSL handshake.
|
|
1770
|
+
# Whether or not to check the master's Common Name value in the certificate
|
|
1771
|
+
# that it sends during the SSL handshake.
|
|
1722
1772
|
# Corresponds to the JSON property `verifyServerCertificate`
|
|
1723
1773
|
# @return [Boolean]
|
|
1724
1774
|
attr_accessor :verify_server_certificate
|
|
@@ -1753,7 +1803,7 @@ module Google
|
|
|
1753
1803
|
# @return [String]
|
|
1754
1804
|
attr_accessor :host_port
|
|
1755
1805
|
|
|
1756
|
-
# This is always sql#onPremisesConfiguration
|
|
1806
|
+
# This is always <code>sql#onPremisesConfiguration</code>.
|
|
1757
1807
|
# Corresponds to the JSON property `kind`
|
|
1758
1808
|
# @return [String]
|
|
1759
1809
|
attr_accessor :kind
|
|
@@ -1769,54 +1819,59 @@ module Google
|
|
|
1769
1819
|
end
|
|
1770
1820
|
end
|
|
1771
1821
|
|
|
1772
|
-
# An Operation resource
|
|
1773
|
-
# resource, only the fields relevant to the operation are populated
|
|
1774
|
-
# resource.
|
|
1822
|
+
# An Operation resource. For successful operations that return an
|
|
1823
|
+
# Operation resource, only the fields relevant to the operation are populated
|
|
1824
|
+
# in the resource.
|
|
1775
1825
|
class Operation
|
|
1776
1826
|
include Google::Apis::Core::Hashable
|
|
1777
1827
|
|
|
1778
|
-
# The time this operation finished in UTC timezone in
|
|
1779
|
-
#
|
|
1828
|
+
# The time this operation finished in UTC timezone in <a
|
|
1829
|
+
# href="https://tools.ietf.org/html/rfc3339">RFC 3339</a> format, for example
|
|
1830
|
+
# <code>2012-11-15T16:19:00.094Z</code>.
|
|
1780
1831
|
# Corresponds to the JSON property `endTime`
|
|
1781
|
-
# @return [
|
|
1832
|
+
# @return [String]
|
|
1782
1833
|
attr_accessor :end_time
|
|
1783
1834
|
|
|
1784
1835
|
# Database instance operation errors list wrapper.
|
|
1785
1836
|
# Corresponds to the JSON property `error`
|
|
1786
|
-
# @return [Google::Apis::
|
|
1837
|
+
# @return [Google::Apis::SqlV1beta4::OperationErrors]
|
|
1787
1838
|
attr_accessor :error
|
|
1788
1839
|
|
|
1789
1840
|
# Database instance export context.
|
|
1790
1841
|
# Corresponds to the JSON property `exportContext`
|
|
1791
|
-
# @return [Google::Apis::
|
|
1842
|
+
# @return [Google::Apis::SqlV1beta4::ExportContext]
|
|
1792
1843
|
attr_accessor :export_context
|
|
1793
1844
|
|
|
1794
1845
|
# Database instance import context.
|
|
1795
1846
|
# Corresponds to the JSON property `importContext`
|
|
1796
|
-
# @return [Google::Apis::
|
|
1847
|
+
# @return [Google::Apis::SqlV1beta4::ImportContext]
|
|
1797
1848
|
attr_accessor :import_context
|
|
1798
1849
|
|
|
1799
|
-
# The time this operation was enqueued in UTC timezone in
|
|
1800
|
-
#
|
|
1850
|
+
# The time this operation was enqueued in UTC timezone in <a
|
|
1851
|
+
# href="https://tools.ietf.org/html/rfc3339">RFC 3339</a> format, for example
|
|
1852
|
+
# <code>2012-11-15T16:19:00.094Z</code>.
|
|
1801
1853
|
# Corresponds to the JSON property `insertTime`
|
|
1802
|
-
# @return [
|
|
1854
|
+
# @return [String]
|
|
1803
1855
|
attr_accessor :insert_time
|
|
1804
1856
|
|
|
1805
|
-
# This is always sql#operation
|
|
1857
|
+
# This is always <code>sql#operation</code>.
|
|
1806
1858
|
# Corresponds to the JSON property `kind`
|
|
1807
1859
|
# @return [String]
|
|
1808
1860
|
attr_accessor :kind
|
|
1809
1861
|
|
|
1810
1862
|
# An identifier that uniquely identifies the operation. You can use this
|
|
1811
|
-
# identifier to retrieve the Operations resource that has information about
|
|
1812
|
-
# operation.
|
|
1863
|
+
# identifier to retrieve the Operations resource that has information about
|
|
1864
|
+
# the operation.
|
|
1813
1865
|
# Corresponds to the JSON property `name`
|
|
1814
1866
|
# @return [String]
|
|
1815
1867
|
attr_accessor :name
|
|
1816
1868
|
|
|
1817
|
-
# The type of the operation. Valid values are CREATE
|
|
1818
|
-
#
|
|
1819
|
-
#
|
|
1869
|
+
# The type of the operation. Valid values are <code>CREATE</code>,
|
|
1870
|
+
# <code>DELETE</code>, <code>UPDATE</code>, <code>RESTART</code>,
|
|
1871
|
+
# <code>IMPORT</code>, <code>EXPORT</code>, <code>BACKUP_VOLUME</code>,
|
|
1872
|
+
# <code>RESTORE_VOLUME</code>, <code>CREATE_USER</code>,
|
|
1873
|
+
# <code>DELETE_USER</code>, <code>CREATE_DATABASE</code>,
|
|
1874
|
+
# <code>DELETE_DATABASE</code> .
|
|
1820
1875
|
# Corresponds to the JSON property `operationType`
|
|
1821
1876
|
# @return [String]
|
|
1822
1877
|
attr_accessor :operation_type
|
|
@@ -1826,13 +1881,15 @@ module Google
|
|
|
1826
1881
|
# @return [String]
|
|
1827
1882
|
attr_accessor :self_link
|
|
1828
1883
|
|
|
1829
|
-
# The time this operation actually started in UTC timezone in
|
|
1830
|
-
# for example
|
|
1884
|
+
# The time this operation actually started in UTC timezone in <a
|
|
1885
|
+
# href="https://tools.ietf.org/html/rfc3339">RFC 3339</a> format, for example
|
|
1886
|
+
# <code>2012-11-15T16:19:00.094Z</code>.
|
|
1831
1887
|
# Corresponds to the JSON property `startTime`
|
|
1832
|
-
# @return [
|
|
1888
|
+
# @return [String]
|
|
1833
1889
|
attr_accessor :start_time
|
|
1834
1890
|
|
|
1835
|
-
# The status of an operation. Valid values are PENDING
|
|
1891
|
+
# The status of an operation. Valid values are <code>PENDING</code>,
|
|
1892
|
+
# <code>RUNNING</code>, <code>DONE</code>, <code>UNKNOWN</code>.
|
|
1836
1893
|
# Corresponds to the JSON property `status`
|
|
1837
1894
|
# @return [String]
|
|
1838
1895
|
attr_accessor :status
|
|
@@ -1890,7 +1947,7 @@ module Google
|
|
|
1890
1947
|
# @return [String]
|
|
1891
1948
|
attr_accessor :code
|
|
1892
1949
|
|
|
1893
|
-
# This is always sql#operationError
|
|
1950
|
+
# This is always <code>sql#operationError</code>.
|
|
1894
1951
|
# Corresponds to the JSON property `kind`
|
|
1895
1952
|
# @return [String]
|
|
1896
1953
|
attr_accessor :kind
|
|
@@ -1918,10 +1975,10 @@ module Google
|
|
|
1918
1975
|
|
|
1919
1976
|
# The list of errors encountered while processing this operation.
|
|
1920
1977
|
# Corresponds to the JSON property `errors`
|
|
1921
|
-
# @return [Array<Google::Apis::
|
|
1978
|
+
# @return [Array<Google::Apis::SqlV1beta4::OperationError>]
|
|
1922
1979
|
attr_accessor :errors
|
|
1923
1980
|
|
|
1924
|
-
# This is always sql#operationErrors
|
|
1981
|
+
# This is always <code>sql#operationErrors</code>.
|
|
1925
1982
|
# Corresponds to the JSON property `kind`
|
|
1926
1983
|
# @return [String]
|
|
1927
1984
|
attr_accessor :kind
|
|
@@ -1938,21 +1995,21 @@ module Google
|
|
|
1938
1995
|
end
|
|
1939
1996
|
|
|
1940
1997
|
# Database instance list operations response.
|
|
1941
|
-
class
|
|
1998
|
+
class OperationsListResponse
|
|
1942
1999
|
include Google::Apis::Core::Hashable
|
|
1943
2000
|
|
|
1944
2001
|
# List of operation resources.
|
|
1945
2002
|
# Corresponds to the JSON property `items`
|
|
1946
|
-
# @return [Array<Google::Apis::
|
|
2003
|
+
# @return [Array<Google::Apis::SqlV1beta4::Operation>]
|
|
1947
2004
|
attr_accessor :items
|
|
1948
2005
|
|
|
1949
|
-
# This is always sql#operationsList
|
|
2006
|
+
# This is always <code>sql#operationsList</code>.
|
|
1950
2007
|
# Corresponds to the JSON property `kind`
|
|
1951
2008
|
# @return [String]
|
|
1952
2009
|
attr_accessor :kind
|
|
1953
2010
|
|
|
1954
|
-
# The continuation token, used to page through large result sets. Provide
|
|
1955
|
-
# value in a subsequent request to return the next page of results.
|
|
2011
|
+
# The continuation token, used to page through large result sets. Provide
|
|
2012
|
+
# this value in a subsequent request to return the next page of results.
|
|
1956
2013
|
# Corresponds to the JSON property `nextPageToken`
|
|
1957
2014
|
# @return [String]
|
|
1958
2015
|
attr_accessor :next_page_token
|
|
@@ -1973,25 +2030,25 @@ module Google
|
|
|
1973
2030
|
class ReplicaConfiguration
|
|
1974
2031
|
include Google::Apis::Core::Hashable
|
|
1975
2032
|
|
|
1976
|
-
# Specifies if the replica is the failover target. If the field is set to
|
|
1977
|
-
# the replica will be designated as a failover replica. In
|
|
1978
|
-
# instance fails, the replica instance will be promoted as
|
|
2033
|
+
# Specifies if the replica is the failover target. If the field is set to
|
|
2034
|
+
# <code>true</code> the replica will be designated as a failover replica. In
|
|
2035
|
+
# case the master instance fails, the replica instance will be promoted as
|
|
2036
|
+
# the new master instance. <p>Only one replica can be specified as failover
|
|
2037
|
+
# target, and the replica has to be in different zone with the master
|
|
1979
2038
|
# instance.
|
|
1980
|
-
# Only one replica can be specified as failover target, and the replica has to
|
|
1981
|
-
# be in different zone with the master instance.
|
|
1982
2039
|
# Corresponds to the JSON property `failoverTarget`
|
|
1983
2040
|
# @return [Boolean]
|
|
1984
2041
|
attr_accessor :failover_target
|
|
1985
2042
|
alias_method :failover_target?, :failover_target
|
|
1986
2043
|
|
|
1987
|
-
# This is always sql#replicaConfiguration
|
|
2044
|
+
# This is always <code>sql#replicaConfiguration</code>.
|
|
1988
2045
|
# Corresponds to the JSON property `kind`
|
|
1989
2046
|
# @return [String]
|
|
1990
2047
|
attr_accessor :kind
|
|
1991
2048
|
|
|
1992
2049
|
# Read-replica configuration specific to MySQL databases.
|
|
1993
2050
|
# Corresponds to the JSON property `mysqlReplicaConfiguration`
|
|
1994
|
-
# @return [Google::Apis::
|
|
2051
|
+
# @return [Google::Apis::SqlV1beta4::MySqlReplicaConfiguration]
|
|
1995
2052
|
attr_accessor :mysql_replica_configuration
|
|
1996
2053
|
|
|
1997
2054
|
def initialize(**args)
|
|
@@ -2007,6 +2064,7 @@ module Google
|
|
|
2007
2064
|
end
|
|
2008
2065
|
|
|
2009
2066
|
# Database instance restore from backup context.
|
|
2067
|
+
# Backup context contains source instance id and project id.
|
|
2010
2068
|
class RestoreBackupContext
|
|
2011
2069
|
include Google::Apis::Core::Hashable
|
|
2012
2070
|
|
|
@@ -2020,7 +2078,7 @@ module Google
|
|
|
2020
2078
|
# @return [String]
|
|
2021
2079
|
attr_accessor :instance_id
|
|
2022
2080
|
|
|
2023
|
-
# This is always sql#restoreBackupContext
|
|
2081
|
+
# This is always <code>sql#restoreBackupContext</code>.
|
|
2024
2082
|
# Corresponds to the JSON property `kind`
|
|
2025
2083
|
# @return [String]
|
|
2026
2084
|
attr_accessor :kind
|
|
@@ -2047,7 +2105,7 @@ module Google
|
|
|
2047
2105
|
class RotateServerCaContext
|
|
2048
2106
|
include Google::Apis::Core::Hashable
|
|
2049
2107
|
|
|
2050
|
-
# This is always sql#rotateServerCaContext
|
|
2108
|
+
# This is always <code>sql#rotateServerCaContext</code>.
|
|
2051
2109
|
# Corresponds to the JSON property `kind`
|
|
2052
2110
|
# @return [String]
|
|
2053
2111
|
attr_accessor :kind
|
|
@@ -2074,15 +2132,15 @@ module Google
|
|
|
2074
2132
|
include Google::Apis::Core::Hashable
|
|
2075
2133
|
|
|
2076
2134
|
# The activation policy specifies when the instance is activated; it is
|
|
2077
|
-
# applicable only when the instance state is RUNNABLE
|
|
2078
|
-
#
|
|
2079
|
-
# requests.
|
|
2080
|
-
#
|
|
2081
|
-
#
|
|
2082
|
-
#
|
|
2083
|
-
#
|
|
2084
|
-
#
|
|
2085
|
-
#
|
|
2135
|
+
# applicable only when the instance state is <code>RUNNABLE</code>. Valid
|
|
2136
|
+
# values: <br><code>ALWAYS</code>: The instance is on, and remains so even in
|
|
2137
|
+
# the absence of connection requests. <br><code>NEVER</code>: The instance is
|
|
2138
|
+
# off; it is not activated, even if a connection request arrives.
|
|
2139
|
+
# <br><code>ON_DEMAND</code>: First Generation instances only. The instance
|
|
2140
|
+
# responds to incoming requests, and turns itself off when not in use.
|
|
2141
|
+
# Instances with <code>PER_USE</code> pricing turn off after 15 minutes of
|
|
2142
|
+
# inactivity. Instances with <code>PER_PACKAGE</code> pricing turn off after
|
|
2143
|
+
# 12 hours of inactivity.
|
|
2086
2144
|
# Corresponds to the JSON property `activationPolicy`
|
|
2087
2145
|
# @return [String]
|
|
2088
2146
|
attr_accessor :activation_policy
|
|
@@ -2094,43 +2152,44 @@ module Google
|
|
|
2094
2152
|
attr_accessor :authorized_gae_applications
|
|
2095
2153
|
|
|
2096
2154
|
# Availability type (PostgreSQL instances only). Potential values:
|
|
2097
|
-
# ZONAL
|
|
2098
|
-
# affect data accessibility.
|
|
2099
|
-
#
|
|
2100
|
-
#
|
|
2101
|
-
#
|
|
2155
|
+
# <br><code>ZONAL</code>: The instance serves data from only one zone.
|
|
2156
|
+
# Outages in that zone affect data accessibility. <br><code>REGIONAL</code>:
|
|
2157
|
+
# The instance can serve data from more than one zone in a region (it is
|
|
2158
|
+
# highly available). <br>For more information, see <a
|
|
2159
|
+
# href="https://cloud.google.com/sql/docs/postgres/high-availability">Overview
|
|
2160
|
+
# of the High Availability Configuration</a>.
|
|
2102
2161
|
# Corresponds to the JSON property `availabilityType`
|
|
2103
2162
|
# @return [String]
|
|
2104
2163
|
attr_accessor :availability_type
|
|
2105
2164
|
|
|
2106
2165
|
# Database instance backup configuration.
|
|
2107
2166
|
# Corresponds to the JSON property `backupConfiguration`
|
|
2108
|
-
# @return [Google::Apis::
|
|
2167
|
+
# @return [Google::Apis::SqlV1beta4::BackupConfiguration]
|
|
2109
2168
|
attr_accessor :backup_configuration
|
|
2110
2169
|
|
|
2111
|
-
# Configuration specific to read replica instances. Indicates whether
|
|
2112
|
-
# flags for crash-safe replication are enabled. This property is
|
|
2113
|
-
# to First Generation instances.
|
|
2170
|
+
# Configuration specific to read replica instances. Indicates whether
|
|
2171
|
+
# database flags for crash-safe replication are enabled. This property is
|
|
2172
|
+
# only applicable to First Generation instances.
|
|
2114
2173
|
# Corresponds to the JSON property `crashSafeReplicationEnabled`
|
|
2115
2174
|
# @return [Boolean]
|
|
2116
2175
|
attr_accessor :crash_safe_replication_enabled
|
|
2117
2176
|
alias_method :crash_safe_replication_enabled?, :crash_safe_replication_enabled
|
|
2118
2177
|
|
|
2119
|
-
# The size of data disk, in GB. The data disk size minimum is 10GB. Not used
|
|
2120
|
-
# First Generation instances.
|
|
2178
|
+
# The size of data disk, in GB. The data disk size minimum is 10GB. Not used
|
|
2179
|
+
# for First Generation instances.
|
|
2121
2180
|
# Corresponds to the JSON property `dataDiskSizeGb`
|
|
2122
2181
|
# @return [Fixnum]
|
|
2123
2182
|
attr_accessor :data_disk_size_gb
|
|
2124
2183
|
|
|
2125
|
-
# The type of data disk: PD_SSD (default) or
|
|
2126
|
-
# Generation instances.
|
|
2184
|
+
# The type of data disk: <code>PD_SSD</code> (default) or
|
|
2185
|
+
# <code>PD_HDD</code>. Not used for First Generation instances.
|
|
2127
2186
|
# Corresponds to the JSON property `dataDiskType`
|
|
2128
2187
|
# @return [String]
|
|
2129
2188
|
attr_accessor :data_disk_type
|
|
2130
2189
|
|
|
2131
2190
|
# The database flags passed to the instance at startup.
|
|
2132
2191
|
# Corresponds to the JSON property `databaseFlags`
|
|
2133
|
-
# @return [Array<Google::Apis::
|
|
2192
|
+
# @return [Array<Google::Apis::SqlV1beta4::DatabaseFlags>]
|
|
2134
2193
|
attr_accessor :database_flags
|
|
2135
2194
|
|
|
2136
2195
|
# Configuration specific to read replica instances. Indicates whether
|
|
@@ -2142,45 +2201,47 @@ module Google
|
|
|
2142
2201
|
|
|
2143
2202
|
# IP Management configuration.
|
|
2144
2203
|
# Corresponds to the JSON property `ipConfiguration`
|
|
2145
|
-
# @return [Google::Apis::
|
|
2204
|
+
# @return [Google::Apis::SqlV1beta4::IpConfiguration]
|
|
2146
2205
|
attr_accessor :ip_configuration
|
|
2147
2206
|
|
|
2148
|
-
# This is always sql#settings
|
|
2207
|
+
# This is always <code>sql#settings</code>.
|
|
2149
2208
|
# Corresponds to the JSON property `kind`
|
|
2150
2209
|
# @return [String]
|
|
2151
2210
|
attr_accessor :kind
|
|
2152
2211
|
|
|
2153
2212
|
# Preferred location. This specifies where a Cloud SQL instance should
|
|
2154
|
-
# preferably be located, either in a specific Compute Engine zone, or
|
|
2155
|
-
# with an App Engine application. Note that if the preferred
|
|
2156
|
-
# available, the instance will be located as close as possible
|
|
2157
|
-
# Only one location may be specified.
|
|
2213
|
+
# preferably be located, either in a specific Compute Engine zone, or
|
|
2214
|
+
# co-located with an App Engine application. Note that if the preferred
|
|
2215
|
+
# location is not available, the instance will be located as close as possible
|
|
2216
|
+
# within the region. Only one location may be specified.
|
|
2158
2217
|
# Corresponds to the JSON property `locationPreference`
|
|
2159
|
-
# @return [Google::Apis::
|
|
2218
|
+
# @return [Google::Apis::SqlV1beta4::LocationPreference]
|
|
2160
2219
|
attr_accessor :location_preference
|
|
2161
2220
|
|
|
2162
2221
|
# Maintenance window. This specifies when a v2 Cloud SQL instance should
|
|
2163
2222
|
# preferably be restarted for system maintenance purposes.
|
|
2164
2223
|
# Corresponds to the JSON property `maintenanceWindow`
|
|
2165
|
-
# @return [Google::Apis::
|
|
2224
|
+
# @return [Google::Apis::SqlV1beta4::MaintenanceWindow]
|
|
2166
2225
|
attr_accessor :maintenance_window
|
|
2167
2226
|
|
|
2168
|
-
# The pricing plan for this instance. This can be either PER_USE
|
|
2169
|
-
# Only PER_USE is supported for Second
|
|
2227
|
+
# The pricing plan for this instance. This can be either <code>PER_USE</code>
|
|
2228
|
+
# or <code>PACKAGE</code>. Only <code>PER_USE</code> is supported for Second
|
|
2229
|
+
# Generation instances.
|
|
2170
2230
|
# Corresponds to the JSON property `pricingPlan`
|
|
2171
2231
|
# @return [String]
|
|
2172
2232
|
attr_accessor :pricing_plan
|
|
2173
2233
|
|
|
2174
|
-
# The type of replication this instance uses. This can be either
|
|
2175
|
-
# SYNCHRONOUS
|
|
2234
|
+
# The type of replication this instance uses. This can be either
|
|
2235
|
+
# <code>ASYNCHRONOUS</code> or <code>SYNCHRONOUS</code>. This property is
|
|
2236
|
+
# only applicable to First Generation instances.
|
|
2176
2237
|
# Corresponds to the JSON property `replicationType`
|
|
2177
2238
|
# @return [String]
|
|
2178
2239
|
attr_accessor :replication_type
|
|
2179
2240
|
|
|
2180
|
-
# The version of instance settings. This is a required field for update
|
|
2181
|
-
# to make sure concurrent updates are handled properly. During update,
|
|
2182
|
-
# most recent settingsVersion value for this instance and do not try
|
|
2183
|
-
# this value.
|
|
2241
|
+
# The version of instance settings. This is a required field for update
|
|
2242
|
+
# method to make sure concurrent updates are handled properly. During update,
|
|
2243
|
+
# use the most recent settingsVersion value for this instance and do not try
|
|
2244
|
+
# to update this value.
|
|
2184
2245
|
# Corresponds to the JSON property `settingsVersion`
|
|
2185
2246
|
# @return [Fixnum]
|
|
2186
2247
|
attr_accessor :settings_version
|
|
@@ -2192,23 +2253,25 @@ module Google
|
|
|
2192
2253
|
attr_accessor :storage_auto_resize
|
|
2193
2254
|
alias_method :storage_auto_resize?, :storage_auto_resize
|
|
2194
2255
|
|
|
2195
|
-
# The maximum size to which storage capacity can be automatically increased.
|
|
2196
|
-
# default value is 0, which specifies that there is no limit. Not used
|
|
2197
|
-
# Generation instances.
|
|
2256
|
+
# The maximum size to which storage capacity can be automatically increased.
|
|
2257
|
+
# The default value is 0, which specifies that there is no limit. Not used
|
|
2258
|
+
# for First Generation instances.
|
|
2198
2259
|
# Corresponds to the JSON property `storageAutoResizeLimit`
|
|
2199
2260
|
# @return [Fixnum]
|
|
2200
2261
|
attr_accessor :storage_auto_resize_limit
|
|
2201
2262
|
|
|
2202
|
-
# The tier (or machine type) for this instance, for example
|
|
2203
|
-
#
|
|
2204
|
-
#
|
|
2205
|
-
#
|
|
2263
|
+
# The tier (or machine type) for this instance, for example
|
|
2264
|
+
# <code>db-n1-standard-1</code> (MySQL instances) or
|
|
2265
|
+
# <code>db-custom-1-3840</code> (PostgreSQL instances). For MySQL instances,
|
|
2266
|
+
# this property determines whether the instance is First or Second
|
|
2267
|
+
# Generation. For more information, see <a
|
|
2268
|
+
# href="/sql/docs/db_path/instance-settings">Instance Settings</a>.
|
|
2206
2269
|
# Corresponds to the JSON property `tier`
|
|
2207
2270
|
# @return [String]
|
|
2208
2271
|
attr_accessor :tier
|
|
2209
2272
|
|
|
2210
|
-
# User-provided labels, represented as a dictionary where each label is a
|
|
2211
|
-
# key value pair.
|
|
2273
|
+
# User-provided labels, represented as a dictionary where each label is a
|
|
2274
|
+
# single key value pair.
|
|
2212
2275
|
# Corresponds to the JSON property `userLabels`
|
|
2213
2276
|
# @return [Hash<String,String>]
|
|
2214
2277
|
attr_accessor :user_labels
|
|
@@ -2242,6 +2305,57 @@ module Google
|
|
|
2242
2305
|
end
|
|
2243
2306
|
end
|
|
2244
2307
|
|
|
2308
|
+
# Any scheduled maintenancce for this instance.
|
|
2309
|
+
class SqlScheduledMaintenance
|
|
2310
|
+
include Google::Apis::Core::Hashable
|
|
2311
|
+
|
|
2312
|
+
# If the scheduled maintenance can be deferred.
|
|
2313
|
+
# Corresponds to the JSON property `canDefer`
|
|
2314
|
+
# @return [Boolean]
|
|
2315
|
+
attr_accessor :can_defer
|
|
2316
|
+
alias_method :can_defer?, :can_defer
|
|
2317
|
+
|
|
2318
|
+
# The start time of any upcoming scheduled maintenance for this instance.
|
|
2319
|
+
# Corresponds to the JSON property `startTime`
|
|
2320
|
+
# @return [String]
|
|
2321
|
+
attr_accessor :start_time
|
|
2322
|
+
|
|
2323
|
+
def initialize(**args)
|
|
2324
|
+
update!(**args)
|
|
2325
|
+
end
|
|
2326
|
+
|
|
2327
|
+
# Update properties of this object
|
|
2328
|
+
def update!(**args)
|
|
2329
|
+
@can_defer = args[:can_defer] if args.key?(:can_defer)
|
|
2330
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
2331
|
+
end
|
|
2332
|
+
end
|
|
2333
|
+
|
|
2334
|
+
# Represents a Sql Server database on the Cloud SQL instance.
|
|
2335
|
+
class SqlServerDatabaseDetails
|
|
2336
|
+
include Google::Apis::Core::Hashable
|
|
2337
|
+
|
|
2338
|
+
# The version of SQL Server with which the database is to be made compatible
|
|
2339
|
+
# Corresponds to the JSON property `compatibilityLevel`
|
|
2340
|
+
# @return [Fixnum]
|
|
2341
|
+
attr_accessor :compatibility_level
|
|
2342
|
+
|
|
2343
|
+
# The recovery model of a SQL Server database
|
|
2344
|
+
# Corresponds to the JSON property `recoveryModel`
|
|
2345
|
+
# @return [String]
|
|
2346
|
+
attr_accessor :recovery_model
|
|
2347
|
+
|
|
2348
|
+
def initialize(**args)
|
|
2349
|
+
update!(**args)
|
|
2350
|
+
end
|
|
2351
|
+
|
|
2352
|
+
# Update properties of this object
|
|
2353
|
+
def update!(**args)
|
|
2354
|
+
@compatibility_level = args[:compatibility_level] if args.key?(:compatibility_level)
|
|
2355
|
+
@recovery_model = args[:recovery_model] if args.key?(:recovery_model)
|
|
2356
|
+
end
|
|
2357
|
+
end
|
|
2358
|
+
|
|
2245
2359
|
# SslCerts Resource
|
|
2246
2360
|
class SslCert
|
|
2247
2361
|
include Google::Apis::Core::Hashable
|
|
@@ -2256,21 +2370,23 @@ module Google
|
|
|
2256
2370
|
# @return [String]
|
|
2257
2371
|
attr_accessor :cert_serial_number
|
|
2258
2372
|
|
|
2259
|
-
# User supplied name.
|
|
2373
|
+
# User supplied name. Constrained to [a-zA-Z.-_ ]+.
|
|
2260
2374
|
# Corresponds to the JSON property `commonName`
|
|
2261
2375
|
# @return [String]
|
|
2262
2376
|
attr_accessor :common_name
|
|
2263
2377
|
|
|
2264
|
-
# The time when the certificate was created in
|
|
2265
|
-
#
|
|
2378
|
+
# The time when the certificate was created in <a
|
|
2379
|
+
# href="https://tools.ietf.org/html/rfc3339">RFC 3339</a> format, for example
|
|
2380
|
+
# <code>2012-11-15T16:19:00.094Z</code>
|
|
2266
2381
|
# Corresponds to the JSON property `createTime`
|
|
2267
|
-
# @return [
|
|
2382
|
+
# @return [String]
|
|
2268
2383
|
attr_accessor :create_time
|
|
2269
2384
|
|
|
2270
|
-
# The time when the certificate expires in
|
|
2271
|
-
#
|
|
2385
|
+
# The time when the certificate expires in <a
|
|
2386
|
+
# href="https://tools.ietf.org/html/rfc3339">RFC 3339</a> format, for example
|
|
2387
|
+
# <code>2012-11-15T16:19:00.094Z</code>.
|
|
2272
2388
|
# Corresponds to the JSON property `expirationTime`
|
|
2273
|
-
# @return [
|
|
2389
|
+
# @return [String]
|
|
2274
2390
|
attr_accessor :expiration_time
|
|
2275
2391
|
|
|
2276
2392
|
# Name of the database instance.
|
|
@@ -2278,7 +2394,7 @@ module Google
|
|
|
2278
2394
|
# @return [String]
|
|
2279
2395
|
attr_accessor :instance
|
|
2280
2396
|
|
|
2281
|
-
# This is always sql#sslCert
|
|
2397
|
+
# This is always <code>sql#sslCert</code>.
|
|
2282
2398
|
# Corresponds to the JSON property `kind`
|
|
2283
2399
|
# @return [String]
|
|
2284
2400
|
attr_accessor :kind
|
|
@@ -2317,11 +2433,11 @@ module Google
|
|
|
2317
2433
|
|
|
2318
2434
|
# SslCerts Resource
|
|
2319
2435
|
# Corresponds to the JSON property `certInfo`
|
|
2320
|
-
# @return [Google::Apis::
|
|
2436
|
+
# @return [Google::Apis::SqlV1beta4::SslCert]
|
|
2321
2437
|
attr_accessor :cert_info
|
|
2322
2438
|
|
|
2323
|
-
# The private key for the client cert, in pem format.
|
|
2324
|
-
# protect your security.
|
|
2439
|
+
# The private key for the client cert, in pem format. Keep private in order
|
|
2440
|
+
# to protect your security.
|
|
2325
2441
|
# Corresponds to the JSON property `certPrivateKey`
|
|
2326
2442
|
# @return [String]
|
|
2327
2443
|
attr_accessor :cert_private_key
|
|
@@ -2357,11 +2473,11 @@ module Google
|
|
|
2357
2473
|
end
|
|
2358
2474
|
|
|
2359
2475
|
# SslCerts insert request.
|
|
2360
|
-
class
|
|
2476
|
+
class SslCertsInsertRequest
|
|
2361
2477
|
include Google::Apis::Core::Hashable
|
|
2362
2478
|
|
|
2363
|
-
# User supplied name.
|
|
2364
|
-
# this instance.
|
|
2479
|
+
# User supplied name. Must be a distinct name from the other certificates
|
|
2480
|
+
# for this instance.
|
|
2365
2481
|
# Corresponds to the JSON property `commonName`
|
|
2366
2482
|
# @return [String]
|
|
2367
2483
|
attr_accessor :common_name
|
|
@@ -2377,29 +2493,29 @@ module Google
|
|
|
2377
2493
|
end
|
|
2378
2494
|
|
|
2379
2495
|
# SslCert insert response.
|
|
2380
|
-
class
|
|
2496
|
+
class SslCertsInsertResponse
|
|
2381
2497
|
include Google::Apis::Core::Hashable
|
|
2382
2498
|
|
|
2383
2499
|
# SslCertDetail.
|
|
2384
2500
|
# Corresponds to the JSON property `clientCert`
|
|
2385
|
-
# @return [Google::Apis::
|
|
2501
|
+
# @return [Google::Apis::SqlV1beta4::SslCertDetail]
|
|
2386
2502
|
attr_accessor :client_cert
|
|
2387
2503
|
|
|
2388
|
-
# This is always sql#sslCertsInsert
|
|
2504
|
+
# This is always <code>sql#sslCertsInsert</code>.
|
|
2389
2505
|
# Corresponds to the JSON property `kind`
|
|
2390
2506
|
# @return [String]
|
|
2391
2507
|
attr_accessor :kind
|
|
2392
2508
|
|
|
2393
|
-
# An Operation resource
|
|
2394
|
-
# resource, only the fields relevant to the operation are populated
|
|
2395
|
-
# resource.
|
|
2509
|
+
# An Operation resource. For successful operations that return an
|
|
2510
|
+
# Operation resource, only the fields relevant to the operation are populated
|
|
2511
|
+
# in the resource.
|
|
2396
2512
|
# Corresponds to the JSON property `operation`
|
|
2397
|
-
# @return [Google::Apis::
|
|
2513
|
+
# @return [Google::Apis::SqlV1beta4::Operation]
|
|
2398
2514
|
attr_accessor :operation
|
|
2399
2515
|
|
|
2400
2516
|
# SslCerts Resource
|
|
2401
2517
|
# Corresponds to the JSON property `serverCaCert`
|
|
2402
|
-
# @return [Google::Apis::
|
|
2518
|
+
# @return [Google::Apis::SqlV1beta4::SslCert]
|
|
2403
2519
|
attr_accessor :server_ca_cert
|
|
2404
2520
|
|
|
2405
2521
|
def initialize(**args)
|
|
@@ -2416,15 +2532,15 @@ module Google
|
|
|
2416
2532
|
end
|
|
2417
2533
|
|
|
2418
2534
|
# SslCerts list response.
|
|
2419
|
-
class
|
|
2535
|
+
class SslCertsListResponse
|
|
2420
2536
|
include Google::Apis::Core::Hashable
|
|
2421
2537
|
|
|
2422
2538
|
# List of client certificates for the instance.
|
|
2423
2539
|
# Corresponds to the JSON property `items`
|
|
2424
|
-
# @return [Array<Google::Apis::
|
|
2540
|
+
# @return [Array<Google::Apis::SqlV1beta4::SslCert>]
|
|
2425
2541
|
attr_accessor :items
|
|
2426
2542
|
|
|
2427
|
-
# This is always sql#sslCertsList
|
|
2543
|
+
# This is always <code>sql#sslCertsList</code>.
|
|
2428
2544
|
# Corresponds to the JSON property `kind`
|
|
2429
2545
|
# @return [String]
|
|
2430
2546
|
attr_accessor :kind
|
|
@@ -2454,7 +2570,7 @@ module Google
|
|
|
2454
2570
|
# @return [Fixnum]
|
|
2455
2571
|
attr_accessor :ram
|
|
2456
2572
|
|
|
2457
|
-
# This is always sql#tier
|
|
2573
|
+
# This is always <code>sql#tier</code>.
|
|
2458
2574
|
# Corresponds to the JSON property `kind`
|
|
2459
2575
|
# @return [String]
|
|
2460
2576
|
attr_accessor :kind
|
|
@@ -2464,8 +2580,8 @@ module Google
|
|
|
2464
2580
|
# @return [Array<String>]
|
|
2465
2581
|
attr_accessor :region
|
|
2466
2582
|
|
|
2467
|
-
# An identifier for the machine type, for example, db-n1-standard-1. For
|
|
2468
|
-
# information, see Pricing
|
|
2583
|
+
# An identifier for the machine type, for example, db-n1-standard-1. For
|
|
2584
|
+
# related information, see <a href="/sql/pricing">Pricing</a>.
|
|
2469
2585
|
# Corresponds to the JSON property `tier`
|
|
2470
2586
|
# @return [String]
|
|
2471
2587
|
attr_accessor :tier
|
|
@@ -2485,15 +2601,15 @@ module Google
|
|
|
2485
2601
|
end
|
|
2486
2602
|
|
|
2487
2603
|
# Tiers list response.
|
|
2488
|
-
class
|
|
2604
|
+
class TiersListResponse
|
|
2489
2605
|
include Google::Apis::Core::Hashable
|
|
2490
2606
|
|
|
2491
2607
|
# List of tiers.
|
|
2492
2608
|
# Corresponds to the JSON property `items`
|
|
2493
|
-
# @return [Array<Google::Apis::
|
|
2609
|
+
# @return [Array<Google::Apis::SqlV1beta4::Tier>]
|
|
2494
2610
|
attr_accessor :items
|
|
2495
2611
|
|
|
2496
|
-
# This is always sql#tiersList
|
|
2612
|
+
# This is always <code>sql#tiersList</code>.
|
|
2497
2613
|
# Corresponds to the JSON property `kind`
|
|
2498
2614
|
# @return [String]
|
|
2499
2615
|
attr_accessor :kind
|
|
@@ -2513,13 +2629,13 @@ module Google
|
|
|
2513
2629
|
class TruncateLogContext
|
|
2514
2630
|
include Google::Apis::Core::Hashable
|
|
2515
2631
|
|
|
2516
|
-
# This is always sql#truncateLogContext
|
|
2632
|
+
# This is always <code>sql#truncateLogContext</code>.
|
|
2517
2633
|
# Corresponds to the JSON property `kind`
|
|
2518
2634
|
# @return [String]
|
|
2519
2635
|
attr_accessor :kind
|
|
2520
2636
|
|
|
2521
|
-
# The type of log to truncate. Valid values are
|
|
2522
|
-
# MYSQL_SLOW_TABLE
|
|
2637
|
+
# The type of log to truncate. Valid values are
|
|
2638
|
+
# <code>MYSQL_GENERAL_TABLE</code> and <code>MYSQL_SLOW_TABLE</code>.
|
|
2523
2639
|
# Corresponds to the JSON property `logType`
|
|
2524
2640
|
# @return [String]
|
|
2525
2641
|
attr_accessor :log_type
|
|
@@ -2539,31 +2655,34 @@ module Google
|
|
|
2539
2655
|
class User
|
|
2540
2656
|
include Google::Apis::Core::Hashable
|
|
2541
2657
|
|
|
2542
|
-
# This field is deprecated and will be removed from a future version of the
|
|
2658
|
+
# This field is deprecated and will be removed from a future version of the
|
|
2659
|
+
# API.
|
|
2543
2660
|
# Corresponds to the JSON property `etag`
|
|
2544
2661
|
# @return [String]
|
|
2545
2662
|
attr_accessor :etag
|
|
2546
2663
|
|
|
2547
|
-
# The host name from which the user can connect. For insert
|
|
2548
|
-
# defaults to an empty string. For update
|
|
2549
|
-
# of the request URL. The host name
|
|
2664
|
+
# The host name from which the user can connect. For <code>insert</code>
|
|
2665
|
+
# operations, host defaults to an empty string. For <code>update</code>
|
|
2666
|
+
# operations, host is specified as part of the request URL. The host name
|
|
2667
|
+
# cannot be updated after insertion.
|
|
2550
2668
|
# Corresponds to the JSON property `host`
|
|
2551
2669
|
# @return [String]
|
|
2552
2670
|
attr_accessor :host
|
|
2553
2671
|
|
|
2554
|
-
# The name of the Cloud SQL instance. This does not include the project ID.
|
|
2555
|
-
# be omitted for update since it is already specified on the
|
|
2672
|
+
# The name of the Cloud SQL instance. This does not include the project ID.
|
|
2673
|
+
# Can be omitted for <code>update</code> since it is already specified on the
|
|
2674
|
+
# URL.
|
|
2556
2675
|
# Corresponds to the JSON property `instance`
|
|
2557
2676
|
# @return [String]
|
|
2558
2677
|
attr_accessor :instance
|
|
2559
2678
|
|
|
2560
|
-
# This is always sql#user
|
|
2679
|
+
# This is always <code>sql#user</code>.
|
|
2561
2680
|
# Corresponds to the JSON property `kind`
|
|
2562
2681
|
# @return [String]
|
|
2563
2682
|
attr_accessor :kind
|
|
2564
2683
|
|
|
2565
|
-
# The name of the user in the Cloud SQL instance. Can be omitted for
|
|
2566
|
-
# since it is already specified in the URL.
|
|
2684
|
+
# The name of the user in the Cloud SQL instance. Can be omitted for
|
|
2685
|
+
# <code>update</code> since it is already specified in the URL.
|
|
2567
2686
|
# Corresponds to the JSON property `name`
|
|
2568
2687
|
# @return [String]
|
|
2569
2688
|
attr_accessor :name
|
|
@@ -2574,8 +2693,8 @@ module Google
|
|
|
2574
2693
|
attr_accessor :password
|
|
2575
2694
|
|
|
2576
2695
|
# The project ID of the project containing the Cloud SQL database. The Google
|
|
2577
|
-
# apps domain is prefixed if applicable. Can be omitted for
|
|
2578
|
-
# already specified on the URL.
|
|
2696
|
+
# apps domain is prefixed if applicable. Can be omitted for
|
|
2697
|
+
# <code>update</code> since it is already specified on the URL.
|
|
2579
2698
|
# Corresponds to the JSON property `project`
|
|
2580
2699
|
# @return [String]
|
|
2581
2700
|
attr_accessor :project
|
|
@@ -2597,22 +2716,22 @@ module Google
|
|
|
2597
2716
|
end
|
|
2598
2717
|
|
|
2599
2718
|
# User list response.
|
|
2600
|
-
class
|
|
2719
|
+
class UsersListResponse
|
|
2601
2720
|
include Google::Apis::Core::Hashable
|
|
2602
2721
|
|
|
2603
2722
|
# List of user resources in the instance.
|
|
2604
2723
|
# Corresponds to the JSON property `items`
|
|
2605
|
-
# @return [Array<Google::Apis::
|
|
2724
|
+
# @return [Array<Google::Apis::SqlV1beta4::User>]
|
|
2606
2725
|
attr_accessor :items
|
|
2607
2726
|
|
|
2608
|
-
# This is always sql#usersList
|
|
2727
|
+
# This is always <code>sql#usersList</code>.
|
|
2609
2728
|
# Corresponds to the JSON property `kind`
|
|
2610
2729
|
# @return [String]
|
|
2611
2730
|
attr_accessor :kind
|
|
2612
2731
|
|
|
2613
2732
|
# An identifier that uniquely identifies the operation. You can use this
|
|
2614
|
-
# identifier to retrieve the Operations resource that has information about
|
|
2615
|
-
# operation.
|
|
2733
|
+
# identifier to retrieve the Operations resource that has information about
|
|
2734
|
+
# the operation.
|
|
2616
2735
|
# Corresponds to the JSON property `nextPageToken`
|
|
2617
2736
|
# @return [String]
|
|
2618
2737
|
attr_accessor :next_page_token
|