google-api-client 0.32.1 → 0.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.kokoro/continuous/linux.cfg +2 -2
- data/.kokoro/continuous/post.cfg +30 -0
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/.kokoro/release.cfg +94 -0
- data/.repo-metadata.json +5 -0
- data/.rubocop.yml +5 -0
- data/.yardopts +16 -2
- data/CHANGELOG.md +1354 -0
- data/Gemfile +1 -0
- data/OVERVIEW.md +36 -0
- data/README.md +50 -2
- data/Rakefile +71 -2
- data/api_list_config.yaml +1 -0
- data/api_names.yaml +2 -0
- data/bin/generate-api +10 -2
- data/docs/api-keys.md +20 -0
- data/docs/auth.md +53 -0
- data/docs/client-secrets.md +69 -0
- data/docs/getting-started.md +340 -0
- data/docs/installation.md +0 -0
- data/docs/logging.md +34 -0
- data/docs/media-upload.md +25 -0
- data/docs/oauth-installed.md +191 -0
- data/docs/oauth-server.md +135 -0
- data/docs/oauth-web.md +280 -0
- data/docs/oauth.md +268 -0
- data/docs/pagination.md +29 -0
- data/docs/performance.md +25 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
- data/generated/google/apis/accessapproval_v1/service.rb +869 -0
- data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +357 -56
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +137 -6
- data/generated/google/apis/accesscontextmanager_v1/service.rb +143 -5
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +133 -125
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +21 -27
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +35 -5
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +4 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -4
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +4 -150
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
- data/generated/google/apis/admin_directory_v1/service.rb +0 -60
- data/generated/google/apis/admin_directory_v1.rb +4 -1
- data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
- data/generated/google/apis/admin_reports_v1/service.rb +310 -64
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/admob_v1/classes.rb +951 -0
- data/generated/google/apis/admob_v1/representations.rb +378 -0
- data/generated/google/apis/admob_v1/service.rb +196 -0
- data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +259 -7
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +39 -60
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +203 -6
- data/generated/google/apis/androidmanagement_v1/representations.rb +68 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
- data/generated/google/apis/androidpublisher_v1.rb +1 -4
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +37 -1755
- data/generated/google/apis/androidpublisher_v2/representations.rb +15 -804
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +404 -65
- data/generated/google/apis/androidpublisher_v3/representations.rb +180 -27
- data/generated/google/apis/androidpublisher_v3/service.rb +162 -3
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +4928 -0
- data/generated/google/apis/apigee_v1/representations.rb +1822 -0
- data/generated/google/apis/apigee_v1/service.rb +5578 -0
- data/generated/google/apis/apigee_v1.rb +40 -0
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1/service.rb +10 -6
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -38
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -17
- data/generated/google/apis/appengine_v1beta/service.rb +10 -6
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → artifactregistry_v1beta1}/classes.rb +591 -765
- data/generated/google/apis/{servicebroker_v1alpha1 → artifactregistry_v1beta1}/representations.rb +128 -115
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/bigquery_v2/classes.rb +993 -43
- data/generated/google/apis/bigquery_v2/representations.rb +273 -2
- data/generated/google/apis/bigquery_v2/service.rb +137 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +149 -59
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +11 -10
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +90 -34
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +392 -16
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +174 -6
- data/generated/google/apis/bigqueryreservation_v1/service.rb +758 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +109 -10
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +26 -3
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +166 -160
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +49 -38
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +257 -146
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +21 -18
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +189 -82
- data/generated/google/apis/bigtableadmin_v2/service.rb +170 -58
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +413 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +197 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +244 -0
- data/generated/google/apis/{servicebroker_v1beta1.rb → billingbudgets_v1beta1.rb} +9 -10
- data/generated/google/apis/binaryauthorization_v1/classes.rb +143 -58
- data/generated/google/apis/binaryauthorization_v1/service.rb +10 -2
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +139 -57
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -2
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/classes.rb +297 -45
- data/generated/google/apis/blogger_v2/representations.rb +105 -26
- data/generated/google/apis/blogger_v2/service.rb +79 -134
- data/generated/google/apis/blogger_v2.rb +5 -4
- data/generated/google/apis/blogger_v3/classes.rb +60 -53
- data/generated/google/apis/blogger_v3/representations.rb +10 -18
- data/generated/google/apis/blogger_v3/service.rb +183 -463
- data/generated/google/apis/blogger_v3.rb +4 -3
- data/generated/google/apis/books_v1/classes.rb +494 -242
- data/generated/google/apis/books_v1/representations.rb +145 -72
- data/generated/google/apis/books_v1/service.rb +354 -484
- data/generated/google/apis/books_v1.rb +3 -3
- data/generated/google/apis/calendar_v3/classes.rb +8 -21
- data/generated/google/apis/calendar_v3/service.rb +18 -30
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +29 -3
- data/generated/google/apis/chat_v1/representations.rb +3 -0
- data/generated/google/apis/chat_v1/service.rb +5 -2
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
- data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
- data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +14 -14
- data/generated/google/apis/classroom_v1/service.rb +11 -11
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +917 -195
- data/generated/google/apis/cloudasset_v1/representations.rb +234 -6
- data/generated/google/apis/cloudasset_v1/service.rb +363 -12
- data/generated/google/apis/cloudasset_v1.rb +2 -2
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +139 -57
- data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -4
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +701 -0
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +201 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +189 -0
- data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
- data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +34 -0
- data/generated/google/apis/cloudbilling_v1/classes.rb +179 -68
- data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +16 -9
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +55 -10
- data/generated/google/apis/cloudbuild_v1/representations.rb +5 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +139 -18
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +170 -5
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +63 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -5
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1283 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +491 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +353 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +34 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +34 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +24 -17
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +13 -13
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
- data/generated/google/apis/cloudfunctions_v1/classes.rb +161 -59
- data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +13 -4
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
- data/generated/google/apis/cloudidentity_v1/service.rb +22 -14
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1009 -69
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +390 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -78
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +142 -57
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +461 -61
- data/generated/google/apis/cloudkms_v1/representations.rb +33 -0
- data/generated/google/apis/cloudkms_v1/service.rb +15 -3
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +155 -71
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +143 -59
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +147 -67
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +147 -67
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +3 -2
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +3 -2
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +86 -195
- data/generated/google/apis/cloudsearch_v1/representations.rb +1 -75
- data/generated/google/apis/cloudsearch_v1/service.rb +62 -10
- data/generated/google/apis/cloudsearch_v1.rb +8 -8
- data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
- data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +30 -1
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +5 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +388 -70
- data/generated/google/apis/cloudtasks_v2/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +148 -66
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +156 -74
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +10 -4
- data/generated/google/apis/cloudtrace_v1.rb +5 -5
- data/generated/google/apis/cloudtrace_v2/classes.rb +8 -7
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -4
- data/generated/google/apis/cloudtrace_v2.rb +5 -5
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +143 -0
- data/generated/google/apis/{oauth2_v1 → cloudtrace_v2beta1}/representations.rb +36 -27
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
- data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
- data/generated/google/apis/composer_v1/classes.rb +180 -0
- data/generated/google/apis/composer_v1/representations.rb +54 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +152 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
- data/generated/google/apis/composer_v1beta1/service.rb +5 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +3252 -973
- data/generated/google/apis/compute_alpha/representations.rb +634 -69
- data/generated/google/apis/compute_alpha/service.rb +9085 -6210
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +4787 -1066
- data/generated/google/apis/compute_beta/representations.rb +1394 -31
- data/generated/google/apis/compute_beta/service.rb +8858 -5018
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +2976 -599
- data/generated/google/apis/compute_v1/representations.rb +850 -0
- data/generated/google/apis/compute_v1/service.rb +4634 -2481
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +925 -164
- data/generated/google/apis/container_v1/representations.rb +278 -0
- data/generated/google/apis/container_v1/service.rb +175 -158
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +803 -340
- data/generated/google/apis/container_v1beta1/representations.rb +185 -39
- data/generated/google/apis/container_v1beta1/service.rb +294 -277
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +142 -57
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +478 -59
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1566 -634
- data/generated/google/apis/content_v2/representations.rb +78 -115
- data/generated/google/apis/content_v2/service.rb +81 -206
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +2706 -683
- data/generated/google/apis/content_v2_1/representations.rb +551 -0
- data/generated/google/apis/content_v2_1/service.rb +520 -46
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
- data/generated/google/apis/customsearch_v1/representations.rb +166 -95
- data/generated/google/apis/customsearch_v1/service.rb +373 -104
- data/generated/google/apis/customsearch_v1.rb +3 -3
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1907 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +739 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +2247 -0
- data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → datacatalog_v1beta1.rb} +9 -9
- data/generated/google/apis/dataflow_v1b3/classes.rb +786 -11
- data/generated/google/apis/dataflow_v1b3/representations.rb +377 -1
- data/generated/google/apis/dataflow_v1b3/service.rb +626 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +245 -362
- data/generated/google/apis/datafusion_v1beta1/representations.rb +29 -112
- data/generated/google/apis/datafusion_v1beta1/service.rb +15 -2
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +533 -177
- data/generated/google/apis/dataproc_v1/representations.rb +85 -0
- data/generated/google/apis/dataproc_v1/service.rb +102 -36
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +477 -182
- data/generated/google/apis/dataproc_v1beta2/representations.rb +81 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +199 -43
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +17 -23
- data/generated/google/apis/datastore_v1/service.rb +93 -9
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +6 -5
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
- data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +39 -13
- data/generated/google/apis/dfareporting_v3_3/service.rb +9 -8
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1361 -813
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +639 -396
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +969 -1076
- data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
- data/generated/google/apis/dialogflow_v2/classes.rb +1778 -219
- data/generated/google/apis/dialogflow_v2/representations.rb +603 -0
- data/generated/google/apis/dialogflow_v2/service.rb +849 -158
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1776 -242
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +592 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +436 -172
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
- data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
- data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +7527 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +3034 -0
- data/generated/google/apis/displayvideo_v1/service.rb +3126 -0
- data/generated/google/apis/displayvideo_v1.rb +38 -0
- data/generated/google/apis/dlp_v2/classes.rb +798 -130
- data/generated/google/apis/dlp_v2/representations.rb +277 -3
- data/generated/google/apis/dlp_v2/service.rb +2074 -231
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +220 -251
- data/generated/google/apis/dns_v1/representations.rb +49 -0
- data/generated/google/apis/dns_v1/service.rb +21 -141
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +224 -261
- data/generated/google/apis/dns_v1beta2/representations.rb +49 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +220 -251
- data/generated/google/apis/dns_v2beta1/representations.rb +49 -0
- data/generated/google/apis/dns_v2beta1/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +608 -2
- data/generated/google/apis/docs_v1/representations.rb +211 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +860 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +388 -0
- data/generated/google/apis/{surveys_v2 → doubleclickbidmanager_v1_1}/service.rb +140 -110
- data/generated/google/apis/{proximitybeacon_v1beta1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
- data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +58 -5
- data/generated/google/apis/drive_v2/representations.rb +18 -0
- data/generated/google/apis/drive_v2/service.rb +92 -118
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +66 -5
- data/generated/google/apis/drive_v3/representations.rb +18 -0
- data/generated/google/apis/drive_v3/service.rb +46 -14
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +15 -5
- data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +15 -0
- data/generated/google/apis/fcm_v1/representations.rb +2 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1235 -158
- data/generated/google/apis/file_v1/representations.rb +401 -22
- data/generated/google/apis/file_v1/service.rb +14 -10
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1236 -159
- data/generated/google/apis/file_v1beta1/representations.rb +401 -22
- data/generated/google/apis/file_v1beta1/service.rb +18 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +20 -16
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +22 -16
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -1
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +65 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +805 -2
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
- data/generated/google/apis/{servicebroker_v1 → firebaseml_v1}/representations.rb +26 -28
- data/generated/google/apis/firebaseml_v1/service.rb +181 -0
- data/generated/google/apis/firebaseml_v1.rb +34 -0
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
- data/generated/google/apis/{cloudprivatecatalog_v1beta1 → firebaseml_v1beta2}/representations.rb +62 -31
- data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
- data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
- data/generated/google/apis/firebaserules_v1/classes.rb +113 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +52 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +16 -5
- data/generated/google/apis/firestore_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1/service.rb +26 -24
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +16 -5
- data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +18 -16
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +189 -153
- data/generated/google/apis/fitness_v1/service.rb +192 -198
- data/generated/google/apis/fitness_v1.rb +14 -14
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +38 -53
- data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
- data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
- data/generated/google/apis/games_management_v1management/classes.rb +50 -109
- data/generated/google/apis/games_management_v1management/representations.rb +0 -30
- data/generated/google/apis/games_management_v1management/service.rb +116 -452
- data/generated/google/apis/games_management_v1management.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +14 -293
- data/generated/google/apis/games_v1/representations.rb +2 -98
- data/generated/google/apis/games_v1/service.rb +3 -135
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +1472 -0
- data/generated/google/apis/gameservices_v1beta.rb +34 -0
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +6 -2
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +13 -1
- data/generated/google/apis/healthcare_v1/classes.rb +2659 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
- data/generated/google/apis/healthcare_v1/service.rb +3439 -0
- data/generated/google/apis/healthcare_v1.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1013 -128
- data/generated/google/apis/healthcare_v1beta1/representations.rb +341 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +762 -275
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +79 -56
- data/generated/google/apis/homegraph_v1/representations.rb +2 -1
- data/generated/google/apis/homegraph_v1/service.rb +43 -47
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +201 -169
- data/generated/google/apis/iam_v1/representations.rb +1 -6
- data/generated/google/apis/iam_v1/service.rb +18 -21
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +40 -8
- data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +691 -59
- data/generated/google/apis/iap_v1/representations.rb +254 -0
- data/generated/google/apis/iap_v1/service.rb +362 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +144 -59
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +167 -0
- data/generated/google/apis/jobs_v2/representations.rb +40 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +180 -0
- data/generated/google/apis/jobs_v3/representations.rb +41 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +187 -2
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +23 -7
- data/generated/google/apis/language_v1beta2/representations.rb +2 -0
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +15 -7
- data/generated/google/apis/licensing_v1/service.rb +81 -37
- data/generated/google/apis/licensing_v1.rb +4 -4
- data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
- data/generated/google/apis/lifesciences_v2beta.rb +35 -0
- data/generated/google/apis/logging_v2/classes.rb +292 -91
- data/generated/google/apis/logging_v2/representations.rb +51 -0
- data/generated/google/apis/logging_v2/service.rb +888 -15
- data/generated/google/apis/logging_v2.rb +6 -6
- data/generated/google/apis/managedidentities_v1/classes.rb +1571 -0
- data/generated/google/apis/managedidentities_v1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1/service.rb +779 -0
- data/generated/google/apis/managedidentities_v1.rb +35 -0
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1570 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
- data/generated/google/apis/{servicebroker_v1alpha1.rb → managedidentities_v1alpha1.rb} +9 -10
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +1568 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
- data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1587 -0
- data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +677 -0
- data/generated/google/apis/memcache_v1beta2.rb +35 -0
- data/generated/google/apis/ml_v1/classes.rb +1518 -233
- data/generated/google/apis/ml_v1/representations.rb +559 -0
- data/generated/google/apis/ml_v1/service.rb +560 -25
- data/generated/google/apis/ml_v1.rb +5 -2
- data/generated/google/apis/monitoring_v1/classes.rb +1231 -0
- data/generated/google/apis/monitoring_v1/representations.rb +513 -0
- data/generated/google/apis/monitoring_v1/service.rb +246 -0
- data/generated/google/apis/monitoring_v1.rb +47 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1330 -172
- data/generated/google/apis/monitoring_v3/representations.rb +482 -1
- data/generated/google/apis/monitoring_v3/service.rb +614 -162
- data/generated/google/apis/monitoring_v3.rb +7 -8
- data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
- data/generated/google/apis/networkmanagement_v1.rb +35 -0
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +667 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → networkmanagement_v1beta1.rb} +9 -9
- data/generated/google/apis/oauth2_v2/classes.rb +1 -81
- data/generated/google/apis/oauth2_v2/representations.rb +2 -36
- data/generated/google/apis/oauth2_v2/service.rb +10 -42
- data/generated/google/apis/oauth2_v2.rb +5 -5
- data/generated/google/apis/osconfig_v1/classes.rb +1225 -0
- data/generated/google/apis/osconfig_v1/representations.rb +506 -0
- data/generated/google/apis/osconfig_v1/service.rb +386 -0
- data/generated/google/apis/osconfig_v1.rb +35 -0
- data/generated/google/apis/osconfig_v1beta/classes.rb +2362 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
- data/generated/google/apis/osconfig_v1beta.rb +35 -0
- data/generated/google/apis/oslogin_v1/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +10 -7
- data/generated/google/apis/oslogin_v1.rb +1 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -2
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +9 -6
- data/generated/google/apis/oslogin_v1beta.rb +1 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +534 -495
- data/generated/google/apis/pagespeedonline_v5/representations.rb +226 -221
- data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
- data/generated/google/apis/pagespeedonline_v5.rb +9 -4
- data/generated/google/apis/people_v1/classes.rb +104 -81
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +72 -79
- data/generated/google/apis/people_v1.rb +10 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +765 -0
- data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
- data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
- data/generated/google/apis/policytroubleshooter_v1.rb +34 -0
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +254 -111
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1137 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +532 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1676 -0
- data/generated/google/apis/{pagespeedonline_v4.rb → prod_tt_sasportal_v1alpha1.rb} +12 -10
- data/generated/google/apis/pubsub_v1/classes.rb +248 -76
- data/generated/google/apis/pubsub_v1/representations.rb +18 -0
- data/generated/google/apis/pubsub_v1/service.rb +43 -31
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +144 -59
- data/generated/google/apis/pubsub_v1beta2/service.rb +10 -2
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +221 -7
- data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1beta1/service.rb +146 -19
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +48 -18
- data/generated/google/apis/redis_v1/representations.rb +14 -0
- data/generated/google/apis/redis_v1/service.rb +41 -5
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +48 -18
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +41 -5
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +352 -37
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +99 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +352 -37
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +99 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +362 -45
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +100 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +308 -325
- data/generated/google/apis/run_v1/representations.rb +63 -103
- data/generated/google/apis/run_v1/service.rb +336 -933
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1045 -392
- data/generated/google/apis/run_v1alpha1/representations.rb +343 -144
- data/generated/google/apis/run_v1alpha1/service.rb +1735 -492
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +4 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +139 -57
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +1137 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +532 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +1676 -0
- data/generated/google/apis/{pagespeedonline_v2.rb → sasportal_v1alpha1.rb} +12 -10
- data/generated/google/apis/script_v1/classes.rb +4 -22
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +982 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → secretmanager_v1}/representations.rb +105 -116
- data/generated/google/apis/secretmanager_v1/service.rb +681 -0
- data/generated/google/apis/secretmanager_v1.rb +35 -0
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +982 -0
- data/generated/google/apis/{servicebroker_v1beta1 → secretmanager_v1beta1}/representations.rb +114 -142
- data/generated/google/apis/secretmanager_v1beta1/service.rb +681 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +35 -0
- data/generated/google/apis/securitycenter_v1/classes.rb +862 -138
- data/generated/google/apis/securitycenter_v1/representations.rb +221 -0
- data/generated/google/apis/securitycenter_v1/service.rb +225 -21
- data/generated/google/apis/securitycenter_v1.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +782 -125
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +192 -2
- data/generated/google/apis/securitycenter_v1beta1/service.rb +53 -51
- data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +568 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +190 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +2205 -0
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +751 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1329 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +419 -64
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +98 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4159 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1307 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +34 -0
- data/generated/google/apis/servicecontrol_v1/classes.rb +255 -20
- data/generated/google/apis/servicecontrol_v1/representations.rb +87 -1
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +816 -0
- data/generated/google/apis/{surveys_v2 → servicedirectory_v1beta1}/representations.rb +103 -104
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +35 -0
- data/generated/google/apis/servicemanagement_v1/classes.rb +459 -125
- data/generated/google/apis/servicemanagement_v1/representations.rb +61 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +40 -29
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +986 -68
- data/generated/google/apis/servicenetworking_v1/representations.rb +403 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +351 -23
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +575 -57
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +223 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +417 -64
- data/generated/google/apis/serviceusage_v1/representations.rb +110 -0
- data/generated/google/apis/serviceusage_v1/service.rb +42 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +644 -64
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +198 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +472 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +1741 -253
- data/generated/google/apis/sheets_v4/representations.rb +283 -0
- data/generated/google/apis/sheets_v4/service.rb +9 -11
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +1 -1
- data/generated/google/apis/slides_v1/service.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +173 -67
- data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +706 -71
- data/generated/google/apis/spanner_v1/representations.rb +194 -0
- data/generated/google/apis/spanner_v1/service.rb +770 -7
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +15 -11
- data/generated/google/apis/speech_v1/representations.rb +2 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +197 -11
- data/generated/google/apis/speech_v1p1beta1/representations.rb +79 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +16 -8
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +7 -6
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
- data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +701 -383
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +209 -104
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +579 -597
- data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
- data/generated/google/apis/storage_v1/classes.rb +73 -7
- data/generated/google/apis/storage_v1/representations.rb +10 -0
- data/generated/google/apis/storage_v1/service.rb +29 -4
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta2/service.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +280 -79
- data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +19 -41
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
- data/generated/google/apis/tagmanager_v1/service.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
- data/generated/google/apis/tagmanager_v2/service.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +26 -25
- data/generated/google/apis/tasks_v1/representations.rb +4 -8
- data/generated/google/apis/tasks_v1/service.rb +78 -124
- data/generated/google/apis/tasks_v1.rb +3 -3
- data/generated/google/apis/testing_v1/classes.rb +187 -1
- data/generated/google/apis/testing_v1/representations.rb +93 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +2061 -1133
- data/generated/google/apis/toolresults_v1beta3/representations.rb +723 -13
- data/generated/google/apis/toolresults_v1beta3/service.rb +663 -591
- data/generated/google/apis/toolresults_v1beta3.rb +2 -2
- data/generated/google/apis/tpu_v1/classes.rb +3 -4
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -4
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +946 -0
- data/generated/google/apis/translate_v3/representations.rb +439 -0
- data/generated/google/apis/translate_v3/service.rb +781 -0
- data/generated/google/apis/translate_v3.rb +37 -0
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +10 -7
- data/generated/google/apis/vault_v1/service.rb +7 -7
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
- data/generated/google/apis/verifiedaccess_v1.rb +3 -3
- data/generated/google/apis/videointelligence_v1/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1216 -129
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1290 -116
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +526 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +67 -1
- data/generated/google/apis/vision_v1/representations.rb +32 -0
- data/generated/google/apis/vision_v1/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +67 -1
- data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +67 -1
- data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +75 -4
- data/generated/google/apis/websecurityscanner_v1/representations.rb +32 -0
- data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -6
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +32 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1376 -1262
- data/generated/google/apis/youtube_v3/representations.rb +99 -191
- data/generated/google/apis/youtube_v3/service.rb +1829 -2150
- data/generated/google/apis/youtube_v3.rb +8 -5
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/google-api-client.gemspec +6 -3
- data/lib/google/apis/core/api_command.rb +7 -0
- data/lib/google/apis/core/base_service.rb +1 -1
- data/lib/google/apis/core/http_command.rb +11 -10
- data/lib/google/apis/core/upload.rb +4 -0
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/version.rb +9 -4
- data/rakelib/devsite/devsite_builder.rb +126 -0
- data/rakelib/devsite/link_checker.rb +64 -0
- data/rakelib/devsite/repo_metadata.rb +56 -0
- metadata +193 -110
- data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
- data/generated/google/apis/analytics_v2_4/service.rb +0 -331
- data/generated/google/apis/analytics_v2_4.rb +0 -37
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -485
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
- data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
- data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
- data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
- data/generated/google/apis/fusiontables_v1.rb +0 -37
- data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
- data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
- data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
- data/generated/google/apis/fusiontables_v2.rb +0 -37
- data/generated/google/apis/mirror_v1/classes.rb +0 -1072
- data/generated/google/apis/mirror_v1/representations.rb +0 -390
- data/generated/google/apis/mirror_v1/service.rb +0 -928
- data/generated/google/apis/mirror_v1.rb +0 -37
- data/generated/google/apis/oauth2_v1/classes.rb +0 -197
- data/generated/google/apis/oauth2_v1/service.rb +0 -160
- data/generated/google/apis/oauth2_v1.rb +0 -40
- data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
- data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
- data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
- data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
- data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
- data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
- data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
- data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
- data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
- data/generated/google/apis/plus_domains_v1/service.rb +0 -489
- data/generated/google/apis/plus_domains_v1.rb +0 -55
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
- data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
- data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
- data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
- data/generated/google/apis/replicapool_v1beta1.rb +0 -50
- data/generated/google/apis/servicebroker_v1/classes.rb +0 -333
- data/generated/google/apis/servicebroker_v1/service.rb +0 -177
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1037
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1173
- data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
- data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
- data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
- data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
- data/generated/google/apis/storage_v1beta1.rb +0 -40
- data/generated/google/apis/surveys_v2/classes.rb +0 -691
- data/generated/google/apis/surveys_v2.rb +0 -40
- data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
- data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
- data/generated/google/apis/urlshortener_v1/service.rb +0 -169
- data/generated/google/apis/urlshortener_v1.rb +0 -34
@@ -32,7 +32,7 @@ module Google
|
|
32
32
|
attr_accessor :accelerator_count
|
33
33
|
|
34
34
|
# The accelerator type resource name. List of supported accelerators
|
35
|
-
# [here](/compute/docs/gpus)
|
35
|
+
# [here](https://cloud.google.com/compute/docs/gpus)
|
36
36
|
# Corresponds to the JSON property `acceleratorType`
|
37
37
|
# @return [String]
|
38
38
|
attr_accessor :accelerator_type
|
@@ -58,6 +58,22 @@ module Google
|
|
58
58
|
# @return [Google::Apis::ContainerV1beta1::CloudRunConfig]
|
59
59
|
attr_accessor :cloud_run_config
|
60
60
|
|
61
|
+
# Configuration options for the Config Connector add-on.
|
62
|
+
# Corresponds to the JSON property `configConnectorConfig`
|
63
|
+
# @return [Google::Apis::ContainerV1beta1::ConfigConnectorConfig]
|
64
|
+
attr_accessor :config_connector_config
|
65
|
+
|
66
|
+
# Configuration for NodeLocal DNSCache
|
67
|
+
# Corresponds to the JSON property `dnsCacheConfig`
|
68
|
+
# @return [Google::Apis::ContainerV1beta1::DnsCacheConfig]
|
69
|
+
attr_accessor :dns_cache_config
|
70
|
+
|
71
|
+
# Configuration for the Compute Engine PD CSI driver. This option can only be
|
72
|
+
# enabled at cluster creation time.
|
73
|
+
# Corresponds to the JSON property `gcePersistentDiskCsiDriverConfig`
|
74
|
+
# @return [Google::Apis::ContainerV1beta1::GcePersistentDiskCsiDriverConfig]
|
75
|
+
attr_accessor :gce_persistent_disk_csi_driver_config
|
76
|
+
|
61
77
|
# Configuration options for the horizontal pod autoscaling feature, which
|
62
78
|
# increases or decreases the number of replica pods a replication controller
|
63
79
|
# has based on the resource usage of the existing pods.
|
@@ -76,6 +92,11 @@ module Google
|
|
76
92
|
# @return [Google::Apis::ContainerV1beta1::IstioConfig]
|
77
93
|
attr_accessor :istio_config
|
78
94
|
|
95
|
+
# Configuration options for the KALM addon.
|
96
|
+
# Corresponds to the JSON property `kalmConfig`
|
97
|
+
# @return [Google::Apis::ContainerV1beta1::KalmConfig]
|
98
|
+
attr_accessor :kalm_config
|
99
|
+
|
79
100
|
# Configuration for the Kubernetes Dashboard.
|
80
101
|
# Corresponds to the JSON property `kubernetesDashboard`
|
81
102
|
# @return [Google::Apis::ContainerV1beta1::KubernetesDashboard]
|
@@ -95,9 +116,13 @@ module Google
|
|
95
116
|
# Update properties of this object
|
96
117
|
def update!(**args)
|
97
118
|
@cloud_run_config = args[:cloud_run_config] if args.key?(:cloud_run_config)
|
119
|
+
@config_connector_config = args[:config_connector_config] if args.key?(:config_connector_config)
|
120
|
+
@dns_cache_config = args[:dns_cache_config] if args.key?(:dns_cache_config)
|
121
|
+
@gce_persistent_disk_csi_driver_config = args[:gce_persistent_disk_csi_driver_config] if args.key?(:gce_persistent_disk_csi_driver_config)
|
98
122
|
@horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
|
99
123
|
@http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
|
100
124
|
@istio_config = args[:istio_config] if args.key?(:istio_config)
|
125
|
+
@kalm_config = args[:kalm_config] if args.key?(:kalm_config)
|
101
126
|
@kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard)
|
102
127
|
@network_policy_config = args[:network_policy_config] if args.key?(:network_policy_config)
|
103
128
|
end
|
@@ -165,26 +190,94 @@ module Google
|
|
165
190
|
class AutoprovisioningNodePoolDefaults
|
166
191
|
include Google::Apis::Core::Hashable
|
167
192
|
|
168
|
-
#
|
169
|
-
#
|
193
|
+
# NodeManagement defines the set of node management services turned on for the
|
194
|
+
# node pool.
|
195
|
+
# Corresponds to the JSON property `management`
|
196
|
+
# @return [Google::Apis::ContainerV1beta1::NodeManagement]
|
197
|
+
attr_accessor :management
|
198
|
+
|
199
|
+
# Minimum CPU platform to be used for NAP created node pools.
|
200
|
+
# The instance may be scheduled on the specified or newer CPU platform.
|
201
|
+
# Applicable values are the friendly names of CPU platforms, such as
|
202
|
+
# <code>minCpuPlatform: "Intel Haswell"</code> or
|
203
|
+
# <code>minCpuPlatform: "Intel Sandy Bridge"</code>. For more
|
204
|
+
# information, read [how to specify min CPU
|
205
|
+
# platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-
|
206
|
+
# platform)
|
207
|
+
# To unset the min cpu platform field pass "automatic" as field value.
|
208
|
+
# Corresponds to the JSON property `minCpuPlatform`
|
209
|
+
# @return [String]
|
210
|
+
attr_accessor :min_cpu_platform
|
211
|
+
|
212
|
+
# Scopes that are used by NAP when creating node pools.
|
170
213
|
# Corresponds to the JSON property `oauthScopes`
|
171
214
|
# @return [Array<String>]
|
172
215
|
attr_accessor :oauth_scopes
|
173
216
|
|
174
|
-
# The Google Cloud Platform Service Account to be used by the node VMs.
|
175
|
-
# service_account is specified, scopes should be empty.
|
217
|
+
# The Google Cloud Platform Service Account to be used by the node VMs.
|
176
218
|
# Corresponds to the JSON property `serviceAccount`
|
177
219
|
# @return [String]
|
178
220
|
attr_accessor :service_account
|
179
221
|
|
222
|
+
# These upgrade settings control the level of parallelism and the level of
|
223
|
+
# disruption caused by an upgrade.
|
224
|
+
# maxUnavailable controls the number of nodes that can be simultaneously
|
225
|
+
# unavailable.
|
226
|
+
# maxSurge controls the number of additional nodes that can be added to the
|
227
|
+
# node pool temporarily for the time of the upgrade to increase the number of
|
228
|
+
# available nodes.
|
229
|
+
# (maxUnavailable + maxSurge) determines the level of parallelism (how many
|
230
|
+
# nodes are being upgraded at the same time).
|
231
|
+
# Note: upgrades inevitably introduce some disruption since workloads need to
|
232
|
+
# be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
|
233
|
+
# this holds true. (Disruption stays within the limits of
|
234
|
+
# PodDisruptionBudget, if it is configured.)
|
235
|
+
# Consider a hypothetical node pool with 5 nodes having maxSurge=2,
|
236
|
+
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
237
|
+
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
238
|
+
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
239
|
+
# there are always at least 4 nodes available.
|
240
|
+
# Corresponds to the JSON property `upgradeSettings`
|
241
|
+
# @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
|
242
|
+
attr_accessor :upgrade_settings
|
243
|
+
|
180
244
|
def initialize(**args)
|
181
245
|
update!(**args)
|
182
246
|
end
|
183
247
|
|
184
248
|
# Update properties of this object
|
185
249
|
def update!(**args)
|
250
|
+
@management = args[:management] if args.key?(:management)
|
251
|
+
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
186
252
|
@oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
|
187
253
|
@service_account = args[:service_account] if args.key?(:service_account)
|
254
|
+
@upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
258
|
+
# AvailableVersion is an additional Kubernetes versions offered
|
259
|
+
# to users who subscribed to the release channel.
|
260
|
+
class AvailableVersion
|
261
|
+
include Google::Apis::Core::Hashable
|
262
|
+
|
263
|
+
# Reason for availability.
|
264
|
+
# Corresponds to the JSON property `reason`
|
265
|
+
# @return [String]
|
266
|
+
attr_accessor :reason
|
267
|
+
|
268
|
+
# Kubernetes version.
|
269
|
+
# Corresponds to the JSON property `version`
|
270
|
+
# @return [String]
|
271
|
+
attr_accessor :version
|
272
|
+
|
273
|
+
def initialize(**args)
|
274
|
+
update!(**args)
|
275
|
+
end
|
276
|
+
|
277
|
+
# Update properties of this object
|
278
|
+
def update!(**args)
|
279
|
+
@reason = args[:reason] if args.key?(:reason)
|
280
|
+
@version = args[:version] if args.key?(:version)
|
188
281
|
end
|
189
282
|
end
|
190
283
|
|
@@ -233,27 +326,28 @@ module Google
|
|
233
326
|
include Google::Apis::Core::Hashable
|
234
327
|
|
235
328
|
# The name (project, location, operation id) of the operation to cancel.
|
236
|
-
# Specified in the format
|
329
|
+
# Specified in the format `projects/*/locations/*/operations/*`.
|
237
330
|
# Corresponds to the JSON property `name`
|
238
331
|
# @return [String]
|
239
332
|
attr_accessor :name
|
240
333
|
|
241
|
-
# Deprecated. The server-assigned `name` of the operation.
|
334
|
+
# Required. Deprecated. The server-assigned `name` of the operation.
|
242
335
|
# This field has been deprecated and replaced by the name field.
|
243
336
|
# Corresponds to the JSON property `operationId`
|
244
337
|
# @return [String]
|
245
338
|
attr_accessor :operation_id
|
246
339
|
|
247
|
-
# Deprecated. The Google Developers Console [project ID or project
|
340
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
248
341
|
# number](https://support.google.com/cloud/answer/6158840).
|
249
342
|
# This field has been deprecated and replaced by the name field.
|
250
343
|
# Corresponds to the JSON property `projectId`
|
251
344
|
# @return [String]
|
252
345
|
attr_accessor :project_id
|
253
346
|
|
254
|
-
# Deprecated. The name of the Google Compute Engine
|
255
|
-
# [zone](/compute/docs/zones#available) in which the
|
256
|
-
# This field has been deprecated and replaced by the name
|
347
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
348
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
349
|
+
# operation resides. This field has been deprecated and replaced by the name
|
350
|
+
# field.
|
257
351
|
# Corresponds to the JSON property `zone`
|
258
352
|
# @return [String]
|
259
353
|
attr_accessor :zone
|
@@ -372,6 +466,11 @@ module Google
|
|
372
466
|
# @return [String]
|
373
467
|
attr_accessor :cluster_ipv4_cidr
|
374
468
|
|
469
|
+
# Telemetry integration for the cluster.
|
470
|
+
# Corresponds to the JSON property `clusterTelemetry`
|
471
|
+
# @return [Google::Apis::ContainerV1beta1::ClusterTelemetry]
|
472
|
+
attr_accessor :cluster_telemetry
|
473
|
+
|
375
474
|
# Which conditions caused the current cluster state.
|
376
475
|
# Corresponds to the JSON property `conditions`
|
377
476
|
# @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
|
@@ -395,8 +494,8 @@ module Google
|
|
395
494
|
attr_accessor :current_node_count
|
396
495
|
|
397
496
|
# [Output only] Deprecated, use
|
398
|
-
# [NodePool.version](/kubernetes-engine/docs/reference/
|
399
|
-
# locations.clusters.nodePools)
|
497
|
+
# [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/
|
498
|
+
# rest/v1beta1/projects.locations.clusters.nodePools)
|
400
499
|
# instead. The current version of the node software components.
|
401
500
|
# If they are currently at multiple versions because they're in the process
|
402
501
|
# of being upgraded, this reflects the minimum version of all nodes.
|
@@ -431,6 +530,7 @@ module Google
|
|
431
530
|
alias_method :enable_kubernetes_alpha?, :enable_kubernetes_alpha
|
432
531
|
|
433
532
|
# Enable the ability to use Cloud TPUs in this cluster.
|
533
|
+
# This field is deprecated, use tpu_config.enabled instead.
|
434
534
|
# Corresponds to the JSON property `enableTpu`
|
435
535
|
# @return [Boolean]
|
436
536
|
attr_accessor :enable_tpu
|
@@ -501,25 +601,32 @@ module Google
|
|
501
601
|
attr_accessor :legacy_abac
|
502
602
|
|
503
603
|
# [Output only] The name of the Google Compute Engine
|
504
|
-
# [zone](/compute/docs/regions-zones/regions-zones#
|
505
|
-
#
|
506
|
-
#
|
604
|
+
# [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
|
605
|
+
# available)
|
606
|
+
# or
|
607
|
+
# [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
|
608
|
+
# available)
|
609
|
+
# in which the cluster resides.
|
507
610
|
# Corresponds to the JSON property `location`
|
508
611
|
# @return [String]
|
509
612
|
attr_accessor :location
|
510
613
|
|
511
614
|
# The list of Google Compute Engine
|
512
|
-
# [zones](/compute/docs/zones#available) in which the
|
513
|
-
# should be located.
|
615
|
+
# [zones](https://cloud.google.com/compute/docs/zones#available) in which the
|
616
|
+
# cluster's nodes should be located.
|
514
617
|
# Corresponds to the JSON property `locations`
|
515
618
|
# @return [Array<String>]
|
516
619
|
attr_accessor :locations
|
517
620
|
|
518
621
|
# The logging service the cluster should use to write logs.
|
519
622
|
# Currently available options:
|
520
|
-
# * `logging.googleapis.com` -
|
623
|
+
# * `logging.googleapis.com/kubernetes` - The Cloud Logging
|
624
|
+
# service with a Kubernetes-native resource model
|
625
|
+
# * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
|
626
|
+
# available as of GKE 1.15).
|
521
627
|
# * `none` - no logs will be exported from the cluster.
|
522
|
-
#
|
628
|
+
# If left as an empty string,`logging.googleapis.com/kubernetes` will be
|
629
|
+
# used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
|
523
630
|
# Corresponds to the JSON property `loggingService`
|
524
631
|
# @return [String]
|
525
632
|
attr_accessor :logging_service
|
@@ -529,6 +636,11 @@ module Google
|
|
529
636
|
# @return [Google::Apis::ContainerV1beta1::MaintenancePolicy]
|
530
637
|
attr_accessor :maintenance_policy
|
531
638
|
|
639
|
+
# Master is the configuration for components on master.
|
640
|
+
# Corresponds to the JSON property `master`
|
641
|
+
# @return [Google::Apis::ContainerV1beta1::Master]
|
642
|
+
attr_accessor :master
|
643
|
+
|
532
644
|
# The authentication information for accessing the master endpoint.
|
533
645
|
# Authentication can be done using HTTP basic auth or using client
|
534
646
|
# certificates.
|
@@ -555,15 +667,20 @@ module Google
|
|
555
667
|
|
556
668
|
# The monitoring service the cluster should use to write metrics.
|
557
669
|
# Currently available options:
|
558
|
-
# *
|
559
|
-
#
|
560
|
-
# *
|
670
|
+
# * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
|
671
|
+
# service with a Kubernetes-native resource model
|
672
|
+
# * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
|
673
|
+
# longer available as of GKE 1.15).
|
674
|
+
# * `none` - No metrics will be exported from the cluster.
|
675
|
+
# If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
|
676
|
+
# used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
561
677
|
# Corresponds to the JSON property `monitoringService`
|
562
678
|
# @return [String]
|
563
679
|
attr_accessor :monitoring_service
|
564
680
|
|
565
681
|
# The name of this cluster. The name must be unique within this project
|
566
|
-
# and zone, and can be up to 40 characters with
|
682
|
+
# and location (e.g. zone or region), and can be up to 40 characters with
|
683
|
+
# the following restrictions:
|
567
684
|
# * Lowercase letters, numbers, and hyphens only.
|
568
685
|
# * Must start with a letter.
|
569
686
|
# * Must end with a number or a letter.
|
@@ -572,10 +689,11 @@ module Google
|
|
572
689
|
attr_accessor :name
|
573
690
|
|
574
691
|
# The name of the Google Compute Engine
|
575
|
-
# [network](/compute/docs/networks-and-firewalls#
|
576
|
-
#
|
577
|
-
#
|
578
|
-
# the
|
692
|
+
# [network](https://cloud.google.com/compute/docs/networks-and-firewalls#
|
693
|
+
# networks)
|
694
|
+
# to which the cluster is connected. If left unspecified, the `default`
|
695
|
+
# network will be used. On output this shows the network ID instead of the
|
696
|
+
# name.
|
579
697
|
# Corresponds to the JSON property `network`
|
580
698
|
# @return [String]
|
581
699
|
attr_accessor :network
|
@@ -684,17 +802,17 @@ module Google
|
|
684
802
|
attr_accessor :status_message
|
685
803
|
|
686
804
|
# The name of the Google Compute Engine
|
687
|
-
# [subnetwork](/compute/docs/subnetworks) to which
|
688
|
-
# cluster is connected. On output this shows the subnetwork ID instead of
|
805
|
+
# [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
|
806
|
+
# the cluster is connected. On output this shows the subnetwork ID instead of
|
689
807
|
# the name.
|
690
808
|
# Corresponds to the JSON property `subnetwork`
|
691
809
|
# @return [String]
|
692
810
|
attr_accessor :subnetwork
|
693
811
|
|
694
|
-
#
|
695
|
-
# Corresponds to the JSON property `
|
696
|
-
# @return [Google::Apis::ContainerV1beta1::
|
697
|
-
attr_accessor :
|
812
|
+
# Configuration for Cloud TPU.
|
813
|
+
# Corresponds to the JSON property `tpuConfig`
|
814
|
+
# @return [Google::Apis::ContainerV1beta1::TpuConfig]
|
815
|
+
attr_accessor :tpu_config
|
698
816
|
|
699
817
|
# [Output only] The IP address range of the Cloud TPUs in this cluster, in
|
700
818
|
# [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
|
@@ -717,9 +835,8 @@ module Google
|
|
717
835
|
attr_accessor :workload_identity_config
|
718
836
|
|
719
837
|
# [Output only] The name of the Google Compute Engine
|
720
|
-
# [zone](/compute/docs/zones#available) in which the
|
721
|
-
# resides.
|
722
|
-
# This field is deprecated, use location instead.
|
838
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
839
|
+
# cluster resides. This field is deprecated, use location instead.
|
723
840
|
# Corresponds to the JSON property `zone`
|
724
841
|
# @return [String]
|
725
842
|
attr_accessor :zone
|
@@ -735,6 +852,7 @@ module Google
|
|
735
852
|
@autoscaling = args[:autoscaling] if args.key?(:autoscaling)
|
736
853
|
@binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization)
|
737
854
|
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
|
855
|
+
@cluster_telemetry = args[:cluster_telemetry] if args.key?(:cluster_telemetry)
|
738
856
|
@conditions = args[:conditions] if args.key?(:conditions)
|
739
857
|
@create_time = args[:create_time] if args.key?(:create_time)
|
740
858
|
@current_master_version = args[:current_master_version] if args.key?(:current_master_version)
|
@@ -757,6 +875,7 @@ module Google
|
|
757
875
|
@locations = args[:locations] if args.key?(:locations)
|
758
876
|
@logging_service = args[:logging_service] if args.key?(:logging_service)
|
759
877
|
@maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
|
878
|
+
@master = args[:master] if args.key?(:master)
|
760
879
|
@master_auth = args[:master_auth] if args.key?(:master_auth)
|
761
880
|
@master_authorized_networks_config = args[:master_authorized_networks_config] if args.key?(:master_authorized_networks_config)
|
762
881
|
@master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block)
|
@@ -780,7 +899,7 @@ module Google
|
|
780
899
|
@status = args[:status] if args.key?(:status)
|
781
900
|
@status_message = args[:status_message] if args.key?(:status_message)
|
782
901
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
783
|
-
@
|
902
|
+
@tpu_config = args[:tpu_config] if args.key?(:tpu_config)
|
784
903
|
@tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
|
785
904
|
@vertical_pod_autoscaling = args[:vertical_pod_autoscaling] if args.key?(:vertical_pod_autoscaling)
|
786
905
|
@workload_identity_config = args[:workload_identity_config] if args.key?(:workload_identity_config)
|
@@ -795,8 +914,9 @@ module Google
|
|
795
914
|
class ClusterAutoscaling
|
796
915
|
include Google::Apis::Core::Hashable
|
797
916
|
|
798
|
-
# The list of Google Compute Engine
|
799
|
-
# in which the
|
917
|
+
# The list of Google Compute Engine
|
918
|
+
# [zones](https://cloud.google.com/compute/docs/zones#available) in which the
|
919
|
+
# NodePool's nodes can be created by NAP.
|
800
920
|
# Corresponds to the JSON property `autoprovisioningLocations`
|
801
921
|
# @return [Array<String>]
|
802
922
|
attr_accessor :autoprovisioning_locations
|
@@ -807,6 +927,11 @@ module Google
|
|
807
927
|
# @return [Google::Apis::ContainerV1beta1::AutoprovisioningNodePoolDefaults]
|
808
928
|
attr_accessor :autoprovisioning_node_pool_defaults
|
809
929
|
|
930
|
+
# Defines autoscaling behaviour.
|
931
|
+
# Corresponds to the JSON property `autoscalingProfile`
|
932
|
+
# @return [String]
|
933
|
+
attr_accessor :autoscaling_profile
|
934
|
+
|
810
935
|
# Enables automatic node pool creation and deletion.
|
811
936
|
# Corresponds to the JSON property `enableNodeAutoprovisioning`
|
812
937
|
# @return [Boolean]
|
@@ -827,11 +952,31 @@ module Google
|
|
827
952
|
def update!(**args)
|
828
953
|
@autoprovisioning_locations = args[:autoprovisioning_locations] if args.key?(:autoprovisioning_locations)
|
829
954
|
@autoprovisioning_node_pool_defaults = args[:autoprovisioning_node_pool_defaults] if args.key?(:autoprovisioning_node_pool_defaults)
|
955
|
+
@autoscaling_profile = args[:autoscaling_profile] if args.key?(:autoscaling_profile)
|
830
956
|
@enable_node_autoprovisioning = args[:enable_node_autoprovisioning] if args.key?(:enable_node_autoprovisioning)
|
831
957
|
@resource_limits = args[:resource_limits] if args.key?(:resource_limits)
|
832
958
|
end
|
833
959
|
end
|
834
960
|
|
961
|
+
# Telemetry integration for the cluster.
|
962
|
+
class ClusterTelemetry
|
963
|
+
include Google::Apis::Core::Hashable
|
964
|
+
|
965
|
+
# Type of the integration.
|
966
|
+
# Corresponds to the JSON property `type`
|
967
|
+
# @return [String]
|
968
|
+
attr_accessor :type
|
969
|
+
|
970
|
+
def initialize(**args)
|
971
|
+
update!(**args)
|
972
|
+
end
|
973
|
+
|
974
|
+
# Update properties of this object
|
975
|
+
def update!(**args)
|
976
|
+
@type = args[:type] if args.key?(:type)
|
977
|
+
end
|
978
|
+
end
|
979
|
+
|
835
980
|
# ClusterUpdate describes an update to the cluster. Exactly one update can
|
836
981
|
# be applied to a cluster with each request, so at most one field can be
|
837
982
|
# provided.
|
@@ -857,11 +1002,22 @@ module Google
|
|
857
1002
|
# @return [Google::Apis::ContainerV1beta1::ClusterAutoscaling]
|
858
1003
|
attr_accessor :desired_cluster_autoscaling
|
859
1004
|
|
1005
|
+
# Telemetry integration for the cluster.
|
1006
|
+
# Corresponds to the JSON property `desiredClusterTelemetry`
|
1007
|
+
# @return [Google::Apis::ContainerV1beta1::ClusterTelemetry]
|
1008
|
+
attr_accessor :desired_cluster_telemetry
|
1009
|
+
|
860
1010
|
# Configuration of etcd encryption.
|
861
1011
|
# Corresponds to the JSON property `desiredDatabaseEncryption`
|
862
1012
|
# @return [Google::Apis::ContainerV1beta1::DatabaseEncryption]
|
863
1013
|
attr_accessor :desired_database_encryption
|
864
1014
|
|
1015
|
+
# DefaultSnatStatus contains the desired state of whether default sNAT should
|
1016
|
+
# be disabled on the cluster.
|
1017
|
+
# Corresponds to the JSON property `desiredDefaultSnatStatus`
|
1018
|
+
# @return [Google::Apis::ContainerV1beta1::DefaultSnatStatus]
|
1019
|
+
attr_accessor :desired_default_snat_status
|
1020
|
+
|
865
1021
|
# The desired image type for the node pool.
|
866
1022
|
# NOTE: Set the "desired_node_pool" field as well.
|
867
1023
|
# Corresponds to the JSON property `desiredImageType`
|
@@ -875,25 +1031,33 @@ module Google
|
|
875
1031
|
attr_accessor :desired_intra_node_visibility_config
|
876
1032
|
|
877
1033
|
# The desired list of Google Compute Engine
|
878
|
-
# [zones](/compute/docs/zones#available) in which the
|
879
|
-
# should be located. Changing the locations a cluster is in
|
880
|
-
# in nodes being either created or removed from the cluster,
|
881
|
-
# whether locations are being added or removed.
|
1034
|
+
# [zones](https://cloud.google.com/compute/docs/zones#available) in which the
|
1035
|
+
# cluster's nodes should be located. Changing the locations a cluster is in
|
1036
|
+
# will result in nodes being either created or removed from the cluster,
|
1037
|
+
# depending on whether locations are being added or removed.
|
882
1038
|
# This list must always include the cluster's primary zone.
|
883
1039
|
# Corresponds to the JSON property `desiredLocations`
|
884
1040
|
# @return [Array<String>]
|
885
1041
|
attr_accessor :desired_locations
|
886
1042
|
|
887
|
-
# The logging service the cluster should use to write
|
1043
|
+
# The logging service the cluster should use to write logs.
|
888
1044
|
# Currently available options:
|
889
|
-
# *
|
890
|
-
# service with Kubernetes-native resource model
|
891
|
-
# *
|
892
|
-
#
|
1045
|
+
# * `logging.googleapis.com/kubernetes` - The Cloud Logging
|
1046
|
+
# service with a Kubernetes-native resource model
|
1047
|
+
# * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
|
1048
|
+
# available as of GKE 1.15).
|
1049
|
+
# * `none` - no logs will be exported from the cluster.
|
1050
|
+
# If left as an empty string,`logging.googleapis.com/kubernetes` will be
|
1051
|
+
# used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
|
893
1052
|
# Corresponds to the JSON property `desiredLoggingService`
|
894
1053
|
# @return [String]
|
895
1054
|
attr_accessor :desired_logging_service
|
896
1055
|
|
1056
|
+
# Master is the configuration for components on master.
|
1057
|
+
# Corresponds to the JSON property `desiredMaster`
|
1058
|
+
# @return [Google::Apis::ContainerV1beta1::Master]
|
1059
|
+
attr_accessor :desired_master
|
1060
|
+
|
897
1061
|
# Configuration options for the master authorized networks feature. Enabled
|
898
1062
|
# master authorized networks will disallow all external traffic to access
|
899
1063
|
# Kubernetes master through HTTPS except traffic from the given CIDR blocks,
|
@@ -917,10 +1081,13 @@ module Google
|
|
917
1081
|
|
918
1082
|
# The monitoring service the cluster should use to write metrics.
|
919
1083
|
# Currently available options:
|
920
|
-
# * "monitoring.googleapis.com/kubernetes" -
|
921
|
-
# service with Kubernetes-native resource model
|
922
|
-
# *
|
923
|
-
#
|
1084
|
+
# * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
|
1085
|
+
# service with a Kubernetes-native resource model
|
1086
|
+
# * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
|
1087
|
+
# longer available as of GKE 1.15).
|
1088
|
+
# * `none` - No metrics will be exported from the cluster.
|
1089
|
+
# If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
|
1090
|
+
# used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
924
1091
|
# Corresponds to the JSON property `desiredMonitoringService`
|
925
1092
|
# @return [String]
|
926
1093
|
attr_accessor :desired_monitoring_service
|
@@ -962,6 +1129,17 @@ module Google
|
|
962
1129
|
# @return [Google::Apis::ContainerV1beta1::PrivateClusterConfig]
|
963
1130
|
attr_accessor :desired_private_cluster_config
|
964
1131
|
|
1132
|
+
# ReleaseChannel indicates which release channel a cluster is
|
1133
|
+
# subscribed to. Release channels are arranged in order of risk and
|
1134
|
+
# frequency of updates.
|
1135
|
+
# When a cluster is subscribed to a release channel, Google maintains
|
1136
|
+
# both the master version and the node version. Node auto-upgrade
|
1137
|
+
# defaults to true and cannot be disabled. Updates to version related
|
1138
|
+
# fields (e.g. current_master_version) return an error.
|
1139
|
+
# Corresponds to the JSON property `desiredReleaseChannel`
|
1140
|
+
# @return [Google::Apis::ContainerV1beta1::ReleaseChannel]
|
1141
|
+
attr_accessor :desired_release_channel
|
1142
|
+
|
965
1143
|
# Configuration for exporting cluster resource usages.
|
966
1144
|
# Corresponds to the JSON property `desiredResourceUsageExportConfig`
|
967
1145
|
# @return [Google::Apis::ContainerV1beta1::ResourceUsageExportConfig]
|
@@ -972,6 +1150,11 @@ module Google
|
|
972
1150
|
# @return [Google::Apis::ContainerV1beta1::ShieldedNodes]
|
973
1151
|
attr_accessor :desired_shielded_nodes
|
974
1152
|
|
1153
|
+
# Configuration for Cloud TPU.
|
1154
|
+
# Corresponds to the JSON property `desiredTpuConfig`
|
1155
|
+
# @return [Google::Apis::ContainerV1beta1::TpuConfig]
|
1156
|
+
attr_accessor :desired_tpu_config
|
1157
|
+
|
975
1158
|
# VerticalPodAutoscaling contains global, per-cluster information
|
976
1159
|
# required by Vertical Pod Autoscaler to automatically adjust
|
977
1160
|
# the resources of pods controlled by it.
|
@@ -994,11 +1177,14 @@ module Google
|
|
994
1177
|
@desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
|
995
1178
|
@desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
|
996
1179
|
@desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
|
1180
|
+
@desired_cluster_telemetry = args[:desired_cluster_telemetry] if args.key?(:desired_cluster_telemetry)
|
997
1181
|
@desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
|
1182
|
+
@desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
|
998
1183
|
@desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
|
999
1184
|
@desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
|
1000
1185
|
@desired_locations = args[:desired_locations] if args.key?(:desired_locations)
|
1001
1186
|
@desired_logging_service = args[:desired_logging_service] if args.key?(:desired_logging_service)
|
1187
|
+
@desired_master = args[:desired_master] if args.key?(:desired_master)
|
1002
1188
|
@desired_master_authorized_networks_config = args[:desired_master_authorized_networks_config] if args.key?(:desired_master_authorized_networks_config)
|
1003
1189
|
@desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version)
|
1004
1190
|
@desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
|
@@ -1007,8 +1193,10 @@ module Google
|
|
1007
1193
|
@desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
|
1008
1194
|
@desired_pod_security_policy_config = args[:desired_pod_security_policy_config] if args.key?(:desired_pod_security_policy_config)
|
1009
1195
|
@desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config)
|
1196
|
+
@desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
|
1010
1197
|
@desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
|
1011
1198
|
@desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
|
1199
|
+
@desired_tpu_config = args[:desired_tpu_config] if args.key?(:desired_tpu_config)
|
1012
1200
|
@desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling)
|
1013
1201
|
@desired_workload_identity_config = args[:desired_workload_identity_config] if args.key?(:desired_workload_identity_config)
|
1014
1202
|
end
|
@@ -1018,29 +1206,29 @@ module Google
|
|
1018
1206
|
class CompleteIpRotationRequest
|
1019
1207
|
include Google::Apis::Core::Hashable
|
1020
1208
|
|
1021
|
-
# Deprecated. The name of the cluster.
|
1209
|
+
# Required. Deprecated. The name of the cluster.
|
1022
1210
|
# This field has been deprecated and replaced by the name field.
|
1023
1211
|
# Corresponds to the JSON property `clusterId`
|
1024
1212
|
# @return [String]
|
1025
1213
|
attr_accessor :cluster_id
|
1026
1214
|
|
1027
1215
|
# The name (project, location, cluster id) of the cluster to complete IP
|
1028
|
-
# rotation. Specified in the format
|
1216
|
+
# rotation. Specified in the format `projects/*/locations/*/clusters/*`.
|
1029
1217
|
# Corresponds to the JSON property `name`
|
1030
1218
|
# @return [String]
|
1031
1219
|
attr_accessor :name
|
1032
1220
|
|
1033
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1221
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1034
1222
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
1035
1223
|
# This field has been deprecated and replaced by the name field.
|
1036
1224
|
# Corresponds to the JSON property `projectId`
|
1037
1225
|
# @return [String]
|
1038
1226
|
attr_accessor :project_id
|
1039
1227
|
|
1040
|
-
# Deprecated. The name of the Google Compute Engine
|
1041
|
-
# [zone](/compute/docs/zones#available) in which the
|
1042
|
-
# resides.
|
1043
|
-
#
|
1228
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1229
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
1230
|
+
# cluster resides. This field has been deprecated and replaced by the name
|
1231
|
+
# field.
|
1044
1232
|
# Corresponds to the JSON property `zone`
|
1045
1233
|
# @return [String]
|
1046
1234
|
attr_accessor :zone
|
@@ -1058,6 +1246,26 @@ module Google
|
|
1058
1246
|
end
|
1059
1247
|
end
|
1060
1248
|
|
1249
|
+
# Configuration options for the Config Connector add-on.
|
1250
|
+
class ConfigConnectorConfig
|
1251
|
+
include Google::Apis::Core::Hashable
|
1252
|
+
|
1253
|
+
# Whether Cloud Connector is enabled for this cluster.
|
1254
|
+
# Corresponds to the JSON property `enabled`
|
1255
|
+
# @return [Boolean]
|
1256
|
+
attr_accessor :enabled
|
1257
|
+
alias_method :enabled?, :enabled
|
1258
|
+
|
1259
|
+
def initialize(**args)
|
1260
|
+
update!(**args)
|
1261
|
+
end
|
1262
|
+
|
1263
|
+
# Update properties of this object
|
1264
|
+
def update!(**args)
|
1265
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
1266
|
+
end
|
1267
|
+
end
|
1268
|
+
|
1061
1269
|
# Parameters for controlling consumption metering.
|
1062
1270
|
class ConsumptionMeteringConfig
|
1063
1271
|
include Google::Apis::Core::Hashable
|
@@ -1090,22 +1298,22 @@ module Google
|
|
1090
1298
|
attr_accessor :cluster
|
1091
1299
|
|
1092
1300
|
# The parent (project and location) where the cluster will be created.
|
1093
|
-
# Specified in the format
|
1301
|
+
# Specified in the format `projects/*/locations/*`.
|
1094
1302
|
# Corresponds to the JSON property `parent`
|
1095
1303
|
# @return [String]
|
1096
1304
|
attr_accessor :parent
|
1097
1305
|
|
1098
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1306
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1099
1307
|
# number](https://support.google.com/cloud/answer/6158840).
|
1100
1308
|
# This field has been deprecated and replaced by the parent field.
|
1101
1309
|
# Corresponds to the JSON property `projectId`
|
1102
1310
|
# @return [String]
|
1103
1311
|
attr_accessor :project_id
|
1104
1312
|
|
1105
|
-
# Deprecated. The name of the Google Compute Engine
|
1106
|
-
# [zone](/compute/docs/zones#available) in which the
|
1107
|
-
# resides.
|
1108
|
-
#
|
1313
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1314
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
1315
|
+
# cluster resides. This field has been deprecated and replaced by the parent
|
1316
|
+
# field.
|
1109
1317
|
# Corresponds to the JSON property `zone`
|
1110
1318
|
# @return [String]
|
1111
1319
|
attr_accessor :zone
|
@@ -1127,7 +1335,7 @@ module Google
|
|
1127
1335
|
class CreateNodePoolRequest
|
1128
1336
|
include Google::Apis::Core::Hashable
|
1129
1337
|
|
1130
|
-
# Deprecated. The name of the cluster.
|
1338
|
+
# Required. Deprecated. The name of the cluster.
|
1131
1339
|
# This field has been deprecated and replaced by the parent field.
|
1132
1340
|
# Corresponds to the JSON property `clusterId`
|
1133
1341
|
# @return [String]
|
@@ -1145,22 +1353,22 @@ module Google
|
|
1145
1353
|
|
1146
1354
|
# The parent (project, location, cluster id) where the node pool will be
|
1147
1355
|
# created. Specified in the format
|
1148
|
-
#
|
1356
|
+
# `projects/*/locations/*/clusters/*`.
|
1149
1357
|
# Corresponds to the JSON property `parent`
|
1150
1358
|
# @return [String]
|
1151
1359
|
attr_accessor :parent
|
1152
1360
|
|
1153
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1361
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1154
1362
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
1155
1363
|
# This field has been deprecated and replaced by the parent field.
|
1156
1364
|
# Corresponds to the JSON property `projectId`
|
1157
1365
|
# @return [String]
|
1158
1366
|
attr_accessor :project_id
|
1159
1367
|
|
1160
|
-
# Deprecated. The name of the Google Compute Engine
|
1161
|
-
# [zone](/compute/docs/zones#available) in which the
|
1162
|
-
# resides.
|
1163
|
-
#
|
1368
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1369
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
1370
|
+
# cluster resides. This field has been deprecated and replaced by the parent
|
1371
|
+
# field.
|
1164
1372
|
# Corresponds to the JSON property `zone`
|
1165
1373
|
# @return [String]
|
1166
1374
|
attr_accessor :zone
|
@@ -1232,6 +1440,47 @@ module Google
|
|
1232
1440
|
end
|
1233
1441
|
end
|
1234
1442
|
|
1443
|
+
# DefaultSnatStatus contains the desired state of whether default sNAT should
|
1444
|
+
# be disabled on the cluster.
|
1445
|
+
class DefaultSnatStatus
|
1446
|
+
include Google::Apis::Core::Hashable
|
1447
|
+
|
1448
|
+
# Disables cluster default sNAT rules.
|
1449
|
+
# Corresponds to the JSON property `disabled`
|
1450
|
+
# @return [Boolean]
|
1451
|
+
attr_accessor :disabled
|
1452
|
+
alias_method :disabled?, :disabled
|
1453
|
+
|
1454
|
+
def initialize(**args)
|
1455
|
+
update!(**args)
|
1456
|
+
end
|
1457
|
+
|
1458
|
+
# Update properties of this object
|
1459
|
+
def update!(**args)
|
1460
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
1461
|
+
end
|
1462
|
+
end
|
1463
|
+
|
1464
|
+
# Configuration for NodeLocal DNSCache
|
1465
|
+
class DnsCacheConfig
|
1466
|
+
include Google::Apis::Core::Hashable
|
1467
|
+
|
1468
|
+
# Whether NodeLocal DNSCache is enabled for this cluster.
|
1469
|
+
# Corresponds to the JSON property `enabled`
|
1470
|
+
# @return [Boolean]
|
1471
|
+
attr_accessor :enabled
|
1472
|
+
alias_method :enabled?, :enabled
|
1473
|
+
|
1474
|
+
def initialize(**args)
|
1475
|
+
update!(**args)
|
1476
|
+
end
|
1477
|
+
|
1478
|
+
# Update properties of this object
|
1479
|
+
def update!(**args)
|
1480
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
1481
|
+
end
|
1482
|
+
end
|
1483
|
+
|
1235
1484
|
# A generic empty message that you can re-use to avoid defining duplicated
|
1236
1485
|
# empty messages in your APIs. A typical example is to use it as the request
|
1237
1486
|
# or the response type of an API method. For instance:
|
@@ -1251,20 +1500,16 @@ module Google
|
|
1251
1500
|
end
|
1252
1501
|
end
|
1253
1502
|
|
1254
|
-
#
|
1255
|
-
#
|
1256
|
-
class
|
1503
|
+
# Configuration for the Compute Engine PD CSI driver. This option can only be
|
1504
|
+
# enabled at cluster creation time.
|
1505
|
+
class GcePersistentDiskCsiDriverConfig
|
1257
1506
|
include Google::Apis::Core::Hashable
|
1258
1507
|
|
1259
|
-
#
|
1260
|
-
# Corresponds to the JSON property `
|
1261
|
-
# @return [
|
1262
|
-
attr_accessor :
|
1263
|
-
|
1264
|
-
# The tier in which the configured feature resides.
|
1265
|
-
# Corresponds to the JSON property `tier`
|
1266
|
-
# @return [String]
|
1267
|
-
attr_accessor :tier
|
1508
|
+
# Whether the Compute Engine PD CSI driver is enabled for this cluster.
|
1509
|
+
# Corresponds to the JSON property `enabled`
|
1510
|
+
# @return [Boolean]
|
1511
|
+
attr_accessor :enabled
|
1512
|
+
alias_method :enabled?, :enabled
|
1268
1513
|
|
1269
1514
|
def initialize(**args)
|
1270
1515
|
update!(**args)
|
@@ -1272,8 +1517,7 @@ module Google
|
|
1272
1517
|
|
1273
1518
|
# Update properties of this object
|
1274
1519
|
def update!(**args)
|
1275
|
-
@
|
1276
|
-
@tier = args[:tier] if args.key?(:tier)
|
1520
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
1277
1521
|
end
|
1278
1522
|
end
|
1279
1523
|
|
@@ -1372,8 +1616,8 @@ module Google
|
|
1372
1616
|
include Google::Apis::Core::Hashable
|
1373
1617
|
|
1374
1618
|
# Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
|
1375
|
-
# When enabled, it ensures that
|
1376
|
-
#
|
1619
|
+
# When enabled, it ensures that metrics are collected into Stackdriver
|
1620
|
+
# Monitoring.
|
1377
1621
|
# Corresponds to the JSON property `disabled`
|
1378
1622
|
# @return [Boolean]
|
1379
1623
|
attr_accessor :disabled
|
@@ -1567,16 +1811,29 @@ module Google
|
|
1567
1811
|
# notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
|
1568
1812
|
# `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
|
1569
1813
|
# to use.
|
1814
|
+
# This field is deprecated, use cluster.tpu_config.ipv4_cidr_block instead.
|
1570
1815
|
# Corresponds to the JSON property `tpuIpv4CidrBlock`
|
1571
1816
|
# @return [String]
|
1572
1817
|
attr_accessor :tpu_ipv4_cidr_block
|
1573
1818
|
|
1574
1819
|
# Whether alias IPs will be used for pod IPs in the cluster.
|
1820
|
+
# This is used in conjunction with use_routes. It cannot
|
1821
|
+
# be true if use_routes is true. If both use_ip_aliases and use_routes are
|
1822
|
+
# false, then the server picks the default IP allocation mode
|
1575
1823
|
# Corresponds to the JSON property `useIpAliases`
|
1576
1824
|
# @return [Boolean]
|
1577
1825
|
attr_accessor :use_ip_aliases
|
1578
1826
|
alias_method :use_ip_aliases?, :use_ip_aliases
|
1579
1827
|
|
1828
|
+
# Whether routes will be used for pod IPs in the cluster.
|
1829
|
+
# This is used in conjunction with use_ip_aliases. It cannot be true if
|
1830
|
+
# use_ip_aliases is true. If both use_ip_aliases and use_routes are false,
|
1831
|
+
# then the server picks the default IP allocation mode
|
1832
|
+
# Corresponds to the JSON property `useRoutes`
|
1833
|
+
# @return [Boolean]
|
1834
|
+
attr_accessor :use_routes
|
1835
|
+
alias_method :use_routes?, :use_routes
|
1836
|
+
|
1580
1837
|
def initialize(**args)
|
1581
1838
|
update!(**args)
|
1582
1839
|
end
|
@@ -1596,6 +1853,7 @@ module Google
|
|
1596
1853
|
@subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
|
1597
1854
|
@tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
|
1598
1855
|
@use_ip_aliases = args[:use_ip_aliases] if args.key?(:use_ip_aliases)
|
1856
|
+
@use_routes = args[:use_routes] if args.key?(:use_routes)
|
1599
1857
|
end
|
1600
1858
|
end
|
1601
1859
|
|
@@ -1713,6 +1971,26 @@ module Google
|
|
1713
1971
|
end
|
1714
1972
|
end
|
1715
1973
|
|
1974
|
+
# Configuration options for the KALM addon.
|
1975
|
+
class KalmConfig
|
1976
|
+
include Google::Apis::Core::Hashable
|
1977
|
+
|
1978
|
+
# Whether KALM is enabled for this cluster.
|
1979
|
+
# Corresponds to the JSON property `enabled`
|
1980
|
+
# @return [Boolean]
|
1981
|
+
attr_accessor :enabled
|
1982
|
+
alias_method :enabled?, :enabled
|
1983
|
+
|
1984
|
+
def initialize(**args)
|
1985
|
+
update!(**args)
|
1986
|
+
end
|
1987
|
+
|
1988
|
+
# Update properties of this object
|
1989
|
+
def update!(**args)
|
1990
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
1991
|
+
end
|
1992
|
+
end
|
1993
|
+
|
1716
1994
|
# Configuration for the Kubernetes Dashboard.
|
1717
1995
|
class KubernetesDashboard
|
1718
1996
|
include Google::Apis::Core::Hashable
|
@@ -1893,7 +2171,7 @@ module Google
|
|
1893
2171
|
include Google::Apis::Core::Hashable
|
1894
2172
|
|
1895
2173
|
# Contains the name of the resource requested.
|
1896
|
-
# Specified in the format
|
2174
|
+
# Specified in the format `projects/*/locations/*`.
|
1897
2175
|
# Corresponds to the JSON property `name`
|
1898
2176
|
# @return [String]
|
1899
2177
|
attr_accessor :name
|
@@ -1983,6 +2261,19 @@ module Google
|
|
1983
2261
|
end
|
1984
2262
|
end
|
1985
2263
|
|
2264
|
+
# Master is the configuration for components on master.
|
2265
|
+
class Master
|
2266
|
+
include Google::Apis::Core::Hashable
|
2267
|
+
|
2268
|
+
def initialize(**args)
|
2269
|
+
update!(**args)
|
2270
|
+
end
|
2271
|
+
|
2272
|
+
# Update properties of this object
|
2273
|
+
def update!(**args)
|
2274
|
+
end
|
2275
|
+
end
|
2276
|
+
|
1986
2277
|
# The authentication information for accessing the master endpoint.
|
1987
2278
|
# Authentication can be done using HTTP basic auth or using client
|
1988
2279
|
# certificates.
|
@@ -2104,8 +2395,7 @@ module Google
|
|
2104
2395
|
# @return [Fixnum]
|
2105
2396
|
attr_accessor :int_value
|
2106
2397
|
|
2107
|
-
# Metric name,
|
2108
|
-
# e.g., "nodes total", "percent done"
|
2398
|
+
# Required. Metric name, e.g., "nodes total", "percent done".
|
2109
2399
|
# Corresponds to the JSON property `name`
|
2110
2400
|
# @return [String]
|
2111
2401
|
attr_accessor :name
|
@@ -2132,6 +2422,12 @@ module Google
|
|
2132
2422
|
class NetworkConfig
|
2133
2423
|
include Google::Apis::Core::Hashable
|
2134
2424
|
|
2425
|
+
# DefaultSnatStatus contains the desired state of whether default sNAT should
|
2426
|
+
# be disabled on the cluster.
|
2427
|
+
# Corresponds to the JSON property `defaultSnatStatus`
|
2428
|
+
# @return [Google::Apis::ContainerV1beta1::DefaultSnatStatus]
|
2429
|
+
attr_accessor :default_snat_status
|
2430
|
+
|
2135
2431
|
# Whether Intra-node visibility is enabled for this cluster.
|
2136
2432
|
# This makes same node pod to pod traffic visible for VPC network.
|
2137
2433
|
# Corresponds to the JSON property `enableIntraNodeVisibility`
|
@@ -2140,16 +2436,17 @@ module Google
|
|
2140
2436
|
alias_method :enable_intra_node_visibility?, :enable_intra_node_visibility
|
2141
2437
|
|
2142
2438
|
# Output only. The relative name of the Google Compute Engine
|
2143
|
-
# network(/compute/docs/networks-and-firewalls#networks)
|
2144
|
-
# the cluster is connected.
|
2145
|
-
#
|
2439
|
+
# network(https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
|
2440
|
+
# to which the cluster is connected. Example:
|
2441
|
+
# projects/my-project/global/networks/my-network
|
2146
2442
|
# Corresponds to the JSON property `network`
|
2147
2443
|
# @return [String]
|
2148
2444
|
attr_accessor :network
|
2149
2445
|
|
2150
2446
|
# Output only. The relative name of the Google Compute Engine
|
2151
|
-
# [subnetwork](/compute/docs/vpc) to which the
|
2152
|
-
# Example:
|
2447
|
+
# [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
|
2448
|
+
# cluster is connected. Example:
|
2449
|
+
# projects/my-project/regions/us-central1/subnetworks/my-subnet
|
2153
2450
|
# Corresponds to the JSON property `subnetwork`
|
2154
2451
|
# @return [String]
|
2155
2452
|
attr_accessor :subnetwork
|
@@ -2160,6 +2457,7 @@ module Google
|
|
2160
2457
|
|
2161
2458
|
# Update properties of this object
|
2162
2459
|
def update!(**args)
|
2460
|
+
@default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
|
2163
2461
|
@enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
|
2164
2462
|
@network = args[:network] if args.key?(:network)
|
2165
2463
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
@@ -2226,6 +2524,17 @@ module Google
|
|
2226
2524
|
# @return [Array<Google::Apis::ContainerV1beta1::AcceleratorConfig>]
|
2227
2525
|
attr_accessor :accelerators
|
2228
2526
|
|
2527
|
+
# The Customer Managed Encryption Key used to encrypt the boot disk attached
|
2528
|
+
# to each node in the node pool. This should be of the form
|
2529
|
+
# projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/
|
2530
|
+
# [KEY_NAME].
|
2531
|
+
# For more information about protecting resources with Cloud KMS Keys please
|
2532
|
+
# see:
|
2533
|
+
# https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
2534
|
+
# Corresponds to the JSON property `bootDiskKmsKey`
|
2535
|
+
# @return [String]
|
2536
|
+
attr_accessor :boot_disk_kms_key
|
2537
|
+
|
2229
2538
|
# Size of the disk attached to each node, specified in GB.
|
2230
2539
|
# The smallest allowed disk size is 10GB.
|
2231
2540
|
# If unspecified, the default disk size is 100GB.
|
@@ -2267,7 +2576,7 @@ module Google
|
|
2267
2576
|
attr_accessor :local_ssd_count
|
2268
2577
|
|
2269
2578
|
# The name of a Google Compute Engine [machine
|
2270
|
-
# type](/compute/docs/machine-types) (e.g.
|
2579
|
+
# type](https://cloud.google.com/compute/docs/machine-types) (e.g.
|
2271
2580
|
# `n1-standard-1`).
|
2272
2581
|
# If unspecified, the default machine type is
|
2273
2582
|
# `n1-standard-1`.
|
@@ -2287,6 +2596,7 @@ module Google
|
|
2287
2596
|
# "containerd-configure-sh"
|
2288
2597
|
# "enable-oslogin"
|
2289
2598
|
# "gci-ensure-gke-docker"
|
2599
|
+
# "gci-metrics-enabled"
|
2290
2600
|
# "gci-update-strategy"
|
2291
2601
|
# "instance-template"
|
2292
2602
|
# "kube-env"
|
@@ -2327,7 +2637,8 @@ module Google
|
|
2327
2637
|
# persistent storage on your nodes.
|
2328
2638
|
# * `https://www.googleapis.com/auth/devstorage.read_only` is required for
|
2329
2639
|
# communicating with **gcr.io**
|
2330
|
-
# (the [Google Container
|
2640
|
+
# (the [Google Container
|
2641
|
+
# Registry](https://cloud.google.com/container-registry/)).
|
2331
2642
|
# If unspecified, no scopes are added, unless Cloud Logging or Cloud
|
2332
2643
|
# Monitoring are enabled, in which case their required scopes will be added.
|
2333
2644
|
# Corresponds to the JSON property `oauthScopes`
|
@@ -2342,13 +2653,22 @@ module Google
|
|
2342
2653
|
attr_accessor :preemptible
|
2343
2654
|
alias_method :preemptible?, :preemptible
|
2344
2655
|
|
2656
|
+
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
|
2657
|
+
# reserving-zonal-resources)
|
2658
|
+
# is the configuration of desired reservation which instances could take
|
2659
|
+
# capacity from.
|
2660
|
+
# Corresponds to the JSON property `reservationAffinity`
|
2661
|
+
# @return [Google::Apis::ContainerV1beta1::ReservationAffinity]
|
2662
|
+
attr_accessor :reservation_affinity
|
2663
|
+
|
2345
2664
|
# SandboxConfig contains configurations of the sandbox to use for the node.
|
2346
2665
|
# Corresponds to the JSON property `sandboxConfig`
|
2347
2666
|
# @return [Google::Apis::ContainerV1beta1::SandboxConfig]
|
2348
2667
|
attr_accessor :sandbox_config
|
2349
2668
|
|
2350
|
-
# The Google Cloud Platform Service Account to be used by the node VMs.
|
2351
|
-
#
|
2669
|
+
# The Google Cloud Platform Service Account to be used by the node VMs.
|
2670
|
+
# Specify the email address of the Service Account; otherwise, if no Service
|
2671
|
+
# Account is specified, the "default" service account is used.
|
2352
2672
|
# Corresponds to the JSON property `serviceAccount`
|
2353
2673
|
# @return [String]
|
2354
2674
|
attr_accessor :service_account
|
@@ -2386,6 +2706,7 @@ module Google
|
|
2386
2706
|
# Update properties of this object
|
2387
2707
|
def update!(**args)
|
2388
2708
|
@accelerators = args[:accelerators] if args.key?(:accelerators)
|
2709
|
+
@boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
|
2389
2710
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
2390
2711
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
2391
2712
|
@image_type = args[:image_type] if args.key?(:image_type)
|
@@ -2396,6 +2717,7 @@ module Google
|
|
2396
2717
|
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
2397
2718
|
@oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
|
2398
2719
|
@preemptible = args[:preemptible] if args.key?(:preemptible)
|
2720
|
+
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
2399
2721
|
@sandbox_config = args[:sandbox_config] if args.key?(:sandbox_config)
|
2400
2722
|
@service_account = args[:service_account] if args.key?(:service_account)
|
2401
2723
|
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
|
@@ -2474,14 +2796,16 @@ module Google
|
|
2474
2796
|
attr_accessor :initial_node_count
|
2475
2797
|
|
2476
2798
|
# [Output only] The resource URLs of the [managed instance
|
2477
|
-
# groups](/compute/docs/instance-groups/creating-groups-
|
2799
|
+
# groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-
|
2800
|
+
# of-managed-instances)
|
2478
2801
|
# associated with this node pool.
|
2479
2802
|
# Corresponds to the JSON property `instanceGroupUrls`
|
2480
2803
|
# @return [Array<String>]
|
2481
2804
|
attr_accessor :instance_group_urls
|
2482
2805
|
|
2483
|
-
# The list of Google Compute Engine
|
2484
|
-
# in which the
|
2806
|
+
# The list of Google Compute Engine
|
2807
|
+
# [zones](https://cloud.google.com/compute/docs/zones#available) in which the
|
2808
|
+
# NodePool's nodes should be located.
|
2485
2809
|
# Corresponds to the JSON property `locations`
|
2486
2810
|
# @return [Array<String>]
|
2487
2811
|
attr_accessor :locations
|
@@ -2523,6 +2847,28 @@ module Google
|
|
2523
2847
|
# @return [String]
|
2524
2848
|
attr_accessor :status_message
|
2525
2849
|
|
2850
|
+
# These upgrade settings control the level of parallelism and the level of
|
2851
|
+
# disruption caused by an upgrade.
|
2852
|
+
# maxUnavailable controls the number of nodes that can be simultaneously
|
2853
|
+
# unavailable.
|
2854
|
+
# maxSurge controls the number of additional nodes that can be added to the
|
2855
|
+
# node pool temporarily for the time of the upgrade to increase the number of
|
2856
|
+
# available nodes.
|
2857
|
+
# (maxUnavailable + maxSurge) determines the level of parallelism (how many
|
2858
|
+
# nodes are being upgraded at the same time).
|
2859
|
+
# Note: upgrades inevitably introduce some disruption since workloads need to
|
2860
|
+
# be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
|
2861
|
+
# this holds true. (Disruption stays within the limits of
|
2862
|
+
# PodDisruptionBudget, if it is configured.)
|
2863
|
+
# Consider a hypothetical node pool with 5 nodes having maxSurge=2,
|
2864
|
+
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
2865
|
+
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
2866
|
+
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
2867
|
+
# there are always at least 4 nodes available.
|
2868
|
+
# Corresponds to the JSON property `upgradeSettings`
|
2869
|
+
# @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
|
2870
|
+
attr_accessor :upgrade_settings
|
2871
|
+
|
2526
2872
|
# The version of the Kubernetes of this node.
|
2527
2873
|
# Corresponds to the JSON property `version`
|
2528
2874
|
# @return [String]
|
@@ -2547,6 +2893,7 @@ module Google
|
|
2547
2893
|
@self_link = args[:self_link] if args.key?(:self_link)
|
2548
2894
|
@status = args[:status] if args.key?(:status)
|
2549
2895
|
@status_message = args[:status_message] if args.key?(:status_message)
|
2896
|
+
@upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
|
2550
2897
|
@version = args[:version] if args.key?(:version)
|
2551
2898
|
end
|
2552
2899
|
end
|
@@ -2595,8 +2942,9 @@ module Google
|
|
2595
2942
|
|
2596
2943
|
# Kubernetes taint is comprised of three fields: key, value, and effect. Effect
|
2597
2944
|
# can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
|
2598
|
-
#
|
2599
|
-
# https://kubernetes.io/docs/concepts/configuration/taint-and-toleration
|
2945
|
+
# See
|
2946
|
+
# [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
|
2947
|
+
# for more information, including usage and the valid values.
|
2600
2948
|
class NodeTaint
|
2601
2949
|
include Google::Apis::Core::Hashable
|
2602
2950
|
|
@@ -2649,9 +2997,12 @@ module Google
|
|
2649
2997
|
attr_accessor :end_time
|
2650
2998
|
|
2651
2999
|
# [Output only] The name of the Google Compute Engine
|
2652
|
-
# [zone](/compute/docs/regions-zones/regions-zones#
|
2653
|
-
#
|
2654
|
-
#
|
3000
|
+
# [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
|
3001
|
+
# available)
|
3002
|
+
# or
|
3003
|
+
# [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
|
3004
|
+
# available)
|
3005
|
+
# in which the cluster resides.
|
2655
3006
|
# Corresponds to the JSON property `location`
|
2656
3007
|
# @return [String]
|
2657
3008
|
attr_accessor :location
|
@@ -2692,7 +3043,7 @@ module Google
|
|
2692
3043
|
# @return [String]
|
2693
3044
|
attr_accessor :status
|
2694
3045
|
|
2695
|
-
# If an error has occurred, a textual description of the error.
|
3046
|
+
# Output only. If an error has occurred, a textual description of the error.
|
2696
3047
|
# Corresponds to the JSON property `statusMessage`
|
2697
3048
|
# @return [String]
|
2698
3049
|
attr_accessor :status_message
|
@@ -2703,9 +3054,8 @@ module Google
|
|
2703
3054
|
attr_accessor :target_link
|
2704
3055
|
|
2705
3056
|
# The name of the Google Compute Engine
|
2706
|
-
# [zone](/compute/docs/zones#available) in which the
|
2707
|
-
# is taking place.
|
2708
|
-
# This field is deprecated, use location instead.
|
3057
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
3058
|
+
# operation is taking place. This field is deprecated, use location instead.
|
2709
3059
|
# Corresponds to the JSON property `zone`
|
2710
3060
|
# @return [String]
|
2711
3061
|
attr_accessor :zone
|
@@ -2798,41 +3148,10 @@ module Google
|
|
2798
3148
|
end
|
2799
3149
|
end
|
2800
3150
|
|
2801
|
-
# PremiumConfig is the configuration for all premium features and tiers.
|
2802
|
-
class PremiumConfig
|
2803
|
-
include Google::Apis::Core::Hashable
|
2804
|
-
|
2805
|
-
# The features that GKE provides.
|
2806
|
-
# Corresponds to the JSON property `features`
|
2807
|
-
# @return [Array<Google::Apis::ContainerV1beta1::FeatureConfig>]
|
2808
|
-
attr_accessor :features
|
2809
|
-
|
2810
|
-
# The tiers that are part of the premium offering.
|
2811
|
-
# Corresponds to the JSON property `tiers`
|
2812
|
-
# @return [Array<Google::Apis::ContainerV1beta1::TierConfig>]
|
2813
|
-
attr_accessor :tiers
|
2814
|
-
|
2815
|
-
def initialize(**args)
|
2816
|
-
update!(**args)
|
2817
|
-
end
|
2818
|
-
|
2819
|
-
# Update properties of this object
|
2820
|
-
def update!(**args)
|
2821
|
-
@features = args[:features] if args.key?(:features)
|
2822
|
-
@tiers = args[:tiers] if args.key?(:tiers)
|
2823
|
-
end
|
2824
|
-
end
|
2825
|
-
|
2826
3151
|
# Configuration options for private clusters.
|
2827
3152
|
class PrivateClusterConfig
|
2828
3153
|
include Google::Apis::Core::Hashable
|
2829
3154
|
|
2830
|
-
# Whether to enable route sharing over the network peering.
|
2831
|
-
# Corresponds to the JSON property `enablePeeringRouteSharing`
|
2832
|
-
# @return [Boolean]
|
2833
|
-
attr_accessor :enable_peering_route_sharing
|
2834
|
-
alias_method :enable_peering_route_sharing?, :enable_peering_route_sharing
|
2835
|
-
|
2836
3155
|
# Whether the master's internal IP address is used as the cluster endpoint.
|
2837
3156
|
# Corresponds to the JSON property `enablePrivateEndpoint`
|
2838
3157
|
# @return [Boolean]
|
@@ -2847,6 +3166,11 @@ module Google
|
|
2847
3166
|
attr_accessor :enable_private_nodes
|
2848
3167
|
alias_method :enable_private_nodes?, :enable_private_nodes
|
2849
3168
|
|
3169
|
+
# Configuration for controlling master global access settings.
|
3170
|
+
# Corresponds to the JSON property `masterGlobalAccessConfig`
|
3171
|
+
# @return [Google::Apis::ContainerV1beta1::PrivateClusterMasterGlobalAccessConfig]
|
3172
|
+
attr_accessor :master_global_access_config
|
3173
|
+
|
2850
3174
|
# The IP range in CIDR notation to use for the hosted master network. This
|
2851
3175
|
# range will be used for assigning internal IP addresses to the master or
|
2852
3176
|
# set of masters, as well as the ILB VIP. This range must not overlap with
|
@@ -2876,9 +3200,9 @@ module Google
|
|
2876
3200
|
|
2877
3201
|
# Update properties of this object
|
2878
3202
|
def update!(**args)
|
2879
|
-
@enable_peering_route_sharing = args[:enable_peering_route_sharing] if args.key?(:enable_peering_route_sharing)
|
2880
3203
|
@enable_private_endpoint = args[:enable_private_endpoint] if args.key?(:enable_private_endpoint)
|
2881
3204
|
@enable_private_nodes = args[:enable_private_nodes] if args.key?(:enable_private_nodes)
|
3205
|
+
@master_global_access_config = args[:master_global_access_config] if args.key?(:master_global_access_config)
|
2882
3206
|
@master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block)
|
2883
3207
|
@peering_name = args[:peering_name] if args.key?(:peering_name)
|
2884
3208
|
@private_endpoint = args[:private_endpoint] if args.key?(:private_endpoint)
|
@@ -2886,6 +3210,26 @@ module Google
|
|
2886
3210
|
end
|
2887
3211
|
end
|
2888
3212
|
|
3213
|
+
# Configuration for controlling master global access settings.
|
3214
|
+
class PrivateClusterMasterGlobalAccessConfig
|
3215
|
+
include Google::Apis::Core::Hashable
|
3216
|
+
|
3217
|
+
# Whenever master is accessible globally or not.
|
3218
|
+
# Corresponds to the JSON property `enabled`
|
3219
|
+
# @return [Boolean]
|
3220
|
+
attr_accessor :enabled
|
3221
|
+
alias_method :enabled?, :enabled
|
3222
|
+
|
3223
|
+
def initialize(**args)
|
3224
|
+
update!(**args)
|
3225
|
+
end
|
3226
|
+
|
3227
|
+
# Update properties of this object
|
3228
|
+
def update!(**args)
|
3229
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
3230
|
+
end
|
3231
|
+
end
|
3232
|
+
|
2889
3233
|
# Represents an arbitrary window of time that recurs.
|
2890
3234
|
class RecurringTimeWindow
|
2891
3235
|
include Google::Apis::Core::Hashable
|
@@ -2965,6 +3309,11 @@ module Google
|
|
2965
3309
|
class ReleaseChannelConfig
|
2966
3310
|
include Google::Apis::Core::Hashable
|
2967
3311
|
|
3312
|
+
# List of available versions for the release channel.
|
3313
|
+
# Corresponds to the JSON property `availableVersions`
|
3314
|
+
# @return [Array<Google::Apis::ContainerV1beta1::AvailableVersion>]
|
3315
|
+
attr_accessor :available_versions
|
3316
|
+
|
2968
3317
|
# The release channel this configuration applies to.
|
2969
3318
|
# Corresponds to the JSON property `channel`
|
2970
3319
|
# @return [String]
|
@@ -2981,11 +3330,48 @@ module Google
|
|
2981
3330
|
|
2982
3331
|
# Update properties of this object
|
2983
3332
|
def update!(**args)
|
3333
|
+
@available_versions = args[:available_versions] if args.key?(:available_versions)
|
2984
3334
|
@channel = args[:channel] if args.key?(:channel)
|
2985
3335
|
@default_version = args[:default_version] if args.key?(:default_version)
|
2986
3336
|
end
|
2987
3337
|
end
|
2988
3338
|
|
3339
|
+
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
|
3340
|
+
# reserving-zonal-resources)
|
3341
|
+
# is the configuration of desired reservation which instances could take
|
3342
|
+
# capacity from.
|
3343
|
+
class ReservationAffinity
|
3344
|
+
include Google::Apis::Core::Hashable
|
3345
|
+
|
3346
|
+
# Corresponds to the type of reservation consumption.
|
3347
|
+
# Corresponds to the JSON property `consumeReservationType`
|
3348
|
+
# @return [String]
|
3349
|
+
attr_accessor :consume_reservation_type
|
3350
|
+
|
3351
|
+
# Corresponds to the label key of a reservation resource. To target a
|
3352
|
+
# SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as
|
3353
|
+
# the key and specify the name of your reservation as its value.
|
3354
|
+
# Corresponds to the JSON property `key`
|
3355
|
+
# @return [String]
|
3356
|
+
attr_accessor :key
|
3357
|
+
|
3358
|
+
# Corresponds to the label value(s) of reservation resource(s).
|
3359
|
+
# Corresponds to the JSON property `values`
|
3360
|
+
# @return [Array<String>]
|
3361
|
+
attr_accessor :values
|
3362
|
+
|
3363
|
+
def initialize(**args)
|
3364
|
+
update!(**args)
|
3365
|
+
end
|
3366
|
+
|
3367
|
+
# Update properties of this object
|
3368
|
+
def update!(**args)
|
3369
|
+
@consume_reservation_type = args[:consume_reservation_type] if args.key?(:consume_reservation_type)
|
3370
|
+
@key = args[:key] if args.key?(:key)
|
3371
|
+
@values = args[:values] if args.key?(:values)
|
3372
|
+
end
|
3373
|
+
end
|
3374
|
+
|
2989
3375
|
# Contains information about amount of some resource in the cluster.
|
2990
3376
|
# For memory, value should be in GB.
|
2991
3377
|
class ResourceLimit
|
@@ -3057,7 +3443,7 @@ module Google
|
|
3057
3443
|
class RollbackNodePoolUpgradeRequest
|
3058
3444
|
include Google::Apis::Core::Hashable
|
3059
3445
|
|
3060
|
-
# Deprecated. The name of the cluster to rollback.
|
3446
|
+
# Required. Deprecated. The name of the cluster to rollback.
|
3061
3447
|
# This field has been deprecated and replaced by the name field.
|
3062
3448
|
# Corresponds to the JSON property `clusterId`
|
3063
3449
|
# @return [String]
|
@@ -3065,28 +3451,28 @@ module Google
|
|
3065
3451
|
|
3066
3452
|
# The name (project, location, cluster, node pool id) of the node poll to
|
3067
3453
|
# rollback upgrade.
|
3068
|
-
# Specified in the format
|
3454
|
+
# Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
|
3069
3455
|
# Corresponds to the JSON property `name`
|
3070
3456
|
# @return [String]
|
3071
3457
|
attr_accessor :name
|
3072
3458
|
|
3073
|
-
# Deprecated. The name of the node pool to rollback.
|
3459
|
+
# Required. Deprecated. The name of the node pool to rollback.
|
3074
3460
|
# This field has been deprecated and replaced by the name field.
|
3075
3461
|
# Corresponds to the JSON property `nodePoolId`
|
3076
3462
|
# @return [String]
|
3077
3463
|
attr_accessor :node_pool_id
|
3078
3464
|
|
3079
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3465
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3080
3466
|
# number](https://support.google.com/cloud/answer/6158840).
|
3081
3467
|
# This field has been deprecated and replaced by the name field.
|
3082
3468
|
# Corresponds to the JSON property `projectId`
|
3083
3469
|
# @return [String]
|
3084
3470
|
attr_accessor :project_id
|
3085
3471
|
|
3086
|
-
# Deprecated. The name of the Google Compute Engine
|
3087
|
-
# [zone](/compute/docs/zones#available) in which the
|
3088
|
-
# resides.
|
3089
|
-
#
|
3472
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
3473
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
3474
|
+
# cluster resides. This field has been deprecated and replaced by the name
|
3475
|
+
# field.
|
3090
3476
|
# Corresponds to the JSON property `zone`
|
3091
3477
|
# @return [String]
|
3092
3478
|
attr_accessor :zone
|
@@ -3114,6 +3500,11 @@ module Google
|
|
3114
3500
|
# @return [String]
|
3115
3501
|
attr_accessor :sandbox_type
|
3116
3502
|
|
3503
|
+
# Type of the sandbox to use for the node.
|
3504
|
+
# Corresponds to the JSON property `type`
|
3505
|
+
# @return [String]
|
3506
|
+
attr_accessor :type
|
3507
|
+
|
3117
3508
|
def initialize(**args)
|
3118
3509
|
update!(**args)
|
3119
3510
|
end
|
@@ -3121,6 +3512,7 @@ module Google
|
|
3121
3512
|
# Update properties of this object
|
3122
3513
|
def update!(**args)
|
3123
3514
|
@sandbox_type = args[:sandbox_type] if args.key?(:sandbox_type)
|
3515
|
+
@type = args[:type] if args.key?(:type)
|
3124
3516
|
end
|
3125
3517
|
end
|
3126
3518
|
|
@@ -3143,11 +3535,6 @@ module Google
|
|
3143
3535
|
# @return [String]
|
3144
3536
|
attr_accessor :default_image_type
|
3145
3537
|
|
3146
|
-
# PremiumConfig is the configuration for all premium features and tiers.
|
3147
|
-
# Corresponds to the JSON property `premiumConfig`
|
3148
|
-
# @return [Google::Apis::ContainerV1beta1::PremiumConfig]
|
3149
|
-
attr_accessor :premium_config
|
3150
|
-
|
3151
3538
|
# List of valid image types.
|
3152
3539
|
# Corresponds to the JSON property `validImageTypes`
|
3153
3540
|
# @return [Array<String>]
|
@@ -3172,7 +3559,6 @@ module Google
|
|
3172
3559
|
@channels = args[:channels] if args.key?(:channels)
|
3173
3560
|
@default_cluster_version = args[:default_cluster_version] if args.key?(:default_cluster_version)
|
3174
3561
|
@default_image_type = args[:default_image_type] if args.key?(:default_image_type)
|
3175
|
-
@premium_config = args[:premium_config] if args.key?(:premium_config)
|
3176
3562
|
@valid_image_types = args[:valid_image_types] if args.key?(:valid_image_types)
|
3177
3563
|
@valid_master_versions = args[:valid_master_versions] if args.key?(:valid_master_versions)
|
3178
3564
|
@valid_node_versions = args[:valid_node_versions] if args.key?(:valid_node_versions)
|
@@ -3189,29 +3575,29 @@ module Google
|
|
3189
3575
|
# @return [Google::Apis::ContainerV1beta1::AddonsConfig]
|
3190
3576
|
attr_accessor :addons_config
|
3191
3577
|
|
3192
|
-
# Deprecated. The name of the cluster to upgrade.
|
3578
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
3193
3579
|
# This field has been deprecated and replaced by the name field.
|
3194
3580
|
# Corresponds to the JSON property `clusterId`
|
3195
3581
|
# @return [String]
|
3196
3582
|
attr_accessor :cluster_id
|
3197
3583
|
|
3198
3584
|
# The name (project, location, cluster) of the cluster to set addons.
|
3199
|
-
# Specified in the format
|
3585
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
3200
3586
|
# Corresponds to the JSON property `name`
|
3201
3587
|
# @return [String]
|
3202
3588
|
attr_accessor :name
|
3203
3589
|
|
3204
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3590
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3205
3591
|
# number](https://support.google.com/cloud/answer/6158840).
|
3206
3592
|
# This field has been deprecated and replaced by the name field.
|
3207
3593
|
# Corresponds to the JSON property `projectId`
|
3208
3594
|
# @return [String]
|
3209
3595
|
attr_accessor :project_id
|
3210
3596
|
|
3211
|
-
# Deprecated. The name of the Google Compute Engine
|
3212
|
-
# [zone](/compute/docs/zones#available) in which the
|
3213
|
-
# resides.
|
3214
|
-
#
|
3597
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
3598
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
3599
|
+
# cluster resides. This field has been deprecated and replaced by the name
|
3600
|
+
# field.
|
3215
3601
|
# Corresponds to the JSON property `zone`
|
3216
3602
|
# @return [String]
|
3217
3603
|
attr_accessor :zone
|
@@ -3236,13 +3622,13 @@ module Google
|
|
3236
3622
|
class SetLabelsRequest
|
3237
3623
|
include Google::Apis::Core::Hashable
|
3238
3624
|
|
3239
|
-
# Deprecated. The name of the cluster.
|
3625
|
+
# Required. Deprecated. The name of the cluster.
|
3240
3626
|
# This field has been deprecated and replaced by the name field.
|
3241
3627
|
# Corresponds to the JSON property `clusterId`
|
3242
3628
|
# @return [String]
|
3243
3629
|
attr_accessor :cluster_id
|
3244
3630
|
|
3245
|
-
# The fingerprint of the previous set of labels for this resource,
|
3631
|
+
# Required. The fingerprint of the previous set of labels for this resource,
|
3246
3632
|
# used to detect conflicts. The fingerprint is initially generated by
|
3247
3633
|
# Kubernetes Engine and changes after every request to modify or update
|
3248
3634
|
# labels. You must always provide an up-to-date fingerprint hash when
|
@@ -3253,27 +3639,27 @@ module Google
|
|
3253
3639
|
attr_accessor :label_fingerprint
|
3254
3640
|
|
3255
3641
|
# The name (project, location, cluster id) of the cluster to set labels.
|
3256
|
-
# Specified in the format
|
3642
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
3257
3643
|
# Corresponds to the JSON property `name`
|
3258
3644
|
# @return [String]
|
3259
3645
|
attr_accessor :name
|
3260
3646
|
|
3261
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3647
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3262
3648
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
3263
3649
|
# This field has been deprecated and replaced by the name field.
|
3264
3650
|
# Corresponds to the JSON property `projectId`
|
3265
3651
|
# @return [String]
|
3266
3652
|
attr_accessor :project_id
|
3267
3653
|
|
3268
|
-
# The labels to set for that cluster.
|
3654
|
+
# Required. The labels to set for that cluster.
|
3269
3655
|
# Corresponds to the JSON property `resourceLabels`
|
3270
3656
|
# @return [Hash<String,String>]
|
3271
3657
|
attr_accessor :resource_labels
|
3272
3658
|
|
3273
|
-
# Deprecated. The name of the Google Compute Engine
|
3274
|
-
# [zone](/compute/docs/zones#available) in which the
|
3275
|
-
# resides.
|
3276
|
-
#
|
3659
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
3660
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
3661
|
+
# cluster resides. This field has been deprecated and replaced by the name
|
3662
|
+
# field.
|
3277
3663
|
# Corresponds to the JSON property `zone`
|
3278
3664
|
# @return [String]
|
3279
3665
|
attr_accessor :zone
|
@@ -3298,35 +3684,35 @@ module Google
|
|
3298
3684
|
class SetLegacyAbacRequest
|
3299
3685
|
include Google::Apis::Core::Hashable
|
3300
3686
|
|
3301
|
-
# Deprecated. The name of the cluster to update.
|
3687
|
+
# Required. Deprecated. The name of the cluster to update.
|
3302
3688
|
# This field has been deprecated and replaced by the name field.
|
3303
3689
|
# Corresponds to the JSON property `clusterId`
|
3304
3690
|
# @return [String]
|
3305
3691
|
attr_accessor :cluster_id
|
3306
3692
|
|
3307
|
-
# Whether ABAC authorization will be enabled in the cluster.
|
3693
|
+
# Required. Whether ABAC authorization will be enabled in the cluster.
|
3308
3694
|
# Corresponds to the JSON property `enabled`
|
3309
3695
|
# @return [Boolean]
|
3310
3696
|
attr_accessor :enabled
|
3311
3697
|
alias_method :enabled?, :enabled
|
3312
3698
|
|
3313
3699
|
# The name (project, location, cluster id) of the cluster to set legacy abac.
|
3314
|
-
# Specified in the format
|
3700
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
3315
3701
|
# Corresponds to the JSON property `name`
|
3316
3702
|
# @return [String]
|
3317
3703
|
attr_accessor :name
|
3318
3704
|
|
3319
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3705
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3320
3706
|
# number](https://support.google.com/cloud/answer/6158840).
|
3321
3707
|
# This field has been deprecated and replaced by the name field.
|
3322
3708
|
# Corresponds to the JSON property `projectId`
|
3323
3709
|
# @return [String]
|
3324
3710
|
attr_accessor :project_id
|
3325
3711
|
|
3326
|
-
# Deprecated. The name of the Google Compute Engine
|
3327
|
-
# [zone](/compute/docs/zones#available) in which the
|
3328
|
-
# resides.
|
3329
|
-
#
|
3712
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
3713
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
3714
|
+
# cluster resides. This field has been deprecated and replaced by the name
|
3715
|
+
# field.
|
3330
3716
|
# Corresponds to the JSON property `zone`
|
3331
3717
|
# @return [String]
|
3332
3718
|
attr_accessor :zone
|
@@ -3349,39 +3735,39 @@ module Google
|
|
3349
3735
|
class SetLocationsRequest
|
3350
3736
|
include Google::Apis::Core::Hashable
|
3351
3737
|
|
3352
|
-
# Deprecated. The name of the cluster to upgrade.
|
3738
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
3353
3739
|
# This field has been deprecated and replaced by the name field.
|
3354
3740
|
# Corresponds to the JSON property `clusterId`
|
3355
3741
|
# @return [String]
|
3356
3742
|
attr_accessor :cluster_id
|
3357
3743
|
|
3358
|
-
# The desired list of Google Compute Engine
|
3359
|
-
# [zones](/compute/docs/zones#available) in which the
|
3360
|
-
# should be located. Changing the locations a cluster is in
|
3361
|
-
# in nodes being either created or removed from the cluster,
|
3362
|
-
# whether locations are being added or removed.
|
3744
|
+
# Required. The desired list of Google Compute Engine
|
3745
|
+
# [zones](https://cloud.google.com/compute/docs/zones#available) in which the
|
3746
|
+
# cluster's nodes should be located. Changing the locations a cluster is in
|
3747
|
+
# will result in nodes being either created or removed from the cluster,
|
3748
|
+
# depending on whether locations are being added or removed.
|
3363
3749
|
# This list must always include the cluster's primary zone.
|
3364
3750
|
# Corresponds to the JSON property `locations`
|
3365
3751
|
# @return [Array<String>]
|
3366
3752
|
attr_accessor :locations
|
3367
3753
|
|
3368
3754
|
# The name (project, location, cluster) of the cluster to set locations.
|
3369
|
-
# Specified in the format
|
3755
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
3370
3756
|
# Corresponds to the JSON property `name`
|
3371
3757
|
# @return [String]
|
3372
3758
|
attr_accessor :name
|
3373
3759
|
|
3374
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3760
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3375
3761
|
# number](https://support.google.com/cloud/answer/6158840).
|
3376
3762
|
# This field has been deprecated and replaced by the name field.
|
3377
3763
|
# Corresponds to the JSON property `projectId`
|
3378
3764
|
# @return [String]
|
3379
3765
|
attr_accessor :project_id
|
3380
3766
|
|
3381
|
-
# Deprecated. The name of the Google Compute Engine
|
3382
|
-
# [zone](/compute/docs/zones#available) in which the
|
3383
|
-
# resides.
|
3384
|
-
#
|
3767
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
3768
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
3769
|
+
# cluster resides. This field has been deprecated and replaced by the name
|
3770
|
+
# field.
|
3385
3771
|
# Corresponds to the JSON property `zone`
|
3386
3772
|
# @return [String]
|
3387
3773
|
attr_accessor :zone
|
@@ -3404,37 +3790,42 @@ module Google
|
|
3404
3790
|
class SetLoggingServiceRequest
|
3405
3791
|
include Google::Apis::Core::Hashable
|
3406
3792
|
|
3407
|
-
# Deprecated. The name of the cluster to upgrade.
|
3793
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
3408
3794
|
# This field has been deprecated and replaced by the name field.
|
3409
3795
|
# Corresponds to the JSON property `clusterId`
|
3410
3796
|
# @return [String]
|
3411
3797
|
attr_accessor :cluster_id
|
3412
3798
|
|
3413
|
-
# The logging service the cluster should use to write
|
3799
|
+
# Required. The logging service the cluster should use to write logs.
|
3414
3800
|
# Currently available options:
|
3415
|
-
# *
|
3416
|
-
#
|
3801
|
+
# * `logging.googleapis.com/kubernetes` - The Cloud Logging
|
3802
|
+
# service with a Kubernetes-native resource model
|
3803
|
+
# * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
|
3804
|
+
# available as of GKE 1.15).
|
3805
|
+
# * `none` - no logs will be exported from the cluster.
|
3806
|
+
# If left as an empty string,`logging.googleapis.com/kubernetes` will be
|
3807
|
+
# used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
|
3417
3808
|
# Corresponds to the JSON property `loggingService`
|
3418
3809
|
# @return [String]
|
3419
3810
|
attr_accessor :logging_service
|
3420
3811
|
|
3421
3812
|
# The name (project, location, cluster) of the cluster to set logging.
|
3422
|
-
# Specified in the format
|
3813
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
3423
3814
|
# Corresponds to the JSON property `name`
|
3424
3815
|
# @return [String]
|
3425
3816
|
attr_accessor :name
|
3426
3817
|
|
3427
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3818
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3428
3819
|
# number](https://support.google.com/cloud/answer/6158840).
|
3429
3820
|
# This field has been deprecated and replaced by the name field.
|
3430
3821
|
# Corresponds to the JSON property `projectId`
|
3431
3822
|
# @return [String]
|
3432
3823
|
attr_accessor :project_id
|
3433
3824
|
|
3434
|
-
# Deprecated. The name of the Google Compute Engine
|
3435
|
-
# [zone](/compute/docs/zones#available) in which the
|
3436
|
-
# resides.
|
3437
|
-
#
|
3825
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
3826
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
3827
|
+
# cluster resides. This field has been deprecated and replaced by the name
|
3828
|
+
# field.
|
3438
3829
|
# Corresponds to the JSON property `zone`
|
3439
3830
|
# @return [String]
|
3440
3831
|
attr_accessor :zone
|
@@ -3457,7 +3848,7 @@ module Google
|
|
3457
3848
|
class SetMaintenancePolicyRequest
|
3458
3849
|
include Google::Apis::Core::Hashable
|
3459
3850
|
|
3460
|
-
# The name of the cluster to update.
|
3851
|
+
# Required. The name of the cluster to update.
|
3461
3852
|
# Corresponds to the JSON property `clusterId`
|
3462
3853
|
# @return [String]
|
3463
3854
|
attr_accessor :cluster_id
|
@@ -3469,20 +3860,20 @@ module Google
|
|
3469
3860
|
|
3470
3861
|
# The name (project, location, cluster id) of the cluster to set maintenance
|
3471
3862
|
# policy.
|
3472
|
-
# Specified in the format
|
3863
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
3473
3864
|
# Corresponds to the JSON property `name`
|
3474
3865
|
# @return [String]
|
3475
3866
|
attr_accessor :name
|
3476
3867
|
|
3477
|
-
# The Google Developers Console [project ID or project
|
3868
|
+
# Required. The Google Developers Console [project ID or project
|
3478
3869
|
# number](https://support.google.com/cloud/answer/6158840).
|
3479
3870
|
# Corresponds to the JSON property `projectId`
|
3480
3871
|
# @return [String]
|
3481
3872
|
attr_accessor :project_id
|
3482
3873
|
|
3483
|
-
# The name of the Google Compute Engine
|
3484
|
-
# [zone](/compute/docs/zones#available) in which the
|
3485
|
-
# resides.
|
3874
|
+
# Required. The name of the Google Compute Engine
|
3875
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
3876
|
+
# cluster resides.
|
3486
3877
|
# Corresponds to the JSON property `zone`
|
3487
3878
|
# @return [String]
|
3488
3879
|
attr_accessor :zone
|
@@ -3505,24 +3896,24 @@ module Google
|
|
3505
3896
|
class SetMasterAuthRequest
|
3506
3897
|
include Google::Apis::Core::Hashable
|
3507
3898
|
|
3508
|
-
# The exact form of action to be taken on the master auth.
|
3899
|
+
# Required. The exact form of action to be taken on the master auth.
|
3509
3900
|
# Corresponds to the JSON property `action`
|
3510
3901
|
# @return [String]
|
3511
3902
|
attr_accessor :action
|
3512
3903
|
|
3513
|
-
# Deprecated. The name of the cluster to upgrade.
|
3904
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
3514
3905
|
# This field has been deprecated and replaced by the name field.
|
3515
3906
|
# Corresponds to the JSON property `clusterId`
|
3516
3907
|
# @return [String]
|
3517
3908
|
attr_accessor :cluster_id
|
3518
3909
|
|
3519
3910
|
# The name (project, location, cluster) of the cluster to set auth.
|
3520
|
-
# Specified in the format
|
3911
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
3521
3912
|
# Corresponds to the JSON property `name`
|
3522
3913
|
# @return [String]
|
3523
3914
|
attr_accessor :name
|
3524
3915
|
|
3525
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3916
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3526
3917
|
# number](https://support.google.com/cloud/answer/6158840).
|
3527
3918
|
# This field has been deprecated and replaced by the name field.
|
3528
3919
|
# Corresponds to the JSON property `projectId`
|
@@ -3536,10 +3927,10 @@ module Google
|
|
3536
3927
|
# @return [Google::Apis::ContainerV1beta1::MasterAuth]
|
3537
3928
|
attr_accessor :update
|
3538
3929
|
|
3539
|
-
# Deprecated. The name of the Google Compute Engine
|
3540
|
-
# [zone](/compute/docs/zones#available) in which the
|
3541
|
-
# resides.
|
3542
|
-
#
|
3930
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
3931
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
3932
|
+
# cluster resides. This field has been deprecated and replaced by the name
|
3933
|
+
# field.
|
3543
3934
|
# Corresponds to the JSON property `zone`
|
3544
3935
|
# @return [String]
|
3545
3936
|
attr_accessor :zone
|
@@ -3563,37 +3954,42 @@ module Google
|
|
3563
3954
|
class SetMonitoringServiceRequest
|
3564
3955
|
include Google::Apis::Core::Hashable
|
3565
3956
|
|
3566
|
-
# Deprecated. The name of the cluster to upgrade.
|
3957
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
3567
3958
|
# This field has been deprecated and replaced by the name field.
|
3568
3959
|
# Corresponds to the JSON property `clusterId`
|
3569
3960
|
# @return [String]
|
3570
3961
|
attr_accessor :cluster_id
|
3571
3962
|
|
3572
|
-
# The monitoring service the cluster should use to write metrics.
|
3963
|
+
# Required. The monitoring service the cluster should use to write metrics.
|
3573
3964
|
# Currently available options:
|
3574
|
-
# * "monitoring.googleapis.com" -
|
3575
|
-
#
|
3965
|
+
# * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
|
3966
|
+
# service with a Kubernetes-native resource model
|
3967
|
+
# * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
|
3968
|
+
# longer available as of GKE 1.15).
|
3969
|
+
# * `none` - No metrics will be exported from the cluster.
|
3970
|
+
# If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
|
3971
|
+
# used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
3576
3972
|
# Corresponds to the JSON property `monitoringService`
|
3577
3973
|
# @return [String]
|
3578
3974
|
attr_accessor :monitoring_service
|
3579
3975
|
|
3580
3976
|
# The name (project, location, cluster) of the cluster to set monitoring.
|
3581
|
-
# Specified in the format
|
3977
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
3582
3978
|
# Corresponds to the JSON property `name`
|
3583
3979
|
# @return [String]
|
3584
3980
|
attr_accessor :name
|
3585
3981
|
|
3586
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3982
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3587
3983
|
# number](https://support.google.com/cloud/answer/6158840).
|
3588
3984
|
# This field has been deprecated and replaced by the name field.
|
3589
3985
|
# Corresponds to the JSON property `projectId`
|
3590
3986
|
# @return [String]
|
3591
3987
|
attr_accessor :project_id
|
3592
3988
|
|
3593
|
-
# Deprecated. The name of the Google Compute Engine
|
3594
|
-
# [zone](/compute/docs/zones#available) in which the
|
3595
|
-
# resides.
|
3596
|
-
#
|
3989
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
3990
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
3991
|
+
# cluster resides. This field has been deprecated and replaced by the name
|
3992
|
+
# field.
|
3597
3993
|
# Corresponds to the JSON property `zone`
|
3598
3994
|
# @return [String]
|
3599
3995
|
attr_accessor :zone
|
@@ -3616,14 +4012,14 @@ module Google
|
|
3616
4012
|
class SetNetworkPolicyRequest
|
3617
4013
|
include Google::Apis::Core::Hashable
|
3618
4014
|
|
3619
|
-
# Deprecated. The name of the cluster.
|
4015
|
+
# Required. Deprecated. The name of the cluster.
|
3620
4016
|
# This field has been deprecated and replaced by the name field.
|
3621
4017
|
# Corresponds to the JSON property `clusterId`
|
3622
4018
|
# @return [String]
|
3623
4019
|
attr_accessor :cluster_id
|
3624
4020
|
|
3625
4021
|
# The name (project, location, cluster id) of the cluster to set networking
|
3626
|
-
# policy. Specified in the format
|
4022
|
+
# policy. Specified in the format `projects/*/locations/*/clusters/*`.
|
3627
4023
|
# Corresponds to the JSON property `name`
|
3628
4024
|
# @return [String]
|
3629
4025
|
attr_accessor :name
|
@@ -3634,17 +4030,17 @@ module Google
|
|
3634
4030
|
# @return [Google::Apis::ContainerV1beta1::NetworkPolicy]
|
3635
4031
|
attr_accessor :network_policy
|
3636
4032
|
|
3637
|
-
# Deprecated. The Google Developers Console [project ID or project
|
4033
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3638
4034
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
3639
4035
|
# This field has been deprecated and replaced by the name field.
|
3640
4036
|
# Corresponds to the JSON property `projectId`
|
3641
4037
|
# @return [String]
|
3642
4038
|
attr_accessor :project_id
|
3643
4039
|
|
3644
|
-
# Deprecated. The name of the Google Compute Engine
|
3645
|
-
# [zone](/compute/docs/zones#available) in which the
|
3646
|
-
# resides.
|
3647
|
-
#
|
4040
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
4041
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
4042
|
+
# cluster resides. This field has been deprecated and replaced by the name
|
4043
|
+
# field.
|
3648
4044
|
# Corresponds to the JSON property `zone`
|
3649
4045
|
# @return [String]
|
3650
4046
|
attr_accessor :zone
|
@@ -3673,7 +4069,7 @@ module Google
|
|
3673
4069
|
# @return [Google::Apis::ContainerV1beta1::NodePoolAutoscaling]
|
3674
4070
|
attr_accessor :autoscaling
|
3675
4071
|
|
3676
|
-
# Deprecated. The name of the cluster to upgrade.
|
4072
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
3677
4073
|
# This field has been deprecated and replaced by the name field.
|
3678
4074
|
# Corresponds to the JSON property `clusterId`
|
3679
4075
|
# @return [String]
|
@@ -3681,28 +4077,28 @@ module Google
|
|
3681
4077
|
|
3682
4078
|
# The name (project, location, cluster, node pool) of the node pool to set
|
3683
4079
|
# autoscaler settings. Specified in the format
|
3684
|
-
#
|
4080
|
+
# `projects/*/locations/*/clusters/*/nodePools/*`.
|
3685
4081
|
# Corresponds to the JSON property `name`
|
3686
4082
|
# @return [String]
|
3687
4083
|
attr_accessor :name
|
3688
4084
|
|
3689
|
-
# Deprecated. The name of the node pool to upgrade.
|
4085
|
+
# Required. Deprecated. The name of the node pool to upgrade.
|
3690
4086
|
# This field has been deprecated and replaced by the name field.
|
3691
4087
|
# Corresponds to the JSON property `nodePoolId`
|
3692
4088
|
# @return [String]
|
3693
4089
|
attr_accessor :node_pool_id
|
3694
4090
|
|
3695
|
-
# Deprecated. The Google Developers Console [project ID or project
|
4091
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3696
4092
|
# number](https://support.google.com/cloud/answer/6158840).
|
3697
4093
|
# This field has been deprecated and replaced by the name field.
|
3698
4094
|
# Corresponds to the JSON property `projectId`
|
3699
4095
|
# @return [String]
|
3700
4096
|
attr_accessor :project_id
|
3701
4097
|
|
3702
|
-
# Deprecated. The name of the Google Compute Engine
|
3703
|
-
# [zone](/compute/docs/zones#available) in which the
|
3704
|
-
# resides.
|
3705
|
-
#
|
4098
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
4099
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
4100
|
+
# cluster resides. This field has been deprecated and replaced by the name
|
4101
|
+
# field.
|
3706
4102
|
# Corresponds to the JSON property `zone`
|
3707
4103
|
# @return [String]
|
3708
4104
|
attr_accessor :zone
|
@@ -3727,7 +4123,7 @@ module Google
|
|
3727
4123
|
class SetNodePoolManagementRequest
|
3728
4124
|
include Google::Apis::Core::Hashable
|
3729
4125
|
|
3730
|
-
# Deprecated. The name of the cluster to update.
|
4126
|
+
# Required. Deprecated. The name of the cluster to update.
|
3731
4127
|
# This field has been deprecated and replaced by the name field.
|
3732
4128
|
# Corresponds to the JSON property `clusterId`
|
3733
4129
|
# @return [String]
|
@@ -3741,28 +4137,28 @@ module Google
|
|
3741
4137
|
|
3742
4138
|
# The name (project, location, cluster, node pool id) of the node pool to set
|
3743
4139
|
# management properties. Specified in the format
|
3744
|
-
#
|
4140
|
+
# `projects/*/locations/*/clusters/*/nodePools/*`.
|
3745
4141
|
# Corresponds to the JSON property `name`
|
3746
4142
|
# @return [String]
|
3747
4143
|
attr_accessor :name
|
3748
4144
|
|
3749
|
-
# Deprecated. The name of the node pool to update.
|
4145
|
+
# Required. Deprecated. The name of the node pool to update.
|
3750
4146
|
# This field has been deprecated and replaced by the name field.
|
3751
4147
|
# Corresponds to the JSON property `nodePoolId`
|
3752
4148
|
# @return [String]
|
3753
4149
|
attr_accessor :node_pool_id
|
3754
4150
|
|
3755
|
-
# Deprecated. The Google Developers Console [project ID or project
|
4151
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3756
4152
|
# number](https://support.google.com/cloud/answer/6158840).
|
3757
4153
|
# This field has been deprecated and replaced by the name field.
|
3758
4154
|
# Corresponds to the JSON property `projectId`
|
3759
4155
|
# @return [String]
|
3760
4156
|
attr_accessor :project_id
|
3761
4157
|
|
3762
|
-
# Deprecated. The name of the Google Compute Engine
|
3763
|
-
# [zone](/compute/docs/zones#available) in which the
|
3764
|
-
# resides.
|
3765
|
-
#
|
4158
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
4159
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
4160
|
+
# cluster resides. This field has been deprecated and replaced by the name
|
4161
|
+
# field.
|
3766
4162
|
# Corresponds to the JSON property `zone`
|
3767
4163
|
# @return [String]
|
3768
4164
|
attr_accessor :zone
|
@@ -3787,7 +4183,7 @@ module Google
|
|
3787
4183
|
class SetNodePoolSizeRequest
|
3788
4184
|
include Google::Apis::Core::Hashable
|
3789
4185
|
|
3790
|
-
# Deprecated. The name of the cluster to update.
|
4186
|
+
# Required. Deprecated. The name of the cluster to update.
|
3791
4187
|
# This field has been deprecated and replaced by the name field.
|
3792
4188
|
# Corresponds to the JSON property `clusterId`
|
3793
4189
|
# @return [String]
|
@@ -3795,33 +4191,33 @@ module Google
|
|
3795
4191
|
|
3796
4192
|
# The name (project, location, cluster, node pool id) of the node pool to set
|
3797
4193
|
# size.
|
3798
|
-
# Specified in the format
|
4194
|
+
# Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
|
3799
4195
|
# Corresponds to the JSON property `name`
|
3800
4196
|
# @return [String]
|
3801
4197
|
attr_accessor :name
|
3802
4198
|
|
3803
|
-
# The desired node count for the pool.
|
4199
|
+
# Required. The desired node count for the pool.
|
3804
4200
|
# Corresponds to the JSON property `nodeCount`
|
3805
4201
|
# @return [Fixnum]
|
3806
4202
|
attr_accessor :node_count
|
3807
4203
|
|
3808
|
-
# Deprecated. The name of the node pool to update.
|
4204
|
+
# Required. Deprecated. The name of the node pool to update.
|
3809
4205
|
# This field has been deprecated and replaced by the name field.
|
3810
4206
|
# Corresponds to the JSON property `nodePoolId`
|
3811
4207
|
# @return [String]
|
3812
4208
|
attr_accessor :node_pool_id
|
3813
4209
|
|
3814
|
-
# Deprecated. The Google Developers Console [project ID or project
|
4210
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3815
4211
|
# number](https://support.google.com/cloud/answer/6158840).
|
3816
4212
|
# This field has been deprecated and replaced by the name field.
|
3817
4213
|
# Corresponds to the JSON property `projectId`
|
3818
4214
|
# @return [String]
|
3819
4215
|
attr_accessor :project_id
|
3820
4216
|
|
3821
|
-
# Deprecated. The name of the Google Compute Engine
|
3822
|
-
# [zone](/compute/docs/zones#available) in which the
|
3823
|
-
# resides.
|
3824
|
-
#
|
4217
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
4218
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
4219
|
+
# cluster resides. This field has been deprecated and replaced by the name
|
4220
|
+
# field.
|
3825
4221
|
# Corresponds to the JSON property `zone`
|
3826
4222
|
# @return [String]
|
3827
4223
|
attr_accessor :zone
|
@@ -3900,19 +4296,19 @@ module Google
|
|
3900
4296
|
class StartIpRotationRequest
|
3901
4297
|
include Google::Apis::Core::Hashable
|
3902
4298
|
|
3903
|
-
# Deprecated. The name of the cluster.
|
4299
|
+
# Required. Deprecated. The name of the cluster.
|
3904
4300
|
# This field has been deprecated and replaced by the name field.
|
3905
4301
|
# Corresponds to the JSON property `clusterId`
|
3906
4302
|
# @return [String]
|
3907
4303
|
attr_accessor :cluster_id
|
3908
4304
|
|
3909
4305
|
# The name (project, location, cluster id) of the cluster to start IP
|
3910
|
-
# rotation. Specified in the format
|
4306
|
+
# rotation. Specified in the format `projects/*/locations/*/clusters/*`.
|
3911
4307
|
# Corresponds to the JSON property `name`
|
3912
4308
|
# @return [String]
|
3913
4309
|
attr_accessor :name
|
3914
4310
|
|
3915
|
-
# Deprecated. The Google Developers Console [project ID or project
|
4311
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3916
4312
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
3917
4313
|
# This field has been deprecated and replaced by the name field.
|
3918
4314
|
# Corresponds to the JSON property `projectId`
|
@@ -3925,10 +4321,10 @@ module Google
|
|
3925
4321
|
attr_accessor :rotate_credentials
|
3926
4322
|
alias_method :rotate_credentials?, :rotate_credentials
|
3927
4323
|
|
3928
|
-
# Deprecated. The name of the Google Compute Engine
|
3929
|
-
# [zone](/compute/docs/zones#available) in which the
|
3930
|
-
# resides.
|
3931
|
-
#
|
4324
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
4325
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
4326
|
+
# cluster resides. This field has been deprecated and replaced by the name
|
4327
|
+
# field.
|
3932
4328
|
# Corresponds to the JSON property `zone`
|
3933
4329
|
# @return [String]
|
3934
4330
|
attr_accessor :zone
|
@@ -3973,22 +4369,20 @@ module Google
|
|
3973
4369
|
end
|
3974
4370
|
end
|
3975
4371
|
|
3976
|
-
#
|
3977
|
-
|
3978
|
-
# functionality and possibly cost.
|
3979
|
-
class TierConfig
|
4372
|
+
# Represents an arbitrary window of time.
|
4373
|
+
class TimeWindow
|
3980
4374
|
include Google::Apis::Core::Hashable
|
3981
4375
|
|
3982
|
-
# The
|
3983
|
-
#
|
3984
|
-
# Corresponds to the JSON property `
|
4376
|
+
# The time that the window ends. The end time should take place after the
|
4377
|
+
# start time.
|
4378
|
+
# Corresponds to the JSON property `endTime`
|
3985
4379
|
# @return [String]
|
3986
|
-
attr_accessor :
|
4380
|
+
attr_accessor :end_time
|
3987
4381
|
|
3988
|
-
# The
|
3989
|
-
# Corresponds to the JSON property `
|
4382
|
+
# The time that the window first starts.
|
4383
|
+
# Corresponds to the JSON property `startTime`
|
3990
4384
|
# @return [String]
|
3991
|
-
attr_accessor :
|
4385
|
+
attr_accessor :start_time
|
3992
4386
|
|
3993
4387
|
def initialize(**args)
|
3994
4388
|
update!(**args)
|
@@ -3996,44 +4390,31 @@ module Google
|
|
3996
4390
|
|
3997
4391
|
# Update properties of this object
|
3998
4392
|
def update!(**args)
|
3999
|
-
@
|
4000
|
-
@
|
4393
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
4394
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
4001
4395
|
end
|
4002
4396
|
end
|
4003
4397
|
|
4004
|
-
#
|
4005
|
-
class
|
4398
|
+
# Configuration for Cloud TPU.
|
4399
|
+
class TpuConfig
|
4006
4400
|
include Google::Apis::Core::Hashable
|
4007
4401
|
|
4008
|
-
#
|
4009
|
-
# Corresponds to the JSON property `
|
4010
|
-
# @return [
|
4011
|
-
attr_accessor :
|
4012
|
-
|
4013
|
-
def initialize(**args)
|
4014
|
-
update!(**args)
|
4015
|
-
end
|
4016
|
-
|
4017
|
-
# Update properties of this object
|
4018
|
-
def update!(**args)
|
4019
|
-
@tier = args[:tier] if args.key?(:tier)
|
4020
|
-
end
|
4021
|
-
end
|
4022
|
-
|
4023
|
-
# Represents an arbitrary window of time.
|
4024
|
-
class TimeWindow
|
4025
|
-
include Google::Apis::Core::Hashable
|
4402
|
+
# Whether Cloud TPU integration is enabled or not.
|
4403
|
+
# Corresponds to the JSON property `enabled`
|
4404
|
+
# @return [Boolean]
|
4405
|
+
attr_accessor :enabled
|
4406
|
+
alias_method :enabled?, :enabled
|
4026
4407
|
|
4027
|
-
#
|
4028
|
-
#
|
4029
|
-
# Corresponds to the JSON property `endTime`
|
4408
|
+
# IPv4 CIDR block reserved for Cloud TPU in the VPC.
|
4409
|
+
# Corresponds to the JSON property `ipv4CidrBlock`
|
4030
4410
|
# @return [String]
|
4031
|
-
attr_accessor :
|
4411
|
+
attr_accessor :ipv4_cidr_block
|
4032
4412
|
|
4033
|
-
#
|
4034
|
-
# Corresponds to the JSON property `
|
4035
|
-
# @return [
|
4036
|
-
attr_accessor :
|
4413
|
+
# Whether to use service networking for Cloud TPU or not.
|
4414
|
+
# Corresponds to the JSON property `useServiceNetworking`
|
4415
|
+
# @return [Boolean]
|
4416
|
+
attr_accessor :use_service_networking
|
4417
|
+
alias_method :use_service_networking?, :use_service_networking
|
4037
4418
|
|
4038
4419
|
def initialize(**args)
|
4039
4420
|
update!(**args)
|
@@ -4041,8 +4422,9 @@ module Google
|
|
4041
4422
|
|
4042
4423
|
# Update properties of this object
|
4043
4424
|
def update!(**args)
|
4044
|
-
@
|
4045
|
-
@
|
4425
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
4426
|
+
@ipv4_cidr_block = args[:ipv4_cidr_block] if args.key?(:ipv4_cidr_block)
|
4427
|
+
@use_service_networking = args[:use_service_networking] if args.key?(:use_service_networking)
|
4046
4428
|
end
|
4047
4429
|
end
|
4048
4430
|
|
@@ -4050,19 +4432,19 @@ module Google
|
|
4050
4432
|
class UpdateClusterRequest
|
4051
4433
|
include Google::Apis::Core::Hashable
|
4052
4434
|
|
4053
|
-
# Deprecated. The name of the cluster to upgrade.
|
4435
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
4054
4436
|
# This field has been deprecated and replaced by the name field.
|
4055
4437
|
# Corresponds to the JSON property `clusterId`
|
4056
4438
|
# @return [String]
|
4057
4439
|
attr_accessor :cluster_id
|
4058
4440
|
|
4059
4441
|
# The name (project, location, cluster) of the cluster to update.
|
4060
|
-
# Specified in the format
|
4442
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
4061
4443
|
# Corresponds to the JSON property `name`
|
4062
4444
|
# @return [String]
|
4063
4445
|
attr_accessor :name
|
4064
4446
|
|
4065
|
-
# Deprecated. The Google Developers Console [project ID or project
|
4447
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
4066
4448
|
# number](https://support.google.com/cloud/answer/6158840).
|
4067
4449
|
# This field has been deprecated and replaced by the name field.
|
4068
4450
|
# Corresponds to the JSON property `projectId`
|
@@ -4076,10 +4458,10 @@ module Google
|
|
4076
4458
|
# @return [Google::Apis::ContainerV1beta1::ClusterUpdate]
|
4077
4459
|
attr_accessor :update
|
4078
4460
|
|
4079
|
-
# Deprecated. The name of the Google Compute Engine
|
4080
|
-
# [zone](/compute/docs/zones#available) in which the
|
4081
|
-
# resides.
|
4082
|
-
#
|
4461
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
4462
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
4463
|
+
# cluster resides. This field has been deprecated and replaced by the name
|
4464
|
+
# field.
|
4083
4465
|
# Corresponds to the JSON property `zone`
|
4084
4466
|
# @return [String]
|
4085
4467
|
attr_accessor :zone
|
@@ -4102,13 +4484,13 @@ module Google
|
|
4102
4484
|
class UpdateMasterRequest
|
4103
4485
|
include Google::Apis::Core::Hashable
|
4104
4486
|
|
4105
|
-
# Deprecated. The name of the cluster to upgrade.
|
4487
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
4106
4488
|
# This field has been deprecated and replaced by the name field.
|
4107
4489
|
# Corresponds to the JSON property `clusterId`
|
4108
4490
|
# @return [String]
|
4109
4491
|
attr_accessor :cluster_id
|
4110
4492
|
|
4111
|
-
# The Kubernetes version to change the master to.
|
4493
|
+
# Required. The Kubernetes version to change the master to.
|
4112
4494
|
# Users may specify either explicit versions offered by
|
4113
4495
|
# Kubernetes Engine or version aliases, which have the following behavior:
|
4114
4496
|
# - "latest": picks the highest valid Kubernetes version
|
@@ -4121,22 +4503,22 @@ module Google
|
|
4121
4503
|
attr_accessor :master_version
|
4122
4504
|
|
4123
4505
|
# The name (project, location, cluster) of the cluster to update.
|
4124
|
-
# Specified in the format
|
4506
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
4125
4507
|
# Corresponds to the JSON property `name`
|
4126
4508
|
# @return [String]
|
4127
4509
|
attr_accessor :name
|
4128
4510
|
|
4129
|
-
# Deprecated. The Google Developers Console [project ID or project
|
4511
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
4130
4512
|
# number](https://support.google.com/cloud/answer/6158840).
|
4131
4513
|
# This field has been deprecated and replaced by the name field.
|
4132
4514
|
# Corresponds to the JSON property `projectId`
|
4133
4515
|
# @return [String]
|
4134
4516
|
attr_accessor :project_id
|
4135
4517
|
|
4136
|
-
# Deprecated. The name of the Google Compute Engine
|
4137
|
-
# [zone](/compute/docs/zones#available) in which the
|
4138
|
-
# resides.
|
4139
|
-
#
|
4518
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
4519
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
4520
|
+
# cluster resides. This field has been deprecated and replaced by the name
|
4521
|
+
# field.
|
4140
4522
|
# Corresponds to the JSON property `zone`
|
4141
4523
|
# @return [String]
|
4142
4524
|
attr_accessor :zone
|
@@ -4159,40 +4541,40 @@ module Google
|
|
4159
4541
|
class UpdateNodePoolRequest
|
4160
4542
|
include Google::Apis::Core::Hashable
|
4161
4543
|
|
4162
|
-
# Deprecated. The name of the cluster to upgrade.
|
4544
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
4163
4545
|
# This field has been deprecated and replaced by the name field.
|
4164
4546
|
# Corresponds to the JSON property `clusterId`
|
4165
4547
|
# @return [String]
|
4166
4548
|
attr_accessor :cluster_id
|
4167
4549
|
|
4168
|
-
# The desired image type for the node pool.
|
4550
|
+
# Required. The desired image type for the node pool.
|
4169
4551
|
# Corresponds to the JSON property `imageType`
|
4170
4552
|
# @return [String]
|
4171
4553
|
attr_accessor :image_type
|
4172
4554
|
|
4173
4555
|
# The desired list of Google Compute Engine
|
4174
|
-
# [zones](/compute/docs/zones#available) in which the
|
4175
|
-
# should be located. Changing the locations for a node pool
|
4176
|
-
# in nodes being either created or removed from the node pool,
|
4177
|
-
# on whether locations are being added or removed.
|
4556
|
+
# [zones](https://cloud.google.com/compute/docs/zones#available) in which the
|
4557
|
+
# node pool's nodes should be located. Changing the locations for a node pool
|
4558
|
+
# will result in nodes being either created or removed from the node pool,
|
4559
|
+
# depending on whether locations are being added or removed.
|
4178
4560
|
# Corresponds to the JSON property `locations`
|
4179
4561
|
# @return [Array<String>]
|
4180
4562
|
attr_accessor :locations
|
4181
4563
|
|
4182
4564
|
# The name (project, location, cluster, node pool) of the node pool to
|
4183
4565
|
# update. Specified in the format
|
4184
|
-
#
|
4566
|
+
# `projects/*/locations/*/clusters/*/nodePools/*`.
|
4185
4567
|
# Corresponds to the JSON property `name`
|
4186
4568
|
# @return [String]
|
4187
4569
|
attr_accessor :name
|
4188
4570
|
|
4189
|
-
# Deprecated. The name of the node pool to upgrade.
|
4571
|
+
# Required. Deprecated. The name of the node pool to upgrade.
|
4190
4572
|
# This field has been deprecated and replaced by the name field.
|
4191
4573
|
# Corresponds to the JSON property `nodePoolId`
|
4192
4574
|
# @return [String]
|
4193
4575
|
attr_accessor :node_pool_id
|
4194
4576
|
|
4195
|
-
# The Kubernetes version to change the nodes to (typically an
|
4577
|
+
# Required. The Kubernetes version to change the nodes to (typically an
|
4196
4578
|
# upgrade).
|
4197
4579
|
# Users may specify either explicit versions offered by Kubernetes Engine or
|
4198
4580
|
# version aliases, which have the following behavior:
|
@@ -4205,23 +4587,45 @@ module Google
|
|
4205
4587
|
# @return [String]
|
4206
4588
|
attr_accessor :node_version
|
4207
4589
|
|
4208
|
-
# Deprecated. The Google Developers Console [project ID or project
|
4590
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
4209
4591
|
# number](https://support.google.com/cloud/answer/6158840).
|
4210
4592
|
# This field has been deprecated and replaced by the name field.
|
4211
4593
|
# Corresponds to the JSON property `projectId`
|
4212
4594
|
# @return [String]
|
4213
4595
|
attr_accessor :project_id
|
4214
4596
|
|
4597
|
+
# These upgrade settings control the level of parallelism and the level of
|
4598
|
+
# disruption caused by an upgrade.
|
4599
|
+
# maxUnavailable controls the number of nodes that can be simultaneously
|
4600
|
+
# unavailable.
|
4601
|
+
# maxSurge controls the number of additional nodes that can be added to the
|
4602
|
+
# node pool temporarily for the time of the upgrade to increase the number of
|
4603
|
+
# available nodes.
|
4604
|
+
# (maxUnavailable + maxSurge) determines the level of parallelism (how many
|
4605
|
+
# nodes are being upgraded at the same time).
|
4606
|
+
# Note: upgrades inevitably introduce some disruption since workloads need to
|
4607
|
+
# be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
|
4608
|
+
# this holds true. (Disruption stays within the limits of
|
4609
|
+
# PodDisruptionBudget, if it is configured.)
|
4610
|
+
# Consider a hypothetical node pool with 5 nodes having maxSurge=2,
|
4611
|
+
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
4612
|
+
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
4613
|
+
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
4614
|
+
# there are always at least 4 nodes available.
|
4615
|
+
# Corresponds to the JSON property `upgradeSettings`
|
4616
|
+
# @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
|
4617
|
+
attr_accessor :upgrade_settings
|
4618
|
+
|
4215
4619
|
# WorkloadMetadataConfig defines the metadata configuration to expose to
|
4216
4620
|
# workloads on the node pool.
|
4217
4621
|
# Corresponds to the JSON property `workloadMetadataConfig`
|
4218
4622
|
# @return [Google::Apis::ContainerV1beta1::WorkloadMetadataConfig]
|
4219
4623
|
attr_accessor :workload_metadata_config
|
4220
4624
|
|
4221
|
-
# Deprecated. The name of the Google Compute Engine
|
4222
|
-
# [zone](/compute/docs/zones#available) in which the
|
4223
|
-
# resides.
|
4224
|
-
#
|
4625
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
4626
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
4627
|
+
# cluster resides. This field has been deprecated and replaced by the name
|
4628
|
+
# field.
|
4225
4629
|
# Corresponds to the JSON property `zone`
|
4226
4630
|
# @return [String]
|
4227
4631
|
attr_accessor :zone
|
@@ -4239,11 +4643,57 @@ module Google
|
|
4239
4643
|
@node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
|
4240
4644
|
@node_version = args[:node_version] if args.key?(:node_version)
|
4241
4645
|
@project_id = args[:project_id] if args.key?(:project_id)
|
4646
|
+
@upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
|
4242
4647
|
@workload_metadata_config = args[:workload_metadata_config] if args.key?(:workload_metadata_config)
|
4243
4648
|
@zone = args[:zone] if args.key?(:zone)
|
4244
4649
|
end
|
4245
4650
|
end
|
4246
4651
|
|
4652
|
+
# These upgrade settings control the level of parallelism and the level of
|
4653
|
+
# disruption caused by an upgrade.
|
4654
|
+
# maxUnavailable controls the number of nodes that can be simultaneously
|
4655
|
+
# unavailable.
|
4656
|
+
# maxSurge controls the number of additional nodes that can be added to the
|
4657
|
+
# node pool temporarily for the time of the upgrade to increase the number of
|
4658
|
+
# available nodes.
|
4659
|
+
# (maxUnavailable + maxSurge) determines the level of parallelism (how many
|
4660
|
+
# nodes are being upgraded at the same time).
|
4661
|
+
# Note: upgrades inevitably introduce some disruption since workloads need to
|
4662
|
+
# be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
|
4663
|
+
# this holds true. (Disruption stays within the limits of
|
4664
|
+
# PodDisruptionBudget, if it is configured.)
|
4665
|
+
# Consider a hypothetical node pool with 5 nodes having maxSurge=2,
|
4666
|
+
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
4667
|
+
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
4668
|
+
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
4669
|
+
# there are always at least 4 nodes available.
|
4670
|
+
class UpgradeSettings
|
4671
|
+
include Google::Apis::Core::Hashable
|
4672
|
+
|
4673
|
+
# The maximum number of nodes that can be created beyond the current size
|
4674
|
+
# of the node pool during the upgrade process.
|
4675
|
+
# Corresponds to the JSON property `maxSurge`
|
4676
|
+
# @return [Fixnum]
|
4677
|
+
attr_accessor :max_surge
|
4678
|
+
|
4679
|
+
# The maximum number of nodes that can be simultaneously unavailable during
|
4680
|
+
# the upgrade process. A node is considered available if its status is
|
4681
|
+
# Ready.
|
4682
|
+
# Corresponds to the JSON property `maxUnavailable`
|
4683
|
+
# @return [Fixnum]
|
4684
|
+
attr_accessor :max_unavailable
|
4685
|
+
|
4686
|
+
def initialize(**args)
|
4687
|
+
update!(**args)
|
4688
|
+
end
|
4689
|
+
|
4690
|
+
# Update properties of this object
|
4691
|
+
def update!(**args)
|
4692
|
+
@max_surge = args[:max_surge] if args.key?(:max_surge)
|
4693
|
+
@max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable)
|
4694
|
+
end
|
4695
|
+
end
|
4696
|
+
|
4247
4697
|
# UsableSubnetwork resource returns the subnetwork name, its associated network
|
4248
4698
|
# and the primary CIDR range.
|
4249
4699
|
class UsableSubnetwork
|
@@ -4357,6 +4807,11 @@ module Google
|
|
4357
4807
|
# @return [String]
|
4358
4808
|
attr_accessor :identity_namespace
|
4359
4809
|
|
4810
|
+
# The workload pool to attach all Kubernetes service accounts to.
|
4811
|
+
# Corresponds to the JSON property `workloadPool`
|
4812
|
+
# @return [String]
|
4813
|
+
attr_accessor :workload_pool
|
4814
|
+
|
4360
4815
|
def initialize(**args)
|
4361
4816
|
update!(**args)
|
4362
4817
|
end
|
@@ -4364,6 +4819,7 @@ module Google
|
|
4364
4819
|
# Update properties of this object
|
4365
4820
|
def update!(**args)
|
4366
4821
|
@identity_namespace = args[:identity_namespace] if args.key?(:identity_namespace)
|
4822
|
+
@workload_pool = args[:workload_pool] if args.key?(:workload_pool)
|
4367
4823
|
end
|
4368
4824
|
end
|
4369
4825
|
|
@@ -4372,6 +4828,12 @@ module Google
|
|
4372
4828
|
class WorkloadMetadataConfig
|
4373
4829
|
include Google::Apis::Core::Hashable
|
4374
4830
|
|
4831
|
+
# Mode is the configuration for how to expose metadata to workloads running
|
4832
|
+
# on the node pool.
|
4833
|
+
# Corresponds to the JSON property `mode`
|
4834
|
+
# @return [String]
|
4835
|
+
attr_accessor :mode
|
4836
|
+
|
4375
4837
|
# NodeMetadata is the configuration for how to expose metadata to the
|
4376
4838
|
# workloads running on the node.
|
4377
4839
|
# Corresponds to the JSON property `nodeMetadata`
|
@@ -4384,6 +4846,7 @@ module Google
|
|
4384
4846
|
|
4385
4847
|
# Update properties of this object
|
4386
4848
|
def update!(**args)
|
4849
|
+
@mode = args[:mode] if args.key?(:mode)
|
4387
4850
|
@node_metadata = args[:node_metadata] if args.key?(:node_metadata)
|
4388
4851
|
end
|
4389
4852
|
end
|