google-api-client 0.37.3 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +146 -0
- data/api_list_config.yaml +2 -0
- data/api_names.yaml +2 -0
- data/bin/generate-api +9 -1
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
- data/generated/google/apis/admin_directory_v1/service.rb +0 -60
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +224 -5
- data/generated/google/apis/bigquery_v2/representations.rb +65 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
- data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
- data/generated/google/apis/blogger_v2.rb +5 -4
- data/generated/google/apis/blogger_v2/classes.rb +297 -45
- data/generated/google/apis/blogger_v2/representations.rb +105 -26
- data/generated/google/apis/blogger_v2/service.rb +79 -134
- data/generated/google/apis/blogger_v3.rb +4 -3
- data/generated/google/apis/blogger_v3/classes.rb +60 -53
- data/generated/google/apis/blogger_v3/representations.rb +10 -18
- data/generated/google/apis/blogger_v3/service.rb +183 -463
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -14
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
- data/generated/google/apis/cloudasset_v1/service.rb +2 -2
- data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
- data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
- data/generated/google/apis/cloudtrace_v1.rb +3 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +178 -0
- data/generated/google/apis/composer_v1/representations.rb +54 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1320 -307
- data/generated/google/apis/compute_alpha/representations.rb +284 -18
- data/generated/google/apis/compute_alpha/service.rb +4914 -3211
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +819 -236
- data/generated/google/apis/compute_beta/representations.rb +245 -16
- data/generated/google/apis/compute_beta/service.rb +3369 -2227
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +837 -133
- data/generated/google/apis/compute_v1/representations.rb +307 -0
- data/generated/google/apis/compute_v1/service.rb +3155 -2026
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +42 -22
- data/generated/google/apis/container_v1/service.rb +2 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +116 -136
- data/generated/google/apis/container_v1beta1/representations.rb +23 -51
- data/generated/google/apis/container_v1beta1/service.rb +2 -2
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1030 -113
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +987 -138
- data/generated/google/apis/content_v2_1/representations.rb +87 -0
- data/generated/google/apis/content_v2_1/service.rb +73 -0
- data/generated/google/apis/customsearch_v1.rb +3 -3
- data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
- data/generated/google/apis/customsearch_v1/representations.rb +166 -95
- data/generated/google/apis/customsearch_v1/service.rb +373 -104
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
- data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +76 -7
- data/generated/google/apis/dataproc_v1/representations.rb +21 -0
- data/generated/google/apis/dataproc_v1/service.rb +72 -15
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
- data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
- data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
- data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
- data/generated/google/apis/dialogflow_v2/service.rb +49 -49
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
- data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +80 -14
- data/generated/google/apis/dlp_v2/representations.rb +32 -0
- data/generated/google/apis/dlp_v2/service.rb +3 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +54 -2
- data/generated/google/apis/drive_v2/representations.rb +18 -0
- data/generated/google/apis/drive_v2/service.rb +81 -9
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +54 -2
- data/generated/google/apis/drive_v3/representations.rb +18 -0
- data/generated/google/apis/drive_v3/service.rb +37 -4
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +2 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1/service.rb +2 -2
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
- data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +7 -0
- data/generated/google/apis/games_management_v1management/representations.rb +1 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +13 -0
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
- data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +258 -199
- data/generated/google/apis/gmail_v1/service.rb +552 -744
- data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
- data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
- data/generated/google/apis/healthcare_v1/service.rb +3470 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
- data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +67 -63
- data/generated/google/apis/homegraph_v1/service.rb +43 -47
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +190 -0
- data/generated/google/apis/iap_v1/representations.rb +66 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +6 -6
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -7
- data/generated/google/apis/logging_v2.rb +3 -3
- data/generated/google/apis/logging_v2/classes.rb +3 -4
- data/generated/google/apis/logging_v2/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
- data/generated/google/apis/memcache_v1beta2.rb +35 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
- data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +47 -7
- data/generated/google/apis/ml_v1/representations.rb +4 -0
- data/generated/google/apis/monitoring_v1.rb +7 -8
- data/generated/google/apis/monitoring_v1/classes.rb +54 -15
- data/generated/google/apis/monitoring_v1/representations.rb +3 -0
- data/generated/google/apis/monitoring_v1/service.rb +7 -8
- data/generated/google/apis/monitoring_v3.rb +7 -8
- data/generated/google/apis/monitoring_v3/classes.rb +300 -27
- data/generated/google/apis/monitoring_v3/representations.rb +128 -0
- data/generated/google/apis/monitoring_v3/service.rb +52 -17
- data/generated/google/apis/oauth2_v2.rb +4 -4
- data/generated/google/apis/oauth2_v2/classes.rb +1 -13
- data/generated/google/apis/oauth2_v2/representations.rb +2 -4
- data/generated/google/apis/oauth2_v2/service.rb +10 -12
- data/generated/google/apis/osconfig_v1.rb +35 -0
- data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
- data/generated/google/apis/osconfig_v1/representations.rb +506 -0
- data/generated/google/apis/osconfig_v1/service.rb +386 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +30 -12
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +12 -24
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +9 -5
- data/generated/google/apis/pubsub_v1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -7
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +36 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +6 -13
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/secretmanager_v1.rb +2 -2
- data/generated/google/apis/secretmanager_v1/service.rb +4 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
- data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
- data/generated/google/apis/securitycenter_v1.rb +4 -4
- data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
- data/generated/google/apis/securitycenter_v1/service.rb +11 -3
- data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
- data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
- data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
- data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
- data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
- data/generated/google/apis/serviceusage_v1/service.rb +42 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
- data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +2 -2
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +463 -1
- data/generated/google/apis/spanner_v1/representations.rb +178 -0
- data/generated/google/apis/spanner_v1/service.rb +498 -10
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +7 -3
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
- data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
- data/generated/google/apis/sql_v1beta4/service.rb +54 -384
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +18 -0
- data/generated/google/apis/storage_v1/representations.rb +2 -0
- data/generated/google/apis/storage_v1/service.rb +28 -3
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
- data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +4 -1
- data/generated/google/apis/youtube_v3/classes.rb +7 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +32 -23
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
- data/generated/google/apis/mirror_v1/classes.rb +0 -1072
- data/generated/google/apis/mirror_v1/representations.rb +0 -390
- data/generated/google/apis/mirror_v1/service.rb +0 -928
- data/generated/google/apis/oauth2_v1.rb +0 -40
- data/generated/google/apis/oauth2_v1/classes.rb +0 -197
- data/generated/google/apis/oauth2_v1/representations.rb +0 -73
- data/generated/google/apis/oauth2_v1/service.rb +0 -160
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
|
26
26
|
module SpeechV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200406'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -69,6 +69,12 @@ module Google
|
|
|
69
69
|
# @return [String]
|
|
70
70
|
attr_accessor :start_time
|
|
71
71
|
|
|
72
|
+
# The URI of the audio file being transcribed. Empty if the audio was sent
|
|
73
|
+
# as byte content.
|
|
74
|
+
# Corresponds to the JSON property `uri`
|
|
75
|
+
# @return [String]
|
|
76
|
+
attr_accessor :uri
|
|
77
|
+
|
|
72
78
|
def initialize(**args)
|
|
73
79
|
update!(**args)
|
|
74
80
|
end
|
|
@@ -78,6 +84,7 @@ module Google
|
|
|
78
84
|
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
|
|
79
85
|
@progress_percent = args[:progress_percent] if args.key?(:progress_percent)
|
|
80
86
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
87
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
81
88
|
end
|
|
82
89
|
end
|
|
83
90
|
|
|
@@ -263,9 +270,6 @@ module Google
|
|
|
263
270
|
# This feature is only available in select languages. Setting this for
|
|
264
271
|
# requests in other languages has no effect at all.
|
|
265
272
|
# The default 'false' value does not add punctuation to result hypotheses.
|
|
266
|
-
# Note: This is currently offered as an experimental service, complimentary
|
|
267
|
-
# to all users. In the future this may be exclusively available as a
|
|
268
|
-
# premium feature.
|
|
269
273
|
# Corresponds to the JSON property `enableAutomaticPunctuation`
|
|
270
274
|
# @return [Boolean]
|
|
271
275
|
attr_accessor :enable_automatic_punctuation
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
|
26
26
|
module SpeechV1p1beta1
|
|
27
27
|
VERSION = 'V1p1beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200406'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -69,6 +69,12 @@ module Google
|
|
|
69
69
|
# @return [String]
|
|
70
70
|
attr_accessor :start_time
|
|
71
71
|
|
|
72
|
+
# The URI of the audio file being transcribed. Empty if the audio was sent
|
|
73
|
+
# as byte content.
|
|
74
|
+
# Corresponds to the JSON property `uri`
|
|
75
|
+
# @return [String]
|
|
76
|
+
attr_accessor :uri
|
|
77
|
+
|
|
72
78
|
def initialize(**args)
|
|
73
79
|
update!(**args)
|
|
74
80
|
end
|
|
@@ -78,6 +84,7 @@ module Google
|
|
|
78
84
|
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
|
|
79
85
|
@progress_percent = args[:progress_percent] if args.key?(:progress_percent)
|
|
80
86
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
87
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
81
88
|
end
|
|
82
89
|
end
|
|
83
90
|
|
|
@@ -286,9 +293,6 @@ module Google
|
|
|
286
293
|
# This feature is only available in select languages. Setting this for
|
|
287
294
|
# requests in other languages has no effect at all.
|
|
288
295
|
# The default 'false' value does not add punctuation to result hypotheses.
|
|
289
|
-
# Note: This is currently offered as an experimental service, complimentary
|
|
290
|
-
# to all users. In the future this may be exclusively available as a
|
|
291
|
-
# premium feature.
|
|
292
296
|
# Corresponds to the JSON property `enableAutomaticPunctuation`
|
|
293
297
|
# @return [Boolean]
|
|
294
298
|
attr_accessor :enable_automatic_punctuation
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
|
26
26
|
module SpeechV2beta1
|
|
27
27
|
VERSION = 'V2beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200326'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -70,6 +70,12 @@ module Google
|
|
|
70
70
|
# @return [String]
|
|
71
71
|
attr_accessor :start_time
|
|
72
72
|
|
|
73
|
+
# The URI of the audio file being transcribed. Empty if the audio was sent
|
|
74
|
+
# as byte content.
|
|
75
|
+
# Corresponds to the JSON property `uri`
|
|
76
|
+
# @return [String]
|
|
77
|
+
attr_accessor :uri
|
|
78
|
+
|
|
73
79
|
def initialize(**args)
|
|
74
80
|
update!(**args)
|
|
75
81
|
end
|
|
@@ -79,6 +85,7 @@ module Google
|
|
|
79
85
|
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
|
|
80
86
|
@progress_percent = args[:progress_percent] if args.key?(:progress_percent)
|
|
81
87
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
88
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
82
89
|
end
|
|
83
90
|
end
|
|
84
91
|
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/cloud-sql/
|
|
26
26
|
module SqlV1beta4
|
|
27
27
|
VERSION = 'V1beta4'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200310'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -90,8 +90,8 @@ module Google
|
|
|
90
90
|
class BackupConfiguration
|
|
91
91
|
include Google::Apis::Core::Hashable
|
|
92
92
|
|
|
93
|
-
# Whether binary log is enabled. If backup configuration is
|
|
94
|
-
#
|
|
93
|
+
# (MySQL only) Whether binary log is enabled. If backup configuration is
|
|
94
|
+
# disabled, binarylog must be disabled as well.
|
|
95
95
|
# Corresponds to the JSON property `binaryLogEnabled`
|
|
96
96
|
# @return [Boolean]
|
|
97
97
|
attr_accessor :binary_log_enabled
|
|
@@ -2236,7 +2236,7 @@ module Google
|
|
|
2236
2236
|
# @return [Array<String>]
|
|
2237
2237
|
attr_accessor :authorized_gae_applications
|
|
2238
2238
|
|
|
2239
|
-
# Availability type (PostgreSQL instances only). Potential values:
|
|
2239
|
+
# Availability type (PostgreSQL and MySQL instances only). Potential values:
|
|
2240
2240
|
# <br><code>ZONAL</code>: The instance serves data from only one zone.
|
|
2241
2241
|
# Outages in that zone affect data accessibility. <br><code>REGIONAL</code>:
|
|
2242
2242
|
# The instance can serve data from more than one zone in a region (it is
|
|
@@ -56,11 +56,6 @@ module Google
|
|
|
56
56
|
# The ID of the Backup Run to delete. To find a Backup Run ID, use the <a
|
|
57
57
|
# href="/sql/docs/db_path/admin-api/rest/v1beta4/backupRuns/list">list</a>
|
|
58
58
|
# method.
|
|
59
|
-
# @param [String] resource_name
|
|
60
|
-
# The name of the backupRun to delete.
|
|
61
|
-
# Format:
|
|
62
|
-
# projects/`project`/locations/`location`/instances/`instance`/backupRuns/`
|
|
63
|
-
# backupRun`
|
|
64
59
|
# @param [String] fields
|
|
65
60
|
# Selector specifying which fields to include in a partial response.
|
|
66
61
|
# @param [String] quota_user
|
|
@@ -78,14 +73,13 @@ module Google
|
|
|
78
73
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
79
74
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
80
75
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
81
|
-
def delete_backup_run(project, instance, id,
|
|
76
|
+
def delete_backup_run(project, instance, id, fields: nil, quota_user: nil, options: nil, &block)
|
|
82
77
|
command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}', options)
|
|
83
78
|
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
|
84
79
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
85
80
|
command.params['project'] = project unless project.nil?
|
|
86
81
|
command.params['instance'] = instance unless instance.nil?
|
|
87
82
|
command.params['id'] = id unless id.nil?
|
|
88
|
-
command.query['resourceName'] = resource_name unless resource_name.nil?
|
|
89
83
|
command.query['fields'] = fields unless fields.nil?
|
|
90
84
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
91
85
|
execute_or_queue_command(command, &block)
|
|
@@ -98,11 +92,6 @@ module Google
|
|
|
98
92
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
99
93
|
# @param [Fixnum] id
|
|
100
94
|
# The ID of this Backup Run.
|
|
101
|
-
# @param [String] resource_name
|
|
102
|
-
# Name of the resource backupRun.
|
|
103
|
-
# Format:
|
|
104
|
-
# projects/`project`/locations/`location`/instances/`instance`/backupRuns/`
|
|
105
|
-
# backupRun`
|
|
106
95
|
# @param [String] fields
|
|
107
96
|
# Selector specifying which fields to include in a partial response.
|
|
108
97
|
# @param [String] quota_user
|
|
@@ -120,14 +109,13 @@ module Google
|
|
|
120
109
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
121
110
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
122
111
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
123
|
-
def get_backup_run(project, instance, id,
|
|
112
|
+
def get_backup_run(project, instance, id, fields: nil, quota_user: nil, options: nil, &block)
|
|
124
113
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}', options)
|
|
125
114
|
command.response_representation = Google::Apis::SqlV1beta4::BackupRun::Representation
|
|
126
115
|
command.response_class = Google::Apis::SqlV1beta4::BackupRun
|
|
127
116
|
command.params['project'] = project unless project.nil?
|
|
128
117
|
command.params['instance'] = instance unless instance.nil?
|
|
129
118
|
command.params['id'] = id unless id.nil?
|
|
130
|
-
command.query['resourceName'] = resource_name unless resource_name.nil?
|
|
131
119
|
command.query['fields'] = fields unless fields.nil?
|
|
132
120
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
133
121
|
execute_or_queue_command(command, &block)
|
|
@@ -140,9 +128,6 @@ module Google
|
|
|
140
128
|
# @param [String] instance
|
|
141
129
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
142
130
|
# @param [Google::Apis::SqlV1beta4::BackupRun] backup_run_object
|
|
143
|
-
# @param [String] parent
|
|
144
|
-
# The parent resource where Cloud SQL should create this backupRun.
|
|
145
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
146
131
|
# @param [String] fields
|
|
147
132
|
# Selector specifying which fields to include in a partial response.
|
|
148
133
|
# @param [String] quota_user
|
|
@@ -160,7 +145,7 @@ module Google
|
|
|
160
145
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
161
146
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
162
147
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
163
|
-
def insert_backup_run(project, instance, backup_run_object = nil,
|
|
148
|
+
def insert_backup_run(project, instance, backup_run_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
164
149
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/backupRuns', options)
|
|
165
150
|
command.request_representation = Google::Apis::SqlV1beta4::BackupRun::Representation
|
|
166
151
|
command.request_object = backup_run_object
|
|
@@ -168,7 +153,6 @@ module Google
|
|
|
168
153
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
169
154
|
command.params['project'] = project unless project.nil?
|
|
170
155
|
command.params['instance'] = instance unless instance.nil?
|
|
171
|
-
command.query['parent'] = parent unless parent.nil?
|
|
172
156
|
command.query['fields'] = fields unless fields.nil?
|
|
173
157
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
174
158
|
execute_or_queue_command(command, &block)
|
|
@@ -185,9 +169,6 @@ module Google
|
|
|
185
169
|
# @param [String] page_token
|
|
186
170
|
# A previously-returned page token representing part of the larger set of
|
|
187
171
|
# results to view.
|
|
188
|
-
# @param [String] parent
|
|
189
|
-
# The parent, which owns this collection of backupRuns.
|
|
190
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
191
172
|
# @param [String] fields
|
|
192
173
|
# Selector specifying which fields to include in a partial response.
|
|
193
174
|
# @param [String] quota_user
|
|
@@ -205,7 +186,7 @@ module Google
|
|
|
205
186
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
206
187
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
207
188
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
208
|
-
def list_backup_runs(project, instance, max_results: nil, page_token: nil,
|
|
189
|
+
def list_backup_runs(project, instance, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
209
190
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/backupRuns', options)
|
|
210
191
|
command.response_representation = Google::Apis::SqlV1beta4::BackupRunsListResponse::Representation
|
|
211
192
|
command.response_class = Google::Apis::SqlV1beta4::BackupRunsListResponse
|
|
@@ -213,7 +194,6 @@ module Google
|
|
|
213
194
|
command.params['instance'] = instance unless instance.nil?
|
|
214
195
|
command.query['maxResults'] = max_results unless max_results.nil?
|
|
215
196
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
216
|
-
command.query['parent'] = parent unless parent.nil?
|
|
217
197
|
command.query['fields'] = fields unless fields.nil?
|
|
218
198
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
219
199
|
execute_or_queue_command(command, &block)
|
|
@@ -226,11 +206,6 @@ module Google
|
|
|
226
206
|
# Database instance ID. This does not include the project ID.
|
|
227
207
|
# @param [String] database
|
|
228
208
|
# Name of the database to be deleted in the instance.
|
|
229
|
-
# @param [String] resource_name
|
|
230
|
-
# The name of the database to delete.
|
|
231
|
-
# Format:
|
|
232
|
-
# projects/`project`/locations/`location`/instances/`instance`/databases/`
|
|
233
|
-
# database`
|
|
234
209
|
# @param [String] fields
|
|
235
210
|
# Selector specifying which fields to include in a partial response.
|
|
236
211
|
# @param [String] quota_user
|
|
@@ -248,14 +223,13 @@ module Google
|
|
|
248
223
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
249
224
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
250
225
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
251
|
-
def delete_database(project, instance, database,
|
|
226
|
+
def delete_database(project, instance, database, fields: nil, quota_user: nil, options: nil, &block)
|
|
252
227
|
command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}', options)
|
|
253
228
|
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
|
254
229
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
255
230
|
command.params['project'] = project unless project.nil?
|
|
256
231
|
command.params['instance'] = instance unless instance.nil?
|
|
257
232
|
command.params['database'] = database unless database.nil?
|
|
258
|
-
command.query['resourceName'] = resource_name unless resource_name.nil?
|
|
259
233
|
command.query['fields'] = fields unless fields.nil?
|
|
260
234
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
261
235
|
execute_or_queue_command(command, &block)
|
|
@@ -269,11 +243,6 @@ module Google
|
|
|
269
243
|
# Database instance ID. This does not include the project ID.
|
|
270
244
|
# @param [String] database
|
|
271
245
|
# Name of the database in the instance.
|
|
272
|
-
# @param [String] resource_name
|
|
273
|
-
# Name of the resource database.
|
|
274
|
-
# Format:
|
|
275
|
-
# projects/`project`/locations/`location`/instances/`instance`/databases/`
|
|
276
|
-
# database`
|
|
277
246
|
# @param [String] fields
|
|
278
247
|
# Selector specifying which fields to include in a partial response.
|
|
279
248
|
# @param [String] quota_user
|
|
@@ -291,14 +260,13 @@ module Google
|
|
|
291
260
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
292
261
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
293
262
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
294
|
-
def get_database(project, instance, database,
|
|
263
|
+
def get_database(project, instance, database, fields: nil, quota_user: nil, options: nil, &block)
|
|
295
264
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}', options)
|
|
296
265
|
command.response_representation = Google::Apis::SqlV1beta4::Database::Representation
|
|
297
266
|
command.response_class = Google::Apis::SqlV1beta4::Database
|
|
298
267
|
command.params['project'] = project unless project.nil?
|
|
299
268
|
command.params['instance'] = instance unless instance.nil?
|
|
300
269
|
command.params['database'] = database unless database.nil?
|
|
301
|
-
command.query['resourceName'] = resource_name unless resource_name.nil?
|
|
302
270
|
command.query['fields'] = fields unless fields.nil?
|
|
303
271
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
304
272
|
execute_or_queue_command(command, &block)
|
|
@@ -311,9 +279,6 @@ module Google
|
|
|
311
279
|
# @param [String] instance
|
|
312
280
|
# Database instance ID. This does not include the project ID.
|
|
313
281
|
# @param [Google::Apis::SqlV1beta4::Database] database_object
|
|
314
|
-
# @param [String] parent
|
|
315
|
-
# The parent resource where Cloud SQL should add this database.
|
|
316
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
317
282
|
# @param [String] fields
|
|
318
283
|
# Selector specifying which fields to include in a partial response.
|
|
319
284
|
# @param [String] quota_user
|
|
@@ -331,7 +296,7 @@ module Google
|
|
|
331
296
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
332
297
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
333
298
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
334
|
-
def insert_database(project, instance, database_object = nil,
|
|
299
|
+
def insert_database(project, instance, database_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
335
300
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/databases', options)
|
|
336
301
|
command.request_representation = Google::Apis::SqlV1beta4::Database::Representation
|
|
337
302
|
command.request_object = database_object
|
|
@@ -339,7 +304,6 @@ module Google
|
|
|
339
304
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
340
305
|
command.params['project'] = project unless project.nil?
|
|
341
306
|
command.params['instance'] = instance unless instance.nil?
|
|
342
|
-
command.query['parent'] = parent unless parent.nil?
|
|
343
307
|
command.query['fields'] = fields unless fields.nil?
|
|
344
308
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
345
309
|
execute_or_queue_command(command, &block)
|
|
@@ -350,9 +314,6 @@ module Google
|
|
|
350
314
|
# Project ID of the project that contains the instance.
|
|
351
315
|
# @param [String] instance
|
|
352
316
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
353
|
-
# @param [String] parent
|
|
354
|
-
# The parent, which owns this collection of databases.
|
|
355
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
356
317
|
# @param [String] fields
|
|
357
318
|
# Selector specifying which fields to include in a partial response.
|
|
358
319
|
# @param [String] quota_user
|
|
@@ -370,13 +331,12 @@ module Google
|
|
|
370
331
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
371
332
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
372
333
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
373
|
-
def list_databases(project, instance,
|
|
334
|
+
def list_databases(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
|
374
335
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/databases', options)
|
|
375
336
|
command.response_representation = Google::Apis::SqlV1beta4::DatabasesListResponse::Representation
|
|
376
337
|
command.response_class = Google::Apis::SqlV1beta4::DatabasesListResponse
|
|
377
338
|
command.params['project'] = project unless project.nil?
|
|
378
339
|
command.params['instance'] = instance unless instance.nil?
|
|
379
|
-
command.query['parent'] = parent unless parent.nil?
|
|
380
340
|
command.query['fields'] = fields unless fields.nil?
|
|
381
341
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
382
342
|
execute_or_queue_command(command, &block)
|
|
@@ -384,12 +344,6 @@ module Google
|
|
|
384
344
|
|
|
385
345
|
# Partially updates a resource containing information about a database inside
|
|
386
346
|
# a Cloud SQL instance. This method supports patch semantics.
|
|
387
|
-
# <aside
|
|
388
|
-
# class="caution"><strong>Caution:</strong> This is not a partial update, so
|
|
389
|
-
# you must include values for all the settings that you want to retain. For
|
|
390
|
-
# partial updates, use <a
|
|
391
|
-
# href="/sql/docs/db_path/admin-api/rest/v1beta4/instances/update">update</a>.</
|
|
392
|
-
# aside>
|
|
393
347
|
# @param [String] project
|
|
394
348
|
# Project ID of the project that contains the instance.
|
|
395
349
|
# @param [String] instance
|
|
@@ -397,11 +351,6 @@ module Google
|
|
|
397
351
|
# @param [String] database
|
|
398
352
|
# Name of the database to be updated in the instance.
|
|
399
353
|
# @param [Google::Apis::SqlV1beta4::Database] database_object
|
|
400
|
-
# @param [String] resource_name
|
|
401
|
-
# The name of the database for Cloud SQL to update.
|
|
402
|
-
# Format:
|
|
403
|
-
# projects/`project`/locations/`location`/instances/`instance`/databases/`
|
|
404
|
-
# database`
|
|
405
354
|
# @param [String] fields
|
|
406
355
|
# Selector specifying which fields to include in a partial response.
|
|
407
356
|
# @param [String] quota_user
|
|
@@ -419,7 +368,7 @@ module Google
|
|
|
419
368
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
420
369
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
421
370
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
422
|
-
def patch_database(project, instance, database, database_object = nil,
|
|
371
|
+
def patch_database(project, instance, database, database_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
423
372
|
command = make_simple_command(:patch, 'sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}', options)
|
|
424
373
|
command.request_representation = Google::Apis::SqlV1beta4::Database::Representation
|
|
425
374
|
command.request_object = database_object
|
|
@@ -428,7 +377,6 @@ module Google
|
|
|
428
377
|
command.params['project'] = project unless project.nil?
|
|
429
378
|
command.params['instance'] = instance unless instance.nil?
|
|
430
379
|
command.params['database'] = database unless database.nil?
|
|
431
|
-
command.query['resourceName'] = resource_name unless resource_name.nil?
|
|
432
380
|
command.query['fields'] = fields unless fields.nil?
|
|
433
381
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
434
382
|
execute_or_queue_command(command, &block)
|
|
@@ -443,11 +391,6 @@ module Google
|
|
|
443
391
|
# @param [String] database
|
|
444
392
|
# Name of the database to be updated in the instance.
|
|
445
393
|
# @param [Google::Apis::SqlV1beta4::Database] database_object
|
|
446
|
-
# @param [String] resource_name
|
|
447
|
-
# The name of the database for Cloud SQL to update.
|
|
448
|
-
# Format:
|
|
449
|
-
# projects/`project`/locations/`location`/instances/`instance`/databases/`
|
|
450
|
-
# database`
|
|
451
394
|
# @param [String] fields
|
|
452
395
|
# Selector specifying which fields to include in a partial response.
|
|
453
396
|
# @param [String] quota_user
|
|
@@ -465,7 +408,7 @@ module Google
|
|
|
465
408
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
466
409
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
467
410
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
468
|
-
def update_database(project, instance, database, database_object = nil,
|
|
411
|
+
def update_database(project, instance, database, database_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
469
412
|
command = make_simple_command(:put, 'sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}', options)
|
|
470
413
|
command.request_representation = Google::Apis::SqlV1beta4::Database::Representation
|
|
471
414
|
command.request_object = database_object
|
|
@@ -474,7 +417,6 @@ module Google
|
|
|
474
417
|
command.params['project'] = project unless project.nil?
|
|
475
418
|
command.params['instance'] = instance unless instance.nil?
|
|
476
419
|
command.params['database'] = database unless database.nil?
|
|
477
|
-
command.query['resourceName'] = resource_name unless resource_name.nil?
|
|
478
420
|
command.query['fields'] = fields unless fields.nil?
|
|
479
421
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
480
422
|
execute_or_queue_command(command, &block)
|
|
@@ -520,9 +462,6 @@ module Google
|
|
|
520
462
|
# Project ID of the project that contains the instance.
|
|
521
463
|
# @param [String] instance
|
|
522
464
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
523
|
-
# @param [String] parent
|
|
524
|
-
# The parent resource where Cloud SQL should add this server CA.
|
|
525
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
526
465
|
# @param [String] fields
|
|
527
466
|
# Selector specifying which fields to include in a partial response.
|
|
528
467
|
# @param [String] quota_user
|
|
@@ -540,28 +479,25 @@ module Google
|
|
|
540
479
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
541
480
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
542
481
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
543
|
-
def add_instance_server_ca(project, instance,
|
|
482
|
+
def add_instance_server_ca(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
|
544
483
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/addServerCa', options)
|
|
545
484
|
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
|
546
485
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
547
486
|
command.params['project'] = project unless project.nil?
|
|
548
487
|
command.params['instance'] = instance unless instance.nil?
|
|
549
|
-
command.query['parent'] = parent unless parent.nil?
|
|
550
488
|
command.query['fields'] = fields unless fields.nil?
|
|
551
489
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
552
490
|
execute_or_queue_command(command, &block)
|
|
553
491
|
end
|
|
554
492
|
|
|
555
|
-
# Creates a Cloud SQL instance as a clone of the source instance.
|
|
493
|
+
# Creates a Cloud SQL instance as a clone of the source instance. Using this
|
|
494
|
+
# operation might cause your instance to restart.
|
|
556
495
|
# @param [String] project
|
|
557
496
|
# Project ID of the source as well as the clone Cloud SQL instance.
|
|
558
497
|
# @param [String] instance
|
|
559
498
|
# The ID of the Cloud SQL instance to be cloned (source). This does not
|
|
560
499
|
# include the project ID.
|
|
561
500
|
# @param [Google::Apis::SqlV1beta4::InstancesCloneRequest] instances_clone_request_object
|
|
562
|
-
# @param [String] parent
|
|
563
|
-
# The parent resource where Cloud SQL should clone this instance.
|
|
564
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
565
501
|
# @param [String] fields
|
|
566
502
|
# Selector specifying which fields to include in a partial response.
|
|
567
503
|
# @param [String] quota_user
|
|
@@ -579,7 +515,7 @@ module Google
|
|
|
579
515
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
580
516
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
581
517
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
582
|
-
def clone_instance(project, instance, instances_clone_request_object = nil,
|
|
518
|
+
def clone_instance(project, instance, instances_clone_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
583
519
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/clone', options)
|
|
584
520
|
command.request_representation = Google::Apis::SqlV1beta4::InstancesCloneRequest::Representation
|
|
585
521
|
command.request_object = instances_clone_request_object
|
|
@@ -587,7 +523,6 @@ module Google
|
|
|
587
523
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
588
524
|
command.params['project'] = project unless project.nil?
|
|
589
525
|
command.params['instance'] = instance unless instance.nil?
|
|
590
|
-
command.query['parent'] = parent unless parent.nil?
|
|
591
526
|
command.query['fields'] = fields unless fields.nil?
|
|
592
527
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
593
528
|
execute_or_queue_command(command, &block)
|
|
@@ -598,9 +533,6 @@ module Google
|
|
|
598
533
|
# Project ID of the project that contains the instance to be deleted.
|
|
599
534
|
# @param [String] instance
|
|
600
535
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
601
|
-
# @param [String] resource_name
|
|
602
|
-
# The name of database instance to delete.
|
|
603
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
604
536
|
# @param [String] fields
|
|
605
537
|
# Selector specifying which fields to include in a partial response.
|
|
606
538
|
# @param [String] quota_user
|
|
@@ -618,13 +550,12 @@ module Google
|
|
|
618
550
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
619
551
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
620
552
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
621
|
-
def delete_instance(project, instance,
|
|
553
|
+
def delete_instance(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
|
622
554
|
command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}', options)
|
|
623
555
|
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
|
624
556
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
625
557
|
command.params['project'] = project unless project.nil?
|
|
626
558
|
command.params['instance'] = instance unless instance.nil?
|
|
627
|
-
command.query['resourceName'] = resource_name unless resource_name.nil?
|
|
628
559
|
command.query['fields'] = fields unless fields.nil?
|
|
629
560
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
630
561
|
execute_or_queue_command(command, &block)
|
|
@@ -637,9 +568,6 @@ module Google
|
|
|
637
568
|
# @param [String] instance
|
|
638
569
|
# Cloud SQL instance name.
|
|
639
570
|
# @param [Google::Apis::SqlV1beta4::InstancesDemoteMasterRequest] instances_demote_master_request_object
|
|
640
|
-
# @param [String] parent
|
|
641
|
-
# The parent resource where Cloud SQL demotes this master database instance.
|
|
642
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
643
571
|
# @param [String] fields
|
|
644
572
|
# Selector specifying which fields to include in a partial response.
|
|
645
573
|
# @param [String] quota_user
|
|
@@ -657,7 +585,7 @@ module Google
|
|
|
657
585
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
658
586
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
659
587
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
660
|
-
def demote_instance_master(project, instance, instances_demote_master_request_object = nil,
|
|
588
|
+
def demote_instance_master(project, instance, instances_demote_master_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
661
589
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/demoteMaster', options)
|
|
662
590
|
command.request_representation = Google::Apis::SqlV1beta4::InstancesDemoteMasterRequest::Representation
|
|
663
591
|
command.request_object = instances_demote_master_request_object
|
|
@@ -665,7 +593,6 @@ module Google
|
|
|
665
593
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
666
594
|
command.params['project'] = project unless project.nil?
|
|
667
595
|
command.params['instance'] = instance unless instance.nil?
|
|
668
|
-
command.query['parent'] = parent unless parent.nil?
|
|
669
596
|
command.query['fields'] = fields unless fields.nil?
|
|
670
597
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
671
598
|
execute_or_queue_command(command, &block)
|
|
@@ -678,9 +605,6 @@ module Google
|
|
|
678
605
|
# @param [String] instance
|
|
679
606
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
680
607
|
# @param [Google::Apis::SqlV1beta4::InstancesExportRequest] instances_export_request_object
|
|
681
|
-
# @param [String] parent
|
|
682
|
-
# The parent resource where Cloud SQL exports this database instance.
|
|
683
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
684
608
|
# @param [String] fields
|
|
685
609
|
# Selector specifying which fields to include in a partial response.
|
|
686
610
|
# @param [String] quota_user
|
|
@@ -698,7 +622,7 @@ module Google
|
|
|
698
622
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
699
623
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
700
624
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
701
|
-
def export_instance(project, instance, instances_export_request_object = nil,
|
|
625
|
+
def export_instance(project, instance, instances_export_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
702
626
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/export', options)
|
|
703
627
|
command.request_representation = Google::Apis::SqlV1beta4::InstancesExportRequest::Representation
|
|
704
628
|
command.request_object = instances_export_request_object
|
|
@@ -706,22 +630,18 @@ module Google
|
|
|
706
630
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
707
631
|
command.params['project'] = project unless project.nil?
|
|
708
632
|
command.params['instance'] = instance unless instance.nil?
|
|
709
|
-
command.query['parent'] = parent unless parent.nil?
|
|
710
633
|
command.query['fields'] = fields unless fields.nil?
|
|
711
634
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
712
635
|
execute_or_queue_command(command, &block)
|
|
713
636
|
end
|
|
714
637
|
|
|
715
|
-
# Failover the instance to its failover replica instance.
|
|
638
|
+
# Failover the instance to its failover replica instance. Using this
|
|
639
|
+
# operation might cause your instance to restart.
|
|
716
640
|
# @param [String] project
|
|
717
641
|
# ID of the project that contains the read replica.
|
|
718
642
|
# @param [String] instance
|
|
719
643
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
720
644
|
# @param [Google::Apis::SqlV1beta4::InstancesFailoverRequest] instances_failover_request_object
|
|
721
|
-
# @param [String] parent
|
|
722
|
-
# The parent resource where Cloud SQL sends this database instance during a
|
|
723
|
-
# failover. Format:
|
|
724
|
-
# projects/`project`/locations/`location`/instances/`instance`
|
|
725
645
|
# @param [String] fields
|
|
726
646
|
# Selector specifying which fields to include in a partial response.
|
|
727
647
|
# @param [String] quota_user
|
|
@@ -739,7 +659,7 @@ module Google
|
|
|
739
659
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
740
660
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
741
661
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
742
|
-
def failover_instance(project, instance, instances_failover_request_object = nil,
|
|
662
|
+
def failover_instance(project, instance, instances_failover_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
743
663
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/failover', options)
|
|
744
664
|
command.request_representation = Google::Apis::SqlV1beta4::InstancesFailoverRequest::Representation
|
|
745
665
|
command.request_object = instances_failover_request_object
|
|
@@ -747,7 +667,6 @@ module Google
|
|
|
747
667
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
748
668
|
command.params['project'] = project unless project.nil?
|
|
749
669
|
command.params['instance'] = instance unless instance.nil?
|
|
750
|
-
command.query['parent'] = parent unless parent.nil?
|
|
751
670
|
command.query['fields'] = fields unless fields.nil?
|
|
752
671
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
753
672
|
execute_or_queue_command(command, &block)
|
|
@@ -758,9 +677,6 @@ module Google
|
|
|
758
677
|
# Project ID of the project that contains the instance.
|
|
759
678
|
# @param [String] instance
|
|
760
679
|
# Database instance ID. This does not include the project ID.
|
|
761
|
-
# @param [String] resource_name
|
|
762
|
-
# Name of the resource database instance.
|
|
763
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
764
680
|
# @param [String] fields
|
|
765
681
|
# Selector specifying which fields to include in a partial response.
|
|
766
682
|
# @param [String] quota_user
|
|
@@ -778,13 +694,12 @@ module Google
|
|
|
778
694
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
779
695
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
780
696
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
781
|
-
def get_instance(project, instance,
|
|
697
|
+
def get_instance(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
|
782
698
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}', options)
|
|
783
699
|
command.response_representation = Google::Apis::SqlV1beta4::DatabaseInstance::Representation
|
|
784
700
|
command.response_class = Google::Apis::SqlV1beta4::DatabaseInstance
|
|
785
701
|
command.params['project'] = project unless project.nil?
|
|
786
702
|
command.params['instance'] = instance unless instance.nil?
|
|
787
|
-
command.query['resourceName'] = resource_name unless resource_name.nil?
|
|
788
703
|
command.query['fields'] = fields unless fields.nil?
|
|
789
704
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
790
705
|
execute_or_queue_command(command, &block)
|
|
@@ -797,9 +712,6 @@ module Google
|
|
|
797
712
|
# @param [String] instance
|
|
798
713
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
799
714
|
# @param [Google::Apis::SqlV1beta4::InstancesImportRequest] instances_import_request_object
|
|
800
|
-
# @param [String] parent
|
|
801
|
-
# The parent resource where Cloud SQL imports this database instance.
|
|
802
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
803
715
|
# @param [String] fields
|
|
804
716
|
# Selector specifying which fields to include in a partial response.
|
|
805
717
|
# @param [String] quota_user
|
|
@@ -817,7 +729,7 @@ module Google
|
|
|
817
729
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
818
730
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
819
731
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
820
|
-
def import_instance(project, instance, instances_import_request_object = nil,
|
|
732
|
+
def import_instance(project, instance, instances_import_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
821
733
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/import', options)
|
|
822
734
|
command.request_representation = Google::Apis::SqlV1beta4::InstancesImportRequest::Representation
|
|
823
735
|
command.request_object = instances_import_request_object
|
|
@@ -825,7 +737,6 @@ module Google
|
|
|
825
737
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
826
738
|
command.params['project'] = project unless project.nil?
|
|
827
739
|
command.params['instance'] = instance unless instance.nil?
|
|
828
|
-
command.query['parent'] = parent unless parent.nil?
|
|
829
740
|
command.query['fields'] = fields unless fields.nil?
|
|
830
741
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
831
742
|
execute_or_queue_command(command, &block)
|
|
@@ -836,9 +747,6 @@ module Google
|
|
|
836
747
|
# Project ID of the project to which the newly created Cloud SQL instances
|
|
837
748
|
# should belong.
|
|
838
749
|
# @param [Google::Apis::SqlV1beta4::DatabaseInstance] database_instance_object
|
|
839
|
-
# @param [String] parent
|
|
840
|
-
# The parent resource where Cloud SQL creates this database instance.
|
|
841
|
-
# Format: projects/`project`/locations/`location`
|
|
842
750
|
# @param [String] fields
|
|
843
751
|
# Selector specifying which fields to include in a partial response.
|
|
844
752
|
# @param [String] quota_user
|
|
@@ -856,14 +764,13 @@ module Google
|
|
|
856
764
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
857
765
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
858
766
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
859
|
-
def insert_instance(project, database_instance_object = nil,
|
|
767
|
+
def insert_instance(project, database_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
860
768
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances', options)
|
|
861
769
|
command.request_representation = Google::Apis::SqlV1beta4::DatabaseInstance::Representation
|
|
862
770
|
command.request_object = database_instance_object
|
|
863
771
|
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
|
864
772
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
865
773
|
command.params['project'] = project unless project.nil?
|
|
866
|
-
command.query['parent'] = parent unless parent.nil?
|
|
867
774
|
command.query['fields'] = fields unless fields.nil?
|
|
868
775
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
869
776
|
execute_or_queue_command(command, &block)
|
|
@@ -886,9 +793,6 @@ module Google
|
|
|
886
793
|
# @param [String] page_token
|
|
887
794
|
# A previously-returned page token representing part of the larger set of
|
|
888
795
|
# results to view.
|
|
889
|
-
# @param [String] parent
|
|
890
|
-
# The parent, which owns this collection of database instances.
|
|
891
|
-
# Format: projects/`project`/locations/`location`
|
|
892
796
|
# @param [String] fields
|
|
893
797
|
# Selector specifying which fields to include in a partial response.
|
|
894
798
|
# @param [String] quota_user
|
|
@@ -906,7 +810,7 @@ module Google
|
|
|
906
810
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
907
811
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
908
812
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
909
|
-
def list_instances(project, filter: nil, max_results: nil, page_token: nil,
|
|
813
|
+
def list_instances(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
910
814
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances', options)
|
|
911
815
|
command.response_representation = Google::Apis::SqlV1beta4::InstancesListResponse::Representation
|
|
912
816
|
command.response_class = Google::Apis::SqlV1beta4::InstancesListResponse
|
|
@@ -914,7 +818,6 @@ module Google
|
|
|
914
818
|
command.query['filter'] = filter unless filter.nil?
|
|
915
819
|
command.query['maxResults'] = max_results unless max_results.nil?
|
|
916
820
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
917
|
-
command.query['parent'] = parent unless parent.nil?
|
|
918
821
|
command.query['fields'] = fields unless fields.nil?
|
|
919
822
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
920
823
|
execute_or_queue_command(command, &block)
|
|
@@ -929,9 +832,6 @@ module Google
|
|
|
929
832
|
# Project ID of the project that contains the instance.
|
|
930
833
|
# @param [String] instance
|
|
931
834
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
932
|
-
# @param [String] parent
|
|
933
|
-
# The parent, which owns this collection of server CAs.
|
|
934
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
935
835
|
# @param [String] fields
|
|
936
836
|
# Selector specifying which fields to include in a partial response.
|
|
937
837
|
# @param [String] quota_user
|
|
@@ -949,13 +849,12 @@ module Google
|
|
|
949
849
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
950
850
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
951
851
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
952
|
-
def list_instance_server_cas(project, instance,
|
|
852
|
+
def list_instance_server_cas(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
|
953
853
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/listServerCas', options)
|
|
954
854
|
command.response_representation = Google::Apis::SqlV1beta4::InstancesListServerCasResponse::Representation
|
|
955
855
|
command.response_class = Google::Apis::SqlV1beta4::InstancesListServerCasResponse
|
|
956
856
|
command.params['project'] = project unless project.nil?
|
|
957
857
|
command.params['instance'] = instance unless instance.nil?
|
|
958
|
-
command.query['parent'] = parent unless parent.nil?
|
|
959
858
|
command.query['fields'] = fields unless fields.nil?
|
|
960
859
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
961
860
|
execute_or_queue_command(command, &block)
|
|
@@ -968,9 +867,6 @@ module Google
|
|
|
968
867
|
# @param [String] instance
|
|
969
868
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
970
869
|
# @param [Google::Apis::SqlV1beta4::DatabaseInstance] database_instance_object
|
|
971
|
-
# @param [String] resource_name
|
|
972
|
-
# The name of the database instance for Cloud SQL to update.
|
|
973
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
974
870
|
# @param [String] fields
|
|
975
871
|
# Selector specifying which fields to include in a partial response.
|
|
976
872
|
# @param [String] quota_user
|
|
@@ -988,7 +884,7 @@ module Google
|
|
|
988
884
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
989
885
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
990
886
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
991
|
-
def patch_instance(project, instance, database_instance_object = nil,
|
|
887
|
+
def patch_instance(project, instance, database_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
992
888
|
command = make_simple_command(:patch, 'sql/v1beta4/projects/{project}/instances/{instance}', options)
|
|
993
889
|
command.request_representation = Google::Apis::SqlV1beta4::DatabaseInstance::Representation
|
|
994
890
|
command.request_object = database_instance_object
|
|
@@ -996,20 +892,17 @@ module Google
|
|
|
996
892
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
997
893
|
command.params['project'] = project unless project.nil?
|
|
998
894
|
command.params['instance'] = instance unless instance.nil?
|
|
999
|
-
command.query['resourceName'] = resource_name unless resource_name.nil?
|
|
1000
895
|
command.query['fields'] = fields unless fields.nil?
|
|
1001
896
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1002
897
|
execute_or_queue_command(command, &block)
|
|
1003
898
|
end
|
|
1004
899
|
|
|
1005
900
|
# Promotes the read replica instance to be a stand-alone Cloud SQL instance.
|
|
901
|
+
# Using this operation might cause your instance to restart.
|
|
1006
902
|
# @param [String] project
|
|
1007
903
|
# ID of the project that contains the read replica.
|
|
1008
904
|
# @param [String] instance
|
|
1009
905
|
# Cloud SQL read replica instance name.
|
|
1010
|
-
# @param [String] parent
|
|
1011
|
-
# The parent resource where Cloud SQL promotes this replica database
|
|
1012
|
-
# instance. Format: projects/`project`/locations/`location`
|
|
1013
906
|
# @param [String] fields
|
|
1014
907
|
# Selector specifying which fields to include in a partial response.
|
|
1015
908
|
# @param [String] quota_user
|
|
@@ -1027,13 +920,12 @@ module Google
|
|
|
1027
920
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1028
921
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1029
922
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1030
|
-
def promote_instance_replica(project, instance,
|
|
923
|
+
def promote_instance_replica(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
|
1031
924
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/promoteReplica', options)
|
|
1032
925
|
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
|
1033
926
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
1034
927
|
command.params['project'] = project unless project.nil?
|
|
1035
928
|
command.params['instance'] = instance unless instance.nil?
|
|
1036
|
-
command.query['parent'] = parent unless parent.nil?
|
|
1037
929
|
command.query['fields'] = fields unless fields.nil?
|
|
1038
930
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1039
931
|
execute_or_queue_command(command, &block)
|
|
@@ -1045,9 +937,6 @@ module Google
|
|
|
1045
937
|
# Project ID of the project that contains the instance.
|
|
1046
938
|
# @param [String] instance
|
|
1047
939
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
1048
|
-
# @param [String] parent
|
|
1049
|
-
# The parent resource where Cloud SQL resets this SSL config.
|
|
1050
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
1051
940
|
# @param [String] fields
|
|
1052
941
|
# Selector specifying which fields to include in a partial response.
|
|
1053
942
|
# @param [String] quota_user
|
|
@@ -1065,13 +954,12 @@ module Google
|
|
|
1065
954
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1066
955
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1067
956
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1068
|
-
def reset_instance_ssl_config(project, instance,
|
|
957
|
+
def reset_instance_ssl_config(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
|
1069
958
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/resetSslConfig', options)
|
|
1070
959
|
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
|
1071
960
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
1072
961
|
command.params['project'] = project unless project.nil?
|
|
1073
962
|
command.params['instance'] = instance unless instance.nil?
|
|
1074
|
-
command.query['parent'] = parent unless parent.nil?
|
|
1075
963
|
command.query['fields'] = fields unless fields.nil?
|
|
1076
964
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1077
965
|
execute_or_queue_command(command, &block)
|
|
@@ -1082,9 +970,6 @@ module Google
|
|
|
1082
970
|
# Project ID of the project that contains the instance to be restarted.
|
|
1083
971
|
# @param [String] instance
|
|
1084
972
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
1085
|
-
# @param [String] parent
|
|
1086
|
-
# The parent resource where Cloud SQL restarts this database instance.
|
|
1087
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
1088
973
|
# @param [String] fields
|
|
1089
974
|
# Selector specifying which fields to include in a partial response.
|
|
1090
975
|
# @param [String] quota_user
|
|
@@ -1102,28 +987,24 @@ module Google
|
|
|
1102
987
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1103
988
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1104
989
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1105
|
-
def restart_instance(project, instance,
|
|
990
|
+
def restart_instance(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
|
1106
991
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/restart', options)
|
|
1107
992
|
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
|
1108
993
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
1109
994
|
command.params['project'] = project unless project.nil?
|
|
1110
995
|
command.params['instance'] = instance unless instance.nil?
|
|
1111
|
-
command.query['parent'] = parent unless parent.nil?
|
|
1112
996
|
command.query['fields'] = fields unless fields.nil?
|
|
1113
997
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1114
998
|
execute_or_queue_command(command, &block)
|
|
1115
999
|
end
|
|
1116
1000
|
|
|
1117
|
-
# Restores a backup of a Cloud SQL instance.
|
|
1001
|
+
# Restores a backup of a Cloud SQL instance. Using this operation might cause
|
|
1002
|
+
# your instance to restart.
|
|
1118
1003
|
# @param [String] project
|
|
1119
1004
|
# Project ID of the project that contains the instance.
|
|
1120
1005
|
# @param [String] instance
|
|
1121
1006
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
1122
1007
|
# @param [Google::Apis::SqlV1beta4::InstancesRestoreBackupRequest] instances_restore_backup_request_object
|
|
1123
|
-
# @param [String] parent
|
|
1124
|
-
# The parent resource where Cloud SQL restores this database instance from
|
|
1125
|
-
# backup. Format:
|
|
1126
|
-
# projects/`project`/locations/`location`/instances/`instance`
|
|
1127
1008
|
# @param [String] fields
|
|
1128
1009
|
# Selector specifying which fields to include in a partial response.
|
|
1129
1010
|
# @param [String] quota_user
|
|
@@ -1141,7 +1022,7 @@ module Google
|
|
|
1141
1022
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1142
1023
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1143
1024
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1144
|
-
def restore_instance_backup(project, instance, instances_restore_backup_request_object = nil,
|
|
1025
|
+
def restore_instance_backup(project, instance, instances_restore_backup_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1145
1026
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/restoreBackup', options)
|
|
1146
1027
|
command.request_representation = Google::Apis::SqlV1beta4::InstancesRestoreBackupRequest::Representation
|
|
1147
1028
|
command.request_object = instances_restore_backup_request_object
|
|
@@ -1149,7 +1030,6 @@ module Google
|
|
|
1149
1030
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
1150
1031
|
command.params['project'] = project unless project.nil?
|
|
1151
1032
|
command.params['instance'] = instance unless instance.nil?
|
|
1152
|
-
command.query['parent'] = parent unless parent.nil?
|
|
1153
1033
|
command.query['fields'] = fields unless fields.nil?
|
|
1154
1034
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1155
1035
|
execute_or_queue_command(command, &block)
|
|
@@ -1162,9 +1042,6 @@ module Google
|
|
|
1162
1042
|
# @param [String] instance
|
|
1163
1043
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
1164
1044
|
# @param [Google::Apis::SqlV1beta4::InstancesRotateServerCaRequest] instances_rotate_server_ca_request_object
|
|
1165
|
-
# @param [String] parent
|
|
1166
|
-
# The parent resource where Cloud SQL rotates these server CAs.
|
|
1167
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
1168
1045
|
# @param [String] fields
|
|
1169
1046
|
# Selector specifying which fields to include in a partial response.
|
|
1170
1047
|
# @param [String] quota_user
|
|
@@ -1182,7 +1059,7 @@ module Google
|
|
|
1182
1059
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1183
1060
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1184
1061
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1185
|
-
def rotate_instance_server_ca(project, instance, instances_rotate_server_ca_request_object = nil,
|
|
1062
|
+
def rotate_instance_server_ca(project, instance, instances_rotate_server_ca_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1186
1063
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/rotateServerCa', options)
|
|
1187
1064
|
command.request_representation = Google::Apis::SqlV1beta4::InstancesRotateServerCaRequest::Representation
|
|
1188
1065
|
command.request_object = instances_rotate_server_ca_request_object
|
|
@@ -1190,7 +1067,6 @@ module Google
|
|
|
1190
1067
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
1191
1068
|
command.params['project'] = project unless project.nil?
|
|
1192
1069
|
command.params['instance'] = instance unless instance.nil?
|
|
1193
|
-
command.query['parent'] = parent unless parent.nil?
|
|
1194
1070
|
command.query['fields'] = fields unless fields.nil?
|
|
1195
1071
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1196
1072
|
execute_or_queue_command(command, &block)
|
|
@@ -1201,10 +1077,6 @@ module Google
|
|
|
1201
1077
|
# ID of the project that contains the read replica.
|
|
1202
1078
|
# @param [String] instance
|
|
1203
1079
|
# Cloud SQL read replica instance name.
|
|
1204
|
-
# @param [String] parent
|
|
1205
|
-
# The parent resource where Cloud SQL starts this database instance
|
|
1206
|
-
# replication. Format:
|
|
1207
|
-
# projects/`project`/locations/`location`/instances/`instance`
|
|
1208
1080
|
# @param [String] fields
|
|
1209
1081
|
# Selector specifying which fields to include in a partial response.
|
|
1210
1082
|
# @param [String] quota_user
|
|
@@ -1222,13 +1094,12 @@ module Google
|
|
|
1222
1094
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1223
1095
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1224
1096
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1225
|
-
def start_instance_replica(project, instance,
|
|
1097
|
+
def start_instance_replica(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
|
1226
1098
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/startReplica', options)
|
|
1227
1099
|
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
|
1228
1100
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
1229
1101
|
command.params['project'] = project unless project.nil?
|
|
1230
1102
|
command.params['instance'] = instance unless instance.nil?
|
|
1231
|
-
command.query['parent'] = parent unless parent.nil?
|
|
1232
1103
|
command.query['fields'] = fields unless fields.nil?
|
|
1233
1104
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1234
1105
|
execute_or_queue_command(command, &block)
|
|
@@ -1239,10 +1110,6 @@ module Google
|
|
|
1239
1110
|
# ID of the project that contains the read replica.
|
|
1240
1111
|
# @param [String] instance
|
|
1241
1112
|
# Cloud SQL read replica instance name.
|
|
1242
|
-
# @param [String] parent
|
|
1243
|
-
# The parent resource where Cloud SQL stops this database instance
|
|
1244
|
-
# replication. Format:
|
|
1245
|
-
# projects/`project`/locations/`location`/instances/`instance`
|
|
1246
1113
|
# @param [String] fields
|
|
1247
1114
|
# Selector specifying which fields to include in a partial response.
|
|
1248
1115
|
# @param [String] quota_user
|
|
@@ -1260,13 +1127,12 @@ module Google
|
|
|
1260
1127
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1261
1128
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1262
1129
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1263
|
-
def stop_instance_replica(project, instance,
|
|
1130
|
+
def stop_instance_replica(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
|
1264
1131
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/stopReplica', options)
|
|
1265
1132
|
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
|
1266
1133
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
1267
1134
|
command.params['project'] = project unless project.nil?
|
|
1268
1135
|
command.params['instance'] = instance unless instance.nil?
|
|
1269
|
-
command.query['parent'] = parent unless parent.nil?
|
|
1270
1136
|
command.query['fields'] = fields unless fields.nil?
|
|
1271
1137
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1272
1138
|
execute_or_queue_command(command, &block)
|
|
@@ -1278,9 +1144,6 @@ module Google
|
|
|
1278
1144
|
# @param [String] instance
|
|
1279
1145
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
1280
1146
|
# @param [Google::Apis::SqlV1beta4::InstancesTruncateLogRequest] instances_truncate_log_request_object
|
|
1281
|
-
# @param [String] parent
|
|
1282
|
-
# The parent resource where Cloud SQL truncates this log.
|
|
1283
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
1284
1147
|
# @param [String] fields
|
|
1285
1148
|
# Selector specifying which fields to include in a partial response.
|
|
1286
1149
|
# @param [String] quota_user
|
|
@@ -1298,7 +1161,7 @@ module Google
|
|
|
1298
1161
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1299
1162
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1300
1163
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1301
|
-
def truncate_instance_log(project, instance, instances_truncate_log_request_object = nil,
|
|
1164
|
+
def truncate_instance_log(project, instance, instances_truncate_log_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1302
1165
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/truncateLog', options)
|
|
1303
1166
|
command.request_representation = Google::Apis::SqlV1beta4::InstancesTruncateLogRequest::Representation
|
|
1304
1167
|
command.request_object = instances_truncate_log_request_object
|
|
@@ -1306,21 +1169,18 @@ module Google
|
|
|
1306
1169
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
1307
1170
|
command.params['project'] = project unless project.nil?
|
|
1308
1171
|
command.params['instance'] = instance unless instance.nil?
|
|
1309
|
-
command.query['parent'] = parent unless parent.nil?
|
|
1310
1172
|
command.query['fields'] = fields unless fields.nil?
|
|
1311
1173
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1312
1174
|
execute_or_queue_command(command, &block)
|
|
1313
1175
|
end
|
|
1314
1176
|
|
|
1315
|
-
# Updates settings of a Cloud SQL instance.
|
|
1177
|
+
# Updates settings of a Cloud SQL instance. Using this operation might cause
|
|
1178
|
+
# your instance to restart.
|
|
1316
1179
|
# @param [String] project
|
|
1317
1180
|
# Project ID of the project that contains the instance.
|
|
1318
1181
|
# @param [String] instance
|
|
1319
1182
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
1320
1183
|
# @param [Google::Apis::SqlV1beta4::DatabaseInstance] database_instance_object
|
|
1321
|
-
# @param [String] resource_name
|
|
1322
|
-
# The name of the database instance for Cloud SQL to update.
|
|
1323
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
1324
1184
|
# @param [String] fields
|
|
1325
1185
|
# Selector specifying which fields to include in a partial response.
|
|
1326
1186
|
# @param [String] quota_user
|
|
@@ -1338,7 +1198,7 @@ module Google
|
|
|
1338
1198
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1339
1199
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1340
1200
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1341
|
-
def update_instance(project, instance, database_instance_object = nil,
|
|
1201
|
+
def update_instance(project, instance, database_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1342
1202
|
command = make_simple_command(:put, 'sql/v1beta4/projects/{project}/instances/{instance}', options)
|
|
1343
1203
|
command.request_representation = Google::Apis::SqlV1beta4::DatabaseInstance::Representation
|
|
1344
1204
|
command.request_object = database_instance_object
|
|
@@ -1346,7 +1206,6 @@ module Google
|
|
|
1346
1206
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
1347
1207
|
command.params['project'] = project unless project.nil?
|
|
1348
1208
|
command.params['instance'] = instance unless instance.nil?
|
|
1349
|
-
command.query['resourceName'] = resource_name unless resource_name.nil?
|
|
1350
1209
|
command.query['fields'] = fields unless fields.nil?
|
|
1351
1210
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1352
1211
|
execute_or_queue_command(command, &block)
|
|
@@ -1357,9 +1216,6 @@ module Google
|
|
|
1357
1216
|
# Project ID of the project that contains the instance.
|
|
1358
1217
|
# @param [String] operation
|
|
1359
1218
|
# Instance operation ID.
|
|
1360
|
-
# @param [String] resource_name
|
|
1361
|
-
# The name of the operation for Cloud SQL to get.
|
|
1362
|
-
# Format: projects/`project`/locations/`location`/operations/`operation`
|
|
1363
1219
|
# @param [String] fields
|
|
1364
1220
|
# Selector specifying which fields to include in a partial response.
|
|
1365
1221
|
# @param [String] quota_user
|
|
@@ -1377,13 +1233,12 @@ module Google
|
|
|
1377
1233
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1378
1234
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1379
1235
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1380
|
-
def get_operation(project, operation,
|
|
1236
|
+
def get_operation(project, operation, fields: nil, quota_user: nil, options: nil, &block)
|
|
1381
1237
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/operations/{operation}', options)
|
|
1382
1238
|
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
|
1383
1239
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
1384
1240
|
command.params['project'] = project unless project.nil?
|
|
1385
1241
|
command.params['operation'] = operation unless operation.nil?
|
|
1386
|
-
command.query['resourceName'] = resource_name unless resource_name.nil?
|
|
1387
1242
|
command.query['fields'] = fields unless fields.nil?
|
|
1388
1243
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1389
1244
|
execute_or_queue_command(command, &block)
|
|
@@ -1400,11 +1255,6 @@ module Google
|
|
|
1400
1255
|
# @param [String] page_token
|
|
1401
1256
|
# A previously-returned page token representing part of the larger set of
|
|
1402
1257
|
# results to view.
|
|
1403
|
-
# @param [String] parent
|
|
1404
|
-
# Indirect parent. The direct parent should combine with the instance name,
|
|
1405
|
-
# which owns this collection of operations.
|
|
1406
|
-
# Format:
|
|
1407
|
-
# projects/`project`/locations/`location`
|
|
1408
1258
|
# @param [String] fields
|
|
1409
1259
|
# Selector specifying which fields to include in a partial response.
|
|
1410
1260
|
# @param [String] quota_user
|
|
@@ -1422,7 +1272,7 @@ module Google
|
|
|
1422
1272
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1423
1273
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1424
1274
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1425
|
-
def list_operations(project, instance: nil, max_results: nil, page_token: nil,
|
|
1275
|
+
def list_operations(project, instance: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1426
1276
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/operations', options)
|
|
1427
1277
|
command.response_representation = Google::Apis::SqlV1beta4::OperationsListResponse::Representation
|
|
1428
1278
|
command.response_class = Google::Apis::SqlV1beta4::OperationsListResponse
|
|
@@ -1430,7 +1280,6 @@ module Google
|
|
|
1430
1280
|
command.query['instance'] = instance unless instance.nil?
|
|
1431
1281
|
command.query['maxResults'] = max_results unless max_results.nil?
|
|
1432
1282
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1433
|
-
command.query['parent'] = parent unless parent.nil?
|
|
1434
1283
|
command.query['fields'] = fields unless fields.nil?
|
|
1435
1284
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1436
1285
|
execute_or_queue_command(command, &block)
|
|
@@ -1442,10 +1291,6 @@ module Google
|
|
|
1442
1291
|
# @param [String] instance
|
|
1443
1292
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
1444
1293
|
# @param [Google::Apis::SqlV1beta4::SqlInstancesRescheduleMaintenanceRequestBody] sql_instances_reschedule_maintenance_request_body_object
|
|
1445
|
-
# @param [String] parent
|
|
1446
|
-
# The parent resource where Cloud SQL reshedule this database instance's
|
|
1447
|
-
# maintenance. Format:
|
|
1448
|
-
# projects/`project`/locations/`location`/instances/`instance`
|
|
1449
1294
|
# @param [String] fields
|
|
1450
1295
|
# Selector specifying which fields to include in a partial response.
|
|
1451
1296
|
# @param [String] quota_user
|
|
@@ -1463,7 +1308,7 @@ module Google
|
|
|
1463
1308
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1464
1309
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1465
1310
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1466
|
-
def reschedule_project_instance_maintenance(project, instance, sql_instances_reschedule_maintenance_request_body_object = nil,
|
|
1311
|
+
def reschedule_project_instance_maintenance(project, instance, sql_instances_reschedule_maintenance_request_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1467
1312
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/rescheduleMaintenance', options)
|
|
1468
1313
|
command.request_representation = Google::Apis::SqlV1beta4::SqlInstancesRescheduleMaintenanceRequestBody::Representation
|
|
1469
1314
|
command.request_object = sql_instances_reschedule_maintenance_request_body_object
|
|
@@ -1471,7 +1316,6 @@ module Google
|
|
|
1471
1316
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
1472
1317
|
command.params['project'] = project unless project.nil?
|
|
1473
1318
|
command.params['instance'] = instance unless instance.nil?
|
|
1474
|
-
command.query['parent'] = parent unless parent.nil?
|
|
1475
1319
|
command.query['fields'] = fields unless fields.nil?
|
|
1476
1320
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1477
1321
|
execute_or_queue_command(command, &block)
|
|
@@ -1482,10 +1326,6 @@ module Google
|
|
|
1482
1326
|
# ID of the project that contains the first generation instance.
|
|
1483
1327
|
# @param [String] instance
|
|
1484
1328
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
1485
|
-
# @param [String] parent
|
|
1486
|
-
# The parent resource where Cloud SQL starts this database instance
|
|
1487
|
-
# external sync. Format:
|
|
1488
|
-
# projects/`project`/locations/`location`/instances/`instance`
|
|
1489
1329
|
# @param [String] sync_mode
|
|
1490
1330
|
# External sync mode
|
|
1491
1331
|
# @param [String] fields
|
|
@@ -1505,13 +1345,12 @@ module Google
|
|
|
1505
1345
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1506
1346
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1507
1347
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1508
|
-
def start_project_instance_external_sync(project, instance,
|
|
1348
|
+
def start_project_instance_external_sync(project, instance, sync_mode: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1509
1349
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/startExternalSync', options)
|
|
1510
1350
|
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
|
1511
1351
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
1512
1352
|
command.params['project'] = project unless project.nil?
|
|
1513
1353
|
command.params['instance'] = instance unless instance.nil?
|
|
1514
|
-
command.query['parent'] = parent unless parent.nil?
|
|
1515
1354
|
command.query['syncMode'] = sync_mode unless sync_mode.nil?
|
|
1516
1355
|
command.query['fields'] = fields unless fields.nil?
|
|
1517
1356
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -1523,10 +1362,6 @@ module Google
|
|
|
1523
1362
|
# Project ID of the project that contains the instance.
|
|
1524
1363
|
# @param [String] instance
|
|
1525
1364
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
1526
|
-
# @param [String] parent
|
|
1527
|
-
# The parent resource where Cloud SQL verifies this database instance
|
|
1528
|
-
# external sync settings. Format:
|
|
1529
|
-
# projects/`project`/locations/`location`/instances/`instance`
|
|
1530
1365
|
# @param [String] sync_mode
|
|
1531
1366
|
# External sync mode
|
|
1532
1367
|
# @param [Boolean] verify_connection_only
|
|
@@ -1548,139 +1383,12 @@ module Google
|
|
|
1548
1383
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1549
1384
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1550
1385
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1551
|
-
def verify_project_instance_external_sync_settings(project, instance,
|
|
1386
|
+
def verify_project_instance_external_sync_settings(project, instance, sync_mode: nil, verify_connection_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1552
1387
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/verifyExternalSyncSettings', options)
|
|
1553
1388
|
command.response_representation = Google::Apis::SqlV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse::Representation
|
|
1554
1389
|
command.response_class = Google::Apis::SqlV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse
|
|
1555
1390
|
command.params['project'] = project unless project.nil?
|
|
1556
1391
|
command.params['instance'] = instance unless instance.nil?
|
|
1557
|
-
command.query['parent'] = parent unless parent.nil?
|
|
1558
|
-
command.query['syncMode'] = sync_mode unless sync_mode.nil?
|
|
1559
|
-
command.query['verifyConnectionOnly'] = verify_connection_only unless verify_connection_only.nil?
|
|
1560
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1561
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1562
|
-
execute_or_queue_command(command, &block)
|
|
1563
|
-
end
|
|
1564
|
-
|
|
1565
|
-
# Reschedules the maintenance on the given instance.
|
|
1566
|
-
# @param [String] parent
|
|
1567
|
-
# The parent resource where Cloud SQL reshedule this database instance's
|
|
1568
|
-
# maintenance. Format:
|
|
1569
|
-
# projects/`project`/locations/`location`/instances/`instance`
|
|
1570
|
-
# @param [Google::Apis::SqlV1beta4::SqlInstancesRescheduleMaintenanceRequestBody] sql_instances_reschedule_maintenance_request_body_object
|
|
1571
|
-
# @param [String] instance
|
|
1572
|
-
# Cloud SQL instance ID. This does not include the project ID.
|
|
1573
|
-
# @param [String] project
|
|
1574
|
-
# ID of the project that contains the instance.
|
|
1575
|
-
# @param [String] fields
|
|
1576
|
-
# Selector specifying which fields to include in a partial response.
|
|
1577
|
-
# @param [String] quota_user
|
|
1578
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1579
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1580
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1581
|
-
# Request-specific options
|
|
1582
|
-
#
|
|
1583
|
-
# @yield [result, err] Result & error if block supplied
|
|
1584
|
-
# @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
|
|
1585
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1586
|
-
#
|
|
1587
|
-
# @return [Google::Apis::SqlV1beta4::Operation]
|
|
1588
|
-
#
|
|
1589
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1590
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1591
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1592
|
-
def reschedule_project_location_instance_maintenance(parent, sql_instances_reschedule_maintenance_request_body_object = nil, instance: nil, project: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1593
|
-
command = make_simple_command(:post, 'sql/v1beta4/{+parent}/rescheduleMaintenance', options)
|
|
1594
|
-
command.request_representation = Google::Apis::SqlV1beta4::SqlInstancesRescheduleMaintenanceRequestBody::Representation
|
|
1595
|
-
command.request_object = sql_instances_reschedule_maintenance_request_body_object
|
|
1596
|
-
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
|
1597
|
-
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
1598
|
-
command.params['parent'] = parent unless parent.nil?
|
|
1599
|
-
command.query['instance'] = instance unless instance.nil?
|
|
1600
|
-
command.query['project'] = project unless project.nil?
|
|
1601
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1602
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1603
|
-
execute_or_queue_command(command, &block)
|
|
1604
|
-
end
|
|
1605
|
-
|
|
1606
|
-
# Start External master migration.
|
|
1607
|
-
# @param [String] parent
|
|
1608
|
-
# The parent resource where Cloud SQL starts this database instance
|
|
1609
|
-
# external sync. Format:
|
|
1610
|
-
# projects/`project`/locations/`location`/instances/`instance`
|
|
1611
|
-
# @param [String] instance
|
|
1612
|
-
# Cloud SQL instance ID. This does not include the project ID.
|
|
1613
|
-
# @param [String] project
|
|
1614
|
-
# ID of the project that contains the first generation instance.
|
|
1615
|
-
# @param [String] sync_mode
|
|
1616
|
-
# External sync mode
|
|
1617
|
-
# @param [String] fields
|
|
1618
|
-
# Selector specifying which fields to include in a partial response.
|
|
1619
|
-
# @param [String] quota_user
|
|
1620
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1621
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1622
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1623
|
-
# Request-specific options
|
|
1624
|
-
#
|
|
1625
|
-
# @yield [result, err] Result & error if block supplied
|
|
1626
|
-
# @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
|
|
1627
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1628
|
-
#
|
|
1629
|
-
# @return [Google::Apis::SqlV1beta4::Operation]
|
|
1630
|
-
#
|
|
1631
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1632
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1633
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1634
|
-
def start_project_location_instance_external_sync(parent, instance: nil, project: nil, sync_mode: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1635
|
-
command = make_simple_command(:post, 'sql/v1beta4/{+parent}/startExternalSync', options)
|
|
1636
|
-
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
|
1637
|
-
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
1638
|
-
command.params['parent'] = parent unless parent.nil?
|
|
1639
|
-
command.query['instance'] = instance unless instance.nil?
|
|
1640
|
-
command.query['project'] = project unless project.nil?
|
|
1641
|
-
command.query['syncMode'] = sync_mode unless sync_mode.nil?
|
|
1642
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1643
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1644
|
-
execute_or_queue_command(command, &block)
|
|
1645
|
-
end
|
|
1646
|
-
|
|
1647
|
-
# Verify External master external sync settings.
|
|
1648
|
-
# @param [String] parent
|
|
1649
|
-
# The parent resource where Cloud SQL verifies this database instance
|
|
1650
|
-
# external sync settings. Format:
|
|
1651
|
-
# projects/`project`/locations/`location`/instances/`instance`
|
|
1652
|
-
# @param [String] instance
|
|
1653
|
-
# Cloud SQL instance ID. This does not include the project ID.
|
|
1654
|
-
# @param [String] project
|
|
1655
|
-
# Project ID of the project that contains the instance.
|
|
1656
|
-
# @param [String] sync_mode
|
|
1657
|
-
# External sync mode
|
|
1658
|
-
# @param [Boolean] verify_connection_only
|
|
1659
|
-
# Flag to enable verifying connection only
|
|
1660
|
-
# @param [String] fields
|
|
1661
|
-
# Selector specifying which fields to include in a partial response.
|
|
1662
|
-
# @param [String] quota_user
|
|
1663
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1664
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1665
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1666
|
-
# Request-specific options
|
|
1667
|
-
#
|
|
1668
|
-
# @yield [result, err] Result & error if block supplied
|
|
1669
|
-
# @yieldparam result [Google::Apis::SqlV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse] parsed result object
|
|
1670
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1671
|
-
#
|
|
1672
|
-
# @return [Google::Apis::SqlV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse]
|
|
1673
|
-
#
|
|
1674
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1675
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1676
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1677
|
-
def verify_project_location_instance_external_sync_settings(parent, instance: nil, project: nil, sync_mode: nil, verify_connection_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1678
|
-
command = make_simple_command(:post, 'sql/v1beta4/{+parent}/verifyExternalSyncSettings', options)
|
|
1679
|
-
command.response_representation = Google::Apis::SqlV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse::Representation
|
|
1680
|
-
command.response_class = Google::Apis::SqlV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse
|
|
1681
|
-
command.params['parent'] = parent unless parent.nil?
|
|
1682
|
-
command.query['instance'] = instance unless instance.nil?
|
|
1683
|
-
command.query['project'] = project unless project.nil?
|
|
1684
1392
|
command.query['syncMode'] = sync_mode unless sync_mode.nil?
|
|
1685
1393
|
command.query['verifyConnectionOnly'] = verify_connection_only unless verify_connection_only.nil?
|
|
1686
1394
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -1697,9 +1405,6 @@ module Google
|
|
|
1697
1405
|
# @param [String] instance
|
|
1698
1406
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
1699
1407
|
# @param [Google::Apis::SqlV1beta4::SslCertsCreateEphemeralRequest] ssl_certs_create_ephemeral_request_object
|
|
1700
|
-
# @param [String] parent
|
|
1701
|
-
# The parent resource where Cloud SQL creates this ephemeral certificate.
|
|
1702
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
1703
1408
|
# @param [String] fields
|
|
1704
1409
|
# Selector specifying which fields to include in a partial response.
|
|
1705
1410
|
# @param [String] quota_user
|
|
@@ -1717,7 +1422,7 @@ module Google
|
|
|
1717
1422
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1718
1423
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1719
1424
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1720
|
-
def create_ssl_cert_ephemeral(project, instance, ssl_certs_create_ephemeral_request_object = nil,
|
|
1425
|
+
def create_ssl_cert_ephemeral(project, instance, ssl_certs_create_ephemeral_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1721
1426
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/createEphemeral', options)
|
|
1722
1427
|
command.request_representation = Google::Apis::SqlV1beta4::SslCertsCreateEphemeralRequest::Representation
|
|
1723
1428
|
command.request_object = ssl_certs_create_ephemeral_request_object
|
|
@@ -1725,7 +1430,6 @@ module Google
|
|
|
1725
1430
|
command.response_class = Google::Apis::SqlV1beta4::SslCert
|
|
1726
1431
|
command.params['project'] = project unless project.nil?
|
|
1727
1432
|
command.params['instance'] = instance unless instance.nil?
|
|
1728
|
-
command.query['parent'] = parent unless parent.nil?
|
|
1729
1433
|
command.query['fields'] = fields unless fields.nil?
|
|
1730
1434
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1731
1435
|
execute_or_queue_command(command, &block)
|
|
@@ -1739,10 +1443,6 @@ module Google
|
|
|
1739
1443
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
1740
1444
|
# @param [String] sha1_fingerprint
|
|
1741
1445
|
# Sha1 FingerPrint.
|
|
1742
|
-
# @param [String] resource_name
|
|
1743
|
-
# The name of SSL certificate to delete.
|
|
1744
|
-
# Format:
|
|
1745
|
-
# projects/`project`/locations/`location`/instances/`instance`/sslCerts/`sslCert`
|
|
1746
1446
|
# @param [String] fields
|
|
1747
1447
|
# Selector specifying which fields to include in a partial response.
|
|
1748
1448
|
# @param [String] quota_user
|
|
@@ -1760,14 +1460,13 @@ module Google
|
|
|
1760
1460
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1761
1461
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1762
1462
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1763
|
-
def delete_ssl_cert(project, instance, sha1_fingerprint,
|
|
1463
|
+
def delete_ssl_cert(project, instance, sha1_fingerprint, fields: nil, quota_user: nil, options: nil, &block)
|
|
1764
1464
|
command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', options)
|
|
1765
1465
|
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
|
1766
1466
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
1767
1467
|
command.params['project'] = project unless project.nil?
|
|
1768
1468
|
command.params['instance'] = instance unless instance.nil?
|
|
1769
1469
|
command.params['sha1Fingerprint'] = sha1_fingerprint unless sha1_fingerprint.nil?
|
|
1770
|
-
command.query['resourceName'] = resource_name unless resource_name.nil?
|
|
1771
1470
|
command.query['fields'] = fields unless fields.nil?
|
|
1772
1471
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1773
1472
|
execute_or_queue_command(command, &block)
|
|
@@ -1782,10 +1481,6 @@ module Google
|
|
|
1782
1481
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
1783
1482
|
# @param [String] sha1_fingerprint
|
|
1784
1483
|
# Sha1 FingerPrint.
|
|
1785
|
-
# @param [String] resource_name
|
|
1786
|
-
# Name of the resource ssl certificate.
|
|
1787
|
-
# Format:
|
|
1788
|
-
# projects/`project`/locations/`location`/instances/`instance`/sslCerts/`sslCert`
|
|
1789
1484
|
# @param [String] fields
|
|
1790
1485
|
# Selector specifying which fields to include in a partial response.
|
|
1791
1486
|
# @param [String] quota_user
|
|
@@ -1803,14 +1498,13 @@ module Google
|
|
|
1803
1498
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1804
1499
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1805
1500
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1806
|
-
def get_ssl_cert(project, instance, sha1_fingerprint,
|
|
1501
|
+
def get_ssl_cert(project, instance, sha1_fingerprint, fields: nil, quota_user: nil, options: nil, &block)
|
|
1807
1502
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', options)
|
|
1808
1503
|
command.response_representation = Google::Apis::SqlV1beta4::SslCert::Representation
|
|
1809
1504
|
command.response_class = Google::Apis::SqlV1beta4::SslCert
|
|
1810
1505
|
command.params['project'] = project unless project.nil?
|
|
1811
1506
|
command.params['instance'] = instance unless instance.nil?
|
|
1812
1507
|
command.params['sha1Fingerprint'] = sha1_fingerprint unless sha1_fingerprint.nil?
|
|
1813
|
-
command.query['resourceName'] = resource_name unless resource_name.nil?
|
|
1814
1508
|
command.query['fields'] = fields unless fields.nil?
|
|
1815
1509
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1816
1510
|
execute_or_queue_command(command, &block)
|
|
@@ -1824,9 +1518,6 @@ module Google
|
|
|
1824
1518
|
# @param [String] instance
|
|
1825
1519
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
1826
1520
|
# @param [Google::Apis::SqlV1beta4::SslCertsInsertRequest] ssl_certs_insert_request_object
|
|
1827
|
-
# @param [String] parent
|
|
1828
|
-
# The parent resource where Cloud SQL creates this SSL certificate.
|
|
1829
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
1830
1521
|
# @param [String] fields
|
|
1831
1522
|
# Selector specifying which fields to include in a partial response.
|
|
1832
1523
|
# @param [String] quota_user
|
|
@@ -1844,7 +1535,7 @@ module Google
|
|
|
1844
1535
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1845
1536
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1846
1537
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1847
|
-
def insert_ssl_cert(project, instance, ssl_certs_insert_request_object = nil,
|
|
1538
|
+
def insert_ssl_cert(project, instance, ssl_certs_insert_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1848
1539
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/sslCerts', options)
|
|
1849
1540
|
command.request_representation = Google::Apis::SqlV1beta4::SslCertsInsertRequest::Representation
|
|
1850
1541
|
command.request_object = ssl_certs_insert_request_object
|
|
@@ -1852,7 +1543,6 @@ module Google
|
|
|
1852
1543
|
command.response_class = Google::Apis::SqlV1beta4::SslCertsInsertResponse
|
|
1853
1544
|
command.params['project'] = project unless project.nil?
|
|
1854
1545
|
command.params['instance'] = instance unless instance.nil?
|
|
1855
|
-
command.query['parent'] = parent unless parent.nil?
|
|
1856
1546
|
command.query['fields'] = fields unless fields.nil?
|
|
1857
1547
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1858
1548
|
execute_or_queue_command(command, &block)
|
|
@@ -1863,9 +1553,6 @@ module Google
|
|
|
1863
1553
|
# Project ID of the project that contains the instance.
|
|
1864
1554
|
# @param [String] instance
|
|
1865
1555
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
1866
|
-
# @param [String] parent
|
|
1867
|
-
# The parent, which owns this collection of SSL certificates.
|
|
1868
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
1869
1556
|
# @param [String] fields
|
|
1870
1557
|
# Selector specifying which fields to include in a partial response.
|
|
1871
1558
|
# @param [String] quota_user
|
|
@@ -1883,13 +1570,12 @@ module Google
|
|
|
1883
1570
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1884
1571
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1885
1572
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1886
|
-
def list_ssl_certs(project, instance,
|
|
1573
|
+
def list_ssl_certs(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
|
1887
1574
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/sslCerts', options)
|
|
1888
1575
|
command.response_representation = Google::Apis::SqlV1beta4::SslCertsListResponse::Representation
|
|
1889
1576
|
command.response_class = Google::Apis::SqlV1beta4::SslCertsListResponse
|
|
1890
1577
|
command.params['project'] = project unless project.nil?
|
|
1891
1578
|
command.params['instance'] = instance unless instance.nil?
|
|
1892
|
-
command.query['parent'] = parent unless parent.nil?
|
|
1893
1579
|
command.query['fields'] = fields unless fields.nil?
|
|
1894
1580
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1895
1581
|
execute_or_queue_command(command, &block)
|
|
@@ -1936,9 +1622,6 @@ module Google
|
|
|
1936
1622
|
# Host of the user in the instance.
|
|
1937
1623
|
# @param [String] name
|
|
1938
1624
|
# Name of the user in the instance.
|
|
1939
|
-
# @param [String] resource_name
|
|
1940
|
-
# The name of the user to delete.
|
|
1941
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`/users
|
|
1942
1625
|
# @param [String] fields
|
|
1943
1626
|
# Selector specifying which fields to include in a partial response.
|
|
1944
1627
|
# @param [String] quota_user
|
|
@@ -1956,7 +1639,7 @@ module Google
|
|
|
1956
1639
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1957
1640
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1958
1641
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1959
|
-
def delete_user(project, instance, host: nil, name: nil,
|
|
1642
|
+
def delete_user(project, instance, host: nil, name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1960
1643
|
command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}/users', options)
|
|
1961
1644
|
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
|
1962
1645
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
@@ -1964,7 +1647,6 @@ module Google
|
|
|
1964
1647
|
command.params['instance'] = instance unless instance.nil?
|
|
1965
1648
|
command.query['host'] = host unless host.nil?
|
|
1966
1649
|
command.query['name'] = name unless name.nil?
|
|
1967
|
-
command.query['resourceName'] = resource_name unless resource_name.nil?
|
|
1968
1650
|
command.query['fields'] = fields unless fields.nil?
|
|
1969
1651
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1970
1652
|
execute_or_queue_command(command, &block)
|
|
@@ -1976,9 +1658,6 @@ module Google
|
|
|
1976
1658
|
# @param [String] instance
|
|
1977
1659
|
# Database instance ID. This does not include the project ID.
|
|
1978
1660
|
# @param [Google::Apis::SqlV1beta4::User] user_object
|
|
1979
|
-
# @param [String] parent
|
|
1980
|
-
# The parent resource where Cloud SQL creates this user.
|
|
1981
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
1982
1661
|
# @param [String] fields
|
|
1983
1662
|
# Selector specifying which fields to include in a partial response.
|
|
1984
1663
|
# @param [String] quota_user
|
|
@@ -1996,7 +1675,7 @@ module Google
|
|
|
1996
1675
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1997
1676
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1998
1677
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1999
|
-
def insert_user(project, instance, user_object = nil,
|
|
1678
|
+
def insert_user(project, instance, user_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2000
1679
|
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/users', options)
|
|
2001
1680
|
command.request_representation = Google::Apis::SqlV1beta4::User::Representation
|
|
2002
1681
|
command.request_object = user_object
|
|
@@ -2004,7 +1683,6 @@ module Google
|
|
|
2004
1683
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
|
2005
1684
|
command.params['project'] = project unless project.nil?
|
|
2006
1685
|
command.params['instance'] = instance unless instance.nil?
|
|
2007
|
-
command.query['parent'] = parent unless parent.nil?
|
|
2008
1686
|
command.query['fields'] = fields unless fields.nil?
|
|
2009
1687
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2010
1688
|
execute_or_queue_command(command, &block)
|
|
@@ -2015,9 +1693,6 @@ module Google
|
|
|
2015
1693
|
# Project ID of the project that contains the instance.
|
|
2016
1694
|
# @param [String] instance
|
|
2017
1695
|
# Database instance ID. This does not include the project ID.
|
|
2018
|
-
# @param [String] parent
|
|
2019
|
-
# The parent, which owns this collection of users.
|
|
2020
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`
|
|
2021
1696
|
# @param [String] fields
|
|
2022
1697
|
# Selector specifying which fields to include in a partial response.
|
|
2023
1698
|
# @param [String] quota_user
|
|
@@ -2035,13 +1710,12 @@ module Google
|
|
|
2035
1710
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2036
1711
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2037
1712
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2038
|
-
def list_users(project, instance,
|
|
1713
|
+
def list_users(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
|
2039
1714
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/users', options)
|
|
2040
1715
|
command.response_representation = Google::Apis::SqlV1beta4::UsersListResponse::Representation
|
|
2041
1716
|
command.response_class = Google::Apis::SqlV1beta4::UsersListResponse
|
|
2042
1717
|
command.params['project'] = project unless project.nil?
|
|
2043
1718
|
command.params['instance'] = instance unless instance.nil?
|
|
2044
|
-
command.query['parent'] = parent unless parent.nil?
|
|
2045
1719
|
command.query['fields'] = fields unless fields.nil?
|
|
2046
1720
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2047
1721
|
execute_or_queue_command(command, &block)
|
|
@@ -2057,9 +1731,6 @@ module Google
|
|
|
2057
1731
|
# Optional. Host of the user in the instance.
|
|
2058
1732
|
# @param [String] name
|
|
2059
1733
|
# Name of the user in the instance.
|
|
2060
|
-
# @param [String] resource_name
|
|
2061
|
-
# The name of the user for Cloud SQL to update.
|
|
2062
|
-
# Format: projects/`project`/locations/`location`/instances/`instance`/users
|
|
2063
1734
|
# @param [String] fields
|
|
2064
1735
|
# Selector specifying which fields to include in a partial response.
|
|
2065
1736
|
# @param [String] quota_user
|
|
@@ -2077,7 +1748,7 @@ module Google
|
|
|
2077
1748
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2078
1749
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2079
1750
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2080
|
-
def update_user(project, instance, user_object = nil, host: nil, name: nil,
|
|
1751
|
+
def update_user(project, instance, user_object = nil, host: nil, name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2081
1752
|
command = make_simple_command(:put, 'sql/v1beta4/projects/{project}/instances/{instance}/users', options)
|
|
2082
1753
|
command.request_representation = Google::Apis::SqlV1beta4::User::Representation
|
|
2083
1754
|
command.request_object = user_object
|
|
@@ -2087,7 +1758,6 @@ module Google
|
|
|
2087
1758
|
command.params['instance'] = instance unless instance.nil?
|
|
2088
1759
|
command.query['host'] = host unless host.nil?
|
|
2089
1760
|
command.query['name'] = name unless name.nil?
|
|
2090
|
-
command.query['resourceName'] = resource_name unless resource_name.nil?
|
|
2091
1761
|
command.query['fields'] = fields unless fields.nil?
|
|
2092
1762
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2093
1763
|
execute_or_queue_command(command, &block)
|