google-api-client 0.44.2 → 0.46.2
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/.github/workflows/autoapprove.yml +49 -0
- data/.gitignore +2 -0
- data/CHANGELOG.md +295 -0
- data/api_list_config.yaml +8 -0
- data/bin/generate-api +77 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +25 -16
- data/generated/google/apis/accessapproval_v1/service.rb +27 -27
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
- data/generated/google/apis/admin_directory_v1/service.rb +72 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admob_v1.rb +6 -2
- data/generated/google/apis/admob_v1/classes.rb +31 -31
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +32 -1
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +39 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +442 -14
- data/generated/google/apis/apigee_v1/representations.rb +161 -1
- data/generated/google/apis/apigee_v1/service.rb +264 -44
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +14 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
- data/generated/google/apis/{apigateway_v1alpha1.rb → assuredworkloads_v1beta1.rb} +8 -8
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +140 -23
- data/generated/google/apis/bigquery_v2/representations.rb +36 -0
- data/generated/google/apis/bigquery_v2/service.rb +46 -0
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1/classes.rb +362 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +170 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +16 -6
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +187 -0
- data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +187 -0
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +79 -5
- data/generated/google/apis/chat_v1/representations.rb +35 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +153 -21
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +7 -5
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +0 -34
- data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
- data/generated/google/apis/cloudbuild_v1/service.rb +7 -4
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +127 -63
- data/generated/google/apis/cloudidentity_v1/representations.rb +29 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +124 -70
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +188 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
- data/generated/google/apis/cloudshell_v1/service.rb +177 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
- data/generated/google/apis/composer_v1beta1/service.rb +37 -35
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +633 -146
- data/generated/google/apis/compute_alpha/representations.rb +131 -8
- data/generated/google/apis/compute_alpha/service.rb +1995 -1013
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +566 -94
- data/generated/google/apis/compute_beta/representations.rb +100 -1
- data/generated/google/apis/compute_beta/service.rb +805 -136
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +336 -53
- data/generated/google/apis/compute_v1/representations.rb +57 -1
- data/generated/google/apis/compute_v1/service.rb +739 -133
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +22 -10
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +50 -10
- data/generated/google/apis/container_v1beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +108 -5
- data/generated/google/apis/content_v2_1/representations.rb +47 -0
- data/generated/google/apis/content_v2_1/service.rb +38 -1
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +152 -5
- data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
- data/generated/google/apis/datafusion_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +29 -3
- data/generated/google/apis/dataproc_v1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +33 -6
- data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
- data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
- data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +208 -30
- data/generated/google/apis/dialogflow_v2/representations.rb +118 -7
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +215 -38
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +118 -7
- data/generated/google/apis/dialogflow_v2beta1/service.rb +60 -10
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +311 -33
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +153 -7
- data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +38 -30
- data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
- data/generated/google/apis/displayvideo_v1/service.rb +21 -18
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +30 -3
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +328 -328
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +181 -0
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +10 -10
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +181 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2/service.rb +10 -10
- data/generated/google/apis/documentai_v1beta3.rb +36 -0
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/{appsactivity_v1.rb → domains_v1beta1.rb} +11 -11
- data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -3
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +4 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -2
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +4 -4
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +13 -1
- data/generated/google/apis/fitness_v1/service.rb +3 -1
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +7 -5
- data/generated/google/apis/healthcare_v1/service.rb +1 -3
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1111 -278
- data/generated/google/apis/healthcare_v1beta1/representations.rb +486 -68
- data/generated/google/apis/healthcare_v1beta1/service.rb +1475 -247
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +2 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +798 -0
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +798 -0
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +55 -85
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/localservices_v1/service.rb +20 -20
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +98 -55
- data/generated/google/apis/logging_v2/representations.rb +32 -0
- data/generated/google/apis/logging_v2/service.rb +1214 -264
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -9
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -9
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +10 -10
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +99 -45
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +5 -5
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
- data/generated/google/apis/{plus_v1.rb → oauth2_v2.rb} +12 -15
- data/generated/google/apis/oauth2_v2/classes.rb +165 -0
- data/generated/google/apis/oauth2_v2/representations.rb +68 -0
- data/generated/google/apis/oauth2_v2/service.rb +158 -0
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1/service.rb +4 -4
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +48 -47
- data/generated/google/apis/people_v1/service.rb +12 -10
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
- data/generated/google/apis/pubsublite_v1/service.rb +33 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +5 -391
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1/service.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +33 -391
- data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
- data/generated/google/apis/redis_v1beta1/service.rb +36 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +15 -135
- data/generated/google/apis/run_v1/representations.rb +0 -61
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
- data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -4
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +5 -3
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
- data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +107 -4
- data/generated/google/apis/servicenetworking_v1/representations.rb +34 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +107 -4
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +34 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +175 -85
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +307 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +173 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +309 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +7 -0
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +229 -109
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +137 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -10
- data/generated/google/apis/storage_v1/representations.rb +0 -1
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +21 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/sts_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +10 -9
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +67 -67
- data/generated/google/apis/sts_v1beta/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +4 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +49 -2
- data/generated/google/apis/testing_v1/representations.rb +20 -0
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +2 -2
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +333 -0
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +151 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
- data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
- data/generated/google/apis/workflows_v1beta.rb +3 -2
- data/generated/google/apis/workflows_v1beta/service.rb +2 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +12 -945
- data/generated/google/apis/youtube_v3/representations.rb +0 -445
- data/generated/google/apis/youtube_v3/service.rb +3 -198
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +41 -19
- data/generated/google/apis/apigateway_v1alpha1/classes.rb +0 -633
- data/generated/google/apis/apigateway_v1alpha1/representations.rb +0 -250
- data/generated/google/apis/apigateway_v1alpha1/service.rb +0 -623
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
|
@@ -49,8 +49,7 @@ module Google
|
|
|
49
49
|
|
|
50
50
|
# Returns the Cloud Source Repositories configuration of the project.
|
|
51
51
|
# @param [String] name
|
|
52
|
-
# The name of the requested project. Values are of the form
|
|
53
|
-
# `projects/<project>`.
|
|
52
|
+
# The name of the requested project. Values are of the form `projects/`.
|
|
54
53
|
# @param [String] fields
|
|
55
54
|
# Selector specifying which fields to include in a partial response.
|
|
56
55
|
# @param [String] quota_user
|
|
@@ -80,8 +79,7 @@ module Google
|
|
|
80
79
|
|
|
81
80
|
# Updates the Cloud Source Repositories configuration of the project.
|
|
82
81
|
# @param [String] name
|
|
83
|
-
# The name of the requested project. Values are of the form
|
|
84
|
-
# `projects/<project>`.
|
|
82
|
+
# The name of the requested project. Values are of the form `projects/`.
|
|
85
83
|
# @param [Google::Apis::SourcerepoV1::UpdateProjectConfigRequest] update_project_config_request_object
|
|
86
84
|
# @param [String] fields
|
|
87
85
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -112,12 +110,10 @@ module Google
|
|
|
112
110
|
execute_or_queue_command(command, &block)
|
|
113
111
|
end
|
|
114
112
|
|
|
115
|
-
# Creates a repo in the given project with the given name.
|
|
116
|
-
#
|
|
117
|
-
# `ALREADY_EXISTS`.
|
|
113
|
+
# Creates a repo in the given project with the given name. If the named
|
|
114
|
+
# repository already exists, `CreateRepo` returns `ALREADY_EXISTS`.
|
|
118
115
|
# @param [String] parent
|
|
119
|
-
# The project in which to create the repo. Values are of the form
|
|
120
|
-
# `projects/<project>`.
|
|
116
|
+
# The project in which to create the repo. Values are of the form `projects/`.
|
|
121
117
|
# @param [Google::Apis::SourcerepoV1::Repo] repo_object
|
|
122
118
|
# @param [String] fields
|
|
123
119
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -150,8 +146,7 @@ module Google
|
|
|
150
146
|
|
|
151
147
|
# Deletes a repo.
|
|
152
148
|
# @param [String] name
|
|
153
|
-
# The name of the repo to delete. Values are of the form
|
|
154
|
-
# `projects/<project>/repos/<repo>`.
|
|
149
|
+
# The name of the repo to delete. Values are of the form `projects//repos/`.
|
|
155
150
|
# @param [String] fields
|
|
156
151
|
# Selector specifying which fields to include in a partial response.
|
|
157
152
|
# @param [String] quota_user
|
|
@@ -181,8 +176,8 @@ module Google
|
|
|
181
176
|
|
|
182
177
|
# Returns information about a repo.
|
|
183
178
|
# @param [String] name
|
|
184
|
-
# The name of the requested repository. Values are of the form
|
|
185
|
-
#
|
|
179
|
+
# The name of the requested repository. Values are of the form `projects//repos/`
|
|
180
|
+
# .
|
|
186
181
|
# @param [String] fields
|
|
187
182
|
# Selector specifying which fields to include in a partial response.
|
|
188
183
|
# @param [String] quota_user
|
|
@@ -210,22 +205,19 @@ module Google
|
|
|
210
205
|
execute_or_queue_command(command, &block)
|
|
211
206
|
end
|
|
212
207
|
|
|
213
|
-
# Gets the access control policy for a resource.
|
|
214
|
-
#
|
|
215
|
-
# set.
|
|
208
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
|
209
|
+
# resource exists and does not have a policy set.
|
|
216
210
|
# @param [String] resource
|
|
217
|
-
# REQUIRED: The resource for which the policy is being requested.
|
|
218
|
-
#
|
|
211
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
|
212
|
+
# operation documentation for the appropriate value for this field.
|
|
219
213
|
# @param [Fixnum] options_requested_policy_version
|
|
220
|
-
# Optional. The policy format version to be returned.
|
|
221
|
-
#
|
|
222
|
-
#
|
|
223
|
-
#
|
|
224
|
-
#
|
|
225
|
-
#
|
|
226
|
-
#
|
|
227
|
-
# [IAM
|
|
228
|
-
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
214
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
|
215
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
|
216
|
+
# policies with any conditional bindings must specify version 3. Policies
|
|
217
|
+
# without any conditional bindings may specify any valid value or leave the
|
|
218
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
|
219
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
|
220
|
+
# resource-policies).
|
|
229
221
|
# @param [String] fields
|
|
230
222
|
# Selector specifying which fields to include in a partial response.
|
|
231
223
|
# @param [String] quota_user
|
|
@@ -254,18 +246,18 @@ module Google
|
|
|
254
246
|
execute_or_queue_command(command, &block)
|
|
255
247
|
end
|
|
256
248
|
|
|
257
|
-
# Returns all repos belonging to a project. The sizes of the repos are
|
|
258
|
-
#
|
|
249
|
+
# Returns all repos belonging to a project. The sizes of the repos are not set
|
|
250
|
+
# by ListRepos. To get the size of a repo, use GetRepo.
|
|
259
251
|
# @param [String] name
|
|
260
|
-
# The project ID whose repos should be listed. Values are of the form
|
|
261
|
-
#
|
|
252
|
+
# The project ID whose repos should be listed. Values are of the form `projects/`
|
|
253
|
+
# .
|
|
262
254
|
# @param [Fixnum] page_size
|
|
263
|
-
# Maximum number of repositories to return; between 1 and 500.
|
|
264
|
-
#
|
|
255
|
+
# Maximum number of repositories to return; between 1 and 500. If not set or
|
|
256
|
+
# zero, defaults to 100 at the server.
|
|
265
257
|
# @param [String] page_token
|
|
266
|
-
# Resume listing repositories where a prior ListReposResponse
|
|
267
|
-
#
|
|
268
|
-
#
|
|
258
|
+
# Resume listing repositories where a prior ListReposResponse left off. This is
|
|
259
|
+
# an opaque token that must be obtained from a recent, prior ListReposResponse's
|
|
260
|
+
# next_page_token field.
|
|
269
261
|
# @param [String] fields
|
|
270
262
|
# Selector specifying which fields to include in a partial response.
|
|
271
263
|
# @param [String] quota_user
|
|
@@ -297,8 +289,8 @@ module Google
|
|
|
297
289
|
|
|
298
290
|
# Updates information about a repo.
|
|
299
291
|
# @param [String] name
|
|
300
|
-
# The name of the requested repository. Values are of the form
|
|
301
|
-
#
|
|
292
|
+
# The name of the requested repository. Values are of the form `projects//repos/`
|
|
293
|
+
# .
|
|
302
294
|
# @param [Google::Apis::SourcerepoV1::UpdateRepoRequest] update_repo_request_object
|
|
303
295
|
# @param [String] fields
|
|
304
296
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -332,8 +324,8 @@ module Google
|
|
|
332
324
|
# Sets the access control policy on the specified resource. Replaces any
|
|
333
325
|
# existing policy.
|
|
334
326
|
# @param [String] resource
|
|
335
|
-
# REQUIRED: The resource for which the policy is being specified.
|
|
336
|
-
#
|
|
327
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
|
328
|
+
# operation documentation for the appropriate value for this field.
|
|
337
329
|
# @param [Google::Apis::SourcerepoV1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
338
330
|
# @param [String] fields
|
|
339
331
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -364,11 +356,10 @@ module Google
|
|
|
364
356
|
execute_or_queue_command(command, &block)
|
|
365
357
|
end
|
|
366
358
|
|
|
367
|
-
# Synchronize a connected repo.
|
|
368
|
-
#
|
|
359
|
+
# Synchronize a connected repo. The response contains SyncRepoMetadata in the
|
|
360
|
+
# metadata field.
|
|
369
361
|
# @param [String] name
|
|
370
|
-
# The name of the repo to synchronize. Values are of the form
|
|
371
|
-
# `projects/<project>/repos/<repo>`.
|
|
362
|
+
# The name of the repo to synchronize. Values are of the form `projects//repos/`.
|
|
372
363
|
# @param [Google::Apis::SourcerepoV1::SyncRepoRequest] sync_repo_request_object
|
|
373
364
|
# @param [String] fields
|
|
374
365
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -399,12 +390,12 @@ module Google
|
|
|
399
390
|
execute_or_queue_command(command, &block)
|
|
400
391
|
end
|
|
401
392
|
|
|
402
|
-
# Returns permissions that a caller has on the specified resource.
|
|
403
|
-
#
|
|
404
|
-
#
|
|
393
|
+
# Returns permissions that a caller has on the specified resource. If the
|
|
394
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
|
395
|
+
# NOT_FOUND error.
|
|
405
396
|
# @param [String] resource
|
|
406
|
-
# REQUIRED: The resource for which the policy detail is being requested.
|
|
407
|
-
#
|
|
397
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
|
398
|
+
# operation documentation for the appropriate value for this field.
|
|
408
399
|
# @param [Google::Apis::SourcerepoV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
409
400
|
# @param [String] fields
|
|
410
401
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/spanner/
|
|
27
27
|
module SpannerV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200905'
|
|
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'
|
|
@@ -356,6 +356,12 @@ module Google
|
|
|
356
356
|
class Binding
|
|
357
357
|
include Google::Apis::Core::Hashable
|
|
358
358
|
|
|
359
|
+
# A client-specified ID for this binding. Expected to be globally unique to
|
|
360
|
+
# support the internal bindings-by-ID API.
|
|
361
|
+
# Corresponds to the JSON property `bindingId`
|
|
362
|
+
# @return [String]
|
|
363
|
+
attr_accessor :binding_id
|
|
364
|
+
|
|
359
365
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
360
366
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
361
367
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
|
@@ -417,6 +423,7 @@ module Google
|
|
|
417
423
|
|
|
418
424
|
# Update properties of this object
|
|
419
425
|
def update!(**args)
|
|
426
|
+
@binding_id = args[:binding_id] if args.key?(:binding_id)
|
|
420
427
|
@condition = args[:condition] if args.key?(:condition)
|
|
421
428
|
@members = args[:members] if args.key?(:members)
|
|
422
429
|
@role = args[:role] if args.key?(:role)
|
|
@@ -558,6 +558,7 @@ module Google
|
|
|
558
558
|
class Binding
|
|
559
559
|
# @private
|
|
560
560
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
561
|
+
property :binding_id, as: 'bindingId'
|
|
561
562
|
property :condition, as: 'condition', class: Google::Apis::SpannerV1::Expr, decorator: Google::Apis::SpannerV1::Expr::Representation
|
|
562
563
|
|
|
563
564
|
collection :members, as: 'members'
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
|
-
require 'google/apis/
|
|
16
|
-
require 'google/apis/
|
|
17
|
-
require 'google/apis/
|
|
15
|
+
require 'google/apis/sqladmin_v1beta4/service.rb'
|
|
16
|
+
require 'google/apis/sqladmin_v1beta4/classes.rb'
|
|
17
|
+
require 'google/apis/sqladmin_v1beta4/representations.rb'
|
|
18
18
|
|
|
19
19
|
module Google
|
|
20
20
|
module Apis
|
|
@@ -23,9 +23,9 @@ module Google
|
|
|
23
23
|
# API for Cloud SQL database instance management
|
|
24
24
|
#
|
|
25
25
|
# @see https://developers.google.com/cloud-sql/
|
|
26
|
-
module
|
|
26
|
+
module SqladminV1beta4
|
|
27
27
|
VERSION = 'V1beta4'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20201007'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -20,7 +20,7 @@ require 'google/apis/errors'
|
|
|
20
20
|
|
|
21
21
|
module Google
|
|
22
22
|
module Apis
|
|
23
|
-
module
|
|
23
|
+
module SqladminV1beta4
|
|
24
24
|
|
|
25
25
|
# An entry for an Access Control list.
|
|
26
26
|
class AclEntry
|
|
@@ -89,6 +89,12 @@ module Google
|
|
|
89
89
|
class BackupConfiguration
|
|
90
90
|
include Google::Apis::Core::Hashable
|
|
91
91
|
|
|
92
|
+
# We currently only support backup retention by specifying the number of backups
|
|
93
|
+
# we will retain.
|
|
94
|
+
# Corresponds to the JSON property `backupRetentionSettings`
|
|
95
|
+
# @return [Google::Apis::SqladminV1beta4::BackupRetentionSettings]
|
|
96
|
+
attr_accessor :backup_retention_settings
|
|
97
|
+
|
|
92
98
|
# (MySQL only) Whether binary log is enabled. If backup configuration is
|
|
93
99
|
# disabled, binarylog must be disabled as well.
|
|
94
100
|
# Corresponds to the JSON property `binaryLogEnabled`
|
|
@@ -130,12 +136,19 @@ module Google
|
|
|
130
136
|
# @return [String]
|
|
131
137
|
attr_accessor :start_time
|
|
132
138
|
|
|
139
|
+
# The number of days of transaction logs we retain for point in time restore,
|
|
140
|
+
# from 1-7.
|
|
141
|
+
# Corresponds to the JSON property `transactionLogRetentionDays`
|
|
142
|
+
# @return [Fixnum]
|
|
143
|
+
attr_accessor :transaction_log_retention_days
|
|
144
|
+
|
|
133
145
|
def initialize(**args)
|
|
134
146
|
update!(**args)
|
|
135
147
|
end
|
|
136
148
|
|
|
137
149
|
# Update properties of this object
|
|
138
150
|
def update!(**args)
|
|
151
|
+
@backup_retention_settings = args[:backup_retention_settings] if args.key?(:backup_retention_settings)
|
|
139
152
|
@binary_log_enabled = args[:binary_log_enabled] if args.key?(:binary_log_enabled)
|
|
140
153
|
@enabled = args[:enabled] if args.key?(:enabled)
|
|
141
154
|
@kind = args[:kind] if args.key?(:kind)
|
|
@@ -143,6 +156,35 @@ module Google
|
|
|
143
156
|
@point_in_time_recovery_enabled = args[:point_in_time_recovery_enabled] if args.key?(:point_in_time_recovery_enabled)
|
|
144
157
|
@replication_log_archiving_enabled = args[:replication_log_archiving_enabled] if args.key?(:replication_log_archiving_enabled)
|
|
145
158
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
159
|
+
@transaction_log_retention_days = args[:transaction_log_retention_days] if args.key?(:transaction_log_retention_days)
|
|
160
|
+
end
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
# We currently only support backup retention by specifying the number of backups
|
|
164
|
+
# we will retain.
|
|
165
|
+
class BackupRetentionSettings
|
|
166
|
+
include Google::Apis::Core::Hashable
|
|
167
|
+
|
|
168
|
+
# Depending on the value of retention_unit, this is used to determine if a
|
|
169
|
+
# backup needs to be deleted. If retention_unit is 'COUNT', we will retain this
|
|
170
|
+
# many backups.
|
|
171
|
+
# Corresponds to the JSON property `retainedBackups`
|
|
172
|
+
# @return [Fixnum]
|
|
173
|
+
attr_accessor :retained_backups
|
|
174
|
+
|
|
175
|
+
# The unit that 'retained_backups' represents.
|
|
176
|
+
# Corresponds to the JSON property `retentionUnit`
|
|
177
|
+
# @return [String]
|
|
178
|
+
attr_accessor :retention_unit
|
|
179
|
+
|
|
180
|
+
def initialize(**args)
|
|
181
|
+
update!(**args)
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
# Update properties of this object
|
|
185
|
+
def update!(**args)
|
|
186
|
+
@retained_backups = args[:retained_backups] if args.key?(:retained_backups)
|
|
187
|
+
@retention_unit = args[:retention_unit] if args.key?(:retention_unit)
|
|
146
188
|
end
|
|
147
189
|
end
|
|
148
190
|
|
|
@@ -162,12 +204,12 @@ module Google
|
|
|
162
204
|
|
|
163
205
|
# Disk encryption configuration for an instance.
|
|
164
206
|
# Corresponds to the JSON property `diskEncryptionConfiguration`
|
|
165
|
-
# @return [Google::Apis::
|
|
207
|
+
# @return [Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration]
|
|
166
208
|
attr_accessor :disk_encryption_configuration
|
|
167
209
|
|
|
168
210
|
# Disk encryption status for an instance.
|
|
169
211
|
# Corresponds to the JSON property `diskEncryptionStatus`
|
|
170
|
-
# @return [Google::Apis::
|
|
212
|
+
# @return [Google::Apis::SqladminV1beta4::DiskEncryptionStatus]
|
|
171
213
|
attr_accessor :disk_encryption_status
|
|
172
214
|
|
|
173
215
|
# The time the backup operation completed in UTC timezone in RFC 3339 format,
|
|
@@ -184,7 +226,7 @@ module Google
|
|
|
184
226
|
|
|
185
227
|
# Database instance operation error.
|
|
186
228
|
# Corresponds to the JSON property `error`
|
|
187
|
-
# @return [Google::Apis::
|
|
229
|
+
# @return [Google::Apis::SqladminV1beta4::OperationError]
|
|
188
230
|
attr_accessor :error
|
|
189
231
|
|
|
190
232
|
# The identifier for this backup run. Unique only for a specific Cloud SQL
|
|
@@ -261,12 +303,12 @@ module Google
|
|
|
261
303
|
end
|
|
262
304
|
|
|
263
305
|
# Backup run list results.
|
|
264
|
-
class
|
|
306
|
+
class ListBackupRunsResponse
|
|
265
307
|
include Google::Apis::Core::Hashable
|
|
266
308
|
|
|
267
309
|
# A list of backup runs in reverse chronological order of the enqueued time.
|
|
268
310
|
# Corresponds to the JSON property `items`
|
|
269
|
-
# @return [Array<Google::Apis::
|
|
311
|
+
# @return [Array<Google::Apis::SqladminV1beta4::BackupRun>]
|
|
270
312
|
attr_accessor :items
|
|
271
313
|
|
|
272
314
|
# This is always *sql#backupRunsList*.
|
|
@@ -329,7 +371,7 @@ module Google
|
|
|
329
371
|
|
|
330
372
|
# Binary log coordinates.
|
|
331
373
|
# Corresponds to the JSON property `binLogCoordinates`
|
|
332
|
-
# @return [Google::Apis::
|
|
374
|
+
# @return [Google::Apis::SqladminV1beta4::BinLogCoordinates]
|
|
333
375
|
attr_accessor :bin_log_coordinates
|
|
334
376
|
|
|
335
377
|
# Name of the Cloud SQL instance to be created as a clone.
|
|
@@ -414,7 +456,7 @@ module Google
|
|
|
414
456
|
|
|
415
457
|
# Represents a Sql Server database on the Cloud SQL instance.
|
|
416
458
|
# Corresponds to the JSON property `sqlserverDatabaseDetails`
|
|
417
|
-
# @return [Google::Apis::
|
|
459
|
+
# @return [Google::Apis::SqladminV1beta4::SqlServerDatabaseDetails]
|
|
418
460
|
attr_accessor :sqlserver_database_details
|
|
419
461
|
|
|
420
462
|
def initialize(**args)
|
|
@@ -464,7 +506,7 @@ module Google
|
|
|
464
506
|
end
|
|
465
507
|
end
|
|
466
508
|
|
|
467
|
-
# A Cloud SQL instance resource. Next field:
|
|
509
|
+
# A Cloud SQL instance resource. Next field: 36
|
|
468
510
|
class DatabaseInstance
|
|
469
511
|
include Google::Apis::Core::Hashable
|
|
470
512
|
|
|
@@ -488,23 +530,23 @@ module Google
|
|
|
488
530
|
attr_accessor :current_disk_size
|
|
489
531
|
|
|
490
532
|
# The database engine type and version. The *databaseVersion* field cannot be
|
|
491
|
-
# changed after instance creation. MySQL instances: *MYSQL_5_7* (
|
|
492
|
-
# MYSQL_5_6*. PostgreSQL instances: *POSTGRES_9_6*, *POSTGRES_10*,
|
|
493
|
-
# or *POSTGRES_12* (default). SQL Server instances: *
|
|
494
|
-
# default), *SQLSERVER_2017_ENTERPRISE*, *
|
|
495
|
-
# SQLSERVER_2017_WEB*.
|
|
533
|
+
# changed after instance creation. MySQL instances: *MYSQL_8_0*, *MYSQL_5_7* (
|
|
534
|
+
# default), or *MYSQL_5_6*. PostgreSQL instances: *POSTGRES_9_6*, *POSTGRES_10*,
|
|
535
|
+
# *POSTGRES_11* or *POSTGRES_12* (default). SQL Server instances: *
|
|
536
|
+
# SQLSERVER_2017_STANDARD* (default), *SQLSERVER_2017_ENTERPRISE*, *
|
|
537
|
+
# SQLSERVER_2017_EXPRESS*, or *SQLSERVER_2017_WEB*.
|
|
496
538
|
# Corresponds to the JSON property `databaseVersion`
|
|
497
539
|
# @return [String]
|
|
498
540
|
attr_accessor :database_version
|
|
499
541
|
|
|
500
542
|
# Disk encryption configuration for an instance.
|
|
501
543
|
# Corresponds to the JSON property `diskEncryptionConfiguration`
|
|
502
|
-
# @return [Google::Apis::
|
|
544
|
+
# @return [Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration]
|
|
503
545
|
attr_accessor :disk_encryption_configuration
|
|
504
546
|
|
|
505
547
|
# Disk encryption status for an instance.
|
|
506
548
|
# Corresponds to the JSON property `diskEncryptionStatus`
|
|
507
|
-
# @return [Google::Apis::
|
|
549
|
+
# @return [Google::Apis::SqladminV1beta4::DiskEncryptionStatus]
|
|
508
550
|
attr_accessor :disk_encryption_status
|
|
509
551
|
|
|
510
552
|
# This field is deprecated and will be removed from a future version of the API.
|
|
@@ -516,7 +558,7 @@ module Google
|
|
|
516
558
|
# The name and status of the failover replica. This property is applicable only
|
|
517
559
|
# to Second Generation instances.
|
|
518
560
|
# Corresponds to the JSON property `failoverReplica`
|
|
519
|
-
# @return [Google::Apis::
|
|
561
|
+
# @return [Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica]
|
|
520
562
|
attr_accessor :failover_replica
|
|
521
563
|
|
|
522
564
|
# The Compute Engine zone that the instance is currently serving from. This
|
|
@@ -527,7 +569,7 @@ module Google
|
|
|
527
569
|
attr_accessor :gce_zone
|
|
528
570
|
|
|
529
571
|
# The instance type. This can be one of the following. *CLOUD_SQL_INSTANCE*: A
|
|
530
|
-
# Cloud SQL instance that is not replicating from a
|
|
572
|
+
# Cloud SQL instance that is not replicating from a primary instance. *
|
|
531
573
|
# ON_PREMISES_INSTANCE*: An instance running on the customer's premises. *
|
|
532
574
|
# READ_REPLICA_INSTANCE*: A Cloud SQL instance configured as a read-replica.
|
|
533
575
|
# Corresponds to the JSON property `instanceType`
|
|
@@ -536,7 +578,7 @@ module Google
|
|
|
536
578
|
|
|
537
579
|
# The assigned IP addresses for the instance.
|
|
538
580
|
# Corresponds to the JSON property `ipAddresses`
|
|
539
|
-
# @return [Array<Google::Apis::
|
|
581
|
+
# @return [Array<Google::Apis::SqladminV1beta4::IpMapping>]
|
|
540
582
|
attr_accessor :ip_addresses
|
|
541
583
|
|
|
542
584
|
# The IPv6 address assigned to the instance. (Deprecated) This property was
|
|
@@ -550,7 +592,7 @@ module Google
|
|
|
550
592
|
# @return [String]
|
|
551
593
|
attr_accessor :kind
|
|
552
594
|
|
|
553
|
-
# The name of the instance which will act as
|
|
595
|
+
# The name of the instance which will act as primary in the replication setup.
|
|
554
596
|
# Corresponds to the JSON property `masterInstanceName`
|
|
555
597
|
# @return [String]
|
|
556
598
|
attr_accessor :master_instance_name
|
|
@@ -567,7 +609,7 @@ module Google
|
|
|
567
609
|
|
|
568
610
|
# On-premises instance configuration.
|
|
569
611
|
# Corresponds to the JSON property `onPremisesConfiguration`
|
|
570
|
-
# @return [Google::Apis::
|
|
612
|
+
# @return [Google::Apis::SqladminV1beta4::OnPremisesConfiguration]
|
|
571
613
|
attr_accessor :on_premises_configuration
|
|
572
614
|
|
|
573
615
|
# The project ID of the project containing the Cloud SQL instance. The Google
|
|
@@ -584,9 +626,9 @@ module Google
|
|
|
584
626
|
# @return [String]
|
|
585
627
|
attr_accessor :region
|
|
586
628
|
|
|
587
|
-
# Read-replica configuration for connecting to the
|
|
629
|
+
# Read-replica configuration for connecting to the primary instance.
|
|
588
630
|
# Corresponds to the JSON property `replicaConfiguration`
|
|
589
|
-
# @return [Google::Apis::
|
|
631
|
+
# @return [Google::Apis::SqladminV1beta4::ReplicaConfiguration]
|
|
590
632
|
attr_accessor :replica_configuration
|
|
591
633
|
|
|
592
634
|
# The replicas of the instance.
|
|
@@ -601,7 +643,7 @@ module Google
|
|
|
601
643
|
|
|
602
644
|
# Any scheduled maintenancce for this instance.
|
|
603
645
|
# Corresponds to the JSON property `scheduledMaintenance`
|
|
604
|
-
# @return [Google::Apis::
|
|
646
|
+
# @return [Google::Apis::SqladminV1beta4::SqlScheduledMaintenance]
|
|
605
647
|
attr_accessor :scheduled_maintenance
|
|
606
648
|
|
|
607
649
|
# The URI of this resource.
|
|
@@ -611,7 +653,7 @@ module Google
|
|
|
611
653
|
|
|
612
654
|
# SslCerts Resource
|
|
613
655
|
# Corresponds to the JSON property `serverCaCert`
|
|
614
|
-
# @return [Google::Apis::
|
|
656
|
+
# @return [Google::Apis::SqladminV1beta4::SslCert]
|
|
615
657
|
attr_accessor :server_ca_cert
|
|
616
658
|
|
|
617
659
|
# The service account email address assigned to the instance. This property is
|
|
@@ -622,15 +664,17 @@ module Google
|
|
|
622
664
|
|
|
623
665
|
# Database instance settings.
|
|
624
666
|
# Corresponds to the JSON property `settings`
|
|
625
|
-
# @return [Google::Apis::
|
|
667
|
+
# @return [Google::Apis::SqladminV1beta4::Settings]
|
|
626
668
|
attr_accessor :settings
|
|
627
669
|
|
|
628
670
|
# The current serving state of the Cloud SQL instance. This can be one of the
|
|
629
|
-
# following. *
|
|
630
|
-
#
|
|
631
|
-
#
|
|
632
|
-
#
|
|
633
|
-
#
|
|
671
|
+
# following. *SQL_INSTANCE_STATE_UNSPECIFIED*: The state of the instance is
|
|
672
|
+
# unknown. *RUNNABLE*: The instance has been stopped by owner. It is not
|
|
673
|
+
# currently running, but it's ready to be restarted. *SUSPENDED*: The instance
|
|
674
|
+
# is not available, for example due to problems with billing. for example due to
|
|
675
|
+
# problems with billing. *PENDING_DELETE*: The instance is being deleted. *
|
|
676
|
+
# PENDING_CREATE*: The instance is being created. *MAINTENANCE*: The instance is
|
|
677
|
+
# down for maintenance. *FAILED*: The instance creation failed.
|
|
634
678
|
# Corresponds to the JSON property `state`
|
|
635
679
|
# @return [String]
|
|
636
680
|
attr_accessor :state
|
|
@@ -683,8 +727,8 @@ module Google
|
|
|
683
727
|
include Google::Apis::Core::Hashable
|
|
684
728
|
|
|
685
729
|
# The availability status of the failover replica. A false status indicates that
|
|
686
|
-
# the failover replica is out of sync. The
|
|
687
|
-
# failover replica when the status is true.
|
|
730
|
+
# the failover replica is out of sync. The primary instance can only failover to
|
|
731
|
+
# the failover replica when the status is true.
|
|
688
732
|
# Corresponds to the JSON property `available`
|
|
689
733
|
# @return [Boolean]
|
|
690
734
|
attr_accessor :available
|
|
@@ -710,12 +754,12 @@ module Google
|
|
|
710
754
|
end
|
|
711
755
|
|
|
712
756
|
# Database list response.
|
|
713
|
-
class
|
|
757
|
+
class ListDatabasesResponse
|
|
714
758
|
include Google::Apis::Core::Hashable
|
|
715
759
|
|
|
716
760
|
# List of database resources in the instance.
|
|
717
761
|
# Corresponds to the JSON property `items`
|
|
718
|
-
# @return [Array<Google::Apis::
|
|
762
|
+
# @return [Array<Google::Apis::SqladminV1beta4::Database>]
|
|
719
763
|
attr_accessor :items
|
|
720
764
|
|
|
721
765
|
# This is always *sql#databasesList*.
|
|
@@ -734,7 +778,7 @@ module Google
|
|
|
734
778
|
end
|
|
735
779
|
end
|
|
736
780
|
|
|
737
|
-
# Read-replica configuration for connecting to the on-premises
|
|
781
|
+
# Read-replica configuration for connecting to the on-premises primary instance.
|
|
738
782
|
class DemoteMasterConfiguration
|
|
739
783
|
include Google::Apis::Core::Hashable
|
|
740
784
|
|
|
@@ -745,7 +789,7 @@ module Google
|
|
|
745
789
|
|
|
746
790
|
# Read-replica configuration specific to MySQL databases.
|
|
747
791
|
# Corresponds to the JSON property `mysqlReplicaConfiguration`
|
|
748
|
-
# @return [Google::Apis::
|
|
792
|
+
# @return [Google::Apis::SqladminV1beta4::DemoteMasterMySqlReplicaConfiguration]
|
|
749
793
|
attr_accessor :mysql_replica_configuration
|
|
750
794
|
|
|
751
795
|
def initialize(**args)
|
|
@@ -759,7 +803,7 @@ module Google
|
|
|
759
803
|
end
|
|
760
804
|
end
|
|
761
805
|
|
|
762
|
-
# Database instance demote
|
|
806
|
+
# Database instance demote primary instance context.
|
|
763
807
|
class DemoteMasterContext
|
|
764
808
|
include Google::Apis::Core::Hashable
|
|
765
809
|
|
|
@@ -768,24 +812,24 @@ module Google
|
|
|
768
812
|
# @return [String]
|
|
769
813
|
attr_accessor :kind
|
|
770
814
|
|
|
771
|
-
# The name of the instance which will act as on-premises
|
|
815
|
+
# The name of the instance which will act as on-premises primary instance in the
|
|
772
816
|
# replication setup.
|
|
773
817
|
# Corresponds to the JSON property `masterInstanceName`
|
|
774
818
|
# @return [String]
|
|
775
819
|
attr_accessor :master_instance_name
|
|
776
820
|
|
|
777
|
-
# Read-replica configuration for connecting to the on-premises
|
|
821
|
+
# Read-replica configuration for connecting to the on-premises primary instance.
|
|
778
822
|
# Corresponds to the JSON property `replicaConfiguration`
|
|
779
|
-
# @return [Google::Apis::
|
|
823
|
+
# @return [Google::Apis::SqladminV1beta4::DemoteMasterConfiguration]
|
|
780
824
|
attr_accessor :replica_configuration
|
|
781
825
|
|
|
782
826
|
# Verify GTID consistency for demote operation. Default value: *True*. Second
|
|
783
827
|
# Generation instances only. Setting this flag to false enables you to bypass
|
|
784
|
-
# GTID consistency check between on-premises
|
|
785
|
-
# during the demotion operation but also exposes you to the risk of
|
|
786
|
-
# replication failures. Change the value only if you know the reason for
|
|
787
|
-
# GTID divergence and are confident that doing so will not cause any
|
|
788
|
-
# issues.
|
|
828
|
+
# GTID consistency check between on-premises primary instance and Cloud SQL
|
|
829
|
+
# instance during the demotion operation but also exposes you to the risk of
|
|
830
|
+
# future replication failures. Change the value only if you know the reason for
|
|
831
|
+
# the GTID divergence and are confident that doing so will not cause any
|
|
832
|
+
# replication issues.
|
|
789
833
|
# Corresponds to the JSON property `verifyGtidConsistency`
|
|
790
834
|
# @return [Boolean]
|
|
791
835
|
attr_accessor :verify_gtid_consistency
|
|
@@ -855,6 +899,45 @@ module Google
|
|
|
855
899
|
end
|
|
856
900
|
end
|
|
857
901
|
|
|
902
|
+
# Deny Maintenance Periods. This specifies a date range during when all CSA
|
|
903
|
+
# rollout will be denied.
|
|
904
|
+
class DenyMaintenancePeriod
|
|
905
|
+
include Google::Apis::Core::Hashable
|
|
906
|
+
|
|
907
|
+
# "deny maintenance period" end date. If the year of the end date is empty, the
|
|
908
|
+
# year of the start date also must be empty. In this case, it means the deny
|
|
909
|
+
# maintenance period recurs every year. The date is in format yyyy-mm-dd i.e.,
|
|
910
|
+
# 2020-11-01, or mm-dd, i.e., 11-01
|
|
911
|
+
# Corresponds to the JSON property `endDate`
|
|
912
|
+
# @return [String]
|
|
913
|
+
attr_accessor :end_date
|
|
914
|
+
|
|
915
|
+
# "deny maintenance period" start date. If the year of the start date is empty,
|
|
916
|
+
# the year of the end date also must be empty. In this case, it means the deny
|
|
917
|
+
# maintenance period recurs every year. The date is in format yyyy-mm-dd i.e.,
|
|
918
|
+
# 2020-11-01, or mm-dd, i.e., 11-01
|
|
919
|
+
# Corresponds to the JSON property `startDate`
|
|
920
|
+
# @return [String]
|
|
921
|
+
attr_accessor :start_date
|
|
922
|
+
|
|
923
|
+
# Time in UTC when the "deny maintenance period" starts on start_date and ends
|
|
924
|
+
# on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
|
|
925
|
+
# Corresponds to the JSON property `time`
|
|
926
|
+
# @return [String]
|
|
927
|
+
attr_accessor :time
|
|
928
|
+
|
|
929
|
+
def initialize(**args)
|
|
930
|
+
update!(**args)
|
|
931
|
+
end
|
|
932
|
+
|
|
933
|
+
# Update properties of this object
|
|
934
|
+
def update!(**args)
|
|
935
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
|
936
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
|
937
|
+
@time = args[:time] if args.key?(:time)
|
|
938
|
+
end
|
|
939
|
+
end
|
|
940
|
+
|
|
858
941
|
# Disk encryption configuration for an instance.
|
|
859
942
|
class DiskEncryptionConfiguration
|
|
860
943
|
include Google::Apis::Core::Hashable
|
|
@@ -911,7 +994,7 @@ module Google
|
|
|
911
994
|
|
|
912
995
|
# Options for exporting data as CSV.
|
|
913
996
|
# Corresponds to the JSON property `csvExportOptions`
|
|
914
|
-
# @return [Google::Apis::
|
|
997
|
+
# @return [Google::Apis::SqladminV1beta4::ExportContext::CsvExportOptions]
|
|
915
998
|
attr_accessor :csv_export_options
|
|
916
999
|
|
|
917
1000
|
# Databases to be exported. *MySQL instances:* If *fileType* is *SQL* and no
|
|
@@ -944,7 +1027,7 @@ module Google
|
|
|
944
1027
|
|
|
945
1028
|
# Options for exporting data as SQL statements.
|
|
946
1029
|
# Corresponds to the JSON property `sqlExportOptions`
|
|
947
|
-
# @return [Google::Apis::
|
|
1030
|
+
# @return [Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions]
|
|
948
1031
|
attr_accessor :sql_export_options
|
|
949
1032
|
|
|
950
1033
|
# The path to the file in Google Cloud Storage where the export will be stored.
|
|
@@ -995,7 +1078,7 @@ module Google
|
|
|
995
1078
|
|
|
996
1079
|
# Options for exporting from MySQL.
|
|
997
1080
|
# Corresponds to the JSON property `mysqlExportOptions`
|
|
998
|
-
# @return [Google::Apis::
|
|
1081
|
+
# @return [Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions::MysqlExportOptions]
|
|
999
1082
|
attr_accessor :mysql_export_options
|
|
1000
1083
|
|
|
1001
1084
|
# Export only schemas.
|
|
@@ -1087,8 +1170,8 @@ module Google
|
|
|
1087
1170
|
# @return [Array<String>]
|
|
1088
1171
|
attr_accessor :allowed_string_values
|
|
1089
1172
|
|
|
1090
|
-
# The database version this flag applies to. Can be *
|
|
1091
|
-
# *MYSQL_5_7*.
|
|
1173
|
+
# The database version this flag applies to. Can be *MYSQL_8_0*, *MYSQL_5_6*, or
|
|
1174
|
+
# *MYSQL_5_7*.
|
|
1092
1175
|
# Corresponds to the JSON property `appliesTo`
|
|
1093
1176
|
# @return [Array<String>]
|
|
1094
1177
|
attr_accessor :applies_to
|
|
@@ -1154,12 +1237,12 @@ module Google
|
|
|
1154
1237
|
end
|
|
1155
1238
|
|
|
1156
1239
|
# Flags list response.
|
|
1157
|
-
class
|
|
1240
|
+
class ListFlagsResponse
|
|
1158
1241
|
include Google::Apis::Core::Hashable
|
|
1159
1242
|
|
|
1160
1243
|
# List of flags.
|
|
1161
1244
|
# Corresponds to the JSON property `items`
|
|
1162
|
-
# @return [Array<Google::Apis::
|
|
1245
|
+
# @return [Array<Google::Apis::SqladminV1beta4::Flag>]
|
|
1163
1246
|
attr_accessor :items
|
|
1164
1247
|
|
|
1165
1248
|
# This is always *sql#flagsList*.
|
|
@@ -1184,12 +1267,12 @@ module Google
|
|
|
1184
1267
|
|
|
1185
1268
|
# Import parameters specific to SQL Server .BAK files
|
|
1186
1269
|
# Corresponds to the JSON property `bakImportOptions`
|
|
1187
|
-
# @return [Google::Apis::
|
|
1270
|
+
# @return [Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions]
|
|
1188
1271
|
attr_accessor :bak_import_options
|
|
1189
1272
|
|
|
1190
1273
|
# Options for importing data as CSV.
|
|
1191
1274
|
# Corresponds to the JSON property `csvImportOptions`
|
|
1192
|
-
# @return [Google::Apis::
|
|
1275
|
+
# @return [Google::Apis::SqladminV1beta4::ImportContext::CsvImportOptions]
|
|
1193
1276
|
attr_accessor :csv_import_options
|
|
1194
1277
|
|
|
1195
1278
|
# The target database for the import. If *fileType* is *SQL*, this field is
|
|
@@ -1245,7 +1328,7 @@ module Google
|
|
|
1245
1328
|
|
|
1246
1329
|
#
|
|
1247
1330
|
# Corresponds to the JSON property `encryptionOptions`
|
|
1248
|
-
# @return [Google::Apis::
|
|
1331
|
+
# @return [Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions::EncryptionOptions]
|
|
1249
1332
|
attr_accessor :encryption_options
|
|
1250
1333
|
|
|
1251
1334
|
def initialize(**args)
|
|
@@ -1321,12 +1404,12 @@ module Google
|
|
|
1321
1404
|
end
|
|
1322
1405
|
|
|
1323
1406
|
# Database instance clone request.
|
|
1324
|
-
class
|
|
1407
|
+
class CloneInstancesRequest
|
|
1325
1408
|
include Google::Apis::Core::Hashable
|
|
1326
1409
|
|
|
1327
1410
|
# Database instance clone context.
|
|
1328
1411
|
# Corresponds to the JSON property `cloneContext`
|
|
1329
|
-
# @return [Google::Apis::
|
|
1412
|
+
# @return [Google::Apis::SqladminV1beta4::CloneContext]
|
|
1330
1413
|
attr_accessor :clone_context
|
|
1331
1414
|
|
|
1332
1415
|
def initialize(**args)
|
|
@@ -1339,13 +1422,13 @@ module Google
|
|
|
1339
1422
|
end
|
|
1340
1423
|
end
|
|
1341
1424
|
|
|
1342
|
-
# Database demote
|
|
1425
|
+
# Database demote primary instance request.
|
|
1343
1426
|
class InstancesDemoteMasterRequest
|
|
1344
1427
|
include Google::Apis::Core::Hashable
|
|
1345
1428
|
|
|
1346
|
-
# Database instance demote
|
|
1429
|
+
# Database instance demote primary instance context.
|
|
1347
1430
|
# Corresponds to the JSON property `demoteMasterContext`
|
|
1348
|
-
# @return [Google::Apis::
|
|
1431
|
+
# @return [Google::Apis::SqladminV1beta4::DemoteMasterContext]
|
|
1349
1432
|
attr_accessor :demote_master_context
|
|
1350
1433
|
|
|
1351
1434
|
def initialize(**args)
|
|
@@ -1359,12 +1442,12 @@ module Google
|
|
|
1359
1442
|
end
|
|
1360
1443
|
|
|
1361
1444
|
# Database instance export request.
|
|
1362
|
-
class
|
|
1445
|
+
class ExportInstancesRequest
|
|
1363
1446
|
include Google::Apis::Core::Hashable
|
|
1364
1447
|
|
|
1365
1448
|
# Database instance export context.
|
|
1366
1449
|
# Corresponds to the JSON property `exportContext`
|
|
1367
|
-
# @return [Google::Apis::
|
|
1450
|
+
# @return [Google::Apis::SqladminV1beta4::ExportContext]
|
|
1368
1451
|
attr_accessor :export_context
|
|
1369
1452
|
|
|
1370
1453
|
def initialize(**args)
|
|
@@ -1383,7 +1466,7 @@ module Google
|
|
|
1383
1466
|
|
|
1384
1467
|
# Database instance failover context.
|
|
1385
1468
|
# Corresponds to the JSON property `failoverContext`
|
|
1386
|
-
# @return [Google::Apis::
|
|
1469
|
+
# @return [Google::Apis::SqladminV1beta4::FailoverContext]
|
|
1387
1470
|
attr_accessor :failover_context
|
|
1388
1471
|
|
|
1389
1472
|
def initialize(**args)
|
|
@@ -1397,12 +1480,12 @@ module Google
|
|
|
1397
1480
|
end
|
|
1398
1481
|
|
|
1399
1482
|
# Database instance import request.
|
|
1400
|
-
class
|
|
1483
|
+
class ImportInstancesRequest
|
|
1401
1484
|
include Google::Apis::Core::Hashable
|
|
1402
1485
|
|
|
1403
1486
|
# Database instance import context.
|
|
1404
1487
|
# Corresponds to the JSON property `importContext`
|
|
1405
|
-
# @return [Google::Apis::
|
|
1488
|
+
# @return [Google::Apis::SqladminV1beta4::ImportContext]
|
|
1406
1489
|
attr_accessor :import_context
|
|
1407
1490
|
|
|
1408
1491
|
def initialize(**args)
|
|
@@ -1416,12 +1499,12 @@ module Google
|
|
|
1416
1499
|
end
|
|
1417
1500
|
|
|
1418
1501
|
# Database instances list response.
|
|
1419
|
-
class
|
|
1502
|
+
class ListInstancesResponse
|
|
1420
1503
|
include Google::Apis::Core::Hashable
|
|
1421
1504
|
|
|
1422
1505
|
# List of database instance resources.
|
|
1423
1506
|
# Corresponds to the JSON property `items`
|
|
1424
|
-
# @return [Array<Google::Apis::
|
|
1507
|
+
# @return [Array<Google::Apis::SqladminV1beta4::DatabaseInstance>]
|
|
1425
1508
|
attr_accessor :items
|
|
1426
1509
|
|
|
1427
1510
|
# This is always *sql#instancesList*.
|
|
@@ -1437,7 +1520,7 @@ module Google
|
|
|
1437
1520
|
|
|
1438
1521
|
# List of warnings that occurred while handling the request.
|
|
1439
1522
|
# Corresponds to the JSON property `warnings`
|
|
1440
|
-
# @return [Array<Google::Apis::
|
|
1523
|
+
# @return [Array<Google::Apis::SqladminV1beta4::ApiWarning>]
|
|
1441
1524
|
attr_accessor :warnings
|
|
1442
1525
|
|
|
1443
1526
|
def initialize(**args)
|
|
@@ -1464,7 +1547,7 @@ module Google
|
|
|
1464
1547
|
|
|
1465
1548
|
# List of server CA certificates for the instance.
|
|
1466
1549
|
# Corresponds to the JSON property `certs`
|
|
1467
|
-
# @return [Array<Google::Apis::
|
|
1550
|
+
# @return [Array<Google::Apis::SqladminV1beta4::SslCert>]
|
|
1468
1551
|
attr_accessor :certs
|
|
1469
1552
|
|
|
1470
1553
|
# This is always *sql#instancesListServerCas*.
|
|
@@ -1485,13 +1568,13 @@ module Google
|
|
|
1485
1568
|
end
|
|
1486
1569
|
|
|
1487
1570
|
# Database instance restore backup request.
|
|
1488
|
-
class
|
|
1571
|
+
class RestoreInstancesBackupRequest
|
|
1489
1572
|
include Google::Apis::Core::Hashable
|
|
1490
1573
|
|
|
1491
1574
|
# Database instance restore from backup context. Backup context contains source
|
|
1492
1575
|
# instance id and project id.
|
|
1493
1576
|
# Corresponds to the JSON property `restoreBackupContext`
|
|
1494
|
-
# @return [Google::Apis::
|
|
1577
|
+
# @return [Google::Apis::SqladminV1beta4::RestoreBackupContext]
|
|
1495
1578
|
attr_accessor :restore_backup_context
|
|
1496
1579
|
|
|
1497
1580
|
def initialize(**args)
|
|
@@ -1510,7 +1593,7 @@ module Google
|
|
|
1510
1593
|
|
|
1511
1594
|
# Instance rotate server CA context.
|
|
1512
1595
|
# Corresponds to the JSON property `rotateServerCaContext`
|
|
1513
|
-
# @return [Google::Apis::
|
|
1596
|
+
# @return [Google::Apis::SqladminV1beta4::RotateServerCaContext]
|
|
1514
1597
|
attr_accessor :rotate_server_ca_context
|
|
1515
1598
|
|
|
1516
1599
|
def initialize(**args)
|
|
@@ -1529,7 +1612,7 @@ module Google
|
|
|
1529
1612
|
|
|
1530
1613
|
# Database Instance truncate log context.
|
|
1531
1614
|
# Corresponds to the JSON property `truncateLogContext`
|
|
1532
|
-
# @return [Google::Apis::
|
|
1615
|
+
# @return [Google::Apis::SqladminV1beta4::TruncateLogContext]
|
|
1533
1616
|
attr_accessor :truncate_log_context
|
|
1534
1617
|
|
|
1535
1618
|
def initialize(**args)
|
|
@@ -1550,7 +1633,7 @@ module Google
|
|
|
1550
1633
|
# using the IP. In 'CIDR' notation, also known as 'slash' notation (for example:
|
|
1551
1634
|
# *192.168.100.0/24*).
|
|
1552
1635
|
# Corresponds to the JSON property `authorizedNetworks`
|
|
1553
|
-
# @return [Array<Google::Apis::
|
|
1636
|
+
# @return [Array<Google::Apis::SqladminV1beta4::AclEntry>]
|
|
1554
1637
|
attr_accessor :authorized_networks
|
|
1555
1638
|
|
|
1556
1639
|
# Whether the instance is assigned a public IP address or not.
|
|
@@ -1756,8 +1839,8 @@ module Google
|
|
|
1756
1839
|
# @return [String]
|
|
1757
1840
|
attr_accessor :username
|
|
1758
1841
|
|
|
1759
|
-
# Whether or not to check the
|
|
1760
|
-
# it sends during the SSL handshake.
|
|
1842
|
+
# Whether or not to check the primary instance's Common Name value in the
|
|
1843
|
+
# certificate that it sends during the SSL handshake.
|
|
1761
1844
|
# Corresponds to the JSON property `verifyServerCertificate`
|
|
1762
1845
|
# @return [Boolean]
|
|
1763
1846
|
attr_accessor :verify_server_certificate
|
|
@@ -1859,17 +1942,17 @@ module Google
|
|
|
1859
1942
|
|
|
1860
1943
|
# Database instance operation errors list wrapper.
|
|
1861
1944
|
# Corresponds to the JSON property `error`
|
|
1862
|
-
# @return [Google::Apis::
|
|
1945
|
+
# @return [Google::Apis::SqladminV1beta4::OperationErrors]
|
|
1863
1946
|
attr_accessor :error
|
|
1864
1947
|
|
|
1865
1948
|
# Database instance export context.
|
|
1866
1949
|
# Corresponds to the JSON property `exportContext`
|
|
1867
|
-
# @return [Google::Apis::
|
|
1950
|
+
# @return [Google::Apis::SqladminV1beta4::ExportContext]
|
|
1868
1951
|
attr_accessor :export_context
|
|
1869
1952
|
|
|
1870
1953
|
# Database instance import context.
|
|
1871
1954
|
# Corresponds to the JSON property `importContext`
|
|
1872
|
-
# @return [Google::Apis::
|
|
1955
|
+
# @return [Google::Apis::SqladminV1beta4::ImportContext]
|
|
1873
1956
|
attr_accessor :import_context
|
|
1874
1957
|
|
|
1875
1958
|
# The time this operation was enqueued in UTC timezone in RFC 3339 format, for
|
|
@@ -1995,7 +2078,7 @@ module Google
|
|
|
1995
2078
|
|
|
1996
2079
|
# The list of errors encountered while processing this operation.
|
|
1997
2080
|
# Corresponds to the JSON property `errors`
|
|
1998
|
-
# @return [Array<Google::Apis::
|
|
2081
|
+
# @return [Array<Google::Apis::SqladminV1beta4::OperationError>]
|
|
1999
2082
|
attr_accessor :errors
|
|
2000
2083
|
|
|
2001
2084
|
# This is always *sql#operationErrors*.
|
|
@@ -2015,12 +2098,12 @@ module Google
|
|
|
2015
2098
|
end
|
|
2016
2099
|
|
|
2017
2100
|
# Database instance list operations response.
|
|
2018
|
-
class
|
|
2101
|
+
class ListOperationsResponse
|
|
2019
2102
|
include Google::Apis::Core::Hashable
|
|
2020
2103
|
|
|
2021
2104
|
# List of operation resources.
|
|
2022
2105
|
# Corresponds to the JSON property `items`
|
|
2023
|
-
# @return [Array<Google::Apis::
|
|
2106
|
+
# @return [Array<Google::Apis::SqladminV1beta4::Operation>]
|
|
2024
2107
|
attr_accessor :items
|
|
2025
2108
|
|
|
2026
2109
|
# This is always *sql#operationsList*.
|
|
@@ -2046,15 +2129,15 @@ module Google
|
|
|
2046
2129
|
end
|
|
2047
2130
|
end
|
|
2048
2131
|
|
|
2049
|
-
# Read-replica configuration for connecting to the
|
|
2132
|
+
# Read-replica configuration for connecting to the primary instance.
|
|
2050
2133
|
class ReplicaConfiguration
|
|
2051
2134
|
include Google::Apis::Core::Hashable
|
|
2052
2135
|
|
|
2053
2136
|
# Specifies if the replica is the failover target. If the field is set to *true*
|
|
2054
|
-
# the replica will be designated as a failover replica. In case the
|
|
2055
|
-
# instance fails, the replica instance will be promoted as the new
|
|
2137
|
+
# the replica will be designated as a failover replica. In case the primary
|
|
2138
|
+
# instance fails, the replica instance will be promoted as the new primary
|
|
2056
2139
|
# instance. Only one replica can be specified as failover target, and the
|
|
2057
|
-
# replica has to be in different zone with the
|
|
2140
|
+
# replica has to be in different zone with the primary instance.
|
|
2058
2141
|
# Corresponds to the JSON property `failoverTarget`
|
|
2059
2142
|
# @return [Boolean]
|
|
2060
2143
|
attr_accessor :failover_target
|
|
@@ -2067,7 +2150,7 @@ module Google
|
|
|
2067
2150
|
|
|
2068
2151
|
# Read-replica configuration specific to MySQL databases.
|
|
2069
2152
|
# Corresponds to the JSON property `mysqlReplicaConfiguration`
|
|
2070
|
-
# @return [Google::Apis::
|
|
2153
|
+
# @return [Google::Apis::SqladminV1beta4::MySqlReplicaConfiguration]
|
|
2071
2154
|
attr_accessor :mysql_replica_configuration
|
|
2072
2155
|
|
|
2073
2156
|
def initialize(**args)
|
|
@@ -2186,6 +2269,11 @@ module Google
|
|
|
2186
2269
|
# @return [String]
|
|
2187
2270
|
attr_accessor :activation_policy
|
|
2188
2271
|
|
|
2272
|
+
# Active Directory configuration, for now relevant only for SQL Server
|
|
2273
|
+
# Corresponds to the JSON property `activeDirectoryConfig`
|
|
2274
|
+
# @return [Google::Apis::SqladminV1beta4::SqlActiveDirectoryConfig]
|
|
2275
|
+
attr_accessor :active_directory_config
|
|
2276
|
+
|
|
2189
2277
|
# The App Engine app IDs that can access this instance. (Deprecated) Applied to
|
|
2190
2278
|
# First Generation instances only.
|
|
2191
2279
|
# Corresponds to the JSON property `authorizedGaeApplications`
|
|
@@ -2203,7 +2291,7 @@ module Google
|
|
|
2203
2291
|
|
|
2204
2292
|
# Database instance backup configuration.
|
|
2205
2293
|
# Corresponds to the JSON property `backupConfiguration`
|
|
2206
|
-
# @return [Google::Apis::
|
|
2294
|
+
# @return [Google::Apis::SqladminV1beta4::BackupConfiguration]
|
|
2207
2295
|
attr_accessor :backup_configuration
|
|
2208
2296
|
|
|
2209
2297
|
# The name of server Instance collation.
|
|
@@ -2232,7 +2320,7 @@ module Google
|
|
|
2232
2320
|
|
|
2233
2321
|
# The database flags passed to the instance at startup.
|
|
2234
2322
|
# Corresponds to the JSON property `databaseFlags`
|
|
2235
|
-
# @return [Array<Google::Apis::
|
|
2323
|
+
# @return [Array<Google::Apis::SqladminV1beta4::DatabaseFlags>]
|
|
2236
2324
|
attr_accessor :database_flags
|
|
2237
2325
|
|
|
2238
2326
|
# Configuration specific to read replica instances. Indicates whether
|
|
@@ -2242,9 +2330,14 @@ module Google
|
|
|
2242
2330
|
attr_accessor :database_replication_enabled
|
|
2243
2331
|
alias_method :database_replication_enabled?, :database_replication_enabled
|
|
2244
2332
|
|
|
2333
|
+
# Deny maintenance periods
|
|
2334
|
+
# Corresponds to the JSON property `denyMaintenancePeriods`
|
|
2335
|
+
# @return [Array<Google::Apis::SqladminV1beta4::DenyMaintenancePeriod>]
|
|
2336
|
+
attr_accessor :deny_maintenance_periods
|
|
2337
|
+
|
|
2245
2338
|
# IP Management configuration.
|
|
2246
2339
|
# Corresponds to the JSON property `ipConfiguration`
|
|
2247
|
-
# @return [Google::Apis::
|
|
2340
|
+
# @return [Google::Apis::SqladminV1beta4::IpConfiguration]
|
|
2248
2341
|
attr_accessor :ip_configuration
|
|
2249
2342
|
|
|
2250
2343
|
# This is always *sql#settings*.
|
|
@@ -2258,13 +2351,13 @@ module Google
|
|
|
2258
2351
|
# instance will be located as close as possible within the region. Only one
|
|
2259
2352
|
# location may be specified.
|
|
2260
2353
|
# Corresponds to the JSON property `locationPreference`
|
|
2261
|
-
# @return [Google::Apis::
|
|
2354
|
+
# @return [Google::Apis::SqladminV1beta4::LocationPreference]
|
|
2262
2355
|
attr_accessor :location_preference
|
|
2263
2356
|
|
|
2264
2357
|
# Maintenance window. This specifies when a Cloud SQL instance is restarted for
|
|
2265
2358
|
# system maintenance purposes.
|
|
2266
2359
|
# Corresponds to the JSON property `maintenanceWindow`
|
|
2267
|
-
# @return [Google::Apis::
|
|
2360
|
+
# @return [Google::Apis::SqladminV1beta4::MaintenanceWindow]
|
|
2268
2361
|
attr_accessor :maintenance_window
|
|
2269
2362
|
|
|
2270
2363
|
# The pricing plan for this instance. This can be either *PER_USE* or *PACKAGE*.
|
|
@@ -2320,6 +2413,7 @@ module Google
|
|
|
2320
2413
|
# Update properties of this object
|
|
2321
2414
|
def update!(**args)
|
|
2322
2415
|
@activation_policy = args[:activation_policy] if args.key?(:activation_policy)
|
|
2416
|
+
@active_directory_config = args[:active_directory_config] if args.key?(:active_directory_config)
|
|
2323
2417
|
@authorized_gae_applications = args[:authorized_gae_applications] if args.key?(:authorized_gae_applications)
|
|
2324
2418
|
@availability_type = args[:availability_type] if args.key?(:availability_type)
|
|
2325
2419
|
@backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
|
|
@@ -2329,6 +2423,7 @@ module Google
|
|
|
2329
2423
|
@data_disk_type = args[:data_disk_type] if args.key?(:data_disk_type)
|
|
2330
2424
|
@database_flags = args[:database_flags] if args.key?(:database_flags)
|
|
2331
2425
|
@database_replication_enabled = args[:database_replication_enabled] if args.key?(:database_replication_enabled)
|
|
2426
|
+
@deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
|
|
2332
2427
|
@ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
|
|
2333
2428
|
@kind = args[:kind] if args.key?(:kind)
|
|
2334
2429
|
@location_preference = args[:location_preference] if args.key?(:location_preference)
|
|
@@ -2343,7 +2438,32 @@ module Google
|
|
|
2343
2438
|
end
|
|
2344
2439
|
end
|
|
2345
2440
|
|
|
2346
|
-
#
|
|
2441
|
+
# Active Directory configuration, for now relevant only for SQL Server
|
|
2442
|
+
class SqlActiveDirectoryConfig
|
|
2443
|
+
include Google::Apis::Core::Hashable
|
|
2444
|
+
|
|
2445
|
+
# Domain name
|
|
2446
|
+
# Corresponds to the JSON property `domain`
|
|
2447
|
+
# @return [String]
|
|
2448
|
+
attr_accessor :domain
|
|
2449
|
+
|
|
2450
|
+
# This will be always sql#activeDirectoryConfig.
|
|
2451
|
+
# Corresponds to the JSON property `kind`
|
|
2452
|
+
# @return [String]
|
|
2453
|
+
attr_accessor :kind
|
|
2454
|
+
|
|
2455
|
+
def initialize(**args)
|
|
2456
|
+
update!(**args)
|
|
2457
|
+
end
|
|
2458
|
+
|
|
2459
|
+
# Update properties of this object
|
|
2460
|
+
def update!(**args)
|
|
2461
|
+
@domain = args[:domain] if args.key?(:domain)
|
|
2462
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
2463
|
+
end
|
|
2464
|
+
end
|
|
2465
|
+
|
|
2466
|
+
# External primary instance migration setting error.
|
|
2347
2467
|
class SqlExternalSyncSettingError
|
|
2348
2468
|
include Google::Apis::Core::Hashable
|
|
2349
2469
|
|
|
@@ -2380,7 +2500,7 @@ module Google
|
|
|
2380
2500
|
|
|
2381
2501
|
# Required. The type of the reschedule the user wants.
|
|
2382
2502
|
# Corresponds to the JSON property `reschedule`
|
|
2383
|
-
# @return [Google::Apis::
|
|
2503
|
+
# @return [Google::Apis::SqladminV1beta4::Reschedule]
|
|
2384
2504
|
attr_accessor :reschedule
|
|
2385
2505
|
|
|
2386
2506
|
def initialize(**args)
|
|
@@ -2399,7 +2519,7 @@ module Google
|
|
|
2399
2519
|
|
|
2400
2520
|
# List of migration violations.
|
|
2401
2521
|
# Corresponds to the JSON property `errors`
|
|
2402
|
-
# @return [Array<Google::Apis::
|
|
2522
|
+
# @return [Array<Google::Apis::SqladminV1beta4::SqlExternalSyncSettingError>]
|
|
2403
2523
|
attr_accessor :errors
|
|
2404
2524
|
|
|
2405
2525
|
# This is always *sql#migrationSettingErrorList*.
|
|
@@ -2577,7 +2697,7 @@ module Google
|
|
|
2577
2697
|
|
|
2578
2698
|
# SslCerts Resource
|
|
2579
2699
|
# Corresponds to the JSON property `certInfo`
|
|
2580
|
-
# @return [Google::Apis::
|
|
2700
|
+
# @return [Google::Apis::SqladminV1beta4::SslCert]
|
|
2581
2701
|
attr_accessor :cert_info
|
|
2582
2702
|
|
|
2583
2703
|
# The private key for the client cert, in pem format. Keep private in order to
|
|
@@ -2617,7 +2737,7 @@ module Google
|
|
|
2617
2737
|
end
|
|
2618
2738
|
|
|
2619
2739
|
# SslCerts insert request.
|
|
2620
|
-
class
|
|
2740
|
+
class InsertSslCertsRequest
|
|
2621
2741
|
include Google::Apis::Core::Hashable
|
|
2622
2742
|
|
|
2623
2743
|
# User supplied name. Must be a distinct name from the other certificates for
|
|
@@ -2637,12 +2757,12 @@ module Google
|
|
|
2637
2757
|
end
|
|
2638
2758
|
|
|
2639
2759
|
# SslCert insert response.
|
|
2640
|
-
class
|
|
2760
|
+
class InsertSslCertsResponse
|
|
2641
2761
|
include Google::Apis::Core::Hashable
|
|
2642
2762
|
|
|
2643
2763
|
# SslCertDetail.
|
|
2644
2764
|
# Corresponds to the JSON property `clientCert`
|
|
2645
|
-
# @return [Google::Apis::
|
|
2765
|
+
# @return [Google::Apis::SqladminV1beta4::SslCertDetail]
|
|
2646
2766
|
attr_accessor :client_cert
|
|
2647
2767
|
|
|
2648
2768
|
# This is always *sql#sslCertsInsert*.
|
|
@@ -2654,12 +2774,12 @@ module Google
|
|
|
2654
2774
|
# resource, only the fields relevant to the operation are populated in the
|
|
2655
2775
|
# resource.
|
|
2656
2776
|
# Corresponds to the JSON property `operation`
|
|
2657
|
-
# @return [Google::Apis::
|
|
2777
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
|
2658
2778
|
attr_accessor :operation
|
|
2659
2779
|
|
|
2660
2780
|
# SslCerts Resource
|
|
2661
2781
|
# Corresponds to the JSON property `serverCaCert`
|
|
2662
|
-
# @return [Google::Apis::
|
|
2782
|
+
# @return [Google::Apis::SqladminV1beta4::SslCert]
|
|
2663
2783
|
attr_accessor :server_ca_cert
|
|
2664
2784
|
|
|
2665
2785
|
def initialize(**args)
|
|
@@ -2676,12 +2796,12 @@ module Google
|
|
|
2676
2796
|
end
|
|
2677
2797
|
|
|
2678
2798
|
# SslCerts list response.
|
|
2679
|
-
class
|
|
2799
|
+
class ListSslCertsResponse
|
|
2680
2800
|
include Google::Apis::Core::Hashable
|
|
2681
2801
|
|
|
2682
2802
|
# List of client certificates for the instance.
|
|
2683
2803
|
# Corresponds to the JSON property `items`
|
|
2684
|
-
# @return [Array<Google::Apis::
|
|
2804
|
+
# @return [Array<Google::Apis::SqladminV1beta4::SslCert>]
|
|
2685
2805
|
attr_accessor :items
|
|
2686
2806
|
|
|
2687
2807
|
# This is always *sql#sslCertsList*.
|
|
@@ -2745,12 +2865,12 @@ module Google
|
|
|
2745
2865
|
end
|
|
2746
2866
|
|
|
2747
2867
|
# Tiers list response.
|
|
2748
|
-
class
|
|
2868
|
+
class ListTiersResponse
|
|
2749
2869
|
include Google::Apis::Core::Hashable
|
|
2750
2870
|
|
|
2751
2871
|
# List of tiers.
|
|
2752
2872
|
# Corresponds to the JSON property `items`
|
|
2753
|
-
# @return [Array<Google::Apis::
|
|
2873
|
+
# @return [Array<Google::Apis::SqladminV1beta4::Tier>]
|
|
2754
2874
|
attr_accessor :items
|
|
2755
2875
|
|
|
2756
2876
|
# This is always *sql#tiersList*.
|
|
@@ -2842,7 +2962,7 @@ module Google
|
|
|
2842
2962
|
|
|
2843
2963
|
# Represents a Sql Server user on the Cloud SQL instance.
|
|
2844
2964
|
# Corresponds to the JSON property `sqlserverUserDetails`
|
|
2845
|
-
# @return [Google::Apis::
|
|
2965
|
+
# @return [Google::Apis::SqladminV1beta4::SqlServerUserDetails]
|
|
2846
2966
|
attr_accessor :sqlserver_user_details
|
|
2847
2967
|
|
|
2848
2968
|
# The user type. It determines the method to authenticate the user during login.
|
|
@@ -2870,12 +2990,12 @@ module Google
|
|
|
2870
2990
|
end
|
|
2871
2991
|
|
|
2872
2992
|
# User list response.
|
|
2873
|
-
class
|
|
2993
|
+
class ListUsersResponse
|
|
2874
2994
|
include Google::Apis::Core::Hashable
|
|
2875
2995
|
|
|
2876
2996
|
# List of user resources in the instance.
|
|
2877
2997
|
# Corresponds to the JSON property `items`
|
|
2878
|
-
# @return [Array<Google::Apis::
|
|
2998
|
+
# @return [Array<Google::Apis::SqladminV1beta4::User>]
|
|
2879
2999
|
attr_accessor :items
|
|
2880
3000
|
|
|
2881
3001
|
# This is always *sql#usersList*.
|