google-api-client 0.29.1 → 0.29.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +102 -0
- data/README.md +1 -1
- data/bin/generate-api +4 -2
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +27 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +15 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +18 -18
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/service.rb +19 -19
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -69
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +62 -62
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
- data/generated/google/apis/admin_directory_v1/service.rb +113 -113
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4/service.rb +39 -39
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
- data/generated/google/apis/alertcenter_v1beta1/service.rb +8 -8
- data/generated/google/apis/analytics_v2_4/service.rb +6 -6
- data/generated/google/apis/analytics_v3/service.rb +88 -88
- data/generated/google/apis/analyticsreporting_v4/service.rb +2 -2
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
- data/generated/google/apis/androidenterprise_v1/service.rb +85 -85
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +111 -2
- data/generated/google/apis/androidmanagement_v1/representations.rb +48 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +26 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
- data/generated/google/apis/androidpublisher_v2/service.rb +58 -58
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +81 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +42 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +228 -52
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1/service.rb +38 -38
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
- data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +2 -2
- data/generated/google/apis/appengine_v1beta/service.rb +38 -38
- data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
- data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appsmarket_v2/service.rb +3 -3
- data/generated/google/apis/appstate_v1/service.rb +5 -5
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +934 -0
- data/generated/google/apis/bigquery_v2/representations.rb +367 -0
- data/generated/google/apis/bigquery_v2/service.rb +184 -22
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -30
- data/generated/google/apis/bigtableadmin_v1/service.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/service.rb +34 -34
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
- data/generated/google/apis/blogger_v2/service.rb +9 -9
- data/generated/google/apis/blogger_v3/service.rb +33 -33
- data/generated/google/apis/books_v1/service.rb +51 -51
- data/generated/google/apis/calendar_v3/service.rb +37 -37
- data/generated/google/apis/chat_v1/service.rb +8 -8
- data/generated/google/apis/civicinfo_v2/service.rb +5 -5
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +57 -56
- data/generated/google/apis/cloudasset_v1/service.rb +3 -3
- data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudbilling_v1/service.rb +12 -12
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +5 -5
- data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -6
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +11 -11
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +11 -11
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +23 -330
- data/generated/google/apis/cloudkms_v1/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +30 -30
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +38 -38
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +12 -12
- data/generated/google/apis/cloudscheduler_v1/service.rb +10 -10
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +1 -1
- data/generated/google/apis/cloudshell_v1/service.rb +4 -4
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +6 -6
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +22 -18
- data/generated/google/apis/cloudtasks_v2/service.rb +24 -24
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +22 -14
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -28
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +266 -18
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +24 -24
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +2 -2
- data/generated/google/apis/composer_v1/service.rb +9 -9
- data/generated/google/apis/composer_v1beta1/service.rb +9 -9
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +29 -0
- data/generated/google/apis/compute_alpha/representations.rb +15 -0
- data/generated/google/apis/compute_alpha/service.rb +625 -623
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/service.rb +504 -503
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/service.rb +411 -410
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -1
- data/generated/google/apis/container_v1/service.rb +63 -63
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +52 -4
- data/generated/google/apis/container_v1beta1/representations.rb +20 -0
- data/generated/google/apis/container_v1beta1/service.rb +64 -64
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +9 -3
- data/generated/google/apis/content_v2/service.rb +101 -105
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +9 -3
- data/generated/google/apis/content_v2_1/service.rb +89 -93
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +22 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +38 -38
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/service.rb +16 -16
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +2 -2
- data/generated/google/apis/dataproc_v1/service.rb +261 -45
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -2
- data/generated/google/apis/dataproc_v1beta2/service.rb +62 -65
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +15 -15
- data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
- data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
- data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +5 -5
- data/generated/google/apis/dialogflow_v2/service.rb +36 -36
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
- data/generated/google/apis/dialogflow_v2beta1/service.rb +114 -70
- data/generated/google/apis/digitalassetlinks_v1/service.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -2
- data/generated/google/apis/dlp_v2/service.rb +51 -46
- data/generated/google/apis/dns_v1/service.rb +15 -15
- data/generated/google/apis/dns_v1beta2/service.rb +21 -21
- data/generated/google/apis/dns_v2beta1/service.rb +15 -15
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +137 -0
- data/generated/google/apis/docs_v1/representations.rb +57 -0
- data/generated/google/apis/docs_v1/service.rb +3 -3
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/service.rb +74 -74
- data/generated/google/apis/drive_v3/service.rb +46 -46
- data/generated/google/apis/driveactivity_v2/service.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +6 -6
- data/generated/google/apis/fcm_v1.rb +35 -0
- data/generated/google/apis/fcm_v1/classes.rb +424 -0
- data/generated/google/apis/fcm_v1/representations.rb +167 -0
- data/generated/google/apis/fcm_v1/service.rb +97 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +52 -1
- data/generated/google/apis/file_v1/representations.rb +16 -0
- data/generated/google/apis/file_v1/service.rb +11 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +52 -1
- data/generated/google/apis/file_v1beta1/representations.rb +16 -0
- data/generated/google/apis/file_v1beta1/service.rb +11 -11
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
- data/generated/google/apis/firebaserules_v1/service.rb +11 -11
- data/generated/google/apis/firestore_v1/service.rb +28 -28
- data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
- data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
- data/generated/google/apis/fitness_v1/service.rb +13 -13
- data/generated/google/apis/fusiontables_v1/service.rb +32 -32
- data/generated/google/apis/fusiontables_v2/service.rb +34 -34
- data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
- data/generated/google/apis/games_management_v1management/service.rb +27 -27
- data/generated/google/apis/games_v1/service.rb +53 -53
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/service.rb +3 -3
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +2 -2
- data/generated/google/apis/genomics_v1alpha2/service.rb +10 -10
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +7 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +5 -5
- data/generated/google/apis/gmail_v1/service.rb +68 -68
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
- data/generated/google/apis/groupssettings_v1/service.rb +3 -3
- data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -2
- data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
- data/generated/google/apis/iam_v1/service.rb +36 -36
- data/generated/google/apis/iamcredentials_v1/service.rb +5 -5
- data/generated/google/apis/iap_v1/service.rb +3 -3
- data/generated/google/apis/iap_v1beta1/service.rb +3 -3
- data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
- data/generated/google/apis/indexing_v3/service.rb +2 -2
- data/generated/google/apis/jobs_v2/service.rb +17 -17
- data/generated/google/apis/jobs_v3/service.rb +15 -15
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
- data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
- data/generated/google/apis/kgsearch_v1/service.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/service.rb +6 -6
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/service.rb +6 -6
- data/generated/google/apis/libraryagent_v1/service.rb +6 -6
- data/generated/google/apis/licensing_v1/service.rb +7 -7
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -0
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +72 -72
- data/generated/google/apis/manufacturers_v1/service.rb +4 -4
- data/generated/google/apis/mirror_v1/service.rb +24 -24
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +73 -55
- data/generated/google/apis/ml_v1/service.rb +31 -31
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +14 -1
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +36 -36
- data/generated/google/apis/oauth2_v1/service.rb +3 -3
- data/generated/google/apis/oauth2_v2/service.rb +4 -4
- data/generated/google/apis/oslogin_v1/service.rb +6 -6
- data/generated/google/apis/oslogin_v1alpha/service.rb +6 -6
- data/generated/google/apis/oslogin_v1beta/service.rb +6 -6
- data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +13 -13
- data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +10 -10
- data/generated/google/apis/plus_v1/service.rb +9 -9
- data/generated/google/apis/poly_v1/service.rb +4 -4
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +32 -32
- data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
- data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +19 -19
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +15 -15
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
- data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
- data/generated/google/apis/reseller_v1/service.rb +17 -17
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +427 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +162 -0
- data/generated/google/apis/run_v1alpha1/service.rb +446 -38
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
- data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +167 -0
- data/generated/google/apis/script_v1/representations.rb +79 -0
- data/generated/google/apis/script_v1/service.rb +16 -16
- data/generated/google/apis/searchconsole_v1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +1 -1
- data/generated/google/apis/securitycenter_v1/service.rb +23 -23
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/service.rb +23 -23
- data/generated/google/apis/servicebroker_v1/service.rb +3 -3
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
- data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -60
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +2 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +40 -60
- data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +24 -24
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +8 -60
- data/generated/google/apis/servicenetworking_v1/representations.rb +1 -29
- data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +8 -60
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -29
- data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +8 -60
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -29
- data/generated/google/apis/serviceusage_v1/service.rb +17 -19
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +8 -60
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -29
- data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/service.rb +17 -17
- data/generated/google/apis/site_verification_v1/service.rb +7 -7
- data/generated/google/apis/slides_v1/service.rb +5 -5
- data/generated/google/apis/sourcerepo_v1/service.rb +11 -11
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -3
- data/generated/google/apis/spanner_v1/service.rb +41 -41
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -2
- data/generated/google/apis/speech_v1/service.rb +7 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
- data/generated/google/apis/speech_v1p1beta1/service.rb +7 -7
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
- data/generated/google/apis/storage_v1/service.rb +52 -52
- data/generated/google/apis/storage_v1beta1/service.rb +24 -24
- data/generated/google/apis/storage_v1beta2/service.rb +34 -34
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -20
- data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +9 -9
- data/generated/google/apis/surveys_v2/service.rb +8 -8
- data/generated/google/apis/tagmanager_v1/service.rb +49 -49
- data/generated/google/apis/tagmanager_v2/service.rb +74 -74
- data/generated/google/apis/tasks_v1/service.rb +14 -14
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +25 -12
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- data/generated/google/apis/testing_v1/service.rb +5 -5
- data/generated/google/apis/texttospeech_v1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
- data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1/service.rb +17 -17
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
- data/generated/google/apis/translate_v2/service.rb +5 -5
- data/generated/google/apis/urlshortener_v1/service.rb +3 -3
- data/generated/google/apis/vault_v1/service.rb +28 -28
- data/generated/google/apis/videointelligence_v1/service.rb +5 -5
- data/generated/google/apis/videointelligence_v1beta2/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2372 -73
- data/generated/google/apis/vision_v1/representations.rb +1643 -651
- data/generated/google/apis/vision_v1/service.rb +98 -35
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +2371 -52
- data/generated/google/apis/vision_v1p1beta1/representations.rb +1733 -727
- data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2371 -52
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1733 -727
- data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
- data/generated/google/apis/webfonts_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3/service.rb +9 -9
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
- data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +71 -71
- data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/core/json_representation.rb +4 -0
- data/lib/google/apis/core/upload.rb +3 -3
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +13 -6
- data/samples/web/.env +0 -2
@@ -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 = '20190510'
|
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'
|
@@ -201,7 +201,7 @@ module Google
|
|
201
201
|
|
202
202
|
# The server-assigned name, which is only unique within the same service that
|
203
203
|
# originally returns it. If you use the default HTTP mapping, the
|
204
|
-
# `name` should
|
204
|
+
# `name` should be a resource name ending with `operations/`unique_id``.
|
205
205
|
# Corresponds to the JSON property `name`
|
206
206
|
# @return [String]
|
207
207
|
attr_accessor :name
|
@@ -240,7 +240,7 @@ module Google
|
|
240
240
|
include Google::Apis::Core::Hashable
|
241
241
|
|
242
242
|
# The audio data bytes encoded as specified in
|
243
|
-
# `RecognitionConfig`. Note: as with all bytes fields,
|
243
|
+
# `RecognitionConfig`. Note: as with all bytes fields, proto buffers use a
|
244
244
|
# pure binary representation, whereas JSON representations use base64.
|
245
245
|
# Corresponds to the JSON property `content`
|
246
246
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
@@ -70,7 +70,7 @@ module Google
|
|
70
70
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
71
71
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
72
72
|
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
73
|
-
command =
|
73
|
+
command = make_simple_command(:get, 'v1/operations/{+name}', options)
|
74
74
|
command.response_representation = Google::Apis::SpeechV1::Operation::Representation
|
75
75
|
command.response_class = Google::Apis::SpeechV1::Operation
|
76
76
|
command.params['name'] = name unless name.nil?
|
@@ -114,7 +114,7 @@ module Google
|
|
114
114
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
115
115
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
116
116
|
def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
117
|
-
command =
|
117
|
+
command = make_simple_command(:get, 'v1/operations', options)
|
118
118
|
command.response_representation = Google::Apis::SpeechV1::ListOperationsResponse::Representation
|
119
119
|
command.response_class = Google::Apis::SpeechV1::ListOperationsResponse
|
120
120
|
command.query['filter'] = filter unless filter.nil?
|
@@ -149,7 +149,7 @@ module Google
|
|
149
149
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
150
150
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
151
151
|
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
152
|
-
command =
|
152
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
153
153
|
command.response_representation = Google::Apis::SpeechV1::Operation::Representation
|
154
154
|
command.response_class = Google::Apis::SpeechV1::Operation
|
155
155
|
command.params['name'] = name unless name.nil?
|
@@ -193,7 +193,7 @@ module Google
|
|
193
193
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
194
194
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
195
195
|
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
196
|
-
command =
|
196
|
+
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
197
197
|
command.response_representation = Google::Apis::SpeechV1::ListOperationsResponse::Representation
|
198
198
|
command.response_class = Google::Apis::SpeechV1::ListOperationsResponse
|
199
199
|
command.params['name'] = name unless name.nil?
|
@@ -228,7 +228,7 @@ module Google
|
|
228
228
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
229
229
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
230
230
|
def get_project_operation_manual_recognition_task(name, fields: nil, quota_user: nil, options: nil, &block)
|
231
|
-
command =
|
231
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
232
232
|
command.response_representation = Google::Apis::SpeechV1::Operation::Representation
|
233
233
|
command.response_class = Google::Apis::SpeechV1::Operation
|
234
234
|
command.params['name'] = name unless name.nil?
|
@@ -262,7 +262,7 @@ module Google
|
|
262
262
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
263
263
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
264
264
|
def longrunningrecognize_speech(long_running_recognize_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
265
|
-
command =
|
265
|
+
command = make_simple_command(:post, 'v1/speech:longrunningrecognize', options)
|
266
266
|
command.request_representation = Google::Apis::SpeechV1::LongRunningRecognizeRequest::Representation
|
267
267
|
command.request_object = long_running_recognize_request_object
|
268
268
|
command.response_representation = Google::Apis::SpeechV1::Operation::Representation
|
@@ -293,7 +293,7 @@ module Google
|
|
293
293
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
294
294
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
295
295
|
def recognize_speech(recognize_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
296
|
-
command =
|
296
|
+
command = make_simple_command(:post, 'v1/speech:recognize', options)
|
297
297
|
command.request_representation = Google::Apis::SpeechV1::RecognizeRequest::Representation
|
298
298
|
command.request_object = recognize_request_object
|
299
299
|
command.response_representation = Google::Apis::SpeechV1::RecognizeResponse::Representation
|
@@ -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 = '20190510'
|
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'
|
@@ -201,7 +201,7 @@ module Google
|
|
201
201
|
|
202
202
|
# The server-assigned name, which is only unique within the same service that
|
203
203
|
# originally returns it. If you use the default HTTP mapping, the
|
204
|
-
# `name` should
|
204
|
+
# `name` should be a resource name ending with `operations/`unique_id``.
|
205
205
|
# Corresponds to the JSON property `name`
|
206
206
|
# @return [String]
|
207
207
|
attr_accessor :name
|
@@ -240,7 +240,7 @@ module Google
|
|
240
240
|
include Google::Apis::Core::Hashable
|
241
241
|
|
242
242
|
# The audio data bytes encoded as specified in
|
243
|
-
# `RecognitionConfig`. Note: as with all bytes fields,
|
243
|
+
# `RecognitionConfig`. Note: as with all bytes fields, proto buffers use a
|
244
244
|
# pure binary representation, whereas JSON representations use base64.
|
245
245
|
# Corresponds to the JSON property `content`
|
246
246
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
@@ -70,7 +70,7 @@ module Google
|
|
70
70
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
71
71
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
72
72
|
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
73
|
-
command =
|
73
|
+
command = make_simple_command(:get, 'v1p1beta1/operations/{+name}', options)
|
74
74
|
command.response_representation = Google::Apis::SpeechV1p1beta1::Operation::Representation
|
75
75
|
command.response_class = Google::Apis::SpeechV1p1beta1::Operation
|
76
76
|
command.params['name'] = name unless name.nil?
|
@@ -114,7 +114,7 @@ module Google
|
|
114
114
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
115
115
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
116
116
|
def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
117
|
-
command =
|
117
|
+
command = make_simple_command(:get, 'v1p1beta1/operations', options)
|
118
118
|
command.response_representation = Google::Apis::SpeechV1p1beta1::ListOperationsResponse::Representation
|
119
119
|
command.response_class = Google::Apis::SpeechV1p1beta1::ListOperationsResponse
|
120
120
|
command.query['filter'] = filter unless filter.nil?
|
@@ -149,7 +149,7 @@ module Google
|
|
149
149
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
150
150
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
151
151
|
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
152
|
-
command =
|
152
|
+
command = make_simple_command(:get, 'v1p1beta1/{+name}', options)
|
153
153
|
command.response_representation = Google::Apis::SpeechV1p1beta1::Operation::Representation
|
154
154
|
command.response_class = Google::Apis::SpeechV1p1beta1::Operation
|
155
155
|
command.params['name'] = name unless name.nil?
|
@@ -193,7 +193,7 @@ module Google
|
|
193
193
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
194
194
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
195
195
|
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
196
|
-
command =
|
196
|
+
command = make_simple_command(:get, 'v1p1beta1/{+name}/operations', options)
|
197
197
|
command.response_representation = Google::Apis::SpeechV1p1beta1::ListOperationsResponse::Representation
|
198
198
|
command.response_class = Google::Apis::SpeechV1p1beta1::ListOperationsResponse
|
199
199
|
command.params['name'] = name unless name.nil?
|
@@ -228,7 +228,7 @@ module Google
|
|
228
228
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
229
229
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
230
230
|
def get_project_operation_manual_recognition_task(name, fields: nil, quota_user: nil, options: nil, &block)
|
231
|
-
command =
|
231
|
+
command = make_simple_command(:get, 'v1p1beta1/{+name}', options)
|
232
232
|
command.response_representation = Google::Apis::SpeechV1p1beta1::Operation::Representation
|
233
233
|
command.response_class = Google::Apis::SpeechV1p1beta1::Operation
|
234
234
|
command.params['name'] = name unless name.nil?
|
@@ -262,7 +262,7 @@ module Google
|
|
262
262
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
263
263
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
264
264
|
def longrunningrecognize_speech(long_running_recognize_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
265
|
-
command =
|
265
|
+
command = make_simple_command(:post, 'v1p1beta1/speech:longrunningrecognize', options)
|
266
266
|
command.request_representation = Google::Apis::SpeechV1p1beta1::LongRunningRecognizeRequest::Representation
|
267
267
|
command.request_object = long_running_recognize_request_object
|
268
268
|
command.response_representation = Google::Apis::SpeechV1p1beta1::Operation::Representation
|
@@ -293,7 +293,7 @@ module Google
|
|
293
293
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
294
294
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
295
295
|
def recognize_speech(recognize_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
296
|
-
command =
|
296
|
+
command = make_simple_command(:post, 'v1p1beta1/speech:recognize', options)
|
297
297
|
command.request_representation = Google::Apis::SpeechV1p1beta1::RecognizeRequest::Representation
|
298
298
|
command.request_object = recognize_request_object
|
299
299
|
command.response_representation = Google::Apis::SpeechV1p1beta1::RecognizeResponse::Representation
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/sql/docs/reference/latest
|
27
27
|
module SqladminV1beta4
|
28
28
|
VERSION = 'V1beta4'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190510'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -107,6 +107,11 @@ module Google
|
|
107
107
|
# @return [String]
|
108
108
|
attr_accessor :kind
|
109
109
|
|
110
|
+
# The location of the backup.
|
111
|
+
# Corresponds to the JSON property `location`
|
112
|
+
# @return [String]
|
113
|
+
attr_accessor :location
|
114
|
+
|
110
115
|
# Reserved for future use.
|
111
116
|
# Corresponds to the JSON property `replicationLogArchivingEnabled`
|
112
117
|
# @return [Boolean]
|
@@ -128,6 +133,7 @@ module Google
|
|
128
133
|
@binary_log_enabled = args[:binary_log_enabled] if args.key?(:binary_log_enabled)
|
129
134
|
@enabled = args[:enabled] if args.key?(:enabled)
|
130
135
|
@kind = args[:kind] if args.key?(:kind)
|
136
|
+
@location = args[:location] if args.key?(:location)
|
131
137
|
@replication_log_archiving_enabled = args[:replication_log_archiving_enabled] if args.key?(:replication_log_archiving_enabled)
|
132
138
|
@start_time = args[:start_time] if args.key?(:start_time)
|
133
139
|
end
|
@@ -175,6 +181,11 @@ module Google
|
|
175
181
|
# @return [String]
|
176
182
|
attr_accessor :kind
|
177
183
|
|
184
|
+
# The location of the backup.
|
185
|
+
# Corresponds to the JSON property `location`
|
186
|
+
# @return [String]
|
187
|
+
attr_accessor :location
|
188
|
+
|
178
189
|
# The URI of this resource.
|
179
190
|
# Corresponds to the JSON property `selfLink`
|
180
191
|
# @return [String]
|
@@ -215,6 +226,7 @@ module Google
|
|
215
226
|
@id = args[:id] if args.key?(:id)
|
216
227
|
@instance = args[:instance] if args.key?(:instance)
|
217
228
|
@kind = args[:kind] if args.key?(:kind)
|
229
|
+
@location = args[:location] if args.key?(:location)
|
218
230
|
@self_link = args[:self_link] if args.key?(:self_link)
|
219
231
|
@start_time = args[:start_time] if args.key?(:start_time)
|
220
232
|
@status = args[:status] if args.key?(:status)
|
@@ -413,6 +413,7 @@ module Google
|
|
413
413
|
property :binary_log_enabled, as: 'binaryLogEnabled'
|
414
414
|
property :enabled, as: 'enabled'
|
415
415
|
property :kind, as: 'kind'
|
416
|
+
property :location, as: 'location'
|
416
417
|
property :replication_log_archiving_enabled, as: 'replicationLogArchivingEnabled'
|
417
418
|
property :start_time, as: 'startTime'
|
418
419
|
end
|
@@ -431,6 +432,7 @@ module Google
|
|
431
432
|
property :id, :numeric_string => true, as: 'id'
|
432
433
|
property :instance, as: 'instance'
|
433
434
|
property :kind, as: 'kind'
|
435
|
+
property :location, as: 'location'
|
434
436
|
property :self_link, as: 'selfLink'
|
435
437
|
property :start_time, as: 'startTime', type: DateTime
|
436
438
|
|
@@ -80,7 +80,7 @@ module Google
|
|
80
80
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
81
81
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
82
82
|
def delete_backup_run(project, instance, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
83
|
-
command =
|
83
|
+
command = make_simple_command(:delete, 'projects/{project}/instances/{instance}/backupRuns/{id}', options)
|
84
84
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
85
85
|
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
86
86
|
command.params['project'] = project unless project.nil?
|
@@ -119,7 +119,7 @@ module Google
|
|
119
119
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
120
120
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
121
121
|
def get_backup_run(project, instance, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
122
|
-
command =
|
122
|
+
command = make_simple_command(:get, 'projects/{project}/instances/{instance}/backupRuns/{id}', options)
|
123
123
|
command.response_representation = Google::Apis::SqladminV1beta4::BackupRun::Representation
|
124
124
|
command.response_class = Google::Apis::SqladminV1beta4::BackupRun
|
125
125
|
command.params['project'] = project unless project.nil?
|
@@ -158,7 +158,7 @@ module Google
|
|
158
158
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
159
159
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
160
160
|
def insert_backup_run(project, instance, backup_run_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
161
|
-
command =
|
161
|
+
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/backupRuns', options)
|
162
162
|
command.request_representation = Google::Apis::SqladminV1beta4::BackupRun::Representation
|
163
163
|
command.request_object = backup_run_object
|
164
164
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
@@ -202,7 +202,7 @@ module Google
|
|
202
202
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
203
203
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
204
204
|
def list_backup_runs(project, instance, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
205
|
-
command =
|
205
|
+
command = make_simple_command(:get, 'projects/{project}/instances/{instance}/backupRuns', options)
|
206
206
|
command.response_representation = Google::Apis::SqladminV1beta4::ListBackupRunsResponse::Representation
|
207
207
|
command.response_class = Google::Apis::SqladminV1beta4::ListBackupRunsResponse
|
208
208
|
command.params['project'] = project unless project.nil?
|
@@ -242,7 +242,7 @@ module Google
|
|
242
242
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
243
243
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
244
244
|
def delete_database(project, instance, database, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
245
|
-
command =
|
245
|
+
command = make_simple_command(:delete, 'projects/{project}/instances/{instance}/databases/{database}', options)
|
246
246
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
247
247
|
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
248
248
|
command.params['project'] = project unless project.nil?
|
@@ -282,7 +282,7 @@ module Google
|
|
282
282
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
283
283
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
284
284
|
def get_database(project, instance, database, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
285
|
-
command =
|
285
|
+
command = make_simple_command(:get, 'projects/{project}/instances/{instance}/databases/{database}', options)
|
286
286
|
command.response_representation = Google::Apis::SqladminV1beta4::Database::Representation
|
287
287
|
command.response_class = Google::Apis::SqladminV1beta4::Database
|
288
288
|
command.params['project'] = project unless project.nil?
|
@@ -321,7 +321,7 @@ module Google
|
|
321
321
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
322
322
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
323
323
|
def insert_database(project, instance, database_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
324
|
-
command =
|
324
|
+
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/databases', options)
|
325
325
|
command.request_representation = Google::Apis::SqladminV1beta4::Database::Representation
|
326
326
|
command.request_object = database_object
|
327
327
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
@@ -359,7 +359,7 @@ module Google
|
|
359
359
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
360
360
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
361
361
|
def list_databases(project, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
362
|
-
command =
|
362
|
+
command = make_simple_command(:get, 'projects/{project}/instances/{instance}/databases', options)
|
363
363
|
command.response_representation = Google::Apis::SqladminV1beta4::ListDatabasesResponse::Representation
|
364
364
|
command.response_class = Google::Apis::SqladminV1beta4::ListDatabasesResponse
|
365
365
|
command.params['project'] = project unless project.nil?
|
@@ -399,7 +399,7 @@ module Google
|
|
399
399
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
400
400
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
401
401
|
def patch_database(project, instance, database, database_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
402
|
-
command =
|
402
|
+
command = make_simple_command(:patch, 'projects/{project}/instances/{instance}/databases/{database}', options)
|
403
403
|
command.request_representation = Google::Apis::SqladminV1beta4::Database::Representation
|
404
404
|
command.request_object = database_object
|
405
405
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
@@ -442,7 +442,7 @@ module Google
|
|
442
442
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
443
443
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
444
444
|
def update_database(project, instance, database, database_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
445
|
-
command =
|
445
|
+
command = make_simple_command(:put, 'projects/{project}/instances/{instance}/databases/{database}', options)
|
446
446
|
command.request_representation = Google::Apis::SqladminV1beta4::Database::Representation
|
447
447
|
command.request_object = database_object
|
448
448
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
@@ -480,7 +480,7 @@ module Google
|
|
480
480
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
481
481
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
482
482
|
def list_flags(database_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
483
|
-
command =
|
483
|
+
command = make_simple_command(:get, 'flags', options)
|
484
484
|
command.response_representation = Google::Apis::SqladminV1beta4::ListFlagsResponse::Representation
|
485
485
|
command.response_class = Google::Apis::SqladminV1beta4::ListFlagsResponse
|
486
486
|
command.query['databaseVersion'] = database_version unless database_version.nil?
|
@@ -519,7 +519,7 @@ module Google
|
|
519
519
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
520
520
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
521
521
|
def add_instance_server_ca(project, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
522
|
-
command =
|
522
|
+
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/addServerCa', options)
|
523
523
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
524
524
|
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
525
525
|
command.params['project'] = project unless project.nil?
|
@@ -557,7 +557,7 @@ module Google
|
|
557
557
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
558
558
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
559
559
|
def clone_instance(project, instance, clone_instances_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
560
|
-
command =
|
560
|
+
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/clone', options)
|
561
561
|
command.request_representation = Google::Apis::SqladminV1beta4::CloneInstancesRequest::Representation
|
562
562
|
command.request_object = clone_instances_request_object
|
563
563
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
@@ -595,7 +595,7 @@ module Google
|
|
595
595
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
596
596
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
597
597
|
def delete_instance(project, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
598
|
-
command =
|
598
|
+
command = make_simple_command(:delete, 'projects/{project}/instances/{instance}', options)
|
599
599
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
600
600
|
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
601
601
|
command.params['project'] = project unless project.nil?
|
@@ -633,7 +633,7 @@ module Google
|
|
633
633
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
634
634
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
635
635
|
def demote_instance_master(project, instance, instances_demote_master_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
636
|
-
command =
|
636
|
+
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/demoteMaster', options)
|
637
637
|
command.request_representation = Google::Apis::SqladminV1beta4::InstancesDemoteMasterRequest::Representation
|
638
638
|
command.request_object = instances_demote_master_request_object
|
639
639
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
@@ -673,7 +673,7 @@ module Google
|
|
673
673
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
674
674
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
675
675
|
def export_instance(project, instance, export_instances_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
676
|
-
command =
|
676
|
+
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/export', options)
|
677
677
|
command.request_representation = Google::Apis::SqladminV1beta4::ExportInstancesRequest::Representation
|
678
678
|
command.request_object = export_instances_request_object
|
679
679
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
@@ -712,7 +712,7 @@ module Google
|
|
712
712
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
713
713
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
714
714
|
def failover_instance(project, instance, instances_failover_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
715
|
-
command =
|
715
|
+
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/failover', options)
|
716
716
|
command.request_representation = Google::Apis::SqladminV1beta4::InstancesFailoverRequest::Representation
|
717
717
|
command.request_object = instances_failover_request_object
|
718
718
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
@@ -750,7 +750,7 @@ module Google
|
|
750
750
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
751
751
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
752
752
|
def get_instance(project, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
753
|
-
command =
|
753
|
+
command = make_simple_command(:get, 'projects/{project}/instances/{instance}', options)
|
754
754
|
command.response_representation = Google::Apis::SqladminV1beta4::DatabaseInstance::Representation
|
755
755
|
command.response_class = Google::Apis::SqladminV1beta4::DatabaseInstance
|
756
756
|
command.params['project'] = project unless project.nil?
|
@@ -788,7 +788,7 @@ module Google
|
|
788
788
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
789
789
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
790
790
|
def import_instance(project, instance, import_instances_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
791
|
-
command =
|
791
|
+
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/import', options)
|
792
792
|
command.request_representation = Google::Apis::SqladminV1beta4::ImportInstancesRequest::Representation
|
793
793
|
command.request_object = import_instances_request_object
|
794
794
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
@@ -826,7 +826,7 @@ module Google
|
|
826
826
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
827
827
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
828
828
|
def insert_instance(project, database_instance_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
829
|
-
command =
|
829
|
+
command = make_simple_command(:post, 'projects/{project}/instances', options)
|
830
830
|
command.request_representation = Google::Apis::SqladminV1beta4::DatabaseInstance::Representation
|
831
831
|
command.request_object = database_instance_object
|
832
832
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
@@ -870,7 +870,7 @@ module Google
|
|
870
870
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
871
871
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
872
872
|
def list_instances(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
873
|
-
command =
|
873
|
+
command = make_simple_command(:get, 'projects/{project}/instances', options)
|
874
874
|
command.response_representation = Google::Apis::SqladminV1beta4::ListInstancesResponse::Representation
|
875
875
|
command.response_class = Google::Apis::SqladminV1beta4::ListInstancesResponse
|
876
876
|
command.params['project'] = project unless project.nil?
|
@@ -912,7 +912,7 @@ module Google
|
|
912
912
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
913
913
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
914
914
|
def list_instance_server_cas(project, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
915
|
-
command =
|
915
|
+
command = make_simple_command(:get, 'projects/{project}/instances/{instance}/listServerCas', options)
|
916
916
|
command.response_representation = Google::Apis::SqladminV1beta4::InstancesListServerCasResponse::Representation
|
917
917
|
command.response_class = Google::Apis::SqladminV1beta4::InstancesListServerCasResponse
|
918
918
|
command.params['project'] = project unless project.nil?
|
@@ -951,7 +951,7 @@ module Google
|
|
951
951
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
952
952
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
953
953
|
def patch_instance(project, instance, database_instance_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
954
|
-
command =
|
954
|
+
command = make_simple_command(:patch, 'projects/{project}/instances/{instance}', options)
|
955
955
|
command.request_representation = Google::Apis::SqladminV1beta4::DatabaseInstance::Representation
|
956
956
|
command.request_object = database_instance_object
|
957
957
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
@@ -989,7 +989,7 @@ module Google
|
|
989
989
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
990
990
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
991
991
|
def promote_instance_replica(project, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
992
|
-
command =
|
992
|
+
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/promoteReplica', options)
|
993
993
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
994
994
|
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
995
995
|
command.params['project'] = project unless project.nil?
|
@@ -1026,7 +1026,7 @@ module Google
|
|
1026
1026
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1027
1027
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1028
1028
|
def reset_instance_ssl_config(project, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1029
|
-
command =
|
1029
|
+
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/resetSslConfig', options)
|
1030
1030
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1031
1031
|
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1032
1032
|
command.params['project'] = project unless project.nil?
|
@@ -1062,7 +1062,7 @@ module Google
|
|
1062
1062
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1063
1063
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1064
1064
|
def restart_instance(project, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1065
|
-
command =
|
1065
|
+
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/restart', options)
|
1066
1066
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1067
1067
|
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1068
1068
|
command.params['project'] = project unless project.nil?
|
@@ -1099,7 +1099,7 @@ module Google
|
|
1099
1099
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1100
1100
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1101
1101
|
def restore_instance_backup(project, instance, restore_instances_backup_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1102
|
-
command =
|
1102
|
+
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/restoreBackup', options)
|
1103
1103
|
command.request_representation = Google::Apis::SqladminV1beta4::RestoreInstancesBackupRequest::Representation
|
1104
1104
|
command.request_object = restore_instances_backup_request_object
|
1105
1105
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
@@ -1139,7 +1139,7 @@ module Google
|
|
1139
1139
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1140
1140
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1141
1141
|
def rotate_instance_server_ca(project, instance, instances_rotate_server_ca_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1142
|
-
command =
|
1142
|
+
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/rotateServerCa', options)
|
1143
1143
|
command.request_representation = Google::Apis::SqladminV1beta4::InstancesRotateServerCaRequest::Representation
|
1144
1144
|
command.request_object = instances_rotate_server_ca_request_object
|
1145
1145
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
@@ -1177,7 +1177,7 @@ module Google
|
|
1177
1177
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1178
1178
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1179
1179
|
def start_instance_replica(project, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1180
|
-
command =
|
1180
|
+
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/startReplica', options)
|
1181
1181
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1182
1182
|
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1183
1183
|
command.params['project'] = project unless project.nil?
|
@@ -1213,7 +1213,7 @@ module Google
|
|
1213
1213
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1214
1214
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1215
1215
|
def stop_instance_replica(project, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1216
|
-
command =
|
1216
|
+
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/stopReplica', options)
|
1217
1217
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1218
1218
|
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1219
1219
|
command.params['project'] = project unless project.nil?
|
@@ -1250,7 +1250,7 @@ module Google
|
|
1250
1250
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1251
1251
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1252
1252
|
def truncate_instance_log(project, instance, instances_truncate_log_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1253
|
-
command =
|
1253
|
+
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/truncateLog', options)
|
1254
1254
|
command.request_representation = Google::Apis::SqladminV1beta4::InstancesTruncateLogRequest::Representation
|
1255
1255
|
command.request_object = instances_truncate_log_request_object
|
1256
1256
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
@@ -1291,7 +1291,7 @@ module Google
|
|
1291
1291
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1292
1292
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1293
1293
|
def update_instance(project, instance, database_instance_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1294
|
-
command =
|
1294
|
+
command = make_simple_command(:put, 'projects/{project}/instances/{instance}', options)
|
1295
1295
|
command.request_representation = Google::Apis::SqladminV1beta4::DatabaseInstance::Representation
|
1296
1296
|
command.request_object = database_instance_object
|
1297
1297
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
@@ -1329,7 +1329,7 @@ module Google
|
|
1329
1329
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1330
1330
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1331
1331
|
def get_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1332
|
-
command =
|
1332
|
+
command = make_simple_command(:get, 'projects/{project}/operations/{operation}', options)
|
1333
1333
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1334
1334
|
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1335
1335
|
command.params['project'] = project unless project.nil?
|
@@ -1371,7 +1371,7 @@ module Google
|
|
1371
1371
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1372
1372
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1373
1373
|
def list_operations(project, instance, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1374
|
-
command =
|
1374
|
+
command = make_simple_command(:get, 'projects/{project}/operations', options)
|
1375
1375
|
command.response_representation = Google::Apis::SqladminV1beta4::ListOperationsResponse::Representation
|
1376
1376
|
command.response_class = Google::Apis::SqladminV1beta4::ListOperationsResponse
|
1377
1377
|
command.params['project'] = project unless project.nil?
|
@@ -1412,7 +1412,7 @@ module Google
|
|
1412
1412
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1413
1413
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1414
1414
|
def create_ssl_cert_ephemeral(project, instance, ssl_certs_create_ephemeral_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1415
|
-
command =
|
1415
|
+
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/createEphemeral', options)
|
1416
1416
|
command.request_representation = Google::Apis::SqladminV1beta4::SslCertsCreateEphemeralRequest::Representation
|
1417
1417
|
command.request_object = ssl_certs_create_ephemeral_request_object
|
1418
1418
|
command.response_representation = Google::Apis::SqladminV1beta4::SslCert::Representation
|
@@ -1453,7 +1453,7 @@ module Google
|
|
1453
1453
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1454
1454
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1455
1455
|
def delete_ssl_cert(project, instance, sha1_fingerprint, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1456
|
-
command =
|
1456
|
+
command = make_simple_command(:delete, 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', options)
|
1457
1457
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1458
1458
|
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1459
1459
|
command.params['project'] = project unless project.nil?
|
@@ -1494,7 +1494,7 @@ module Google
|
|
1494
1494
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1495
1495
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1496
1496
|
def get_ssl_cert(project, instance, sha1_fingerprint, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1497
|
-
command =
|
1497
|
+
command = make_simple_command(:get, 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', options)
|
1498
1498
|
command.response_representation = Google::Apis::SqladminV1beta4::SslCert::Representation
|
1499
1499
|
command.response_class = Google::Apis::SqladminV1beta4::SslCert
|
1500
1500
|
command.params['project'] = project unless project.nil?
|
@@ -1534,7 +1534,7 @@ module Google
|
|
1534
1534
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1535
1535
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1536
1536
|
def insert_ssl_cert(project, instance, insert_ssl_certs_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1537
|
-
command =
|
1537
|
+
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/sslCerts', options)
|
1538
1538
|
command.request_representation = Google::Apis::SqladminV1beta4::InsertSslCertsRequest::Representation
|
1539
1539
|
command.request_object = insert_ssl_certs_request_object
|
1540
1540
|
command.response_representation = Google::Apis::SqladminV1beta4::InsertSslCertsResponse::Representation
|
@@ -1572,7 +1572,7 @@ module Google
|
|
1572
1572
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1573
1573
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1574
1574
|
def list_ssl_certs(project, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1575
|
-
command =
|
1575
|
+
command = make_simple_command(:get, 'projects/{project}/instances/{instance}/sslCerts', options)
|
1576
1576
|
command.response_representation = Google::Apis::SqladminV1beta4::ListSslCertsResponse::Representation
|
1577
1577
|
command.response_class = Google::Apis::SqladminV1beta4::ListSslCertsResponse
|
1578
1578
|
command.params['project'] = project unless project.nil?
|
@@ -1607,7 +1607,7 @@ module Google
|
|
1607
1607
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1608
1608
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1609
1609
|
def list_tiers(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1610
|
-
command =
|
1610
|
+
command = make_simple_command(:get, 'projects/{project}/tiers', options)
|
1611
1611
|
command.response_representation = Google::Apis::SqladminV1beta4::ListTiersResponse::Representation
|
1612
1612
|
command.response_class = Google::Apis::SqladminV1beta4::ListTiersResponse
|
1613
1613
|
command.params['project'] = project unless project.nil?
|
@@ -1646,7 +1646,7 @@ module Google
|
|
1646
1646
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1647
1647
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1648
1648
|
def delete_user(project, instance, host, name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1649
|
-
command =
|
1649
|
+
command = make_simple_command(:delete, 'projects/{project}/instances/{instance}/users', options)
|
1650
1650
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1651
1651
|
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1652
1652
|
command.params['project'] = project unless project.nil?
|
@@ -1685,7 +1685,7 @@ module Google
|
|
1685
1685
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1686
1686
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1687
1687
|
def insert_user(project, instance, user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1688
|
-
command =
|
1688
|
+
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/users', options)
|
1689
1689
|
command.request_representation = Google::Apis::SqladminV1beta4::User::Representation
|
1690
1690
|
command.request_object = user_object
|
1691
1691
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
@@ -1723,7 +1723,7 @@ module Google
|
|
1723
1723
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1724
1724
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1725
1725
|
def list_users(project, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1726
|
-
command =
|
1726
|
+
command = make_simple_command(:get, 'projects/{project}/instances/{instance}/users', options)
|
1727
1727
|
command.response_representation = Google::Apis::SqladminV1beta4::ListUsersResponse::Representation
|
1728
1728
|
command.response_class = Google::Apis::SqladminV1beta4::ListUsersResponse
|
1729
1729
|
command.params['project'] = project unless project.nil?
|
@@ -1764,7 +1764,7 @@ module Google
|
|
1764
1764
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1765
1765
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1766
1766
|
def update_user(project, instance, name, user_object = nil, host: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1767
|
-
command =
|
1767
|
+
command = make_simple_command(:put, 'projects/{project}/instances/{instance}/users', options)
|
1768
1768
|
command.request_representation = Google::Apis::SqladminV1beta4::User::Representation
|
1769
1769
|
command.request_object = user_object
|
1770
1770
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|