google-api-client 0.43.0 → 0.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.github/workflows/release-please.yml +77 -0
- data/.gitignore +2 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +1066 -184
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/api_list_config.yaml +8 -0
- data/api_names.yaml +1 -0
- data/bin/generate-api +77 -15
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +60 -86
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +266 -236
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +308 -171
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +47 -36
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +72 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_directory_v1/classes.rb +344 -242
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -39
- data/generated/google/apis/admin_directory_v1/service.rb +607 -998
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admob_v1/classes.rb +31 -31
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/admob_v1.rb +6 -2
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1655 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +806 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +261 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +115 -75
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigateway_v1beta.rb +34 -0
- data/generated/google/apis/apigee_v1/classes.rb +630 -88
- data/generated/google/apis/apigee_v1/representations.rb +209 -1
- data/generated/google/apis/apigee_v1/service.rb +401 -74
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/appengine_v1/classes.rb +96 -59
- data/generated/google/apis/appengine_v1/representations.rb +17 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -47
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
- data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -47
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +249 -337
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
- data/generated/google/apis/bigquery_v2/classes.rb +593 -576
- data/generated/google/apis/bigquery_v2/representations.rb +85 -0
- data/generated/google/apis/bigquery_v2/service.rb +79 -41
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
- data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
- data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +27 -6
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +2 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +434 -355
- data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +434 -355
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +54 -54
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +13 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +173 -116
- data/generated/google/apis/chat_v1/representations.rb +36 -0
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -32
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -3
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +153 -21
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +1461 -1039
- data/generated/google/apis/cloudasset_v1/representations.rb +320 -0
- data/generated/google/apis/cloudasset_v1/service.rb +296 -167
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +285 -446
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +339 -344
- data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +277 -67
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +989 -107
- data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +883 -88
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1236 -307
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +921 -96
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +651 -781
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudshell_v1/classes.rb +256 -105
- data/generated/google/apis/cloudshell_v1/representations.rb +143 -10
- data/generated/google/apis/cloudshell_v1/service.rb +198 -25
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +189 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +94 -179
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1227 -186
- data/generated/google/apis/compute_alpha/representations.rb +235 -8
- data/generated/google/apis/compute_alpha/service.rb +2009 -1024
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1080 -108
- data/generated/google/apis/compute_beta/representations.rb +212 -2
- data/generated/google/apis/compute_beta/service.rb +1413 -741
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1512 -106
- data/generated/google/apis/compute_v1/representations.rb +470 -1
- data/generated/google/apis/compute_v1/service.rb +1625 -285
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +982 -965
- data/generated/google/apis/container_v1/representations.rb +60 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1106 -1044
- data/generated/google/apis/container_v1beta1/representations.rb +91 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +515 -1219
- data/generated/google/apis/content_v2/service.rb +377 -650
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1108 -1058
- data/generated/google/apis/content_v2_1/representations.rb +288 -0
- data/generated/google/apis/content_v2_1/service.rb +987 -795
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +413 -573
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +6 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1174 -973
- data/generated/google/apis/dataflow_v1b3/representations.rb +148 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1/service.rb +76 -89
- data/generated/google/apis/datafusion_v1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/dataproc_v1/classes.rb +97 -13
- data/generated/google/apis/dataproc_v1/representations.rb +34 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +117 -9
- data/generated/google/apis/dataproc_v1beta2/representations.rb +49 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +334 -476
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +259 -375
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
- data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dialogflow_v2/classes.rb +746 -217
- data/generated/google/apis/dialogflow_v2/representations.rb +318 -67
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +764 -233
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +318 -67
- data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -331
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8816 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3725 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2825 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +271 -38
- data/generated/google/apis/displayvideo_v1/representations.rb +83 -0
- data/generated/google/apis/displayvideo_v1/service.rb +287 -32
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
- data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1dev.rb +38 -0
- data/generated/google/apis/dlp_v2/classes.rb +1111 -1310
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +356 -198
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +83 -98
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +362 -206
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2/service.rb +83 -98
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
- data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → documentai_v1beta3.rb} +11 -10
- data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +13 -20
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +18 -7
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +79 -15
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +18 -8
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/{memcache_v1 → eventarc_v1beta1}/service.rb +236 -215
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/file_v1/classes.rb +155 -174
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +335 -194
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +21 -1
- 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 +188 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +406 -502
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +338 -413
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +982 -0
- data/generated/google/apis/fitness_v1/representations.rb +398 -0
- data/generated/google/apis/fitness_v1/service.rb +628 -0
- data/generated/google/apis/fitness_v1.rb +97 -0
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +35 -36
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +376 -83
- data/generated/google/apis/games_v1/representations.rb +118 -0
- data/generated/google/apis/games_v1/service.rb +118 -90
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/gameservices_v1/classes.rb +22 -14
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +22 -14
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +356 -275
- data/generated/google/apis/genomics_v2alpha1/representations.rb +48 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +37 -43
- data/generated/google/apis/gmail_v1/service.rb +5 -4
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +11 -11
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- data/generated/google/apis/healthcare_v1/classes.rb +637 -826
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +842 -855
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1937 -1299
- data/generated/google/apis/healthcare_v1beta1/representations.rb +534 -65
- data/generated/google/apis/healthcare_v1beta1/service.rb +2534 -1293
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/homegraph_v1.rb +4 -1
- data/generated/google/apis/iam_v1/classes.rb +395 -592
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1/service.rb +427 -555
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +14 -13
- data/generated/google/apis/iamcredentials_v1.rb +3 -2
- data/generated/google/apis/iap_v1/classes.rb +253 -355
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
- data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1559 -980
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +56 -86
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/lifesciences_v2beta/classes.rb +366 -290
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +426 -0
- data/generated/google/apis/localservices_v1/representations.rb +174 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/{appsactivity_v1.rb → localservices_v1.rb} +8 -11
- data/generated/google/apis/logging_v2/classes.rb +306 -232
- data/generated/google/apis/logging_v2/representations.rb +79 -0
- data/generated/google/apis/logging_v2/service.rb +3307 -1579
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -1
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -1
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +171 -250
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
- data/generated/google/apis/memcache_v1beta2/service.rb +60 -73
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1122 -1149
- data/generated/google/apis/ml_v1/representations.rb +82 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +107 -26
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +303 -345
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +176 -146
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +154 -902
- data/generated/google/apis/osconfig_v1/representations.rb +0 -337
- data/generated/google/apis/osconfig_v1/service.rb +26 -31
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
- data/generated/google/apis/osconfig_v1beta/service.rb +43 -56
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/people_v1/classes.rb +173 -63
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +63 -61
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +114 -161
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
- data/generated/google/apis/privateca_v1beta1.rb +34 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +644 -56
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +399 -518
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +221 -247
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
- data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
- data/generated/google/apis/pubsublite_v1/service.rb +558 -0
- data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
- data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +367 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +91 -513
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1/service.rb +92 -109
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +123 -517
- data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
- data/generated/google/apis/redis_v1beta1/service.rb +126 -109
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +957 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +952 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1105 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +19 -138
- data/generated/google/apis/run_v1/representations.rb +1 -62
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +3 -2
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +301 -412
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +644 -56
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +378 -365
- data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +217 -363
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +35 -123
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +24 -112
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +601 -642
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +343 -325
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1244 -2174
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
- data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +278 -121
- data/generated/google/apis/servicenetworking_v1/representations.rb +115 -15
- data/generated/google/apis/servicenetworking_v1/service.rb +118 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +213 -112
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +84 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +57 -111
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -18
- data/generated/google/apis/serviceusage_v1/service.rb +5 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +122 -112
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +23 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4029 -5014
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +537 -452
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +142 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/storage_v1/classes.rb +10 -17
- data/generated/google/apis/storage_v1/representations.rb +2 -3
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +301 -349
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +53 -72
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +110 -152
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +121 -0
- data/generated/google/apis/sts_v1/representations.rb +59 -0
- data/generated/google/apis/sts_v1/service.rb +90 -0
- data/generated/google/apis/sts_v1.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +191 -0
- data/generated/google/apis/sts_v1beta/representations.rb +61 -0
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- data/generated/google/apis/sts_v1beta.rb +32 -0
- data/generated/google/apis/tagmanager_v1/service.rb +2 -2
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/tagmanager_v2/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +21 -22
- data/generated/google/apis/tasks_v1/service.rb +19 -19
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +384 -390
- data/generated/google/apis/testing_v1/representations.rb +23 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
- data/generated/google/apis/texttospeech_v1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +20 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +57 -3
- data/generated/google/apis/tpu_v1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -3
- data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/trafficdirector_v2.rb +34 -0
- data/generated/google/apis/translate_v3/classes.rb +151 -177
- data/generated/google/apis/translate_v3/service.rb +122 -151
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +150 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -151
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +413 -103
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +182 -37
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1493 -935
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1/service.rb +38 -77
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1488 -928
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1482 -922
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1485 -925
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1410 -937
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +2 -4
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
- data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
- data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
- data/generated/google/apis/workflows_v1beta/service.rb +438 -0
- data/generated/google/apis/workflows_v1beta.rb +35 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -586
- data/generated/google/apis/youtube_v3/representations.rb +0 -269
- data/generated/google/apis/youtube_v3/service.rb +3 -120
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/google-api-client.gemspec +25 -24
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +134 -41
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +0 -203
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -928
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/memcache_v1/classes.rb +0 -1157
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
- data/generated/google/apis/plus_v1.rb +0 -43
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
- data/generated/google/apis/storage_v1beta2.rb +0 -40
@@ -31,8 +31,8 @@ module Google
|
|
31
31
|
# @return [Fixnum]
|
32
32
|
attr_accessor :accelerator_count
|
33
33
|
|
34
|
-
# The accelerator type resource name. List of supported accelerators
|
35
|
-
#
|
34
|
+
# The accelerator type resource name. List of supported accelerators [here](
|
35
|
+
# 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
|
@@ -48,8 +48,8 @@ module Google
|
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
51
|
-
# Configuration for the addons that can be automatically spun up in the
|
52
|
-
#
|
51
|
+
# Configuration for the addons that can be automatically spun up in the cluster,
|
52
|
+
# enabling additional functionality.
|
53
53
|
class AddonsConfig
|
54
54
|
include Google::Apis::Core::Hashable
|
55
55
|
|
@@ -75,14 +75,14 @@ module Google
|
|
75
75
|
attr_accessor :gce_persistent_disk_csi_driver_config
|
76
76
|
|
77
77
|
# Configuration options for the horizontal pod autoscaling feature, which
|
78
|
-
# increases or decreases the number of replica pods a replication controller
|
79
|
-
#
|
78
|
+
# increases or decreases the number of replica pods a replication controller has
|
79
|
+
# based on the resource usage of the existing pods.
|
80
80
|
# Corresponds to the JSON property `horizontalPodAutoscaling`
|
81
81
|
# @return [Google::Apis::ContainerV1beta1::HorizontalPodAutoscaling]
|
82
82
|
attr_accessor :horizontal_pod_autoscaling
|
83
83
|
|
84
|
-
# Configuration options for the HTTP (L7) load balancing controller addon,
|
85
|
-
#
|
84
|
+
# Configuration options for the HTTP (L7) load balancing controller addon, which
|
85
|
+
# makes it easy to set up HTTP load balancers for services in a cluster.
|
86
86
|
# Corresponds to the JSON property `httpLoadBalancing`
|
87
87
|
# @return [Google::Apis::ContainerV1beta1::HttpLoadBalancing]
|
88
88
|
attr_accessor :http_load_balancing
|
@@ -102,9 +102,9 @@ module Google
|
|
102
102
|
# @return [Google::Apis::ContainerV1beta1::KubernetesDashboard]
|
103
103
|
attr_accessor :kubernetes_dashboard
|
104
104
|
|
105
|
-
# Configuration for NetworkPolicy. This only tracks whether the addon
|
106
|
-
#
|
107
|
-
#
|
105
|
+
# Configuration for NetworkPolicy. This only tracks whether the addon is enabled
|
106
|
+
# or not on the Master, it does not track whether network policy is enabled for
|
107
|
+
# the nodes.
|
108
108
|
# Corresponds to the JSON property `networkPolicyConfig`
|
109
109
|
# @return [Google::Apis::ContainerV1beta1::NetworkPolicyConfig]
|
110
110
|
attr_accessor :network_policy_config
|
@@ -132,15 +132,15 @@ module Google
|
|
132
132
|
class AuthenticatorGroupsConfig
|
133
133
|
include Google::Apis::Core::Hashable
|
134
134
|
|
135
|
-
# Whether this cluster should return group membership lookups
|
136
|
-
#
|
135
|
+
# Whether this cluster should return group membership lookups during
|
136
|
+
# authentication using a group of security groups.
|
137
137
|
# Corresponds to the JSON property `enabled`
|
138
138
|
# @return [Boolean]
|
139
139
|
attr_accessor :enabled
|
140
140
|
alias_method :enabled?, :enabled
|
141
141
|
|
142
|
-
# The name of the security group-of-groups to be used. Only relevant
|
143
|
-
#
|
142
|
+
# The name of the security group-of-groups to be used. Only relevant if enabled =
|
143
|
+
# true.
|
144
144
|
# Corresponds to the JSON property `securityGroup`
|
145
145
|
# @return [String]
|
146
146
|
attr_accessor :security_group
|
@@ -156,20 +156,20 @@ module Google
|
|
156
156
|
end
|
157
157
|
end
|
158
158
|
|
159
|
-
# AutoUpgradeOptions defines the set of options for the user to control how
|
160
|
-
#
|
159
|
+
# AutoUpgradeOptions defines the set of options for the user to control how the
|
160
|
+
# Auto Upgrades will proceed.
|
161
161
|
class AutoUpgradeOptions
|
162
162
|
include Google::Apis::Core::Hashable
|
163
163
|
|
164
|
-
# [Output only] This field is set when upgrades are about to commence
|
165
|
-
#
|
166
|
-
#
|
164
|
+
# [Output only] This field is set when upgrades are about to commence with the
|
165
|
+
# approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/
|
166
|
+
# rfc3339.txt) text format.
|
167
167
|
# Corresponds to the JSON property `autoUpgradeStartTime`
|
168
168
|
# @return [String]
|
169
169
|
attr_accessor :auto_upgrade_start_time
|
170
170
|
|
171
|
-
# [Output only] This field is set when upgrades are about to commence
|
172
|
-
#
|
171
|
+
# [Output only] This field is set when upgrades are about to commence with the
|
172
|
+
# description of the upgrade.
|
173
173
|
# Corresponds to the JSON property `description`
|
174
174
|
# @return [String]
|
175
175
|
attr_accessor :description
|
@@ -185,11 +185,32 @@ module Google
|
|
185
185
|
end
|
186
186
|
end
|
187
187
|
|
188
|
-
# AutoprovisioningNodePoolDefaults contains defaults for a node pool created
|
189
|
-
#
|
188
|
+
# AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
|
189
|
+
# NAP.
|
190
190
|
class AutoprovisioningNodePoolDefaults
|
191
191
|
include Google::Apis::Core::Hashable
|
192
192
|
|
193
|
+
# The Customer Managed Encryption Key used to encrypt the boot disk attached to
|
194
|
+
# each node in the node pool. This should be of the form projects/[
|
195
|
+
# KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
|
196
|
+
# . For more information about protecting resources with Cloud KMS Keys please
|
197
|
+
# see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
198
|
+
# Corresponds to the JSON property `bootDiskKmsKey`
|
199
|
+
# @return [String]
|
200
|
+
attr_accessor :boot_disk_kms_key
|
201
|
+
|
202
|
+
# Size of the disk attached to each node, specified in GB. The smallest allowed
|
203
|
+
# disk size is 10GB. If unspecified, the default disk size is 100GB.
|
204
|
+
# Corresponds to the JSON property `diskSizeGb`
|
205
|
+
# @return [Fixnum]
|
206
|
+
attr_accessor :disk_size_gb
|
207
|
+
|
208
|
+
# Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If
|
209
|
+
# unspecified, the default disk type is 'pd-standard'
|
210
|
+
# Corresponds to the JSON property `diskType`
|
211
|
+
# @return [String]
|
212
|
+
attr_accessor :disk_type
|
213
|
+
|
193
214
|
# NodeManagement defines the set of node management services turned on for the
|
194
215
|
# node pool.
|
195
216
|
# Corresponds to the JSON property `management`
|
@@ -198,59 +219,54 @@ module Google
|
|
198
219
|
|
199
220
|
# Minimum CPU platform to be used by this instance. The instance may be
|
200
221
|
# scheduled on the specified or newer CPU platform. Applicable values are the
|
201
|
-
# friendly names of CPU platforms, such as
|
202
|
-
#
|
203
|
-
#
|
204
|
-
#
|
205
|
-
# platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-
|
206
|
-
# platform)
|
207
|
-
# To unset the min cpu platform field pass "automatic"
|
222
|
+
# friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` or `
|
223
|
+
# minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to
|
224
|
+
# specify min CPU platform](https://cloud.google.com/compute/docs/instances/
|
225
|
+
# specify-min-cpu-platform) To unset the min cpu platform field pass "automatic"
|
208
226
|
# as field value.
|
209
227
|
# Corresponds to the JSON property `minCpuPlatform`
|
210
228
|
# @return [String]
|
211
229
|
attr_accessor :min_cpu_platform
|
212
230
|
|
213
|
-
# The set of Google API scopes to be made available on all of the
|
214
|
-
#
|
215
|
-
#
|
216
|
-
#
|
217
|
-
#
|
218
|
-
#
|
219
|
-
#
|
220
|
-
#
|
221
|
-
#
|
222
|
-
# Registry](https://cloud.google.com/container-registry/)).
|
223
|
-
# If unspecified, no scopes are added, unless Cloud Logging or Cloud
|
224
|
-
# Monitoring are enabled, in which case their required scopes will be added.
|
231
|
+
# The set of Google API scopes to be made available on all of the node VMs under
|
232
|
+
# the "default" service account. The following scopes are recommended, but not
|
233
|
+
# required, and by default are not included: * `https://www.googleapis.com/auth/
|
234
|
+
# compute` is required for mounting persistent storage on your nodes. * `https://
|
235
|
+
# www.googleapis.com/auth/devstorage.read_only` is required for communicating
|
236
|
+
# with **gcr.io** (the [Google Container Registry](https://cloud.google.com/
|
237
|
+
# container-registry/)). If unspecified, no scopes are added, unless Cloud
|
238
|
+
# Logging or Cloud Monitoring are enabled, in which case their required scopes
|
239
|
+
# will be added.
|
225
240
|
# Corresponds to the JSON property `oauthScopes`
|
226
241
|
# @return [Array<String>]
|
227
242
|
attr_accessor :oauth_scopes
|
228
243
|
|
229
|
-
# The Google Cloud Platform Service Account to be used by the node VMs.
|
230
|
-
#
|
231
|
-
#
|
244
|
+
# The Google Cloud Platform Service Account to be used by the node VMs. Specify
|
245
|
+
# the email address of the Service Account; otherwise, if no Service Account is
|
246
|
+
# specified, the "default" service account is used.
|
232
247
|
# Corresponds to the JSON property `serviceAccount`
|
233
248
|
# @return [String]
|
234
249
|
attr_accessor :service_account
|
235
250
|
|
251
|
+
# A set of Shielded Instance options.
|
252
|
+
# Corresponds to the JSON property `shieldedInstanceConfig`
|
253
|
+
# @return [Google::Apis::ContainerV1beta1::ShieldedInstanceConfig]
|
254
|
+
attr_accessor :shielded_instance_config
|
255
|
+
|
236
256
|
# These upgrade settings control the level of parallelism and the level of
|
237
|
-
# disruption caused by an upgrade.
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
241
|
-
#
|
242
|
-
#
|
243
|
-
#
|
244
|
-
#
|
245
|
-
#
|
246
|
-
#
|
247
|
-
#
|
248
|
-
#
|
249
|
-
#
|
250
|
-
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
251
|
-
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
252
|
-
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
253
|
-
# there are always at least 4 nodes available.
|
257
|
+
# disruption caused by an upgrade. maxUnavailable controls the number of nodes
|
258
|
+
# that can be simultaneously unavailable. maxSurge controls the number of
|
259
|
+
# additional nodes that can be added to the node pool temporarily for the time
|
260
|
+
# of the upgrade to increase the number of available nodes. (maxUnavailable +
|
261
|
+
# maxSurge) determines the level of parallelism (how many nodes are being
|
262
|
+
# upgraded at the same time). Note: upgrades inevitably introduce some
|
263
|
+
# disruption since workloads need to be moved from old nodes to new, upgraded
|
264
|
+
# ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
|
265
|
+
# limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
|
266
|
+
# node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
|
267
|
+
# upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
|
268
|
+
# upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
|
269
|
+
# same time. This ensures that there are always at least 4 nodes available.
|
254
270
|
# Corresponds to the JSON property `upgradeSettings`
|
255
271
|
# @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
|
256
272
|
attr_accessor :upgrade_settings
|
@@ -261,10 +277,14 @@ module Google
|
|
261
277
|
|
262
278
|
# Update properties of this object
|
263
279
|
def update!(**args)
|
280
|
+
@boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
|
281
|
+
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
282
|
+
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
264
283
|
@management = args[:management] if args.key?(:management)
|
265
284
|
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
266
285
|
@oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
|
267
286
|
@service_account = args[:service_account] if args.key?(:service_account)
|
287
|
+
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
|
268
288
|
@upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
|
269
289
|
end
|
270
290
|
end
|
@@ -317,8 +337,8 @@ module Google
|
|
317
337
|
class BinaryAuthorization
|
318
338
|
include Google::Apis::Core::Hashable
|
319
339
|
|
320
|
-
# Enable Binary Authorization for this cluster. If enabled, all container
|
321
|
-
#
|
340
|
+
# Enable Binary Authorization for this cluster. If enabled, all container images
|
341
|
+
# will be validated by Google Binauthz.
|
322
342
|
# Corresponds to the JSON property `enabled`
|
323
343
|
# @return [Boolean]
|
324
344
|
attr_accessor :enabled
|
@@ -344,23 +364,22 @@ module Google
|
|
344
364
|
# @return [String]
|
345
365
|
attr_accessor :name
|
346
366
|
|
347
|
-
# Required. Deprecated. The server-assigned `name` of the operation.
|
348
|
-
#
|
367
|
+
# Required. Deprecated. The server-assigned `name` of the operation. This field
|
368
|
+
# has been deprecated and replaced by the name field.
|
349
369
|
# Corresponds to the JSON property `operationId`
|
350
370
|
# @return [String]
|
351
371
|
attr_accessor :operation_id
|
352
372
|
|
353
373
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
354
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
355
|
-
#
|
374
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
375
|
+
# deprecated and replaced by the name field.
|
356
376
|
# Corresponds to the JSON property `projectId`
|
357
377
|
# @return [String]
|
358
378
|
attr_accessor :project_id
|
359
379
|
|
360
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
361
|
-
#
|
362
|
-
#
|
363
|
-
# field.
|
380
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
381
|
+
# cloud.google.com/compute/docs/zones#available) in which the operation resides.
|
382
|
+
# This field has been deprecated and replaced by the name field.
|
364
383
|
# Corresponds to the JSON property `zone`
|
365
384
|
# @return [String]
|
366
385
|
attr_accessor :zone
|
@@ -433,6 +452,11 @@ module Google
|
|
433
452
|
attr_accessor :disabled
|
434
453
|
alias_method :disabled?, :disabled
|
435
454
|
|
455
|
+
# Which load balancer type is installed for Cloud Run.
|
456
|
+
# Corresponds to the JSON property `loadBalancerType`
|
457
|
+
# @return [String]
|
458
|
+
attr_accessor :load_balancer_type
|
459
|
+
|
436
460
|
def initialize(**args)
|
437
461
|
update!(**args)
|
438
462
|
end
|
@@ -440,6 +464,7 @@ module Google
|
|
440
464
|
# Update properties of this object
|
441
465
|
def update!(**args)
|
442
466
|
@disabled = args[:disabled] if args.key?(:disabled)
|
467
|
+
@load_balancer_type = args[:load_balancer_type] if args.key?(:load_balancer_type)
|
443
468
|
end
|
444
469
|
end
|
445
470
|
|
@@ -447,8 +472,8 @@ module Google
|
|
447
472
|
class Cluster
|
448
473
|
include Google::Apis::Core::Hashable
|
449
474
|
|
450
|
-
# Configuration for the addons that can be automatically spun up in the
|
451
|
-
#
|
475
|
+
# Configuration for the addons that can be automatically spun up in the cluster,
|
476
|
+
# enabling additional functionality.
|
452
477
|
# Corresponds to the JSON property `addonsConfig`
|
453
478
|
# @return [Google::Apis::ContainerV1beta1::AddonsConfig]
|
454
479
|
attr_accessor :addons_config
|
@@ -458,10 +483,9 @@ module Google
|
|
458
483
|
# @return [Google::Apis::ContainerV1beta1::AuthenticatorGroupsConfig]
|
459
484
|
attr_accessor :authenticator_groups_config
|
460
485
|
|
461
|
-
# ClusterAutoscaling contains global, per-cluster information
|
462
|
-
#
|
463
|
-
#
|
464
|
-
# node pools based on the current needs.
|
486
|
+
# ClusterAutoscaling contains global, per-cluster information required by
|
487
|
+
# Cluster Autoscaler to automatically adjust the size of the cluster and create/
|
488
|
+
# delete node pools based on the current needs.
|
465
489
|
# Corresponds to the JSON property `autoscaling`
|
466
490
|
# @return [Google::Apis::ContainerV1beta1::ClusterAutoscaling]
|
467
491
|
attr_accessor :autoscaling
|
@@ -471,10 +495,10 @@ module Google
|
|
471
495
|
# @return [Google::Apis::ContainerV1beta1::BinaryAuthorization]
|
472
496
|
attr_accessor :binary_authorization
|
473
497
|
|
474
|
-
# The IP address range of the container pods in this cluster, in
|
475
|
-
#
|
476
|
-
#
|
477
|
-
#
|
498
|
+
# The IP address range of the container pods in this cluster, in [CIDR](http://
|
499
|
+
# en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.
|
500
|
+
# 0/14`). Leave blank to have one automatically chosen or specify a `/14` block
|
501
|
+
# in `10.0.0.0/8`.
|
478
502
|
# Corresponds to the JSON property `clusterIpv4Cidr`
|
479
503
|
# @return [String]
|
480
504
|
attr_accessor :cluster_ipv4_cidr
|
@@ -489,8 +513,14 @@ module Google
|
|
489
513
|
# @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
|
490
514
|
attr_accessor :conditions
|
491
515
|
|
492
|
-
#
|
493
|
-
#
|
516
|
+
# ConfidentialNodes is configuration for the confidential nodes feature, which
|
517
|
+
# makes nodes run on confidential VMs.
|
518
|
+
# Corresponds to the JSON property `confidentialNodes`
|
519
|
+
# @return [Google::Apis::ContainerV1beta1::ConfidentialNodes]
|
520
|
+
attr_accessor :confidential_nodes
|
521
|
+
|
522
|
+
# [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.
|
523
|
+
# org/rfc/rfc3339.txt) text format.
|
494
524
|
# Corresponds to the JSON property `createTime`
|
495
525
|
# @return [String]
|
496
526
|
attr_accessor :create_time
|
@@ -500,18 +530,17 @@ module Google
|
|
500
530
|
# @return [String]
|
501
531
|
attr_accessor :current_master_version
|
502
532
|
|
503
|
-
# [Output only]
|
504
|
-
#
|
533
|
+
# [Output only] The number of nodes currently in the cluster. Deprecated. Call
|
534
|
+
# Kubernetes API directly to retrieve node information.
|
505
535
|
# Corresponds to the JSON property `currentNodeCount`
|
506
536
|
# @return [Fixnum]
|
507
537
|
attr_accessor :current_node_count
|
508
538
|
|
509
|
-
# [Output only] Deprecated, use
|
510
|
-
#
|
511
|
-
#
|
512
|
-
#
|
513
|
-
#
|
514
|
-
# of being upgraded, this reflects the minimum version of all nodes.
|
539
|
+
# [Output only] Deprecated, use [NodePool.version](https://cloud.google.com/
|
540
|
+
# kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.
|
541
|
+
# nodePools) instead. The current version of the node software components. If
|
542
|
+
# they are currently at multiple versions because they're in the process of
|
543
|
+
# being upgraded, this reflects the minimum version of all nodes.
|
515
544
|
# Corresponds to the JSON property `currentNodeVersion`
|
516
545
|
# @return [String]
|
517
546
|
attr_accessor :current_node_version
|
@@ -531,63 +560,58 @@ module Google
|
|
531
560
|
# @return [String]
|
532
561
|
attr_accessor :description
|
533
562
|
|
534
|
-
# Kubernetes alpha features are enabled on this cluster. This includes alpha
|
535
|
-
#
|
536
|
-
#
|
537
|
-
#
|
538
|
-
#
|
539
|
-
# creation.
|
563
|
+
# Kubernetes alpha features are enabled on this cluster. This includes alpha API
|
564
|
+
# groups (e.g. v1beta1) and features that may not be production ready in the
|
565
|
+
# kubernetes version of the master and nodes. The cluster has no SLA for uptime
|
566
|
+
# and master/node upgrades are disabled. Alpha enabled clusters are
|
567
|
+
# automatically deleted thirty days after creation.
|
540
568
|
# Corresponds to the JSON property `enableKubernetesAlpha`
|
541
569
|
# @return [Boolean]
|
542
570
|
attr_accessor :enable_kubernetes_alpha
|
543
571
|
alias_method :enable_kubernetes_alpha?, :enable_kubernetes_alpha
|
544
572
|
|
545
|
-
# Enable the ability to use Cloud TPUs in this cluster.
|
546
|
-
#
|
573
|
+
# Enable the ability to use Cloud TPUs in this cluster. This field is deprecated,
|
574
|
+
# use tpu_config.enabled instead.
|
547
575
|
# Corresponds to the JSON property `enableTpu`
|
548
576
|
# @return [Boolean]
|
549
577
|
attr_accessor :enable_tpu
|
550
578
|
alias_method :enable_tpu?, :enable_tpu
|
551
579
|
|
552
|
-
# [Output only] The IP address of this cluster's master endpoint.
|
553
|
-
#
|
554
|
-
# `
|
555
|
-
#
|
556
|
-
# password information.
|
580
|
+
# [Output only] The IP address of this cluster's master endpoint. The endpoint
|
581
|
+
# can be accessed from the internet at `https://username:password@endpoint/`.
|
582
|
+
# See the `masterAuth` property of this resource for username and password
|
583
|
+
# information.
|
557
584
|
# Corresponds to the JSON property `endpoint`
|
558
585
|
# @return [String]
|
559
586
|
attr_accessor :endpoint
|
560
587
|
|
561
|
-
# [Output only] The time the cluster will be automatically
|
562
|
-
#
|
588
|
+
# [Output only] The time the cluster will be automatically deleted in [RFC3339](
|
589
|
+
# https://www.ietf.org/rfc/rfc3339.txt) text format.
|
563
590
|
# Corresponds to the JSON property `expireTime`
|
564
591
|
# @return [String]
|
565
592
|
attr_accessor :expire_time
|
566
593
|
|
567
|
-
# The initial Kubernetes version for this cluster.
|
568
|
-
# found in validMasterVersions returned by getServerConfig.
|
569
|
-
#
|
570
|
-
#
|
571
|
-
#
|
572
|
-
#
|
573
|
-
# - "
|
574
|
-
#
|
575
|
-
# - "
|
576
|
-
# - "1.X.Y-gke.N": picks an explicit Kubernetes version
|
577
|
-
# - "","-": picks the default Kubernetes version
|
594
|
+
# The initial Kubernetes version for this cluster. Valid versions are those
|
595
|
+
# found in validMasterVersions returned by getServerConfig. The version can be
|
596
|
+
# upgraded over time; such upgrades are reflected in currentMasterVersion and
|
597
|
+
# currentNodeVersion. Users may specify either explicit versions offered by
|
598
|
+
# Kubernetes Engine or version aliases, which have the following behavior: - "
|
599
|
+
# latest": picks the highest valid Kubernetes version - "1.X": picks the highest
|
600
|
+
# valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid
|
601
|
+
# gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes
|
602
|
+
# version - "","-": picks the default Kubernetes version
|
578
603
|
# Corresponds to the JSON property `initialClusterVersion`
|
579
604
|
# @return [String]
|
580
605
|
attr_accessor :initial_cluster_version
|
581
606
|
|
582
607
|
# The number of nodes to create in this cluster. You must ensure that your
|
583
|
-
# Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
|
584
|
-
#
|
585
|
-
#
|
586
|
-
#
|
587
|
-
# "
|
588
|
-
#
|
589
|
-
#
|
590
|
-
# This field is deprecated, use node_pool.initial_node_count instead.
|
608
|
+
# Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is
|
609
|
+
# sufficient for this number of instances. You must also have available firewall
|
610
|
+
# and routes quota. For requests, this field should only be used in lieu of a "
|
611
|
+
# node_pool" object, since this configuration (along with the "node_config")
|
612
|
+
# will be used to create a "NodePool" object with an auto-generated name. Do not
|
613
|
+
# use this and a node_pool at the same time. This field is deprecated, use
|
614
|
+
# node_pool.initial_node_count instead.
|
591
615
|
# Corresponds to the JSON property `initialNodeCount`
|
592
616
|
# @return [Fixnum]
|
593
617
|
attr_accessor :initial_node_count
|
@@ -607,39 +631,39 @@ module Google
|
|
607
631
|
# @return [String]
|
608
632
|
attr_accessor :label_fingerprint
|
609
633
|
|
610
|
-
# Configuration for the legacy Attribute Based Access Control authorization
|
611
|
-
# mode.
|
634
|
+
# Configuration for the legacy Attribute Based Access Control authorization mode.
|
612
635
|
# Corresponds to the JSON property `legacyAbac`
|
613
636
|
# @return [Google::Apis::ContainerV1beta1::LegacyAbac]
|
614
637
|
attr_accessor :legacy_abac
|
615
638
|
|
616
|
-
# [Output only] The name of the Google Compute Engine
|
617
|
-
#
|
618
|
-
# available)
|
619
|
-
# or
|
620
|
-
# [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
|
621
|
-
# available)
|
639
|
+
# [Output only] The name of the Google Compute Engine [zone](https://cloud.
|
640
|
+
# google.com/compute/docs/regions-zones/regions-zones#available) or [region](
|
641
|
+
# https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
|
622
642
|
# in which the cluster resides.
|
623
643
|
# Corresponds to the JSON property `location`
|
624
644
|
# @return [String]
|
625
645
|
attr_accessor :location
|
626
646
|
|
627
|
-
# The list of Google Compute Engine
|
628
|
-
#
|
629
|
-
#
|
647
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
648
|
+
# docs/zones#available) in which the cluster's nodes should be located. This
|
649
|
+
# field provides a default value if [NodePool.Locations](https://cloud.google.
|
650
|
+
# com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.
|
651
|
+
# nodePools#NodePool.FIELDS.locations) are not specified during node pool
|
652
|
+
# creation. Warning: changing cluster locations will update the [NodePool.
|
653
|
+
# Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/
|
654
|
+
# projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node
|
655
|
+
# pools and will result in nodes being added and/or removed.
|
630
656
|
# Corresponds to the JSON property `locations`
|
631
657
|
# @return [Array<String>]
|
632
658
|
attr_accessor :locations
|
633
659
|
|
634
|
-
# The logging service the cluster should use to write logs.
|
635
|
-
#
|
636
|
-
# * `logging.googleapis.com
|
637
|
-
# service
|
638
|
-
#
|
639
|
-
#
|
640
|
-
#
|
641
|
-
# If left as an empty string,`logging.googleapis.com/kubernetes` will be
|
642
|
-
# used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
|
660
|
+
# The logging service the cluster should use to write logs. Currently available
|
661
|
+
# options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
|
662
|
+
# with a Kubernetes-native resource model * `logging.googleapis.com` - The
|
663
|
+
# legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` -
|
664
|
+
# no logs will be exported from the cluster. If left as an empty string,`logging.
|
665
|
+
# googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.
|
666
|
+
# com` for earlier versions.
|
643
667
|
# Corresponds to the JSON property `loggingService`
|
644
668
|
# @return [String]
|
645
669
|
attr_accessor :logging_service
|
@@ -655,8 +679,7 @@ module Google
|
|
655
679
|
attr_accessor :master
|
656
680
|
|
657
681
|
# The authentication information for accessing the master endpoint.
|
658
|
-
# Authentication can be done using HTTP basic auth or using client
|
659
|
-
# certificates.
|
682
|
+
# Authentication can be done using HTTP basic auth or using client certificates.
|
660
683
|
# Corresponds to the JSON property `masterAuth`
|
661
684
|
# @return [Google::Apis::ContainerV1beta1::MasterAuth]
|
662
685
|
attr_accessor :master_auth
|
@@ -669,44 +692,37 @@ module Google
|
|
669
692
|
# @return [Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig]
|
670
693
|
attr_accessor :master_authorized_networks_config
|
671
694
|
|
672
|
-
# The IP prefix in CIDR notation to use for the hosted master network.
|
673
|
-
#
|
674
|
-
#
|
675
|
-
# This field is deprecated, use
|
695
|
+
# The IP prefix in CIDR notation to use for the hosted master network. This
|
696
|
+
# prefix will be used for assigning private IP addresses to the master or set of
|
697
|
+
# masters, as well as the ILB VIP. This field is deprecated, use
|
676
698
|
# private_cluster_config.master_ipv4_cidr_block instead.
|
677
699
|
# Corresponds to the JSON property `masterIpv4CidrBlock`
|
678
700
|
# @return [String]
|
679
701
|
attr_accessor :master_ipv4_cidr_block
|
680
702
|
|
681
|
-
# The monitoring service the cluster should use to write metrics.
|
682
|
-
#
|
683
|
-
#
|
684
|
-
# service
|
685
|
-
#
|
686
|
-
#
|
687
|
-
#
|
688
|
-
# If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
|
689
|
-
# used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
703
|
+
# The monitoring service the cluster should use to write metrics. Currently
|
704
|
+
# available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
|
705
|
+
# Monitoring service with a Kubernetes-native resource model * `monitoring.
|
706
|
+
# googleapis.com` - The legacy Cloud Monitoring service (no longer available as
|
707
|
+
# of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
|
708
|
+
# as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
|
709
|
+
# 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
690
710
|
# Corresponds to the JSON property `monitoringService`
|
691
711
|
# @return [String]
|
692
712
|
attr_accessor :monitoring_service
|
693
713
|
|
694
|
-
# The name of this cluster. The name must be unique within this project
|
695
|
-
#
|
696
|
-
#
|
697
|
-
# *
|
698
|
-
# * Must start with a letter.
|
699
|
-
# * Must end with a number or a letter.
|
714
|
+
# The name of this cluster. The name must be unique within this project and
|
715
|
+
# location (e.g. zone or region), and can be up to 40 characters with the
|
716
|
+
# following restrictions: * Lowercase letters, numbers, and hyphens only. * Must
|
717
|
+
# start with a letter. * Must end with a number or a letter.
|
700
718
|
# Corresponds to the JSON property `name`
|
701
719
|
# @return [String]
|
702
720
|
attr_accessor :name
|
703
721
|
|
704
|
-
# The name of the Google Compute Engine
|
705
|
-
#
|
706
|
-
#
|
707
|
-
#
|
708
|
-
# network will be used. On output this shows the network ID instead of the
|
709
|
-
# name.
|
722
|
+
# The name of the Google Compute Engine [network](https://cloud.google.com/
|
723
|
+
# compute/docs/networks-and-firewalls#networks) to which the cluster is
|
724
|
+
# connected. If left unspecified, the `default` network will be used. On output
|
725
|
+
# this shows the network ID instead of the name.
|
710
726
|
# Corresponds to the JSON property `network`
|
711
727
|
# @return [String]
|
712
728
|
attr_accessor :network
|
@@ -716,8 +732,8 @@ module Google
|
|
716
732
|
# @return [Google::Apis::ContainerV1beta1::NetworkConfig]
|
717
733
|
attr_accessor :network_config
|
718
734
|
|
719
|
-
# Configuration options for the NetworkPolicy feature.
|
720
|
-
#
|
735
|
+
# Configuration options for the NetworkPolicy feature. https://kubernetes.io/
|
736
|
+
# docs/concepts/services-networking/networkpolicies/
|
721
737
|
# Corresponds to the JSON property `networkPolicy`
|
722
738
|
# @return [Google::Apis::ContainerV1beta1::NetworkPolicy]
|
723
739
|
attr_accessor :network_policy
|
@@ -728,20 +744,23 @@ module Google
|
|
728
744
|
attr_accessor :node_config
|
729
745
|
|
730
746
|
# [Output only] The size of the address space on each node for hosting
|
731
|
-
# containers. This is provisioned from within the `container_ipv4_cidr`
|
732
|
-
#
|
733
|
-
# mode.
|
747
|
+
# containers. This is provisioned from within the `container_ipv4_cidr` range.
|
748
|
+
# This field will only be set when cluster is in route-based network mode.
|
734
749
|
# Corresponds to the JSON property `nodeIpv4CidrSize`
|
735
750
|
# @return [Fixnum]
|
736
751
|
attr_accessor :node_ipv4_cidr_size
|
737
752
|
|
738
|
-
# The node pools associated with this cluster.
|
739
|
-
#
|
740
|
-
# specified.
|
753
|
+
# The node pools associated with this cluster. This field should not be set if "
|
754
|
+
# node_config" or "initial_node_count" are specified.
|
741
755
|
# Corresponds to the JSON property `nodePools`
|
742
756
|
# @return [Array<Google::Apis::ContainerV1beta1::NodePool>]
|
743
757
|
attr_accessor :node_pools
|
744
758
|
|
759
|
+
# NotificationConfig is the configuration of notifications.
|
760
|
+
# Corresponds to the JSON property `notificationConfig`
|
761
|
+
# @return [Google::Apis::ContainerV1beta1::NotificationConfig]
|
762
|
+
attr_accessor :notification_config
|
763
|
+
|
745
764
|
# Configuration for the PodSecurityPolicy feature.
|
746
765
|
# Corresponds to the JSON property `podSecurityPolicyConfig`
|
747
766
|
# @return [Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig]
|
@@ -749,9 +768,8 @@ module Google
|
|
749
768
|
|
750
769
|
# If this is a private cluster setup. Private clusters are clusters that, by
|
751
770
|
# default have no external IP addresses on the nodes and where nodes and the
|
752
|
-
# master communicate over private IP addresses.
|
753
|
-
#
|
754
|
-
# instead.
|
771
|
+
# master communicate over private IP addresses. This field is deprecated, use
|
772
|
+
# private_cluster_config.enable_private_nodes instead.
|
755
773
|
# Corresponds to the JSON property `privateCluster`
|
756
774
|
# @return [Boolean]
|
757
775
|
attr_accessor :private_cluster
|
@@ -762,17 +780,16 @@ module Google
|
|
762
780
|
# @return [Google::Apis::ContainerV1beta1::PrivateClusterConfig]
|
763
781
|
attr_accessor :private_cluster_config
|
764
782
|
|
765
|
-
# ReleaseChannel indicates which release channel a cluster is
|
766
|
-
#
|
767
|
-
#
|
768
|
-
#
|
769
|
-
# defaults to true and cannot be disabled.
|
783
|
+
# ReleaseChannel indicates which release channel a cluster is subscribed to.
|
784
|
+
# Release channels are arranged in order of risk. When a cluster is subscribed
|
785
|
+
# to a release channel, Google maintains both the master version and the node
|
786
|
+
# version. Node auto-upgrade defaults to true and cannot be disabled.
|
770
787
|
# Corresponds to the JSON property `releaseChannel`
|
771
788
|
# @return [Google::Apis::ContainerV1beta1::ReleaseChannel]
|
772
789
|
attr_accessor :release_channel
|
773
790
|
|
774
|
-
# The resource labels for the cluster to use to annotate any related
|
775
|
-
#
|
791
|
+
# The resource labels for the cluster to use to annotate any related Google
|
792
|
+
# Compute Engine resources.
|
776
793
|
# Corresponds to the JSON property `resourceLabels`
|
777
794
|
# @return [Hash<String,String>]
|
778
795
|
attr_accessor :resource_labels
|
@@ -787,11 +804,10 @@ module Google
|
|
787
804
|
# @return [String]
|
788
805
|
attr_accessor :self_link
|
789
806
|
|
790
|
-
# [Output only] The IP address range of the Kubernetes services in
|
791
|
-
#
|
792
|
-
#
|
793
|
-
#
|
794
|
-
# typically put in the last `/16` from the container CIDR.
|
807
|
+
# [Output only] The IP address range of the Kubernetes services in this cluster,
|
808
|
+
# in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
|
809
|
+
# notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `
|
810
|
+
# /16` from the container CIDR.
|
795
811
|
# Corresponds to the JSON property `servicesIpv4Cidr`
|
796
812
|
# @return [String]
|
797
813
|
attr_accessor :services_ipv4_cidr
|
@@ -806,16 +822,15 @@ module Google
|
|
806
822
|
# @return [String]
|
807
823
|
attr_accessor :status
|
808
824
|
|
809
|
-
# [Output only] Additional information about the current status of this
|
810
|
-
#
|
825
|
+
# [Output only] Additional information about the current status of this cluster,
|
826
|
+
# if available.
|
811
827
|
# Corresponds to the JSON property `statusMessage`
|
812
828
|
# @return [String]
|
813
829
|
attr_accessor :status_message
|
814
830
|
|
815
|
-
# The name of the Google Compute Engine
|
816
|
-
#
|
817
|
-
#
|
818
|
-
# the name.
|
831
|
+
# The name of the Google Compute Engine [subnetwork](https://cloud.google.com/
|
832
|
+
# compute/docs/subnetworks) to which the cluster is connected. On output this
|
833
|
+
# shows the subnetwork ID instead of the name.
|
819
834
|
# Corresponds to the JSON property `subnetwork`
|
820
835
|
# @return [String]
|
821
836
|
attr_accessor :subnetwork
|
@@ -825,29 +840,28 @@ module Google
|
|
825
840
|
# @return [Google::Apis::ContainerV1beta1::TpuConfig]
|
826
841
|
attr_accessor :tpu_config
|
827
842
|
|
828
|
-
# [Output only] The IP address range of the Cloud TPUs in this cluster, in
|
829
|
-
#
|
830
|
-
#
|
843
|
+
# [Output only] The IP address range of the Cloud TPUs in this cluster, in [CIDR]
|
844
|
+
# (http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `
|
845
|
+
# 1.2.3.4/29`).
|
831
846
|
# Corresponds to the JSON property `tpuIpv4CidrBlock`
|
832
847
|
# @return [String]
|
833
848
|
attr_accessor :tpu_ipv4_cidr_block
|
834
849
|
|
835
|
-
# VerticalPodAutoscaling contains global, per-cluster information
|
836
|
-
#
|
837
|
-
#
|
850
|
+
# VerticalPodAutoscaling contains global, per-cluster information required by
|
851
|
+
# Vertical Pod Autoscaler to automatically adjust the resources of pods
|
852
|
+
# controlled by it.
|
838
853
|
# Corresponds to the JSON property `verticalPodAutoscaling`
|
839
854
|
# @return [Google::Apis::ContainerV1beta1::VerticalPodAutoscaling]
|
840
855
|
attr_accessor :vertical_pod_autoscaling
|
841
856
|
|
842
|
-
# Configuration for the use of Kubernetes Service Accounts in GCP IAM
|
843
|
-
# policies.
|
857
|
+
# Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
|
844
858
|
# Corresponds to the JSON property `workloadIdentityConfig`
|
845
859
|
# @return [Google::Apis::ContainerV1beta1::WorkloadIdentityConfig]
|
846
860
|
attr_accessor :workload_identity_config
|
847
861
|
|
848
|
-
# [Output only] The name of the Google Compute Engine
|
849
|
-
#
|
850
|
-
#
|
862
|
+
# [Output only] The name of the Google Compute Engine [zone](https://cloud.
|
863
|
+
# google.com/compute/docs/zones#available) in which the cluster resides. This
|
864
|
+
# field is deprecated, use location instead.
|
851
865
|
# Corresponds to the JSON property `zone`
|
852
866
|
# @return [String]
|
853
867
|
attr_accessor :zone
|
@@ -865,6 +879,7 @@ module Google
|
|
865
879
|
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
|
866
880
|
@cluster_telemetry = args[:cluster_telemetry] if args.key?(:cluster_telemetry)
|
867
881
|
@conditions = args[:conditions] if args.key?(:conditions)
|
882
|
+
@confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
|
868
883
|
@create_time = args[:create_time] if args.key?(:create_time)
|
869
884
|
@current_master_version = args[:current_master_version] if args.key?(:current_master_version)
|
870
885
|
@current_node_count = args[:current_node_count] if args.key?(:current_node_count)
|
@@ -898,6 +913,7 @@ module Google
|
|
898
913
|
@node_config = args[:node_config] if args.key?(:node_config)
|
899
914
|
@node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
|
900
915
|
@node_pools = args[:node_pools] if args.key?(:node_pools)
|
916
|
+
@notification_config = args[:notification_config] if args.key?(:notification_config)
|
901
917
|
@pod_security_policy_config = args[:pod_security_policy_config] if args.key?(:pod_security_policy_config)
|
902
918
|
@private_cluster = args[:private_cluster] if args.key?(:private_cluster)
|
903
919
|
@private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
|
@@ -918,22 +934,20 @@ module Google
|
|
918
934
|
end
|
919
935
|
end
|
920
936
|
|
921
|
-
# ClusterAutoscaling contains global, per-cluster information
|
922
|
-
#
|
923
|
-
#
|
924
|
-
# node pools based on the current needs.
|
937
|
+
# ClusterAutoscaling contains global, per-cluster information required by
|
938
|
+
# Cluster Autoscaler to automatically adjust the size of the cluster and create/
|
939
|
+
# delete node pools based on the current needs.
|
925
940
|
class ClusterAutoscaling
|
926
941
|
include Google::Apis::Core::Hashable
|
927
942
|
|
928
|
-
# The list of Google Compute Engine
|
929
|
-
#
|
930
|
-
# NodePool's nodes can be created by NAP.
|
943
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
944
|
+
# docs/zones#available) in which the NodePool's nodes can be created by NAP.
|
931
945
|
# Corresponds to the JSON property `autoprovisioningLocations`
|
932
946
|
# @return [Array<String>]
|
933
947
|
attr_accessor :autoprovisioning_locations
|
934
948
|
|
935
|
-
# AutoprovisioningNodePoolDefaults contains defaults for a node pool created
|
936
|
-
#
|
949
|
+
# AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
|
950
|
+
# NAP.
|
937
951
|
# Corresponds to the JSON property `autoprovisioningNodePoolDefaults`
|
938
952
|
# @return [Google::Apis::ContainerV1beta1::AutoprovisioningNodePoolDefaults]
|
939
953
|
attr_accessor :autoprovisioning_node_pool_defaults
|
@@ -949,8 +963,8 @@ module Google
|
|
949
963
|
attr_accessor :enable_node_autoprovisioning
|
950
964
|
alias_method :enable_node_autoprovisioning?, :enable_node_autoprovisioning
|
951
965
|
|
952
|
-
# Contains global constraints regarding minimum and maximum
|
953
|
-
#
|
966
|
+
# Contains global constraints regarding minimum and maximum amount of resources
|
967
|
+
# in the cluster.
|
954
968
|
# Corresponds to the JSON property `resourceLimits`
|
955
969
|
# @return [Array<Google::Apis::ContainerV1beta1::ResourceLimit>]
|
956
970
|
attr_accessor :resource_limits
|
@@ -988,14 +1002,13 @@ module Google
|
|
988
1002
|
end
|
989
1003
|
end
|
990
1004
|
|
991
|
-
# ClusterUpdate describes an update to the cluster. Exactly one update can
|
992
|
-
#
|
993
|
-
# provided.
|
1005
|
+
# ClusterUpdate describes an update to the cluster. Exactly one update can be
|
1006
|
+
# applied to a cluster with each request, so at most one field can be provided.
|
994
1007
|
class ClusterUpdate
|
995
1008
|
include Google::Apis::Core::Hashable
|
996
1009
|
|
997
|
-
# Configuration for the addons that can be automatically spun up in the
|
998
|
-
#
|
1010
|
+
# Configuration for the addons that can be automatically spun up in the cluster,
|
1011
|
+
# enabling additional functionality.
|
999
1012
|
# Corresponds to the JSON property `desiredAddonsConfig`
|
1000
1013
|
# @return [Google::Apis::ContainerV1beta1::AddonsConfig]
|
1001
1014
|
attr_accessor :desired_addons_config
|
@@ -1005,10 +1018,9 @@ module Google
|
|
1005
1018
|
# @return [Google::Apis::ContainerV1beta1::BinaryAuthorization]
|
1006
1019
|
attr_accessor :desired_binary_authorization
|
1007
1020
|
|
1008
|
-
# ClusterAutoscaling contains global, per-cluster information
|
1009
|
-
#
|
1010
|
-
#
|
1011
|
-
# node pools based on the current needs.
|
1021
|
+
# ClusterAutoscaling contains global, per-cluster information required by
|
1022
|
+
# Cluster Autoscaler to automatically adjust the size of the cluster and create/
|
1023
|
+
# delete node pools based on the current needs.
|
1012
1024
|
# Corresponds to the JSON property `desiredClusterAutoscaling`
|
1013
1025
|
# @return [Google::Apis::ContainerV1beta1::ClusterAutoscaling]
|
1014
1026
|
attr_accessor :desired_cluster_autoscaling
|
@@ -1023,14 +1035,19 @@ module Google
|
|
1023
1035
|
# @return [Google::Apis::ContainerV1beta1::DatabaseEncryption]
|
1024
1036
|
attr_accessor :desired_database_encryption
|
1025
1037
|
|
1026
|
-
#
|
1027
|
-
#
|
1038
|
+
# The desired datapath provider for the cluster.
|
1039
|
+
# Corresponds to the JSON property `desiredDatapathProvider`
|
1040
|
+
# @return [String]
|
1041
|
+
attr_accessor :desired_datapath_provider
|
1042
|
+
|
1043
|
+
# DefaultSnatStatus contains the desired state of whether default sNAT should be
|
1044
|
+
# disabled on the cluster.
|
1028
1045
|
# Corresponds to the JSON property `desiredDefaultSnatStatus`
|
1029
1046
|
# @return [Google::Apis::ContainerV1beta1::DefaultSnatStatus]
|
1030
1047
|
attr_accessor :desired_default_snat_status
|
1031
1048
|
|
1032
|
-
# The desired image type for the node pool.
|
1033
|
-
#
|
1049
|
+
# The desired image type for the node pool. NOTE: Set the "desired_node_pool"
|
1050
|
+
# field as well.
|
1034
1051
|
# Corresponds to the JSON property `desiredImageType`
|
1035
1052
|
# @return [String]
|
1036
1053
|
attr_accessor :desired_image_type
|
@@ -1041,25 +1058,22 @@ module Google
|
|
1041
1058
|
# @return [Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig]
|
1042
1059
|
attr_accessor :desired_intra_node_visibility_config
|
1043
1060
|
|
1044
|
-
# The desired list of Google Compute Engine
|
1045
|
-
#
|
1046
|
-
#
|
1047
|
-
# will
|
1048
|
-
#
|
1049
|
-
# This list must always include the cluster's primary zone.
|
1061
|
+
# The desired list of Google Compute Engine [zones](https://cloud.google.com/
|
1062
|
+
# compute/docs/zones#available) in which the cluster's nodes should be located.
|
1063
|
+
# This list must always include the cluster's primary zone. Warning: changing
|
1064
|
+
# cluster locations will update the locations of all node pools and will result
|
1065
|
+
# in nodes being added and/or removed.
|
1050
1066
|
# Corresponds to the JSON property `desiredLocations`
|
1051
1067
|
# @return [Array<String>]
|
1052
1068
|
attr_accessor :desired_locations
|
1053
1069
|
|
1054
|
-
# The logging service the cluster should use to write logs.
|
1055
|
-
#
|
1056
|
-
# * `logging.googleapis.com
|
1057
|
-
# service
|
1058
|
-
#
|
1059
|
-
#
|
1060
|
-
#
|
1061
|
-
# If left as an empty string,`logging.googleapis.com/kubernetes` will be
|
1062
|
-
# used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
|
1070
|
+
# The logging service the cluster should use to write logs. Currently available
|
1071
|
+
# options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
|
1072
|
+
# with a Kubernetes-native resource model * `logging.googleapis.com` - The
|
1073
|
+
# legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` -
|
1074
|
+
# no logs will be exported from the cluster. If left as an empty string,`logging.
|
1075
|
+
# googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.
|
1076
|
+
# com` for earlier versions.
|
1063
1077
|
# Corresponds to the JSON property `desiredLoggingService`
|
1064
1078
|
# @return [String]
|
1065
1079
|
attr_accessor :desired_logging_service
|
@@ -1078,27 +1092,23 @@ module Google
|
|
1078
1092
|
attr_accessor :desired_master_authorized_networks_config
|
1079
1093
|
|
1080
1094
|
# The Kubernetes version to change the master to. The only valid value is the
|
1081
|
-
# latest supported version.
|
1082
|
-
#
|
1083
|
-
#
|
1084
|
-
# - "
|
1085
|
-
#
|
1086
|
-
# - "
|
1087
|
-
# - "1.X.Y-gke.N": picks an explicit Kubernetes version
|
1088
|
-
# - "-": picks the default Kubernetes version
|
1095
|
+
# latest supported version. Users may specify either explicit versions offered
|
1096
|
+
# by Kubernetes Engine or version aliases, which have the following behavior: - "
|
1097
|
+
# latest": picks the highest valid Kubernetes version - "1.X": picks the highest
|
1098
|
+
# valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid
|
1099
|
+
# gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes
|
1100
|
+
# version - "-": picks the default Kubernetes version
|
1089
1101
|
# Corresponds to the JSON property `desiredMasterVersion`
|
1090
1102
|
# @return [String]
|
1091
1103
|
attr_accessor :desired_master_version
|
1092
1104
|
|
1093
|
-
# The monitoring service the cluster should use to write metrics.
|
1094
|
-
#
|
1095
|
-
#
|
1096
|
-
# service
|
1097
|
-
#
|
1098
|
-
#
|
1099
|
-
#
|
1100
|
-
# If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
|
1101
|
-
# used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
1105
|
+
# The monitoring service the cluster should use to write metrics. Currently
|
1106
|
+
# available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
|
1107
|
+
# Monitoring service with a Kubernetes-native resource model * `monitoring.
|
1108
|
+
# googleapis.com` - The legacy Cloud Monitoring service (no longer available as
|
1109
|
+
# of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
|
1110
|
+
# as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
|
1111
|
+
# 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
1102
1112
|
# Corresponds to the JSON property `desiredMonitoringService`
|
1103
1113
|
# @return [String]
|
1104
1114
|
attr_accessor :desired_monitoring_service
|
@@ -1109,27 +1119,30 @@ module Google
|
|
1109
1119
|
# @return [Google::Apis::ContainerV1beta1::NodePoolAutoscaling]
|
1110
1120
|
attr_accessor :desired_node_pool_autoscaling
|
1111
1121
|
|
1112
|
-
# The node pool to be upgraded. This field is mandatory if
|
1113
|
-
# "
|
1114
|
-
# "
|
1115
|
-
#
|
1122
|
+
# The node pool to be upgraded. This field is mandatory if "desired_node_version"
|
1123
|
+
# , "desired_image_family", "desired_node_pool_autoscaling", or "
|
1124
|
+
# desired_workload_metadata_config" is specified and there is more than one node
|
1125
|
+
# pool on the cluster.
|
1116
1126
|
# Corresponds to the JSON property `desiredNodePoolId`
|
1117
1127
|
# @return [String]
|
1118
1128
|
attr_accessor :desired_node_pool_id
|
1119
1129
|
|
1120
|
-
# The Kubernetes version to change the nodes to (typically an
|
1121
|
-
#
|
1122
|
-
#
|
1123
|
-
# Kubernetes
|
1124
|
-
# - "
|
1125
|
-
# - "1.X": picks
|
1126
|
-
#
|
1127
|
-
# - "1.X.Y-gke.N": picks an explicit Kubernetes version
|
1128
|
-
# - "-": picks the Kubernetes master version
|
1130
|
+
# The Kubernetes version to change the nodes to (typically an upgrade). Users
|
1131
|
+
# may specify either explicit versions offered by Kubernetes Engine or version
|
1132
|
+
# aliases, which have the following behavior: - "latest": picks the highest
|
1133
|
+
# valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in
|
1134
|
+
# the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y
|
1135
|
+
# version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the
|
1136
|
+
# Kubernetes master version
|
1129
1137
|
# Corresponds to the JSON property `desiredNodeVersion`
|
1130
1138
|
# @return [String]
|
1131
1139
|
attr_accessor :desired_node_version
|
1132
1140
|
|
1141
|
+
# NotificationConfig is the configuration of notifications.
|
1142
|
+
# Corresponds to the JSON property `desiredNotificationConfig`
|
1143
|
+
# @return [Google::Apis::ContainerV1beta1::NotificationConfig]
|
1144
|
+
attr_accessor :desired_notification_config
|
1145
|
+
|
1133
1146
|
# Configuration for the PodSecurityPolicy feature.
|
1134
1147
|
# Corresponds to the JSON property `desiredPodSecurityPolicyConfig`
|
1135
1148
|
# @return [Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig]
|
@@ -1140,11 +1153,10 @@ module Google
|
|
1140
1153
|
# @return [Google::Apis::ContainerV1beta1::PrivateClusterConfig]
|
1141
1154
|
attr_accessor :desired_private_cluster_config
|
1142
1155
|
|
1143
|
-
# ReleaseChannel indicates which release channel a cluster is
|
1144
|
-
#
|
1145
|
-
#
|
1146
|
-
#
|
1147
|
-
# defaults to true and cannot be disabled.
|
1156
|
+
# ReleaseChannel indicates which release channel a cluster is subscribed to.
|
1157
|
+
# Release channels are arranged in order of risk. When a cluster is subscribed
|
1158
|
+
# to a release channel, Google maintains both the master version and the node
|
1159
|
+
# version. Node auto-upgrade defaults to true and cannot be disabled.
|
1148
1160
|
# Corresponds to the JSON property `desiredReleaseChannel`
|
1149
1161
|
# @return [Google::Apis::ContainerV1beta1::ReleaseChannel]
|
1150
1162
|
attr_accessor :desired_release_channel
|
@@ -1164,15 +1176,14 @@ module Google
|
|
1164
1176
|
# @return [Google::Apis::ContainerV1beta1::TpuConfig]
|
1165
1177
|
attr_accessor :desired_tpu_config
|
1166
1178
|
|
1167
|
-
# VerticalPodAutoscaling contains global, per-cluster information
|
1168
|
-
#
|
1169
|
-
#
|
1179
|
+
# VerticalPodAutoscaling contains global, per-cluster information required by
|
1180
|
+
# Vertical Pod Autoscaler to automatically adjust the resources of pods
|
1181
|
+
# controlled by it.
|
1170
1182
|
# Corresponds to the JSON property `desiredVerticalPodAutoscaling`
|
1171
1183
|
# @return [Google::Apis::ContainerV1beta1::VerticalPodAutoscaling]
|
1172
1184
|
attr_accessor :desired_vertical_pod_autoscaling
|
1173
1185
|
|
1174
|
-
# Configuration for the use of Kubernetes Service Accounts in GCP IAM
|
1175
|
-
# policies.
|
1186
|
+
# Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
|
1176
1187
|
# Corresponds to the JSON property `desiredWorkloadIdentityConfig`
|
1177
1188
|
# @return [Google::Apis::ContainerV1beta1::WorkloadIdentityConfig]
|
1178
1189
|
attr_accessor :desired_workload_identity_config
|
@@ -1188,6 +1199,7 @@ module Google
|
|
1188
1199
|
@desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
|
1189
1200
|
@desired_cluster_telemetry = args[:desired_cluster_telemetry] if args.key?(:desired_cluster_telemetry)
|
1190
1201
|
@desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
|
1202
|
+
@desired_datapath_provider = args[:desired_datapath_provider] if args.key?(:desired_datapath_provider)
|
1191
1203
|
@desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
|
1192
1204
|
@desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
|
1193
1205
|
@desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
|
@@ -1200,6 +1212,7 @@ module Google
|
|
1200
1212
|
@desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
|
1201
1213
|
@desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
|
1202
1214
|
@desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
|
1215
|
+
@desired_notification_config = args[:desired_notification_config] if args.key?(:desired_notification_config)
|
1203
1216
|
@desired_pod_security_policy_config = args[:desired_pod_security_policy_config] if args.key?(:desired_pod_security_policy_config)
|
1204
1217
|
@desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config)
|
1205
1218
|
@desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
|
@@ -1215,8 +1228,8 @@ module Google
|
|
1215
1228
|
class CompleteIpRotationRequest
|
1216
1229
|
include Google::Apis::Core::Hashable
|
1217
1230
|
|
1218
|
-
# Required. Deprecated. The name of the cluster.
|
1219
|
-
#
|
1231
|
+
# Required. Deprecated. The name of the cluster. This field has been deprecated
|
1232
|
+
# and replaced by the name field.
|
1220
1233
|
# Corresponds to the JSON property `clusterId`
|
1221
1234
|
# @return [String]
|
1222
1235
|
attr_accessor :cluster_id
|
@@ -1228,16 +1241,15 @@ module Google
|
|
1228
1241
|
attr_accessor :name
|
1229
1242
|
|
1230
1243
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
1231
|
-
# number](https://developers.google.com/console/help/new/#projectnumber).
|
1232
|
-
#
|
1244
|
+
# number](https://developers.google.com/console/help/new/#projectnumber). This
|
1245
|
+
# field has been deprecated and replaced by the name field.
|
1233
1246
|
# Corresponds to the JSON property `projectId`
|
1234
1247
|
# @return [String]
|
1235
1248
|
attr_accessor :project_id
|
1236
1249
|
|
1237
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
1238
|
-
#
|
1239
|
-
#
|
1240
|
-
# field.
|
1250
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
1251
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
1252
|
+
# This field has been deprecated and replaced by the name field.
|
1241
1253
|
# Corresponds to the JSON property `zone`
|
1242
1254
|
# @return [String]
|
1243
1255
|
attr_accessor :zone
|
@@ -1255,6 +1267,27 @@ module Google
|
|
1255
1267
|
end
|
1256
1268
|
end
|
1257
1269
|
|
1270
|
+
# ConfidentialNodes is configuration for the confidential nodes feature, which
|
1271
|
+
# makes nodes run on confidential VMs.
|
1272
|
+
class ConfidentialNodes
|
1273
|
+
include Google::Apis::Core::Hashable
|
1274
|
+
|
1275
|
+
# Whether Confidential Nodes feature is enabled for all nodes in this cluster.
|
1276
|
+
# Corresponds to the JSON property `enabled`
|
1277
|
+
# @return [Boolean]
|
1278
|
+
attr_accessor :enabled
|
1279
|
+
alias_method :enabled?, :enabled
|
1280
|
+
|
1281
|
+
def initialize(**args)
|
1282
|
+
update!(**args)
|
1283
|
+
end
|
1284
|
+
|
1285
|
+
# Update properties of this object
|
1286
|
+
def update!(**args)
|
1287
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
1288
|
+
end
|
1289
|
+
end
|
1290
|
+
|
1258
1291
|
# Configuration options for the Config Connector add-on.
|
1259
1292
|
class ConfigConnectorConfig
|
1260
1293
|
include Google::Apis::Core::Hashable
|
@@ -1279,9 +1312,8 @@ module Google
|
|
1279
1312
|
class ConsumptionMeteringConfig
|
1280
1313
|
include Google::Apis::Core::Hashable
|
1281
1314
|
|
1282
|
-
# Whether to enable consumption metering for this cluster. If enabled, a
|
1283
|
-
#
|
1284
|
-
# records.
|
1315
|
+
# Whether to enable consumption metering for this cluster. If enabled, a second
|
1316
|
+
# BigQuery table will be created to hold resource consumption records.
|
1285
1317
|
# Corresponds to the JSON property `enabled`
|
1286
1318
|
# @return [Boolean]
|
1287
1319
|
attr_accessor :enabled
|
@@ -1306,23 +1338,22 @@ module Google
|
|
1306
1338
|
# @return [Google::Apis::ContainerV1beta1::Cluster]
|
1307
1339
|
attr_accessor :cluster
|
1308
1340
|
|
1309
|
-
# The parent (project and location) where the cluster will be created.
|
1310
|
-
#
|
1341
|
+
# The parent (project and location) where the cluster will be created. Specified
|
1342
|
+
# in the format `projects/*/locations/*`.
|
1311
1343
|
# Corresponds to the JSON property `parent`
|
1312
1344
|
# @return [String]
|
1313
1345
|
attr_accessor :parent
|
1314
1346
|
|
1315
1347
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
1316
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
1317
|
-
#
|
1348
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
1349
|
+
# deprecated and replaced by the parent field.
|
1318
1350
|
# Corresponds to the JSON property `projectId`
|
1319
1351
|
# @return [String]
|
1320
1352
|
attr_accessor :project_id
|
1321
1353
|
|
1322
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
1323
|
-
#
|
1324
|
-
#
|
1325
|
-
# field.
|
1354
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
1355
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
1356
|
+
# This field has been deprecated and replaced by the parent field.
|
1326
1357
|
# Corresponds to the JSON property `zone`
|
1327
1358
|
# @return [String]
|
1328
1359
|
attr_accessor :zone
|
@@ -1344,40 +1375,38 @@ module Google
|
|
1344
1375
|
class CreateNodePoolRequest
|
1345
1376
|
include Google::Apis::Core::Hashable
|
1346
1377
|
|
1347
|
-
# Required. Deprecated. The name of the cluster.
|
1348
|
-
#
|
1378
|
+
# Required. Deprecated. The name of the cluster. This field has been deprecated
|
1379
|
+
# and replaced by the parent field.
|
1349
1380
|
# Corresponds to the JSON property `clusterId`
|
1350
1381
|
# @return [String]
|
1351
1382
|
attr_accessor :cluster_id
|
1352
1383
|
|
1353
|
-
# NodePool contains the name and configuration for a cluster's node pool.
|
1354
|
-
#
|
1355
|
-
# specification, under the control of the cluster master. They may have a set
|
1356
|
-
#
|
1357
|
-
#
|
1358
|
-
#
|
1384
|
+
# NodePool contains the name and configuration for a cluster's node pool. Node
|
1385
|
+
# pools are a set of nodes (i.e. VM's), with a common configuration and
|
1386
|
+
# specification, under the control of the cluster master. They may have a set of
|
1387
|
+
# Kubernetes labels applied to them, which may be used to reference them during
|
1388
|
+
# pod scheduling. They may also be resized up or down, to accommodate the
|
1389
|
+
# workload.
|
1359
1390
|
# Corresponds to the JSON property `nodePool`
|
1360
1391
|
# @return [Google::Apis::ContainerV1beta1::NodePool]
|
1361
1392
|
attr_accessor :node_pool
|
1362
1393
|
|
1363
|
-
# The parent (project, location, cluster id) where the node pool will be
|
1364
|
-
#
|
1365
|
-
# `projects/*/locations/*/clusters/*`.
|
1394
|
+
# The parent (project, location, cluster id) where the node pool will be created.
|
1395
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
1366
1396
|
# Corresponds to the JSON property `parent`
|
1367
1397
|
# @return [String]
|
1368
1398
|
attr_accessor :parent
|
1369
1399
|
|
1370
1400
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
1371
|
-
# number](https://developers.google.com/console/help/new/#projectnumber).
|
1372
|
-
#
|
1401
|
+
# number](https://developers.google.com/console/help/new/#projectnumber). This
|
1402
|
+
# field has been deprecated and replaced by the parent field.
|
1373
1403
|
# Corresponds to the JSON property `projectId`
|
1374
1404
|
# @return [String]
|
1375
1405
|
attr_accessor :project_id
|
1376
1406
|
|
1377
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
1378
|
-
#
|
1379
|
-
#
|
1380
|
-
# field.
|
1407
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
1408
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
1409
|
+
# This field has been deprecated and replaced by the parent field.
|
1381
1410
|
# Corresponds to the JSON property `zone`
|
1382
1411
|
# @return [String]
|
1383
1412
|
attr_accessor :zone
|
@@ -1400,14 +1429,14 @@ module Google
|
|
1400
1429
|
class DailyMaintenanceWindow
|
1401
1430
|
include Google::Apis::Core::Hashable
|
1402
1431
|
|
1403
|
-
# [Output only] Duration of the time window, automatically chosen to be
|
1404
|
-
#
|
1432
|
+
# [Output only] Duration of the time window, automatically chosen to be smallest
|
1433
|
+
# possible in the given scenario.
|
1405
1434
|
# Corresponds to the JSON property `duration`
|
1406
1435
|
# @return [String]
|
1407
1436
|
attr_accessor :duration
|
1408
1437
|
|
1409
|
-
# Time within the maintenance window to start the maintenance operations.
|
1410
|
-
#
|
1438
|
+
# Time within the maintenance window to start the maintenance operations. It
|
1439
|
+
# must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
|
1411
1440
|
# Corresponds to the JSON property `startTime`
|
1412
1441
|
# @return [String]
|
1413
1442
|
attr_accessor :start_time
|
@@ -1427,8 +1456,8 @@ module Google
|
|
1427
1456
|
class DatabaseEncryption
|
1428
1457
|
include Google::Apis::Core::Hashable
|
1429
1458
|
|
1430
|
-
# Name of CloudKMS key to use for the encryption of secrets in etcd.
|
1431
|
-
#
|
1459
|
+
# Name of CloudKMS key to use for the encryption of secrets in etcd. Ex.
|
1460
|
+
# projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
|
1432
1461
|
# Corresponds to the JSON property `keyName`
|
1433
1462
|
# @return [String]
|
1434
1463
|
attr_accessor :key_name
|
@@ -1449,8 +1478,8 @@ module Google
|
|
1449
1478
|
end
|
1450
1479
|
end
|
1451
1480
|
|
1452
|
-
# DefaultSnatStatus contains the desired state of whether default sNAT should
|
1453
|
-
#
|
1481
|
+
# DefaultSnatStatus contains the desired state of whether default sNAT should be
|
1482
|
+
# disabled on the cluster.
|
1454
1483
|
class DefaultSnatStatus
|
1455
1484
|
include Google::Apis::Core::Hashable
|
1456
1485
|
|
@@ -1490,13 +1519,11 @@ module Google
|
|
1490
1519
|
end
|
1491
1520
|
end
|
1492
1521
|
|
1493
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
1494
|
-
#
|
1495
|
-
#
|
1496
|
-
#
|
1497
|
-
#
|
1498
|
-
# `
|
1499
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
1522
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1523
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
1524
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
1525
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
1526
|
+
# `Empty` is empty JSON object ````.
|
1500
1527
|
class Empty
|
1501
1528
|
include Google::Apis::Core::Hashable
|
1502
1529
|
|
@@ -1539,8 +1566,7 @@ module Google
|
|
1539
1566
|
# @return [Google::Apis::ContainerV1beta1::HttpCacheControlResponseHeader]
|
1540
1567
|
attr_accessor :cache_header
|
1541
1568
|
|
1542
|
-
# The public component of the keys used by the cluster to sign token
|
1543
|
-
# requests.
|
1569
|
+
# The public component of the keys used by the cluster to sign token requests.
|
1544
1570
|
# Corresponds to the JSON property `keys`
|
1545
1571
|
# @return [Array<Google::Apis::ContainerV1beta1::Jwk>]
|
1546
1572
|
attr_accessor :keys
|
@@ -1556,8 +1582,8 @@ module Google
|
|
1556
1582
|
end
|
1557
1583
|
end
|
1558
1584
|
|
1559
|
-
# GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
|
1560
|
-
#
|
1585
|
+
# GetOpenIDConfigResponse is an OIDC discovery document for the cluster. See the
|
1586
|
+
# OpenID Connect Discovery 1.0 specification for details.
|
1561
1587
|
class GetOpenIdConfigResponse
|
1562
1588
|
include Google::Apis::Core::Hashable
|
1563
1589
|
|
@@ -1619,14 +1645,13 @@ module Google
|
|
1619
1645
|
end
|
1620
1646
|
|
1621
1647
|
# Configuration options for the horizontal pod autoscaling feature, which
|
1622
|
-
# increases or decreases the number of replica pods a replication controller
|
1623
|
-
#
|
1648
|
+
# increases or decreases the number of replica pods a replication controller has
|
1649
|
+
# based on the resource usage of the existing pods.
|
1624
1650
|
class HorizontalPodAutoscaling
|
1625
1651
|
include Google::Apis::Core::Hashable
|
1626
1652
|
|
1627
|
-
# Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
|
1628
|
-
#
|
1629
|
-
# Monitoring.
|
1653
|
+
# Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When
|
1654
|
+
# enabled, it ensures that metrics are collected into Stackdriver Monitoring.
|
1630
1655
|
# Corresponds to the JSON property `disabled`
|
1631
1656
|
# @return [Boolean]
|
1632
1657
|
attr_accessor :disabled
|
@@ -1673,14 +1698,13 @@ module Google
|
|
1673
1698
|
end
|
1674
1699
|
end
|
1675
1700
|
|
1676
|
-
# Configuration options for the HTTP (L7) load balancing controller addon,
|
1677
|
-
#
|
1701
|
+
# Configuration options for the HTTP (L7) load balancing controller addon, which
|
1702
|
+
# makes it easy to set up HTTP load balancers for services in a cluster.
|
1678
1703
|
class HttpLoadBalancing
|
1679
1704
|
include Google::Apis::Core::Hashable
|
1680
1705
|
|
1681
|
-
# Whether the HTTP Load Balancing controller is enabled in the cluster.
|
1682
|
-
#
|
1683
|
-
# balancers.
|
1706
|
+
# Whether the HTTP Load Balancing controller is enabled in the cluster. When
|
1707
|
+
# enabled, it runs a small pod in the cluster that manages the load balancers.
|
1684
1708
|
# Corresponds to the JSON property `disabled`
|
1685
1709
|
# @return [Boolean]
|
1686
1710
|
attr_accessor :disabled
|
@@ -1702,15 +1726,13 @@ module Google
|
|
1702
1726
|
|
1703
1727
|
# If true, allow allocation of cluster CIDR ranges that overlap with certain
|
1704
1728
|
# kinds of network routes. By default we do not allow cluster CIDR ranges to
|
1705
|
-
# intersect with any user declared routes. With allow_route_overlap == true,
|
1706
|
-
#
|
1707
|
-
#
|
1708
|
-
#
|
1709
|
-
#
|
1710
|
-
#
|
1711
|
-
# `
|
1712
|
-
# 2) When `use_ip_aliases` is false, `cluster.cluster_ipv4_cidr` muse be
|
1713
|
-
# fully-specified.
|
1729
|
+
# intersect with any user declared routes. With allow_route_overlap == true, we
|
1730
|
+
# allow overlapping with CIDR ranges that are larger than the cluster CIDR range.
|
1731
|
+
# If this field is set to true, then cluster and services CIDRs must be fully-
|
1732
|
+
# specified (e.g. `10.96.0.0/14`, but not `/14`), which means: 1) When `
|
1733
|
+
# use_ip_aliases` is true, `cluster_ipv4_cidr_block` and `
|
1734
|
+
# services_ipv4_cidr_block` must be fully-specified. 2) When `use_ip_aliases` is
|
1735
|
+
# false, `cluster.cluster_ipv4_cidr` muse be fully-specified.
|
1714
1736
|
# Corresponds to the JSON property `allowRouteOverlap`
|
1715
1737
|
# @return [Boolean]
|
1716
1738
|
attr_accessor :allow_route_overlap
|
@@ -1721,33 +1743,28 @@ module Google
|
|
1721
1743
|
# @return [String]
|
1722
1744
|
attr_accessor :cluster_ipv4_cidr
|
1723
1745
|
|
1724
|
-
# The IP address range for the cluster pod IPs. If this field is set, then
|
1725
|
-
#
|
1726
|
-
#
|
1727
|
-
# Set to
|
1728
|
-
#
|
1729
|
-
#
|
1730
|
-
#
|
1731
|
-
#
|
1732
|
-
# notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
|
1733
|
-
# `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
|
1734
|
-
# to use.
|
1746
|
+
# The IP address range for the cluster pod IPs. If this field is set, then `
|
1747
|
+
# cluster.cluster_ipv4_cidr` must be left blank. This field is only applicable
|
1748
|
+
# when `use_ip_aliases` is true. Set to blank to have a range chosen with the
|
1749
|
+
# default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
|
1750
|
+
# specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
|
1751
|
+
# Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
|
1752
|
+
# networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
|
1753
|
+
# specific range to use.
|
1735
1754
|
# Corresponds to the JSON property `clusterIpv4CidrBlock`
|
1736
1755
|
# @return [String]
|
1737
1756
|
attr_accessor :cluster_ipv4_cidr_block
|
1738
1757
|
|
1739
|
-
# The name of the secondary range to be used for the cluster CIDR
|
1740
|
-
#
|
1741
|
-
#
|
1742
|
-
# with
|
1743
|
-
# This field is only applicable with use_ip_aliases and
|
1744
|
-
# create_subnetwork is false.
|
1758
|
+
# The name of the secondary range to be used for the cluster CIDR block. The
|
1759
|
+
# secondary range will be used for pod IP addresses. This must be an existing
|
1760
|
+
# secondary range associated with the cluster subnetwork. This field is only
|
1761
|
+
# applicable with use_ip_aliases and create_subnetwork is false.
|
1745
1762
|
# Corresponds to the JSON property `clusterSecondaryRangeName`
|
1746
1763
|
# @return [String]
|
1747
1764
|
attr_accessor :cluster_secondary_range_name
|
1748
1765
|
|
1749
|
-
# Whether a new subnetwork will be created automatically for the cluster.
|
1750
|
-
#
|
1766
|
+
# Whether a new subnetwork will be created automatically for the cluster. This
|
1767
|
+
# field is only applicable when `use_ip_aliases` is true.
|
1751
1768
|
# Corresponds to the JSON property `createSubnetwork`
|
1752
1769
|
# @return [Boolean]
|
1753
1770
|
attr_accessor :create_subnetwork
|
@@ -1758,16 +1775,13 @@ module Google
|
|
1758
1775
|
# @return [String]
|
1759
1776
|
attr_accessor :node_ipv4_cidr
|
1760
1777
|
|
1761
|
-
# The IP address range of the instance IPs in this cluster.
|
1762
|
-
#
|
1763
|
-
# Set to
|
1764
|
-
#
|
1765
|
-
#
|
1766
|
-
#
|
1767
|
-
#
|
1768
|
-
# notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
|
1769
|
-
# `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
|
1770
|
-
# to use.
|
1778
|
+
# The IP address range of the instance IPs in this cluster. This is applicable
|
1779
|
+
# only if `create_subnetwork` is true. Set to blank to have a range chosen with
|
1780
|
+
# the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
|
1781
|
+
# specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
|
1782
|
+
# Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
|
1783
|
+
# networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
|
1784
|
+
# specific range to use.
|
1771
1785
|
# Corresponds to the JSON property `nodeIpv4CidrBlock`
|
1772
1786
|
# @return [String]
|
1773
1787
|
attr_accessor :node_ipv4_cidr_block
|
@@ -1778,66 +1792,57 @@ module Google
|
|
1778
1792
|
attr_accessor :services_ipv4_cidr
|
1779
1793
|
|
1780
1794
|
# The IP address range of the services IPs in this cluster. If blank, a range
|
1781
|
-
# will be automatically chosen with the default size.
|
1782
|
-
#
|
1783
|
-
# Set to
|
1784
|
-
#
|
1785
|
-
#
|
1786
|
-
#
|
1787
|
-
#
|
1788
|
-
# notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
|
1789
|
-
# `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
|
1790
|
-
# to use.
|
1795
|
+
# will be automatically chosen with the default size. This field is only
|
1796
|
+
# applicable when `use_ip_aliases` is true. Set to blank to have a range chosen
|
1797
|
+
# with the default size. Set to /netmask (e.g. `/14`) to have a range chosen
|
1798
|
+
# with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/
|
1799
|
+
# Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-
|
1800
|
+
# 1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`)
|
1801
|
+
# to pick a specific range to use.
|
1791
1802
|
# Corresponds to the JSON property `servicesIpv4CidrBlock`
|
1792
1803
|
# @return [String]
|
1793
1804
|
attr_accessor :services_ipv4_cidr_block
|
1794
1805
|
|
1795
|
-
# The name of the secondary range to be used as for the services
|
1796
|
-
#
|
1797
|
-
#
|
1798
|
-
# with
|
1799
|
-
# This field is only applicable with use_ip_aliases and
|
1800
|
-
# create_subnetwork is false.
|
1806
|
+
# The name of the secondary range to be used as for the services CIDR block. The
|
1807
|
+
# secondary range will be used for service ClusterIPs. This must be an existing
|
1808
|
+
# secondary range associated with the cluster subnetwork. This field is only
|
1809
|
+
# applicable with use_ip_aliases and create_subnetwork is false.
|
1801
1810
|
# Corresponds to the JSON property `servicesSecondaryRangeName`
|
1802
1811
|
# @return [String]
|
1803
1812
|
attr_accessor :services_secondary_range_name
|
1804
1813
|
|
1805
|
-
# A custom subnetwork name to be used if `create_subnetwork` is true.
|
1806
|
-
#
|
1807
|
-
# subnetwork.
|
1814
|
+
# A custom subnetwork name to be used if `create_subnetwork` is true. If this
|
1815
|
+
# field is empty, then an automatic name will be chosen for the new subnetwork.
|
1808
1816
|
# Corresponds to the JSON property `subnetworkName`
|
1809
1817
|
# @return [String]
|
1810
1818
|
attr_accessor :subnetwork_name
|
1811
1819
|
|
1812
1820
|
# The IP address range of the Cloud TPUs in this cluster. If unspecified, a
|
1813
|
-
# range will be automatically chosen with the default size.
|
1814
|
-
#
|
1815
|
-
#
|
1816
|
-
#
|
1817
|
-
#
|
1818
|
-
#
|
1819
|
-
#
|
1820
|
-
#
|
1821
|
-
# `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
|
1822
|
-
# to use.
|
1823
|
-
# This field is deprecated, use cluster.tpu_config.ipv4_cidr_block instead.
|
1821
|
+
# range will be automatically chosen with the default size. This field is only
|
1822
|
+
# applicable when `use_ip_aliases` is true. If unspecified, the range will use
|
1823
|
+
# the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
|
1824
|
+
# specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
|
1825
|
+
# Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
|
1826
|
+
# networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
|
1827
|
+
# specific range to use. This field is deprecated, use cluster.tpu_config.
|
1828
|
+
# ipv4_cidr_block instead.
|
1824
1829
|
# Corresponds to the JSON property `tpuIpv4CidrBlock`
|
1825
1830
|
# @return [String]
|
1826
1831
|
attr_accessor :tpu_ipv4_cidr_block
|
1827
1832
|
|
1828
|
-
# Whether alias IPs will be used for pod IPs in the cluster.
|
1829
|
-
#
|
1830
|
-
#
|
1831
|
-
#
|
1833
|
+
# Whether alias IPs will be used for pod IPs in the cluster. This is used in
|
1834
|
+
# conjunction with use_routes. It cannot be true if use_routes is true. If both
|
1835
|
+
# use_ip_aliases and use_routes are false, then the server picks the default IP
|
1836
|
+
# allocation mode
|
1832
1837
|
# Corresponds to the JSON property `useIpAliases`
|
1833
1838
|
# @return [Boolean]
|
1834
1839
|
attr_accessor :use_ip_aliases
|
1835
1840
|
alias_method :use_ip_aliases?, :use_ip_aliases
|
1836
1841
|
|
1837
|
-
# Whether routes will be used for pod IPs in the cluster.
|
1838
|
-
#
|
1839
|
-
#
|
1840
|
-
#
|
1842
|
+
# Whether routes will be used for pod IPs in the cluster. This is used in
|
1843
|
+
# conjunction with use_ip_aliases. It cannot be true if use_ip_aliases is true.
|
1844
|
+
# If both use_ip_aliases and use_routes are false, then the server picks the
|
1845
|
+
# default IP allocation mode
|
1841
1846
|
# Corresponds to the JSON property `useRoutes`
|
1842
1847
|
# @return [Boolean]
|
1843
1848
|
attr_accessor :use_routes
|
@@ -2020,15 +2025,14 @@ module Google
|
|
2020
2025
|
end
|
2021
2026
|
end
|
2022
2027
|
|
2023
|
-
# Configuration for the legacy Attribute Based Access Control authorization
|
2024
|
-
# mode.
|
2028
|
+
# Configuration for the legacy Attribute Based Access Control authorization mode.
|
2025
2029
|
class LegacyAbac
|
2026
2030
|
include Google::Apis::Core::Hashable
|
2027
2031
|
|
2028
2032
|
# Whether the ABAC authorizer is enabled for this cluster. When enabled,
|
2029
|
-
# identities in the system, including service accounts, nodes, and
|
2030
|
-
#
|
2031
|
-
#
|
2033
|
+
# identities in the system, including service accounts, nodes, and controllers,
|
2034
|
+
# will have statically granted permissions beyond those provided by the RBAC
|
2035
|
+
# configuration or IAM.
|
2032
2036
|
# Corresponds to the JSON property `enabled`
|
2033
2037
|
# @return [Boolean]
|
2034
2038
|
attr_accessor :enabled
|
@@ -2048,18 +2052,10 @@ module Google
|
|
2048
2052
|
class LinuxNodeConfig
|
2049
2053
|
include Google::Apis::Core::Hashable
|
2050
2054
|
|
2051
|
-
# The Linux kernel parameters to be applied to the nodes and all pods running
|
2052
|
-
#
|
2053
|
-
#
|
2054
|
-
# net.core.
|
2055
|
-
# net.core.rmem_max
|
2056
|
-
# net.core.wmem_default
|
2057
|
-
# net.core.wmem_max
|
2058
|
-
# net.core.optmem_max
|
2059
|
-
# net.core.somaxconn
|
2060
|
-
# net.ipv4.tcp_rmem
|
2061
|
-
# net.ipv4.tcp_wmem
|
2062
|
-
# net.ipv4.tcp_tw_reuse
|
2055
|
+
# The Linux kernel parameters to be applied to the nodes and all pods running on
|
2056
|
+
# the nodes. The following parameters are supported. net.core.netdev_max_backlog
|
2057
|
+
# net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max
|
2058
|
+
# net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
|
2063
2059
|
# Corresponds to the JSON property `sysctls`
|
2064
2060
|
# @return [Hash<String,String>]
|
2065
2061
|
attr_accessor :sysctls
|
@@ -2078,14 +2074,13 @@ module Google
|
|
2078
2074
|
class ListClustersResponse
|
2079
2075
|
include Google::Apis::Core::Hashable
|
2080
2076
|
|
2081
|
-
# A list of clusters in the project in the specified zone, or
|
2082
|
-
# across all ones.
|
2077
|
+
# A list of clusters in the project in the specified zone, or across all ones.
|
2083
2078
|
# Corresponds to the JSON property `clusters`
|
2084
2079
|
# @return [Array<Google::Apis::ContainerV1beta1::Cluster>]
|
2085
2080
|
attr_accessor :clusters
|
2086
2081
|
|
2087
|
-
# If any zones are listed here, the list of clusters returned
|
2088
|
-
#
|
2082
|
+
# If any zones are listed here, the list of clusters returned may be missing
|
2083
|
+
# those zones.
|
2089
2084
|
# Corresponds to the JSON property `missingZones`
|
2090
2085
|
# @return [Array<String>]
|
2091
2086
|
attr_accessor :missing_zones
|
@@ -2111,10 +2106,10 @@ module Google
|
|
2111
2106
|
# @return [Array<Google::Apis::ContainerV1beta1::Location>]
|
2112
2107
|
attr_accessor :locations
|
2113
2108
|
|
2114
|
-
# Only return ListLocationsResponse that occur after the page_token. This
|
2115
|
-
#
|
2116
|
-
#
|
2117
|
-
#
|
2109
|
+
# Only return ListLocationsResponse that occur after the page_token. This value
|
2110
|
+
# should be populated from the ListLocationsResponse.next_page_token if that
|
2111
|
+
# response token was set (which happens when listing more Locations than fit in
|
2112
|
+
# a single ListLocationsResponse).
|
2118
2113
|
# Corresponds to the JSON property `nextPageToken`
|
2119
2114
|
# @return [String]
|
2120
2115
|
attr_accessor :next_page_token
|
@@ -2153,8 +2148,8 @@ module Google
|
|
2153
2148
|
class ListOperationsResponse
|
2154
2149
|
include Google::Apis::Core::Hashable
|
2155
2150
|
|
2156
|
-
# If any zones are listed here, the list of operations returned
|
2157
|
-
#
|
2151
|
+
# If any zones are listed here, the list of operations returned may be missing
|
2152
|
+
# the operations from those zones.
|
2158
2153
|
# Corresponds to the JSON property `missingZones`
|
2159
2154
|
# @return [Array<String>]
|
2160
2155
|
attr_accessor :missing_zones
|
@@ -2175,15 +2170,14 @@ module Google
|
|
2175
2170
|
end
|
2176
2171
|
end
|
2177
2172
|
|
2178
|
-
# ListUsableSubnetworksResponse is the response of
|
2179
|
-
# ListUsableSubnetworksRequest.
|
2173
|
+
# ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.
|
2180
2174
|
class ListUsableSubnetworksResponse
|
2181
2175
|
include Google::Apis::Core::Hashable
|
2182
2176
|
|
2183
|
-
# This token allows you to get the next page of results for list requests.
|
2184
|
-
#
|
2185
|
-
#
|
2186
|
-
#
|
2177
|
+
# This token allows you to get the next page of results for list requests. If
|
2178
|
+
# the number of results is larger than `page_size`, use the `next_page_token` as
|
2179
|
+
# a value for the query parameter `page_token` in the next request. The value
|
2180
|
+
# will become empty when there are no more pages.
|
2187
2181
|
# Corresponds to the JSON property `nextPageToken`
|
2188
2182
|
# @return [String]
|
2189
2183
|
attr_accessor :next_page_token
|
@@ -2204,13 +2198,13 @@ module Google
|
|
2204
2198
|
end
|
2205
2199
|
end
|
2206
2200
|
|
2207
|
-
# Location returns the location name, and if the location is recommended
|
2208
|
-
#
|
2201
|
+
# Location returns the location name, and if the location is recommended for GKE
|
2202
|
+
# cluster scheduling.
|
2209
2203
|
class Location
|
2210
2204
|
include Google::Apis::Core::Hashable
|
2211
2205
|
|
2212
|
-
# Contains the name of the resource requested.
|
2213
|
-
#
|
2206
|
+
# Contains the name of the resource requested. Specified in the format `projects/
|
2207
|
+
# */locations/*`.
|
2214
2208
|
# Corresponds to the JSON property `name`
|
2215
2209
|
# @return [String]
|
2216
2210
|
attr_accessor :name
|
@@ -2221,8 +2215,7 @@ module Google
|
|
2221
2215
|
attr_accessor :recommended
|
2222
2216
|
alias_method :recommended?, :recommended
|
2223
2217
|
|
2224
|
-
# Contains the type of location this Location is for.
|
2225
|
-
# Regional or Zonal.
|
2218
|
+
# Contains the type of location this Location is for. Regional or Zonal.
|
2226
2219
|
# Corresponds to the JSON property `type`
|
2227
2220
|
# @return [String]
|
2228
2221
|
attr_accessor :type
|
@@ -2244,10 +2237,10 @@ module Google
|
|
2244
2237
|
include Google::Apis::Core::Hashable
|
2245
2238
|
|
2246
2239
|
# A hash identifying the version of this policy, so that updates to fields of
|
2247
|
-
# the policy won't accidentally undo intermediate changes (and so that users
|
2248
|
-
#
|
2249
|
-
#
|
2250
|
-
#
|
2240
|
+
# the policy won't accidentally undo intermediate changes (and so that users of
|
2241
|
+
# the API unaware of some fields won't accidentally remove other fields). Make a
|
2242
|
+
# `get()` request to the cluster to get the current resource version and include
|
2243
|
+
# it with requests to set the policy.
|
2251
2244
|
# Corresponds to the JSON property `resourceVersion`
|
2252
2245
|
# @return [String]
|
2253
2246
|
attr_accessor :resource_version
|
@@ -2277,8 +2270,8 @@ module Google
|
|
2277
2270
|
# @return [Google::Apis::ContainerV1beta1::DailyMaintenanceWindow]
|
2278
2271
|
attr_accessor :daily_maintenance_window
|
2279
2272
|
|
2280
|
-
# Exceptions to maintenance window. Non-emergency maintenance should not
|
2281
|
-
#
|
2273
|
+
# Exceptions to maintenance window. Non-emergency maintenance should not occur
|
2274
|
+
# in these windows.
|
2282
2275
|
# Corresponds to the JSON property `maintenanceExclusions`
|
2283
2276
|
# @return [Hash<String,Google::Apis::ContainerV1beta1::TimeWindow>]
|
2284
2277
|
attr_accessor :maintenance_exclusions
|
@@ -2314,8 +2307,7 @@ module Google
|
|
2314
2307
|
end
|
2315
2308
|
|
2316
2309
|
# The authentication information for accessing the master endpoint.
|
2317
|
-
# Authentication can be done using HTTP basic auth or using client
|
2318
|
-
# certificates.
|
2310
|
+
# Authentication can be done using HTTP basic auth or using client certificates.
|
2319
2311
|
class MasterAuth
|
2320
2312
|
include Google::Apis::Core::Hashable
|
2321
2313
|
|
@@ -2330,8 +2322,8 @@ module Google
|
|
2330
2322
|
# @return [Google::Apis::ContainerV1beta1::ClientCertificateConfig]
|
2331
2323
|
attr_accessor :client_certificate_config
|
2332
2324
|
|
2333
|
-
# [Output only] Base64-encoded private key used by clients to authenticate
|
2334
|
-
#
|
2325
|
+
# [Output only] Base64-encoded private key used by clients to authenticate to
|
2326
|
+
# the cluster endpoint.
|
2335
2327
|
# Corresponds to the JSON property `clientKey`
|
2336
2328
|
# @return [String]
|
2337
2329
|
attr_accessor :client_key
|
@@ -2343,15 +2335,22 @@ module Google
|
|
2343
2335
|
|
2344
2336
|
# The password to use for HTTP basic authentication to the master endpoint.
|
2345
2337
|
# Because the master endpoint is open to the Internet, you should create a
|
2346
|
-
# strong password.
|
2347
|
-
#
|
2338
|
+
# strong password. If a password is provided for cluster creation, username must
|
2339
|
+
# be non-empty. Warning: basic authentication is deprecated, and will be removed
|
2340
|
+
# in GKE control plane versions 1.19 and newer. For a list of recommended
|
2341
|
+
# authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/
|
2342
|
+
# how-to/api-server-authentication
|
2348
2343
|
# Corresponds to the JSON property `password`
|
2349
2344
|
# @return [String]
|
2350
2345
|
attr_accessor :password
|
2351
2346
|
|
2352
|
-
# The username to use for HTTP basic authentication to the master endpoint.
|
2353
|
-
#
|
2354
|
-
#
|
2347
|
+
# The username to use for HTTP basic authentication to the master endpoint. For
|
2348
|
+
# clusters v1.6.0 and later, basic authentication can be disabled by leaving
|
2349
|
+
# username unspecified (or setting it to the empty string). Warning: basic
|
2350
|
+
# authentication is deprecated, and will be removed in GKE control plane
|
2351
|
+
# versions 1.19 and newer. For a list of recommended authentication methods, see:
|
2352
|
+
# https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-
|
2353
|
+
# authentication
|
2355
2354
|
# Corresponds to the JSON property `username`
|
2356
2355
|
# @return [String]
|
2357
2356
|
attr_accessor :username
|
@@ -2378,8 +2377,8 @@ module Google
|
|
2378
2377
|
class MasterAuthorizedNetworksConfig
|
2379
2378
|
include Google::Apis::Core::Hashable
|
2380
2379
|
|
2381
|
-
# cidr_blocks define up to 10 external networks that could access
|
2382
|
-
#
|
2380
|
+
# cidr_blocks define up to 10 external networks that could access Kubernetes
|
2381
|
+
# master through HTTPS.
|
2383
2382
|
# Corresponds to the JSON property `cidrBlocks`
|
2384
2383
|
# @return [Array<Google::Apis::ContainerV1beta1::CidrBlock>]
|
2385
2384
|
attr_accessor :cidr_blocks
|
@@ -2461,31 +2460,35 @@ module Google
|
|
2461
2460
|
class NetworkConfig
|
2462
2461
|
include Google::Apis::Core::Hashable
|
2463
2462
|
|
2464
|
-
#
|
2465
|
-
#
|
2463
|
+
# The desired datapath provider for this cluster. By default, uses the IPTables-
|
2464
|
+
# based kube-proxy implementation.
|
2465
|
+
# Corresponds to the JSON property `datapathProvider`
|
2466
|
+
# @return [String]
|
2467
|
+
attr_accessor :datapath_provider
|
2468
|
+
|
2469
|
+
# DefaultSnatStatus contains the desired state of whether default sNAT should be
|
2470
|
+
# disabled on the cluster.
|
2466
2471
|
# Corresponds to the JSON property `defaultSnatStatus`
|
2467
2472
|
# @return [Google::Apis::ContainerV1beta1::DefaultSnatStatus]
|
2468
2473
|
attr_accessor :default_snat_status
|
2469
2474
|
|
2470
|
-
# Whether Intra-node visibility is enabled for this cluster.
|
2471
|
-
#
|
2475
|
+
# Whether Intra-node visibility is enabled for this cluster. This makes same
|
2476
|
+
# node pod to pod traffic visible for VPC network.
|
2472
2477
|
# Corresponds to the JSON property `enableIntraNodeVisibility`
|
2473
2478
|
# @return [Boolean]
|
2474
2479
|
attr_accessor :enable_intra_node_visibility
|
2475
2480
|
alias_method :enable_intra_node_visibility?, :enable_intra_node_visibility
|
2476
2481
|
|
2477
|
-
# Output only. The relative name of the Google Compute Engine
|
2478
|
-
#
|
2479
|
-
#
|
2480
|
-
# projects/my-project/global/networks/my-network
|
2482
|
+
# Output only. The relative name of the Google Compute Engine network(https://
|
2483
|
+
# cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the
|
2484
|
+
# cluster is connected. Example: projects/my-project/global/networks/my-network
|
2481
2485
|
# Corresponds to the JSON property `network`
|
2482
2486
|
# @return [String]
|
2483
2487
|
attr_accessor :network
|
2484
2488
|
|
2485
|
-
# Output only. The relative name of the Google Compute Engine
|
2486
|
-
#
|
2487
|
-
#
|
2488
|
-
# projects/my-project/regions/us-central1/subnetworks/my-subnet
|
2489
|
+
# Output only. The relative name of the Google Compute Engine [subnetwork](https:
|
2490
|
+
# //cloud.google.com/compute/docs/vpc) to which the cluster is connected.
|
2491
|
+
# Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
|
2489
2492
|
# Corresponds to the JSON property `subnetwork`
|
2490
2493
|
# @return [String]
|
2491
2494
|
attr_accessor :subnetwork
|
@@ -2496,6 +2499,7 @@ module Google
|
|
2496
2499
|
|
2497
2500
|
# Update properties of this object
|
2498
2501
|
def update!(**args)
|
2502
|
+
@datapath_provider = args[:datapath_provider] if args.key?(:datapath_provider)
|
2499
2503
|
@default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
|
2500
2504
|
@enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
|
2501
2505
|
@network = args[:network] if args.key?(:network)
|
@@ -2503,8 +2507,8 @@ module Google
|
|
2503
2507
|
end
|
2504
2508
|
end
|
2505
2509
|
|
2506
|
-
# Configuration options for the NetworkPolicy feature.
|
2507
|
-
#
|
2510
|
+
# Configuration options for the NetworkPolicy feature. https://kubernetes.io/
|
2511
|
+
# docs/concepts/services-networking/networkpolicies/
|
2508
2512
|
class NetworkPolicy
|
2509
2513
|
include Google::Apis::Core::Hashable
|
2510
2514
|
|
@@ -2530,9 +2534,9 @@ module Google
|
|
2530
2534
|
end
|
2531
2535
|
end
|
2532
2536
|
|
2533
|
-
# Configuration for NetworkPolicy. This only tracks whether the addon
|
2534
|
-
#
|
2535
|
-
#
|
2537
|
+
# Configuration for NetworkPolicy. This only tracks whether the addon is enabled
|
2538
|
+
# or not on the Master, it does not track whether network policy is enabled for
|
2539
|
+
# the nodes.
|
2536
2540
|
class NetworkPolicyConfig
|
2537
2541
|
include Google::Apis::Core::Hashable
|
2538
2542
|
|
@@ -2556,39 +2560,35 @@ module Google
|
|
2556
2560
|
class NodeConfig
|
2557
2561
|
include Google::Apis::Core::Hashable
|
2558
2562
|
|
2559
|
-
# A list of hardware accelerators to be attached to each node.
|
2560
|
-
#
|
2561
|
-
# support for GPUs.
|
2563
|
+
# A list of hardware accelerators to be attached to each node. See https://cloud.
|
2564
|
+
# google.com/compute/docs/gpus for more information about support for GPUs.
|
2562
2565
|
# Corresponds to the JSON property `accelerators`
|
2563
2566
|
# @return [Array<Google::Apis::ContainerV1beta1::AcceleratorConfig>]
|
2564
2567
|
attr_accessor :accelerators
|
2565
2568
|
|
2566
|
-
# The Customer Managed Encryption Key used to encrypt the boot disk attached
|
2567
|
-
#
|
2568
|
-
#
|
2569
|
-
#
|
2570
|
-
#
|
2571
|
-
# see:
|
2572
|
-
# https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
2569
|
+
# The Customer Managed Encryption Key used to encrypt the boot disk attached to
|
2570
|
+
# each node in the node pool. This should be of the form projects/[
|
2571
|
+
# KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
|
2572
|
+
# . For more information about protecting resources with Cloud KMS Keys please
|
2573
|
+
# see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
2573
2574
|
# Corresponds to the JSON property `bootDiskKmsKey`
|
2574
2575
|
# @return [String]
|
2575
2576
|
attr_accessor :boot_disk_kms_key
|
2576
2577
|
|
2577
|
-
# Size of the disk attached to each node, specified in GB.
|
2578
|
-
#
|
2579
|
-
# If unspecified, the default disk size is 100GB.
|
2578
|
+
# Size of the disk attached to each node, specified in GB. The smallest allowed
|
2579
|
+
# disk size is 10GB. If unspecified, the default disk size is 100GB.
|
2580
2580
|
# Corresponds to the JSON property `diskSizeGb`
|
2581
2581
|
# @return [Fixnum]
|
2582
2582
|
attr_accessor :disk_size_gb
|
2583
2583
|
|
2584
|
-
# Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd')
|
2585
|
-
#
|
2584
|
+
# Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If
|
2585
|
+
# unspecified, the default disk type is 'pd-standard'
|
2586
2586
|
# Corresponds to the JSON property `diskType`
|
2587
2587
|
# @return [String]
|
2588
2588
|
attr_accessor :disk_type
|
2589
2589
|
|
2590
|
-
# The image type to use for this node. Note that for a given image type,
|
2591
|
-
#
|
2590
|
+
# The image type to use for this node. Note that for a given image type, the
|
2591
|
+
# latest version of it will be used.
|
2592
2592
|
# Corresponds to the JSON property `imageType`
|
2593
2593
|
# @return [String]
|
2594
2594
|
attr_accessor :image_type
|
@@ -2599,13 +2599,12 @@ module Google
|
|
2599
2599
|
attr_accessor :kubelet_config
|
2600
2600
|
|
2601
2601
|
# The map of Kubernetes labels (key/value pairs) to be applied to each node.
|
2602
|
-
# These will added in addition to any default label(s) that
|
2603
|
-
#
|
2604
|
-
#
|
2605
|
-
#
|
2606
|
-
# and
|
2607
|
-
#
|
2608
|
-
# https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
2602
|
+
# These will added in addition to any default label(s) that Kubernetes may apply
|
2603
|
+
# to the node. In case of conflict in label keys, the applied set may differ
|
2604
|
+
# depending on the Kubernetes version -- it's best to assume the behavior is
|
2605
|
+
# undefined and conflicts should be avoided. For more information, including
|
2606
|
+
# usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/
|
2607
|
+
# working-with-objects/labels/
|
2609
2608
|
# Corresponds to the JSON property `labels`
|
2610
2609
|
# @return [Hash<String,String>]
|
2611
2610
|
attr_accessor :labels
|
@@ -2615,105 +2614,81 @@ module Google
|
|
2615
2614
|
# @return [Google::Apis::ContainerV1beta1::LinuxNodeConfig]
|
2616
2615
|
attr_accessor :linux_node_config
|
2617
2616
|
|
2618
|
-
# The number of local SSD disks to be attached to the node.
|
2619
|
-
#
|
2620
|
-
#
|
2621
|
-
#
|
2622
|
-
# for more information.
|
2617
|
+
# The number of local SSD disks to be attached to the node. The limit for this
|
2618
|
+
# value is dependent upon the maximum number of disks available on a machine per
|
2619
|
+
# zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more
|
2620
|
+
# information.
|
2623
2621
|
# Corresponds to the JSON property `localSsdCount`
|
2624
2622
|
# @return [Fixnum]
|
2625
2623
|
attr_accessor :local_ssd_count
|
2626
2624
|
|
2627
|
-
# The name of a Google Compute Engine [machine
|
2628
|
-
#
|
2629
|
-
#
|
2630
|
-
# If unspecified, the default machine type is
|
2631
|
-
# `n1-standard-1`.
|
2625
|
+
# The name of a Google Compute Engine [machine type](https://cloud.google.com/
|
2626
|
+
# compute/docs/machine-types). If unspecified, the default machine type is `e2-
|
2627
|
+
# medium`.
|
2632
2628
|
# Corresponds to the JSON property `machineType`
|
2633
2629
|
# @return [String]
|
2634
2630
|
attr_accessor :machine_type
|
2635
2631
|
|
2636
|
-
# The metadata key/value pairs assigned to instances in the cluster.
|
2637
|
-
#
|
2638
|
-
#
|
2639
|
-
#
|
2640
|
-
#
|
2641
|
-
# "cluster-
|
2642
|
-
# "
|
2643
|
-
# "
|
2644
|
-
# "
|
2645
|
-
# "
|
2646
|
-
# "enable-
|
2647
|
-
#
|
2648
|
-
#
|
2649
|
-
#
|
2650
|
-
#
|
2651
|
-
# "kube-env"
|
2652
|
-
# "startup-script"
|
2653
|
-
# "user-data"
|
2654
|
-
# "disable-address-manager"
|
2655
|
-
# "windows-startup-script-ps1"
|
2656
|
-
# "common-psm1"
|
2657
|
-
# "k8s-node-setup-psm1"
|
2658
|
-
# "install-ssh-psm1"
|
2659
|
-
# "user-profile-psm1"
|
2660
|
-
# "serial-port-logging-enable"
|
2661
|
-
# Values are free-form strings, and only have meaning as interpreted by
|
2662
|
-
# the image running in the instance. The only restriction placed on them is
|
2663
|
-
# that each value's size must be less than or equal to 32 KB.
|
2664
|
-
# The total size of all keys and values must be less than 512 KB.
|
2632
|
+
# The metadata key/value pairs assigned to instances in the cluster. Keys must
|
2633
|
+
# conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length.
|
2634
|
+
# These are reflected as part of a URL in the metadata server. Additionally, to
|
2635
|
+
# avoid ambiguity, keys must not conflict with any other metadata keys for the
|
2636
|
+
# project or be one of the reserved keys: - "cluster-location" - "cluster-name" -
|
2637
|
+
# "cluster-uid" - "configure-sh" - "containerd-configure-sh" - "enable-oslogin"
|
2638
|
+
# - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "
|
2639
|
+
# instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-
|
2640
|
+
# address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-
|
2641
|
+
# setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" The following keys are
|
2642
|
+
# reserved for Windows nodes: - "serial-port-logging-enable" Values are free-
|
2643
|
+
# form strings, and only have meaning as interpreted by the image running in the
|
2644
|
+
# instance. The only restriction placed on them is that each value's size must
|
2645
|
+
# be less than or equal to 32 KB. The total size of all keys and values must be
|
2646
|
+
# less than 512 KB.
|
2665
2647
|
# Corresponds to the JSON property `metadata`
|
2666
2648
|
# @return [Hash<String,String>]
|
2667
2649
|
attr_accessor :metadata
|
2668
2650
|
|
2669
2651
|
# Minimum CPU platform to be used by this instance. The instance may be
|
2670
2652
|
# scheduled on the specified or newer CPU platform. Applicable values are the
|
2671
|
-
# friendly names of CPU platforms, such as
|
2672
|
-
#
|
2673
|
-
#
|
2674
|
-
#
|
2675
|
-
# platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-
|
2676
|
-
# platform)
|
2653
|
+
# friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` or `
|
2654
|
+
# minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to
|
2655
|
+
# specify min CPU platform](https://cloud.google.com/compute/docs/instances/
|
2656
|
+
# specify-min-cpu-platform)
|
2677
2657
|
# Corresponds to the JSON property `minCpuPlatform`
|
2678
2658
|
# @return [String]
|
2679
2659
|
attr_accessor :min_cpu_platform
|
2680
2660
|
|
2681
|
-
# Setting this field will assign instances of this
|
2682
|
-
#
|
2683
|
-
#
|
2684
|
-
# nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
|
2661
|
+
# Setting this field will assign instances of this pool to run on the specified
|
2662
|
+
# node group. This is useful for running workloads on [sole tenant nodes](https:/
|
2663
|
+
# /cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
|
2685
2664
|
# Corresponds to the JSON property `nodeGroup`
|
2686
2665
|
# @return [String]
|
2687
2666
|
attr_accessor :node_group
|
2688
2667
|
|
2689
|
-
# The set of Google API scopes to be made available on all of the
|
2690
|
-
#
|
2691
|
-
#
|
2692
|
-
#
|
2693
|
-
#
|
2694
|
-
#
|
2695
|
-
#
|
2696
|
-
#
|
2697
|
-
#
|
2698
|
-
# Registry](https://cloud.google.com/container-registry/)).
|
2699
|
-
# If unspecified, no scopes are added, unless Cloud Logging or Cloud
|
2700
|
-
# Monitoring are enabled, in which case their required scopes will be added.
|
2668
|
+
# The set of Google API scopes to be made available on all of the node VMs under
|
2669
|
+
# the "default" service account. The following scopes are recommended, but not
|
2670
|
+
# required, and by default are not included: * `https://www.googleapis.com/auth/
|
2671
|
+
# compute` is required for mounting persistent storage on your nodes. * `https://
|
2672
|
+
# www.googleapis.com/auth/devstorage.read_only` is required for communicating
|
2673
|
+
# with **gcr.io** (the [Google Container Registry](https://cloud.google.com/
|
2674
|
+
# container-registry/)). If unspecified, no scopes are added, unless Cloud
|
2675
|
+
# Logging or Cloud Monitoring are enabled, in which case their required scopes
|
2676
|
+
# will be added.
|
2701
2677
|
# Corresponds to the JSON property `oauthScopes`
|
2702
2678
|
# @return [Array<String>]
|
2703
2679
|
attr_accessor :oauth_scopes
|
2704
2680
|
|
2705
|
-
# Whether the nodes are created as preemptible VM instances. See:
|
2706
|
-
#
|
2707
|
-
#
|
2681
|
+
# Whether the nodes are created as preemptible VM instances. See: https://cloud.
|
2682
|
+
# google.com/compute/docs/instances/preemptible for more inforamtion about
|
2683
|
+
# preemptible VM instances.
|
2708
2684
|
# Corresponds to the JSON property `preemptible`
|
2709
2685
|
# @return [Boolean]
|
2710
2686
|
attr_accessor :preemptible
|
2711
2687
|
alias_method :preemptible?, :preemptible
|
2712
2688
|
|
2713
2689
|
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
|
2714
|
-
# reserving-zonal-resources)
|
2715
|
-
#
|
2716
|
-
# capacity from.
|
2690
|
+
# reserving-zonal-resources) is the configuration of desired reservation which
|
2691
|
+
# instances could take capacity from.
|
2717
2692
|
# Corresponds to the JSON property `reservationAffinity`
|
2718
2693
|
# @return [Google::Apis::ContainerV1beta1::ReservationAffinity]
|
2719
2694
|
attr_accessor :reservation_affinity
|
@@ -2723,9 +2698,9 @@ module Google
|
|
2723
2698
|
# @return [Google::Apis::ContainerV1beta1::SandboxConfig]
|
2724
2699
|
attr_accessor :sandbox_config
|
2725
2700
|
|
2726
|
-
# The Google Cloud Platform Service Account to be used by the node VMs.
|
2727
|
-
#
|
2728
|
-
#
|
2701
|
+
# The Google Cloud Platform Service Account to be used by the node VMs. Specify
|
2702
|
+
# the email address of the Service Account; otherwise, if no Service Account is
|
2703
|
+
# specified, the "default" service account is used.
|
2729
2704
|
# Corresponds to the JSON property `serviceAccount`
|
2730
2705
|
# @return [String]
|
2731
2706
|
attr_accessor :service_account
|
@@ -2736,16 +2711,16 @@ module Google
|
|
2736
2711
|
attr_accessor :shielded_instance_config
|
2737
2712
|
|
2738
2713
|
# The list of instance tags applied to all nodes. Tags are used to identify
|
2739
|
-
# valid sources or targets for network firewalls and are specified by
|
2740
|
-
#
|
2741
|
-
#
|
2714
|
+
# valid sources or targets for network firewalls and are specified by the client
|
2715
|
+
# during cluster or node pool creation. Each tag within the list must comply
|
2716
|
+
# with RFC1035.
|
2742
2717
|
# Corresponds to the JSON property `tags`
|
2743
2718
|
# @return [Array<String>]
|
2744
2719
|
attr_accessor :tags
|
2745
2720
|
|
2746
|
-
# List of kubernetes taints to be applied to each node.
|
2747
|
-
#
|
2748
|
-
#
|
2721
|
+
# List of kubernetes taints to be applied to each node. For more information,
|
2722
|
+
# including usage and the valid values, see: https://kubernetes.io/docs/concepts/
|
2723
|
+
# configuration/taint-and-toleration/
|
2749
2724
|
# Corresponds to the JSON property `taints`
|
2750
2725
|
# @return [Array<Google::Apis::ContainerV1beta1::NodeTaint>]
|
2751
2726
|
attr_accessor :taints
|
@@ -2791,35 +2766,32 @@ module Google
|
|
2791
2766
|
class NodeKubeletConfig
|
2792
2767
|
include Google::Apis::Core::Hashable
|
2793
2768
|
|
2794
|
-
# Enable CPU CFS quota enforcement for containers that specify CPU limits.
|
2795
|
-
#
|
2796
|
-
#
|
2797
|
-
#
|
2798
|
-
#
|
2799
|
-
#
|
2800
|
-
#
|
2801
|
-
# The default value is 'true' if unspecified.
|
2769
|
+
# Enable CPU CFS quota enforcement for containers that specify CPU limits. This
|
2770
|
+
# option is enabled by default which makes kubelet use CFS quota (https://www.
|
2771
|
+
# kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU
|
2772
|
+
# limits. Otherwise, CPU limits will not be enforced at all. Disable this option
|
2773
|
+
# to mitigate CPU throttling problems while still having your pods to be in
|
2774
|
+
# Guaranteed QoS class by specifying the CPU limits. The default value is 'true'
|
2775
|
+
# if unspecified.
|
2802
2776
|
# Corresponds to the JSON property `cpuCfsQuota`
|
2803
2777
|
# @return [Boolean]
|
2804
2778
|
attr_accessor :cpu_cfs_quota
|
2805
2779
|
alias_method :cpu_cfs_quota?, :cpu_cfs_quota
|
2806
2780
|
|
2807
|
-
# Set the CPU CFS quota period value 'cpu.cfs_period_us'.
|
2808
|
-
#
|
2809
|
-
#
|
2810
|
-
#
|
2811
|
-
# The value must be a positive duration.
|
2781
|
+
# Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a
|
2782
|
+
# sequence of decimal numbers, each with optional fraction and a unit suffix,
|
2783
|
+
# such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
|
2784
|
+
# . The value must be a positive duration.
|
2812
2785
|
# Corresponds to the JSON property `cpuCfsQuotaPeriod`
|
2813
2786
|
# @return [String]
|
2814
2787
|
attr_accessor :cpu_cfs_quota_period
|
2815
2788
|
|
2816
|
-
# Control the CPU management policy on the node.
|
2817
|
-
#
|
2818
|
-
#
|
2819
|
-
#
|
2820
|
-
#
|
2821
|
-
#
|
2822
|
-
# granted increased CPU affinity and exclusivity on the node.
|
2789
|
+
# Control the CPU management policy on the node. See https://kubernetes.io/docs/
|
2790
|
+
# tasks/administer-cluster/cpu-management-policies/ The following values are
|
2791
|
+
# allowed. - "none": the default, which represents the existing scheduling
|
2792
|
+
# behavior. - "static": allows pods with certain resource characteristics to be
|
2793
|
+
# granted increased CPU affinity and exclusivity on the node. The default value
|
2794
|
+
# is 'none' if unspecified.
|
2823
2795
|
# Corresponds to the JSON property `cpuManagerPolicy`
|
2824
2796
|
# @return [String]
|
2825
2797
|
attr_accessor :cpu_manager_policy
|
@@ -2853,8 +2825,8 @@ module Google
|
|
2853
2825
|
attr_accessor :auto_upgrade
|
2854
2826
|
alias_method :auto_upgrade?, :auto_upgrade
|
2855
2827
|
|
2856
|
-
# AutoUpgradeOptions defines the set of options for the user to control how
|
2857
|
-
#
|
2828
|
+
# AutoUpgradeOptions defines the set of options for the user to control how the
|
2829
|
+
# Auto Upgrades will proceed.
|
2858
2830
|
# Corresponds to the JSON property `upgradeOptions`
|
2859
2831
|
# @return [Google::Apis::ContainerV1beta1::AutoUpgradeOptions]
|
2860
2832
|
attr_accessor :upgrade_options
|
@@ -2871,12 +2843,12 @@ module Google
|
|
2871
2843
|
end
|
2872
2844
|
end
|
2873
2845
|
|
2874
|
-
# NodePool contains the name and configuration for a cluster's node pool.
|
2875
|
-
#
|
2876
|
-
# specification, under the control of the cluster master. They may have a set
|
2877
|
-
#
|
2878
|
-
#
|
2879
|
-
#
|
2846
|
+
# NodePool contains the name and configuration for a cluster's node pool. Node
|
2847
|
+
# pools are a set of nodes (i.e. VM's), with a common configuration and
|
2848
|
+
# specification, under the control of the cluster master. They may have a set of
|
2849
|
+
# Kubernetes labels applied to them, which may be used to reference them during
|
2850
|
+
# pod scheduling. They may also be resized up or down, to accommodate the
|
2851
|
+
# workload.
|
2880
2852
|
class NodePool
|
2881
2853
|
include Google::Apis::Core::Hashable
|
2882
2854
|
|
@@ -2896,25 +2868,27 @@ module Google
|
|
2896
2868
|
# @return [Google::Apis::ContainerV1beta1::NodeConfig]
|
2897
2869
|
attr_accessor :config
|
2898
2870
|
|
2899
|
-
# The initial node count for the pool. You must ensure that your
|
2900
|
-
#
|
2901
|
-
#
|
2902
|
-
#
|
2871
|
+
# The initial node count for the pool. You must ensure that your Compute Engine [
|
2872
|
+
# resource quota](https://cloud.google.com/compute/quotas) is sufficient for
|
2873
|
+
# this number of instances. You must also have available firewall and routes
|
2874
|
+
# quota.
|
2903
2875
|
# Corresponds to the JSON property `initialNodeCount`
|
2904
2876
|
# @return [Fixnum]
|
2905
2877
|
attr_accessor :initial_node_count
|
2906
2878
|
|
2907
|
-
# [Output only] The resource URLs of the [managed instance
|
2908
|
-
#
|
2909
|
-
# of-managed-instances)
|
2879
|
+
# [Output only] The resource URLs of the [managed instance groups](https://cloud.
|
2880
|
+
# google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
|
2910
2881
|
# associated with this node pool.
|
2911
2882
|
# Corresponds to the JSON property `instanceGroupUrls`
|
2912
2883
|
# @return [Array<String>]
|
2913
2884
|
attr_accessor :instance_group_urls
|
2914
2885
|
|
2915
|
-
# The list of Google Compute Engine
|
2916
|
-
#
|
2917
|
-
#
|
2886
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
2887
|
+
# docs/zones#available) in which the NodePool's nodes should be located. If this
|
2888
|
+
# value is unspecified during node pool creation, the [Cluster.Locations](https:/
|
2889
|
+
# /cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.
|
2890
|
+
# clusters#Cluster.FIELDS.locations) value will be used, instead. Warning:
|
2891
|
+
# changing node pool locations will result in nodes being added and/or removed.
|
2918
2892
|
# Corresponds to the JSON property `locations`
|
2919
2893
|
# @return [Array<String>]
|
2920
2894
|
attr_accessor :locations
|
@@ -2950,30 +2924,26 @@ module Google
|
|
2950
2924
|
# @return [String]
|
2951
2925
|
attr_accessor :status
|
2952
2926
|
|
2953
|
-
# [Output only] Additional information about the current status of this
|
2954
|
-
#
|
2927
|
+
# [Output only] Additional information about the current status of this node
|
2928
|
+
# pool instance, if available.
|
2955
2929
|
# Corresponds to the JSON property `statusMessage`
|
2956
2930
|
# @return [String]
|
2957
2931
|
attr_accessor :status_message
|
2958
2932
|
|
2959
2933
|
# These upgrade settings control the level of parallelism and the level of
|
2960
|
-
# disruption caused by an upgrade.
|
2961
|
-
#
|
2962
|
-
#
|
2963
|
-
#
|
2964
|
-
#
|
2965
|
-
#
|
2966
|
-
#
|
2967
|
-
#
|
2968
|
-
#
|
2969
|
-
#
|
2970
|
-
#
|
2971
|
-
#
|
2972
|
-
#
|
2973
|
-
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
2974
|
-
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
2975
|
-
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
2976
|
-
# there are always at least 4 nodes available.
|
2934
|
+
# disruption caused by an upgrade. maxUnavailable controls the number of nodes
|
2935
|
+
# that can be simultaneously unavailable. maxSurge controls the number of
|
2936
|
+
# additional nodes that can be added to the node pool temporarily for the time
|
2937
|
+
# of the upgrade to increase the number of available nodes. (maxUnavailable +
|
2938
|
+
# maxSurge) determines the level of parallelism (how many nodes are being
|
2939
|
+
# upgraded at the same time). Note: upgrades inevitably introduce some
|
2940
|
+
# disruption since workloads need to be moved from old nodes to new, upgraded
|
2941
|
+
# ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
|
2942
|
+
# limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
|
2943
|
+
# node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
|
2944
|
+
# upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
|
2945
|
+
# upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
|
2946
|
+
# same time. This ensures that there are always at least 4 nodes available.
|
2977
2947
|
# Corresponds to the JSON property `upgradeSettings`
|
2978
2948
|
# @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
|
2979
2949
|
attr_accessor :upgrade_settings
|
@@ -3024,14 +2994,13 @@ module Google
|
|
3024
2994
|
attr_accessor :enabled
|
3025
2995
|
alias_method :enabled?, :enabled
|
3026
2996
|
|
3027
|
-
# Maximum number of nodes in the NodePool. Must be >= min_node_count. There
|
3028
|
-
#
|
2997
|
+
# Maximum number of nodes in the NodePool. Must be >= min_node_count. There has
|
2998
|
+
# to enough quota to scale up the cluster.
|
3029
2999
|
# Corresponds to the JSON property `maxNodeCount`
|
3030
3000
|
# @return [Fixnum]
|
3031
3001
|
attr_accessor :max_node_count
|
3032
3002
|
|
3033
|
-
# Minimum number of nodes in the NodePool. Must be >= 1 and <=
|
3034
|
-
# max_node_count.
|
3003
|
+
# Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.
|
3035
3004
|
# Corresponds to the JSON property `minNodeCount`
|
3036
3005
|
# @return [Fixnum]
|
3037
3006
|
attr_accessor :min_node_count
|
@@ -3050,8 +3019,7 @@ module Google
|
|
3050
3019
|
end
|
3051
3020
|
|
3052
3021
|
# Kubernetes taint is comprised of three fields: key, value, and effect. Effect
|
3053
|
-
# can only be one of three types:
|
3054
|
-
# See
|
3022
|
+
# can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See
|
3055
3023
|
# [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
|
3056
3024
|
# for more information, including usage and the valid values.
|
3057
3025
|
class NodeTaint
|
@@ -3084,12 +3052,32 @@ module Google
|
|
3084
3052
|
end
|
3085
3053
|
end
|
3086
3054
|
|
3055
|
+
# NotificationConfig is the configuration of notifications.
|
3056
|
+
class NotificationConfig
|
3057
|
+
include Google::Apis::Core::Hashable
|
3058
|
+
|
3059
|
+
# Pub/Sub specific notification config.
|
3060
|
+
# Corresponds to the JSON property `pubsub`
|
3061
|
+
# @return [Google::Apis::ContainerV1beta1::PubSub]
|
3062
|
+
attr_accessor :pubsub
|
3063
|
+
|
3064
|
+
def initialize(**args)
|
3065
|
+
update!(**args)
|
3066
|
+
end
|
3067
|
+
|
3068
|
+
# Update properties of this object
|
3069
|
+
def update!(**args)
|
3070
|
+
@pubsub = args[:pubsub] if args.key?(:pubsub)
|
3071
|
+
end
|
3072
|
+
end
|
3073
|
+
|
3087
3074
|
# This operation resource represents operations that may have happened or are
|
3088
3075
|
# happening on the cluster. All fields are output only.
|
3089
3076
|
class Operation
|
3090
3077
|
include Google::Apis::Core::Hashable
|
3091
3078
|
|
3092
|
-
# Which conditions caused the current cluster state.
|
3079
|
+
# Which conditions caused the current cluster state. Deprecated. Use field error
|
3080
|
+
# instead.
|
3093
3081
|
# Corresponds to the JSON property `clusterConditions`
|
3094
3082
|
# @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
|
3095
3083
|
attr_accessor :cluster_conditions
|
@@ -3099,18 +3087,25 @@ module Google
|
|
3099
3087
|
# @return [String]
|
3100
3088
|
attr_accessor :detail
|
3101
3089
|
|
3102
|
-
# [Output only] The time the operation completed, in
|
3103
|
-
#
|
3090
|
+
# [Output only] The time the operation completed, in [RFC3339](https://www.ietf.
|
3091
|
+
# org/rfc/rfc3339.txt) text format.
|
3104
3092
|
# Corresponds to the JSON property `endTime`
|
3105
3093
|
# @return [String]
|
3106
3094
|
attr_accessor :end_time
|
3107
3095
|
|
3108
|
-
#
|
3109
|
-
# [
|
3110
|
-
#
|
3111
|
-
#
|
3112
|
-
# [
|
3113
|
-
#
|
3096
|
+
# The `Status` type defines a logical error model that is suitable for different
|
3097
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
3098
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
3099
|
+
# data: error code, error message, and error details. You can find out more
|
3100
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
3101
|
+
# //cloud.google.com/apis/design/errors).
|
3102
|
+
# Corresponds to the JSON property `error`
|
3103
|
+
# @return [Google::Apis::ContainerV1beta1::Status]
|
3104
|
+
attr_accessor :error
|
3105
|
+
|
3106
|
+
# [Output only] The name of the Google Compute Engine [zone](https://cloud.
|
3107
|
+
# google.com/compute/docs/regions-zones/regions-zones#available) or [region](
|
3108
|
+
# https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
|
3114
3109
|
# in which the cluster resides.
|
3115
3110
|
# Corresponds to the JSON property `location`
|
3116
3111
|
# @return [String]
|
@@ -3121,7 +3116,8 @@ module Google
|
|
3121
3116
|
# @return [String]
|
3122
3117
|
attr_accessor :name
|
3123
3118
|
|
3124
|
-
# Which conditions caused the current node pool state.
|
3119
|
+
# Which conditions caused the current node pool state. Deprecated. Use field
|
3120
|
+
# error instead.
|
3125
3121
|
# Corresponds to the JSON property `nodepoolConditions`
|
3126
3122
|
# @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
|
3127
3123
|
attr_accessor :nodepool_conditions
|
@@ -3141,8 +3137,8 @@ module Google
|
|
3141
3137
|
# @return [String]
|
3142
3138
|
attr_accessor :self_link
|
3143
3139
|
|
3144
|
-
# [Output only] The time the operation started, in
|
3145
|
-
#
|
3140
|
+
# [Output only] The time the operation started, in [RFC3339](https://www.ietf.
|
3141
|
+
# org/rfc/rfc3339.txt) text format.
|
3146
3142
|
# Corresponds to the JSON property `startTime`
|
3147
3143
|
# @return [String]
|
3148
3144
|
attr_accessor :start_time
|
@@ -3153,6 +3149,7 @@ module Google
|
|
3153
3149
|
attr_accessor :status
|
3154
3150
|
|
3155
3151
|
# Output only. If an error has occurred, a textual description of the error.
|
3152
|
+
# Deprecated. Use field error instead.
|
3156
3153
|
# Corresponds to the JSON property `statusMessage`
|
3157
3154
|
# @return [String]
|
3158
3155
|
attr_accessor :status_message
|
@@ -3162,9 +3159,9 @@ module Google
|
|
3162
3159
|
# @return [String]
|
3163
3160
|
attr_accessor :target_link
|
3164
3161
|
|
3165
|
-
# The name of the Google Compute Engine
|
3166
|
-
#
|
3167
|
-
#
|
3162
|
+
# The name of the Google Compute Engine [zone](https://cloud.google.com/compute/
|
3163
|
+
# docs/zones#available) in which the operation is taking place. This field is
|
3164
|
+
# deprecated, use location instead.
|
3168
3165
|
# Corresponds to the JSON property `zone`
|
3169
3166
|
# @return [String]
|
3170
3167
|
attr_accessor :zone
|
@@ -3178,6 +3175,7 @@ module Google
|
|
3178
3175
|
@cluster_conditions = args[:cluster_conditions] if args.key?(:cluster_conditions)
|
3179
3176
|
@detail = args[:detail] if args.key?(:detail)
|
3180
3177
|
@end_time = args[:end_time] if args.key?(:end_time)
|
3178
|
+
@error = args[:error] if args.key?(:error)
|
3181
3179
|
@location = args[:location] if args.key?(:location)
|
3182
3180
|
@name = args[:name] if args.key?(:name)
|
3183
3181
|
@nodepool_conditions = args[:nodepool_conditions] if args.key?(:nodepool_conditions)
|
@@ -3196,18 +3194,15 @@ module Google
|
|
3196
3194
|
class OperationProgress
|
3197
3195
|
include Google::Apis::Core::Hashable
|
3198
3196
|
|
3199
|
-
# Progress metric bundle, for example:
|
3200
|
-
#
|
3201
|
-
# `name: "
|
3202
|
-
# or
|
3203
|
-
# metrics: [`name: "progress", double_value: 0.56`,
|
3204
|
-
# `name: "progress scale", double_value: 1.0`]
|
3197
|
+
# Progress metric bundle, for example: metrics: [`name: "nodes done", int_value:
|
3198
|
+
# 15`, `name: "nodes total", int_value: 32`] or metrics: [`name: "progress",
|
3199
|
+
# double_value: 0.56`, `name: "progress scale", double_value: 1.0`]
|
3205
3200
|
# Corresponds to the JSON property `metrics`
|
3206
3201
|
# @return [Array<Google::Apis::ContainerV1beta1::Metric>]
|
3207
3202
|
attr_accessor :metrics
|
3208
3203
|
|
3209
|
-
# A non-parameterized string describing an operation stage.
|
3210
|
-
#
|
3204
|
+
# A non-parameterized string describing an operation stage. Unset for single-
|
3205
|
+
# stage operations.
|
3211
3206
|
# Corresponds to the JSON property `name`
|
3212
3207
|
# @return [String]
|
3213
3208
|
attr_accessor :name
|
@@ -3217,8 +3212,7 @@ module Google
|
|
3217
3212
|
# @return [Array<Google::Apis::ContainerV1beta1::OperationProgress>]
|
3218
3213
|
attr_accessor :stages
|
3219
3214
|
|
3220
|
-
# Status of an operation stage.
|
3221
|
-
# Unset for single-stage operations.
|
3215
|
+
# Status of an operation stage. Unset for single-stage operations.
|
3222
3216
|
# Corresponds to the JSON property `status`
|
3223
3217
|
# @return [String]
|
3224
3218
|
attr_accessor :status
|
@@ -3267,9 +3261,9 @@ module Google
|
|
3267
3261
|
attr_accessor :enable_private_endpoint
|
3268
3262
|
alias_method :enable_private_endpoint?, :enable_private_endpoint
|
3269
3263
|
|
3270
|
-
# Whether nodes have internal IP addresses only. If enabled, all nodes are
|
3271
|
-
#
|
3272
|
-
#
|
3264
|
+
# Whether nodes have internal IP addresses only. If enabled, all nodes are given
|
3265
|
+
# only RFC 1918 private addresses and communicate with the master via private
|
3266
|
+
# networking.
|
3273
3267
|
# Corresponds to the JSON property `enablePrivateNodes`
|
3274
3268
|
# @return [Boolean]
|
3275
3269
|
attr_accessor :enable_private_nodes
|
@@ -3280,10 +3274,10 @@ module Google
|
|
3280
3274
|
# @return [Google::Apis::ContainerV1beta1::PrivateClusterMasterGlobalAccessConfig]
|
3281
3275
|
attr_accessor :master_global_access_config
|
3282
3276
|
|
3283
|
-
# The IP range in CIDR notation to use for the hosted master network. This
|
3284
|
-
#
|
3285
|
-
#
|
3286
|
-
#
|
3277
|
+
# The IP range in CIDR notation to use for the hosted master network. This range
|
3278
|
+
# will be used for assigning internal IP addresses to the master or set of
|
3279
|
+
# masters, as well as the ILB VIP. This range must not overlap with any other
|
3280
|
+
# ranges in use within the cluster's network.
|
3287
3281
|
# Corresponds to the JSON property `masterIpv4CidrBlock`
|
3288
3282
|
# @return [String]
|
3289
3283
|
attr_accessor :master_ipv4_cidr_block
|
@@ -3339,36 +3333,52 @@ module Google
|
|
3339
3333
|
end
|
3340
3334
|
end
|
3341
3335
|
|
3336
|
+
# Pub/Sub specific notification config.
|
3337
|
+
class PubSub
|
3338
|
+
include Google::Apis::Core::Hashable
|
3339
|
+
|
3340
|
+
# Enable notifications for Pub/Sub.
|
3341
|
+
# Corresponds to the JSON property `enabled`
|
3342
|
+
# @return [Boolean]
|
3343
|
+
attr_accessor :enabled
|
3344
|
+
alias_method :enabled?, :enabled
|
3345
|
+
|
3346
|
+
# The desired Pub/Sub topic to which notifications will be sent by GKE. Format
|
3347
|
+
# is `projects/`project`/topics/`topic``.
|
3348
|
+
# Corresponds to the JSON property `topic`
|
3349
|
+
# @return [String]
|
3350
|
+
attr_accessor :topic
|
3351
|
+
|
3352
|
+
def initialize(**args)
|
3353
|
+
update!(**args)
|
3354
|
+
end
|
3355
|
+
|
3356
|
+
# Update properties of this object
|
3357
|
+
def update!(**args)
|
3358
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
3359
|
+
@topic = args[:topic] if args.key?(:topic)
|
3360
|
+
end
|
3361
|
+
end
|
3362
|
+
|
3342
3363
|
# Represents an arbitrary window of time that recurs.
|
3343
3364
|
class RecurringTimeWindow
|
3344
3365
|
include Google::Apis::Core::Hashable
|
3345
3366
|
|
3346
|
-
# An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
|
3347
|
-
#
|
3348
|
-
#
|
3349
|
-
#
|
3350
|
-
#
|
3351
|
-
#
|
3352
|
-
#
|
3353
|
-
#
|
3354
|
-
#
|
3355
|
-
#
|
3356
|
-
#
|
3357
|
-
#
|
3358
|
-
# start time
|
3359
|
-
#
|
3360
|
-
#
|
3361
|
-
# </code>
|
3362
|
-
# Windows can span multiple days. Eg, to make the window encompass every
|
3363
|
-
# weekend from midnight Saturday till the last minute of Sunday UTC:
|
3364
|
-
# <code>
|
3365
|
-
# start time = 2019-01-05T00:00:00Z
|
3366
|
-
# end time = 2019-01-07T23:59:00Z
|
3367
|
-
# recurrence = FREQ=WEEKLY;BYDAY=SA
|
3368
|
-
# </code>
|
3369
|
-
# Note the start and end time's specific dates are largely arbitrary except
|
3370
|
-
# to specify duration of the window and when it first starts.
|
3371
|
-
# The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
|
3367
|
+
# An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this
|
3368
|
+
# window reccurs. They go on for the span of time between the start and end time.
|
3369
|
+
# For example, to have something repeat every weekday, you'd use: `FREQ=WEEKLY;
|
3370
|
+
# BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the
|
3371
|
+
# DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `
|
3372
|
+
# FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` This specifies how frequently the window
|
3373
|
+
# starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you'd use
|
3374
|
+
# something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-
|
3375
|
+
# 01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ``` Windows can
|
3376
|
+
# span multiple days. Eg, to make the window encompass every weekend from
|
3377
|
+
# midnight Saturday till the last minute of Sunday UTC: ``` start time = 2019-01-
|
3378
|
+
# 05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA
|
3379
|
+
# ``` Note the start and end time's specific dates are largely arbitrary except
|
3380
|
+
# to specify duration of the window and when it first starts. The FREQ values of
|
3381
|
+
# HOURLY, MINUTELY, and SECONDLY are not supported.
|
3372
3382
|
# Corresponds to the JSON property `recurrence`
|
3373
3383
|
# @return [String]
|
3374
3384
|
attr_accessor :recurrence
|
@@ -3389,11 +3399,10 @@ module Google
|
|
3389
3399
|
end
|
3390
3400
|
end
|
3391
3401
|
|
3392
|
-
# ReleaseChannel indicates which release channel a cluster is
|
3393
|
-
#
|
3394
|
-
#
|
3395
|
-
#
|
3396
|
-
# defaults to true and cannot be disabled.
|
3402
|
+
# ReleaseChannel indicates which release channel a cluster is subscribed to.
|
3403
|
+
# Release channels are arranged in order of risk. When a cluster is subscribed
|
3404
|
+
# to a release channel, Google maintains both the master version and the node
|
3405
|
+
# version. Node auto-upgrade defaults to true and cannot be disabled.
|
3397
3406
|
class ReleaseChannel
|
3398
3407
|
include Google::Apis::Core::Hashable
|
3399
3408
|
|
@@ -3416,9 +3425,8 @@ module Google
|
|
3416
3425
|
class ReleaseChannelConfig
|
3417
3426
|
include Google::Apis::Core::Hashable
|
3418
3427
|
|
3419
|
-
# Deprecated.
|
3420
|
-
#
|
3421
|
-
# field.
|
3428
|
+
# Deprecated. This field has been deprecated and replaced with the
|
3429
|
+
# valid_versions field.
|
3422
3430
|
# Corresponds to the JSON property `availableVersions`
|
3423
3431
|
# @return [Array<Google::Apis::ContainerV1beta1::AvailableVersion>]
|
3424
3432
|
attr_accessor :available_versions
|
@@ -3452,9 +3460,8 @@ module Google
|
|
3452
3460
|
end
|
3453
3461
|
|
3454
3462
|
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
|
3455
|
-
# reserving-zonal-resources)
|
3456
|
-
#
|
3457
|
-
# capacity from.
|
3463
|
+
# reserving-zonal-resources) is the configuration of desired reservation which
|
3464
|
+
# instances could take capacity from.
|
3458
3465
|
class ReservationAffinity
|
3459
3466
|
include Google::Apis::Core::Hashable
|
3460
3467
|
|
@@ -3464,8 +3471,8 @@ module Google
|
|
3464
3471
|
attr_accessor :consume_reservation_type
|
3465
3472
|
|
3466
3473
|
# Corresponds to the label key of a reservation resource. To target a
|
3467
|
-
# SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as
|
3468
|
-
#
|
3474
|
+
# SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as the
|
3475
|
+
# key and specify the name of your reservation as its value.
|
3469
3476
|
# Corresponds to the JSON property `key`
|
3470
3477
|
# @return [String]
|
3471
3478
|
attr_accessor :key
|
@@ -3487,8 +3494,8 @@ module Google
|
|
3487
3494
|
end
|
3488
3495
|
end
|
3489
3496
|
|
3490
|
-
# Contains information about amount of some resource in the cluster.
|
3491
|
-
#
|
3497
|
+
# Contains information about amount of some resource in the cluster. For memory,
|
3498
|
+
# value should be in GB.
|
3492
3499
|
class ResourceLimit
|
3493
3500
|
include Google::Apis::Core::Hashable
|
3494
3501
|
|
@@ -3558,36 +3565,35 @@ module Google
|
|
3558
3565
|
class RollbackNodePoolUpgradeRequest
|
3559
3566
|
include Google::Apis::Core::Hashable
|
3560
3567
|
|
3561
|
-
# Required. Deprecated. The name of the cluster to rollback.
|
3562
|
-
#
|
3568
|
+
# Required. Deprecated. The name of the cluster to rollback. This field has been
|
3569
|
+
# deprecated and replaced by the name field.
|
3563
3570
|
# Corresponds to the JSON property `clusterId`
|
3564
3571
|
# @return [String]
|
3565
3572
|
attr_accessor :cluster_id
|
3566
3573
|
|
3567
3574
|
# The name (project, location, cluster, node pool id) of the node poll to
|
3568
|
-
# rollback upgrade.
|
3569
|
-
#
|
3575
|
+
# rollback upgrade. Specified in the format `projects/*/locations/*/clusters/*/
|
3576
|
+
# nodePools/*`.
|
3570
3577
|
# Corresponds to the JSON property `name`
|
3571
3578
|
# @return [String]
|
3572
3579
|
attr_accessor :name
|
3573
3580
|
|
3574
|
-
# Required. Deprecated. The name of the node pool to rollback.
|
3575
|
-
#
|
3581
|
+
# Required. Deprecated. The name of the node pool to rollback. This field has
|
3582
|
+
# been deprecated and replaced by the name field.
|
3576
3583
|
# Corresponds to the JSON property `nodePoolId`
|
3577
3584
|
# @return [String]
|
3578
3585
|
attr_accessor :node_pool_id
|
3579
3586
|
|
3580
3587
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
3581
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
3582
|
-
#
|
3588
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
3589
|
+
# deprecated and replaced by the name field.
|
3583
3590
|
# Corresponds to the JSON property `projectId`
|
3584
3591
|
# @return [String]
|
3585
3592
|
attr_accessor :project_id
|
3586
3593
|
|
3587
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
3588
|
-
#
|
3589
|
-
#
|
3590
|
-
# field.
|
3594
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
3595
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
3596
|
+
# This field has been deprecated and replaced by the name field.
|
3591
3597
|
# Corresponds to the JSON property `zone`
|
3592
3598
|
# @return [String]
|
3593
3599
|
attr_accessor :zone
|
@@ -3684,35 +3690,34 @@ module Google
|
|
3684
3690
|
class SetAddonsConfigRequest
|
3685
3691
|
include Google::Apis::Core::Hashable
|
3686
3692
|
|
3687
|
-
# Configuration for the addons that can be automatically spun up in the
|
3688
|
-
#
|
3693
|
+
# Configuration for the addons that can be automatically spun up in the cluster,
|
3694
|
+
# enabling additional functionality.
|
3689
3695
|
# Corresponds to the JSON property `addonsConfig`
|
3690
3696
|
# @return [Google::Apis::ContainerV1beta1::AddonsConfig]
|
3691
3697
|
attr_accessor :addons_config
|
3692
3698
|
|
3693
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
3694
|
-
#
|
3699
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
3700
|
+
# deprecated and replaced by the name field.
|
3695
3701
|
# Corresponds to the JSON property `clusterId`
|
3696
3702
|
# @return [String]
|
3697
3703
|
attr_accessor :cluster_id
|
3698
3704
|
|
3699
|
-
# The name (project, location, cluster) of the cluster to set addons.
|
3700
|
-
#
|
3705
|
+
# The name (project, location, cluster) of the cluster to set addons. Specified
|
3706
|
+
# in the format `projects/*/locations/*/clusters/*`.
|
3701
3707
|
# Corresponds to the JSON property `name`
|
3702
3708
|
# @return [String]
|
3703
3709
|
attr_accessor :name
|
3704
3710
|
|
3705
3711
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
3706
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
3707
|
-
#
|
3712
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
3713
|
+
# deprecated and replaced by the name field.
|
3708
3714
|
# Corresponds to the JSON property `projectId`
|
3709
3715
|
# @return [String]
|
3710
3716
|
attr_accessor :project_id
|
3711
3717
|
|
3712
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
3713
|
-
#
|
3714
|
-
#
|
3715
|
-
# field.
|
3718
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
3719
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
3720
|
+
# This field has been deprecated and replaced by the name field.
|
3716
3721
|
# Corresponds to the JSON property `zone`
|
3717
3722
|
# @return [String]
|
3718
3723
|
attr_accessor :zone
|
@@ -3737,18 +3742,17 @@ module Google
|
|
3737
3742
|
class SetLabelsRequest
|
3738
3743
|
include Google::Apis::Core::Hashable
|
3739
3744
|
|
3740
|
-
# Required. Deprecated. The name of the cluster.
|
3741
|
-
#
|
3745
|
+
# Required. Deprecated. The name of the cluster. This field has been deprecated
|
3746
|
+
# and replaced by the name field.
|
3742
3747
|
# Corresponds to the JSON property `clusterId`
|
3743
3748
|
# @return [String]
|
3744
3749
|
attr_accessor :cluster_id
|
3745
3750
|
|
3746
3751
|
# Required. The fingerprint of the previous set of labels for this resource,
|
3747
|
-
# used to detect conflicts. The fingerprint is initially generated by
|
3748
|
-
#
|
3749
|
-
#
|
3750
|
-
#
|
3751
|
-
# resource to get the latest fingerprint.
|
3752
|
+
# used to detect conflicts. The fingerprint is initially generated by Kubernetes
|
3753
|
+
# Engine and changes after every request to modify or update labels. You must
|
3754
|
+
# always provide an up-to-date fingerprint hash when updating or changing labels.
|
3755
|
+
# Make a `get()` request to the resource to get the latest fingerprint.
|
3752
3756
|
# Corresponds to the JSON property `labelFingerprint`
|
3753
3757
|
# @return [String]
|
3754
3758
|
attr_accessor :label_fingerprint
|
@@ -3760,8 +3764,8 @@ module Google
|
|
3760
3764
|
attr_accessor :name
|
3761
3765
|
|
3762
3766
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
3763
|
-
# number](https://developers.google.com/console/help/new/#projectnumber).
|
3764
|
-
#
|
3767
|
+
# number](https://developers.google.com/console/help/new/#projectnumber). This
|
3768
|
+
# field has been deprecated and replaced by the name field.
|
3765
3769
|
# Corresponds to the JSON property `projectId`
|
3766
3770
|
# @return [String]
|
3767
3771
|
attr_accessor :project_id
|
@@ -3771,10 +3775,9 @@ module Google
|
|
3771
3775
|
# @return [Hash<String,String>]
|
3772
3776
|
attr_accessor :resource_labels
|
3773
3777
|
|
3774
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
3775
|
-
#
|
3776
|
-
#
|
3777
|
-
# field.
|
3778
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
3779
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
3780
|
+
# This field has been deprecated and replaced by the name field.
|
3778
3781
|
# Corresponds to the JSON property `zone`
|
3779
3782
|
# @return [String]
|
3780
3783
|
attr_accessor :zone
|
@@ -3799,8 +3802,8 @@ module Google
|
|
3799
3802
|
class SetLegacyAbacRequest
|
3800
3803
|
include Google::Apis::Core::Hashable
|
3801
3804
|
|
3802
|
-
# Required. Deprecated. The name of the cluster to update.
|
3803
|
-
#
|
3805
|
+
# Required. Deprecated. The name of the cluster to update. This field has been
|
3806
|
+
# deprecated and replaced by the name field.
|
3804
3807
|
# Corresponds to the JSON property `clusterId`
|
3805
3808
|
# @return [String]
|
3806
3809
|
attr_accessor :cluster_id
|
@@ -3818,16 +3821,15 @@ module Google
|
|
3818
3821
|
attr_accessor :name
|
3819
3822
|
|
3820
3823
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
3821
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
3822
|
-
#
|
3824
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
3825
|
+
# deprecated and replaced by the name field.
|
3823
3826
|
# Corresponds to the JSON property `projectId`
|
3824
3827
|
# @return [String]
|
3825
3828
|
attr_accessor :project_id
|
3826
3829
|
|
3827
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
3828
|
-
#
|
3829
|
-
#
|
3830
|
-
# field.
|
3830
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
3831
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
3832
|
+
# This field has been deprecated and replaced by the name field.
|
3831
3833
|
# Corresponds to the JSON property `zone`
|
3832
3834
|
# @return [String]
|
3833
3835
|
attr_accessor :zone
|
@@ -3850,18 +3852,18 @@ module Google
|
|
3850
3852
|
class SetLocationsRequest
|
3851
3853
|
include Google::Apis::Core::Hashable
|
3852
3854
|
|
3853
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
3854
|
-
#
|
3855
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
3856
|
+
# deprecated and replaced by the name field.
|
3855
3857
|
# Corresponds to the JSON property `clusterId`
|
3856
3858
|
# @return [String]
|
3857
3859
|
attr_accessor :cluster_id
|
3858
3860
|
|
3859
|
-
# Required. The desired list of Google Compute Engine
|
3860
|
-
#
|
3861
|
-
#
|
3862
|
-
#
|
3863
|
-
#
|
3864
|
-
#
|
3861
|
+
# Required. The desired list of Google Compute Engine [zones](https://cloud.
|
3862
|
+
# google.com/compute/docs/zones#available) in which the cluster's nodes should
|
3863
|
+
# be located. Changing the locations a cluster is in will result in nodes being
|
3864
|
+
# either created or removed from the cluster, depending on whether locations are
|
3865
|
+
# being added or removed. This list must always include the cluster's primary
|
3866
|
+
# zone.
|
3865
3867
|
# Corresponds to the JSON property `locations`
|
3866
3868
|
# @return [Array<String>]
|
3867
3869
|
attr_accessor :locations
|
@@ -3873,16 +3875,15 @@ module Google
|
|
3873
3875
|
attr_accessor :name
|
3874
3876
|
|
3875
3877
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
3876
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
3877
|
-
#
|
3878
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
3879
|
+
# deprecated and replaced by the name field.
|
3878
3880
|
# Corresponds to the JSON property `projectId`
|
3879
3881
|
# @return [String]
|
3880
3882
|
attr_accessor :project_id
|
3881
3883
|
|
3882
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
3883
|
-
#
|
3884
|
-
#
|
3885
|
-
# field.
|
3884
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
3885
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
3886
|
+
# This field has been deprecated and replaced by the name field.
|
3886
3887
|
# Corresponds to the JSON property `zone`
|
3887
3888
|
# @return [String]
|
3888
3889
|
attr_accessor :zone
|
@@ -3905,42 +3906,39 @@ module Google
|
|
3905
3906
|
class SetLoggingServiceRequest
|
3906
3907
|
include Google::Apis::Core::Hashable
|
3907
3908
|
|
3908
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
3909
|
-
#
|
3909
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
3910
|
+
# deprecated and replaced by the name field.
|
3910
3911
|
# Corresponds to the JSON property `clusterId`
|
3911
3912
|
# @return [String]
|
3912
3913
|
attr_accessor :cluster_id
|
3913
3914
|
|
3914
|
-
# Required. The logging service the cluster should use to write logs.
|
3915
|
-
#
|
3916
|
-
# * `logging.googleapis.com
|
3917
|
-
# service
|
3918
|
-
#
|
3919
|
-
#
|
3920
|
-
#
|
3921
|
-
# If left as an empty string,`logging.googleapis.com/kubernetes` will be
|
3922
|
-
# used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
|
3915
|
+
# Required. The logging service the cluster should use to write logs. Currently
|
3916
|
+
# available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging
|
3917
|
+
# service with a Kubernetes-native resource model * `logging.googleapis.com` -
|
3918
|
+
# The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none`
|
3919
|
+
# - no logs will be exported from the cluster. If left as an empty string,`
|
3920
|
+
# logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.
|
3921
|
+
# googleapis.com` for earlier versions.
|
3923
3922
|
# Corresponds to the JSON property `loggingService`
|
3924
3923
|
# @return [String]
|
3925
3924
|
attr_accessor :logging_service
|
3926
3925
|
|
3927
|
-
# The name (project, location, cluster) of the cluster to set logging.
|
3928
|
-
#
|
3926
|
+
# The name (project, location, cluster) of the cluster to set logging. Specified
|
3927
|
+
# in the format `projects/*/locations/*/clusters/*`.
|
3929
3928
|
# Corresponds to the JSON property `name`
|
3930
3929
|
# @return [String]
|
3931
3930
|
attr_accessor :name
|
3932
3931
|
|
3933
3932
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
3934
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
3935
|
-
#
|
3933
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
3934
|
+
# deprecated and replaced by the name field.
|
3936
3935
|
# Corresponds to the JSON property `projectId`
|
3937
3936
|
# @return [String]
|
3938
3937
|
attr_accessor :project_id
|
3939
3938
|
|
3940
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
3941
|
-
#
|
3942
|
-
#
|
3943
|
-
# field.
|
3939
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
3940
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
3941
|
+
# This field has been deprecated and replaced by the name field.
|
3944
3942
|
# Corresponds to the JSON property `zone`
|
3945
3943
|
# @return [String]
|
3946
3944
|
attr_accessor :zone
|
@@ -3974,21 +3972,19 @@ module Google
|
|
3974
3972
|
attr_accessor :maintenance_policy
|
3975
3973
|
|
3976
3974
|
# The name (project, location, cluster id) of the cluster to set maintenance
|
3977
|
-
# policy.
|
3978
|
-
# Specified in the format `projects/*/locations/*/clusters/*`.
|
3975
|
+
# policy. Specified in the format `projects/*/locations/*/clusters/*`.
|
3979
3976
|
# Corresponds to the JSON property `name`
|
3980
3977
|
# @return [String]
|
3981
3978
|
attr_accessor :name
|
3982
3979
|
|
3983
|
-
# Required. The Google Developers Console [project ID or project
|
3984
|
-
#
|
3980
|
+
# Required. The Google Developers Console [project ID or project number](https://
|
3981
|
+
# support.google.com/cloud/answer/6158840).
|
3985
3982
|
# Corresponds to the JSON property `projectId`
|
3986
3983
|
# @return [String]
|
3987
3984
|
attr_accessor :project_id
|
3988
3985
|
|
3989
|
-
# Required. The name of the Google Compute Engine
|
3990
|
-
#
|
3991
|
-
# cluster resides.
|
3986
|
+
# Required. The name of the Google Compute Engine [zone](https://cloud.google.
|
3987
|
+
# com/compute/docs/zones#available) in which the cluster resides.
|
3992
3988
|
# Corresponds to the JSON property `zone`
|
3993
3989
|
# @return [String]
|
3994
3990
|
attr_accessor :zone
|
@@ -4016,36 +4012,34 @@ module Google
|
|
4016
4012
|
# @return [String]
|
4017
4013
|
attr_accessor :action
|
4018
4014
|
|
4019
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
4020
|
-
#
|
4015
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
4016
|
+
# deprecated and replaced by the name field.
|
4021
4017
|
# Corresponds to the JSON property `clusterId`
|
4022
4018
|
# @return [String]
|
4023
4019
|
attr_accessor :cluster_id
|
4024
4020
|
|
4025
|
-
# The name (project, location, cluster) of the cluster to set auth.
|
4026
|
-
#
|
4021
|
+
# The name (project, location, cluster) of the cluster to set auth. Specified in
|
4022
|
+
# the format `projects/*/locations/*/clusters/*`.
|
4027
4023
|
# Corresponds to the JSON property `name`
|
4028
4024
|
# @return [String]
|
4029
4025
|
attr_accessor :name
|
4030
4026
|
|
4031
4027
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
4032
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
4033
|
-
#
|
4028
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
4029
|
+
# deprecated and replaced by the name field.
|
4034
4030
|
# Corresponds to the JSON property `projectId`
|
4035
4031
|
# @return [String]
|
4036
4032
|
attr_accessor :project_id
|
4037
4033
|
|
4038
4034
|
# The authentication information for accessing the master endpoint.
|
4039
|
-
# Authentication can be done using HTTP basic auth or using client
|
4040
|
-
# certificates.
|
4035
|
+
# Authentication can be done using HTTP basic auth or using client certificates.
|
4041
4036
|
# Corresponds to the JSON property `update`
|
4042
4037
|
# @return [Google::Apis::ContainerV1beta1::MasterAuth]
|
4043
4038
|
attr_accessor :update
|
4044
4039
|
|
4045
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
4046
|
-
#
|
4047
|
-
#
|
4048
|
-
# field.
|
4040
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
4041
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
4042
|
+
# This field has been deprecated and replaced by the name field.
|
4049
4043
|
# Corresponds to the JSON property `zone`
|
4050
4044
|
# @return [String]
|
4051
4045
|
attr_accessor :zone
|
@@ -4069,21 +4063,19 @@ module Google
|
|
4069
4063
|
class SetMonitoringServiceRequest
|
4070
4064
|
include Google::Apis::Core::Hashable
|
4071
4065
|
|
4072
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
4073
|
-
#
|
4066
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
4067
|
+
# deprecated and replaced by the name field.
|
4074
4068
|
# Corresponds to the JSON property `clusterId`
|
4075
4069
|
# @return [String]
|
4076
4070
|
attr_accessor :cluster_id
|
4077
4071
|
|
4078
4072
|
# Required. The monitoring service the cluster should use to write metrics.
|
4079
|
-
# Currently available options:
|
4080
|
-
#
|
4081
|
-
# service
|
4082
|
-
#
|
4083
|
-
#
|
4084
|
-
#
|
4085
|
-
# If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
|
4086
|
-
# used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
4073
|
+
# Currently available options: * "monitoring.googleapis.com/kubernetes" - The
|
4074
|
+
# Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.
|
4075
|
+
# googleapis.com` - The legacy Cloud Monitoring service (no longer available as
|
4076
|
+
# of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
|
4077
|
+
# as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
|
4078
|
+
# 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
4087
4079
|
# Corresponds to the JSON property `monitoringService`
|
4088
4080
|
# @return [String]
|
4089
4081
|
attr_accessor :monitoring_service
|
@@ -4095,16 +4087,15 @@ module Google
|
|
4095
4087
|
attr_accessor :name
|
4096
4088
|
|
4097
4089
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
4098
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
4099
|
-
#
|
4090
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
4091
|
+
# deprecated and replaced by the name field.
|
4100
4092
|
# Corresponds to the JSON property `projectId`
|
4101
4093
|
# @return [String]
|
4102
4094
|
attr_accessor :project_id
|
4103
4095
|
|
4104
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
4105
|
-
#
|
4106
|
-
#
|
4107
|
-
# field.
|
4096
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
4097
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
4098
|
+
# This field has been deprecated and replaced by the name field.
|
4108
4099
|
# Corresponds to the JSON property `zone`
|
4109
4100
|
# @return [String]
|
4110
4101
|
attr_accessor :zone
|
@@ -4127,8 +4118,8 @@ module Google
|
|
4127
4118
|
class SetNetworkPolicyRequest
|
4128
4119
|
include Google::Apis::Core::Hashable
|
4129
4120
|
|
4130
|
-
# Required. Deprecated. The name of the cluster.
|
4131
|
-
#
|
4121
|
+
# Required. Deprecated. The name of the cluster. This field has been deprecated
|
4122
|
+
# and replaced by the name field.
|
4132
4123
|
# Corresponds to the JSON property `clusterId`
|
4133
4124
|
# @return [String]
|
4134
4125
|
attr_accessor :cluster_id
|
@@ -4139,23 +4130,22 @@ module Google
|
|
4139
4130
|
# @return [String]
|
4140
4131
|
attr_accessor :name
|
4141
4132
|
|
4142
|
-
# Configuration options for the NetworkPolicy feature.
|
4143
|
-
#
|
4133
|
+
# Configuration options for the NetworkPolicy feature. https://kubernetes.io/
|
4134
|
+
# docs/concepts/services-networking/networkpolicies/
|
4144
4135
|
# Corresponds to the JSON property `networkPolicy`
|
4145
4136
|
# @return [Google::Apis::ContainerV1beta1::NetworkPolicy]
|
4146
4137
|
attr_accessor :network_policy
|
4147
4138
|
|
4148
4139
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
4149
|
-
# number](https://developers.google.com/console/help/new/#projectnumber).
|
4150
|
-
#
|
4140
|
+
# number](https://developers.google.com/console/help/new/#projectnumber). This
|
4141
|
+
# field has been deprecated and replaced by the name field.
|
4151
4142
|
# Corresponds to the JSON property `projectId`
|
4152
4143
|
# @return [String]
|
4153
4144
|
attr_accessor :project_id
|
4154
4145
|
|
4155
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
4156
|
-
#
|
4157
|
-
#
|
4158
|
-
# field.
|
4146
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
4147
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
4148
|
+
# This field has been deprecated and replaced by the name field.
|
4159
4149
|
# Corresponds to the JSON property `zone`
|
4160
4150
|
# @return [String]
|
4161
4151
|
attr_accessor :zone
|
@@ -4184,36 +4174,35 @@ module Google
|
|
4184
4174
|
# @return [Google::Apis::ContainerV1beta1::NodePoolAutoscaling]
|
4185
4175
|
attr_accessor :autoscaling
|
4186
4176
|
|
4187
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
4188
|
-
#
|
4177
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
4178
|
+
# deprecated and replaced by the name field.
|
4189
4179
|
# Corresponds to the JSON property `clusterId`
|
4190
4180
|
# @return [String]
|
4191
4181
|
attr_accessor :cluster_id
|
4192
4182
|
|
4193
4183
|
# The name (project, location, cluster, node pool) of the node pool to set
|
4194
|
-
# autoscaler settings. Specified in the format
|
4195
|
-
#
|
4184
|
+
# autoscaler settings. Specified in the format `projects/*/locations/*/clusters/*
|
4185
|
+
# /nodePools/*`.
|
4196
4186
|
# Corresponds to the JSON property `name`
|
4197
4187
|
# @return [String]
|
4198
4188
|
attr_accessor :name
|
4199
4189
|
|
4200
|
-
# Required. Deprecated. The name of the node pool to upgrade.
|
4201
|
-
#
|
4190
|
+
# Required. Deprecated. The name of the node pool to upgrade. This field has
|
4191
|
+
# been deprecated and replaced by the name field.
|
4202
4192
|
# Corresponds to the JSON property `nodePoolId`
|
4203
4193
|
# @return [String]
|
4204
4194
|
attr_accessor :node_pool_id
|
4205
4195
|
|
4206
4196
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
4207
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
4208
|
-
#
|
4197
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
4198
|
+
# deprecated and replaced by the name field.
|
4209
4199
|
# Corresponds to the JSON property `projectId`
|
4210
4200
|
# @return [String]
|
4211
4201
|
attr_accessor :project_id
|
4212
4202
|
|
4213
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
4214
|
-
#
|
4215
|
-
#
|
4216
|
-
# field.
|
4203
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
4204
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
4205
|
+
# This field has been deprecated and replaced by the name field.
|
4217
4206
|
# Corresponds to the JSON property `zone`
|
4218
4207
|
# @return [String]
|
4219
4208
|
attr_accessor :zone
|
@@ -4238,8 +4227,8 @@ module Google
|
|
4238
4227
|
class SetNodePoolManagementRequest
|
4239
4228
|
include Google::Apis::Core::Hashable
|
4240
4229
|
|
4241
|
-
# Required. Deprecated. The name of the cluster to update.
|
4242
|
-
#
|
4230
|
+
# Required. Deprecated. The name of the cluster to update. This field has been
|
4231
|
+
# deprecated and replaced by the name field.
|
4243
4232
|
# Corresponds to the JSON property `clusterId`
|
4244
4233
|
# @return [String]
|
4245
4234
|
attr_accessor :cluster_id
|
@@ -4251,29 +4240,28 @@ module Google
|
|
4251
4240
|
attr_accessor :management
|
4252
4241
|
|
4253
4242
|
# The name (project, location, cluster, node pool id) of the node pool to set
|
4254
|
-
# management properties. Specified in the format
|
4255
|
-
#
|
4243
|
+
# management properties. Specified in the format `projects/*/locations/*/
|
4244
|
+
# clusters/*/nodePools/*`.
|
4256
4245
|
# Corresponds to the JSON property `name`
|
4257
4246
|
# @return [String]
|
4258
4247
|
attr_accessor :name
|
4259
4248
|
|
4260
|
-
# Required. Deprecated. The name of the node pool to update.
|
4261
|
-
#
|
4249
|
+
# Required. Deprecated. The name of the node pool to update. This field has been
|
4250
|
+
# deprecated and replaced by the name field.
|
4262
4251
|
# Corresponds to the JSON property `nodePoolId`
|
4263
4252
|
# @return [String]
|
4264
4253
|
attr_accessor :node_pool_id
|
4265
4254
|
|
4266
4255
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
4267
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
4268
|
-
#
|
4256
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
4257
|
+
# deprecated and replaced by the name field.
|
4269
4258
|
# Corresponds to the JSON property `projectId`
|
4270
4259
|
# @return [String]
|
4271
4260
|
attr_accessor :project_id
|
4272
4261
|
|
4273
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
4274
|
-
#
|
4275
|
-
#
|
4276
|
-
# field.
|
4262
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
4263
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
4264
|
+
# This field has been deprecated and replaced by the name field.
|
4277
4265
|
# Corresponds to the JSON property `zone`
|
4278
4266
|
# @return [String]
|
4279
4267
|
attr_accessor :zone
|
@@ -4293,20 +4281,18 @@ module Google
|
|
4293
4281
|
end
|
4294
4282
|
end
|
4295
4283
|
|
4296
|
-
# SetNodePoolSizeRequest sets the size a node
|
4297
|
-
# pool.
|
4284
|
+
# SetNodePoolSizeRequest sets the size a node pool.
|
4298
4285
|
class SetNodePoolSizeRequest
|
4299
4286
|
include Google::Apis::Core::Hashable
|
4300
4287
|
|
4301
|
-
# Required. Deprecated. The name of the cluster to update.
|
4302
|
-
#
|
4288
|
+
# Required. Deprecated. The name of the cluster to update. This field has been
|
4289
|
+
# deprecated and replaced by the name field.
|
4303
4290
|
# Corresponds to the JSON property `clusterId`
|
4304
4291
|
# @return [String]
|
4305
4292
|
attr_accessor :cluster_id
|
4306
4293
|
|
4307
4294
|
# The name (project, location, cluster, node pool id) of the node pool to set
|
4308
|
-
# size.
|
4309
|
-
# Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
|
4295
|
+
# size. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
|
4310
4296
|
# Corresponds to the JSON property `name`
|
4311
4297
|
# @return [String]
|
4312
4298
|
attr_accessor :name
|
@@ -4316,23 +4302,22 @@ module Google
|
|
4316
4302
|
# @return [Fixnum]
|
4317
4303
|
attr_accessor :node_count
|
4318
4304
|
|
4319
|
-
# Required. Deprecated. The name of the node pool to update.
|
4320
|
-
#
|
4305
|
+
# Required. Deprecated. The name of the node pool to update. This field has been
|
4306
|
+
# deprecated and replaced by the name field.
|
4321
4307
|
# Corresponds to the JSON property `nodePoolId`
|
4322
4308
|
# @return [String]
|
4323
4309
|
attr_accessor :node_pool_id
|
4324
4310
|
|
4325
4311
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
4326
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
4327
|
-
#
|
4312
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
4313
|
+
# deprecated and replaced by the name field.
|
4328
4314
|
# Corresponds to the JSON property `projectId`
|
4329
4315
|
# @return [String]
|
4330
4316
|
attr_accessor :project_id
|
4331
4317
|
|
4332
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
4333
|
-
#
|
4334
|
-
#
|
4335
|
-
# field.
|
4318
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
4319
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
4320
|
+
# This field has been deprecated and replaced by the name field.
|
4336
4321
|
# Corresponds to the JSON property `zone`
|
4337
4322
|
# @return [String]
|
4338
4323
|
attr_accessor :zone
|
@@ -4356,20 +4341,20 @@ module Google
|
|
4356
4341
|
class ShieldedInstanceConfig
|
4357
4342
|
include Google::Apis::Core::Hashable
|
4358
4343
|
|
4359
|
-
# Defines whether the instance has integrity monitoring enabled.
|
4360
|
-
#
|
4361
|
-
#
|
4362
|
-
#
|
4363
|
-
#
|
4344
|
+
# Defines whether the instance has integrity monitoring enabled. Enables
|
4345
|
+
# monitoring and attestation of the boot integrity of the instance. The
|
4346
|
+
# attestation is performed against the integrity policy baseline. This baseline
|
4347
|
+
# is initially derived from the implicitly trusted boot image when the instance
|
4348
|
+
# is created.
|
4364
4349
|
# Corresponds to the JSON property `enableIntegrityMonitoring`
|
4365
4350
|
# @return [Boolean]
|
4366
4351
|
attr_accessor :enable_integrity_monitoring
|
4367
4352
|
alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
|
4368
4353
|
|
4369
|
-
# Defines whether the instance has Secure Boot enabled.
|
4370
|
-
#
|
4371
|
-
#
|
4372
|
-
#
|
4354
|
+
# Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure
|
4355
|
+
# that the system only runs authentic software by verifying the digital
|
4356
|
+
# signature of all boot components, and halting the boot process if signature
|
4357
|
+
# verification fails.
|
4373
4358
|
# Corresponds to the JSON property `enableSecureBoot`
|
4374
4359
|
# @return [Boolean]
|
4375
4360
|
attr_accessor :enable_secure_boot
|
@@ -4406,26 +4391,26 @@ module Google
|
|
4406
4391
|
end
|
4407
4392
|
end
|
4408
4393
|
|
4409
|
-
# StartIPRotationRequest creates a new IP for the cluster and then performs
|
4410
|
-
#
|
4394
|
+
# StartIPRotationRequest creates a new IP for the cluster and then performs a
|
4395
|
+
# node upgrade on each node pool to point to the new IP.
|
4411
4396
|
class StartIpRotationRequest
|
4412
4397
|
include Google::Apis::Core::Hashable
|
4413
4398
|
|
4414
|
-
# Required. Deprecated. The name of the cluster.
|
4415
|
-
#
|
4399
|
+
# Required. Deprecated. The name of the cluster. This field has been deprecated
|
4400
|
+
# and replaced by the name field.
|
4416
4401
|
# Corresponds to the JSON property `clusterId`
|
4417
4402
|
# @return [String]
|
4418
4403
|
attr_accessor :cluster_id
|
4419
4404
|
|
4420
|
-
# The name (project, location, cluster id) of the cluster to start IP
|
4421
|
-
#
|
4405
|
+
# The name (project, location, cluster id) of the cluster to start IP rotation.
|
4406
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
4422
4407
|
# Corresponds to the JSON property `name`
|
4423
4408
|
# @return [String]
|
4424
4409
|
attr_accessor :name
|
4425
4410
|
|
4426
4411
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
4427
|
-
# number](https://developers.google.com/console/help/new/#projectnumber).
|
4428
|
-
#
|
4412
|
+
# number](https://developers.google.com/console/help/new/#projectnumber). This
|
4413
|
+
# field has been deprecated and replaced by the name field.
|
4429
4414
|
# Corresponds to the JSON property `projectId`
|
4430
4415
|
# @return [String]
|
4431
4416
|
attr_accessor :project_id
|
@@ -4436,10 +4421,9 @@ module Google
|
|
4436
4421
|
attr_accessor :rotate_credentials
|
4437
4422
|
alias_method :rotate_credentials?, :rotate_credentials
|
4438
4423
|
|
4439
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
4440
|
-
#
|
4441
|
-
#
|
4442
|
-
# field.
|
4424
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
4425
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
4426
|
+
# This field has been deprecated and replaced by the name field.
|
4443
4427
|
# Corresponds to the JSON property `zone`
|
4444
4428
|
# @return [String]
|
4445
4429
|
attr_accessor :zone
|
@@ -4458,12 +4442,57 @@ module Google
|
|
4458
4442
|
end
|
4459
4443
|
end
|
4460
4444
|
|
4461
|
-
#
|
4462
|
-
#
|
4445
|
+
# The `Status` type defines a logical error model that is suitable for different
|
4446
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
4447
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
4448
|
+
# data: error code, error message, and error details. You can find out more
|
4449
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
4450
|
+
# //cloud.google.com/apis/design/errors).
|
4451
|
+
class Status
|
4452
|
+
include Google::Apis::Core::Hashable
|
4453
|
+
|
4454
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
4455
|
+
# Corresponds to the JSON property `code`
|
4456
|
+
# @return [Fixnum]
|
4457
|
+
attr_accessor :code
|
4458
|
+
|
4459
|
+
# A list of messages that carry the error details. There is a common set of
|
4460
|
+
# message types for APIs to use.
|
4461
|
+
# Corresponds to the JSON property `details`
|
4462
|
+
# @return [Array<Hash<String,Object>>]
|
4463
|
+
attr_accessor :details
|
4464
|
+
|
4465
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
4466
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
4467
|
+
# field, or localized by the client.
|
4468
|
+
# Corresponds to the JSON property `message`
|
4469
|
+
# @return [String]
|
4470
|
+
attr_accessor :message
|
4471
|
+
|
4472
|
+
def initialize(**args)
|
4473
|
+
update!(**args)
|
4474
|
+
end
|
4475
|
+
|
4476
|
+
# Update properties of this object
|
4477
|
+
def update!(**args)
|
4478
|
+
@code = args[:code] if args.key?(:code)
|
4479
|
+
@details = args[:details] if args.key?(:details)
|
4480
|
+
@message = args[:message] if args.key?(:message)
|
4481
|
+
end
|
4482
|
+
end
|
4483
|
+
|
4484
|
+
# StatusCondition describes why a cluster or a node pool has a certain status (e.
|
4485
|
+
# g., ERROR or DEGRADED).
|
4463
4486
|
class StatusCondition
|
4464
4487
|
include Google::Apis::Core::Hashable
|
4465
4488
|
|
4466
|
-
#
|
4489
|
+
# Canonical code of the condition.
|
4490
|
+
# Corresponds to the JSON property `canonicalCode`
|
4491
|
+
# @return [String]
|
4492
|
+
attr_accessor :canonical_code
|
4493
|
+
|
4494
|
+
# Machine-friendly representation of the condition Deprecated. Use
|
4495
|
+
# canonical_code instead.
|
4467
4496
|
# Corresponds to the JSON property `code`
|
4468
4497
|
# @return [String]
|
4469
4498
|
attr_accessor :code
|
@@ -4479,6 +4508,7 @@ module Google
|
|
4479
4508
|
|
4480
4509
|
# Update properties of this object
|
4481
4510
|
def update!(**args)
|
4511
|
+
@canonical_code = args[:canonical_code] if args.key?(:canonical_code)
|
4482
4512
|
@code = args[:code] if args.key?(:code)
|
4483
4513
|
@message = args[:message] if args.key?(:message)
|
4484
4514
|
end
|
@@ -4488,8 +4518,8 @@ module Google
|
|
4488
4518
|
class TimeWindow
|
4489
4519
|
include Google::Apis::Core::Hashable
|
4490
4520
|
|
4491
|
-
# The time that the window ends. The end time should take place after the
|
4492
|
-
#
|
4521
|
+
# The time that the window ends. The end time should take place after the start
|
4522
|
+
# time.
|
4493
4523
|
# Corresponds to the JSON property `endTime`
|
4494
4524
|
# @return [String]
|
4495
4525
|
attr_accessor :end_time
|
@@ -4547,36 +4577,34 @@ module Google
|
|
4547
4577
|
class UpdateClusterRequest
|
4548
4578
|
include Google::Apis::Core::Hashable
|
4549
4579
|
|
4550
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
4551
|
-
#
|
4580
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
4581
|
+
# deprecated and replaced by the name field.
|
4552
4582
|
# Corresponds to the JSON property `clusterId`
|
4553
4583
|
# @return [String]
|
4554
4584
|
attr_accessor :cluster_id
|
4555
4585
|
|
4556
|
-
# The name (project, location, cluster) of the cluster to update.
|
4557
|
-
#
|
4586
|
+
# The name (project, location, cluster) of the cluster to update. Specified in
|
4587
|
+
# the format `projects/*/locations/*/clusters/*`.
|
4558
4588
|
# Corresponds to the JSON property `name`
|
4559
4589
|
# @return [String]
|
4560
4590
|
attr_accessor :name
|
4561
4591
|
|
4562
4592
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
4563
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
4564
|
-
#
|
4593
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
4594
|
+
# deprecated and replaced by the name field.
|
4565
4595
|
# Corresponds to the JSON property `projectId`
|
4566
4596
|
# @return [String]
|
4567
4597
|
attr_accessor :project_id
|
4568
4598
|
|
4569
|
-
# ClusterUpdate describes an update to the cluster. Exactly one update can
|
4570
|
-
#
|
4571
|
-
# provided.
|
4599
|
+
# ClusterUpdate describes an update to the cluster. Exactly one update can be
|
4600
|
+
# applied to a cluster with each request, so at most one field can be provided.
|
4572
4601
|
# Corresponds to the JSON property `update`
|
4573
4602
|
# @return [Google::Apis::ContainerV1beta1::ClusterUpdate]
|
4574
4603
|
attr_accessor :update
|
4575
4604
|
|
4576
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
4577
|
-
#
|
4578
|
-
#
|
4579
|
-
# field.
|
4605
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
4606
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
4607
|
+
# This field has been deprecated and replaced by the name field.
|
4580
4608
|
# Corresponds to the JSON property `zone`
|
4581
4609
|
# @return [String]
|
4582
4610
|
attr_accessor :zone
|
@@ -4599,41 +4627,39 @@ module Google
|
|
4599
4627
|
class UpdateMasterRequest
|
4600
4628
|
include Google::Apis::Core::Hashable
|
4601
4629
|
|
4602
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
4603
|
-
#
|
4630
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
4631
|
+
# deprecated and replaced by the name field.
|
4604
4632
|
# Corresponds to the JSON property `clusterId`
|
4605
4633
|
# @return [String]
|
4606
4634
|
attr_accessor :cluster_id
|
4607
4635
|
|
4608
|
-
# Required. The Kubernetes version to change the master to.
|
4609
|
-
#
|
4610
|
-
#
|
4611
|
-
# - "
|
4612
|
-
# - "1.X": picks the highest valid
|
4613
|
-
#
|
4614
|
-
#
|
4615
|
-
# - "-": picks the default Kubernetes version
|
4636
|
+
# Required. The Kubernetes version to change the master to. Users may specify
|
4637
|
+
# either explicit versions offered by Kubernetes Engine or version aliases,
|
4638
|
+
# which have the following behavior: - "latest": picks the highest valid
|
4639
|
+
# Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.
|
4640
|
+
# X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version -
|
4641
|
+
# "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the default
|
4642
|
+
# Kubernetes version
|
4616
4643
|
# Corresponds to the JSON property `masterVersion`
|
4617
4644
|
# @return [String]
|
4618
4645
|
attr_accessor :master_version
|
4619
4646
|
|
4620
|
-
# The name (project, location, cluster) of the cluster to update.
|
4621
|
-
#
|
4647
|
+
# The name (project, location, cluster) of the cluster to update. Specified in
|
4648
|
+
# the format `projects/*/locations/*/clusters/*`.
|
4622
4649
|
# Corresponds to the JSON property `name`
|
4623
4650
|
# @return [String]
|
4624
4651
|
attr_accessor :name
|
4625
4652
|
|
4626
4653
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
4627
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
4628
|
-
#
|
4654
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
4655
|
+
# deprecated and replaced by the name field.
|
4629
4656
|
# Corresponds to the JSON property `projectId`
|
4630
4657
|
# @return [String]
|
4631
4658
|
attr_accessor :project_id
|
4632
4659
|
|
4633
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
4634
|
-
#
|
4635
|
-
#
|
4636
|
-
# field.
|
4660
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
4661
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
4662
|
+
# This field has been deprecated and replaced by the name field.
|
4637
4663
|
# Corresponds to the JSON property `zone`
|
4638
4664
|
# @return [String]
|
4639
4665
|
attr_accessor :zone
|
@@ -4656,8 +4682,8 @@ module Google
|
|
4656
4682
|
class UpdateNodePoolRequest
|
4657
4683
|
include Google::Apis::Core::Hashable
|
4658
4684
|
|
4659
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
4660
|
-
#
|
4685
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
4686
|
+
# deprecated and replaced by the name field.
|
4661
4687
|
# Corresponds to the JSON property `clusterId`
|
4662
4688
|
# @return [String]
|
4663
4689
|
attr_accessor :cluster_id
|
@@ -4677,66 +4703,59 @@ module Google
|
|
4677
4703
|
# @return [Google::Apis::ContainerV1beta1::LinuxNodeConfig]
|
4678
4704
|
attr_accessor :linux_node_config
|
4679
4705
|
|
4680
|
-
# The desired list of Google Compute Engine
|
4681
|
-
#
|
4682
|
-
#
|
4683
|
-
#
|
4684
|
-
#
|
4706
|
+
# The desired list of Google Compute Engine [zones](https://cloud.google.com/
|
4707
|
+
# compute/docs/zones#available) in which the node pool's nodes should be located.
|
4708
|
+
# Changing the locations for a node pool will result in nodes being either
|
4709
|
+
# created or removed from the node pool, depending on whether locations are
|
4710
|
+
# being added or removed.
|
4685
4711
|
# Corresponds to the JSON property `locations`
|
4686
4712
|
# @return [Array<String>]
|
4687
4713
|
attr_accessor :locations
|
4688
4714
|
|
4689
|
-
# The name (project, location, cluster, node pool) of the node pool to
|
4690
|
-
#
|
4691
|
-
# `projects/*/locations/*/clusters/*/nodePools/*`.
|
4715
|
+
# The name (project, location, cluster, node pool) of the node pool to update.
|
4716
|
+
# Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
|
4692
4717
|
# Corresponds to the JSON property `name`
|
4693
4718
|
# @return [String]
|
4694
4719
|
attr_accessor :name
|
4695
4720
|
|
4696
|
-
# Required. Deprecated. The name of the node pool to upgrade.
|
4697
|
-
#
|
4721
|
+
# Required. Deprecated. The name of the node pool to upgrade. This field has
|
4722
|
+
# been deprecated and replaced by the name field.
|
4698
4723
|
# Corresponds to the JSON property `nodePoolId`
|
4699
4724
|
# @return [String]
|
4700
4725
|
attr_accessor :node_pool_id
|
4701
4726
|
|
4702
|
-
# Required. The Kubernetes version to change the nodes to (typically an
|
4703
|
-
# upgrade).
|
4727
|
+
# Required. The Kubernetes version to change the nodes to (typically an upgrade).
|
4704
4728
|
# Users may specify either explicit versions offered by Kubernetes Engine or
|
4705
|
-
# version aliases, which have the following behavior:
|
4706
|
-
# - "
|
4707
|
-
# - "1.X": picks the highest valid
|
4708
|
-
# - "1.X.Y": picks
|
4709
|
-
#
|
4710
|
-
# - "-": picks the Kubernetes master version
|
4729
|
+
# version aliases, which have the following behavior: - "latest": picks the
|
4730
|
+
# highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N
|
4731
|
+
# patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the
|
4732
|
+
# 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-":
|
4733
|
+
# picks the Kubernetes master version
|
4711
4734
|
# Corresponds to the JSON property `nodeVersion`
|
4712
4735
|
# @return [String]
|
4713
4736
|
attr_accessor :node_version
|
4714
4737
|
|
4715
4738
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
4716
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
4717
|
-
#
|
4739
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
4740
|
+
# deprecated and replaced by the name field.
|
4718
4741
|
# Corresponds to the JSON property `projectId`
|
4719
4742
|
# @return [String]
|
4720
4743
|
attr_accessor :project_id
|
4721
4744
|
|
4722
4745
|
# These upgrade settings control the level of parallelism and the level of
|
4723
|
-
# disruption caused by an upgrade.
|
4724
|
-
#
|
4725
|
-
#
|
4726
|
-
#
|
4727
|
-
#
|
4728
|
-
#
|
4729
|
-
#
|
4730
|
-
#
|
4731
|
-
#
|
4732
|
-
#
|
4733
|
-
#
|
4734
|
-
#
|
4735
|
-
#
|
4736
|
-
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
4737
|
-
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
4738
|
-
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
4739
|
-
# there are always at least 4 nodes available.
|
4746
|
+
# disruption caused by an upgrade. maxUnavailable controls the number of nodes
|
4747
|
+
# that can be simultaneously unavailable. maxSurge controls the number of
|
4748
|
+
# additional nodes that can be added to the node pool temporarily for the time
|
4749
|
+
# of the upgrade to increase the number of available nodes. (maxUnavailable +
|
4750
|
+
# maxSurge) determines the level of parallelism (how many nodes are being
|
4751
|
+
# upgraded at the same time). Note: upgrades inevitably introduce some
|
4752
|
+
# disruption since workloads need to be moved from old nodes to new, upgraded
|
4753
|
+
# ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
|
4754
|
+
# limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
|
4755
|
+
# node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
|
4756
|
+
# upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
|
4757
|
+
# upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
|
4758
|
+
# same time. This ensures that there are always at least 4 nodes available.
|
4740
4759
|
# Corresponds to the JSON property `upgradeSettings`
|
4741
4760
|
# @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
|
4742
4761
|
attr_accessor :upgrade_settings
|
@@ -4747,10 +4766,9 @@ module Google
|
|
4747
4766
|
# @return [Google::Apis::ContainerV1beta1::WorkloadMetadataConfig]
|
4748
4767
|
attr_accessor :workload_metadata_config
|
4749
4768
|
|
4750
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
4751
|
-
#
|
4752
|
-
#
|
4753
|
-
# field.
|
4769
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
4770
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
4771
|
+
# This field has been deprecated and replaced by the name field.
|
4754
4772
|
# Corresponds to the JSON property `zone`
|
4755
4773
|
# @return [String]
|
4756
4774
|
attr_accessor :zone
|
@@ -4776,36 +4794,82 @@ module Google
|
|
4776
4794
|
end
|
4777
4795
|
end
|
4778
4796
|
|
4797
|
+
# UpgradeEvent is a notification sent to customers by the cluster server when a
|
4798
|
+
# resource is upgrading.
|
4799
|
+
class UpgradeEvent
|
4800
|
+
include Google::Apis::Core::Hashable
|
4801
|
+
|
4802
|
+
# Required. The current version before the upgrade.
|
4803
|
+
# Corresponds to the JSON property `currentVersion`
|
4804
|
+
# @return [String]
|
4805
|
+
attr_accessor :current_version
|
4806
|
+
|
4807
|
+
# Required. The operation associated with this upgrade.
|
4808
|
+
# Corresponds to the JSON property `operation`
|
4809
|
+
# @return [String]
|
4810
|
+
attr_accessor :operation
|
4811
|
+
|
4812
|
+
# Required. The time when the operation was started.
|
4813
|
+
# Corresponds to the JSON property `operationStartTime`
|
4814
|
+
# @return [String]
|
4815
|
+
attr_accessor :operation_start_time
|
4816
|
+
|
4817
|
+
# Optional. Optional relative path to the resource. For example in node pool
|
4818
|
+
# upgrades, the relative path of the node pool.
|
4819
|
+
# Corresponds to the JSON property `resource`
|
4820
|
+
# @return [String]
|
4821
|
+
attr_accessor :resource
|
4822
|
+
|
4823
|
+
# Required. The resource type that is upgrading.
|
4824
|
+
# Corresponds to the JSON property `resourceType`
|
4825
|
+
# @return [String]
|
4826
|
+
attr_accessor :resource_type
|
4827
|
+
|
4828
|
+
# Required. The target version for the upgrade.
|
4829
|
+
# Corresponds to the JSON property `targetVersion`
|
4830
|
+
# @return [String]
|
4831
|
+
attr_accessor :target_version
|
4832
|
+
|
4833
|
+
def initialize(**args)
|
4834
|
+
update!(**args)
|
4835
|
+
end
|
4836
|
+
|
4837
|
+
# Update properties of this object
|
4838
|
+
def update!(**args)
|
4839
|
+
@current_version = args[:current_version] if args.key?(:current_version)
|
4840
|
+
@operation = args[:operation] if args.key?(:operation)
|
4841
|
+
@operation_start_time = args[:operation_start_time] if args.key?(:operation_start_time)
|
4842
|
+
@resource = args[:resource] if args.key?(:resource)
|
4843
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
4844
|
+
@target_version = args[:target_version] if args.key?(:target_version)
|
4845
|
+
end
|
4846
|
+
end
|
4847
|
+
|
4779
4848
|
# These upgrade settings control the level of parallelism and the level of
|
4780
|
-
# disruption caused by an upgrade.
|
4781
|
-
#
|
4782
|
-
#
|
4783
|
-
#
|
4784
|
-
#
|
4785
|
-
#
|
4786
|
-
#
|
4787
|
-
#
|
4788
|
-
#
|
4789
|
-
#
|
4790
|
-
#
|
4791
|
-
#
|
4792
|
-
#
|
4793
|
-
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
4794
|
-
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
4795
|
-
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
4796
|
-
# there are always at least 4 nodes available.
|
4849
|
+
# disruption caused by an upgrade. maxUnavailable controls the number of nodes
|
4850
|
+
# that can be simultaneously unavailable. maxSurge controls the number of
|
4851
|
+
# additional nodes that can be added to the node pool temporarily for the time
|
4852
|
+
# of the upgrade to increase the number of available nodes. (maxUnavailable +
|
4853
|
+
# maxSurge) determines the level of parallelism (how many nodes are being
|
4854
|
+
# upgraded at the same time). Note: upgrades inevitably introduce some
|
4855
|
+
# disruption since workloads need to be moved from old nodes to new, upgraded
|
4856
|
+
# ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
|
4857
|
+
# limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
|
4858
|
+
# node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
|
4859
|
+
# upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
|
4860
|
+
# upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
|
4861
|
+
# same time. This ensures that there are always at least 4 nodes available.
|
4797
4862
|
class UpgradeSettings
|
4798
4863
|
include Google::Apis::Core::Hashable
|
4799
4864
|
|
4800
|
-
# The maximum number of nodes that can be created beyond the current size
|
4801
|
-
#
|
4865
|
+
# The maximum number of nodes that can be created beyond the current size of the
|
4866
|
+
# node pool during the upgrade process.
|
4802
4867
|
# Corresponds to the JSON property `maxSurge`
|
4803
4868
|
# @return [Fixnum]
|
4804
4869
|
attr_accessor :max_surge
|
4805
4870
|
|
4806
|
-
# The maximum number of nodes that can be simultaneously unavailable during
|
4807
|
-
#
|
4808
|
-
# Ready.
|
4871
|
+
# The maximum number of nodes that can be simultaneously unavailable during the
|
4872
|
+
# upgrade process. A node is considered available if its status is Ready.
|
4809
4873
|
# Corresponds to the JSON property `maxUnavailable`
|
4810
4874
|
# @return [Fixnum]
|
4811
4875
|
attr_accessor :max_unavailable
|
@@ -4831,8 +4895,7 @@ module Google
|
|
4831
4895
|
# @return [String]
|
4832
4896
|
attr_accessor :ip_cidr_range
|
4833
4897
|
|
4834
|
-
# Network Name.
|
4835
|
-
# Example: projects/my-project/global/networks/my-network
|
4898
|
+
# Network Name. Example: projects/my-project/global/networks/my-network
|
4836
4899
|
# Corresponds to the JSON property `network`
|
4837
4900
|
# @return [String]
|
4838
4901
|
attr_accessor :network
|
@@ -4842,16 +4905,16 @@ module Google
|
|
4842
4905
|
# @return [Array<Google::Apis::ContainerV1beta1::UsableSubnetworkSecondaryRange>]
|
4843
4906
|
attr_accessor :secondary_ip_ranges
|
4844
4907
|
|
4845
|
-
# A human readable status message representing the reasons for cases where
|
4846
|
-
#
|
4847
|
-
#
|
4908
|
+
# A human readable status message representing the reasons for cases where the
|
4909
|
+
# caller cannot use the secondary ranges under the subnet. For example if the
|
4910
|
+
# secondary_ip_ranges is empty due to a permission issue, an insufficient
|
4848
4911
|
# permission message will be given by status_message.
|
4849
4912
|
# Corresponds to the JSON property `statusMessage`
|
4850
4913
|
# @return [String]
|
4851
4914
|
attr_accessor :status_message
|
4852
4915
|
|
4853
|
-
# Subnetwork Name.
|
4854
|
-
#
|
4916
|
+
# Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/
|
4917
|
+
# my-subnet
|
4855
4918
|
# Corresponds to the JSON property `subnetwork`
|
4856
4919
|
# @return [String]
|
4857
4920
|
attr_accessor :subnetwork
|
@@ -4879,8 +4942,8 @@ module Google
|
|
4879
4942
|
# @return [String]
|
4880
4943
|
attr_accessor :ip_cidr_range
|
4881
4944
|
|
4882
|
-
# The name associated with this subnetwork secondary range, used when adding
|
4883
|
-
#
|
4945
|
+
# The name associated with this subnetwork secondary range, used when adding an
|
4946
|
+
# alias IP range to a VM instance.
|
4884
4947
|
# Corresponds to the JSON property `rangeName`
|
4885
4948
|
# @return [String]
|
4886
4949
|
attr_accessor :range_name
|
@@ -4902,9 +4965,9 @@ module Google
|
|
4902
4965
|
end
|
4903
4966
|
end
|
4904
4967
|
|
4905
|
-
# VerticalPodAutoscaling contains global, per-cluster information
|
4906
|
-
#
|
4907
|
-
#
|
4968
|
+
# VerticalPodAutoscaling contains global, per-cluster information required by
|
4969
|
+
# Vertical Pod Autoscaler to automatically adjust the resources of pods
|
4970
|
+
# controlled by it.
|
4908
4971
|
class VerticalPodAutoscaling
|
4909
4972
|
include Google::Apis::Core::Hashable
|
4910
4973
|
|
@@ -4924,8 +4987,7 @@ module Google
|
|
4924
4987
|
end
|
4925
4988
|
end
|
4926
4989
|
|
4927
|
-
# Configuration for the use of Kubernetes Service Accounts in GCP IAM
|
4928
|
-
# policies.
|
4990
|
+
# Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
|
4929
4991
|
class WorkloadIdentityConfig
|
4930
4992
|
include Google::Apis::Core::Hashable
|
4931
4993
|
|
@@ -4961,14 +5023,14 @@ module Google
|
|
4961
5023
|
class WorkloadMetadataConfig
|
4962
5024
|
include Google::Apis::Core::Hashable
|
4963
5025
|
|
4964
|
-
# Mode is the configuration for how to expose metadata to workloads running
|
4965
|
-
#
|
5026
|
+
# Mode is the configuration for how to expose metadata to workloads running on
|
5027
|
+
# the node pool.
|
4966
5028
|
# Corresponds to the JSON property `mode`
|
4967
5029
|
# @return [String]
|
4968
5030
|
attr_accessor :mode
|
4969
5031
|
|
4970
|
-
# NodeMetadata is the configuration for how to expose metadata to the
|
4971
|
-
#
|
5032
|
+
# NodeMetadata is the configuration for how to expose metadata to the workloads
|
5033
|
+
# running on the node.
|
4972
5034
|
# Corresponds to the JSON property `nodeMetadata`
|
4973
5035
|
# @return [String]
|
4974
5036
|
attr_accessor :node_metadata
|