google-api-client 0.42.2 → 0.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +535 -0
- data/api_names.yaml +1 -0
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +59 -83
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
- data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
- data/generated/google/apis/accesscontextmanager_v1beta.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/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- 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_directory_v1.rb +6 -8
- data/generated/google/apis/admin_directory_v1/classes.rb +209 -242
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -39
- data/generated/google/apis/admin_directory_v1/service.rb +535 -998
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- 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/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -270
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +183 -242
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +98 -61
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
- data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
- data/generated/google/apis/apigateway_v1alpha1.rb +34 -0
- data/generated/google/apis/apigateway_v1alpha1/classes.rb +633 -0
- data/generated/google/apis/apigateway_v1alpha1/representations.rb +250 -0
- data/generated/google/apis/apigateway_v1alpha1/service.rb +623 -0
- data/generated/google/apis/apigateway_v1beta.rb +34 -0
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigee_v1.rb +6 -8
- data/generated/google/apis/apigee_v1/classes.rb +1123 -1214
- data/generated/google/apis/apigee_v1/representations.rb +139 -0
- data/generated/google/apis/apigee_v1/service.rb +1018 -1151
- data/generated/google/apis/appengine_v1.rb +1 -1
- 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_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1beta.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/appsmarket_v2.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +242 -337
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +458 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +230 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +381 -553
- data/generated/google/apis/bigquery_v2/representations.rb +16 -0
- data/generated/google/apis/bigquery_v2/service.rb +32 -40
- data/generated/google/apis/bigqueryconnection_v1beta1.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/bigquerydatatransfer_v1.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/bigqueryreservation_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_v1alpha2.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_v1beta1.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/bigtableadmin_v1.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_v2.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/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +107 -118
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +246 -354
- data/generated/google/apis/binaryauthorization_v1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +246 -354
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +11 -9
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +91 -116
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +55 -66
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +382 -365
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +883 -902
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +765 -1036
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1/service.rb +131 -156
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1p1beta1.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_v1p4beta1.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_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -718
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +371 -343
- data/generated/google/apis/cloudbuild_v1/representations.rb +23 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +265 -66
- data/generated/google/apis/cloudbuild_v1alpha1.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_v1alpha2.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/clouddebugger_v2.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/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -493
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +977 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +388 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +841 -62
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1059 -318
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
- data/generated/google/apis/cloudiot_v1.rb +1 -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/cloudkms_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/cloudprofiler_v2.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/cloudresourcemanager_v1.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 +60 -58
- data/generated/google/apis/cloudresourcemanager_v1beta1.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 +24 -23
- data/generated/google/apis/cloudresourcemanager_v2.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_v2beta1.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/cloudscheduler_v1.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_v1beta1.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/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
- data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
- data/generated/google/apis/cloudshell_v1/service.rb +21 -25
- data/generated/google/apis/cloudshell_v1alpha1.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/cloudtasks_v2.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_v2beta2.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_v2beta3.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/cloudtrace_v1.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_v2.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_v2beta1.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/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +190 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +92 -179
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1021 -137
- data/generated/google/apis/compute_alpha/representations.rb +208 -4
- data/generated/google/apis/compute_alpha/service.rb +710 -699
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +607 -82
- data/generated/google/apis/compute_beta/representations.rb +114 -1
- data/generated/google/apis/compute_beta/service.rb +623 -612
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1014 -99
- data/generated/google/apis/compute_v1/representations.rb +390 -15
- data/generated/google/apis/compute_v1/service.rb +809 -33
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +996 -965
- data/generated/google/apis/container_v1/representations.rb +75 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1094 -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/containeranalysis_v1alpha1.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_v1beta1.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/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +14 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +116 -5
- data/generated/google/apis/content_v2_1/representations.rb +35 -0
- data/generated/google/apis/content_v2_1/service.rb +53 -2
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +303 -492
- data/generated/google/apis/customsearch_v1/service.rb +186 -343
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +9 -1
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1150 -973
- data/generated/google/apis/dataflow_v1b3/representations.rb +145 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
- data/generated/google/apis/datafusion_v1.rb +40 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1040 -0
- data/generated/google/apis/datafusion_v1/representations.rb +395 -0
- data/generated/google/apis/datafusion_v1/service.rb +667 -0
- data/generated/google/apis/datafusion_v1beta1.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/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +250 -328
- data/generated/google/apis/dataproc_v1/representations.rb +18 -0
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +274 -323
- data/generated/google/apis/dataproc_v1beta2/representations.rb +33 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +330 -472
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1beta1.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_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
- data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
- data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +348 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +43 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1318 -1613
- data/generated/google/apis/dialogflow_v2/representations.rb +53 -15
- data/generated/google/apis/dialogflow_v2/service.rb +324 -448
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1396 -1705
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +53 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +915 -996
- data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8210 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3461 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +158 -7
- data/generated/google/apis/displayvideo_v1/representations.rb +41 -0
- data/generated/google/apis/displayvideo_v1/service.rb +147 -31
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- 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_v1beta2.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_v1dev.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/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1076 -1301
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +175 -198
- data/generated/google/apis/dns_v1/service.rb +82 -97
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
- data/generated/google/apis/dns_v1beta2/service.rb +82 -97
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/documentai_v1beta2.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/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +8 -15
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +202 -15
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +17 -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_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +23 -7
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +154 -173
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +334 -193
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +325 -375
- data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/firebasehosting_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
- data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +334 -177
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +530 -149
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -77
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/firebaserules_v1.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/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +402 -498
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta2.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/fitness_v1.rb +3 -3
- data/generated/google/apis/fitness_v1/classes.rb +172 -210
- data/generated/google/apis/fitness_v1/service.rb +125 -146
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- 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_management_v1management.rb +2 -3
- 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_v1.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +76 -83
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/games_v1/service.rb +84 -90
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +351 -523
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1/service.rb +167 -207
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +351 -523
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.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_v1alpha2.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_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +207 -266
- data/generated/google/apis/gmail_v1/service.rb +260 -288
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- 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/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +635 -826
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +842 -844
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +887 -1086
- data/generated/google/apis/healthcare_v1beta1/representations.rb +60 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +1149 -1109
- data/generated/google/apis/homegraph_v1.rb +4 -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/iam_v1.rb +5 -2
- 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 +431 -556
- data/generated/google/apis/iamcredentials_v1.rb +4 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
- data/generated/google/apis/iap_v1.rb +1 -1
- 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_v1beta1.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/indexing_v3.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +786 -1086
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +637 -856
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +762 -1023
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/kgsearch_v1.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/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +55 -85
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/localservices_v1.rb +31 -0
- data/generated/google/apis/localservices_v1/classes.rb +419 -0
- data/generated/google/apis/localservices_v1/representations.rb +172 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +174 -214
- data/generated/google/apis/logging_v2/representations.rb +15 -0
- data/generated/google/apis/logging_v2/service.rb +1017 -584
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
- data/generated/google/apis/managedidentities_v1/service.rb +78 -99
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +344 -457
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +340 -456
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
- data/generated/google/apis/manufacturers_v1.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/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
- data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +956 -1144
- data/generated/google/apis/ml_v1/representations.rb +65 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +119 -37
- 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_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +260 -339
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +121 -140
- data/generated/google/apis/networkmanagement_v1.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_v1beta1.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/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +154 -181
- data/generated/google/apis/osconfig_v1/service.rb +22 -27
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
- data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
- data/generated/google/apis/oslogin_v1.rb +1 -1
- 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_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
- data/generated/google/apis/oslogin_v1beta.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/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +258 -14
- data/generated/google/apis/people_v1/representations.rb +98 -0
- data/generated/google/apis/people_v1/service.rb +59 -47
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +148 -146
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +517 -49
- data/generated/google/apis/pubsub_v1.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 +220 -246
- data/generated/google/apis/pubsub_v1beta1a.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_v1beta2.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/pubsublite_v1.rb +34 -0
- 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/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +337 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +141 -207
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +76 -100
- data/generated/google/apis/recommender_v1/service.rb +43 -58
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/redis_v1.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 +93 -110
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +95 -517
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -139
- data/generated/google/apis/redis_v1beta1/service.rb +93 -110
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +14 -13
- data/generated/google/apis/run_v1/representations.rb +1 -1
- data/generated/google/apis/run_v1/service.rb +38 -2
- data/generated/google/apis/run_v1alpha1.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_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +3 -2
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +302 -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/safebrowsing_v4.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/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +148 -146
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +517 -49
- data/generated/google/apis/script_v1.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/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +379 -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_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +218 -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/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1124 -1788
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +116 -141
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +526 -641
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1078 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
- data/generated/google/apis/servicedirectory_v1beta1.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/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1160 -1763
- data/generated/google/apis/servicenetworking_v1/representations.rb +52 -1
- data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
- data/generated/google/apis/serviceusage_v1/service.rb +67 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +3933 -5008
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_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/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1553 -2156
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/speech_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_v1p1beta1.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_v2beta1.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/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +438 -452
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +106 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +8 -7
- data/generated/google/apis/storage_v1/representations.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
- data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/sts_v1.rb +32 -0
- data/generated/google/apis/sts_v1/classes.rb +120 -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_v1beta.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +191 -0
- data/generated/google/apis/{oauth2_v2 → sts_v1beta}/representations.rb +14 -21
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +22 -23
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +189 -285
- data/generated/google/apis/tasks_v1.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/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +317 -382
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/texttospeech_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_v1beta1.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/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +672 -931
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +231 -349
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +122 -78
- data/generated/google/apis/tpu_v1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +122 -78
- data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/trafficdirector_v2.rb +34 -0
- 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/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +148 -175
- data/generated/google/apis/translate_v3/service.rb +122 -138
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -138
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +80 -103
- data/generated/google/apis/vault_v1/service.rb +31 -37
- data/generated/google/apis/vectortile_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/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
- data/generated/google/apis/videointelligence_v1/service.rb +71 -48
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1870
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +2 -4
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → workflowexecutions_v1beta.rb} +9 -10
- 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 -73
- data/generated/google/apis/workflows_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 +437 -0
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +19 -19
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +904 -1594
- data/generated/google/apis/youtube_v3/representations.rb +0 -214
- data/generated/google/apis/youtube_v3/service.rb +971 -1397
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/google-api-client.gemspec +2 -1
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +98 -36
- 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/dns_v2beta1.rb +0 -43
- 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/oauth2_v2.rb +0 -40
- data/generated/google/apis/oauth2_v2/classes.rb +0 -165
- data/generated/google/apis/oauth2_v2/service.rb +0 -158
- data/generated/google/apis/plus_v1.rb +0 -43
- 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/securitycenter_v1p1beta1/classes.rb +0 -2305
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
- data/generated/google/apis/storage_v1beta2.rb +0 -40
- 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
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
|
27
27
|
module ContainerV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200828'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -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
|
|
|
@@ -58,20 +58,25 @@ module Google
|
|
|
58
58
|
# @return [Google::Apis::ContainerV1::CloudRunConfig]
|
|
59
59
|
attr_accessor :cloud_run_config
|
|
60
60
|
|
|
61
|
+
# Configuration options for the Config Connector add-on.
|
|
62
|
+
# Corresponds to the JSON property `configConnectorConfig`
|
|
63
|
+
# @return [Google::Apis::ContainerV1::ConfigConnectorConfig]
|
|
64
|
+
attr_accessor :config_connector_config
|
|
65
|
+
|
|
61
66
|
# Configuration for NodeLocal DNSCache
|
|
62
67
|
# Corresponds to the JSON property `dnsCacheConfig`
|
|
63
68
|
# @return [Google::Apis::ContainerV1::DnsCacheConfig]
|
|
64
69
|
attr_accessor :dns_cache_config
|
|
65
70
|
|
|
66
71
|
# Configuration options for the horizontal pod autoscaling feature, which
|
|
67
|
-
# increases or decreases the number of replica pods a replication controller
|
|
68
|
-
#
|
|
72
|
+
# increases or decreases the number of replica pods a replication controller has
|
|
73
|
+
# based on the resource usage of the existing pods.
|
|
69
74
|
# Corresponds to the JSON property `horizontalPodAutoscaling`
|
|
70
75
|
# @return [Google::Apis::ContainerV1::HorizontalPodAutoscaling]
|
|
71
76
|
attr_accessor :horizontal_pod_autoscaling
|
|
72
77
|
|
|
73
|
-
# Configuration options for the HTTP (L7) load balancing controller addon,
|
|
74
|
-
#
|
|
78
|
+
# Configuration options for the HTTP (L7) load balancing controller addon, which
|
|
79
|
+
# makes it easy to set up HTTP load balancers for services in a cluster.
|
|
75
80
|
# Corresponds to the JSON property `httpLoadBalancing`
|
|
76
81
|
# @return [Google::Apis::ContainerV1::HttpLoadBalancing]
|
|
77
82
|
attr_accessor :http_load_balancing
|
|
@@ -81,9 +86,9 @@ module Google
|
|
|
81
86
|
# @return [Google::Apis::ContainerV1::KubernetesDashboard]
|
|
82
87
|
attr_accessor :kubernetes_dashboard
|
|
83
88
|
|
|
84
|
-
# Configuration for NetworkPolicy. This only tracks whether the addon
|
|
85
|
-
#
|
|
86
|
-
#
|
|
89
|
+
# Configuration for NetworkPolicy. This only tracks whether the addon is enabled
|
|
90
|
+
# or not on the Master, it does not track whether network policy is enabled for
|
|
91
|
+
# the nodes.
|
|
87
92
|
# Corresponds to the JSON property `networkPolicyConfig`
|
|
88
93
|
# @return [Google::Apis::ContainerV1::NetworkPolicyConfig]
|
|
89
94
|
attr_accessor :network_policy_config
|
|
@@ -95,6 +100,7 @@ module Google
|
|
|
95
100
|
# Update properties of this object
|
|
96
101
|
def update!(**args)
|
|
97
102
|
@cloud_run_config = args[:cloud_run_config] if args.key?(:cloud_run_config)
|
|
103
|
+
@config_connector_config = args[:config_connector_config] if args.key?(:config_connector_config)
|
|
98
104
|
@dns_cache_config = args[:dns_cache_config] if args.key?(:dns_cache_config)
|
|
99
105
|
@horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
|
|
100
106
|
@http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
|
|
@@ -107,15 +113,15 @@ module Google
|
|
|
107
113
|
class AuthenticatorGroupsConfig
|
|
108
114
|
include Google::Apis::Core::Hashable
|
|
109
115
|
|
|
110
|
-
# Whether this cluster should return group membership lookups
|
|
111
|
-
#
|
|
116
|
+
# Whether this cluster should return group membership lookups during
|
|
117
|
+
# authentication using a group of security groups.
|
|
112
118
|
# Corresponds to the JSON property `enabled`
|
|
113
119
|
# @return [Boolean]
|
|
114
120
|
attr_accessor :enabled
|
|
115
121
|
alias_method :enabled?, :enabled
|
|
116
122
|
|
|
117
|
-
# The name of the security group-of-groups to be used. Only relevant
|
|
118
|
-
#
|
|
123
|
+
# The name of the security group-of-groups to be used. Only relevant if enabled =
|
|
124
|
+
# true.
|
|
119
125
|
# Corresponds to the JSON property `securityGroup`
|
|
120
126
|
# @return [String]
|
|
121
127
|
attr_accessor :security_group
|
|
@@ -131,20 +137,20 @@ module Google
|
|
|
131
137
|
end
|
|
132
138
|
end
|
|
133
139
|
|
|
134
|
-
# AutoUpgradeOptions defines the set of options for the user to control how
|
|
135
|
-
#
|
|
140
|
+
# AutoUpgradeOptions defines the set of options for the user to control how the
|
|
141
|
+
# Auto Upgrades will proceed.
|
|
136
142
|
class AutoUpgradeOptions
|
|
137
143
|
include Google::Apis::Core::Hashable
|
|
138
144
|
|
|
139
|
-
# [Output only] This field is set when upgrades are about to commence
|
|
140
|
-
#
|
|
141
|
-
#
|
|
145
|
+
# [Output only] This field is set when upgrades are about to commence with the
|
|
146
|
+
# approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/
|
|
147
|
+
# rfc3339.txt) text format.
|
|
142
148
|
# Corresponds to the JSON property `autoUpgradeStartTime`
|
|
143
149
|
# @return [String]
|
|
144
150
|
attr_accessor :auto_upgrade_start_time
|
|
145
151
|
|
|
146
|
-
# [Output only] This field is set when upgrades are about to commence
|
|
147
|
-
#
|
|
152
|
+
# [Output only] This field is set when upgrades are about to commence with the
|
|
153
|
+
# description of the upgrade.
|
|
148
154
|
# Corresponds to the JSON property `description`
|
|
149
155
|
# @return [String]
|
|
150
156
|
attr_accessor :description
|
|
@@ -160,17 +166,49 @@ module Google
|
|
|
160
166
|
end
|
|
161
167
|
end
|
|
162
168
|
|
|
163
|
-
# AutoprovisioningNodePoolDefaults contains defaults for a node pool created
|
|
164
|
-
#
|
|
169
|
+
# AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
|
|
170
|
+
# NAP.
|
|
165
171
|
class AutoprovisioningNodePoolDefaults
|
|
166
172
|
include Google::Apis::Core::Hashable
|
|
167
173
|
|
|
174
|
+
# The Customer Managed Encryption Key used to encrypt the boot disk attached to
|
|
175
|
+
# each node in the node pool. This should be of the form projects/[
|
|
176
|
+
# KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
|
|
177
|
+
# . For more information about protecting resources with Cloud KMS Keys please
|
|
178
|
+
# see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
|
179
|
+
# Corresponds to the JSON property `bootDiskKmsKey`
|
|
180
|
+
# @return [String]
|
|
181
|
+
attr_accessor :boot_disk_kms_key
|
|
182
|
+
|
|
183
|
+
# Size of the disk attached to each node, specified in GB. The smallest allowed
|
|
184
|
+
# disk size is 10GB. If unspecified, the default disk size is 100GB.
|
|
185
|
+
# Corresponds to the JSON property `diskSizeGb`
|
|
186
|
+
# @return [Fixnum]
|
|
187
|
+
attr_accessor :disk_size_gb
|
|
188
|
+
|
|
189
|
+
# Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If
|
|
190
|
+
# unspecified, the default disk type is 'pd-standard'
|
|
191
|
+
# Corresponds to the JSON property `diskType`
|
|
192
|
+
# @return [String]
|
|
193
|
+
attr_accessor :disk_type
|
|
194
|
+
|
|
168
195
|
# NodeManagement defines the set of node management services turned on for the
|
|
169
196
|
# node pool.
|
|
170
197
|
# Corresponds to the JSON property `management`
|
|
171
198
|
# @return [Google::Apis::ContainerV1::NodeManagement]
|
|
172
199
|
attr_accessor :management
|
|
173
200
|
|
|
201
|
+
# Minimum CPU platform to be used for NAP created node pools. The instance may
|
|
202
|
+
# be scheduled on the specified or newer CPU platform. Applicable values are the
|
|
203
|
+
# friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or
|
|
204
|
+
# minCpuPlatform: Intel Sandy Bridge. For more information, read [how to specify
|
|
205
|
+
# min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-
|
|
206
|
+
# cpu-platform) To unset the min cpu platform field pass "automatic" as field
|
|
207
|
+
# value.
|
|
208
|
+
# Corresponds to the JSON property `minCpuPlatform`
|
|
209
|
+
# @return [String]
|
|
210
|
+
attr_accessor :min_cpu_platform
|
|
211
|
+
|
|
174
212
|
# Scopes that are used by NAP when creating node pools.
|
|
175
213
|
# Corresponds to the JSON property `oauthScopes`
|
|
176
214
|
# @return [Array<String>]
|
|
@@ -181,24 +219,25 @@ module Google
|
|
|
181
219
|
# @return [String]
|
|
182
220
|
attr_accessor :service_account
|
|
183
221
|
|
|
222
|
+
# A set of Shielded Instance options.
|
|
223
|
+
# Corresponds to the JSON property `shieldedInstanceConfig`
|
|
224
|
+
# @return [Google::Apis::ContainerV1::ShieldedInstanceConfig]
|
|
225
|
+
attr_accessor :shielded_instance_config
|
|
226
|
+
|
|
184
227
|
# These upgrade settings control the level of parallelism and the level of
|
|
185
|
-
# disruption caused by an upgrade.
|
|
186
|
-
#
|
|
187
|
-
#
|
|
188
|
-
#
|
|
189
|
-
#
|
|
190
|
-
#
|
|
191
|
-
#
|
|
192
|
-
#
|
|
193
|
-
#
|
|
194
|
-
#
|
|
195
|
-
#
|
|
196
|
-
#
|
|
197
|
-
#
|
|
198
|
-
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
|
199
|
-
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
|
200
|
-
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
|
201
|
-
# there are always at least 4 nodes available.
|
|
228
|
+
# disruption caused by an upgrade. maxUnavailable controls the number of nodes
|
|
229
|
+
# that can be simultaneously unavailable. maxSurge controls the number of
|
|
230
|
+
# additional nodes that can be added to the node pool temporarily for the time
|
|
231
|
+
# of the upgrade to increase the number of available nodes. (maxUnavailable +
|
|
232
|
+
# maxSurge) determines the level of parallelism (how many nodes are being
|
|
233
|
+
# upgraded at the same time). Note: upgrades inevitably introduce some
|
|
234
|
+
# disruption since workloads need to be moved from old nodes to new, upgraded
|
|
235
|
+
# ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
|
|
236
|
+
# limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
|
|
237
|
+
# node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
|
|
238
|
+
# upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
|
|
239
|
+
# upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
|
|
240
|
+
# same time. This ensures that there are always at least 4 nodes available.
|
|
202
241
|
# Corresponds to the JSON property `upgradeSettings`
|
|
203
242
|
# @return [Google::Apis::ContainerV1::UpgradeSettings]
|
|
204
243
|
attr_accessor :upgrade_settings
|
|
@@ -209,9 +248,14 @@ module Google
|
|
|
209
248
|
|
|
210
249
|
# Update properties of this object
|
|
211
250
|
def update!(**args)
|
|
251
|
+
@boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
|
|
252
|
+
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
|
253
|
+
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
|
212
254
|
@management = args[:management] if args.key?(:management)
|
|
255
|
+
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
|
213
256
|
@oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
|
|
214
257
|
@service_account = args[:service_account] if args.key?(:service_account)
|
|
258
|
+
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
|
|
215
259
|
@upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
|
|
216
260
|
end
|
|
217
261
|
end
|
|
@@ -239,8 +283,8 @@ module Google
|
|
|
239
283
|
class BinaryAuthorization
|
|
240
284
|
include Google::Apis::Core::Hashable
|
|
241
285
|
|
|
242
|
-
# Enable Binary Authorization for this cluster. If enabled, all container
|
|
243
|
-
#
|
|
286
|
+
# Enable Binary Authorization for this cluster. If enabled, all container images
|
|
287
|
+
# will be validated by Binary Authorization.
|
|
244
288
|
# Corresponds to the JSON property `enabled`
|
|
245
289
|
# @return [Boolean]
|
|
246
290
|
attr_accessor :enabled
|
|
@@ -266,23 +310,22 @@ module Google
|
|
|
266
310
|
# @return [String]
|
|
267
311
|
attr_accessor :name
|
|
268
312
|
|
|
269
|
-
# Deprecated. The server-assigned `name` of the operation.
|
|
270
|
-
#
|
|
313
|
+
# Deprecated. The server-assigned `name` of the operation. This field has been
|
|
314
|
+
# deprecated and replaced by the name field.
|
|
271
315
|
# Corresponds to the JSON property `operationId`
|
|
272
316
|
# @return [String]
|
|
273
317
|
attr_accessor :operation_id
|
|
274
318
|
|
|
275
|
-
# Deprecated. The Google Developers Console [project ID or project
|
|
276
|
-
#
|
|
277
|
-
#
|
|
319
|
+
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
320
|
+
# //support.google.com/cloud/answer/6158840). This field has been deprecated and
|
|
321
|
+
# replaced by the name field.
|
|
278
322
|
# Corresponds to the JSON property `projectId`
|
|
279
323
|
# @return [String]
|
|
280
324
|
attr_accessor :project_id
|
|
281
325
|
|
|
282
|
-
# Deprecated. The name of the Google Compute Engine
|
|
283
|
-
#
|
|
284
|
-
#
|
|
285
|
-
# field.
|
|
326
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
327
|
+
# com/compute/docs/zones#available) in which the operation resides. This field
|
|
328
|
+
# has been deprecated and replaced by the name field.
|
|
286
329
|
# Corresponds to the JSON property `zone`
|
|
287
330
|
# @return [String]
|
|
288
331
|
attr_accessor :zone
|
|
@@ -355,6 +398,11 @@ module Google
|
|
|
355
398
|
attr_accessor :disabled
|
|
356
399
|
alias_method :disabled?, :disabled
|
|
357
400
|
|
|
401
|
+
# Which load balancer type is installed for Cloud Run.
|
|
402
|
+
# Corresponds to the JSON property `loadBalancerType`
|
|
403
|
+
# @return [String]
|
|
404
|
+
attr_accessor :load_balancer_type
|
|
405
|
+
|
|
358
406
|
def initialize(**args)
|
|
359
407
|
update!(**args)
|
|
360
408
|
end
|
|
@@ -362,6 +410,7 @@ module Google
|
|
|
362
410
|
# Update properties of this object
|
|
363
411
|
def update!(**args)
|
|
364
412
|
@disabled = args[:disabled] if args.key?(:disabled)
|
|
413
|
+
@load_balancer_type = args[:load_balancer_type] if args.key?(:load_balancer_type)
|
|
365
414
|
end
|
|
366
415
|
end
|
|
367
416
|
|
|
@@ -369,8 +418,8 @@ module Google
|
|
|
369
418
|
class Cluster
|
|
370
419
|
include Google::Apis::Core::Hashable
|
|
371
420
|
|
|
372
|
-
# Configuration for the addons that can be automatically spun up in the
|
|
373
|
-
#
|
|
421
|
+
# Configuration for the addons that can be automatically spun up in the cluster,
|
|
422
|
+
# enabling additional functionality.
|
|
374
423
|
# Corresponds to the JSON property `addonsConfig`
|
|
375
424
|
# @return [Google::Apis::ContainerV1::AddonsConfig]
|
|
376
425
|
attr_accessor :addons_config
|
|
@@ -380,10 +429,9 @@ module Google
|
|
|
380
429
|
# @return [Google::Apis::ContainerV1::AuthenticatorGroupsConfig]
|
|
381
430
|
attr_accessor :authenticator_groups_config
|
|
382
431
|
|
|
383
|
-
# ClusterAutoscaling contains global, per-cluster information
|
|
384
|
-
#
|
|
385
|
-
#
|
|
386
|
-
# node pools based on the current needs.
|
|
432
|
+
# ClusterAutoscaling contains global, per-cluster information required by
|
|
433
|
+
# Cluster Autoscaler to automatically adjust the size of the cluster and create/
|
|
434
|
+
# delete node pools based on the current needs.
|
|
387
435
|
# Corresponds to the JSON property `autoscaling`
|
|
388
436
|
# @return [Google::Apis::ContainerV1::ClusterAutoscaling]
|
|
389
437
|
attr_accessor :autoscaling
|
|
@@ -393,10 +441,10 @@ module Google
|
|
|
393
441
|
# @return [Google::Apis::ContainerV1::BinaryAuthorization]
|
|
394
442
|
attr_accessor :binary_authorization
|
|
395
443
|
|
|
396
|
-
# The IP address range of the container pods in this cluster, in
|
|
397
|
-
#
|
|
398
|
-
#
|
|
399
|
-
#
|
|
444
|
+
# The IP address range of the container pods in this cluster, in [CIDR](http://
|
|
445
|
+
# en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.
|
|
446
|
+
# 0/14`). Leave blank to have one automatically chosen or specify a `/14` block
|
|
447
|
+
# in `10.0.0.0/8`.
|
|
400
448
|
# Corresponds to the JSON property `clusterIpv4Cidr`
|
|
401
449
|
# @return [String]
|
|
402
450
|
attr_accessor :cluster_ipv4_cidr
|
|
@@ -406,8 +454,8 @@ module Google
|
|
|
406
454
|
# @return [Array<Google::Apis::ContainerV1::StatusCondition>]
|
|
407
455
|
attr_accessor :conditions
|
|
408
456
|
|
|
409
|
-
# [Output only] The time the cluster was created, in
|
|
410
|
-
#
|
|
457
|
+
# [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.
|
|
458
|
+
# org/rfc/rfc3339.txt) text format.
|
|
411
459
|
# Corresponds to the JSON property `createTime`
|
|
412
460
|
# @return [String]
|
|
413
461
|
attr_accessor :create_time
|
|
@@ -417,15 +465,14 @@ module Google
|
|
|
417
465
|
# @return [String]
|
|
418
466
|
attr_accessor :current_master_version
|
|
419
467
|
|
|
420
|
-
# [Output only]
|
|
421
|
-
#
|
|
468
|
+
# [Output only] The number of nodes currently in the cluster. Deprecated. Call
|
|
469
|
+
# Kubernetes API directly to retrieve node information.
|
|
422
470
|
# Corresponds to the JSON property `currentNodeCount`
|
|
423
471
|
# @return [Fixnum]
|
|
424
472
|
attr_accessor :current_node_count
|
|
425
473
|
|
|
426
|
-
# [Output only] Deprecated, use
|
|
427
|
-
#
|
|
428
|
-
# rest/v1/projects.locations.clusters.nodePools)
|
|
474
|
+
# [Output only] Deprecated, use [NodePools.version](https://cloud.google.com/
|
|
475
|
+
# kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
|
|
429
476
|
# instead. The current version of the node software components. If they are
|
|
430
477
|
# currently at multiple versions because they're in the process of being
|
|
431
478
|
# upgraded, this reflects the minimum version of all nodes.
|
|
@@ -448,12 +495,11 @@ module Google
|
|
|
448
495
|
# @return [String]
|
|
449
496
|
attr_accessor :description
|
|
450
497
|
|
|
451
|
-
# Kubernetes alpha features are enabled on this cluster. This includes alpha
|
|
452
|
-
#
|
|
453
|
-
#
|
|
454
|
-
#
|
|
455
|
-
#
|
|
456
|
-
# creation.
|
|
498
|
+
# Kubernetes alpha features are enabled on this cluster. This includes alpha API
|
|
499
|
+
# groups (e.g. v1alpha1) and features that may not be production ready in the
|
|
500
|
+
# kubernetes version of the master and nodes. The cluster has no SLA for uptime
|
|
501
|
+
# and master/node upgrades are disabled. Alpha enabled clusters are
|
|
502
|
+
# automatically deleted thirty days after creation.
|
|
457
503
|
# Corresponds to the JSON property `enableKubernetesAlpha`
|
|
458
504
|
# @return [Boolean]
|
|
459
505
|
attr_accessor :enable_kubernetes_alpha
|
|
@@ -465,45 +511,41 @@ module Google
|
|
|
465
511
|
attr_accessor :enable_tpu
|
|
466
512
|
alias_method :enable_tpu?, :enable_tpu
|
|
467
513
|
|
|
468
|
-
# [Output only] The IP address of this cluster's master endpoint.
|
|
469
|
-
#
|
|
470
|
-
# `
|
|
471
|
-
#
|
|
472
|
-
# password information.
|
|
514
|
+
# [Output only] The IP address of this cluster's master endpoint. The endpoint
|
|
515
|
+
# can be accessed from the internet at `https://username:password@endpoint/`.
|
|
516
|
+
# See the `masterAuth` property of this resource for username and password
|
|
517
|
+
# information.
|
|
473
518
|
# Corresponds to the JSON property `endpoint`
|
|
474
519
|
# @return [String]
|
|
475
520
|
attr_accessor :endpoint
|
|
476
521
|
|
|
477
|
-
# [Output only] The time the cluster will be automatically
|
|
478
|
-
#
|
|
522
|
+
# [Output only] The time the cluster will be automatically deleted in [RFC3339](
|
|
523
|
+
# https://www.ietf.org/rfc/rfc3339.txt) text format.
|
|
479
524
|
# Corresponds to the JSON property `expireTime`
|
|
480
525
|
# @return [String]
|
|
481
526
|
attr_accessor :expire_time
|
|
482
527
|
|
|
483
|
-
# The initial Kubernetes version for this cluster.
|
|
484
|
-
# found in validMasterVersions returned by getServerConfig.
|
|
485
|
-
#
|
|
486
|
-
#
|
|
487
|
-
#
|
|
488
|
-
#
|
|
489
|
-
# - "
|
|
490
|
-
#
|
|
491
|
-
# - "
|
|
492
|
-
# - "1.X.Y-gke.N": picks an explicit Kubernetes version
|
|
493
|
-
# - "","-": picks the default Kubernetes version
|
|
528
|
+
# The initial Kubernetes version for this cluster. Valid versions are those
|
|
529
|
+
# found in validMasterVersions returned by getServerConfig. The version can be
|
|
530
|
+
# upgraded over time; such upgrades are reflected in currentMasterVersion and
|
|
531
|
+
# currentNodeVersion. Users may specify either explicit versions offered by
|
|
532
|
+
# Kubernetes Engine or version aliases, which have the following behavior: - "
|
|
533
|
+
# latest": picks the highest valid Kubernetes version - "1.X": picks the highest
|
|
534
|
+
# valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid
|
|
535
|
+
# gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes
|
|
536
|
+
# version - "","-": picks the default Kubernetes version
|
|
494
537
|
# Corresponds to the JSON property `initialClusterVersion`
|
|
495
538
|
# @return [String]
|
|
496
539
|
attr_accessor :initial_cluster_version
|
|
497
540
|
|
|
498
541
|
# The number of nodes to create in this cluster. You must ensure that your
|
|
499
|
-
# Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
|
|
500
|
-
#
|
|
501
|
-
#
|
|
502
|
-
#
|
|
503
|
-
# "
|
|
504
|
-
#
|
|
505
|
-
#
|
|
506
|
-
# This field is deprecated, use node_pool.initial_node_count instead.
|
|
542
|
+
# Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is
|
|
543
|
+
# sufficient for this number of instances. You must also have available firewall
|
|
544
|
+
# and routes quota. For requests, this field should only be used in lieu of a "
|
|
545
|
+
# node_pool" object, since this configuration (along with the "node_config")
|
|
546
|
+
# will be used to create a "NodePool" object with an auto-generated name. Do not
|
|
547
|
+
# use this and a node_pool at the same time. This field is deprecated, use
|
|
548
|
+
# node_pool.initial_node_count instead.
|
|
507
549
|
# Corresponds to the JSON property `initialNodeCount`
|
|
508
550
|
# @return [Fixnum]
|
|
509
551
|
attr_accessor :initial_node_count
|
|
@@ -523,39 +565,32 @@ module Google
|
|
|
523
565
|
# @return [String]
|
|
524
566
|
attr_accessor :label_fingerprint
|
|
525
567
|
|
|
526
|
-
# Configuration for the legacy Attribute Based Access Control authorization
|
|
527
|
-
# mode.
|
|
568
|
+
# Configuration for the legacy Attribute Based Access Control authorization mode.
|
|
528
569
|
# Corresponds to the JSON property `legacyAbac`
|
|
529
570
|
# @return [Google::Apis::ContainerV1::LegacyAbac]
|
|
530
571
|
attr_accessor :legacy_abac
|
|
531
572
|
|
|
532
|
-
# [Output only] The name of the Google Compute Engine
|
|
533
|
-
#
|
|
534
|
-
# available)
|
|
535
|
-
# or
|
|
536
|
-
# [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
|
|
537
|
-
# available)
|
|
573
|
+
# [Output only] The name of the Google Compute Engine [zone](https://cloud.
|
|
574
|
+
# google.com/compute/docs/regions-zones/regions-zones#available) or [region](
|
|
575
|
+
# https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
|
|
538
576
|
# in which the cluster resides.
|
|
539
577
|
# Corresponds to the JSON property `location`
|
|
540
578
|
# @return [String]
|
|
541
579
|
attr_accessor :location
|
|
542
580
|
|
|
543
|
-
# The list of Google Compute Engine
|
|
544
|
-
#
|
|
545
|
-
# cluster's nodes should be located.
|
|
581
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
|
582
|
+
# docs/zones#available) in which the cluster's nodes should be located.
|
|
546
583
|
# Corresponds to the JSON property `locations`
|
|
547
584
|
# @return [Array<String>]
|
|
548
585
|
attr_accessor :locations
|
|
549
586
|
|
|
550
|
-
# The logging service the cluster should use to write logs.
|
|
551
|
-
#
|
|
552
|
-
# * `logging.googleapis.com
|
|
553
|
-
# service
|
|
554
|
-
#
|
|
555
|
-
#
|
|
556
|
-
#
|
|
557
|
-
# If left as an empty string,`logging.googleapis.com/kubernetes` will be
|
|
558
|
-
# used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
|
|
587
|
+
# The logging service the cluster should use to write logs. Currently available
|
|
588
|
+
# options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
|
|
589
|
+
# with a Kubernetes-native resource model * `logging.googleapis.com` - The
|
|
590
|
+
# legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` -
|
|
591
|
+
# no logs will be exported from the cluster. If left as an empty string,`logging.
|
|
592
|
+
# googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.
|
|
593
|
+
# com` for earlier versions.
|
|
559
594
|
# Corresponds to the JSON property `loggingService`
|
|
560
595
|
# @return [String]
|
|
561
596
|
attr_accessor :logging_service
|
|
@@ -566,8 +601,7 @@ module Google
|
|
|
566
601
|
attr_accessor :maintenance_policy
|
|
567
602
|
|
|
568
603
|
# The authentication information for accessing the master endpoint.
|
|
569
|
-
# Authentication can be done using HTTP basic auth or using client
|
|
570
|
-
# certificates.
|
|
604
|
+
# Authentication can be done using HTTP basic auth or using client certificates.
|
|
571
605
|
# Corresponds to the JSON property `masterAuth`
|
|
572
606
|
# @return [Google::Apis::ContainerV1::MasterAuth]
|
|
573
607
|
attr_accessor :master_auth
|
|
@@ -580,34 +614,28 @@ module Google
|
|
|
580
614
|
# @return [Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig]
|
|
581
615
|
attr_accessor :master_authorized_networks_config
|
|
582
616
|
|
|
583
|
-
# The monitoring service the cluster should use to write metrics.
|
|
584
|
-
#
|
|
585
|
-
#
|
|
586
|
-
# service
|
|
587
|
-
#
|
|
588
|
-
#
|
|
589
|
-
#
|
|
590
|
-
# If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
|
|
591
|
-
# used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
|
617
|
+
# The monitoring service the cluster should use to write metrics. Currently
|
|
618
|
+
# available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
|
|
619
|
+
# Monitoring service with a Kubernetes-native resource model * `monitoring.
|
|
620
|
+
# googleapis.com` - The legacy Cloud Monitoring service (no longer available as
|
|
621
|
+
# of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
|
|
622
|
+
# as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
|
|
623
|
+
# 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
|
592
624
|
# Corresponds to the JSON property `monitoringService`
|
|
593
625
|
# @return [String]
|
|
594
626
|
attr_accessor :monitoring_service
|
|
595
627
|
|
|
596
|
-
# The name of this cluster. The name must be unique within this project
|
|
597
|
-
#
|
|
598
|
-
#
|
|
599
|
-
# *
|
|
600
|
-
# * Must start with a letter.
|
|
601
|
-
# * Must end with a number or a letter.
|
|
628
|
+
# The name of this cluster. The name must be unique within this project and
|
|
629
|
+
# location (e.g. zone or region), and can be up to 40 characters with the
|
|
630
|
+
# following restrictions: * Lowercase letters, numbers, and hyphens only. * Must
|
|
631
|
+
# start with a letter. * Must end with a number or a letter.
|
|
602
632
|
# Corresponds to the JSON property `name`
|
|
603
633
|
# @return [String]
|
|
604
634
|
attr_accessor :name
|
|
605
635
|
|
|
606
|
-
# The name of the Google Compute Engine
|
|
607
|
-
#
|
|
608
|
-
#
|
|
609
|
-
# to which the cluster is connected. If left unspecified, the `default`
|
|
610
|
-
# network will be used.
|
|
636
|
+
# The name of the Google Compute Engine [network](https://cloud.google.com/
|
|
637
|
+
# compute/docs/networks-and-firewalls#networks) to which the cluster is
|
|
638
|
+
# connected. If left unspecified, the `default` network will be used.
|
|
611
639
|
# Corresponds to the JSON property `network`
|
|
612
640
|
# @return [String]
|
|
613
641
|
attr_accessor :network
|
|
@@ -617,8 +645,8 @@ module Google
|
|
|
617
645
|
# @return [Google::Apis::ContainerV1::NetworkConfig]
|
|
618
646
|
attr_accessor :network_config
|
|
619
647
|
|
|
620
|
-
# Configuration options for the NetworkPolicy feature.
|
|
621
|
-
#
|
|
648
|
+
# Configuration options for the NetworkPolicy feature. https://kubernetes.io/
|
|
649
|
+
# docs/concepts/services-networking/networkpolicies/
|
|
622
650
|
# Corresponds to the JSON property `networkPolicy`
|
|
623
651
|
# @return [Google::Apis::ContainerV1::NetworkPolicy]
|
|
624
652
|
attr_accessor :network_policy
|
|
@@ -629,16 +657,14 @@ module Google
|
|
|
629
657
|
attr_accessor :node_config
|
|
630
658
|
|
|
631
659
|
# [Output only] The size of the address space on each node for hosting
|
|
632
|
-
# containers. This is provisioned from within the `container_ipv4_cidr`
|
|
633
|
-
#
|
|
634
|
-
# mode.
|
|
660
|
+
# containers. This is provisioned from within the `container_ipv4_cidr` range.
|
|
661
|
+
# This field will only be set when cluster is in route-based network mode.
|
|
635
662
|
# Corresponds to the JSON property `nodeIpv4CidrSize`
|
|
636
663
|
# @return [Fixnum]
|
|
637
664
|
attr_accessor :node_ipv4_cidr_size
|
|
638
665
|
|
|
639
|
-
# The node pools associated with this cluster.
|
|
640
|
-
#
|
|
641
|
-
# specified.
|
|
666
|
+
# The node pools associated with this cluster. This field should not be set if "
|
|
667
|
+
# node_config" or "initial_node_count" are specified.
|
|
642
668
|
# Corresponds to the JSON property `nodePools`
|
|
643
669
|
# @return [Array<Google::Apis::ContainerV1::NodePool>]
|
|
644
670
|
attr_accessor :node_pools
|
|
@@ -648,17 +674,16 @@ module Google
|
|
|
648
674
|
# @return [Google::Apis::ContainerV1::PrivateClusterConfig]
|
|
649
675
|
attr_accessor :private_cluster_config
|
|
650
676
|
|
|
651
|
-
# ReleaseChannel indicates which release channel a cluster is
|
|
652
|
-
#
|
|
653
|
-
#
|
|
654
|
-
#
|
|
655
|
-
# defaults to true and cannot be disabled.
|
|
677
|
+
# ReleaseChannel indicates which release channel a cluster is subscribed to.
|
|
678
|
+
# Release channels are arranged in order of risk. When a cluster is subscribed
|
|
679
|
+
# to a release channel, Google maintains both the master version and the node
|
|
680
|
+
# version. Node auto-upgrade defaults to true and cannot be disabled.
|
|
656
681
|
# Corresponds to the JSON property `releaseChannel`
|
|
657
682
|
# @return [Google::Apis::ContainerV1::ReleaseChannel]
|
|
658
683
|
attr_accessor :release_channel
|
|
659
684
|
|
|
660
|
-
# The resource labels for the cluster to use to annotate any related
|
|
661
|
-
#
|
|
685
|
+
# The resource labels for the cluster to use to annotate any related Google
|
|
686
|
+
# Compute Engine resources.
|
|
662
687
|
# Corresponds to the JSON property `resourceLabels`
|
|
663
688
|
# @return [Hash<String,String>]
|
|
664
689
|
attr_accessor :resource_labels
|
|
@@ -673,11 +698,10 @@ module Google
|
|
|
673
698
|
# @return [String]
|
|
674
699
|
attr_accessor :self_link
|
|
675
700
|
|
|
676
|
-
# [Output only] The IP address range of the Kubernetes services in
|
|
677
|
-
#
|
|
678
|
-
#
|
|
679
|
-
#
|
|
680
|
-
# typically put in the last `/16` from the container CIDR.
|
|
701
|
+
# [Output only] The IP address range of the Kubernetes services in this cluster,
|
|
702
|
+
# in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
|
|
703
|
+
# notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `
|
|
704
|
+
# /16` from the container CIDR.
|
|
681
705
|
# Corresponds to the JSON property `servicesIpv4Cidr`
|
|
682
706
|
# @return [String]
|
|
683
707
|
attr_accessor :services_ipv4_cidr
|
|
@@ -692,42 +716,40 @@ module Google
|
|
|
692
716
|
# @return [String]
|
|
693
717
|
attr_accessor :status
|
|
694
718
|
|
|
695
|
-
# [Output only] Additional information about the current status of this
|
|
696
|
-
#
|
|
719
|
+
# [Output only] Additional information about the current status of this cluster,
|
|
720
|
+
# if available.
|
|
697
721
|
# Corresponds to the JSON property `statusMessage`
|
|
698
722
|
# @return [String]
|
|
699
723
|
attr_accessor :status_message
|
|
700
724
|
|
|
701
|
-
# The name of the Google Compute Engine
|
|
702
|
-
#
|
|
703
|
-
# the cluster is connected.
|
|
725
|
+
# The name of the Google Compute Engine [subnetwork](https://cloud.google.com/
|
|
726
|
+
# compute/docs/subnetworks) to which the cluster is connected.
|
|
704
727
|
# Corresponds to the JSON property `subnetwork`
|
|
705
728
|
# @return [String]
|
|
706
729
|
attr_accessor :subnetwork
|
|
707
730
|
|
|
708
|
-
# [Output only] The IP address range of the Cloud TPUs in this cluster, in
|
|
709
|
-
#
|
|
710
|
-
#
|
|
731
|
+
# [Output only] The IP address range of the Cloud TPUs in this cluster, in [CIDR]
|
|
732
|
+
# (http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `
|
|
733
|
+
# 1.2.3.4/29`).
|
|
711
734
|
# Corresponds to the JSON property `tpuIpv4CidrBlock`
|
|
712
735
|
# @return [String]
|
|
713
736
|
attr_accessor :tpu_ipv4_cidr_block
|
|
714
737
|
|
|
715
|
-
# VerticalPodAutoscaling contains global, per-cluster information
|
|
716
|
-
#
|
|
717
|
-
#
|
|
738
|
+
# VerticalPodAutoscaling contains global, per-cluster information required by
|
|
739
|
+
# Vertical Pod Autoscaler to automatically adjust the resources of pods
|
|
740
|
+
# controlled by it.
|
|
718
741
|
# Corresponds to the JSON property `verticalPodAutoscaling`
|
|
719
742
|
# @return [Google::Apis::ContainerV1::VerticalPodAutoscaling]
|
|
720
743
|
attr_accessor :vertical_pod_autoscaling
|
|
721
744
|
|
|
722
|
-
# Configuration for the use of Kubernetes Service Accounts in GCP IAM
|
|
723
|
-
# policies.
|
|
745
|
+
# Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
|
|
724
746
|
# Corresponds to the JSON property `workloadIdentityConfig`
|
|
725
747
|
# @return [Google::Apis::ContainerV1::WorkloadIdentityConfig]
|
|
726
748
|
attr_accessor :workload_identity_config
|
|
727
749
|
|
|
728
|
-
# [Output only] The name of the Google Compute Engine
|
|
729
|
-
#
|
|
730
|
-
#
|
|
750
|
+
# [Output only] The name of the Google Compute Engine [zone](https://cloud.
|
|
751
|
+
# google.com/compute/docs/zones#available) in which the cluster resides. This
|
|
752
|
+
# field is deprecated, use location instead.
|
|
731
753
|
# Corresponds to the JSON property `zone`
|
|
732
754
|
# @return [String]
|
|
733
755
|
attr_accessor :zone
|
|
@@ -792,22 +814,20 @@ module Google
|
|
|
792
814
|
end
|
|
793
815
|
end
|
|
794
816
|
|
|
795
|
-
# ClusterAutoscaling contains global, per-cluster information
|
|
796
|
-
#
|
|
797
|
-
#
|
|
798
|
-
# node pools based on the current needs.
|
|
817
|
+
# ClusterAutoscaling contains global, per-cluster information required by
|
|
818
|
+
# Cluster Autoscaler to automatically adjust the size of the cluster and create/
|
|
819
|
+
# delete node pools based on the current needs.
|
|
799
820
|
class ClusterAutoscaling
|
|
800
821
|
include Google::Apis::Core::Hashable
|
|
801
822
|
|
|
802
|
-
# The list of Google Compute Engine
|
|
803
|
-
#
|
|
804
|
-
# NodePool's nodes can be created by NAP.
|
|
823
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
|
824
|
+
# docs/zones#available) in which the NodePool's nodes can be created by NAP.
|
|
805
825
|
# Corresponds to the JSON property `autoprovisioningLocations`
|
|
806
826
|
# @return [Array<String>]
|
|
807
827
|
attr_accessor :autoprovisioning_locations
|
|
808
828
|
|
|
809
|
-
# AutoprovisioningNodePoolDefaults contains defaults for a node pool created
|
|
810
|
-
#
|
|
829
|
+
# AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
|
|
830
|
+
# NAP.
|
|
811
831
|
# Corresponds to the JSON property `autoprovisioningNodePoolDefaults`
|
|
812
832
|
# @return [Google::Apis::ContainerV1::AutoprovisioningNodePoolDefaults]
|
|
813
833
|
attr_accessor :autoprovisioning_node_pool_defaults
|
|
@@ -818,8 +838,8 @@ module Google
|
|
|
818
838
|
attr_accessor :enable_node_autoprovisioning
|
|
819
839
|
alias_method :enable_node_autoprovisioning?, :enable_node_autoprovisioning
|
|
820
840
|
|
|
821
|
-
# Contains global constraints regarding minimum and maximum
|
|
822
|
-
#
|
|
841
|
+
# Contains global constraints regarding minimum and maximum amount of resources
|
|
842
|
+
# in the cluster.
|
|
823
843
|
# Corresponds to the JSON property `resourceLimits`
|
|
824
844
|
# @return [Array<Google::Apis::ContainerV1::ResourceLimit>]
|
|
825
845
|
attr_accessor :resource_limits
|
|
@@ -837,14 +857,13 @@ module Google
|
|
|
837
857
|
end
|
|
838
858
|
end
|
|
839
859
|
|
|
840
|
-
# ClusterUpdate describes an update to the cluster. Exactly one update can
|
|
841
|
-
#
|
|
842
|
-
# provided.
|
|
860
|
+
# ClusterUpdate describes an update to the cluster. Exactly one update can be
|
|
861
|
+
# applied to a cluster with each request, so at most one field can be provided.
|
|
843
862
|
class ClusterUpdate
|
|
844
863
|
include Google::Apis::Core::Hashable
|
|
845
864
|
|
|
846
|
-
# Configuration for the addons that can be automatically spun up in the
|
|
847
|
-
#
|
|
865
|
+
# Configuration for the addons that can be automatically spun up in the cluster,
|
|
866
|
+
# enabling additional functionality.
|
|
848
867
|
# Corresponds to the JSON property `desiredAddonsConfig`
|
|
849
868
|
# @return [Google::Apis::ContainerV1::AddonsConfig]
|
|
850
869
|
attr_accessor :desired_addons_config
|
|
@@ -854,10 +873,9 @@ module Google
|
|
|
854
873
|
# @return [Google::Apis::ContainerV1::BinaryAuthorization]
|
|
855
874
|
attr_accessor :desired_binary_authorization
|
|
856
875
|
|
|
857
|
-
# ClusterAutoscaling contains global, per-cluster information
|
|
858
|
-
#
|
|
859
|
-
#
|
|
860
|
-
# node pools based on the current needs.
|
|
876
|
+
# ClusterAutoscaling contains global, per-cluster information required by
|
|
877
|
+
# Cluster Autoscaler to automatically adjust the size of the cluster and create/
|
|
878
|
+
# delete node pools based on the current needs.
|
|
861
879
|
# Corresponds to the JSON property `desiredClusterAutoscaling`
|
|
862
880
|
# @return [Google::Apis::ContainerV1::ClusterAutoscaling]
|
|
863
881
|
attr_accessor :desired_cluster_autoscaling
|
|
@@ -867,8 +885,14 @@ module Google
|
|
|
867
885
|
# @return [Google::Apis::ContainerV1::DatabaseEncryption]
|
|
868
886
|
attr_accessor :desired_database_encryption
|
|
869
887
|
|
|
870
|
-
#
|
|
871
|
-
#
|
|
888
|
+
# DefaultSnatStatus contains the desired state of whether default sNAT should be
|
|
889
|
+
# disabled on the cluster.
|
|
890
|
+
# Corresponds to the JSON property `desiredDefaultSnatStatus`
|
|
891
|
+
# @return [Google::Apis::ContainerV1::DefaultSnatStatus]
|
|
892
|
+
attr_accessor :desired_default_snat_status
|
|
893
|
+
|
|
894
|
+
# The desired image type for the node pool. NOTE: Set the "desired_node_pool"
|
|
895
|
+
# field as well.
|
|
872
896
|
# Corresponds to the JSON property `desiredImageType`
|
|
873
897
|
# @return [String]
|
|
874
898
|
attr_accessor :desired_image_type
|
|
@@ -879,25 +903,22 @@ module Google
|
|
|
879
903
|
# @return [Google::Apis::ContainerV1::IntraNodeVisibilityConfig]
|
|
880
904
|
attr_accessor :desired_intra_node_visibility_config
|
|
881
905
|
|
|
882
|
-
# The desired list of Google Compute Engine
|
|
883
|
-
#
|
|
884
|
-
#
|
|
885
|
-
#
|
|
886
|
-
#
|
|
887
|
-
# This list must always include the cluster's primary zone.
|
|
906
|
+
# The desired list of Google Compute Engine [zones](https://cloud.google.com/
|
|
907
|
+
# compute/docs/zones#available) in which the cluster's nodes should be located.
|
|
908
|
+
# Changing the locations a cluster is in will result in nodes being either
|
|
909
|
+
# created or removed from the cluster, depending on whether locations are being
|
|
910
|
+
# added or removed. This list must always include the cluster's primary zone.
|
|
888
911
|
# Corresponds to the JSON property `desiredLocations`
|
|
889
912
|
# @return [Array<String>]
|
|
890
913
|
attr_accessor :desired_locations
|
|
891
914
|
|
|
892
|
-
# The logging service the cluster should use to write logs.
|
|
893
|
-
#
|
|
894
|
-
# * `logging.googleapis.com
|
|
895
|
-
# service
|
|
896
|
-
#
|
|
897
|
-
#
|
|
898
|
-
#
|
|
899
|
-
# If left as an empty string,`logging.googleapis.com/kubernetes` will be
|
|
900
|
-
# used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
|
|
915
|
+
# The logging service the cluster should use to write logs. Currently available
|
|
916
|
+
# options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
|
|
917
|
+
# with a Kubernetes-native resource model * `logging.googleapis.com` - The
|
|
918
|
+
# legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` -
|
|
919
|
+
# no logs will be exported from the cluster. If left as an empty string,`logging.
|
|
920
|
+
# googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.
|
|
921
|
+
# com` for earlier versions.
|
|
901
922
|
# Corresponds to the JSON property `desiredLoggingService`
|
|
902
923
|
# @return [String]
|
|
903
924
|
attr_accessor :desired_logging_service
|
|
@@ -910,27 +931,24 @@ module Google
|
|
|
910
931
|
# @return [Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig]
|
|
911
932
|
attr_accessor :desired_master_authorized_networks_config
|
|
912
933
|
|
|
913
|
-
# The Kubernetes version to change the master to.
|
|
914
|
-
#
|
|
915
|
-
#
|
|
916
|
-
# - "
|
|
917
|
-
#
|
|
918
|
-
# - "
|
|
919
|
-
#
|
|
920
|
-
# - "-": picks the default Kubernetes version
|
|
934
|
+
# The Kubernetes version to change the master to. Users may specify either
|
|
935
|
+
# explicit versions offered by Kubernetes Engine or version aliases, which have
|
|
936
|
+
# the following behavior: - "latest": picks the highest valid Kubernetes version
|
|
937
|
+
# - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y"
|
|
938
|
+
# : picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N":
|
|
939
|
+
# picks an explicit Kubernetes version - "-": picks the default Kubernetes
|
|
940
|
+
# version
|
|
921
941
|
# Corresponds to the JSON property `desiredMasterVersion`
|
|
922
942
|
# @return [String]
|
|
923
943
|
attr_accessor :desired_master_version
|
|
924
944
|
|
|
925
|
-
# The monitoring service the cluster should use to write metrics.
|
|
926
|
-
#
|
|
927
|
-
#
|
|
928
|
-
# service
|
|
929
|
-
#
|
|
930
|
-
#
|
|
931
|
-
#
|
|
932
|
-
# If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
|
|
933
|
-
# used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
|
945
|
+
# The monitoring service the cluster should use to write metrics. Currently
|
|
946
|
+
# available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
|
|
947
|
+
# Monitoring service with a Kubernetes-native resource model * `monitoring.
|
|
948
|
+
# googleapis.com` - The legacy Cloud Monitoring service (no longer available as
|
|
949
|
+
# of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
|
|
950
|
+
# as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
|
|
951
|
+
# 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
|
934
952
|
# Corresponds to the JSON property `desiredMonitoringService`
|
|
935
953
|
# @return [String]
|
|
936
954
|
attr_accessor :desired_monitoring_service
|
|
@@ -941,32 +959,33 @@ module Google
|
|
|
941
959
|
# @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
|
|
942
960
|
attr_accessor :desired_node_pool_autoscaling
|
|
943
961
|
|
|
944
|
-
# The node pool to be upgraded. This field is mandatory if
|
|
945
|
-
#
|
|
946
|
-
#
|
|
947
|
-
# node pool on the cluster.
|
|
962
|
+
# The node pool to be upgraded. This field is mandatory if "desired_node_version"
|
|
963
|
+
# , "desired_image_family" or "desired_node_pool_autoscaling" is specified and
|
|
964
|
+
# there is more than one node pool on the cluster.
|
|
948
965
|
# Corresponds to the JSON property `desiredNodePoolId`
|
|
949
966
|
# @return [String]
|
|
950
967
|
attr_accessor :desired_node_pool_id
|
|
951
968
|
|
|
952
|
-
# The Kubernetes version to change the nodes to (typically an
|
|
953
|
-
#
|
|
954
|
-
#
|
|
955
|
-
# Kubernetes
|
|
956
|
-
# - "
|
|
957
|
-
# - "1.X": picks
|
|
958
|
-
#
|
|
959
|
-
# - "1.X.Y-gke.N": picks an explicit Kubernetes version
|
|
960
|
-
# - "-": picks the Kubernetes master version
|
|
969
|
+
# The Kubernetes version to change the nodes to (typically an upgrade). Users
|
|
970
|
+
# may specify either explicit versions offered by Kubernetes Engine or version
|
|
971
|
+
# aliases, which have the following behavior: - "latest": picks the highest
|
|
972
|
+
# valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in
|
|
973
|
+
# the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y
|
|
974
|
+
# version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the
|
|
975
|
+
# Kubernetes master version
|
|
961
976
|
# Corresponds to the JSON property `desiredNodeVersion`
|
|
962
977
|
# @return [String]
|
|
963
978
|
attr_accessor :desired_node_version
|
|
964
979
|
|
|
965
|
-
#
|
|
966
|
-
#
|
|
967
|
-
#
|
|
968
|
-
|
|
969
|
-
|
|
980
|
+
# Configuration options for private clusters.
|
|
981
|
+
# Corresponds to the JSON property `desiredPrivateClusterConfig`
|
|
982
|
+
# @return [Google::Apis::ContainerV1::PrivateClusterConfig]
|
|
983
|
+
attr_accessor :desired_private_cluster_config
|
|
984
|
+
|
|
985
|
+
# ReleaseChannel indicates which release channel a cluster is subscribed to.
|
|
986
|
+
# Release channels are arranged in order of risk. When a cluster is subscribed
|
|
987
|
+
# to a release channel, Google maintains both the master version and the node
|
|
988
|
+
# version. Node auto-upgrade defaults to true and cannot be disabled.
|
|
970
989
|
# Corresponds to the JSON property `desiredReleaseChannel`
|
|
971
990
|
# @return [Google::Apis::ContainerV1::ReleaseChannel]
|
|
972
991
|
attr_accessor :desired_release_channel
|
|
@@ -981,15 +1000,14 @@ module Google
|
|
|
981
1000
|
# @return [Google::Apis::ContainerV1::ShieldedNodes]
|
|
982
1001
|
attr_accessor :desired_shielded_nodes
|
|
983
1002
|
|
|
984
|
-
# VerticalPodAutoscaling contains global, per-cluster information
|
|
985
|
-
#
|
|
986
|
-
#
|
|
1003
|
+
# VerticalPodAutoscaling contains global, per-cluster information required by
|
|
1004
|
+
# Vertical Pod Autoscaler to automatically adjust the resources of pods
|
|
1005
|
+
# controlled by it.
|
|
987
1006
|
# Corresponds to the JSON property `desiredVerticalPodAutoscaling`
|
|
988
1007
|
# @return [Google::Apis::ContainerV1::VerticalPodAutoscaling]
|
|
989
1008
|
attr_accessor :desired_vertical_pod_autoscaling
|
|
990
1009
|
|
|
991
|
-
# Configuration for the use of Kubernetes Service Accounts in GCP IAM
|
|
992
|
-
# policies.
|
|
1010
|
+
# Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
|
|
993
1011
|
# Corresponds to the JSON property `desiredWorkloadIdentityConfig`
|
|
994
1012
|
# @return [Google::Apis::ContainerV1::WorkloadIdentityConfig]
|
|
995
1013
|
attr_accessor :desired_workload_identity_config
|
|
@@ -1004,6 +1022,7 @@ module Google
|
|
|
1004
1022
|
@desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
|
|
1005
1023
|
@desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
|
|
1006
1024
|
@desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
|
|
1025
|
+
@desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
|
|
1007
1026
|
@desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
|
|
1008
1027
|
@desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
|
|
1009
1028
|
@desired_locations = args[:desired_locations] if args.key?(:desired_locations)
|
|
@@ -1014,6 +1033,7 @@ module Google
|
|
|
1014
1033
|
@desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
|
|
1015
1034
|
@desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
|
|
1016
1035
|
@desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
|
|
1036
|
+
@desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config)
|
|
1017
1037
|
@desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
|
|
1018
1038
|
@desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
|
|
1019
1039
|
@desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
|
|
@@ -1026,8 +1046,8 @@ module Google
|
|
|
1026
1046
|
class CompleteIpRotationRequest
|
|
1027
1047
|
include Google::Apis::Core::Hashable
|
|
1028
1048
|
|
|
1029
|
-
# Deprecated. The name of the cluster.
|
|
1030
|
-
#
|
|
1049
|
+
# Deprecated. The name of the cluster. This field has been deprecated and
|
|
1050
|
+
# replaced by the name field.
|
|
1031
1051
|
# Corresponds to the JSON property `clusterId`
|
|
1032
1052
|
# @return [String]
|
|
1033
1053
|
attr_accessor :cluster_id
|
|
@@ -1038,17 +1058,16 @@ module Google
|
|
|
1038
1058
|
# @return [String]
|
|
1039
1059
|
attr_accessor :name
|
|
1040
1060
|
|
|
1041
|
-
# Deprecated. The Google Developers Console [project ID or project
|
|
1042
|
-
#
|
|
1043
|
-
#
|
|
1061
|
+
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
1062
|
+
# //developers.google.com/console/help/new/#projectnumber). This field has been
|
|
1063
|
+
# deprecated and replaced by the name field.
|
|
1044
1064
|
# Corresponds to the JSON property `projectId`
|
|
1045
1065
|
# @return [String]
|
|
1046
1066
|
attr_accessor :project_id
|
|
1047
1067
|
|
|
1048
|
-
# Deprecated. The name of the Google Compute Engine
|
|
1049
|
-
#
|
|
1050
|
-
#
|
|
1051
|
-
# field.
|
|
1068
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
1069
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
1070
|
+
# been deprecated and replaced by the name field.
|
|
1052
1071
|
# Corresponds to the JSON property `zone`
|
|
1053
1072
|
# @return [String]
|
|
1054
1073
|
attr_accessor :zone
|
|
@@ -1066,13 +1085,32 @@ module Google
|
|
|
1066
1085
|
end
|
|
1067
1086
|
end
|
|
1068
1087
|
|
|
1088
|
+
# Configuration options for the Config Connector add-on.
|
|
1089
|
+
class ConfigConnectorConfig
|
|
1090
|
+
include Google::Apis::Core::Hashable
|
|
1091
|
+
|
|
1092
|
+
# Whether Cloud Connector is enabled for this cluster.
|
|
1093
|
+
# Corresponds to the JSON property `enabled`
|
|
1094
|
+
# @return [Boolean]
|
|
1095
|
+
attr_accessor :enabled
|
|
1096
|
+
alias_method :enabled?, :enabled
|
|
1097
|
+
|
|
1098
|
+
def initialize(**args)
|
|
1099
|
+
update!(**args)
|
|
1100
|
+
end
|
|
1101
|
+
|
|
1102
|
+
# Update properties of this object
|
|
1103
|
+
def update!(**args)
|
|
1104
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
|
1105
|
+
end
|
|
1106
|
+
end
|
|
1107
|
+
|
|
1069
1108
|
# Parameters for controlling consumption metering.
|
|
1070
1109
|
class ConsumptionMeteringConfig
|
|
1071
1110
|
include Google::Apis::Core::Hashable
|
|
1072
1111
|
|
|
1073
|
-
# Whether to enable consumption metering for this cluster. If enabled, a
|
|
1074
|
-
#
|
|
1075
|
-
# records.
|
|
1112
|
+
# Whether to enable consumption metering for this cluster. If enabled, a second
|
|
1113
|
+
# BigQuery table will be created to hold resource consumption records.
|
|
1076
1114
|
# Corresponds to the JSON property `enabled`
|
|
1077
1115
|
# @return [Boolean]
|
|
1078
1116
|
attr_accessor :enabled
|
|
@@ -1097,23 +1135,22 @@ module Google
|
|
|
1097
1135
|
# @return [Google::Apis::ContainerV1::Cluster]
|
|
1098
1136
|
attr_accessor :cluster
|
|
1099
1137
|
|
|
1100
|
-
# The parent (project and location) where the cluster will be created.
|
|
1101
|
-
#
|
|
1138
|
+
# The parent (project and location) where the cluster will be created. Specified
|
|
1139
|
+
# in the format `projects/*/locations/*`.
|
|
1102
1140
|
# Corresponds to the JSON property `parent`
|
|
1103
1141
|
# @return [String]
|
|
1104
1142
|
attr_accessor :parent
|
|
1105
1143
|
|
|
1106
|
-
# Deprecated. The Google Developers Console [project ID or project
|
|
1107
|
-
#
|
|
1108
|
-
#
|
|
1144
|
+
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
1145
|
+
# //support.google.com/cloud/answer/6158840). This field has been deprecated and
|
|
1146
|
+
# replaced by the parent field.
|
|
1109
1147
|
# Corresponds to the JSON property `projectId`
|
|
1110
1148
|
# @return [String]
|
|
1111
1149
|
attr_accessor :project_id
|
|
1112
1150
|
|
|
1113
|
-
# Deprecated. The name of the Google Compute Engine
|
|
1114
|
-
#
|
|
1115
|
-
#
|
|
1116
|
-
# field.
|
|
1151
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
1152
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
1153
|
+
# been deprecated and replaced by the parent field.
|
|
1117
1154
|
# Corresponds to the JSON property `zone`
|
|
1118
1155
|
# @return [String]
|
|
1119
1156
|
attr_accessor :zone
|
|
@@ -1135,40 +1172,38 @@ module Google
|
|
|
1135
1172
|
class CreateNodePoolRequest
|
|
1136
1173
|
include Google::Apis::Core::Hashable
|
|
1137
1174
|
|
|
1138
|
-
# Deprecated. The name of the cluster.
|
|
1139
|
-
#
|
|
1175
|
+
# Deprecated. The name of the cluster. This field has been deprecated and
|
|
1176
|
+
# replaced by the parent field.
|
|
1140
1177
|
# Corresponds to the JSON property `clusterId`
|
|
1141
1178
|
# @return [String]
|
|
1142
1179
|
attr_accessor :cluster_id
|
|
1143
1180
|
|
|
1144
|
-
# NodePool contains the name and configuration for a cluster's node pool.
|
|
1145
|
-
#
|
|
1146
|
-
# specification, under the control of the cluster master. They may have a set
|
|
1147
|
-
#
|
|
1148
|
-
#
|
|
1149
|
-
#
|
|
1181
|
+
# NodePool contains the name and configuration for a cluster's node pool. Node
|
|
1182
|
+
# pools are a set of nodes (i.e. VM's), with a common configuration and
|
|
1183
|
+
# specification, under the control of the cluster master. They may have a set of
|
|
1184
|
+
# Kubernetes labels applied to them, which may be used to reference them during
|
|
1185
|
+
# pod scheduling. They may also be resized up or down, to accommodate the
|
|
1186
|
+
# workload.
|
|
1150
1187
|
# Corresponds to the JSON property `nodePool`
|
|
1151
1188
|
# @return [Google::Apis::ContainerV1::NodePool]
|
|
1152
1189
|
attr_accessor :node_pool
|
|
1153
1190
|
|
|
1154
|
-
# The parent (project, location, cluster id) where the node pool will be
|
|
1155
|
-
#
|
|
1156
|
-
# `projects/*/locations/*/clusters/*`.
|
|
1191
|
+
# The parent (project, location, cluster id) where the node pool will be created.
|
|
1192
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
|
1157
1193
|
# Corresponds to the JSON property `parent`
|
|
1158
1194
|
# @return [String]
|
|
1159
1195
|
attr_accessor :parent
|
|
1160
1196
|
|
|
1161
|
-
# Deprecated. The Google Developers Console [project ID or project
|
|
1162
|
-
#
|
|
1163
|
-
#
|
|
1197
|
+
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
1198
|
+
# //developers.google.com/console/help/new/#projectnumber). This field has been
|
|
1199
|
+
# deprecated and replaced by the parent field.
|
|
1164
1200
|
# Corresponds to the JSON property `projectId`
|
|
1165
1201
|
# @return [String]
|
|
1166
1202
|
attr_accessor :project_id
|
|
1167
1203
|
|
|
1168
|
-
# Deprecated. The name of the Google Compute Engine
|
|
1169
|
-
#
|
|
1170
|
-
#
|
|
1171
|
-
# field.
|
|
1204
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
1205
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
1206
|
+
# been deprecated and replaced by the parent field.
|
|
1172
1207
|
# Corresponds to the JSON property `zone`
|
|
1173
1208
|
# @return [String]
|
|
1174
1209
|
attr_accessor :zone
|
|
@@ -1191,17 +1226,16 @@ module Google
|
|
|
1191
1226
|
class DailyMaintenanceWindow
|
|
1192
1227
|
include Google::Apis::Core::Hashable
|
|
1193
1228
|
|
|
1194
|
-
# [Output only] Duration of the time window, automatically chosen to be
|
|
1195
|
-
#
|
|
1196
|
-
#
|
|
1197
|
-
# format "PTnHnMnS".
|
|
1229
|
+
# [Output only] Duration of the time window, automatically chosen to be smallest
|
|
1230
|
+
# possible in the given scenario. Duration will be in [RFC3339](https://www.ietf.
|
|
1231
|
+
# org/rfc/rfc3339.txt) format "PTnHnMnS".
|
|
1198
1232
|
# Corresponds to the JSON property `duration`
|
|
1199
1233
|
# @return [String]
|
|
1200
1234
|
attr_accessor :duration
|
|
1201
1235
|
|
|
1202
|
-
# Time within the maintenance window to start the maintenance operations.
|
|
1203
|
-
#
|
|
1204
|
-
#
|
|
1236
|
+
# Time within the maintenance window to start the maintenance operations. Time
|
|
1237
|
+
# format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format "HH:
|
|
1238
|
+
# MM", where HH : [00-23] and MM : [00-59] GMT.
|
|
1205
1239
|
# Corresponds to the JSON property `startTime`
|
|
1206
1240
|
# @return [String]
|
|
1207
1241
|
attr_accessor :start_time
|
|
@@ -1221,8 +1255,8 @@ module Google
|
|
|
1221
1255
|
class DatabaseEncryption
|
|
1222
1256
|
include Google::Apis::Core::Hashable
|
|
1223
1257
|
|
|
1224
|
-
# Name of CloudKMS key to use for the encryption of secrets in etcd.
|
|
1225
|
-
#
|
|
1258
|
+
# Name of CloudKMS key to use for the encryption of secrets in etcd. Ex.
|
|
1259
|
+
# projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
|
|
1226
1260
|
# Corresponds to the JSON property `keyName`
|
|
1227
1261
|
# @return [String]
|
|
1228
1262
|
attr_accessor :key_name
|
|
@@ -1243,6 +1277,27 @@ module Google
|
|
|
1243
1277
|
end
|
|
1244
1278
|
end
|
|
1245
1279
|
|
|
1280
|
+
# DefaultSnatStatus contains the desired state of whether default sNAT should be
|
|
1281
|
+
# disabled on the cluster.
|
|
1282
|
+
class DefaultSnatStatus
|
|
1283
|
+
include Google::Apis::Core::Hashable
|
|
1284
|
+
|
|
1285
|
+
# Disables cluster default sNAT rules.
|
|
1286
|
+
# Corresponds to the JSON property `disabled`
|
|
1287
|
+
# @return [Boolean]
|
|
1288
|
+
attr_accessor :disabled
|
|
1289
|
+
alias_method :disabled?, :disabled
|
|
1290
|
+
|
|
1291
|
+
def initialize(**args)
|
|
1292
|
+
update!(**args)
|
|
1293
|
+
end
|
|
1294
|
+
|
|
1295
|
+
# Update properties of this object
|
|
1296
|
+
def update!(**args)
|
|
1297
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
|
1298
|
+
end
|
|
1299
|
+
end
|
|
1300
|
+
|
|
1246
1301
|
# Configuration for NodeLocal DNSCache
|
|
1247
1302
|
class DnsCacheConfig
|
|
1248
1303
|
include Google::Apis::Core::Hashable
|
|
@@ -1263,13 +1318,11 @@ module Google
|
|
|
1263
1318
|
end
|
|
1264
1319
|
end
|
|
1265
1320
|
|
|
1266
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
|
1267
|
-
#
|
|
1268
|
-
#
|
|
1269
|
-
#
|
|
1270
|
-
#
|
|
1271
|
-
# `
|
|
1272
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
|
1321
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
|
1322
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
|
1323
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
|
1324
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
|
1325
|
+
# `Empty` is empty JSON object ````.
|
|
1273
1326
|
class Empty
|
|
1274
1327
|
include Google::Apis::Core::Hashable
|
|
1275
1328
|
|
|
@@ -1291,8 +1344,7 @@ module Google
|
|
|
1291
1344
|
# @return [Google::Apis::ContainerV1::HttpCacheControlResponseHeader]
|
|
1292
1345
|
attr_accessor :cache_header
|
|
1293
1346
|
|
|
1294
|
-
# The public component of the keys used by the cluster to sign token
|
|
1295
|
-
# requests.
|
|
1347
|
+
# The public component of the keys used by the cluster to sign token requests.
|
|
1296
1348
|
# Corresponds to the JSON property `keys`
|
|
1297
1349
|
# @return [Array<Google::Apis::ContainerV1::Jwk>]
|
|
1298
1350
|
attr_accessor :keys
|
|
@@ -1308,8 +1360,8 @@ module Google
|
|
|
1308
1360
|
end
|
|
1309
1361
|
end
|
|
1310
1362
|
|
|
1311
|
-
# GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
|
|
1312
|
-
#
|
|
1363
|
+
# GetOpenIDConfigResponse is an OIDC discovery document for the cluster. See the
|
|
1364
|
+
# OpenID Connect Discovery 1.0 specification for details.
|
|
1313
1365
|
class GetOpenIdConfigResponse
|
|
1314
1366
|
include Google::Apis::Core::Hashable
|
|
1315
1367
|
|
|
@@ -1371,14 +1423,13 @@ module Google
|
|
|
1371
1423
|
end
|
|
1372
1424
|
|
|
1373
1425
|
# Configuration options for the horizontal pod autoscaling feature, which
|
|
1374
|
-
# increases or decreases the number of replica pods a replication controller
|
|
1375
|
-
#
|
|
1426
|
+
# increases or decreases the number of replica pods a replication controller has
|
|
1427
|
+
# based on the resource usage of the existing pods.
|
|
1376
1428
|
class HorizontalPodAutoscaling
|
|
1377
1429
|
include Google::Apis::Core::Hashable
|
|
1378
1430
|
|
|
1379
|
-
# Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
|
|
1380
|
-
#
|
|
1381
|
-
# Monitoring.
|
|
1431
|
+
# Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When
|
|
1432
|
+
# enabled, it ensures that metrics are collected into Stackdriver Monitoring.
|
|
1382
1433
|
# Corresponds to the JSON property `disabled`
|
|
1383
1434
|
# @return [Boolean]
|
|
1384
1435
|
attr_accessor :disabled
|
|
@@ -1425,14 +1476,13 @@ module Google
|
|
|
1425
1476
|
end
|
|
1426
1477
|
end
|
|
1427
1478
|
|
|
1428
|
-
# Configuration options for the HTTP (L7) load balancing controller addon,
|
|
1429
|
-
#
|
|
1479
|
+
# Configuration options for the HTTP (L7) load balancing controller addon, which
|
|
1480
|
+
# makes it easy to set up HTTP load balancers for services in a cluster.
|
|
1430
1481
|
class HttpLoadBalancing
|
|
1431
1482
|
include Google::Apis::Core::Hashable
|
|
1432
1483
|
|
|
1433
|
-
# Whether the HTTP Load Balancing controller is enabled in the cluster.
|
|
1434
|
-
#
|
|
1435
|
-
# balancers.
|
|
1484
|
+
# Whether the HTTP Load Balancing controller is enabled in the cluster. When
|
|
1485
|
+
# enabled, it runs a small pod in the cluster that manages the load balancers.
|
|
1436
1486
|
# Corresponds to the JSON property `disabled`
|
|
1437
1487
|
# @return [Boolean]
|
|
1438
1488
|
attr_accessor :disabled
|
|
@@ -1457,33 +1507,28 @@ module Google
|
|
|
1457
1507
|
# @return [String]
|
|
1458
1508
|
attr_accessor :cluster_ipv4_cidr
|
|
1459
1509
|
|
|
1460
|
-
# The IP address range for the cluster pod IPs. If this field is set, then
|
|
1461
|
-
#
|
|
1462
|
-
#
|
|
1463
|
-
# Set to
|
|
1464
|
-
#
|
|
1465
|
-
#
|
|
1466
|
-
#
|
|
1467
|
-
#
|
|
1468
|
-
# notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
|
|
1469
|
-
# `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
|
|
1470
|
-
# to use.
|
|
1510
|
+
# The IP address range for the cluster pod IPs. If this field is set, then `
|
|
1511
|
+
# cluster.cluster_ipv4_cidr` must be left blank. This field is only applicable
|
|
1512
|
+
# when `use_ip_aliases` is true. Set to blank to have a range chosen with the
|
|
1513
|
+
# default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
|
|
1514
|
+
# specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
|
|
1515
|
+
# Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
|
|
1516
|
+
# networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
|
|
1517
|
+
# specific range to use.
|
|
1471
1518
|
# Corresponds to the JSON property `clusterIpv4CidrBlock`
|
|
1472
1519
|
# @return [String]
|
|
1473
1520
|
attr_accessor :cluster_ipv4_cidr_block
|
|
1474
1521
|
|
|
1475
|
-
# The name of the secondary range to be used for the cluster CIDR
|
|
1476
|
-
#
|
|
1477
|
-
#
|
|
1478
|
-
# with
|
|
1479
|
-
# This field is only applicable with use_ip_aliases is true and
|
|
1480
|
-
# create_subnetwork is false.
|
|
1522
|
+
# The name of the secondary range to be used for the cluster CIDR block. The
|
|
1523
|
+
# secondary range will be used for pod IP addresses. This must be an existing
|
|
1524
|
+
# secondary range associated with the cluster subnetwork. This field is only
|
|
1525
|
+
# applicable with use_ip_aliases is true and create_subnetwork is false.
|
|
1481
1526
|
# Corresponds to the JSON property `clusterSecondaryRangeName`
|
|
1482
1527
|
# @return [String]
|
|
1483
1528
|
attr_accessor :cluster_secondary_range_name
|
|
1484
1529
|
|
|
1485
|
-
# Whether a new subnetwork will be created automatically for the cluster.
|
|
1486
|
-
#
|
|
1530
|
+
# Whether a new subnetwork will be created automatically for the cluster. This
|
|
1531
|
+
# field is only applicable when `use_ip_aliases` is true.
|
|
1487
1532
|
# Corresponds to the JSON property `createSubnetwork`
|
|
1488
1533
|
# @return [Boolean]
|
|
1489
1534
|
attr_accessor :create_subnetwork
|
|
@@ -1494,16 +1539,13 @@ module Google
|
|
|
1494
1539
|
# @return [String]
|
|
1495
1540
|
attr_accessor :node_ipv4_cidr
|
|
1496
1541
|
|
|
1497
|
-
# The IP address range of the instance IPs in this cluster.
|
|
1498
|
-
#
|
|
1499
|
-
# Set to
|
|
1500
|
-
#
|
|
1501
|
-
#
|
|
1502
|
-
#
|
|
1503
|
-
#
|
|
1504
|
-
# notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
|
|
1505
|
-
# `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
|
|
1506
|
-
# to use.
|
|
1542
|
+
# The IP address range of the instance IPs in this cluster. This is applicable
|
|
1543
|
+
# only if `create_subnetwork` is true. Set to blank to have a range chosen with
|
|
1544
|
+
# the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
|
|
1545
|
+
# specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
|
|
1546
|
+
# Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
|
|
1547
|
+
# networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
|
|
1548
|
+
# specific range to use.
|
|
1507
1549
|
# Corresponds to the JSON property `nodeIpv4CidrBlock`
|
|
1508
1550
|
# @return [String]
|
|
1509
1551
|
attr_accessor :node_ipv4_cidr_block
|
|
@@ -1514,58 +1556,61 @@ module Google
|
|
|
1514
1556
|
attr_accessor :services_ipv4_cidr
|
|
1515
1557
|
|
|
1516
1558
|
# The IP address range of the services IPs in this cluster. If blank, a range
|
|
1517
|
-
# will be automatically chosen with the default size.
|
|
1518
|
-
#
|
|
1519
|
-
# Set to
|
|
1520
|
-
#
|
|
1521
|
-
#
|
|
1522
|
-
#
|
|
1523
|
-
#
|
|
1524
|
-
# notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
|
|
1525
|
-
# `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
|
|
1526
|
-
# to use.
|
|
1559
|
+
# will be automatically chosen with the default size. This field is only
|
|
1560
|
+
# applicable when `use_ip_aliases` is true. Set to blank to have a range chosen
|
|
1561
|
+
# with the default size. Set to /netmask (e.g. `/14`) to have a range chosen
|
|
1562
|
+
# with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/
|
|
1563
|
+
# Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-
|
|
1564
|
+
# 1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`)
|
|
1565
|
+
# to pick a specific range to use.
|
|
1527
1566
|
# Corresponds to the JSON property `servicesIpv4CidrBlock`
|
|
1528
1567
|
# @return [String]
|
|
1529
1568
|
attr_accessor :services_ipv4_cidr_block
|
|
1530
1569
|
|
|
1531
|
-
# The name of the secondary range to be used as for the services
|
|
1532
|
-
#
|
|
1533
|
-
#
|
|
1534
|
-
# with
|
|
1535
|
-
# This field is only applicable with use_ip_aliases is true and
|
|
1536
|
-
# create_subnetwork is false.
|
|
1570
|
+
# The name of the secondary range to be used as for the services CIDR block. The
|
|
1571
|
+
# secondary range will be used for service ClusterIPs. This must be an existing
|
|
1572
|
+
# secondary range associated with the cluster subnetwork. This field is only
|
|
1573
|
+
# applicable with use_ip_aliases is true and create_subnetwork is false.
|
|
1537
1574
|
# Corresponds to the JSON property `servicesSecondaryRangeName`
|
|
1538
1575
|
# @return [String]
|
|
1539
1576
|
attr_accessor :services_secondary_range_name
|
|
1540
1577
|
|
|
1541
|
-
# A custom subnetwork name to be used if `create_subnetwork` is true.
|
|
1542
|
-
#
|
|
1543
|
-
# subnetwork.
|
|
1578
|
+
# A custom subnetwork name to be used if `create_subnetwork` is true. If this
|
|
1579
|
+
# field is empty, then an automatic name will be chosen for the new subnetwork.
|
|
1544
1580
|
# Corresponds to the JSON property `subnetworkName`
|
|
1545
1581
|
# @return [String]
|
|
1546
1582
|
attr_accessor :subnetwork_name
|
|
1547
1583
|
|
|
1548
1584
|
# The IP address range of the Cloud TPUs in this cluster. If unspecified, a
|
|
1549
|
-
# range will be automatically chosen with the default size.
|
|
1550
|
-
#
|
|
1551
|
-
#
|
|
1552
|
-
#
|
|
1553
|
-
#
|
|
1554
|
-
#
|
|
1555
|
-
#
|
|
1556
|
-
# notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
|
|
1557
|
-
# `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
|
|
1558
|
-
# to use.
|
|
1585
|
+
# range will be automatically chosen with the default size. This field is only
|
|
1586
|
+
# applicable when `use_ip_aliases` is true. If unspecified, the range will use
|
|
1587
|
+
# the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
|
|
1588
|
+
# specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
|
|
1589
|
+
# Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
|
|
1590
|
+
# networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
|
|
1591
|
+
# specific range to use.
|
|
1559
1592
|
# Corresponds to the JSON property `tpuIpv4CidrBlock`
|
|
1560
1593
|
# @return [String]
|
|
1561
1594
|
attr_accessor :tpu_ipv4_cidr_block
|
|
1562
1595
|
|
|
1563
|
-
# Whether alias IPs will be used for pod IPs in the cluster.
|
|
1596
|
+
# Whether alias IPs will be used for pod IPs in the cluster. This is used in
|
|
1597
|
+
# conjunction with use_routes. It cannot be true if use_routes is true. If both
|
|
1598
|
+
# use_ip_aliases and use_routes are false, then the server picks the default IP
|
|
1599
|
+
# allocation mode
|
|
1564
1600
|
# Corresponds to the JSON property `useIpAliases`
|
|
1565
1601
|
# @return [Boolean]
|
|
1566
1602
|
attr_accessor :use_ip_aliases
|
|
1567
1603
|
alias_method :use_ip_aliases?, :use_ip_aliases
|
|
1568
1604
|
|
|
1605
|
+
# Whether routes will be used for pod IPs in the cluster. This is used in
|
|
1606
|
+
# conjunction with use_ip_aliases. It cannot be true if use_ip_aliases is true.
|
|
1607
|
+
# If both use_ip_aliases and use_routes are false, then the server picks the
|
|
1608
|
+
# default IP allocation mode
|
|
1609
|
+
# Corresponds to the JSON property `useRoutes`
|
|
1610
|
+
# @return [Boolean]
|
|
1611
|
+
attr_accessor :use_routes
|
|
1612
|
+
alias_method :use_routes?, :use_routes
|
|
1613
|
+
|
|
1569
1614
|
def initialize(**args)
|
|
1570
1615
|
update!(**args)
|
|
1571
1616
|
end
|
|
@@ -1584,6 +1629,7 @@ module Google
|
|
|
1584
1629
|
@subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
|
|
1585
1630
|
@tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
|
|
1586
1631
|
@use_ip_aliases = args[:use_ip_aliases] if args.key?(:use_ip_aliases)
|
|
1632
|
+
@use_routes = args[:use_routes] if args.key?(:use_routes)
|
|
1587
1633
|
end
|
|
1588
1634
|
end
|
|
1589
1635
|
|
|
@@ -1695,15 +1741,14 @@ module Google
|
|
|
1695
1741
|
end
|
|
1696
1742
|
end
|
|
1697
1743
|
|
|
1698
|
-
# Configuration for the legacy Attribute Based Access Control authorization
|
|
1699
|
-
# mode.
|
|
1744
|
+
# Configuration for the legacy Attribute Based Access Control authorization mode.
|
|
1700
1745
|
class LegacyAbac
|
|
1701
1746
|
include Google::Apis::Core::Hashable
|
|
1702
1747
|
|
|
1703
1748
|
# Whether the ABAC authorizer is enabled for this cluster. When enabled,
|
|
1704
|
-
# identities in the system, including service accounts, nodes, and
|
|
1705
|
-
#
|
|
1706
|
-
#
|
|
1749
|
+
# identities in the system, including service accounts, nodes, and controllers,
|
|
1750
|
+
# will have statically granted permissions beyond those provided by the RBAC
|
|
1751
|
+
# configuration or IAM.
|
|
1707
1752
|
# Corresponds to the JSON property `enabled`
|
|
1708
1753
|
# @return [Boolean]
|
|
1709
1754
|
attr_accessor :enabled
|
|
@@ -1723,14 +1768,13 @@ module Google
|
|
|
1723
1768
|
class ListClustersResponse
|
|
1724
1769
|
include Google::Apis::Core::Hashable
|
|
1725
1770
|
|
|
1726
|
-
# A list of clusters in the project in the specified zone, or
|
|
1727
|
-
# across all ones.
|
|
1771
|
+
# A list of clusters in the project in the specified zone, or across all ones.
|
|
1728
1772
|
# Corresponds to the JSON property `clusters`
|
|
1729
1773
|
# @return [Array<Google::Apis::ContainerV1::Cluster>]
|
|
1730
1774
|
attr_accessor :clusters
|
|
1731
1775
|
|
|
1732
|
-
# If any zones are listed here, the list of clusters returned
|
|
1733
|
-
#
|
|
1776
|
+
# If any zones are listed here, the list of clusters returned may be missing
|
|
1777
|
+
# those zones.
|
|
1734
1778
|
# Corresponds to the JSON property `missingZones`
|
|
1735
1779
|
# @return [Array<String>]
|
|
1736
1780
|
attr_accessor :missing_zones
|
|
@@ -1769,8 +1813,8 @@ module Google
|
|
|
1769
1813
|
class ListOperationsResponse
|
|
1770
1814
|
include Google::Apis::Core::Hashable
|
|
1771
1815
|
|
|
1772
|
-
# If any zones are listed here, the list of operations returned
|
|
1773
|
-
#
|
|
1816
|
+
# If any zones are listed here, the list of operations returned may be missing
|
|
1817
|
+
# the operations from those zones.
|
|
1774
1818
|
# Corresponds to the JSON property `missingZones`
|
|
1775
1819
|
# @return [Array<String>]
|
|
1776
1820
|
attr_accessor :missing_zones
|
|
@@ -1791,15 +1835,14 @@ module Google
|
|
|
1791
1835
|
end
|
|
1792
1836
|
end
|
|
1793
1837
|
|
|
1794
|
-
# ListUsableSubnetworksResponse is the response of
|
|
1795
|
-
# ListUsableSubnetworksRequest.
|
|
1838
|
+
# ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.
|
|
1796
1839
|
class ListUsableSubnetworksResponse
|
|
1797
1840
|
include Google::Apis::Core::Hashable
|
|
1798
1841
|
|
|
1799
|
-
# This token allows you to get the next page of results for list requests.
|
|
1800
|
-
#
|
|
1801
|
-
#
|
|
1802
|
-
#
|
|
1842
|
+
# This token allows you to get the next page of results for list requests. If
|
|
1843
|
+
# the number of results is larger than `page_size`, use the `next_page_token` as
|
|
1844
|
+
# a value for the query parameter `page_token` in the next request. The value
|
|
1845
|
+
# will become empty when there are no more pages.
|
|
1803
1846
|
# Corresponds to the JSON property `nextPageToken`
|
|
1804
1847
|
# @return [String]
|
|
1805
1848
|
attr_accessor :next_page_token
|
|
@@ -1825,10 +1868,10 @@ module Google
|
|
|
1825
1868
|
include Google::Apis::Core::Hashable
|
|
1826
1869
|
|
|
1827
1870
|
# A hash identifying the version of this policy, so that updates to fields of
|
|
1828
|
-
# the policy won't accidentally undo intermediate changes (and so that users
|
|
1829
|
-
#
|
|
1830
|
-
#
|
|
1831
|
-
#
|
|
1871
|
+
# the policy won't accidentally undo intermediate changes (and so that users of
|
|
1872
|
+
# the API unaware of some fields won't accidentally remove other fields). Make a
|
|
1873
|
+
# `get()` request to the cluster to get the current resource version and include
|
|
1874
|
+
# it with requests to set the policy.
|
|
1832
1875
|
# Corresponds to the JSON property `resourceVersion`
|
|
1833
1876
|
# @return [String]
|
|
1834
1877
|
attr_accessor :resource_version
|
|
@@ -1858,8 +1901,8 @@ module Google
|
|
|
1858
1901
|
# @return [Google::Apis::ContainerV1::DailyMaintenanceWindow]
|
|
1859
1902
|
attr_accessor :daily_maintenance_window
|
|
1860
1903
|
|
|
1861
|
-
# Exceptions to maintenance window. Non-emergency maintenance should not
|
|
1862
|
-
#
|
|
1904
|
+
# Exceptions to maintenance window. Non-emergency maintenance should not occur
|
|
1905
|
+
# in these windows.
|
|
1863
1906
|
# Corresponds to the JSON property `maintenanceExclusions`
|
|
1864
1907
|
# @return [Hash<String,Google::Apis::ContainerV1::TimeWindow>]
|
|
1865
1908
|
attr_accessor :maintenance_exclusions
|
|
@@ -1882,8 +1925,7 @@ module Google
|
|
|
1882
1925
|
end
|
|
1883
1926
|
|
|
1884
1927
|
# The authentication information for accessing the master endpoint.
|
|
1885
|
-
# Authentication can be done using HTTP basic auth or using client
|
|
1886
|
-
# certificates.
|
|
1928
|
+
# Authentication can be done using HTTP basic auth or using client certificates.
|
|
1887
1929
|
class MasterAuth
|
|
1888
1930
|
include Google::Apis::Core::Hashable
|
|
1889
1931
|
|
|
@@ -1898,29 +1940,36 @@ module Google
|
|
|
1898
1940
|
# @return [Google::Apis::ContainerV1::ClientCertificateConfig]
|
|
1899
1941
|
attr_accessor :client_certificate_config
|
|
1900
1942
|
|
|
1901
|
-
# [Output only] Base64-encoded private key used by clients to authenticate
|
|
1902
|
-
#
|
|
1943
|
+
# [Output only] Base64-encoded private key used by clients to authenticate to
|
|
1944
|
+
# the cluster endpoint.
|
|
1903
1945
|
# Corresponds to the JSON property `clientKey`
|
|
1904
1946
|
# @return [String]
|
|
1905
1947
|
attr_accessor :client_key
|
|
1906
1948
|
|
|
1907
|
-
# [Output only] Base64-encoded public certificate that is the root of
|
|
1908
|
-
#
|
|
1949
|
+
# [Output only] Base64-encoded public certificate that is the root of trust for
|
|
1950
|
+
# the cluster.
|
|
1909
1951
|
# Corresponds to the JSON property `clusterCaCertificate`
|
|
1910
1952
|
# @return [String]
|
|
1911
1953
|
attr_accessor :cluster_ca_certificate
|
|
1912
1954
|
|
|
1913
1955
|
# The password to use for HTTP basic authentication to the master endpoint.
|
|
1914
1956
|
# Because the master endpoint is open to the Internet, you should create a
|
|
1915
|
-
# strong password.
|
|
1916
|
-
#
|
|
1957
|
+
# strong password. If a password is provided for cluster creation, username must
|
|
1958
|
+
# be non-empty. Warning: basic authentication is deprecated, and will be removed
|
|
1959
|
+
# in GKE control plane versions 1.19 and newer. For a list of recommended
|
|
1960
|
+
# authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/
|
|
1961
|
+
# how-to/api-server-authentication
|
|
1917
1962
|
# Corresponds to the JSON property `password`
|
|
1918
1963
|
# @return [String]
|
|
1919
1964
|
attr_accessor :password
|
|
1920
1965
|
|
|
1921
|
-
# The username to use for HTTP basic authentication to the master endpoint.
|
|
1922
|
-
#
|
|
1923
|
-
#
|
|
1966
|
+
# The username to use for HTTP basic authentication to the master endpoint. For
|
|
1967
|
+
# clusters v1.6.0 and later, basic authentication can be disabled by leaving
|
|
1968
|
+
# username unspecified (or setting it to the empty string). Warning: basic
|
|
1969
|
+
# authentication is deprecated, and will be removed in GKE control plane
|
|
1970
|
+
# versions 1.19 and newer. For a list of recommended authentication methods, see:
|
|
1971
|
+
# https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-
|
|
1972
|
+
# authentication
|
|
1924
1973
|
# Corresponds to the JSON property `username`
|
|
1925
1974
|
# @return [String]
|
|
1926
1975
|
attr_accessor :username
|
|
@@ -1947,8 +1996,8 @@ module Google
|
|
|
1947
1996
|
class MasterAuthorizedNetworksConfig
|
|
1948
1997
|
include Google::Apis::Core::Hashable
|
|
1949
1998
|
|
|
1950
|
-
# cidr_blocks define up to 50 external networks that could access
|
|
1951
|
-
#
|
|
1999
|
+
# cidr_blocks define up to 50 external networks that could access Kubernetes
|
|
2000
|
+
# master through HTTPS.
|
|
1952
2001
|
# Corresponds to the JSON property `cidrBlocks`
|
|
1953
2002
|
# @return [Array<Google::Apis::ContainerV1::CidrBlock>]
|
|
1954
2003
|
attr_accessor :cidr_blocks
|
|
@@ -2030,25 +2079,29 @@ module Google
|
|
|
2030
2079
|
class NetworkConfig
|
|
2031
2080
|
include Google::Apis::Core::Hashable
|
|
2032
2081
|
|
|
2033
|
-
#
|
|
2034
|
-
#
|
|
2082
|
+
# DefaultSnatStatus contains the desired state of whether default sNAT should be
|
|
2083
|
+
# disabled on the cluster.
|
|
2084
|
+
# Corresponds to the JSON property `defaultSnatStatus`
|
|
2085
|
+
# @return [Google::Apis::ContainerV1::DefaultSnatStatus]
|
|
2086
|
+
attr_accessor :default_snat_status
|
|
2087
|
+
|
|
2088
|
+
# Whether Intra-node visibility is enabled for this cluster. This makes same
|
|
2089
|
+
# node pod to pod traffic visible for VPC network.
|
|
2035
2090
|
# Corresponds to the JSON property `enableIntraNodeVisibility`
|
|
2036
2091
|
# @return [Boolean]
|
|
2037
2092
|
attr_accessor :enable_intra_node_visibility
|
|
2038
2093
|
alias_method :enable_intra_node_visibility?, :enable_intra_node_visibility
|
|
2039
2094
|
|
|
2040
|
-
# Output only. The relative name of the Google Compute Engine
|
|
2041
|
-
#
|
|
2042
|
-
#
|
|
2043
|
-
# projects/my-project/global/networks/my-network
|
|
2095
|
+
# Output only. The relative name of the Google Compute Engine network(https://
|
|
2096
|
+
# cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the
|
|
2097
|
+
# cluster is connected. Example: projects/my-project/global/networks/my-network
|
|
2044
2098
|
# Corresponds to the JSON property `network`
|
|
2045
2099
|
# @return [String]
|
|
2046
2100
|
attr_accessor :network
|
|
2047
2101
|
|
|
2048
|
-
# Output only. The relative name of the Google Compute Engine
|
|
2049
|
-
#
|
|
2050
|
-
#
|
|
2051
|
-
# projects/my-project/regions/us-central1/subnetworks/my-subnet
|
|
2102
|
+
# Output only. The relative name of the Google Compute Engine [subnetwork](https:
|
|
2103
|
+
# //cloud.google.com/compute/docs/vpc) to which the cluster is connected.
|
|
2104
|
+
# Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
|
|
2052
2105
|
# Corresponds to the JSON property `subnetwork`
|
|
2053
2106
|
# @return [String]
|
|
2054
2107
|
attr_accessor :subnetwork
|
|
@@ -2059,14 +2112,15 @@ module Google
|
|
|
2059
2112
|
|
|
2060
2113
|
# Update properties of this object
|
|
2061
2114
|
def update!(**args)
|
|
2115
|
+
@default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
|
|
2062
2116
|
@enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
|
|
2063
2117
|
@network = args[:network] if args.key?(:network)
|
|
2064
2118
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
|
2065
2119
|
end
|
|
2066
2120
|
end
|
|
2067
2121
|
|
|
2068
|
-
# Configuration options for the NetworkPolicy feature.
|
|
2069
|
-
#
|
|
2122
|
+
# Configuration options for the NetworkPolicy feature. https://kubernetes.io/
|
|
2123
|
+
# docs/concepts/services-networking/networkpolicies/
|
|
2070
2124
|
class NetworkPolicy
|
|
2071
2125
|
include Google::Apis::Core::Hashable
|
|
2072
2126
|
|
|
@@ -2092,9 +2146,9 @@ module Google
|
|
|
2092
2146
|
end
|
|
2093
2147
|
end
|
|
2094
2148
|
|
|
2095
|
-
# Configuration for NetworkPolicy. This only tracks whether the addon
|
|
2096
|
-
#
|
|
2097
|
-
#
|
|
2149
|
+
# Configuration for NetworkPolicy. This only tracks whether the addon is enabled
|
|
2150
|
+
# or not on the Master, it does not track whether network policy is enabled for
|
|
2151
|
+
# the nodes.
|
|
2098
2152
|
class NetworkPolicyConfig
|
|
2099
2153
|
include Google::Apis::Core::Hashable
|
|
2100
2154
|
|
|
@@ -2118,154 +2172,124 @@ module Google
|
|
|
2118
2172
|
class NodeConfig
|
|
2119
2173
|
include Google::Apis::Core::Hashable
|
|
2120
2174
|
|
|
2121
|
-
# A list of hardware accelerators to be attached to each node.
|
|
2122
|
-
#
|
|
2123
|
-
# support for GPUs.
|
|
2175
|
+
# A list of hardware accelerators to be attached to each node. See https://cloud.
|
|
2176
|
+
# google.com/compute/docs/gpus for more information about support for GPUs.
|
|
2124
2177
|
# Corresponds to the JSON property `accelerators`
|
|
2125
2178
|
# @return [Array<Google::Apis::ContainerV1::AcceleratorConfig>]
|
|
2126
2179
|
attr_accessor :accelerators
|
|
2127
2180
|
|
|
2128
|
-
# The Customer Managed Encryption Key used to encrypt the boot disk attached
|
|
2129
|
-
#
|
|
2130
|
-
#
|
|
2131
|
-
#
|
|
2132
|
-
#
|
|
2133
|
-
# see:
|
|
2134
|
-
# https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
|
2181
|
+
# The Customer Managed Encryption Key used to encrypt the boot disk attached to
|
|
2182
|
+
# each node in the node pool. This should be of the form projects/[
|
|
2183
|
+
# KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
|
|
2184
|
+
# . For more information about protecting resources with Cloud KMS Keys please
|
|
2185
|
+
# see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
|
2135
2186
|
# Corresponds to the JSON property `bootDiskKmsKey`
|
|
2136
2187
|
# @return [String]
|
|
2137
2188
|
attr_accessor :boot_disk_kms_key
|
|
2138
2189
|
|
|
2139
|
-
# Size of the disk attached to each node, specified in GB.
|
|
2140
|
-
#
|
|
2141
|
-
# If unspecified, the default disk size is 100GB.
|
|
2190
|
+
# Size of the disk attached to each node, specified in GB. The smallest allowed
|
|
2191
|
+
# disk size is 10GB. If unspecified, the default disk size is 100GB.
|
|
2142
2192
|
# Corresponds to the JSON property `diskSizeGb`
|
|
2143
2193
|
# @return [Fixnum]
|
|
2144
2194
|
attr_accessor :disk_size_gb
|
|
2145
2195
|
|
|
2146
|
-
# Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd')
|
|
2147
|
-
#
|
|
2196
|
+
# Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If
|
|
2197
|
+
# unspecified, the default disk type is 'pd-standard'
|
|
2148
2198
|
# Corresponds to the JSON property `diskType`
|
|
2149
2199
|
# @return [String]
|
|
2150
2200
|
attr_accessor :disk_type
|
|
2151
2201
|
|
|
2152
|
-
# The image type to use for this node. Note that for a given image type,
|
|
2153
|
-
#
|
|
2202
|
+
# The image type to use for this node. Note that for a given image type, the
|
|
2203
|
+
# latest version of it will be used.
|
|
2154
2204
|
# Corresponds to the JSON property `imageType`
|
|
2155
2205
|
# @return [String]
|
|
2156
2206
|
attr_accessor :image_type
|
|
2157
2207
|
|
|
2158
2208
|
# The map of Kubernetes labels (key/value pairs) to be applied to each node.
|
|
2159
|
-
# These will added in addition to any default label(s) that
|
|
2160
|
-
#
|
|
2161
|
-
#
|
|
2162
|
-
#
|
|
2163
|
-
# and
|
|
2164
|
-
#
|
|
2165
|
-
# https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
|
2209
|
+
# These will added in addition to any default label(s) that Kubernetes may apply
|
|
2210
|
+
# to the node. In case of conflict in label keys, the applied set may differ
|
|
2211
|
+
# depending on the Kubernetes version -- it's best to assume the behavior is
|
|
2212
|
+
# undefined and conflicts should be avoided. For more information, including
|
|
2213
|
+
# usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/
|
|
2214
|
+
# working-with-objects/labels/
|
|
2166
2215
|
# Corresponds to the JSON property `labels`
|
|
2167
2216
|
# @return [Hash<String,String>]
|
|
2168
2217
|
attr_accessor :labels
|
|
2169
2218
|
|
|
2170
|
-
# The number of local SSD disks to be attached to the node.
|
|
2171
|
-
#
|
|
2172
|
-
#
|
|
2173
|
-
#
|
|
2174
|
-
# for more information.
|
|
2219
|
+
# The number of local SSD disks to be attached to the node. The limit for this
|
|
2220
|
+
# value is dependent upon the maximum number of disks available on a machine per
|
|
2221
|
+
# zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more
|
|
2222
|
+
# information.
|
|
2175
2223
|
# Corresponds to the JSON property `localSsdCount`
|
|
2176
2224
|
# @return [Fixnum]
|
|
2177
2225
|
attr_accessor :local_ssd_count
|
|
2178
2226
|
|
|
2179
|
-
# The name of a Google Compute Engine [machine
|
|
2180
|
-
#
|
|
2181
|
-
#
|
|
2182
|
-
# If unspecified, the default machine type is
|
|
2183
|
-
# `n1-standard-1`.
|
|
2227
|
+
# The name of a Google Compute Engine [machine type](https://cloud.google.com/
|
|
2228
|
+
# compute/docs/machine-types) If unspecified, the default machine type is `e2-
|
|
2229
|
+
# medium`.
|
|
2184
2230
|
# Corresponds to the JSON property `machineType`
|
|
2185
2231
|
# @return [String]
|
|
2186
2232
|
attr_accessor :machine_type
|
|
2187
2233
|
|
|
2188
|
-
# The metadata key/value pairs assigned to instances in the cluster.
|
|
2189
|
-
#
|
|
2190
|
-
#
|
|
2191
|
-
#
|
|
2192
|
-
#
|
|
2193
|
-
# "cluster-
|
|
2194
|
-
# "
|
|
2195
|
-
# "
|
|
2196
|
-
# "
|
|
2197
|
-
# "
|
|
2198
|
-
# "
|
|
2199
|
-
#
|
|
2200
|
-
#
|
|
2201
|
-
#
|
|
2202
|
-
# "instance-template"
|
|
2203
|
-
# "kube-env"
|
|
2204
|
-
# "startup-script"
|
|
2205
|
-
# "user-data"
|
|
2206
|
-
# "disable-address-manager"
|
|
2207
|
-
# "windows-startup-script-ps1"
|
|
2208
|
-
# "common-psm1"
|
|
2209
|
-
# "k8s-node-setup-psm1"
|
|
2210
|
-
# "install-ssh-psm1"
|
|
2211
|
-
# "user-profile-psm1"
|
|
2212
|
-
# "serial-port-logging-enable"
|
|
2213
|
-
# Values are free-form strings, and only have meaning as interpreted by
|
|
2214
|
-
# the image running in the instance. The only restriction placed on them is
|
|
2215
|
-
# that each value's size must be less than or equal to 32 KB.
|
|
2216
|
-
# The total size of all keys and values must be less than 512 KB.
|
|
2234
|
+
# The metadata key/value pairs assigned to instances in the cluster. Keys must
|
|
2235
|
+
# conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length.
|
|
2236
|
+
# These are reflected as part of a URL in the metadata server. Additionally, to
|
|
2237
|
+
# avoid ambiguity, keys must not conflict with any other metadata keys for the
|
|
2238
|
+
# project or be one of the reserved keys: - "cluster-location" - "cluster-name" -
|
|
2239
|
+
# "cluster-uid" - "configure-sh" - "containerd-configure-sh" - "enable-os-login"
|
|
2240
|
+
# - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "
|
|
2241
|
+
# instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-
|
|
2242
|
+
# address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-
|
|
2243
|
+
# setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" - "serial-port-logging-
|
|
2244
|
+
# enable" Values are free-form strings, and only have meaning as interpreted by
|
|
2245
|
+
# the image running in the instance. The only restriction placed on them is that
|
|
2246
|
+
# each value's size must be less than or equal to 32 KB. The total size of all
|
|
2247
|
+
# keys and values must be less than 512 KB.
|
|
2217
2248
|
# Corresponds to the JSON property `metadata`
|
|
2218
2249
|
# @return [Hash<String,String>]
|
|
2219
2250
|
attr_accessor :metadata
|
|
2220
2251
|
|
|
2221
2252
|
# Minimum CPU platform to be used by this instance. The instance may be
|
|
2222
2253
|
# scheduled on the specified or newer CPU platform. Applicable values are the
|
|
2223
|
-
# friendly names of CPU platforms, such as
|
|
2224
|
-
#
|
|
2225
|
-
#
|
|
2226
|
-
#
|
|
2227
|
-
# platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-
|
|
2228
|
-
# platform)
|
|
2254
|
+
# friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` or `
|
|
2255
|
+
# minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to
|
|
2256
|
+
# specify min CPU platform](https://cloud.google.com/compute/docs/instances/
|
|
2257
|
+
# specify-min-cpu-platform)
|
|
2229
2258
|
# Corresponds to the JSON property `minCpuPlatform`
|
|
2230
2259
|
# @return [String]
|
|
2231
2260
|
attr_accessor :min_cpu_platform
|
|
2232
2261
|
|
|
2233
|
-
# Setting this field will assign instances of this
|
|
2234
|
-
#
|
|
2235
|
-
#
|
|
2236
|
-
# nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
|
|
2262
|
+
# Setting this field will assign instances of this pool to run on the specified
|
|
2263
|
+
# node group. This is useful for running workloads on [sole tenant nodes](https:/
|
|
2264
|
+
# /cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
|
|
2237
2265
|
# Corresponds to the JSON property `nodeGroup`
|
|
2238
2266
|
# @return [String]
|
|
2239
2267
|
attr_accessor :node_group
|
|
2240
2268
|
|
|
2241
|
-
# The set of Google API scopes to be made available on all of the
|
|
2242
|
-
#
|
|
2243
|
-
#
|
|
2244
|
-
#
|
|
2245
|
-
#
|
|
2246
|
-
#
|
|
2247
|
-
#
|
|
2248
|
-
#
|
|
2249
|
-
#
|
|
2250
|
-
# Registry](https://cloud.google.com/container-registry/)).
|
|
2251
|
-
# If unspecified, no scopes are added, unless Cloud Logging or Cloud
|
|
2252
|
-
# Monitoring are enabled, in which case their required scopes will be added.
|
|
2269
|
+
# The set of Google API scopes to be made available on all of the node VMs under
|
|
2270
|
+
# the "default" service account. The following scopes are recommended, but not
|
|
2271
|
+
# required, and by default are not included: * `https://www.googleapis.com/auth/
|
|
2272
|
+
# compute` is required for mounting persistent storage on your nodes. * `https://
|
|
2273
|
+
# www.googleapis.com/auth/devstorage.read_only` is required for communicating
|
|
2274
|
+
# with **gcr.io** (the [Google Container Registry](https://cloud.google.com/
|
|
2275
|
+
# container-registry/)). If unspecified, no scopes are added, unless Cloud
|
|
2276
|
+
# Logging or Cloud Monitoring are enabled, in which case their required scopes
|
|
2277
|
+
# will be added.
|
|
2253
2278
|
# Corresponds to the JSON property `oauthScopes`
|
|
2254
2279
|
# @return [Array<String>]
|
|
2255
2280
|
attr_accessor :oauth_scopes
|
|
2256
2281
|
|
|
2257
|
-
# Whether the nodes are created as preemptible VM instances. See:
|
|
2258
|
-
#
|
|
2259
|
-
#
|
|
2282
|
+
# Whether the nodes are created as preemptible VM instances. See: https://cloud.
|
|
2283
|
+
# google.com/compute/docs/instances/preemptible for more information about
|
|
2284
|
+
# preemptible VM instances.
|
|
2260
2285
|
# Corresponds to the JSON property `preemptible`
|
|
2261
2286
|
# @return [Boolean]
|
|
2262
2287
|
attr_accessor :preemptible
|
|
2263
2288
|
alias_method :preemptible?, :preemptible
|
|
2264
2289
|
|
|
2265
2290
|
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
|
|
2266
|
-
# reserving-zonal-resources)
|
|
2267
|
-
#
|
|
2268
|
-
# capacity from.
|
|
2291
|
+
# reserving-zonal-resources) is the configuration of desired reservation which
|
|
2292
|
+
# instances could take capacity from.
|
|
2269
2293
|
# Corresponds to the JSON property `reservationAffinity`
|
|
2270
2294
|
# @return [Google::Apis::ContainerV1::ReservationAffinity]
|
|
2271
2295
|
attr_accessor :reservation_affinity
|
|
@@ -2275,9 +2299,9 @@ module Google
|
|
|
2275
2299
|
# @return [Google::Apis::ContainerV1::SandboxConfig]
|
|
2276
2300
|
attr_accessor :sandbox_config
|
|
2277
2301
|
|
|
2278
|
-
# The Google Cloud Platform Service Account to be used by the node VMs.
|
|
2279
|
-
#
|
|
2280
|
-
#
|
|
2302
|
+
# The Google Cloud Platform Service Account to be used by the node VMs. Specify
|
|
2303
|
+
# the email address of the Service Account; otherwise, if no Service Account is
|
|
2304
|
+
# specified, the "default" service account is used.
|
|
2281
2305
|
# Corresponds to the JSON property `serviceAccount`
|
|
2282
2306
|
# @return [String]
|
|
2283
2307
|
attr_accessor :service_account
|
|
@@ -2288,16 +2312,16 @@ module Google
|
|
|
2288
2312
|
attr_accessor :shielded_instance_config
|
|
2289
2313
|
|
|
2290
2314
|
# The list of instance tags applied to all nodes. Tags are used to identify
|
|
2291
|
-
# valid sources or targets for network firewalls and are specified by
|
|
2292
|
-
#
|
|
2293
|
-
#
|
|
2315
|
+
# valid sources or targets for network firewalls and are specified by the client
|
|
2316
|
+
# during cluster or node pool creation. Each tag within the list must comply
|
|
2317
|
+
# with RFC1035.
|
|
2294
2318
|
# Corresponds to the JSON property `tags`
|
|
2295
2319
|
# @return [Array<String>]
|
|
2296
2320
|
attr_accessor :tags
|
|
2297
2321
|
|
|
2298
|
-
# List of kubernetes taints to be applied to each node.
|
|
2299
|
-
#
|
|
2300
|
-
#
|
|
2322
|
+
# List of kubernetes taints to be applied to each node. For more information,
|
|
2323
|
+
# including usage and the valid values, see: https://kubernetes.io/docs/concepts/
|
|
2324
|
+
# configuration/taint-and-toleration/
|
|
2301
2325
|
# Corresponds to the JSON property `taints`
|
|
2302
2326
|
# @return [Array<Google::Apis::ContainerV1::NodeTaint>]
|
|
2303
2327
|
attr_accessor :taints
|
|
@@ -2343,24 +2367,24 @@ module Google
|
|
|
2343
2367
|
include Google::Apis::Core::Hashable
|
|
2344
2368
|
|
|
2345
2369
|
# A flag that specifies whether the node auto-repair is enabled for the node
|
|
2346
|
-
# pool. If enabled, the nodes in this node pool will be monitored and, if
|
|
2347
|
-
#
|
|
2370
|
+
# pool. If enabled, the nodes in this node pool will be monitored and, if they
|
|
2371
|
+
# fail health checks too many times, an automatic repair action will be
|
|
2348
2372
|
# triggered.
|
|
2349
2373
|
# Corresponds to the JSON property `autoRepair`
|
|
2350
2374
|
# @return [Boolean]
|
|
2351
2375
|
attr_accessor :auto_repair
|
|
2352
2376
|
alias_method :auto_repair?, :auto_repair
|
|
2353
2377
|
|
|
2354
|
-
# A flag that specifies whether node auto-upgrade is enabled for the node
|
|
2355
|
-
#
|
|
2356
|
-
#
|
|
2378
|
+
# A flag that specifies whether node auto-upgrade is enabled for the node pool.
|
|
2379
|
+
# If enabled, node auto-upgrade helps keep the nodes in your node pool up to
|
|
2380
|
+
# date with the latest release version of Kubernetes.
|
|
2357
2381
|
# Corresponds to the JSON property `autoUpgrade`
|
|
2358
2382
|
# @return [Boolean]
|
|
2359
2383
|
attr_accessor :auto_upgrade
|
|
2360
2384
|
alias_method :auto_upgrade?, :auto_upgrade
|
|
2361
2385
|
|
|
2362
|
-
# AutoUpgradeOptions defines the set of options for the user to control how
|
|
2363
|
-
#
|
|
2386
|
+
# AutoUpgradeOptions defines the set of options for the user to control how the
|
|
2387
|
+
# Auto Upgrades will proceed.
|
|
2364
2388
|
# Corresponds to the JSON property `upgradeOptions`
|
|
2365
2389
|
# @return [Google::Apis::ContainerV1::AutoUpgradeOptions]
|
|
2366
2390
|
attr_accessor :upgrade_options
|
|
@@ -2377,12 +2401,12 @@ module Google
|
|
|
2377
2401
|
end
|
|
2378
2402
|
end
|
|
2379
2403
|
|
|
2380
|
-
# NodePool contains the name and configuration for a cluster's node pool.
|
|
2381
|
-
#
|
|
2382
|
-
# specification, under the control of the cluster master. They may have a set
|
|
2383
|
-
#
|
|
2384
|
-
#
|
|
2385
|
-
#
|
|
2404
|
+
# NodePool contains the name and configuration for a cluster's node pool. Node
|
|
2405
|
+
# pools are a set of nodes (i.e. VM's), with a common configuration and
|
|
2406
|
+
# specification, under the control of the cluster master. They may have a set of
|
|
2407
|
+
# Kubernetes labels applied to them, which may be used to reference them during
|
|
2408
|
+
# pod scheduling. They may also be resized up or down, to accommodate the
|
|
2409
|
+
# workload.
|
|
2386
2410
|
class NodePool
|
|
2387
2411
|
include Google::Apis::Core::Hashable
|
|
2388
2412
|
|
|
@@ -2402,25 +2426,23 @@ module Google
|
|
|
2402
2426
|
# @return [Google::Apis::ContainerV1::NodeConfig]
|
|
2403
2427
|
attr_accessor :config
|
|
2404
2428
|
|
|
2405
|
-
# The initial node count for the pool. You must ensure that your
|
|
2406
|
-
#
|
|
2407
|
-
#
|
|
2408
|
-
#
|
|
2429
|
+
# The initial node count for the pool. You must ensure that your Compute Engine [
|
|
2430
|
+
# resource quota](https://cloud.google.com/compute/quotas) is sufficient for
|
|
2431
|
+
# this number of instances. You must also have available firewall and routes
|
|
2432
|
+
# quota.
|
|
2409
2433
|
# Corresponds to the JSON property `initialNodeCount`
|
|
2410
2434
|
# @return [Fixnum]
|
|
2411
2435
|
attr_accessor :initial_node_count
|
|
2412
2436
|
|
|
2413
|
-
# [Output only] The resource URLs of the [managed instance
|
|
2414
|
-
#
|
|
2415
|
-
# of-managed-instances)
|
|
2437
|
+
# [Output only] The resource URLs of the [managed instance groups](https://cloud.
|
|
2438
|
+
# google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
|
|
2416
2439
|
# associated with this node pool.
|
|
2417
2440
|
# Corresponds to the JSON property `instanceGroupUrls`
|
|
2418
2441
|
# @return [Array<String>]
|
|
2419
2442
|
attr_accessor :instance_group_urls
|
|
2420
2443
|
|
|
2421
|
-
# The list of Google Compute Engine
|
|
2422
|
-
#
|
|
2423
|
-
# NodePool's nodes should be located.
|
|
2444
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
|
2445
|
+
# docs/zones#available) in which the NodePool's nodes should be located.
|
|
2424
2446
|
# Corresponds to the JSON property `locations`
|
|
2425
2447
|
# @return [Array<String>]
|
|
2426
2448
|
attr_accessor :locations
|
|
@@ -2456,30 +2478,26 @@ module Google
|
|
|
2456
2478
|
# @return [String]
|
|
2457
2479
|
attr_accessor :status
|
|
2458
2480
|
|
|
2459
|
-
# [Output only] Additional information about the current status of this
|
|
2460
|
-
#
|
|
2481
|
+
# [Output only] Additional information about the current status of this node
|
|
2482
|
+
# pool instance, if available.
|
|
2461
2483
|
# Corresponds to the JSON property `statusMessage`
|
|
2462
2484
|
# @return [String]
|
|
2463
2485
|
attr_accessor :status_message
|
|
2464
2486
|
|
|
2465
2487
|
# These upgrade settings control the level of parallelism and the level of
|
|
2466
|
-
# disruption caused by an upgrade.
|
|
2467
|
-
#
|
|
2468
|
-
#
|
|
2469
|
-
#
|
|
2470
|
-
#
|
|
2471
|
-
#
|
|
2472
|
-
#
|
|
2473
|
-
#
|
|
2474
|
-
#
|
|
2475
|
-
#
|
|
2476
|
-
#
|
|
2477
|
-
#
|
|
2478
|
-
#
|
|
2479
|
-
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
|
2480
|
-
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
|
2481
|
-
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
|
2482
|
-
# there are always at least 4 nodes available.
|
|
2488
|
+
# disruption caused by an upgrade. maxUnavailable controls the number of nodes
|
|
2489
|
+
# that can be simultaneously unavailable. maxSurge controls the number of
|
|
2490
|
+
# additional nodes that can be added to the node pool temporarily for the time
|
|
2491
|
+
# of the upgrade to increase the number of available nodes. (maxUnavailable +
|
|
2492
|
+
# maxSurge) determines the level of parallelism (how many nodes are being
|
|
2493
|
+
# upgraded at the same time). Note: upgrades inevitably introduce some
|
|
2494
|
+
# disruption since workloads need to be moved from old nodes to new, upgraded
|
|
2495
|
+
# ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
|
|
2496
|
+
# limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
|
|
2497
|
+
# node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
|
|
2498
|
+
# upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
|
|
2499
|
+
# upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
|
|
2500
|
+
# same time. This ensures that there are always at least 4 nodes available.
|
|
2483
2501
|
# Corresponds to the JSON property `upgradeSettings`
|
|
2484
2502
|
# @return [Google::Apis::ContainerV1::UpgradeSettings]
|
|
2485
2503
|
attr_accessor :upgrade_settings
|
|
@@ -2530,14 +2548,13 @@ module Google
|
|
|
2530
2548
|
attr_accessor :enabled
|
|
2531
2549
|
alias_method :enabled?, :enabled
|
|
2532
2550
|
|
|
2533
|
-
# Maximum number of nodes in the NodePool. Must be >= min_node_count. There
|
|
2534
|
-
#
|
|
2551
|
+
# Maximum number of nodes in the NodePool. Must be >= min_node_count. There has
|
|
2552
|
+
# to enough quota to scale up the cluster.
|
|
2535
2553
|
# Corresponds to the JSON property `maxNodeCount`
|
|
2536
2554
|
# @return [Fixnum]
|
|
2537
2555
|
attr_accessor :max_node_count
|
|
2538
2556
|
|
|
2539
|
-
# Minimum number of nodes in the NodePool. Must be >= 1 and <=
|
|
2540
|
-
# max_node_count.
|
|
2557
|
+
# Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.
|
|
2541
2558
|
# Corresponds to the JSON property `minNodeCount`
|
|
2542
2559
|
# @return [Fixnum]
|
|
2543
2560
|
attr_accessor :min_node_count
|
|
@@ -2556,8 +2573,7 @@ module Google
|
|
|
2556
2573
|
end
|
|
2557
2574
|
|
|
2558
2575
|
# Kubernetes taint is comprised of three fields: key, value, and effect. Effect
|
|
2559
|
-
# can only be one of three types:
|
|
2560
|
-
# See
|
|
2576
|
+
# can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See
|
|
2561
2577
|
# [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
|
|
2562
2578
|
# for more information, including usage and the valid values.
|
|
2563
2579
|
class NodeTaint
|
|
@@ -2605,18 +2621,15 @@ module Google
|
|
|
2605
2621
|
# @return [String]
|
|
2606
2622
|
attr_accessor :detail
|
|
2607
2623
|
|
|
2608
|
-
# [Output only] The time the operation completed, in
|
|
2609
|
-
#
|
|
2624
|
+
# [Output only] The time the operation completed, in [RFC3339](https://www.ietf.
|
|
2625
|
+
# org/rfc/rfc3339.txt) text format.
|
|
2610
2626
|
# Corresponds to the JSON property `endTime`
|
|
2611
2627
|
# @return [String]
|
|
2612
2628
|
attr_accessor :end_time
|
|
2613
2629
|
|
|
2614
|
-
# [Output only] The name of the Google Compute Engine
|
|
2615
|
-
#
|
|
2616
|
-
# available)
|
|
2617
|
-
# or
|
|
2618
|
-
# [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
|
|
2619
|
-
# available)
|
|
2630
|
+
# [Output only] The name of the Google Compute Engine [zone](https://cloud.
|
|
2631
|
+
# google.com/compute/docs/regions-zones/regions-zones#available) or [region](
|
|
2632
|
+
# https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
|
|
2620
2633
|
# in which the cluster resides.
|
|
2621
2634
|
# Corresponds to the JSON property `location`
|
|
2622
2635
|
# @return [String]
|
|
@@ -2647,8 +2660,8 @@ module Google
|
|
|
2647
2660
|
# @return [String]
|
|
2648
2661
|
attr_accessor :self_link
|
|
2649
2662
|
|
|
2650
|
-
# [Output only] The time the operation started, in
|
|
2651
|
-
#
|
|
2663
|
+
# [Output only] The time the operation started, in [RFC3339](https://www.ietf.
|
|
2664
|
+
# org/rfc/rfc3339.txt) text format.
|
|
2652
2665
|
# Corresponds to the JSON property `startTime`
|
|
2653
2666
|
# @return [String]
|
|
2654
2667
|
attr_accessor :start_time
|
|
@@ -2668,9 +2681,9 @@ module Google
|
|
|
2668
2681
|
# @return [String]
|
|
2669
2682
|
attr_accessor :target_link
|
|
2670
2683
|
|
|
2671
|
-
# The name of the Google Compute Engine
|
|
2672
|
-
#
|
|
2673
|
-
#
|
|
2684
|
+
# The name of the Google Compute Engine [zone](https://cloud.google.com/compute/
|
|
2685
|
+
# docs/zones#available) in which the operation is taking place. This field is
|
|
2686
|
+
# deprecated, use location instead.
|
|
2674
2687
|
# Corresponds to the JSON property `zone`
|
|
2675
2688
|
# @return [String]
|
|
2676
2689
|
attr_accessor :zone
|
|
@@ -2702,18 +2715,15 @@ module Google
|
|
|
2702
2715
|
class OperationProgress
|
|
2703
2716
|
include Google::Apis::Core::Hashable
|
|
2704
2717
|
|
|
2705
|
-
# Progress metric bundle, for example:
|
|
2706
|
-
#
|
|
2707
|
-
# `name: "
|
|
2708
|
-
# or
|
|
2709
|
-
# metrics: [`name: "progress", double_value: 0.56`,
|
|
2710
|
-
# `name: "progress scale", double_value: 1.0`]
|
|
2718
|
+
# Progress metric bundle, for example: metrics: [`name: "nodes done", int_value:
|
|
2719
|
+
# 15`, `name: "nodes total", int_value: 32`] or metrics: [`name: "progress",
|
|
2720
|
+
# double_value: 0.56`, `name: "progress scale", double_value: 1.0`]
|
|
2711
2721
|
# Corresponds to the JSON property `metrics`
|
|
2712
2722
|
# @return [Array<Google::Apis::ContainerV1::Metric>]
|
|
2713
2723
|
attr_accessor :metrics
|
|
2714
2724
|
|
|
2715
|
-
# A non-parameterized string describing an operation stage.
|
|
2716
|
-
#
|
|
2725
|
+
# A non-parameterized string describing an operation stage. Unset for single-
|
|
2726
|
+
# stage operations.
|
|
2717
2727
|
# Corresponds to the JSON property `name`
|
|
2718
2728
|
# @return [String]
|
|
2719
2729
|
attr_accessor :name
|
|
@@ -2723,8 +2733,7 @@ module Google
|
|
|
2723
2733
|
# @return [Array<Google::Apis::ContainerV1::OperationProgress>]
|
|
2724
2734
|
attr_accessor :stages
|
|
2725
2735
|
|
|
2726
|
-
# Status of an operation stage.
|
|
2727
|
-
# Unset for single-stage operations.
|
|
2736
|
+
# Status of an operation stage. Unset for single-stage operations.
|
|
2728
2737
|
# Corresponds to the JSON property `status`
|
|
2729
2738
|
# @return [String]
|
|
2730
2739
|
attr_accessor :status
|
|
@@ -2752,18 +2761,23 @@ module Google
|
|
|
2752
2761
|
attr_accessor :enable_private_endpoint
|
|
2753
2762
|
alias_method :enable_private_endpoint?, :enable_private_endpoint
|
|
2754
2763
|
|
|
2755
|
-
# Whether nodes have internal IP addresses only. If enabled, all nodes are
|
|
2756
|
-
#
|
|
2757
|
-
#
|
|
2764
|
+
# Whether nodes have internal IP addresses only. If enabled, all nodes are given
|
|
2765
|
+
# only RFC 1918 private addresses and communicate with the master via private
|
|
2766
|
+
# networking.
|
|
2758
2767
|
# Corresponds to the JSON property `enablePrivateNodes`
|
|
2759
2768
|
# @return [Boolean]
|
|
2760
2769
|
attr_accessor :enable_private_nodes
|
|
2761
2770
|
alias_method :enable_private_nodes?, :enable_private_nodes
|
|
2762
2771
|
|
|
2763
|
-
#
|
|
2764
|
-
#
|
|
2765
|
-
#
|
|
2766
|
-
|
|
2772
|
+
# Configuration for controlling master global access settings.
|
|
2773
|
+
# Corresponds to the JSON property `masterGlobalAccessConfig`
|
|
2774
|
+
# @return [Google::Apis::ContainerV1::PrivateClusterMasterGlobalAccessConfig]
|
|
2775
|
+
attr_accessor :master_global_access_config
|
|
2776
|
+
|
|
2777
|
+
# The IP range in CIDR notation to use for the hosted master network. This range
|
|
2778
|
+
# will be used for assigning internal IP addresses to the master or set of
|
|
2779
|
+
# masters, as well as the ILB VIP. This range must not overlap with any other
|
|
2780
|
+
# ranges in use within the cluster's network.
|
|
2767
2781
|
# Corresponds to the JSON property `masterIpv4CidrBlock`
|
|
2768
2782
|
# @return [String]
|
|
2769
2783
|
attr_accessor :master_ipv4_cidr_block
|
|
@@ -2791,6 +2805,7 @@ module Google
|
|
|
2791
2805
|
def update!(**args)
|
|
2792
2806
|
@enable_private_endpoint = args[:enable_private_endpoint] if args.key?(:enable_private_endpoint)
|
|
2793
2807
|
@enable_private_nodes = args[:enable_private_nodes] if args.key?(:enable_private_nodes)
|
|
2808
|
+
@master_global_access_config = args[:master_global_access_config] if args.key?(:master_global_access_config)
|
|
2794
2809
|
@master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block)
|
|
2795
2810
|
@peering_name = args[:peering_name] if args.key?(:peering_name)
|
|
2796
2811
|
@private_endpoint = args[:private_endpoint] if args.key?(:private_endpoint)
|
|
@@ -2798,36 +2813,45 @@ module Google
|
|
|
2798
2813
|
end
|
|
2799
2814
|
end
|
|
2800
2815
|
|
|
2816
|
+
# Configuration for controlling master global access settings.
|
|
2817
|
+
class PrivateClusterMasterGlobalAccessConfig
|
|
2818
|
+
include Google::Apis::Core::Hashable
|
|
2819
|
+
|
|
2820
|
+
# Whenever master is accessible globally or not.
|
|
2821
|
+
# Corresponds to the JSON property `enabled`
|
|
2822
|
+
# @return [Boolean]
|
|
2823
|
+
attr_accessor :enabled
|
|
2824
|
+
alias_method :enabled?, :enabled
|
|
2825
|
+
|
|
2826
|
+
def initialize(**args)
|
|
2827
|
+
update!(**args)
|
|
2828
|
+
end
|
|
2829
|
+
|
|
2830
|
+
# Update properties of this object
|
|
2831
|
+
def update!(**args)
|
|
2832
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
|
2833
|
+
end
|
|
2834
|
+
end
|
|
2835
|
+
|
|
2801
2836
|
# Represents an arbitrary window of time that recurs.
|
|
2802
2837
|
class RecurringTimeWindow
|
|
2803
2838
|
include Google::Apis::Core::Hashable
|
|
2804
2839
|
|
|
2805
|
-
# An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
|
|
2806
|
-
#
|
|
2807
|
-
#
|
|
2808
|
-
#
|
|
2809
|
-
#
|
|
2810
|
-
#
|
|
2811
|
-
#
|
|
2812
|
-
#
|
|
2813
|
-
#
|
|
2814
|
-
#
|
|
2815
|
-
#
|
|
2816
|
-
#
|
|
2817
|
-
# start time
|
|
2818
|
-
#
|
|
2819
|
-
#
|
|
2820
|
-
# </code>
|
|
2821
|
-
# Windows can span multiple days. Eg, to make the window encompass every
|
|
2822
|
-
# weekend from midnight Saturday till the last minute of Sunday UTC:
|
|
2823
|
-
# <code>
|
|
2824
|
-
# start time = 2019-01-05T00:00:00Z
|
|
2825
|
-
# end time = 2019-01-07T23:59:00Z
|
|
2826
|
-
# recurrence = FREQ=WEEKLY;BYDAY=SA
|
|
2827
|
-
# </code>
|
|
2828
|
-
# Note the start and end time's specific dates are largely arbitrary except
|
|
2829
|
-
# to specify duration of the window and when it first starts.
|
|
2830
|
-
# The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
|
|
2840
|
+
# An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this
|
|
2841
|
+
# window reccurs. They go on for the span of time between the start and end time.
|
|
2842
|
+
# For example, to have something repeat every weekday, you'd use: `FREQ=WEEKLY;
|
|
2843
|
+
# BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the
|
|
2844
|
+
# DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `
|
|
2845
|
+
# FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` This specifies how frequently the window
|
|
2846
|
+
# starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you'd use
|
|
2847
|
+
# something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-
|
|
2848
|
+
# 01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ``` Windows can
|
|
2849
|
+
# span multiple days. Eg, to make the window encompass every weekend from
|
|
2850
|
+
# midnight Saturday till the last minute of Sunday UTC: ``` start time = 2019-01-
|
|
2851
|
+
# 05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA
|
|
2852
|
+
# ``` Note the start and end time's specific dates are largely arbitrary except
|
|
2853
|
+
# to specify duration of the window and when it first starts. The FREQ values of
|
|
2854
|
+
# HOURLY, MINUTELY, and SECONDLY are not supported.
|
|
2831
2855
|
# Corresponds to the JSON property `recurrence`
|
|
2832
2856
|
# @return [String]
|
|
2833
2857
|
attr_accessor :recurrence
|
|
@@ -2848,11 +2872,10 @@ module Google
|
|
|
2848
2872
|
end
|
|
2849
2873
|
end
|
|
2850
2874
|
|
|
2851
|
-
# ReleaseChannel indicates which release channel a cluster is
|
|
2852
|
-
#
|
|
2853
|
-
#
|
|
2854
|
-
#
|
|
2855
|
-
# defaults to true and cannot be disabled.
|
|
2875
|
+
# ReleaseChannel indicates which release channel a cluster is subscribed to.
|
|
2876
|
+
# Release channels are arranged in order of risk. When a cluster is subscribed
|
|
2877
|
+
# to a release channel, Google maintains both the master version and the node
|
|
2878
|
+
# version. Node auto-upgrade defaults to true and cannot be disabled.
|
|
2856
2879
|
class ReleaseChannel
|
|
2857
2880
|
include Google::Apis::Core::Hashable
|
|
2858
2881
|
|
|
@@ -2903,9 +2926,8 @@ module Google
|
|
|
2903
2926
|
end
|
|
2904
2927
|
|
|
2905
2928
|
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
|
|
2906
|
-
# reserving-zonal-resources)
|
|
2907
|
-
#
|
|
2908
|
-
# capacity from.
|
|
2929
|
+
# reserving-zonal-resources) is the configuration of desired reservation which
|
|
2930
|
+
# instances could take capacity from.
|
|
2909
2931
|
class ReservationAffinity
|
|
2910
2932
|
include Google::Apis::Core::Hashable
|
|
2911
2933
|
|
|
@@ -2915,8 +2937,8 @@ module Google
|
|
|
2915
2937
|
attr_accessor :consume_reservation_type
|
|
2916
2938
|
|
|
2917
2939
|
# Corresponds to the label key of a reservation resource. To target a
|
|
2918
|
-
# SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as
|
|
2919
|
-
#
|
|
2940
|
+
# SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as the
|
|
2941
|
+
# key and specify the name of your reservation as its value.
|
|
2920
2942
|
# Corresponds to the JSON property `key`
|
|
2921
2943
|
# @return [String]
|
|
2922
2944
|
attr_accessor :key
|
|
@@ -2938,8 +2960,8 @@ module Google
|
|
|
2938
2960
|
end
|
|
2939
2961
|
end
|
|
2940
2962
|
|
|
2941
|
-
# Contains information about amount of some resource in the cluster.
|
|
2942
|
-
#
|
|
2963
|
+
# Contains information about amount of some resource in the cluster. For memory,
|
|
2964
|
+
# value should be in GB.
|
|
2943
2965
|
class ResourceLimit
|
|
2944
2966
|
include Google::Apis::Core::Hashable
|
|
2945
2967
|
|
|
@@ -3009,36 +3031,35 @@ module Google
|
|
|
3009
3031
|
class RollbackNodePoolUpgradeRequest
|
|
3010
3032
|
include Google::Apis::Core::Hashable
|
|
3011
3033
|
|
|
3012
|
-
# Deprecated. The name of the cluster to rollback.
|
|
3013
|
-
#
|
|
3034
|
+
# Deprecated. The name of the cluster to rollback. This field has been
|
|
3035
|
+
# deprecated and replaced by the name field.
|
|
3014
3036
|
# Corresponds to the JSON property `clusterId`
|
|
3015
3037
|
# @return [String]
|
|
3016
3038
|
attr_accessor :cluster_id
|
|
3017
3039
|
|
|
3018
3040
|
# The name (project, location, cluster, node pool id) of the node poll to
|
|
3019
|
-
# rollback upgrade.
|
|
3020
|
-
#
|
|
3041
|
+
# rollback upgrade. Specified in the format `projects/*/locations/*/clusters/*/
|
|
3042
|
+
# nodePools/*`.
|
|
3021
3043
|
# Corresponds to the JSON property `name`
|
|
3022
3044
|
# @return [String]
|
|
3023
3045
|
attr_accessor :name
|
|
3024
3046
|
|
|
3025
|
-
# Deprecated. The name of the node pool to rollback.
|
|
3026
|
-
#
|
|
3047
|
+
# Deprecated. The name of the node pool to rollback. This field has been
|
|
3048
|
+
# deprecated and replaced by the name field.
|
|
3027
3049
|
# Corresponds to the JSON property `nodePoolId`
|
|
3028
3050
|
# @return [String]
|
|
3029
3051
|
attr_accessor :node_pool_id
|
|
3030
3052
|
|
|
3031
|
-
# Deprecated. The Google Developers Console [project ID or project
|
|
3032
|
-
#
|
|
3033
|
-
#
|
|
3053
|
+
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
3054
|
+
# //support.google.com/cloud/answer/6158840). This field has been deprecated and
|
|
3055
|
+
# replaced by the name field.
|
|
3034
3056
|
# Corresponds to the JSON property `projectId`
|
|
3035
3057
|
# @return [String]
|
|
3036
3058
|
attr_accessor :project_id
|
|
3037
3059
|
|
|
3038
|
-
# Deprecated. The name of the Google Compute Engine
|
|
3039
|
-
#
|
|
3040
|
-
#
|
|
3041
|
-
# field.
|
|
3060
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
3061
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
3062
|
+
# been deprecated and replaced by the name field.
|
|
3042
3063
|
# Corresponds to the JSON property `zone`
|
|
3043
3064
|
# @return [String]
|
|
3044
3065
|
attr_accessor :zone
|
|
@@ -3129,35 +3150,34 @@ module Google
|
|
|
3129
3150
|
class SetAddonsConfigRequest
|
|
3130
3151
|
include Google::Apis::Core::Hashable
|
|
3131
3152
|
|
|
3132
|
-
# Configuration for the addons that can be automatically spun up in the
|
|
3133
|
-
#
|
|
3153
|
+
# Configuration for the addons that can be automatically spun up in the cluster,
|
|
3154
|
+
# enabling additional functionality.
|
|
3134
3155
|
# Corresponds to the JSON property `addonsConfig`
|
|
3135
3156
|
# @return [Google::Apis::ContainerV1::AddonsConfig]
|
|
3136
3157
|
attr_accessor :addons_config
|
|
3137
3158
|
|
|
3138
|
-
# Deprecated. The name of the cluster to upgrade.
|
|
3139
|
-
#
|
|
3159
|
+
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
|
3160
|
+
# and replaced by the name field.
|
|
3140
3161
|
# Corresponds to the JSON property `clusterId`
|
|
3141
3162
|
# @return [String]
|
|
3142
3163
|
attr_accessor :cluster_id
|
|
3143
3164
|
|
|
3144
|
-
# The name (project, location, cluster) of the cluster to set addons.
|
|
3145
|
-
#
|
|
3165
|
+
# The name (project, location, cluster) of the cluster to set addons. Specified
|
|
3166
|
+
# in the format `projects/*/locations/*/clusters/*`.
|
|
3146
3167
|
# Corresponds to the JSON property `name`
|
|
3147
3168
|
# @return [String]
|
|
3148
3169
|
attr_accessor :name
|
|
3149
3170
|
|
|
3150
|
-
# Deprecated. The Google Developers Console [project ID or project
|
|
3151
|
-
#
|
|
3152
|
-
#
|
|
3171
|
+
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
3172
|
+
# //support.google.com/cloud/answer/6158840). This field has been deprecated and
|
|
3173
|
+
# replaced by the name field.
|
|
3153
3174
|
# Corresponds to the JSON property `projectId`
|
|
3154
3175
|
# @return [String]
|
|
3155
3176
|
attr_accessor :project_id
|
|
3156
3177
|
|
|
3157
|
-
# Deprecated. The name of the Google Compute Engine
|
|
3158
|
-
#
|
|
3159
|
-
#
|
|
3160
|
-
# field.
|
|
3178
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
3179
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
3180
|
+
# been deprecated and replaced by the name field.
|
|
3161
3181
|
# Corresponds to the JSON property `zone`
|
|
3162
3182
|
# @return [String]
|
|
3163
3183
|
attr_accessor :zone
|
|
@@ -3182,18 +3202,17 @@ module Google
|
|
|
3182
3202
|
class SetLabelsRequest
|
|
3183
3203
|
include Google::Apis::Core::Hashable
|
|
3184
3204
|
|
|
3185
|
-
# Deprecated. The name of the cluster.
|
|
3186
|
-
#
|
|
3205
|
+
# Deprecated. The name of the cluster. This field has been deprecated and
|
|
3206
|
+
# replaced by the name field.
|
|
3187
3207
|
# Corresponds to the JSON property `clusterId`
|
|
3188
3208
|
# @return [String]
|
|
3189
3209
|
attr_accessor :cluster_id
|
|
3190
3210
|
|
|
3191
3211
|
# Required. The fingerprint of the previous set of labels for this resource,
|
|
3192
|
-
# used to detect conflicts. The fingerprint is initially generated by
|
|
3193
|
-
#
|
|
3194
|
-
#
|
|
3195
|
-
#
|
|
3196
|
-
# resource to get the latest fingerprint.
|
|
3212
|
+
# used to detect conflicts. The fingerprint is initially generated by Kubernetes
|
|
3213
|
+
# Engine and changes after every request to modify or update labels. You must
|
|
3214
|
+
# always provide an up-to-date fingerprint hash when updating or changing labels.
|
|
3215
|
+
# Make a `get()` request to the resource to get the latest fingerprint.
|
|
3197
3216
|
# Corresponds to the JSON property `labelFingerprint`
|
|
3198
3217
|
# @return [String]
|
|
3199
3218
|
attr_accessor :label_fingerprint
|
|
@@ -3204,9 +3223,9 @@ module Google
|
|
|
3204
3223
|
# @return [String]
|
|
3205
3224
|
attr_accessor :name
|
|
3206
3225
|
|
|
3207
|
-
# Deprecated. The Google Developers Console [project ID or project
|
|
3208
|
-
#
|
|
3209
|
-
#
|
|
3226
|
+
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
3227
|
+
# //developers.google.com/console/help/new/#projectnumber). This field has been
|
|
3228
|
+
# deprecated and replaced by the name field.
|
|
3210
3229
|
# Corresponds to the JSON property `projectId`
|
|
3211
3230
|
# @return [String]
|
|
3212
3231
|
attr_accessor :project_id
|
|
@@ -3216,10 +3235,9 @@ module Google
|
|
|
3216
3235
|
# @return [Hash<String,String>]
|
|
3217
3236
|
attr_accessor :resource_labels
|
|
3218
3237
|
|
|
3219
|
-
# Deprecated. The name of the Google Compute Engine
|
|
3220
|
-
#
|
|
3221
|
-
#
|
|
3222
|
-
# field.
|
|
3238
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
3239
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
3240
|
+
# been deprecated and replaced by the name field.
|
|
3223
3241
|
# Corresponds to the JSON property `zone`
|
|
3224
3242
|
# @return [String]
|
|
3225
3243
|
attr_accessor :zone
|
|
@@ -3244,8 +3262,8 @@ module Google
|
|
|
3244
3262
|
class SetLegacyAbacRequest
|
|
3245
3263
|
include Google::Apis::Core::Hashable
|
|
3246
3264
|
|
|
3247
|
-
# Deprecated. The name of the cluster to update.
|
|
3248
|
-
#
|
|
3265
|
+
# Deprecated. The name of the cluster to update. This field has been deprecated
|
|
3266
|
+
# and replaced by the name field.
|
|
3249
3267
|
# Corresponds to the JSON property `clusterId`
|
|
3250
3268
|
# @return [String]
|
|
3251
3269
|
attr_accessor :cluster_id
|
|
@@ -3262,17 +3280,16 @@ module Google
|
|
|
3262
3280
|
# @return [String]
|
|
3263
3281
|
attr_accessor :name
|
|
3264
3282
|
|
|
3265
|
-
# Deprecated. The Google Developers Console [project ID or project
|
|
3266
|
-
#
|
|
3267
|
-
#
|
|
3283
|
+
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
3284
|
+
# //support.google.com/cloud/answer/6158840). This field has been deprecated and
|
|
3285
|
+
# replaced by the name field.
|
|
3268
3286
|
# Corresponds to the JSON property `projectId`
|
|
3269
3287
|
# @return [String]
|
|
3270
3288
|
attr_accessor :project_id
|
|
3271
3289
|
|
|
3272
|
-
# Deprecated. The name of the Google Compute Engine
|
|
3273
|
-
#
|
|
3274
|
-
#
|
|
3275
|
-
# field.
|
|
3290
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
3291
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
3292
|
+
# been deprecated and replaced by the name field.
|
|
3276
3293
|
# Corresponds to the JSON property `zone`
|
|
3277
3294
|
# @return [String]
|
|
3278
3295
|
attr_accessor :zone
|
|
@@ -3295,18 +3312,18 @@ module Google
|
|
|
3295
3312
|
class SetLocationsRequest
|
|
3296
3313
|
include Google::Apis::Core::Hashable
|
|
3297
3314
|
|
|
3298
|
-
# Deprecated. The name of the cluster to upgrade.
|
|
3299
|
-
#
|
|
3315
|
+
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
|
3316
|
+
# and replaced by the name field.
|
|
3300
3317
|
# Corresponds to the JSON property `clusterId`
|
|
3301
3318
|
# @return [String]
|
|
3302
3319
|
attr_accessor :cluster_id
|
|
3303
3320
|
|
|
3304
|
-
# Required. The desired list of Google Compute Engine
|
|
3305
|
-
#
|
|
3306
|
-
#
|
|
3307
|
-
#
|
|
3308
|
-
#
|
|
3309
|
-
#
|
|
3321
|
+
# Required. The desired list of Google Compute Engine [zones](https://cloud.
|
|
3322
|
+
# google.com/compute/docs/zones#available) in which the cluster's nodes should
|
|
3323
|
+
# be located. Changing the locations a cluster is in will result in nodes being
|
|
3324
|
+
# either created or removed from the cluster, depending on whether locations are
|
|
3325
|
+
# being added or removed. This list must always include the cluster's primary
|
|
3326
|
+
# zone.
|
|
3310
3327
|
# Corresponds to the JSON property `locations`
|
|
3311
3328
|
# @return [Array<String>]
|
|
3312
3329
|
attr_accessor :locations
|
|
@@ -3317,17 +3334,16 @@ module Google
|
|
|
3317
3334
|
# @return [String]
|
|
3318
3335
|
attr_accessor :name
|
|
3319
3336
|
|
|
3320
|
-
# Deprecated. The Google Developers Console [project ID or project
|
|
3321
|
-
#
|
|
3322
|
-
#
|
|
3337
|
+
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
3338
|
+
# //support.google.com/cloud/answer/6158840). This field has been deprecated and
|
|
3339
|
+
# replaced by the name field.
|
|
3323
3340
|
# Corresponds to the JSON property `projectId`
|
|
3324
3341
|
# @return [String]
|
|
3325
3342
|
attr_accessor :project_id
|
|
3326
3343
|
|
|
3327
|
-
# Deprecated. The name of the Google Compute Engine
|
|
3328
|
-
#
|
|
3329
|
-
#
|
|
3330
|
-
# field.
|
|
3344
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
3345
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
3346
|
+
# been deprecated and replaced by the name field.
|
|
3331
3347
|
# Corresponds to the JSON property `zone`
|
|
3332
3348
|
# @return [String]
|
|
3333
3349
|
attr_accessor :zone
|
|
@@ -3350,42 +3366,39 @@ module Google
|
|
|
3350
3366
|
class SetLoggingServiceRequest
|
|
3351
3367
|
include Google::Apis::Core::Hashable
|
|
3352
3368
|
|
|
3353
|
-
# Deprecated. The name of the cluster to upgrade.
|
|
3354
|
-
#
|
|
3369
|
+
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
|
3370
|
+
# and replaced by the name field.
|
|
3355
3371
|
# Corresponds to the JSON property `clusterId`
|
|
3356
3372
|
# @return [String]
|
|
3357
3373
|
attr_accessor :cluster_id
|
|
3358
3374
|
|
|
3359
|
-
# Required. The logging service the cluster should use to write logs.
|
|
3360
|
-
#
|
|
3361
|
-
# * `logging.googleapis.com
|
|
3362
|
-
# service
|
|
3363
|
-
#
|
|
3364
|
-
#
|
|
3365
|
-
#
|
|
3366
|
-
# If left as an empty string,`logging.googleapis.com/kubernetes` will be
|
|
3367
|
-
# used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
|
|
3375
|
+
# Required. The logging service the cluster should use to write logs. Currently
|
|
3376
|
+
# available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging
|
|
3377
|
+
# service with a Kubernetes-native resource model * `logging.googleapis.com` -
|
|
3378
|
+
# The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none`
|
|
3379
|
+
# - no logs will be exported from the cluster. If left as an empty string,`
|
|
3380
|
+
# logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.
|
|
3381
|
+
# googleapis.com` for earlier versions.
|
|
3368
3382
|
# Corresponds to the JSON property `loggingService`
|
|
3369
3383
|
# @return [String]
|
|
3370
3384
|
attr_accessor :logging_service
|
|
3371
3385
|
|
|
3372
|
-
# The name (project, location, cluster) of the cluster to set logging.
|
|
3373
|
-
#
|
|
3386
|
+
# The name (project, location, cluster) of the cluster to set logging. Specified
|
|
3387
|
+
# in the format `projects/*/locations/*/clusters/*`.
|
|
3374
3388
|
# Corresponds to the JSON property `name`
|
|
3375
3389
|
# @return [String]
|
|
3376
3390
|
attr_accessor :name
|
|
3377
3391
|
|
|
3378
|
-
# Deprecated. The Google Developers Console [project ID or project
|
|
3379
|
-
#
|
|
3380
|
-
#
|
|
3392
|
+
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
3393
|
+
# //support.google.com/cloud/answer/6158840). This field has been deprecated and
|
|
3394
|
+
# replaced by the name field.
|
|
3381
3395
|
# Corresponds to the JSON property `projectId`
|
|
3382
3396
|
# @return [String]
|
|
3383
3397
|
attr_accessor :project_id
|
|
3384
3398
|
|
|
3385
|
-
# Deprecated. The name of the Google Compute Engine
|
|
3386
|
-
#
|
|
3387
|
-
#
|
|
3388
|
-
# field.
|
|
3399
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
3400
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
3401
|
+
# been deprecated and replaced by the name field.
|
|
3389
3402
|
# Corresponds to the JSON property `zone`
|
|
3390
3403
|
# @return [String]
|
|
3391
3404
|
attr_accessor :zone
|
|
@@ -3419,21 +3432,19 @@ module Google
|
|
|
3419
3432
|
attr_accessor :maintenance_policy
|
|
3420
3433
|
|
|
3421
3434
|
# The name (project, location, cluster id) of the cluster to set maintenance
|
|
3422
|
-
# policy.
|
|
3423
|
-
# Specified in the format `projects/*/locations/*/clusters/*`.
|
|
3435
|
+
# policy. Specified in the format `projects/*/locations/*/clusters/*`.
|
|
3424
3436
|
# Corresponds to the JSON property `name`
|
|
3425
3437
|
# @return [String]
|
|
3426
3438
|
attr_accessor :name
|
|
3427
3439
|
|
|
3428
|
-
# Required. The Google Developers Console [project ID or project
|
|
3429
|
-
#
|
|
3440
|
+
# Required. The Google Developers Console [project ID or project number](https://
|
|
3441
|
+
# support.google.com/cloud/answer/6158840).
|
|
3430
3442
|
# Corresponds to the JSON property `projectId`
|
|
3431
3443
|
# @return [String]
|
|
3432
3444
|
attr_accessor :project_id
|
|
3433
3445
|
|
|
3434
|
-
# Required. The name of the Google Compute Engine
|
|
3435
|
-
#
|
|
3436
|
-
# cluster resides.
|
|
3446
|
+
# Required. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
3447
|
+
# com/compute/docs/zones#available) in which the cluster resides.
|
|
3437
3448
|
# Corresponds to the JSON property `zone`
|
|
3438
3449
|
# @return [String]
|
|
3439
3450
|
attr_accessor :zone
|
|
@@ -3461,36 +3472,34 @@ module Google
|
|
|
3461
3472
|
# @return [String]
|
|
3462
3473
|
attr_accessor :action
|
|
3463
3474
|
|
|
3464
|
-
# Deprecated. The name of the cluster to upgrade.
|
|
3465
|
-
#
|
|
3475
|
+
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
|
3476
|
+
# and replaced by the name field.
|
|
3466
3477
|
# Corresponds to the JSON property `clusterId`
|
|
3467
3478
|
# @return [String]
|
|
3468
3479
|
attr_accessor :cluster_id
|
|
3469
3480
|
|
|
3470
|
-
# The name (project, location, cluster) of the cluster to set auth.
|
|
3471
|
-
#
|
|
3481
|
+
# The name (project, location, cluster) of the cluster to set auth. Specified in
|
|
3482
|
+
# the format `projects/*/locations/*/clusters/*`.
|
|
3472
3483
|
# Corresponds to the JSON property `name`
|
|
3473
3484
|
# @return [String]
|
|
3474
3485
|
attr_accessor :name
|
|
3475
3486
|
|
|
3476
|
-
# Deprecated. The Google Developers Console [project ID or project
|
|
3477
|
-
#
|
|
3478
|
-
#
|
|
3487
|
+
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
3488
|
+
# //support.google.com/cloud/answer/6158840). This field has been deprecated and
|
|
3489
|
+
# replaced by the name field.
|
|
3479
3490
|
# Corresponds to the JSON property `projectId`
|
|
3480
3491
|
# @return [String]
|
|
3481
3492
|
attr_accessor :project_id
|
|
3482
3493
|
|
|
3483
3494
|
# The authentication information for accessing the master endpoint.
|
|
3484
|
-
# Authentication can be done using HTTP basic auth or using client
|
|
3485
|
-
# certificates.
|
|
3495
|
+
# Authentication can be done using HTTP basic auth or using client certificates.
|
|
3486
3496
|
# Corresponds to the JSON property `update`
|
|
3487
3497
|
# @return [Google::Apis::ContainerV1::MasterAuth]
|
|
3488
3498
|
attr_accessor :update
|
|
3489
3499
|
|
|
3490
|
-
# Deprecated. The name of the Google Compute Engine
|
|
3491
|
-
#
|
|
3492
|
-
#
|
|
3493
|
-
# field.
|
|
3500
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
3501
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
3502
|
+
# been deprecated and replaced by the name field.
|
|
3494
3503
|
# Corresponds to the JSON property `zone`
|
|
3495
3504
|
# @return [String]
|
|
3496
3505
|
attr_accessor :zone
|
|
@@ -3514,21 +3523,19 @@ module Google
|
|
|
3514
3523
|
class SetMonitoringServiceRequest
|
|
3515
3524
|
include Google::Apis::Core::Hashable
|
|
3516
3525
|
|
|
3517
|
-
# Deprecated. The name of the cluster to upgrade.
|
|
3518
|
-
#
|
|
3526
|
+
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
|
3527
|
+
# and replaced by the name field.
|
|
3519
3528
|
# Corresponds to the JSON property `clusterId`
|
|
3520
3529
|
# @return [String]
|
|
3521
3530
|
attr_accessor :cluster_id
|
|
3522
3531
|
|
|
3523
3532
|
# Required. The monitoring service the cluster should use to write metrics.
|
|
3524
|
-
# Currently available options:
|
|
3525
|
-
#
|
|
3526
|
-
# service
|
|
3527
|
-
#
|
|
3528
|
-
#
|
|
3529
|
-
#
|
|
3530
|
-
# If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
|
|
3531
|
-
# used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
|
3533
|
+
# Currently available options: * "monitoring.googleapis.com/kubernetes" - The
|
|
3534
|
+
# Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.
|
|
3535
|
+
# googleapis.com` - The legacy Cloud Monitoring service (no longer available as
|
|
3536
|
+
# of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
|
|
3537
|
+
# as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
|
|
3538
|
+
# 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
|
3532
3539
|
# Corresponds to the JSON property `monitoringService`
|
|
3533
3540
|
# @return [String]
|
|
3534
3541
|
attr_accessor :monitoring_service
|
|
@@ -3539,17 +3546,16 @@ module Google
|
|
|
3539
3546
|
# @return [String]
|
|
3540
3547
|
attr_accessor :name
|
|
3541
3548
|
|
|
3542
|
-
# Deprecated. The Google Developers Console [project ID or project
|
|
3543
|
-
#
|
|
3544
|
-
#
|
|
3549
|
+
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
3550
|
+
# //support.google.com/cloud/answer/6158840). This field has been deprecated and
|
|
3551
|
+
# replaced by the name field.
|
|
3545
3552
|
# Corresponds to the JSON property `projectId`
|
|
3546
3553
|
# @return [String]
|
|
3547
3554
|
attr_accessor :project_id
|
|
3548
3555
|
|
|
3549
|
-
# Deprecated. The name of the Google Compute Engine
|
|
3550
|
-
#
|
|
3551
|
-
#
|
|
3552
|
-
# field.
|
|
3556
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
3557
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
3558
|
+
# been deprecated and replaced by the name field.
|
|
3553
3559
|
# Corresponds to the JSON property `zone`
|
|
3554
3560
|
# @return [String]
|
|
3555
3561
|
attr_accessor :zone
|
|
@@ -3572,8 +3578,8 @@ module Google
|
|
|
3572
3578
|
class SetNetworkPolicyRequest
|
|
3573
3579
|
include Google::Apis::Core::Hashable
|
|
3574
3580
|
|
|
3575
|
-
# Deprecated. The name of the cluster.
|
|
3576
|
-
#
|
|
3581
|
+
# Deprecated. The name of the cluster. This field has been deprecated and
|
|
3582
|
+
# replaced by the name field.
|
|
3577
3583
|
# Corresponds to the JSON property `clusterId`
|
|
3578
3584
|
# @return [String]
|
|
3579
3585
|
attr_accessor :cluster_id
|
|
@@ -3584,23 +3590,22 @@ module Google
|
|
|
3584
3590
|
# @return [String]
|
|
3585
3591
|
attr_accessor :name
|
|
3586
3592
|
|
|
3587
|
-
# Configuration options for the NetworkPolicy feature.
|
|
3588
|
-
#
|
|
3593
|
+
# Configuration options for the NetworkPolicy feature. https://kubernetes.io/
|
|
3594
|
+
# docs/concepts/services-networking/networkpolicies/
|
|
3589
3595
|
# Corresponds to the JSON property `networkPolicy`
|
|
3590
3596
|
# @return [Google::Apis::ContainerV1::NetworkPolicy]
|
|
3591
3597
|
attr_accessor :network_policy
|
|
3592
3598
|
|
|
3593
|
-
# Deprecated. The Google Developers Console [project ID or project
|
|
3594
|
-
#
|
|
3595
|
-
#
|
|
3599
|
+
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
3600
|
+
# //developers.google.com/console/help/new/#projectnumber). This field has been
|
|
3601
|
+
# deprecated and replaced by the name field.
|
|
3596
3602
|
# Corresponds to the JSON property `projectId`
|
|
3597
3603
|
# @return [String]
|
|
3598
3604
|
attr_accessor :project_id
|
|
3599
3605
|
|
|
3600
|
-
# Deprecated. The name of the Google Compute Engine
|
|
3601
|
-
#
|
|
3602
|
-
#
|
|
3603
|
-
# field.
|
|
3606
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
3607
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
3608
|
+
# been deprecated and replaced by the name field.
|
|
3604
3609
|
# Corresponds to the JSON property `zone`
|
|
3605
3610
|
# @return [String]
|
|
3606
3611
|
attr_accessor :zone
|
|
@@ -3629,36 +3634,35 @@ module Google
|
|
|
3629
3634
|
# @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
|
|
3630
3635
|
attr_accessor :autoscaling
|
|
3631
3636
|
|
|
3632
|
-
# Deprecated. The name of the cluster to upgrade.
|
|
3633
|
-
#
|
|
3637
|
+
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
|
3638
|
+
# and replaced by the name field.
|
|
3634
3639
|
# Corresponds to the JSON property `clusterId`
|
|
3635
3640
|
# @return [String]
|
|
3636
3641
|
attr_accessor :cluster_id
|
|
3637
3642
|
|
|
3638
3643
|
# The name (project, location, cluster, node pool) of the node pool to set
|
|
3639
|
-
# autoscaler settings. Specified in the format
|
|
3640
|
-
#
|
|
3644
|
+
# autoscaler settings. Specified in the format `projects/*/locations/*/clusters/*
|
|
3645
|
+
# /nodePools/*`.
|
|
3641
3646
|
# Corresponds to the JSON property `name`
|
|
3642
3647
|
# @return [String]
|
|
3643
3648
|
attr_accessor :name
|
|
3644
3649
|
|
|
3645
|
-
# Deprecated. The name of the node pool to upgrade.
|
|
3646
|
-
#
|
|
3650
|
+
# Deprecated. The name of the node pool to upgrade. This field has been
|
|
3651
|
+
# deprecated and replaced by the name field.
|
|
3647
3652
|
# Corresponds to the JSON property `nodePoolId`
|
|
3648
3653
|
# @return [String]
|
|
3649
3654
|
attr_accessor :node_pool_id
|
|
3650
3655
|
|
|
3651
|
-
# Deprecated. The Google Developers Console [project ID or project
|
|
3652
|
-
#
|
|
3653
|
-
#
|
|
3656
|
+
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
3657
|
+
# //support.google.com/cloud/answer/6158840). This field has been deprecated and
|
|
3658
|
+
# replaced by the name field.
|
|
3654
3659
|
# Corresponds to the JSON property `projectId`
|
|
3655
3660
|
# @return [String]
|
|
3656
3661
|
attr_accessor :project_id
|
|
3657
3662
|
|
|
3658
|
-
# Deprecated. The name of the Google Compute Engine
|
|
3659
|
-
#
|
|
3660
|
-
#
|
|
3661
|
-
# field.
|
|
3663
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
3664
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
3665
|
+
# been deprecated and replaced by the name field.
|
|
3662
3666
|
# Corresponds to the JSON property `zone`
|
|
3663
3667
|
# @return [String]
|
|
3664
3668
|
attr_accessor :zone
|
|
@@ -3683,8 +3687,8 @@ module Google
|
|
|
3683
3687
|
class SetNodePoolManagementRequest
|
|
3684
3688
|
include Google::Apis::Core::Hashable
|
|
3685
3689
|
|
|
3686
|
-
# Deprecated. The name of the cluster to update.
|
|
3687
|
-
#
|
|
3690
|
+
# Deprecated. The name of the cluster to update. This field has been deprecated
|
|
3691
|
+
# and replaced by the name field.
|
|
3688
3692
|
# Corresponds to the JSON property `clusterId`
|
|
3689
3693
|
# @return [String]
|
|
3690
3694
|
attr_accessor :cluster_id
|
|
@@ -3696,29 +3700,28 @@ module Google
|
|
|
3696
3700
|
attr_accessor :management
|
|
3697
3701
|
|
|
3698
3702
|
# The name (project, location, cluster, node pool id) of the node pool to set
|
|
3699
|
-
# management properties. Specified in the format
|
|
3700
|
-
#
|
|
3703
|
+
# management properties. Specified in the format `projects/*/locations/*/
|
|
3704
|
+
# clusters/*/nodePools/*`.
|
|
3701
3705
|
# Corresponds to the JSON property `name`
|
|
3702
3706
|
# @return [String]
|
|
3703
3707
|
attr_accessor :name
|
|
3704
3708
|
|
|
3705
|
-
# Deprecated. The name of the node pool to update.
|
|
3706
|
-
#
|
|
3709
|
+
# Deprecated. The name of the node pool to update. This field has been
|
|
3710
|
+
# deprecated and replaced by the name field.
|
|
3707
3711
|
# Corresponds to the JSON property `nodePoolId`
|
|
3708
3712
|
# @return [String]
|
|
3709
3713
|
attr_accessor :node_pool_id
|
|
3710
3714
|
|
|
3711
|
-
# Deprecated. The Google Developers Console [project ID or project
|
|
3712
|
-
#
|
|
3713
|
-
#
|
|
3715
|
+
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
3716
|
+
# //support.google.com/cloud/answer/6158840). This field has been deprecated and
|
|
3717
|
+
# replaced by the name field.
|
|
3714
3718
|
# Corresponds to the JSON property `projectId`
|
|
3715
3719
|
# @return [String]
|
|
3716
3720
|
attr_accessor :project_id
|
|
3717
3721
|
|
|
3718
|
-
# Deprecated. The name of the Google Compute Engine
|
|
3719
|
-
#
|
|
3720
|
-
#
|
|
3721
|
-
# field.
|
|
3722
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
3723
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
3724
|
+
# been deprecated and replaced by the name field.
|
|
3722
3725
|
# Corresponds to the JSON property `zone`
|
|
3723
3726
|
# @return [String]
|
|
3724
3727
|
attr_accessor :zone
|
|
@@ -3738,20 +3741,18 @@ module Google
|
|
|
3738
3741
|
end
|
|
3739
3742
|
end
|
|
3740
3743
|
|
|
3741
|
-
# SetNodePoolSizeRequest sets the size a node
|
|
3742
|
-
# pool.
|
|
3744
|
+
# SetNodePoolSizeRequest sets the size a node pool.
|
|
3743
3745
|
class SetNodePoolSizeRequest
|
|
3744
3746
|
include Google::Apis::Core::Hashable
|
|
3745
3747
|
|
|
3746
|
-
# Deprecated. The name of the cluster to update.
|
|
3747
|
-
#
|
|
3748
|
+
# Deprecated. The name of the cluster to update. This field has been deprecated
|
|
3749
|
+
# and replaced by the name field.
|
|
3748
3750
|
# Corresponds to the JSON property `clusterId`
|
|
3749
3751
|
# @return [String]
|
|
3750
3752
|
attr_accessor :cluster_id
|
|
3751
3753
|
|
|
3752
3754
|
# The name (project, location, cluster, node pool id) of the node pool to set
|
|
3753
|
-
# size.
|
|
3754
|
-
# Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
|
|
3755
|
+
# size. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
|
|
3755
3756
|
# Corresponds to the JSON property `name`
|
|
3756
3757
|
# @return [String]
|
|
3757
3758
|
attr_accessor :name
|
|
@@ -3761,23 +3762,22 @@ module Google
|
|
|
3761
3762
|
# @return [Fixnum]
|
|
3762
3763
|
attr_accessor :node_count
|
|
3763
3764
|
|
|
3764
|
-
# Deprecated. The name of the node pool to update.
|
|
3765
|
-
#
|
|
3765
|
+
# Deprecated. The name of the node pool to update. This field has been
|
|
3766
|
+
# deprecated and replaced by the name field.
|
|
3766
3767
|
# Corresponds to the JSON property `nodePoolId`
|
|
3767
3768
|
# @return [String]
|
|
3768
3769
|
attr_accessor :node_pool_id
|
|
3769
3770
|
|
|
3770
|
-
# Deprecated. The Google Developers Console [project ID or project
|
|
3771
|
-
#
|
|
3772
|
-
#
|
|
3771
|
+
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
3772
|
+
# //support.google.com/cloud/answer/6158840). This field has been deprecated and
|
|
3773
|
+
# replaced by the name field.
|
|
3773
3774
|
# Corresponds to the JSON property `projectId`
|
|
3774
3775
|
# @return [String]
|
|
3775
3776
|
attr_accessor :project_id
|
|
3776
3777
|
|
|
3777
|
-
# Deprecated. The name of the Google Compute Engine
|
|
3778
|
-
#
|
|
3779
|
-
#
|
|
3780
|
-
# field.
|
|
3778
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
3779
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
3780
|
+
# been deprecated and replaced by the name field.
|
|
3781
3781
|
# Corresponds to the JSON property `zone`
|
|
3782
3782
|
# @return [String]
|
|
3783
3783
|
attr_accessor :zone
|
|
@@ -3801,20 +3801,20 @@ module Google
|
|
|
3801
3801
|
class ShieldedInstanceConfig
|
|
3802
3802
|
include Google::Apis::Core::Hashable
|
|
3803
3803
|
|
|
3804
|
-
# Defines whether the instance has integrity monitoring enabled.
|
|
3805
|
-
#
|
|
3806
|
-
#
|
|
3807
|
-
#
|
|
3808
|
-
#
|
|
3804
|
+
# Defines whether the instance has integrity monitoring enabled. Enables
|
|
3805
|
+
# monitoring and attestation of the boot integrity of the instance. The
|
|
3806
|
+
# attestation is performed against the integrity policy baseline. This baseline
|
|
3807
|
+
# is initially derived from the implicitly trusted boot image when the instance
|
|
3808
|
+
# is created.
|
|
3809
3809
|
# Corresponds to the JSON property `enableIntegrityMonitoring`
|
|
3810
3810
|
# @return [Boolean]
|
|
3811
3811
|
attr_accessor :enable_integrity_monitoring
|
|
3812
3812
|
alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
|
|
3813
3813
|
|
|
3814
|
-
# Defines whether the instance has Secure Boot enabled.
|
|
3815
|
-
#
|
|
3816
|
-
#
|
|
3817
|
-
#
|
|
3814
|
+
# Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure
|
|
3815
|
+
# that the system only runs authentic software by verifying the digital
|
|
3816
|
+
# signature of all boot components, and halting the boot process if signature
|
|
3817
|
+
# verification fails.
|
|
3818
3818
|
# Corresponds to the JSON property `enableSecureBoot`
|
|
3819
3819
|
# @return [Boolean]
|
|
3820
3820
|
attr_accessor :enable_secure_boot
|
|
@@ -3851,26 +3851,26 @@ module Google
|
|
|
3851
3851
|
end
|
|
3852
3852
|
end
|
|
3853
3853
|
|
|
3854
|
-
# StartIPRotationRequest creates a new IP for the cluster and then performs
|
|
3855
|
-
#
|
|
3854
|
+
# StartIPRotationRequest creates a new IP for the cluster and then performs a
|
|
3855
|
+
# node upgrade on each node pool to point to the new IP.
|
|
3856
3856
|
class StartIpRotationRequest
|
|
3857
3857
|
include Google::Apis::Core::Hashable
|
|
3858
3858
|
|
|
3859
|
-
# Deprecated. The name of the cluster.
|
|
3860
|
-
#
|
|
3859
|
+
# Deprecated. The name of the cluster. This field has been deprecated and
|
|
3860
|
+
# replaced by the name field.
|
|
3861
3861
|
# Corresponds to the JSON property `clusterId`
|
|
3862
3862
|
# @return [String]
|
|
3863
3863
|
attr_accessor :cluster_id
|
|
3864
3864
|
|
|
3865
|
-
# The name (project, location, cluster id) of the cluster to start IP
|
|
3866
|
-
#
|
|
3865
|
+
# The name (project, location, cluster id) of the cluster to start IP rotation.
|
|
3866
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
|
3867
3867
|
# Corresponds to the JSON property `name`
|
|
3868
3868
|
# @return [String]
|
|
3869
3869
|
attr_accessor :name
|
|
3870
3870
|
|
|
3871
|
-
# Deprecated. The Google Developers Console [project ID or project
|
|
3872
|
-
#
|
|
3873
|
-
#
|
|
3871
|
+
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
3872
|
+
# //developers.google.com/console/help/new/#projectnumber). This field has been
|
|
3873
|
+
# deprecated and replaced by the name field.
|
|
3874
3874
|
# Corresponds to the JSON property `projectId`
|
|
3875
3875
|
# @return [String]
|
|
3876
3876
|
attr_accessor :project_id
|
|
@@ -3881,10 +3881,9 @@ module Google
|
|
|
3881
3881
|
attr_accessor :rotate_credentials
|
|
3882
3882
|
alias_method :rotate_credentials?, :rotate_credentials
|
|
3883
3883
|
|
|
3884
|
-
# Deprecated. The name of the Google Compute Engine
|
|
3885
|
-
#
|
|
3886
|
-
#
|
|
3887
|
-
# field.
|
|
3884
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
3885
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
3886
|
+
# been deprecated and replaced by the name field.
|
|
3888
3887
|
# Corresponds to the JSON property `zone`
|
|
3889
3888
|
# @return [String]
|
|
3890
3889
|
attr_accessor :zone
|
|
@@ -3903,8 +3902,8 @@ module Google
|
|
|
3903
3902
|
end
|
|
3904
3903
|
end
|
|
3905
3904
|
|
|
3906
|
-
# StatusCondition describes why a cluster or a node pool has a certain status
|
|
3907
|
-
#
|
|
3905
|
+
# StatusCondition describes why a cluster or a node pool has a certain status (e.
|
|
3906
|
+
# g., ERROR or DEGRADED).
|
|
3908
3907
|
class StatusCondition
|
|
3909
3908
|
include Google::Apis::Core::Hashable
|
|
3910
3909
|
|
|
@@ -3933,8 +3932,8 @@ module Google
|
|
|
3933
3932
|
class TimeWindow
|
|
3934
3933
|
include Google::Apis::Core::Hashable
|
|
3935
3934
|
|
|
3936
|
-
# The time that the window ends. The end time should take place after the
|
|
3937
|
-
#
|
|
3935
|
+
# The time that the window ends. The end time should take place after the start
|
|
3936
|
+
# time.
|
|
3938
3937
|
# Corresponds to the JSON property `endTime`
|
|
3939
3938
|
# @return [String]
|
|
3940
3939
|
attr_accessor :end_time
|
|
@@ -3959,36 +3958,34 @@ module Google
|
|
|
3959
3958
|
class UpdateClusterRequest
|
|
3960
3959
|
include Google::Apis::Core::Hashable
|
|
3961
3960
|
|
|
3962
|
-
# Deprecated. The name of the cluster to upgrade.
|
|
3963
|
-
#
|
|
3961
|
+
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
|
3962
|
+
# and replaced by the name field.
|
|
3964
3963
|
# Corresponds to the JSON property `clusterId`
|
|
3965
3964
|
# @return [String]
|
|
3966
3965
|
attr_accessor :cluster_id
|
|
3967
3966
|
|
|
3968
|
-
# The name (project, location, cluster) of the cluster to update.
|
|
3969
|
-
#
|
|
3967
|
+
# The name (project, location, cluster) of the cluster to update. Specified in
|
|
3968
|
+
# the format `projects/*/locations/*/clusters/*`.
|
|
3970
3969
|
# Corresponds to the JSON property `name`
|
|
3971
3970
|
# @return [String]
|
|
3972
3971
|
attr_accessor :name
|
|
3973
3972
|
|
|
3974
|
-
# Deprecated. The Google Developers Console [project ID or project
|
|
3975
|
-
#
|
|
3976
|
-
#
|
|
3973
|
+
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
3974
|
+
# //support.google.com/cloud/answer/6158840). This field has been deprecated and
|
|
3975
|
+
# replaced by the name field.
|
|
3977
3976
|
# Corresponds to the JSON property `projectId`
|
|
3978
3977
|
# @return [String]
|
|
3979
3978
|
attr_accessor :project_id
|
|
3980
3979
|
|
|
3981
|
-
# ClusterUpdate describes an update to the cluster. Exactly one update can
|
|
3982
|
-
#
|
|
3983
|
-
# provided.
|
|
3980
|
+
# ClusterUpdate describes an update to the cluster. Exactly one update can be
|
|
3981
|
+
# applied to a cluster with each request, so at most one field can be provided.
|
|
3984
3982
|
# Corresponds to the JSON property `update`
|
|
3985
3983
|
# @return [Google::Apis::ContainerV1::ClusterUpdate]
|
|
3986
3984
|
attr_accessor :update
|
|
3987
3985
|
|
|
3988
|
-
# Deprecated. The name of the Google Compute Engine
|
|
3989
|
-
#
|
|
3990
|
-
#
|
|
3991
|
-
# field.
|
|
3986
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
3987
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
3988
|
+
# been deprecated and replaced by the name field.
|
|
3992
3989
|
# Corresponds to the JSON property `zone`
|
|
3993
3990
|
# @return [String]
|
|
3994
3991
|
attr_accessor :zone
|
|
@@ -4011,41 +4008,39 @@ module Google
|
|
|
4011
4008
|
class UpdateMasterRequest
|
|
4012
4009
|
include Google::Apis::Core::Hashable
|
|
4013
4010
|
|
|
4014
|
-
# Deprecated. The name of the cluster to upgrade.
|
|
4015
|
-
#
|
|
4011
|
+
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
|
4012
|
+
# and replaced by the name field.
|
|
4016
4013
|
# Corresponds to the JSON property `clusterId`
|
|
4017
4014
|
# @return [String]
|
|
4018
4015
|
attr_accessor :cluster_id
|
|
4019
4016
|
|
|
4020
|
-
# Required. The Kubernetes version to change the master to.
|
|
4021
|
-
#
|
|
4022
|
-
#
|
|
4023
|
-
# - "
|
|
4024
|
-
# - "1.X": picks the highest valid
|
|
4025
|
-
#
|
|
4026
|
-
#
|
|
4027
|
-
# - "-": picks the default Kubernetes version
|
|
4017
|
+
# Required. The Kubernetes version to change the master to. Users may specify
|
|
4018
|
+
# either explicit versions offered by Kubernetes Engine or version aliases,
|
|
4019
|
+
# which have the following behavior: - "latest": picks the highest valid
|
|
4020
|
+
# Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.
|
|
4021
|
+
# X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version -
|
|
4022
|
+
# "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the default
|
|
4023
|
+
# Kubernetes version
|
|
4028
4024
|
# Corresponds to the JSON property `masterVersion`
|
|
4029
4025
|
# @return [String]
|
|
4030
4026
|
attr_accessor :master_version
|
|
4031
4027
|
|
|
4032
|
-
# The name (project, location, cluster) of the cluster to update.
|
|
4033
|
-
#
|
|
4028
|
+
# The name (project, location, cluster) of the cluster to update. Specified in
|
|
4029
|
+
# the format `projects/*/locations/*/clusters/*`.
|
|
4034
4030
|
# Corresponds to the JSON property `name`
|
|
4035
4031
|
# @return [String]
|
|
4036
4032
|
attr_accessor :name
|
|
4037
4033
|
|
|
4038
|
-
# Deprecated. The Google Developers Console [project ID or project
|
|
4039
|
-
#
|
|
4040
|
-
#
|
|
4034
|
+
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
4035
|
+
# //support.google.com/cloud/answer/6158840). This field has been deprecated and
|
|
4036
|
+
# replaced by the name field.
|
|
4041
4037
|
# Corresponds to the JSON property `projectId`
|
|
4042
4038
|
# @return [String]
|
|
4043
4039
|
attr_accessor :project_id
|
|
4044
4040
|
|
|
4045
|
-
# Deprecated. The name of the Google Compute Engine
|
|
4046
|
-
#
|
|
4047
|
-
#
|
|
4048
|
-
# field.
|
|
4041
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
4042
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
4043
|
+
# been deprecated and replaced by the name field.
|
|
4049
4044
|
# Corresponds to the JSON property `zone`
|
|
4050
4045
|
# @return [String]
|
|
4051
4046
|
attr_accessor :zone
|
|
@@ -4068,8 +4063,8 @@ module Google
|
|
|
4068
4063
|
class UpdateNodePoolRequest
|
|
4069
4064
|
include Google::Apis::Core::Hashable
|
|
4070
4065
|
|
|
4071
|
-
# Deprecated. The name of the cluster to upgrade.
|
|
4072
|
-
#
|
|
4066
|
+
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
|
4067
|
+
# and replaced by the name field.
|
|
4073
4068
|
# Corresponds to the JSON property `clusterId`
|
|
4074
4069
|
# @return [String]
|
|
4075
4070
|
attr_accessor :cluster_id
|
|
@@ -4079,66 +4074,59 @@ module Google
|
|
|
4079
4074
|
# @return [String]
|
|
4080
4075
|
attr_accessor :image_type
|
|
4081
4076
|
|
|
4082
|
-
# The desired list of Google Compute Engine
|
|
4083
|
-
#
|
|
4084
|
-
#
|
|
4085
|
-
#
|
|
4086
|
-
#
|
|
4077
|
+
# The desired list of Google Compute Engine [zones](https://cloud.google.com/
|
|
4078
|
+
# compute/docs/zones#available) in which the node pool's nodes should be located.
|
|
4079
|
+
# Changing the locations for a node pool will result in nodes being either
|
|
4080
|
+
# created or removed from the node pool, depending on whether locations are
|
|
4081
|
+
# being added or removed.
|
|
4087
4082
|
# Corresponds to the JSON property `locations`
|
|
4088
4083
|
# @return [Array<String>]
|
|
4089
4084
|
attr_accessor :locations
|
|
4090
4085
|
|
|
4091
|
-
# The name (project, location, cluster, node pool) of the node pool to
|
|
4092
|
-
#
|
|
4093
|
-
# `projects/*/locations/*/clusters/*/nodePools/*`.
|
|
4086
|
+
# The name (project, location, cluster, node pool) of the node pool to update.
|
|
4087
|
+
# Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
|
|
4094
4088
|
# Corresponds to the JSON property `name`
|
|
4095
4089
|
# @return [String]
|
|
4096
4090
|
attr_accessor :name
|
|
4097
4091
|
|
|
4098
|
-
# Deprecated. The name of the node pool to upgrade.
|
|
4099
|
-
#
|
|
4092
|
+
# Deprecated. The name of the node pool to upgrade. This field has been
|
|
4093
|
+
# deprecated and replaced by the name field.
|
|
4100
4094
|
# Corresponds to the JSON property `nodePoolId`
|
|
4101
4095
|
# @return [String]
|
|
4102
4096
|
attr_accessor :node_pool_id
|
|
4103
4097
|
|
|
4104
|
-
# Required. The Kubernetes version to change the nodes to (typically an
|
|
4105
|
-
# upgrade).
|
|
4098
|
+
# Required. The Kubernetes version to change the nodes to (typically an upgrade).
|
|
4106
4099
|
# Users may specify either explicit versions offered by Kubernetes Engine or
|
|
4107
|
-
# version aliases, which have the following behavior:
|
|
4108
|
-
# - "
|
|
4109
|
-
# - "1.X": picks the highest valid
|
|
4110
|
-
# - "1.X.Y": picks
|
|
4111
|
-
#
|
|
4112
|
-
# - "-": picks the Kubernetes master version
|
|
4100
|
+
# version aliases, which have the following behavior: - "latest": picks the
|
|
4101
|
+
# highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N
|
|
4102
|
+
# patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the
|
|
4103
|
+
# 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-":
|
|
4104
|
+
# picks the Kubernetes master version
|
|
4113
4105
|
# Corresponds to the JSON property `nodeVersion`
|
|
4114
4106
|
# @return [String]
|
|
4115
4107
|
attr_accessor :node_version
|
|
4116
4108
|
|
|
4117
|
-
# Deprecated. The Google Developers Console [project ID or project
|
|
4118
|
-
#
|
|
4119
|
-
#
|
|
4109
|
+
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
4110
|
+
# //support.google.com/cloud/answer/6158840). This field has been deprecated and
|
|
4111
|
+
# replaced by the name field.
|
|
4120
4112
|
# Corresponds to the JSON property `projectId`
|
|
4121
4113
|
# @return [String]
|
|
4122
4114
|
attr_accessor :project_id
|
|
4123
4115
|
|
|
4124
4116
|
# These upgrade settings control the level of parallelism and the level of
|
|
4125
|
-
# disruption caused by an upgrade.
|
|
4126
|
-
#
|
|
4127
|
-
#
|
|
4128
|
-
#
|
|
4129
|
-
#
|
|
4130
|
-
#
|
|
4131
|
-
#
|
|
4132
|
-
#
|
|
4133
|
-
#
|
|
4134
|
-
#
|
|
4135
|
-
#
|
|
4136
|
-
#
|
|
4137
|
-
#
|
|
4138
|
-
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
|
4139
|
-
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
|
4140
|
-
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
|
4141
|
-
# there are always at least 4 nodes available.
|
|
4117
|
+
# disruption caused by an upgrade. maxUnavailable controls the number of nodes
|
|
4118
|
+
# that can be simultaneously unavailable. maxSurge controls the number of
|
|
4119
|
+
# additional nodes that can be added to the node pool temporarily for the time
|
|
4120
|
+
# of the upgrade to increase the number of available nodes. (maxUnavailable +
|
|
4121
|
+
# maxSurge) determines the level of parallelism (how many nodes are being
|
|
4122
|
+
# upgraded at the same time). Note: upgrades inevitably introduce some
|
|
4123
|
+
# disruption since workloads need to be moved from old nodes to new, upgraded
|
|
4124
|
+
# ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
|
|
4125
|
+
# limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
|
|
4126
|
+
# node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
|
|
4127
|
+
# upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
|
|
4128
|
+
# upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
|
|
4129
|
+
# same time. This ensures that there are always at least 4 nodes available.
|
|
4142
4130
|
# Corresponds to the JSON property `upgradeSettings`
|
|
4143
4131
|
# @return [Google::Apis::ContainerV1::UpgradeSettings]
|
|
4144
4132
|
attr_accessor :upgrade_settings
|
|
@@ -4149,10 +4137,9 @@ module Google
|
|
|
4149
4137
|
# @return [Google::Apis::ContainerV1::WorkloadMetadataConfig]
|
|
4150
4138
|
attr_accessor :workload_metadata_config
|
|
4151
4139
|
|
|
4152
|
-
# Deprecated. The name of the Google Compute Engine
|
|
4153
|
-
#
|
|
4154
|
-
#
|
|
4155
|
-
# field.
|
|
4140
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
4141
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
4142
|
+
# been deprecated and replaced by the name field.
|
|
4156
4143
|
# Corresponds to the JSON property `zone`
|
|
4157
4144
|
# @return [String]
|
|
4158
4145
|
attr_accessor :zone
|
|
@@ -4176,36 +4163,82 @@ module Google
|
|
|
4176
4163
|
end
|
|
4177
4164
|
end
|
|
4178
4165
|
|
|
4166
|
+
# UpgradeEvent is a notification sent to customers by the cluster server when a
|
|
4167
|
+
# resource is upgrading.
|
|
4168
|
+
class UpgradeEvent
|
|
4169
|
+
include Google::Apis::Core::Hashable
|
|
4170
|
+
|
|
4171
|
+
# Required. The current version before the upgrade.
|
|
4172
|
+
# Corresponds to the JSON property `currentVersion`
|
|
4173
|
+
# @return [String]
|
|
4174
|
+
attr_accessor :current_version
|
|
4175
|
+
|
|
4176
|
+
# Required. The operation associated with this upgrade.
|
|
4177
|
+
# Corresponds to the JSON property `operation`
|
|
4178
|
+
# @return [String]
|
|
4179
|
+
attr_accessor :operation
|
|
4180
|
+
|
|
4181
|
+
# Required. The time when the operation was started.
|
|
4182
|
+
# Corresponds to the JSON property `operationStartTime`
|
|
4183
|
+
# @return [String]
|
|
4184
|
+
attr_accessor :operation_start_time
|
|
4185
|
+
|
|
4186
|
+
# Optional. Optional relative path to the resource. For example in node pool
|
|
4187
|
+
# upgrades, the relative path of the node pool.
|
|
4188
|
+
# Corresponds to the JSON property `resource`
|
|
4189
|
+
# @return [String]
|
|
4190
|
+
attr_accessor :resource
|
|
4191
|
+
|
|
4192
|
+
# Required. The resource type that is upgrading.
|
|
4193
|
+
# Corresponds to the JSON property `resourceType`
|
|
4194
|
+
# @return [String]
|
|
4195
|
+
attr_accessor :resource_type
|
|
4196
|
+
|
|
4197
|
+
# Required. The target version for the upgrade.
|
|
4198
|
+
# Corresponds to the JSON property `targetVersion`
|
|
4199
|
+
# @return [String]
|
|
4200
|
+
attr_accessor :target_version
|
|
4201
|
+
|
|
4202
|
+
def initialize(**args)
|
|
4203
|
+
update!(**args)
|
|
4204
|
+
end
|
|
4205
|
+
|
|
4206
|
+
# Update properties of this object
|
|
4207
|
+
def update!(**args)
|
|
4208
|
+
@current_version = args[:current_version] if args.key?(:current_version)
|
|
4209
|
+
@operation = args[:operation] if args.key?(:operation)
|
|
4210
|
+
@operation_start_time = args[:operation_start_time] if args.key?(:operation_start_time)
|
|
4211
|
+
@resource = args[:resource] if args.key?(:resource)
|
|
4212
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
|
4213
|
+
@target_version = args[:target_version] if args.key?(:target_version)
|
|
4214
|
+
end
|
|
4215
|
+
end
|
|
4216
|
+
|
|
4179
4217
|
# These upgrade settings control the level of parallelism and the level of
|
|
4180
|
-
# disruption caused by an upgrade.
|
|
4181
|
-
#
|
|
4182
|
-
#
|
|
4183
|
-
#
|
|
4184
|
-
#
|
|
4185
|
-
#
|
|
4186
|
-
#
|
|
4187
|
-
#
|
|
4188
|
-
#
|
|
4189
|
-
#
|
|
4190
|
-
#
|
|
4191
|
-
#
|
|
4192
|
-
#
|
|
4193
|
-
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
|
4194
|
-
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
|
4195
|
-
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
|
4196
|
-
# there are always at least 4 nodes available.
|
|
4218
|
+
# disruption caused by an upgrade. maxUnavailable controls the number of nodes
|
|
4219
|
+
# that can be simultaneously unavailable. maxSurge controls the number of
|
|
4220
|
+
# additional nodes that can be added to the node pool temporarily for the time
|
|
4221
|
+
# of the upgrade to increase the number of available nodes. (maxUnavailable +
|
|
4222
|
+
# maxSurge) determines the level of parallelism (how many nodes are being
|
|
4223
|
+
# upgraded at the same time). Note: upgrades inevitably introduce some
|
|
4224
|
+
# disruption since workloads need to be moved from old nodes to new, upgraded
|
|
4225
|
+
# ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
|
|
4226
|
+
# limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
|
|
4227
|
+
# node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
|
|
4228
|
+
# upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
|
|
4229
|
+
# upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
|
|
4230
|
+
# same time. This ensures that there are always at least 4 nodes available.
|
|
4197
4231
|
class UpgradeSettings
|
|
4198
4232
|
include Google::Apis::Core::Hashable
|
|
4199
4233
|
|
|
4200
|
-
# The maximum number of nodes that can be created beyond the current size
|
|
4201
|
-
#
|
|
4234
|
+
# The maximum number of nodes that can be created beyond the current size of the
|
|
4235
|
+
# node pool during the upgrade process.
|
|
4202
4236
|
# Corresponds to the JSON property `maxSurge`
|
|
4203
4237
|
# @return [Fixnum]
|
|
4204
4238
|
attr_accessor :max_surge
|
|
4205
4239
|
|
|
4206
|
-
# The maximum number of nodes that can be simultaneously unavailable during
|
|
4207
|
-
#
|
|
4208
|
-
# Ready.
|
|
4240
|
+
# The maximum number of nodes that can be simultaneously unavailable during the
|
|
4241
|
+
# upgrade process. A node is considered available if its status is Ready.
|
|
4209
4242
|
# Corresponds to the JSON property `maxUnavailable`
|
|
4210
4243
|
# @return [Fixnum]
|
|
4211
4244
|
attr_accessor :max_unavailable
|
|
@@ -4231,8 +4264,7 @@ module Google
|
|
|
4231
4264
|
# @return [String]
|
|
4232
4265
|
attr_accessor :ip_cidr_range
|
|
4233
4266
|
|
|
4234
|
-
# Network Name.
|
|
4235
|
-
# Example: projects/my-project/global/networks/my-network
|
|
4267
|
+
# Network Name. Example: projects/my-project/global/networks/my-network
|
|
4236
4268
|
# Corresponds to the JSON property `network`
|
|
4237
4269
|
# @return [String]
|
|
4238
4270
|
attr_accessor :network
|
|
@@ -4242,16 +4274,16 @@ module Google
|
|
|
4242
4274
|
# @return [Array<Google::Apis::ContainerV1::UsableSubnetworkSecondaryRange>]
|
|
4243
4275
|
attr_accessor :secondary_ip_ranges
|
|
4244
4276
|
|
|
4245
|
-
# A human readable status message representing the reasons for cases where
|
|
4246
|
-
#
|
|
4247
|
-
#
|
|
4277
|
+
# A human readable status message representing the reasons for cases where the
|
|
4278
|
+
# caller cannot use the secondary ranges under the subnet. For example if the
|
|
4279
|
+
# secondary_ip_ranges is empty due to a permission issue, an insufficient
|
|
4248
4280
|
# permission message will be given by status_message.
|
|
4249
4281
|
# Corresponds to the JSON property `statusMessage`
|
|
4250
4282
|
# @return [String]
|
|
4251
4283
|
attr_accessor :status_message
|
|
4252
4284
|
|
|
4253
|
-
# Subnetwork Name.
|
|
4254
|
-
#
|
|
4285
|
+
# Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/
|
|
4286
|
+
# my-subnet
|
|
4255
4287
|
# Corresponds to the JSON property `subnetwork`
|
|
4256
4288
|
# @return [String]
|
|
4257
4289
|
attr_accessor :subnetwork
|
|
@@ -4279,8 +4311,8 @@ module Google
|
|
|
4279
4311
|
# @return [String]
|
|
4280
4312
|
attr_accessor :ip_cidr_range
|
|
4281
4313
|
|
|
4282
|
-
# The name associated with this subnetwork secondary range, used when adding
|
|
4283
|
-
#
|
|
4314
|
+
# The name associated with this subnetwork secondary range, used when adding an
|
|
4315
|
+
# alias IP range to a VM instance.
|
|
4284
4316
|
# Corresponds to the JSON property `rangeName`
|
|
4285
4317
|
# @return [String]
|
|
4286
4318
|
attr_accessor :range_name
|
|
@@ -4302,9 +4334,9 @@ module Google
|
|
|
4302
4334
|
end
|
|
4303
4335
|
end
|
|
4304
4336
|
|
|
4305
|
-
# VerticalPodAutoscaling contains global, per-cluster information
|
|
4306
|
-
#
|
|
4307
|
-
#
|
|
4337
|
+
# VerticalPodAutoscaling contains global, per-cluster information required by
|
|
4338
|
+
# Vertical Pod Autoscaler to automatically adjust the resources of pods
|
|
4339
|
+
# controlled by it.
|
|
4308
4340
|
class VerticalPodAutoscaling
|
|
4309
4341
|
include Google::Apis::Core::Hashable
|
|
4310
4342
|
|
|
@@ -4324,8 +4356,7 @@ module Google
|
|
|
4324
4356
|
end
|
|
4325
4357
|
end
|
|
4326
4358
|
|
|
4327
|
-
# Configuration for the use of Kubernetes Service Accounts in GCP IAM
|
|
4328
|
-
# policies.
|
|
4359
|
+
# Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
|
|
4329
4360
|
class WorkloadIdentityConfig
|
|
4330
4361
|
include Google::Apis::Core::Hashable
|
|
4331
4362
|
|
|
@@ -4349,8 +4380,8 @@ module Google
|
|
|
4349
4380
|
class WorkloadMetadataConfig
|
|
4350
4381
|
include Google::Apis::Core::Hashable
|
|
4351
4382
|
|
|
4352
|
-
# Mode is the configuration for how to expose metadata to workloads running
|
|
4353
|
-
#
|
|
4383
|
+
# Mode is the configuration for how to expose metadata to workloads running on
|
|
4384
|
+
# the node pool.
|
|
4354
4385
|
# Corresponds to the JSON property `mode`
|
|
4355
4386
|
# @return [String]
|
|
4356
4387
|
attr_accessor :mode
|