google-api-client 0.43.0 → 0.45.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +462 -0
- data/api_names.yaml +1 -0
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +53 -86
- 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 +17 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- 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/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 +2 -2
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
- 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/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/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/service.rb +2 -2
- 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_v1alpha2.rb +34 -0
- data/generated/google/apis/apigateway_v1alpha2/classes.rb +633 -0
- data/generated/google/apis/apigateway_v1alpha2/representations.rb +250 -0
- data/generated/google/apis/apigateway_v1alpha2/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/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +432 -82
- data/generated/google/apis/apigee_v1/representations.rb +139 -1
- data/generated/google/apis/apigee_v1/service.rb +158 -41
- 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 +403 -553
- data/generated/google/apis/bigquery_v2/representations.rb +17 -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 +15 -5
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +433 -354
- data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +433 -354
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +13 -10
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +165 -116
- data/generated/google/apis/chat_v1/representations.rb +35 -0
- data/generated/google/apis/chat_v1/service.rb +30 -42
- 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 +132 -0
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +764 -1039
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1/service.rb +125 -167
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_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 -720
- 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 +337 -343
- data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +268 -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 +127 -156
- 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 +335 -494
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +943 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +371 -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 +1233 -307
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +906 -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 +62 -60
- 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 +26 -25
- 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 -781
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/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 +681 -127
- data/generated/google/apis/compute_alpha/representations.rb +110 -6
- data/generated/google/apis/compute_alpha/service.rb +695 -692
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +570 -70
- data/generated/google/apis/compute_beta/representations.rb +112 -1
- data/generated/google/apis/compute_beta/service.rb +608 -605
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +977 -85
- data/generated/google/apis/compute_v1/representations.rb +372 -0
- data/generated/google/apis/compute_v1/service.rb +747 -15
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +970 -965
- data/generated/google/apis/container_v1/representations.rb +60 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_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 +5 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +107 -5
- data/generated/google/apis/content_v2_1/representations.rb +35 -0
- data/generated/google/apis/content_v2_1/service.rb +54 -3
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +389 -573
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1162 -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 +5 -8
- data/generated/google/apis/datafusion_v1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1/service.rb +76 -89
- data/generated/google/apis/datafusion_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 +60 -14
- data/generated/google/apis/dataproc_v1/representations.rb +18 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +80 -10
- data/generated/google/apis/dataproc_v1beta2/representations.rb +33 -0
- 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/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
- data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +199 -70
- data/generated/google/apis/dialogflow_v2/representations.rb +104 -15
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +210 -78
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +104 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +500 -325
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8352 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3544 -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 +63 -8
- data/generated/google/apis/displayvideo_v1/representations.rb +6 -0
- data/generated/google/apis/displayvideo_v1/service.rb +47 -35
- 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 +1102 -1302
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- 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/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -14
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +12 -20
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
- 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 +14 -6
- 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 +14 -6
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- 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 +33 -51
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +186 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
- data/generated/google/apis/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 +85 -0
- data/generated/google/apis/fitness_v1/classes.rb +982 -0
- data/generated/google/apis/fitness_v1/representations.rb +398 -0
- data/generated/google/apis/fitness_v1/service.rb +626 -0
- 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 +7 -0
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- 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 -275
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +37 -43
- data/generated/google/apis/gmail_v1/service.rb +5 -4
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
- 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 +637 -826
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +840 -854
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1833 -1102
- data/generated/google/apis/healthcare_v1beta1/representations.rb +474 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +2476 -1281
- 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/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 +230 -227
- data/generated/google/apis/logging_v2/representations.rb +47 -0
- data/generated/google/apis/logging_v2/service.rb +2056 -673
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +8 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +8 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
- 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 -249
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
- data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
- 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 +107 -26
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +232 -328
- 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 -902
- data/generated/google/apis/osconfig_v1/representations.rb +0 -337
- 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 +16 -14
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
- data/generated/google/apis/oslogin_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 +121 -12
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +47 -45
- 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/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 +26 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -0
- 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/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
- data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
- data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +228 -228
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
- 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 +12 -135
- data/generated/google/apis/run_v1/representations.rb +1 -62
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/run_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_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 +26 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
- 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 +7 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/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 +20 -204
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +30 -60
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +31 -29
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +525 -641
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +281 -325
- data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
- 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 +1263 -2135
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
- data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +93 -57
- data/generated/google/apis/servicenetworking_v1/representations.rb +52 -1
- data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
- data/generated/google/apis/serviceusage_v1/service.rb +5 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
- 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/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
- data/generated/google/apis/{accessapproval_v1beta1 → smartdevicemanagement_v1}/representations.rb +44 -73
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/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 +469 -452
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +122 -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 +261 -339
- data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
- 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 +194 -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 +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/service.rb +2 -2
- 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 +7 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +54 -0
- data/generated/google/apis/tpu_v1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +54 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
- 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 -151
- 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 -151
- 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_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- 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_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
- data/generated/google/apis/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_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -586
- data/generated/google/apis/youtube_v3/representations.rb +0 -269
- data/generated/google/apis/youtube_v3/service.rb +0 -117
- data/google-api-client.gemspec +2 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +106 -40
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- 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/memcache_v1/classes.rb +0 -1157
- 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 -2059
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
- data/generated/google/apis/storage_v1beta2.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
|
|
@@ -69,14 +69,14 @@ module Google
|
|
69
69
|
attr_accessor :dns_cache_config
|
70
70
|
|
71
71
|
# Configuration options for the horizontal pod autoscaling feature, which
|
72
|
-
# increases or decreases the number of replica pods a replication controller
|
73
|
-
#
|
72
|
+
# increases or decreases the number of replica pods a replication controller has
|
73
|
+
# based on the resource usage of the existing pods.
|
74
74
|
# Corresponds to the JSON property `horizontalPodAutoscaling`
|
75
75
|
# @return [Google::Apis::ContainerV1::HorizontalPodAutoscaling]
|
76
76
|
attr_accessor :horizontal_pod_autoscaling
|
77
77
|
|
78
|
-
# Configuration options for the HTTP (L7) load balancing controller addon,
|
79
|
-
#
|
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.
|
80
80
|
# Corresponds to the JSON property `httpLoadBalancing`
|
81
81
|
# @return [Google::Apis::ContainerV1::HttpLoadBalancing]
|
82
82
|
attr_accessor :http_load_balancing
|
@@ -86,9 +86,9 @@ module Google
|
|
86
86
|
# @return [Google::Apis::ContainerV1::KubernetesDashboard]
|
87
87
|
attr_accessor :kubernetes_dashboard
|
88
88
|
|
89
|
-
# Configuration for NetworkPolicy. This only tracks whether the addon
|
90
|
-
#
|
91
|
-
#
|
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.
|
92
92
|
# Corresponds to the JSON property `networkPolicyConfig`
|
93
93
|
# @return [Google::Apis::ContainerV1::NetworkPolicyConfig]
|
94
94
|
attr_accessor :network_policy_config
|
@@ -113,15 +113,15 @@ module Google
|
|
113
113
|
class AuthenticatorGroupsConfig
|
114
114
|
include Google::Apis::Core::Hashable
|
115
115
|
|
116
|
-
# Whether this cluster should return group membership lookups
|
117
|
-
#
|
116
|
+
# Whether this cluster should return group membership lookups during
|
117
|
+
# authentication using a group of security groups.
|
118
118
|
# Corresponds to the JSON property `enabled`
|
119
119
|
# @return [Boolean]
|
120
120
|
attr_accessor :enabled
|
121
121
|
alias_method :enabled?, :enabled
|
122
122
|
|
123
|
-
# The name of the security group-of-groups to be used. Only relevant
|
124
|
-
#
|
123
|
+
# The name of the security group-of-groups to be used. Only relevant if enabled =
|
124
|
+
# true.
|
125
125
|
# Corresponds to the JSON property `securityGroup`
|
126
126
|
# @return [String]
|
127
127
|
attr_accessor :security_group
|
@@ -137,20 +137,20 @@ module Google
|
|
137
137
|
end
|
138
138
|
end
|
139
139
|
|
140
|
-
# AutoUpgradeOptions defines the set of options for the user to control how
|
141
|
-
#
|
140
|
+
# AutoUpgradeOptions defines the set of options for the user to control how the
|
141
|
+
# Auto Upgrades will proceed.
|
142
142
|
class AutoUpgradeOptions
|
143
143
|
include Google::Apis::Core::Hashable
|
144
144
|
|
145
|
-
# [Output only] This field is set when upgrades are about to commence
|
146
|
-
#
|
147
|
-
#
|
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.
|
148
148
|
# Corresponds to the JSON property `autoUpgradeStartTime`
|
149
149
|
# @return [String]
|
150
150
|
attr_accessor :auto_upgrade_start_time
|
151
151
|
|
152
|
-
# [Output only] This field is set when upgrades are about to commence
|
153
|
-
#
|
152
|
+
# [Output only] This field is set when upgrades are about to commence with the
|
153
|
+
# description of the upgrade.
|
154
154
|
# Corresponds to the JSON property `description`
|
155
155
|
# @return [String]
|
156
156
|
attr_accessor :description
|
@@ -166,17 +166,49 @@ module Google
|
|
166
166
|
end
|
167
167
|
end
|
168
168
|
|
169
|
-
# AutoprovisioningNodePoolDefaults contains defaults for a node pool created
|
170
|
-
#
|
169
|
+
# AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
|
170
|
+
# NAP.
|
171
171
|
class AutoprovisioningNodePoolDefaults
|
172
172
|
include Google::Apis::Core::Hashable
|
173
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
|
+
|
174
195
|
# NodeManagement defines the set of node management services turned on for the
|
175
196
|
# node pool.
|
176
197
|
# Corresponds to the JSON property `management`
|
177
198
|
# @return [Google::Apis::ContainerV1::NodeManagement]
|
178
199
|
attr_accessor :management
|
179
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
|
+
|
180
212
|
# Scopes that are used by NAP when creating node pools.
|
181
213
|
# Corresponds to the JSON property `oauthScopes`
|
182
214
|
# @return [Array<String>]
|
@@ -187,24 +219,25 @@ module Google
|
|
187
219
|
# @return [String]
|
188
220
|
attr_accessor :service_account
|
189
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
|
+
|
190
227
|
# These upgrade settings control the level of parallelism and the level of
|
191
|
-
# disruption caused by an upgrade.
|
192
|
-
#
|
193
|
-
#
|
194
|
-
#
|
195
|
-
#
|
196
|
-
#
|
197
|
-
#
|
198
|
-
#
|
199
|
-
#
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
203
|
-
#
|
204
|
-
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
205
|
-
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
206
|
-
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
207
|
-
# 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.
|
208
241
|
# Corresponds to the JSON property `upgradeSettings`
|
209
242
|
# @return [Google::Apis::ContainerV1::UpgradeSettings]
|
210
243
|
attr_accessor :upgrade_settings
|
@@ -215,9 +248,14 @@ module Google
|
|
215
248
|
|
216
249
|
# Update properties of this object
|
217
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)
|
218
254
|
@management = args[:management] if args.key?(:management)
|
255
|
+
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
219
256
|
@oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
|
220
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)
|
221
259
|
@upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
|
222
260
|
end
|
223
261
|
end
|
@@ -245,8 +283,8 @@ module Google
|
|
245
283
|
class BinaryAuthorization
|
246
284
|
include Google::Apis::Core::Hashable
|
247
285
|
|
248
|
-
# Enable Binary Authorization for this cluster. If enabled, all container
|
249
|
-
#
|
286
|
+
# Enable Binary Authorization for this cluster. If enabled, all container images
|
287
|
+
# will be validated by Binary Authorization.
|
250
288
|
# Corresponds to the JSON property `enabled`
|
251
289
|
# @return [Boolean]
|
252
290
|
attr_accessor :enabled
|
@@ -272,23 +310,22 @@ module Google
|
|
272
310
|
# @return [String]
|
273
311
|
attr_accessor :name
|
274
312
|
|
275
|
-
# Deprecated. The server-assigned `name` of the operation.
|
276
|
-
#
|
313
|
+
# Deprecated. The server-assigned `name` of the operation. This field has been
|
314
|
+
# deprecated and replaced by the name field.
|
277
315
|
# Corresponds to the JSON property `operationId`
|
278
316
|
# @return [String]
|
279
317
|
attr_accessor :operation_id
|
280
318
|
|
281
|
-
# Deprecated. The Google Developers Console [project ID or project
|
282
|
-
#
|
283
|
-
#
|
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.
|
284
322
|
# Corresponds to the JSON property `projectId`
|
285
323
|
# @return [String]
|
286
324
|
attr_accessor :project_id
|
287
325
|
|
288
|
-
# Deprecated. The name of the Google Compute Engine
|
289
|
-
#
|
290
|
-
#
|
291
|
-
# 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.
|
292
329
|
# Corresponds to the JSON property `zone`
|
293
330
|
# @return [String]
|
294
331
|
attr_accessor :zone
|
@@ -361,6 +398,11 @@ module Google
|
|
361
398
|
attr_accessor :disabled
|
362
399
|
alias_method :disabled?, :disabled
|
363
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
|
+
|
364
406
|
def initialize(**args)
|
365
407
|
update!(**args)
|
366
408
|
end
|
@@ -368,6 +410,7 @@ module Google
|
|
368
410
|
# Update properties of this object
|
369
411
|
def update!(**args)
|
370
412
|
@disabled = args[:disabled] if args.key?(:disabled)
|
413
|
+
@load_balancer_type = args[:load_balancer_type] if args.key?(:load_balancer_type)
|
371
414
|
end
|
372
415
|
end
|
373
416
|
|
@@ -375,8 +418,8 @@ module Google
|
|
375
418
|
class Cluster
|
376
419
|
include Google::Apis::Core::Hashable
|
377
420
|
|
378
|
-
# Configuration for the addons that can be automatically spun up in the
|
379
|
-
#
|
421
|
+
# Configuration for the addons that can be automatically spun up in the cluster,
|
422
|
+
# enabling additional functionality.
|
380
423
|
# Corresponds to the JSON property `addonsConfig`
|
381
424
|
# @return [Google::Apis::ContainerV1::AddonsConfig]
|
382
425
|
attr_accessor :addons_config
|
@@ -386,10 +429,9 @@ module Google
|
|
386
429
|
# @return [Google::Apis::ContainerV1::AuthenticatorGroupsConfig]
|
387
430
|
attr_accessor :authenticator_groups_config
|
388
431
|
|
389
|
-
# ClusterAutoscaling contains global, per-cluster information
|
390
|
-
#
|
391
|
-
#
|
392
|
-
# 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.
|
393
435
|
# Corresponds to the JSON property `autoscaling`
|
394
436
|
# @return [Google::Apis::ContainerV1::ClusterAutoscaling]
|
395
437
|
attr_accessor :autoscaling
|
@@ -399,10 +441,10 @@ module Google
|
|
399
441
|
# @return [Google::Apis::ContainerV1::BinaryAuthorization]
|
400
442
|
attr_accessor :binary_authorization
|
401
443
|
|
402
|
-
# The IP address range of the container pods in this cluster, in
|
403
|
-
#
|
404
|
-
#
|
405
|
-
#
|
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`.
|
406
448
|
# Corresponds to the JSON property `clusterIpv4Cidr`
|
407
449
|
# @return [String]
|
408
450
|
attr_accessor :cluster_ipv4_cidr
|
@@ -412,8 +454,8 @@ module Google
|
|
412
454
|
# @return [Array<Google::Apis::ContainerV1::StatusCondition>]
|
413
455
|
attr_accessor :conditions
|
414
456
|
|
415
|
-
# [Output only] The time the cluster was created, in
|
416
|
-
#
|
457
|
+
# [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.
|
458
|
+
# org/rfc/rfc3339.txt) text format.
|
417
459
|
# Corresponds to the JSON property `createTime`
|
418
460
|
# @return [String]
|
419
461
|
attr_accessor :create_time
|
@@ -423,15 +465,14 @@ module Google
|
|
423
465
|
# @return [String]
|
424
466
|
attr_accessor :current_master_version
|
425
467
|
|
426
|
-
# [Output only]
|
427
|
-
#
|
468
|
+
# [Output only] The number of nodes currently in the cluster. Deprecated. Call
|
469
|
+
# Kubernetes API directly to retrieve node information.
|
428
470
|
# Corresponds to the JSON property `currentNodeCount`
|
429
471
|
# @return [Fixnum]
|
430
472
|
attr_accessor :current_node_count
|
431
473
|
|
432
|
-
# [Output only] Deprecated, use
|
433
|
-
#
|
434
|
-
# 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)
|
435
476
|
# instead. The current version of the node software components. If they are
|
436
477
|
# currently at multiple versions because they're in the process of being
|
437
478
|
# upgraded, this reflects the minimum version of all nodes.
|
@@ -454,12 +495,11 @@ module Google
|
|
454
495
|
# @return [String]
|
455
496
|
attr_accessor :description
|
456
497
|
|
457
|
-
# Kubernetes alpha features are enabled on this cluster. This includes alpha
|
458
|
-
#
|
459
|
-
#
|
460
|
-
#
|
461
|
-
#
|
462
|
-
# 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.
|
463
503
|
# Corresponds to the JSON property `enableKubernetesAlpha`
|
464
504
|
# @return [Boolean]
|
465
505
|
attr_accessor :enable_kubernetes_alpha
|
@@ -471,45 +511,41 @@ module Google
|
|
471
511
|
attr_accessor :enable_tpu
|
472
512
|
alias_method :enable_tpu?, :enable_tpu
|
473
513
|
|
474
|
-
# [Output only] The IP address of this cluster's master endpoint.
|
475
|
-
#
|
476
|
-
# `
|
477
|
-
#
|
478
|
-
# 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.
|
479
518
|
# Corresponds to the JSON property `endpoint`
|
480
519
|
# @return [String]
|
481
520
|
attr_accessor :endpoint
|
482
521
|
|
483
|
-
# [Output only] The time the cluster will be automatically
|
484
|
-
#
|
522
|
+
# [Output only] The time the cluster will be automatically deleted in [RFC3339](
|
523
|
+
# https://www.ietf.org/rfc/rfc3339.txt) text format.
|
485
524
|
# Corresponds to the JSON property `expireTime`
|
486
525
|
# @return [String]
|
487
526
|
attr_accessor :expire_time
|
488
527
|
|
489
|
-
# The initial Kubernetes version for this cluster.
|
490
|
-
# found in validMasterVersions returned by getServerConfig.
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
# - "
|
496
|
-
#
|
497
|
-
# - "
|
498
|
-
# - "1.X.Y-gke.N": picks an explicit Kubernetes version
|
499
|
-
# - "","-": 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
|
500
537
|
# Corresponds to the JSON property `initialClusterVersion`
|
501
538
|
# @return [String]
|
502
539
|
attr_accessor :initial_cluster_version
|
503
540
|
|
504
541
|
# The number of nodes to create in this cluster. You must ensure that your
|
505
|
-
# Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
|
506
|
-
#
|
507
|
-
#
|
508
|
-
#
|
509
|
-
# "
|
510
|
-
#
|
511
|
-
#
|
512
|
-
# 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.
|
513
549
|
# Corresponds to the JSON property `initialNodeCount`
|
514
550
|
# @return [Fixnum]
|
515
551
|
attr_accessor :initial_node_count
|
@@ -529,39 +565,32 @@ module Google
|
|
529
565
|
# @return [String]
|
530
566
|
attr_accessor :label_fingerprint
|
531
567
|
|
532
|
-
# Configuration for the legacy Attribute Based Access Control authorization
|
533
|
-
# mode.
|
568
|
+
# Configuration for the legacy Attribute Based Access Control authorization mode.
|
534
569
|
# Corresponds to the JSON property `legacyAbac`
|
535
570
|
# @return [Google::Apis::ContainerV1::LegacyAbac]
|
536
571
|
attr_accessor :legacy_abac
|
537
572
|
|
538
|
-
# [Output only] The name of the Google Compute Engine
|
539
|
-
#
|
540
|
-
# available)
|
541
|
-
# or
|
542
|
-
# [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
|
543
|
-
# 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)
|
544
576
|
# in which the cluster resides.
|
545
577
|
# Corresponds to the JSON property `location`
|
546
578
|
# @return [String]
|
547
579
|
attr_accessor :location
|
548
580
|
|
549
|
-
# The list of Google Compute Engine
|
550
|
-
#
|
551
|
-
# 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.
|
552
583
|
# Corresponds to the JSON property `locations`
|
553
584
|
# @return [Array<String>]
|
554
585
|
attr_accessor :locations
|
555
586
|
|
556
|
-
# The logging service the cluster should use to write logs.
|
557
|
-
#
|
558
|
-
# * `logging.googleapis.com
|
559
|
-
# service
|
560
|
-
#
|
561
|
-
#
|
562
|
-
#
|
563
|
-
# If left as an empty string,`logging.googleapis.com/kubernetes` will be
|
564
|
-
# 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.
|
565
594
|
# Corresponds to the JSON property `loggingService`
|
566
595
|
# @return [String]
|
567
596
|
attr_accessor :logging_service
|
@@ -572,8 +601,7 @@ module Google
|
|
572
601
|
attr_accessor :maintenance_policy
|
573
602
|
|
574
603
|
# The authentication information for accessing the master endpoint.
|
575
|
-
# Authentication can be done using HTTP basic auth or using client
|
576
|
-
# certificates.
|
604
|
+
# Authentication can be done using HTTP basic auth or using client certificates.
|
577
605
|
# Corresponds to the JSON property `masterAuth`
|
578
606
|
# @return [Google::Apis::ContainerV1::MasterAuth]
|
579
607
|
attr_accessor :master_auth
|
@@ -586,34 +614,28 @@ module Google
|
|
586
614
|
# @return [Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig]
|
587
615
|
attr_accessor :master_authorized_networks_config
|
588
616
|
|
589
|
-
# The monitoring service the cluster should use to write metrics.
|
590
|
-
#
|
591
|
-
#
|
592
|
-
# service
|
593
|
-
#
|
594
|
-
#
|
595
|
-
#
|
596
|
-
# If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
|
597
|
-
# 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.
|
598
624
|
# Corresponds to the JSON property `monitoringService`
|
599
625
|
# @return [String]
|
600
626
|
attr_accessor :monitoring_service
|
601
627
|
|
602
|
-
# The name of this cluster. The name must be unique within this project
|
603
|
-
#
|
604
|
-
#
|
605
|
-
# *
|
606
|
-
# * Must start with a letter.
|
607
|
-
# * 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.
|
608
632
|
# Corresponds to the JSON property `name`
|
609
633
|
# @return [String]
|
610
634
|
attr_accessor :name
|
611
635
|
|
612
|
-
# The name of the Google Compute Engine
|
613
|
-
#
|
614
|
-
#
|
615
|
-
# to which the cluster is connected. If left unspecified, the `default`
|
616
|
-
# 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.
|
617
639
|
# Corresponds to the JSON property `network`
|
618
640
|
# @return [String]
|
619
641
|
attr_accessor :network
|
@@ -623,8 +645,8 @@ module Google
|
|
623
645
|
# @return [Google::Apis::ContainerV1::NetworkConfig]
|
624
646
|
attr_accessor :network_config
|
625
647
|
|
626
|
-
# Configuration options for the NetworkPolicy feature.
|
627
|
-
#
|
648
|
+
# Configuration options for the NetworkPolicy feature. https://kubernetes.io/
|
649
|
+
# docs/concepts/services-networking/networkpolicies/
|
628
650
|
# Corresponds to the JSON property `networkPolicy`
|
629
651
|
# @return [Google::Apis::ContainerV1::NetworkPolicy]
|
630
652
|
attr_accessor :network_policy
|
@@ -635,16 +657,14 @@ module Google
|
|
635
657
|
attr_accessor :node_config
|
636
658
|
|
637
659
|
# [Output only] The size of the address space on each node for hosting
|
638
|
-
# containers. This is provisioned from within the `container_ipv4_cidr`
|
639
|
-
#
|
640
|
-
# 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.
|
641
662
|
# Corresponds to the JSON property `nodeIpv4CidrSize`
|
642
663
|
# @return [Fixnum]
|
643
664
|
attr_accessor :node_ipv4_cidr_size
|
644
665
|
|
645
|
-
# The node pools associated with this cluster.
|
646
|
-
#
|
647
|
-
# 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.
|
648
668
|
# Corresponds to the JSON property `nodePools`
|
649
669
|
# @return [Array<Google::Apis::ContainerV1::NodePool>]
|
650
670
|
attr_accessor :node_pools
|
@@ -654,17 +674,16 @@ module Google
|
|
654
674
|
# @return [Google::Apis::ContainerV1::PrivateClusterConfig]
|
655
675
|
attr_accessor :private_cluster_config
|
656
676
|
|
657
|
-
# ReleaseChannel indicates which release channel a cluster is
|
658
|
-
#
|
659
|
-
#
|
660
|
-
#
|
661
|
-
# 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.
|
662
681
|
# Corresponds to the JSON property `releaseChannel`
|
663
682
|
# @return [Google::Apis::ContainerV1::ReleaseChannel]
|
664
683
|
attr_accessor :release_channel
|
665
684
|
|
666
|
-
# The resource labels for the cluster to use to annotate any related
|
667
|
-
#
|
685
|
+
# The resource labels for the cluster to use to annotate any related Google
|
686
|
+
# Compute Engine resources.
|
668
687
|
# Corresponds to the JSON property `resourceLabels`
|
669
688
|
# @return [Hash<String,String>]
|
670
689
|
attr_accessor :resource_labels
|
@@ -679,11 +698,10 @@ module Google
|
|
679
698
|
# @return [String]
|
680
699
|
attr_accessor :self_link
|
681
700
|
|
682
|
-
# [Output only] The IP address range of the Kubernetes services in
|
683
|
-
#
|
684
|
-
#
|
685
|
-
#
|
686
|
-
# 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.
|
687
705
|
# Corresponds to the JSON property `servicesIpv4Cidr`
|
688
706
|
# @return [String]
|
689
707
|
attr_accessor :services_ipv4_cidr
|
@@ -698,42 +716,40 @@ module Google
|
|
698
716
|
# @return [String]
|
699
717
|
attr_accessor :status
|
700
718
|
|
701
|
-
# [Output only] Additional information about the current status of this
|
702
|
-
#
|
719
|
+
# [Output only] Additional information about the current status of this cluster,
|
720
|
+
# if available.
|
703
721
|
# Corresponds to the JSON property `statusMessage`
|
704
722
|
# @return [String]
|
705
723
|
attr_accessor :status_message
|
706
724
|
|
707
|
-
# The name of the Google Compute Engine
|
708
|
-
#
|
709
|
-
# 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.
|
710
727
|
# Corresponds to the JSON property `subnetwork`
|
711
728
|
# @return [String]
|
712
729
|
attr_accessor :subnetwork
|
713
730
|
|
714
|
-
# [Output only] The IP address range of the Cloud TPUs in this cluster, in
|
715
|
-
#
|
716
|
-
#
|
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`).
|
717
734
|
# Corresponds to the JSON property `tpuIpv4CidrBlock`
|
718
735
|
# @return [String]
|
719
736
|
attr_accessor :tpu_ipv4_cidr_block
|
720
737
|
|
721
|
-
# VerticalPodAutoscaling contains global, per-cluster information
|
722
|
-
#
|
723
|
-
#
|
738
|
+
# VerticalPodAutoscaling contains global, per-cluster information required by
|
739
|
+
# Vertical Pod Autoscaler to automatically adjust the resources of pods
|
740
|
+
# controlled by it.
|
724
741
|
# Corresponds to the JSON property `verticalPodAutoscaling`
|
725
742
|
# @return [Google::Apis::ContainerV1::VerticalPodAutoscaling]
|
726
743
|
attr_accessor :vertical_pod_autoscaling
|
727
744
|
|
728
|
-
# Configuration for the use of Kubernetes Service Accounts in GCP IAM
|
729
|
-
# policies.
|
745
|
+
# Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
|
730
746
|
# Corresponds to the JSON property `workloadIdentityConfig`
|
731
747
|
# @return [Google::Apis::ContainerV1::WorkloadIdentityConfig]
|
732
748
|
attr_accessor :workload_identity_config
|
733
749
|
|
734
|
-
# [Output only] The name of the Google Compute Engine
|
735
|
-
#
|
736
|
-
#
|
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.
|
737
753
|
# Corresponds to the JSON property `zone`
|
738
754
|
# @return [String]
|
739
755
|
attr_accessor :zone
|
@@ -798,22 +814,20 @@ module Google
|
|
798
814
|
end
|
799
815
|
end
|
800
816
|
|
801
|
-
# ClusterAutoscaling contains global, per-cluster information
|
802
|
-
#
|
803
|
-
#
|
804
|
-
# 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.
|
805
820
|
class ClusterAutoscaling
|
806
821
|
include Google::Apis::Core::Hashable
|
807
822
|
|
808
|
-
# The list of Google Compute Engine
|
809
|
-
#
|
810
|
-
# 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.
|
811
825
|
# Corresponds to the JSON property `autoprovisioningLocations`
|
812
826
|
# @return [Array<String>]
|
813
827
|
attr_accessor :autoprovisioning_locations
|
814
828
|
|
815
|
-
# AutoprovisioningNodePoolDefaults contains defaults for a node pool created
|
816
|
-
#
|
829
|
+
# AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
|
830
|
+
# NAP.
|
817
831
|
# Corresponds to the JSON property `autoprovisioningNodePoolDefaults`
|
818
832
|
# @return [Google::Apis::ContainerV1::AutoprovisioningNodePoolDefaults]
|
819
833
|
attr_accessor :autoprovisioning_node_pool_defaults
|
@@ -824,8 +838,8 @@ module Google
|
|
824
838
|
attr_accessor :enable_node_autoprovisioning
|
825
839
|
alias_method :enable_node_autoprovisioning?, :enable_node_autoprovisioning
|
826
840
|
|
827
|
-
# Contains global constraints regarding minimum and maximum
|
828
|
-
#
|
841
|
+
# Contains global constraints regarding minimum and maximum amount of resources
|
842
|
+
# in the cluster.
|
829
843
|
# Corresponds to the JSON property `resourceLimits`
|
830
844
|
# @return [Array<Google::Apis::ContainerV1::ResourceLimit>]
|
831
845
|
attr_accessor :resource_limits
|
@@ -843,14 +857,13 @@ module Google
|
|
843
857
|
end
|
844
858
|
end
|
845
859
|
|
846
|
-
# ClusterUpdate describes an update to the cluster. Exactly one update can
|
847
|
-
#
|
848
|
-
# 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.
|
849
862
|
class ClusterUpdate
|
850
863
|
include Google::Apis::Core::Hashable
|
851
864
|
|
852
|
-
# Configuration for the addons that can be automatically spun up in the
|
853
|
-
#
|
865
|
+
# Configuration for the addons that can be automatically spun up in the cluster,
|
866
|
+
# enabling additional functionality.
|
854
867
|
# Corresponds to the JSON property `desiredAddonsConfig`
|
855
868
|
# @return [Google::Apis::ContainerV1::AddonsConfig]
|
856
869
|
attr_accessor :desired_addons_config
|
@@ -860,10 +873,9 @@ module Google
|
|
860
873
|
# @return [Google::Apis::ContainerV1::BinaryAuthorization]
|
861
874
|
attr_accessor :desired_binary_authorization
|
862
875
|
|
863
|
-
# ClusterAutoscaling contains global, per-cluster information
|
864
|
-
#
|
865
|
-
#
|
866
|
-
# 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.
|
867
879
|
# Corresponds to the JSON property `desiredClusterAutoscaling`
|
868
880
|
# @return [Google::Apis::ContainerV1::ClusterAutoscaling]
|
869
881
|
attr_accessor :desired_cluster_autoscaling
|
@@ -873,8 +885,14 @@ module Google
|
|
873
885
|
# @return [Google::Apis::ContainerV1::DatabaseEncryption]
|
874
886
|
attr_accessor :desired_database_encryption
|
875
887
|
|
876
|
-
#
|
877
|
-
#
|
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.
|
878
896
|
# Corresponds to the JSON property `desiredImageType`
|
879
897
|
# @return [String]
|
880
898
|
attr_accessor :desired_image_type
|
@@ -885,25 +903,22 @@ module Google
|
|
885
903
|
# @return [Google::Apis::ContainerV1::IntraNodeVisibilityConfig]
|
886
904
|
attr_accessor :desired_intra_node_visibility_config
|
887
905
|
|
888
|
-
# The desired list of Google Compute Engine
|
889
|
-
#
|
890
|
-
#
|
891
|
-
#
|
892
|
-
#
|
893
|
-
# 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.
|
894
911
|
# Corresponds to the JSON property `desiredLocations`
|
895
912
|
# @return [Array<String>]
|
896
913
|
attr_accessor :desired_locations
|
897
914
|
|
898
|
-
# The logging service the cluster should use to write logs.
|
899
|
-
#
|
900
|
-
# * `logging.googleapis.com
|
901
|
-
# service
|
902
|
-
#
|
903
|
-
#
|
904
|
-
#
|
905
|
-
# If left as an empty string,`logging.googleapis.com/kubernetes` will be
|
906
|
-
# 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.
|
907
922
|
# Corresponds to the JSON property `desiredLoggingService`
|
908
923
|
# @return [String]
|
909
924
|
attr_accessor :desired_logging_service
|
@@ -916,27 +931,24 @@ module Google
|
|
916
931
|
# @return [Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig]
|
917
932
|
attr_accessor :desired_master_authorized_networks_config
|
918
933
|
|
919
|
-
# The Kubernetes version to change the master to.
|
920
|
-
#
|
921
|
-
#
|
922
|
-
# - "
|
923
|
-
#
|
924
|
-
# - "
|
925
|
-
#
|
926
|
-
# - "-": 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
|
927
941
|
# Corresponds to the JSON property `desiredMasterVersion`
|
928
942
|
# @return [String]
|
929
943
|
attr_accessor :desired_master_version
|
930
944
|
|
931
|
-
# The monitoring service the cluster should use to write metrics.
|
932
|
-
#
|
933
|
-
#
|
934
|
-
# service
|
935
|
-
#
|
936
|
-
#
|
937
|
-
#
|
938
|
-
# If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
|
939
|
-
# 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.
|
940
952
|
# Corresponds to the JSON property `desiredMonitoringService`
|
941
953
|
# @return [String]
|
942
954
|
attr_accessor :desired_monitoring_service
|
@@ -947,32 +959,33 @@ module Google
|
|
947
959
|
# @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
|
948
960
|
attr_accessor :desired_node_pool_autoscaling
|
949
961
|
|
950
|
-
# The node pool to be upgraded. This field is mandatory if
|
951
|
-
#
|
952
|
-
#
|
953
|
-
# 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.
|
954
965
|
# Corresponds to the JSON property `desiredNodePoolId`
|
955
966
|
# @return [String]
|
956
967
|
attr_accessor :desired_node_pool_id
|
957
968
|
|
958
|
-
# The Kubernetes version to change the nodes to (typically an
|
959
|
-
#
|
960
|
-
#
|
961
|
-
# Kubernetes
|
962
|
-
# - "
|
963
|
-
# - "1.X": picks
|
964
|
-
#
|
965
|
-
# - "1.X.Y-gke.N": picks an explicit Kubernetes version
|
966
|
-
# - "-": 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
|
967
976
|
# Corresponds to the JSON property `desiredNodeVersion`
|
968
977
|
# @return [String]
|
969
978
|
attr_accessor :desired_node_version
|
970
979
|
|
971
|
-
#
|
972
|
-
#
|
973
|
-
#
|
974
|
-
|
975
|
-
|
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.
|
976
989
|
# Corresponds to the JSON property `desiredReleaseChannel`
|
977
990
|
# @return [Google::Apis::ContainerV1::ReleaseChannel]
|
978
991
|
attr_accessor :desired_release_channel
|
@@ -987,15 +1000,14 @@ module Google
|
|
987
1000
|
# @return [Google::Apis::ContainerV1::ShieldedNodes]
|
988
1001
|
attr_accessor :desired_shielded_nodes
|
989
1002
|
|
990
|
-
# VerticalPodAutoscaling contains global, per-cluster information
|
991
|
-
#
|
992
|
-
#
|
1003
|
+
# VerticalPodAutoscaling contains global, per-cluster information required by
|
1004
|
+
# Vertical Pod Autoscaler to automatically adjust the resources of pods
|
1005
|
+
# controlled by it.
|
993
1006
|
# Corresponds to the JSON property `desiredVerticalPodAutoscaling`
|
994
1007
|
# @return [Google::Apis::ContainerV1::VerticalPodAutoscaling]
|
995
1008
|
attr_accessor :desired_vertical_pod_autoscaling
|
996
1009
|
|
997
|
-
# Configuration for the use of Kubernetes Service Accounts in GCP IAM
|
998
|
-
# policies.
|
1010
|
+
# Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
|
999
1011
|
# Corresponds to the JSON property `desiredWorkloadIdentityConfig`
|
1000
1012
|
# @return [Google::Apis::ContainerV1::WorkloadIdentityConfig]
|
1001
1013
|
attr_accessor :desired_workload_identity_config
|
@@ -1010,6 +1022,7 @@ module Google
|
|
1010
1022
|
@desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
|
1011
1023
|
@desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
|
1012
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)
|
1013
1026
|
@desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
|
1014
1027
|
@desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
|
1015
1028
|
@desired_locations = args[:desired_locations] if args.key?(:desired_locations)
|
@@ -1020,6 +1033,7 @@ module Google
|
|
1020
1033
|
@desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
|
1021
1034
|
@desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
|
1022
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)
|
1023
1037
|
@desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
|
1024
1038
|
@desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
|
1025
1039
|
@desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
|
@@ -1032,8 +1046,8 @@ module Google
|
|
1032
1046
|
class CompleteIpRotationRequest
|
1033
1047
|
include Google::Apis::Core::Hashable
|
1034
1048
|
|
1035
|
-
# Deprecated. The name of the cluster.
|
1036
|
-
#
|
1049
|
+
# Deprecated. The name of the cluster. This field has been deprecated and
|
1050
|
+
# replaced by the name field.
|
1037
1051
|
# Corresponds to the JSON property `clusterId`
|
1038
1052
|
# @return [String]
|
1039
1053
|
attr_accessor :cluster_id
|
@@ -1044,17 +1058,16 @@ module Google
|
|
1044
1058
|
# @return [String]
|
1045
1059
|
attr_accessor :name
|
1046
1060
|
|
1047
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1048
|
-
#
|
1049
|
-
#
|
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.
|
1050
1064
|
# Corresponds to the JSON property `projectId`
|
1051
1065
|
# @return [String]
|
1052
1066
|
attr_accessor :project_id
|
1053
1067
|
|
1054
|
-
# Deprecated. The name of the Google Compute Engine
|
1055
|
-
#
|
1056
|
-
#
|
1057
|
-
# 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.
|
1058
1071
|
# Corresponds to the JSON property `zone`
|
1059
1072
|
# @return [String]
|
1060
1073
|
attr_accessor :zone
|
@@ -1096,9 +1109,8 @@ module Google
|
|
1096
1109
|
class ConsumptionMeteringConfig
|
1097
1110
|
include Google::Apis::Core::Hashable
|
1098
1111
|
|
1099
|
-
# Whether to enable consumption metering for this cluster. If enabled, a
|
1100
|
-
#
|
1101
|
-
# 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.
|
1102
1114
|
# Corresponds to the JSON property `enabled`
|
1103
1115
|
# @return [Boolean]
|
1104
1116
|
attr_accessor :enabled
|
@@ -1123,23 +1135,22 @@ module Google
|
|
1123
1135
|
# @return [Google::Apis::ContainerV1::Cluster]
|
1124
1136
|
attr_accessor :cluster
|
1125
1137
|
|
1126
|
-
# The parent (project and location) where the cluster will be created.
|
1127
|
-
#
|
1138
|
+
# The parent (project and location) where the cluster will be created. Specified
|
1139
|
+
# in the format `projects/*/locations/*`.
|
1128
1140
|
# Corresponds to the JSON property `parent`
|
1129
1141
|
# @return [String]
|
1130
1142
|
attr_accessor :parent
|
1131
1143
|
|
1132
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1133
|
-
#
|
1134
|
-
#
|
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.
|
1135
1147
|
# Corresponds to the JSON property `projectId`
|
1136
1148
|
# @return [String]
|
1137
1149
|
attr_accessor :project_id
|
1138
1150
|
|
1139
|
-
# Deprecated. The name of the Google Compute Engine
|
1140
|
-
#
|
1141
|
-
#
|
1142
|
-
# 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.
|
1143
1154
|
# Corresponds to the JSON property `zone`
|
1144
1155
|
# @return [String]
|
1145
1156
|
attr_accessor :zone
|
@@ -1161,40 +1172,38 @@ module Google
|
|
1161
1172
|
class CreateNodePoolRequest
|
1162
1173
|
include Google::Apis::Core::Hashable
|
1163
1174
|
|
1164
|
-
# Deprecated. The name of the cluster.
|
1165
|
-
#
|
1175
|
+
# Deprecated. The name of the cluster. This field has been deprecated and
|
1176
|
+
# replaced by the parent field.
|
1166
1177
|
# Corresponds to the JSON property `clusterId`
|
1167
1178
|
# @return [String]
|
1168
1179
|
attr_accessor :cluster_id
|
1169
1180
|
|
1170
|
-
# NodePool contains the name and configuration for a cluster's node pool.
|
1171
|
-
#
|
1172
|
-
# specification, under the control of the cluster master. They may have a set
|
1173
|
-
#
|
1174
|
-
#
|
1175
|
-
#
|
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.
|
1176
1187
|
# Corresponds to the JSON property `nodePool`
|
1177
1188
|
# @return [Google::Apis::ContainerV1::NodePool]
|
1178
1189
|
attr_accessor :node_pool
|
1179
1190
|
|
1180
|
-
# The parent (project, location, cluster id) where the node pool will be
|
1181
|
-
#
|
1182
|
-
# `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/*`.
|
1183
1193
|
# Corresponds to the JSON property `parent`
|
1184
1194
|
# @return [String]
|
1185
1195
|
attr_accessor :parent
|
1186
1196
|
|
1187
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1188
|
-
#
|
1189
|
-
#
|
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.
|
1190
1200
|
# Corresponds to the JSON property `projectId`
|
1191
1201
|
# @return [String]
|
1192
1202
|
attr_accessor :project_id
|
1193
1203
|
|
1194
|
-
# Deprecated. The name of the Google Compute Engine
|
1195
|
-
#
|
1196
|
-
#
|
1197
|
-
# 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.
|
1198
1207
|
# Corresponds to the JSON property `zone`
|
1199
1208
|
# @return [String]
|
1200
1209
|
attr_accessor :zone
|
@@ -1217,17 +1226,16 @@ module Google
|
|
1217
1226
|
class DailyMaintenanceWindow
|
1218
1227
|
include Google::Apis::Core::Hashable
|
1219
1228
|
|
1220
|
-
# [Output only] Duration of the time window, automatically chosen to be
|
1221
|
-
#
|
1222
|
-
#
|
1223
|
-
# 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".
|
1224
1232
|
# Corresponds to the JSON property `duration`
|
1225
1233
|
# @return [String]
|
1226
1234
|
attr_accessor :duration
|
1227
1235
|
|
1228
|
-
# Time within the maintenance window to start the maintenance operations.
|
1229
|
-
#
|
1230
|
-
#
|
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.
|
1231
1239
|
# Corresponds to the JSON property `startTime`
|
1232
1240
|
# @return [String]
|
1233
1241
|
attr_accessor :start_time
|
@@ -1247,8 +1255,8 @@ module Google
|
|
1247
1255
|
class DatabaseEncryption
|
1248
1256
|
include Google::Apis::Core::Hashable
|
1249
1257
|
|
1250
|
-
# Name of CloudKMS key to use for the encryption of secrets in etcd.
|
1251
|
-
#
|
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
|
1252
1260
|
# Corresponds to the JSON property `keyName`
|
1253
1261
|
# @return [String]
|
1254
1262
|
attr_accessor :key_name
|
@@ -1269,6 +1277,27 @@ module Google
|
|
1269
1277
|
end
|
1270
1278
|
end
|
1271
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
|
+
|
1272
1301
|
# Configuration for NodeLocal DNSCache
|
1273
1302
|
class DnsCacheConfig
|
1274
1303
|
include Google::Apis::Core::Hashable
|
@@ -1289,13 +1318,11 @@ module Google
|
|
1289
1318
|
end
|
1290
1319
|
end
|
1291
1320
|
|
1292
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
1293
|
-
#
|
1294
|
-
#
|
1295
|
-
#
|
1296
|
-
#
|
1297
|
-
# `
|
1298
|
-
# 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 ````.
|
1299
1326
|
class Empty
|
1300
1327
|
include Google::Apis::Core::Hashable
|
1301
1328
|
|
@@ -1317,8 +1344,7 @@ module Google
|
|
1317
1344
|
# @return [Google::Apis::ContainerV1::HttpCacheControlResponseHeader]
|
1318
1345
|
attr_accessor :cache_header
|
1319
1346
|
|
1320
|
-
# The public component of the keys used by the cluster to sign token
|
1321
|
-
# requests.
|
1347
|
+
# The public component of the keys used by the cluster to sign token requests.
|
1322
1348
|
# Corresponds to the JSON property `keys`
|
1323
1349
|
# @return [Array<Google::Apis::ContainerV1::Jwk>]
|
1324
1350
|
attr_accessor :keys
|
@@ -1334,8 +1360,8 @@ module Google
|
|
1334
1360
|
end
|
1335
1361
|
end
|
1336
1362
|
|
1337
|
-
# GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
|
1338
|
-
#
|
1363
|
+
# GetOpenIDConfigResponse is an OIDC discovery document for the cluster. See the
|
1364
|
+
# OpenID Connect Discovery 1.0 specification for details.
|
1339
1365
|
class GetOpenIdConfigResponse
|
1340
1366
|
include Google::Apis::Core::Hashable
|
1341
1367
|
|
@@ -1397,14 +1423,13 @@ module Google
|
|
1397
1423
|
end
|
1398
1424
|
|
1399
1425
|
# Configuration options for the horizontal pod autoscaling feature, which
|
1400
|
-
# increases or decreases the number of replica pods a replication controller
|
1401
|
-
#
|
1426
|
+
# increases or decreases the number of replica pods a replication controller has
|
1427
|
+
# based on the resource usage of the existing pods.
|
1402
1428
|
class HorizontalPodAutoscaling
|
1403
1429
|
include Google::Apis::Core::Hashable
|
1404
1430
|
|
1405
|
-
# Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
|
1406
|
-
#
|
1407
|
-
# 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.
|
1408
1433
|
# Corresponds to the JSON property `disabled`
|
1409
1434
|
# @return [Boolean]
|
1410
1435
|
attr_accessor :disabled
|
@@ -1451,14 +1476,13 @@ module Google
|
|
1451
1476
|
end
|
1452
1477
|
end
|
1453
1478
|
|
1454
|
-
# Configuration options for the HTTP (L7) load balancing controller addon,
|
1455
|
-
#
|
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.
|
1456
1481
|
class HttpLoadBalancing
|
1457
1482
|
include Google::Apis::Core::Hashable
|
1458
1483
|
|
1459
|
-
# Whether the HTTP Load Balancing controller is enabled in the cluster.
|
1460
|
-
#
|
1461
|
-
# 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.
|
1462
1486
|
# Corresponds to the JSON property `disabled`
|
1463
1487
|
# @return [Boolean]
|
1464
1488
|
attr_accessor :disabled
|
@@ -1483,33 +1507,28 @@ module Google
|
|
1483
1507
|
# @return [String]
|
1484
1508
|
attr_accessor :cluster_ipv4_cidr
|
1485
1509
|
|
1486
|
-
# The IP address range for the cluster pod IPs. If this field is set, then
|
1487
|
-
#
|
1488
|
-
#
|
1489
|
-
# Set to
|
1490
|
-
#
|
1491
|
-
#
|
1492
|
-
#
|
1493
|
-
#
|
1494
|
-
# notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
|
1495
|
-
# `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
|
1496
|
-
# 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.
|
1497
1518
|
# Corresponds to the JSON property `clusterIpv4CidrBlock`
|
1498
1519
|
# @return [String]
|
1499
1520
|
attr_accessor :cluster_ipv4_cidr_block
|
1500
1521
|
|
1501
|
-
# The name of the secondary range to be used for the cluster CIDR
|
1502
|
-
#
|
1503
|
-
#
|
1504
|
-
# with
|
1505
|
-
# This field is only applicable with use_ip_aliases is true and
|
1506
|
-
# 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.
|
1507
1526
|
# Corresponds to the JSON property `clusterSecondaryRangeName`
|
1508
1527
|
# @return [String]
|
1509
1528
|
attr_accessor :cluster_secondary_range_name
|
1510
1529
|
|
1511
|
-
# Whether a new subnetwork will be created automatically for the cluster.
|
1512
|
-
#
|
1530
|
+
# Whether a new subnetwork will be created automatically for the cluster. This
|
1531
|
+
# field is only applicable when `use_ip_aliases` is true.
|
1513
1532
|
# Corresponds to the JSON property `createSubnetwork`
|
1514
1533
|
# @return [Boolean]
|
1515
1534
|
attr_accessor :create_subnetwork
|
@@ -1520,16 +1539,13 @@ module Google
|
|
1520
1539
|
# @return [String]
|
1521
1540
|
attr_accessor :node_ipv4_cidr
|
1522
1541
|
|
1523
|
-
# The IP address range of the instance IPs in this cluster.
|
1524
|
-
#
|
1525
|
-
# Set to
|
1526
|
-
#
|
1527
|
-
#
|
1528
|
-
#
|
1529
|
-
#
|
1530
|
-
# notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
|
1531
|
-
# `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
|
1532
|
-
# 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.
|
1533
1549
|
# Corresponds to the JSON property `nodeIpv4CidrBlock`
|
1534
1550
|
# @return [String]
|
1535
1551
|
attr_accessor :node_ipv4_cidr_block
|
@@ -1540,58 +1556,61 @@ module Google
|
|
1540
1556
|
attr_accessor :services_ipv4_cidr
|
1541
1557
|
|
1542
1558
|
# The IP address range of the services IPs in this cluster. If blank, a range
|
1543
|
-
# will be automatically chosen with the default size.
|
1544
|
-
#
|
1545
|
-
# Set to
|
1546
|
-
#
|
1547
|
-
#
|
1548
|
-
#
|
1549
|
-
#
|
1550
|
-
# notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
|
1551
|
-
# `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
|
1552
|
-
# 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.
|
1553
1566
|
# Corresponds to the JSON property `servicesIpv4CidrBlock`
|
1554
1567
|
# @return [String]
|
1555
1568
|
attr_accessor :services_ipv4_cidr_block
|
1556
1569
|
|
1557
|
-
# The name of the secondary range to be used as for the services
|
1558
|
-
#
|
1559
|
-
#
|
1560
|
-
# with
|
1561
|
-
# This field is only applicable with use_ip_aliases is true and
|
1562
|
-
# 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.
|
1563
1574
|
# Corresponds to the JSON property `servicesSecondaryRangeName`
|
1564
1575
|
# @return [String]
|
1565
1576
|
attr_accessor :services_secondary_range_name
|
1566
1577
|
|
1567
|
-
# A custom subnetwork name to be used if `create_subnetwork` is true.
|
1568
|
-
#
|
1569
|
-
# 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.
|
1570
1580
|
# Corresponds to the JSON property `subnetworkName`
|
1571
1581
|
# @return [String]
|
1572
1582
|
attr_accessor :subnetwork_name
|
1573
1583
|
|
1574
1584
|
# The IP address range of the Cloud TPUs in this cluster. If unspecified, a
|
1575
|
-
# range will be automatically chosen with the default size.
|
1576
|
-
#
|
1577
|
-
#
|
1578
|
-
#
|
1579
|
-
#
|
1580
|
-
#
|
1581
|
-
#
|
1582
|
-
# notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
|
1583
|
-
# `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
|
1584
|
-
# 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.
|
1585
1592
|
# Corresponds to the JSON property `tpuIpv4CidrBlock`
|
1586
1593
|
# @return [String]
|
1587
1594
|
attr_accessor :tpu_ipv4_cidr_block
|
1588
1595
|
|
1589
|
-
# 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
|
1590
1600
|
# Corresponds to the JSON property `useIpAliases`
|
1591
1601
|
# @return [Boolean]
|
1592
1602
|
attr_accessor :use_ip_aliases
|
1593
1603
|
alias_method :use_ip_aliases?, :use_ip_aliases
|
1594
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
|
+
|
1595
1614
|
def initialize(**args)
|
1596
1615
|
update!(**args)
|
1597
1616
|
end
|
@@ -1610,6 +1629,7 @@ module Google
|
|
1610
1629
|
@subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
|
1611
1630
|
@tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
|
1612
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)
|
1613
1633
|
end
|
1614
1634
|
end
|
1615
1635
|
|
@@ -1721,15 +1741,14 @@ module Google
|
|
1721
1741
|
end
|
1722
1742
|
end
|
1723
1743
|
|
1724
|
-
# Configuration for the legacy Attribute Based Access Control authorization
|
1725
|
-
# mode.
|
1744
|
+
# Configuration for the legacy Attribute Based Access Control authorization mode.
|
1726
1745
|
class LegacyAbac
|
1727
1746
|
include Google::Apis::Core::Hashable
|
1728
1747
|
|
1729
1748
|
# Whether the ABAC authorizer is enabled for this cluster. When enabled,
|
1730
|
-
# identities in the system, including service accounts, nodes, and
|
1731
|
-
#
|
1732
|
-
#
|
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.
|
1733
1752
|
# Corresponds to the JSON property `enabled`
|
1734
1753
|
# @return [Boolean]
|
1735
1754
|
attr_accessor :enabled
|
@@ -1749,14 +1768,13 @@ module Google
|
|
1749
1768
|
class ListClustersResponse
|
1750
1769
|
include Google::Apis::Core::Hashable
|
1751
1770
|
|
1752
|
-
# A list of clusters in the project in the specified zone, or
|
1753
|
-
# across all ones.
|
1771
|
+
# A list of clusters in the project in the specified zone, or across all ones.
|
1754
1772
|
# Corresponds to the JSON property `clusters`
|
1755
1773
|
# @return [Array<Google::Apis::ContainerV1::Cluster>]
|
1756
1774
|
attr_accessor :clusters
|
1757
1775
|
|
1758
|
-
# If any zones are listed here, the list of clusters returned
|
1759
|
-
#
|
1776
|
+
# If any zones are listed here, the list of clusters returned may be missing
|
1777
|
+
# those zones.
|
1760
1778
|
# Corresponds to the JSON property `missingZones`
|
1761
1779
|
# @return [Array<String>]
|
1762
1780
|
attr_accessor :missing_zones
|
@@ -1795,8 +1813,8 @@ module Google
|
|
1795
1813
|
class ListOperationsResponse
|
1796
1814
|
include Google::Apis::Core::Hashable
|
1797
1815
|
|
1798
|
-
# If any zones are listed here, the list of operations returned
|
1799
|
-
#
|
1816
|
+
# If any zones are listed here, the list of operations returned may be missing
|
1817
|
+
# the operations from those zones.
|
1800
1818
|
# Corresponds to the JSON property `missingZones`
|
1801
1819
|
# @return [Array<String>]
|
1802
1820
|
attr_accessor :missing_zones
|
@@ -1817,15 +1835,14 @@ module Google
|
|
1817
1835
|
end
|
1818
1836
|
end
|
1819
1837
|
|
1820
|
-
# ListUsableSubnetworksResponse is the response of
|
1821
|
-
# ListUsableSubnetworksRequest.
|
1838
|
+
# ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.
|
1822
1839
|
class ListUsableSubnetworksResponse
|
1823
1840
|
include Google::Apis::Core::Hashable
|
1824
1841
|
|
1825
|
-
# This token allows you to get the next page of results for list requests.
|
1826
|
-
#
|
1827
|
-
#
|
1828
|
-
#
|
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.
|
1829
1846
|
# Corresponds to the JSON property `nextPageToken`
|
1830
1847
|
# @return [String]
|
1831
1848
|
attr_accessor :next_page_token
|
@@ -1851,10 +1868,10 @@ module Google
|
|
1851
1868
|
include Google::Apis::Core::Hashable
|
1852
1869
|
|
1853
1870
|
# A hash identifying the version of this policy, so that updates to fields of
|
1854
|
-
# the policy won't accidentally undo intermediate changes (and so that users
|
1855
|
-
#
|
1856
|
-
#
|
1857
|
-
#
|
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.
|
1858
1875
|
# Corresponds to the JSON property `resourceVersion`
|
1859
1876
|
# @return [String]
|
1860
1877
|
attr_accessor :resource_version
|
@@ -1884,8 +1901,8 @@ module Google
|
|
1884
1901
|
# @return [Google::Apis::ContainerV1::DailyMaintenanceWindow]
|
1885
1902
|
attr_accessor :daily_maintenance_window
|
1886
1903
|
|
1887
|
-
# Exceptions to maintenance window. Non-emergency maintenance should not
|
1888
|
-
#
|
1904
|
+
# Exceptions to maintenance window. Non-emergency maintenance should not occur
|
1905
|
+
# in these windows.
|
1889
1906
|
# Corresponds to the JSON property `maintenanceExclusions`
|
1890
1907
|
# @return [Hash<String,Google::Apis::ContainerV1::TimeWindow>]
|
1891
1908
|
attr_accessor :maintenance_exclusions
|
@@ -1908,8 +1925,7 @@ module Google
|
|
1908
1925
|
end
|
1909
1926
|
|
1910
1927
|
# The authentication information for accessing the master endpoint.
|
1911
|
-
# Authentication can be done using HTTP basic auth or using client
|
1912
|
-
# certificates.
|
1928
|
+
# Authentication can be done using HTTP basic auth or using client certificates.
|
1913
1929
|
class MasterAuth
|
1914
1930
|
include Google::Apis::Core::Hashable
|
1915
1931
|
|
@@ -1924,29 +1940,36 @@ module Google
|
|
1924
1940
|
# @return [Google::Apis::ContainerV1::ClientCertificateConfig]
|
1925
1941
|
attr_accessor :client_certificate_config
|
1926
1942
|
|
1927
|
-
# [Output only] Base64-encoded private key used by clients to authenticate
|
1928
|
-
#
|
1943
|
+
# [Output only] Base64-encoded private key used by clients to authenticate to
|
1944
|
+
# the cluster endpoint.
|
1929
1945
|
# Corresponds to the JSON property `clientKey`
|
1930
1946
|
# @return [String]
|
1931
1947
|
attr_accessor :client_key
|
1932
1948
|
|
1933
|
-
# [Output only] Base64-encoded public certificate that is the root of
|
1934
|
-
#
|
1949
|
+
# [Output only] Base64-encoded public certificate that is the root of trust for
|
1950
|
+
# the cluster.
|
1935
1951
|
# Corresponds to the JSON property `clusterCaCertificate`
|
1936
1952
|
# @return [String]
|
1937
1953
|
attr_accessor :cluster_ca_certificate
|
1938
1954
|
|
1939
1955
|
# The password to use for HTTP basic authentication to the master endpoint.
|
1940
1956
|
# Because the master endpoint is open to the Internet, you should create a
|
1941
|
-
# strong password.
|
1942
|
-
#
|
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
|
1943
1962
|
# Corresponds to the JSON property `password`
|
1944
1963
|
# @return [String]
|
1945
1964
|
attr_accessor :password
|
1946
1965
|
|
1947
|
-
# The username to use for HTTP basic authentication to the master endpoint.
|
1948
|
-
#
|
1949
|
-
#
|
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
|
1950
1973
|
# Corresponds to the JSON property `username`
|
1951
1974
|
# @return [String]
|
1952
1975
|
attr_accessor :username
|
@@ -1973,8 +1996,8 @@ module Google
|
|
1973
1996
|
class MasterAuthorizedNetworksConfig
|
1974
1997
|
include Google::Apis::Core::Hashable
|
1975
1998
|
|
1976
|
-
# cidr_blocks define up to 50 external networks that could access
|
1977
|
-
#
|
1999
|
+
# cidr_blocks define up to 50 external networks that could access Kubernetes
|
2000
|
+
# master through HTTPS.
|
1978
2001
|
# Corresponds to the JSON property `cidrBlocks`
|
1979
2002
|
# @return [Array<Google::Apis::ContainerV1::CidrBlock>]
|
1980
2003
|
attr_accessor :cidr_blocks
|
@@ -2056,25 +2079,29 @@ module Google
|
|
2056
2079
|
class NetworkConfig
|
2057
2080
|
include Google::Apis::Core::Hashable
|
2058
2081
|
|
2059
|
-
#
|
2060
|
-
#
|
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.
|
2061
2090
|
# Corresponds to the JSON property `enableIntraNodeVisibility`
|
2062
2091
|
# @return [Boolean]
|
2063
2092
|
attr_accessor :enable_intra_node_visibility
|
2064
2093
|
alias_method :enable_intra_node_visibility?, :enable_intra_node_visibility
|
2065
2094
|
|
2066
|
-
# Output only. The relative name of the Google Compute Engine
|
2067
|
-
#
|
2068
|
-
#
|
2069
|
-
# 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
|
2070
2098
|
# Corresponds to the JSON property `network`
|
2071
2099
|
# @return [String]
|
2072
2100
|
attr_accessor :network
|
2073
2101
|
|
2074
|
-
# Output only. The relative name of the Google Compute Engine
|
2075
|
-
#
|
2076
|
-
#
|
2077
|
-
# 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
|
2078
2105
|
# Corresponds to the JSON property `subnetwork`
|
2079
2106
|
# @return [String]
|
2080
2107
|
attr_accessor :subnetwork
|
@@ -2085,14 +2112,15 @@ module Google
|
|
2085
2112
|
|
2086
2113
|
# Update properties of this object
|
2087
2114
|
def update!(**args)
|
2115
|
+
@default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
|
2088
2116
|
@enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
|
2089
2117
|
@network = args[:network] if args.key?(:network)
|
2090
2118
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
2091
2119
|
end
|
2092
2120
|
end
|
2093
2121
|
|
2094
|
-
# Configuration options for the NetworkPolicy feature.
|
2095
|
-
#
|
2122
|
+
# Configuration options for the NetworkPolicy feature. https://kubernetes.io/
|
2123
|
+
# docs/concepts/services-networking/networkpolicies/
|
2096
2124
|
class NetworkPolicy
|
2097
2125
|
include Google::Apis::Core::Hashable
|
2098
2126
|
|
@@ -2118,9 +2146,9 @@ module Google
|
|
2118
2146
|
end
|
2119
2147
|
end
|
2120
2148
|
|
2121
|
-
# Configuration for NetworkPolicy. This only tracks whether the addon
|
2122
|
-
#
|
2123
|
-
#
|
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.
|
2124
2152
|
class NetworkPolicyConfig
|
2125
2153
|
include Google::Apis::Core::Hashable
|
2126
2154
|
|
@@ -2144,154 +2172,124 @@ module Google
|
|
2144
2172
|
class NodeConfig
|
2145
2173
|
include Google::Apis::Core::Hashable
|
2146
2174
|
|
2147
|
-
# A list of hardware accelerators to be attached to each node.
|
2148
|
-
#
|
2149
|
-
# 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.
|
2150
2177
|
# Corresponds to the JSON property `accelerators`
|
2151
2178
|
# @return [Array<Google::Apis::ContainerV1::AcceleratorConfig>]
|
2152
2179
|
attr_accessor :accelerators
|
2153
2180
|
|
2154
|
-
# The Customer Managed Encryption Key used to encrypt the boot disk attached
|
2155
|
-
#
|
2156
|
-
#
|
2157
|
-
#
|
2158
|
-
#
|
2159
|
-
# see:
|
2160
|
-
# 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
|
2161
2186
|
# Corresponds to the JSON property `bootDiskKmsKey`
|
2162
2187
|
# @return [String]
|
2163
2188
|
attr_accessor :boot_disk_kms_key
|
2164
2189
|
|
2165
|
-
# Size of the disk attached to each node, specified in GB.
|
2166
|
-
#
|
2167
|
-
# 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.
|
2168
2192
|
# Corresponds to the JSON property `diskSizeGb`
|
2169
2193
|
# @return [Fixnum]
|
2170
2194
|
attr_accessor :disk_size_gb
|
2171
2195
|
|
2172
|
-
# Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd')
|
2173
|
-
#
|
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'
|
2174
2198
|
# Corresponds to the JSON property `diskType`
|
2175
2199
|
# @return [String]
|
2176
2200
|
attr_accessor :disk_type
|
2177
2201
|
|
2178
|
-
# The image type to use for this node. Note that for a given image type,
|
2179
|
-
#
|
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.
|
2180
2204
|
# Corresponds to the JSON property `imageType`
|
2181
2205
|
# @return [String]
|
2182
2206
|
attr_accessor :image_type
|
2183
2207
|
|
2184
2208
|
# The map of Kubernetes labels (key/value pairs) to be applied to each node.
|
2185
|
-
# These will added in addition to any default label(s) that
|
2186
|
-
#
|
2187
|
-
#
|
2188
|
-
#
|
2189
|
-
# and
|
2190
|
-
#
|
2191
|
-
# 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/
|
2192
2215
|
# Corresponds to the JSON property `labels`
|
2193
2216
|
# @return [Hash<String,String>]
|
2194
2217
|
attr_accessor :labels
|
2195
2218
|
|
2196
|
-
# The number of local SSD disks to be attached to the node.
|
2197
|
-
#
|
2198
|
-
#
|
2199
|
-
#
|
2200
|
-
# 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.
|
2201
2223
|
# Corresponds to the JSON property `localSsdCount`
|
2202
2224
|
# @return [Fixnum]
|
2203
2225
|
attr_accessor :local_ssd_count
|
2204
2226
|
|
2205
|
-
# The name of a Google Compute Engine [machine
|
2206
|
-
#
|
2207
|
-
#
|
2208
|
-
# If unspecified, the default machine type is
|
2209
|
-
# `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`.
|
2210
2230
|
# Corresponds to the JSON property `machineType`
|
2211
2231
|
# @return [String]
|
2212
2232
|
attr_accessor :machine_type
|
2213
2233
|
|
2214
|
-
# The metadata key/value pairs assigned to instances in the cluster.
|
2215
|
-
#
|
2216
|
-
#
|
2217
|
-
#
|
2218
|
-
#
|
2219
|
-
# "cluster-
|
2220
|
-
# "
|
2221
|
-
# "
|
2222
|
-
# "
|
2223
|
-
# "
|
2224
|
-
# "
|
2225
|
-
#
|
2226
|
-
#
|
2227
|
-
#
|
2228
|
-
# "instance-template"
|
2229
|
-
# "kube-env"
|
2230
|
-
# "startup-script"
|
2231
|
-
# "user-data"
|
2232
|
-
# "disable-address-manager"
|
2233
|
-
# "windows-startup-script-ps1"
|
2234
|
-
# "common-psm1"
|
2235
|
-
# "k8s-node-setup-psm1"
|
2236
|
-
# "install-ssh-psm1"
|
2237
|
-
# "user-profile-psm1"
|
2238
|
-
# "serial-port-logging-enable"
|
2239
|
-
# Values are free-form strings, and only have meaning as interpreted by
|
2240
|
-
# the image running in the instance. The only restriction placed on them is
|
2241
|
-
# that each value's size must be less than or equal to 32 KB.
|
2242
|
-
# 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.
|
2243
2248
|
# Corresponds to the JSON property `metadata`
|
2244
2249
|
# @return [Hash<String,String>]
|
2245
2250
|
attr_accessor :metadata
|
2246
2251
|
|
2247
2252
|
# Minimum CPU platform to be used by this instance. The instance may be
|
2248
2253
|
# scheduled on the specified or newer CPU platform. Applicable values are the
|
2249
|
-
# friendly names of CPU platforms, such as
|
2250
|
-
#
|
2251
|
-
#
|
2252
|
-
#
|
2253
|
-
# platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-
|
2254
|
-
# 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)
|
2255
2258
|
# Corresponds to the JSON property `minCpuPlatform`
|
2256
2259
|
# @return [String]
|
2257
2260
|
attr_accessor :min_cpu_platform
|
2258
2261
|
|
2259
|
-
# Setting this field will assign instances of this
|
2260
|
-
#
|
2261
|
-
#
|
2262
|
-
# 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).
|
2263
2265
|
# Corresponds to the JSON property `nodeGroup`
|
2264
2266
|
# @return [String]
|
2265
2267
|
attr_accessor :node_group
|
2266
2268
|
|
2267
|
-
# The set of Google API scopes to be made available on all of the
|
2268
|
-
#
|
2269
|
-
#
|
2270
|
-
#
|
2271
|
-
#
|
2272
|
-
#
|
2273
|
-
#
|
2274
|
-
#
|
2275
|
-
#
|
2276
|
-
# Registry](https://cloud.google.com/container-registry/)).
|
2277
|
-
# If unspecified, no scopes are added, unless Cloud Logging or Cloud
|
2278
|
-
# 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.
|
2279
2278
|
# Corresponds to the JSON property `oauthScopes`
|
2280
2279
|
# @return [Array<String>]
|
2281
2280
|
attr_accessor :oauth_scopes
|
2282
2281
|
|
2283
|
-
# Whether the nodes are created as preemptible VM instances. See:
|
2284
|
-
#
|
2285
|
-
#
|
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.
|
2286
2285
|
# Corresponds to the JSON property `preemptible`
|
2287
2286
|
# @return [Boolean]
|
2288
2287
|
attr_accessor :preemptible
|
2289
2288
|
alias_method :preemptible?, :preemptible
|
2290
2289
|
|
2291
2290
|
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
|
2292
|
-
# reserving-zonal-resources)
|
2293
|
-
#
|
2294
|
-
# capacity from.
|
2291
|
+
# reserving-zonal-resources) is the configuration of desired reservation which
|
2292
|
+
# instances could take capacity from.
|
2295
2293
|
# Corresponds to the JSON property `reservationAffinity`
|
2296
2294
|
# @return [Google::Apis::ContainerV1::ReservationAffinity]
|
2297
2295
|
attr_accessor :reservation_affinity
|
@@ -2301,9 +2299,9 @@ module Google
|
|
2301
2299
|
# @return [Google::Apis::ContainerV1::SandboxConfig]
|
2302
2300
|
attr_accessor :sandbox_config
|
2303
2301
|
|
2304
|
-
# The Google Cloud Platform Service Account to be used by the node VMs.
|
2305
|
-
#
|
2306
|
-
#
|
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.
|
2307
2305
|
# Corresponds to the JSON property `serviceAccount`
|
2308
2306
|
# @return [String]
|
2309
2307
|
attr_accessor :service_account
|
@@ -2314,16 +2312,16 @@ module Google
|
|
2314
2312
|
attr_accessor :shielded_instance_config
|
2315
2313
|
|
2316
2314
|
# The list of instance tags applied to all nodes. Tags are used to identify
|
2317
|
-
# valid sources or targets for network firewalls and are specified by
|
2318
|
-
#
|
2319
|
-
#
|
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.
|
2320
2318
|
# Corresponds to the JSON property `tags`
|
2321
2319
|
# @return [Array<String>]
|
2322
2320
|
attr_accessor :tags
|
2323
2321
|
|
2324
|
-
# List of kubernetes taints to be applied to each node.
|
2325
|
-
#
|
2326
|
-
#
|
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/
|
2327
2325
|
# Corresponds to the JSON property `taints`
|
2328
2326
|
# @return [Array<Google::Apis::ContainerV1::NodeTaint>]
|
2329
2327
|
attr_accessor :taints
|
@@ -2369,24 +2367,24 @@ module Google
|
|
2369
2367
|
include Google::Apis::Core::Hashable
|
2370
2368
|
|
2371
2369
|
# A flag that specifies whether the node auto-repair is enabled for the node
|
2372
|
-
# pool. If enabled, the nodes in this node pool will be monitored and, if
|
2373
|
-
#
|
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
|
2374
2372
|
# triggered.
|
2375
2373
|
# Corresponds to the JSON property `autoRepair`
|
2376
2374
|
# @return [Boolean]
|
2377
2375
|
attr_accessor :auto_repair
|
2378
2376
|
alias_method :auto_repair?, :auto_repair
|
2379
2377
|
|
2380
|
-
# A flag that specifies whether node auto-upgrade is enabled for the node
|
2381
|
-
#
|
2382
|
-
#
|
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.
|
2383
2381
|
# Corresponds to the JSON property `autoUpgrade`
|
2384
2382
|
# @return [Boolean]
|
2385
2383
|
attr_accessor :auto_upgrade
|
2386
2384
|
alias_method :auto_upgrade?, :auto_upgrade
|
2387
2385
|
|
2388
|
-
# AutoUpgradeOptions defines the set of options for the user to control how
|
2389
|
-
#
|
2386
|
+
# AutoUpgradeOptions defines the set of options for the user to control how the
|
2387
|
+
# Auto Upgrades will proceed.
|
2390
2388
|
# Corresponds to the JSON property `upgradeOptions`
|
2391
2389
|
# @return [Google::Apis::ContainerV1::AutoUpgradeOptions]
|
2392
2390
|
attr_accessor :upgrade_options
|
@@ -2403,12 +2401,12 @@ module Google
|
|
2403
2401
|
end
|
2404
2402
|
end
|
2405
2403
|
|
2406
|
-
# NodePool contains the name and configuration for a cluster's node pool.
|
2407
|
-
#
|
2408
|
-
# specification, under the control of the cluster master. They may have a set
|
2409
|
-
#
|
2410
|
-
#
|
2411
|
-
#
|
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.
|
2412
2410
|
class NodePool
|
2413
2411
|
include Google::Apis::Core::Hashable
|
2414
2412
|
|
@@ -2428,25 +2426,23 @@ module Google
|
|
2428
2426
|
# @return [Google::Apis::ContainerV1::NodeConfig]
|
2429
2427
|
attr_accessor :config
|
2430
2428
|
|
2431
|
-
# The initial node count for the pool. You must ensure that your
|
2432
|
-
#
|
2433
|
-
#
|
2434
|
-
#
|
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.
|
2435
2433
|
# Corresponds to the JSON property `initialNodeCount`
|
2436
2434
|
# @return [Fixnum]
|
2437
2435
|
attr_accessor :initial_node_count
|
2438
2436
|
|
2439
|
-
# [Output only] The resource URLs of the [managed instance
|
2440
|
-
#
|
2441
|
-
# 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)
|
2442
2439
|
# associated with this node pool.
|
2443
2440
|
# Corresponds to the JSON property `instanceGroupUrls`
|
2444
2441
|
# @return [Array<String>]
|
2445
2442
|
attr_accessor :instance_group_urls
|
2446
2443
|
|
2447
|
-
# The list of Google Compute Engine
|
2448
|
-
#
|
2449
|
-
# 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.
|
2450
2446
|
# Corresponds to the JSON property `locations`
|
2451
2447
|
# @return [Array<String>]
|
2452
2448
|
attr_accessor :locations
|
@@ -2482,30 +2478,26 @@ module Google
|
|
2482
2478
|
# @return [String]
|
2483
2479
|
attr_accessor :status
|
2484
2480
|
|
2485
|
-
# [Output only] Additional information about the current status of this
|
2486
|
-
#
|
2481
|
+
# [Output only] Additional information about the current status of this node
|
2482
|
+
# pool instance, if available.
|
2487
2483
|
# Corresponds to the JSON property `statusMessage`
|
2488
2484
|
# @return [String]
|
2489
2485
|
attr_accessor :status_message
|
2490
2486
|
|
2491
2487
|
# These upgrade settings control the level of parallelism and the level of
|
2492
|
-
# disruption caused by an upgrade.
|
2493
|
-
#
|
2494
|
-
#
|
2495
|
-
#
|
2496
|
-
#
|
2497
|
-
#
|
2498
|
-
#
|
2499
|
-
#
|
2500
|
-
#
|
2501
|
-
#
|
2502
|
-
#
|
2503
|
-
#
|
2504
|
-
#
|
2505
|
-
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
2506
|
-
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
2507
|
-
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
2508
|
-
# 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.
|
2509
2501
|
# Corresponds to the JSON property `upgradeSettings`
|
2510
2502
|
# @return [Google::Apis::ContainerV1::UpgradeSettings]
|
2511
2503
|
attr_accessor :upgrade_settings
|
@@ -2556,14 +2548,13 @@ module Google
|
|
2556
2548
|
attr_accessor :enabled
|
2557
2549
|
alias_method :enabled?, :enabled
|
2558
2550
|
|
2559
|
-
# Maximum number of nodes in the NodePool. Must be >= min_node_count. There
|
2560
|
-
#
|
2551
|
+
# Maximum number of nodes in the NodePool. Must be >= min_node_count. There has
|
2552
|
+
# to enough quota to scale up the cluster.
|
2561
2553
|
# Corresponds to the JSON property `maxNodeCount`
|
2562
2554
|
# @return [Fixnum]
|
2563
2555
|
attr_accessor :max_node_count
|
2564
2556
|
|
2565
|
-
# Minimum number of nodes in the NodePool. Must be >= 1 and <=
|
2566
|
-
# max_node_count.
|
2557
|
+
# Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.
|
2567
2558
|
# Corresponds to the JSON property `minNodeCount`
|
2568
2559
|
# @return [Fixnum]
|
2569
2560
|
attr_accessor :min_node_count
|
@@ -2582,8 +2573,7 @@ module Google
|
|
2582
2573
|
end
|
2583
2574
|
|
2584
2575
|
# Kubernetes taint is comprised of three fields: key, value, and effect. Effect
|
2585
|
-
# can only be one of three types:
|
2586
|
-
# See
|
2576
|
+
# can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See
|
2587
2577
|
# [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
|
2588
2578
|
# for more information, including usage and the valid values.
|
2589
2579
|
class NodeTaint
|
@@ -2631,18 +2621,15 @@ module Google
|
|
2631
2621
|
# @return [String]
|
2632
2622
|
attr_accessor :detail
|
2633
2623
|
|
2634
|
-
# [Output only] The time the operation completed, in
|
2635
|
-
#
|
2624
|
+
# [Output only] The time the operation completed, in [RFC3339](https://www.ietf.
|
2625
|
+
# org/rfc/rfc3339.txt) text format.
|
2636
2626
|
# Corresponds to the JSON property `endTime`
|
2637
2627
|
# @return [String]
|
2638
2628
|
attr_accessor :end_time
|
2639
2629
|
|
2640
|
-
# [Output only] The name of the Google Compute Engine
|
2641
|
-
#
|
2642
|
-
# available)
|
2643
|
-
# or
|
2644
|
-
# [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
|
2645
|
-
# 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)
|
2646
2633
|
# in which the cluster resides.
|
2647
2634
|
# Corresponds to the JSON property `location`
|
2648
2635
|
# @return [String]
|
@@ -2673,8 +2660,8 @@ module Google
|
|
2673
2660
|
# @return [String]
|
2674
2661
|
attr_accessor :self_link
|
2675
2662
|
|
2676
|
-
# [Output only] The time the operation started, in
|
2677
|
-
#
|
2663
|
+
# [Output only] The time the operation started, in [RFC3339](https://www.ietf.
|
2664
|
+
# org/rfc/rfc3339.txt) text format.
|
2678
2665
|
# Corresponds to the JSON property `startTime`
|
2679
2666
|
# @return [String]
|
2680
2667
|
attr_accessor :start_time
|
@@ -2694,9 +2681,9 @@ module Google
|
|
2694
2681
|
# @return [String]
|
2695
2682
|
attr_accessor :target_link
|
2696
2683
|
|
2697
|
-
# The name of the Google Compute Engine
|
2698
|
-
#
|
2699
|
-
#
|
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.
|
2700
2687
|
# Corresponds to the JSON property `zone`
|
2701
2688
|
# @return [String]
|
2702
2689
|
attr_accessor :zone
|
@@ -2728,18 +2715,15 @@ module Google
|
|
2728
2715
|
class OperationProgress
|
2729
2716
|
include Google::Apis::Core::Hashable
|
2730
2717
|
|
2731
|
-
# Progress metric bundle, for example:
|
2732
|
-
#
|
2733
|
-
# `name: "
|
2734
|
-
# or
|
2735
|
-
# metrics: [`name: "progress", double_value: 0.56`,
|
2736
|
-
# `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`]
|
2737
2721
|
# Corresponds to the JSON property `metrics`
|
2738
2722
|
# @return [Array<Google::Apis::ContainerV1::Metric>]
|
2739
2723
|
attr_accessor :metrics
|
2740
2724
|
|
2741
|
-
# A non-parameterized string describing an operation stage.
|
2742
|
-
#
|
2725
|
+
# A non-parameterized string describing an operation stage. Unset for single-
|
2726
|
+
# stage operations.
|
2743
2727
|
# Corresponds to the JSON property `name`
|
2744
2728
|
# @return [String]
|
2745
2729
|
attr_accessor :name
|
@@ -2749,8 +2733,7 @@ module Google
|
|
2749
2733
|
# @return [Array<Google::Apis::ContainerV1::OperationProgress>]
|
2750
2734
|
attr_accessor :stages
|
2751
2735
|
|
2752
|
-
# Status of an operation stage.
|
2753
|
-
# Unset for single-stage operations.
|
2736
|
+
# Status of an operation stage. Unset for single-stage operations.
|
2754
2737
|
# Corresponds to the JSON property `status`
|
2755
2738
|
# @return [String]
|
2756
2739
|
attr_accessor :status
|
@@ -2778,18 +2761,23 @@ module Google
|
|
2778
2761
|
attr_accessor :enable_private_endpoint
|
2779
2762
|
alias_method :enable_private_endpoint?, :enable_private_endpoint
|
2780
2763
|
|
2781
|
-
# Whether nodes have internal IP addresses only. If enabled, all nodes are
|
2782
|
-
#
|
2783
|
-
#
|
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.
|
2784
2767
|
# Corresponds to the JSON property `enablePrivateNodes`
|
2785
2768
|
# @return [Boolean]
|
2786
2769
|
attr_accessor :enable_private_nodes
|
2787
2770
|
alias_method :enable_private_nodes?, :enable_private_nodes
|
2788
2771
|
|
2789
|
-
#
|
2790
|
-
#
|
2791
|
-
#
|
2792
|
-
|
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.
|
2793
2781
|
# Corresponds to the JSON property `masterIpv4CidrBlock`
|
2794
2782
|
# @return [String]
|
2795
2783
|
attr_accessor :master_ipv4_cidr_block
|
@@ -2817,6 +2805,7 @@ module Google
|
|
2817
2805
|
def update!(**args)
|
2818
2806
|
@enable_private_endpoint = args[:enable_private_endpoint] if args.key?(:enable_private_endpoint)
|
2819
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)
|
2820
2809
|
@master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block)
|
2821
2810
|
@peering_name = args[:peering_name] if args.key?(:peering_name)
|
2822
2811
|
@private_endpoint = args[:private_endpoint] if args.key?(:private_endpoint)
|
@@ -2824,36 +2813,45 @@ module Google
|
|
2824
2813
|
end
|
2825
2814
|
end
|
2826
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
|
+
|
2827
2836
|
# Represents an arbitrary window of time that recurs.
|
2828
2837
|
class RecurringTimeWindow
|
2829
2838
|
include Google::Apis::Core::Hashable
|
2830
2839
|
|
2831
|
-
# An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
|
2832
|
-
#
|
2833
|
-
#
|
2834
|
-
#
|
2835
|
-
#
|
2836
|
-
#
|
2837
|
-
#
|
2838
|
-
#
|
2839
|
-
#
|
2840
|
-
#
|
2841
|
-
#
|
2842
|
-
#
|
2843
|
-
# start time
|
2844
|
-
#
|
2845
|
-
#
|
2846
|
-
# </code>
|
2847
|
-
# Windows can span multiple days. Eg, to make the window encompass every
|
2848
|
-
# weekend from midnight Saturday till the last minute of Sunday UTC:
|
2849
|
-
# <code>
|
2850
|
-
# start time = 2019-01-05T00:00:00Z
|
2851
|
-
# end time = 2019-01-07T23:59:00Z
|
2852
|
-
# recurrence = FREQ=WEEKLY;BYDAY=SA
|
2853
|
-
# </code>
|
2854
|
-
# Note the start and end time's specific dates are largely arbitrary except
|
2855
|
-
# to specify duration of the window and when it first starts.
|
2856
|
-
# 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.
|
2857
2855
|
# Corresponds to the JSON property `recurrence`
|
2858
2856
|
# @return [String]
|
2859
2857
|
attr_accessor :recurrence
|
@@ -2874,11 +2872,10 @@ module Google
|
|
2874
2872
|
end
|
2875
2873
|
end
|
2876
2874
|
|
2877
|
-
# ReleaseChannel indicates which release channel a cluster is
|
2878
|
-
#
|
2879
|
-
#
|
2880
|
-
#
|
2881
|
-
# 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.
|
2882
2879
|
class ReleaseChannel
|
2883
2880
|
include Google::Apis::Core::Hashable
|
2884
2881
|
|
@@ -2929,9 +2926,8 @@ module Google
|
|
2929
2926
|
end
|
2930
2927
|
|
2931
2928
|
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
|
2932
|
-
# reserving-zonal-resources)
|
2933
|
-
#
|
2934
|
-
# capacity from.
|
2929
|
+
# reserving-zonal-resources) is the configuration of desired reservation which
|
2930
|
+
# instances could take capacity from.
|
2935
2931
|
class ReservationAffinity
|
2936
2932
|
include Google::Apis::Core::Hashable
|
2937
2933
|
|
@@ -2941,8 +2937,8 @@ module Google
|
|
2941
2937
|
attr_accessor :consume_reservation_type
|
2942
2938
|
|
2943
2939
|
# Corresponds to the label key of a reservation resource. To target a
|
2944
|
-
# SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as
|
2945
|
-
#
|
2940
|
+
# SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as the
|
2941
|
+
# key and specify the name of your reservation as its value.
|
2946
2942
|
# Corresponds to the JSON property `key`
|
2947
2943
|
# @return [String]
|
2948
2944
|
attr_accessor :key
|
@@ -2964,8 +2960,8 @@ module Google
|
|
2964
2960
|
end
|
2965
2961
|
end
|
2966
2962
|
|
2967
|
-
# Contains information about amount of some resource in the cluster.
|
2968
|
-
#
|
2963
|
+
# Contains information about amount of some resource in the cluster. For memory,
|
2964
|
+
# value should be in GB.
|
2969
2965
|
class ResourceLimit
|
2970
2966
|
include Google::Apis::Core::Hashable
|
2971
2967
|
|
@@ -3035,36 +3031,35 @@ module Google
|
|
3035
3031
|
class RollbackNodePoolUpgradeRequest
|
3036
3032
|
include Google::Apis::Core::Hashable
|
3037
3033
|
|
3038
|
-
# Deprecated. The name of the cluster to rollback.
|
3039
|
-
#
|
3034
|
+
# Deprecated. The name of the cluster to rollback. This field has been
|
3035
|
+
# deprecated and replaced by the name field.
|
3040
3036
|
# Corresponds to the JSON property `clusterId`
|
3041
3037
|
# @return [String]
|
3042
3038
|
attr_accessor :cluster_id
|
3043
3039
|
|
3044
3040
|
# The name (project, location, cluster, node pool id) of the node poll to
|
3045
|
-
# rollback upgrade.
|
3046
|
-
#
|
3041
|
+
# rollback upgrade. Specified in the format `projects/*/locations/*/clusters/*/
|
3042
|
+
# nodePools/*`.
|
3047
3043
|
# Corresponds to the JSON property `name`
|
3048
3044
|
# @return [String]
|
3049
3045
|
attr_accessor :name
|
3050
3046
|
|
3051
|
-
# Deprecated. The name of the node pool to rollback.
|
3052
|
-
#
|
3047
|
+
# Deprecated. The name of the node pool to rollback. This field has been
|
3048
|
+
# deprecated and replaced by the name field.
|
3053
3049
|
# Corresponds to the JSON property `nodePoolId`
|
3054
3050
|
# @return [String]
|
3055
3051
|
attr_accessor :node_pool_id
|
3056
3052
|
|
3057
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3058
|
-
#
|
3059
|
-
#
|
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.
|
3060
3056
|
# Corresponds to the JSON property `projectId`
|
3061
3057
|
# @return [String]
|
3062
3058
|
attr_accessor :project_id
|
3063
3059
|
|
3064
|
-
# Deprecated. The name of the Google Compute Engine
|
3065
|
-
#
|
3066
|
-
#
|
3067
|
-
# 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.
|
3068
3063
|
# Corresponds to the JSON property `zone`
|
3069
3064
|
# @return [String]
|
3070
3065
|
attr_accessor :zone
|
@@ -3155,35 +3150,34 @@ module Google
|
|
3155
3150
|
class SetAddonsConfigRequest
|
3156
3151
|
include Google::Apis::Core::Hashable
|
3157
3152
|
|
3158
|
-
# Configuration for the addons that can be automatically spun up in the
|
3159
|
-
#
|
3153
|
+
# Configuration for the addons that can be automatically spun up in the cluster,
|
3154
|
+
# enabling additional functionality.
|
3160
3155
|
# Corresponds to the JSON property `addonsConfig`
|
3161
3156
|
# @return [Google::Apis::ContainerV1::AddonsConfig]
|
3162
3157
|
attr_accessor :addons_config
|
3163
3158
|
|
3164
|
-
# Deprecated. The name of the cluster to upgrade.
|
3165
|
-
#
|
3159
|
+
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
3160
|
+
# and replaced by the name field.
|
3166
3161
|
# Corresponds to the JSON property `clusterId`
|
3167
3162
|
# @return [String]
|
3168
3163
|
attr_accessor :cluster_id
|
3169
3164
|
|
3170
|
-
# The name (project, location, cluster) of the cluster to set addons.
|
3171
|
-
#
|
3165
|
+
# The name (project, location, cluster) of the cluster to set addons. Specified
|
3166
|
+
# in the format `projects/*/locations/*/clusters/*`.
|
3172
3167
|
# Corresponds to the JSON property `name`
|
3173
3168
|
# @return [String]
|
3174
3169
|
attr_accessor :name
|
3175
3170
|
|
3176
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3177
|
-
#
|
3178
|
-
#
|
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.
|
3179
3174
|
# Corresponds to the JSON property `projectId`
|
3180
3175
|
# @return [String]
|
3181
3176
|
attr_accessor :project_id
|
3182
3177
|
|
3183
|
-
# Deprecated. The name of the Google Compute Engine
|
3184
|
-
#
|
3185
|
-
#
|
3186
|
-
# 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.
|
3187
3181
|
# Corresponds to the JSON property `zone`
|
3188
3182
|
# @return [String]
|
3189
3183
|
attr_accessor :zone
|
@@ -3208,18 +3202,17 @@ module Google
|
|
3208
3202
|
class SetLabelsRequest
|
3209
3203
|
include Google::Apis::Core::Hashable
|
3210
3204
|
|
3211
|
-
# Deprecated. The name of the cluster.
|
3212
|
-
#
|
3205
|
+
# Deprecated. The name of the cluster. This field has been deprecated and
|
3206
|
+
# replaced by the name field.
|
3213
3207
|
# Corresponds to the JSON property `clusterId`
|
3214
3208
|
# @return [String]
|
3215
3209
|
attr_accessor :cluster_id
|
3216
3210
|
|
3217
3211
|
# Required. The fingerprint of the previous set of labels for this resource,
|
3218
|
-
# used to detect conflicts. The fingerprint is initially generated by
|
3219
|
-
#
|
3220
|
-
#
|
3221
|
-
#
|
3222
|
-
# 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.
|
3223
3216
|
# Corresponds to the JSON property `labelFingerprint`
|
3224
3217
|
# @return [String]
|
3225
3218
|
attr_accessor :label_fingerprint
|
@@ -3230,9 +3223,9 @@ module Google
|
|
3230
3223
|
# @return [String]
|
3231
3224
|
attr_accessor :name
|
3232
3225
|
|
3233
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3234
|
-
#
|
3235
|
-
#
|
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.
|
3236
3229
|
# Corresponds to the JSON property `projectId`
|
3237
3230
|
# @return [String]
|
3238
3231
|
attr_accessor :project_id
|
@@ -3242,10 +3235,9 @@ module Google
|
|
3242
3235
|
# @return [Hash<String,String>]
|
3243
3236
|
attr_accessor :resource_labels
|
3244
3237
|
|
3245
|
-
# Deprecated. The name of the Google Compute Engine
|
3246
|
-
#
|
3247
|
-
#
|
3248
|
-
# 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.
|
3249
3241
|
# Corresponds to the JSON property `zone`
|
3250
3242
|
# @return [String]
|
3251
3243
|
attr_accessor :zone
|
@@ -3270,8 +3262,8 @@ module Google
|
|
3270
3262
|
class SetLegacyAbacRequest
|
3271
3263
|
include Google::Apis::Core::Hashable
|
3272
3264
|
|
3273
|
-
# Deprecated. The name of the cluster to update.
|
3274
|
-
#
|
3265
|
+
# Deprecated. The name of the cluster to update. This field has been deprecated
|
3266
|
+
# and replaced by the name field.
|
3275
3267
|
# Corresponds to the JSON property `clusterId`
|
3276
3268
|
# @return [String]
|
3277
3269
|
attr_accessor :cluster_id
|
@@ -3288,17 +3280,16 @@ module Google
|
|
3288
3280
|
# @return [String]
|
3289
3281
|
attr_accessor :name
|
3290
3282
|
|
3291
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3292
|
-
#
|
3293
|
-
#
|
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.
|
3294
3286
|
# Corresponds to the JSON property `projectId`
|
3295
3287
|
# @return [String]
|
3296
3288
|
attr_accessor :project_id
|
3297
3289
|
|
3298
|
-
# Deprecated. The name of the Google Compute Engine
|
3299
|
-
#
|
3300
|
-
#
|
3301
|
-
# 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.
|
3302
3293
|
# Corresponds to the JSON property `zone`
|
3303
3294
|
# @return [String]
|
3304
3295
|
attr_accessor :zone
|
@@ -3321,18 +3312,18 @@ module Google
|
|
3321
3312
|
class SetLocationsRequest
|
3322
3313
|
include Google::Apis::Core::Hashable
|
3323
3314
|
|
3324
|
-
# Deprecated. The name of the cluster to upgrade.
|
3325
|
-
#
|
3315
|
+
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
3316
|
+
# and replaced by the name field.
|
3326
3317
|
# Corresponds to the JSON property `clusterId`
|
3327
3318
|
# @return [String]
|
3328
3319
|
attr_accessor :cluster_id
|
3329
3320
|
|
3330
|
-
# Required. The desired list of Google Compute Engine
|
3331
|
-
#
|
3332
|
-
#
|
3333
|
-
#
|
3334
|
-
#
|
3335
|
-
#
|
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.
|
3336
3327
|
# Corresponds to the JSON property `locations`
|
3337
3328
|
# @return [Array<String>]
|
3338
3329
|
attr_accessor :locations
|
@@ -3343,17 +3334,16 @@ module Google
|
|
3343
3334
|
# @return [String]
|
3344
3335
|
attr_accessor :name
|
3345
3336
|
|
3346
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3347
|
-
#
|
3348
|
-
#
|
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.
|
3349
3340
|
# Corresponds to the JSON property `projectId`
|
3350
3341
|
# @return [String]
|
3351
3342
|
attr_accessor :project_id
|
3352
3343
|
|
3353
|
-
# Deprecated. The name of the Google Compute Engine
|
3354
|
-
#
|
3355
|
-
#
|
3356
|
-
# 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.
|
3357
3347
|
# Corresponds to the JSON property `zone`
|
3358
3348
|
# @return [String]
|
3359
3349
|
attr_accessor :zone
|
@@ -3376,42 +3366,39 @@ module Google
|
|
3376
3366
|
class SetLoggingServiceRequest
|
3377
3367
|
include Google::Apis::Core::Hashable
|
3378
3368
|
|
3379
|
-
# Deprecated. The name of the cluster to upgrade.
|
3380
|
-
#
|
3369
|
+
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
3370
|
+
# and replaced by the name field.
|
3381
3371
|
# Corresponds to the JSON property `clusterId`
|
3382
3372
|
# @return [String]
|
3383
3373
|
attr_accessor :cluster_id
|
3384
3374
|
|
3385
|
-
# Required. The logging service the cluster should use to write logs.
|
3386
|
-
#
|
3387
|
-
# * `logging.googleapis.com
|
3388
|
-
# service
|
3389
|
-
#
|
3390
|
-
#
|
3391
|
-
#
|
3392
|
-
# If left as an empty string,`logging.googleapis.com/kubernetes` will be
|
3393
|
-
# 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.
|
3394
3382
|
# Corresponds to the JSON property `loggingService`
|
3395
3383
|
# @return [String]
|
3396
3384
|
attr_accessor :logging_service
|
3397
3385
|
|
3398
|
-
# The name (project, location, cluster) of the cluster to set logging.
|
3399
|
-
#
|
3386
|
+
# The name (project, location, cluster) of the cluster to set logging. Specified
|
3387
|
+
# in the format `projects/*/locations/*/clusters/*`.
|
3400
3388
|
# Corresponds to the JSON property `name`
|
3401
3389
|
# @return [String]
|
3402
3390
|
attr_accessor :name
|
3403
3391
|
|
3404
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3405
|
-
#
|
3406
|
-
#
|
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.
|
3407
3395
|
# Corresponds to the JSON property `projectId`
|
3408
3396
|
# @return [String]
|
3409
3397
|
attr_accessor :project_id
|
3410
3398
|
|
3411
|
-
# Deprecated. The name of the Google Compute Engine
|
3412
|
-
#
|
3413
|
-
#
|
3414
|
-
# 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.
|
3415
3402
|
# Corresponds to the JSON property `zone`
|
3416
3403
|
# @return [String]
|
3417
3404
|
attr_accessor :zone
|
@@ -3445,21 +3432,19 @@ module Google
|
|
3445
3432
|
attr_accessor :maintenance_policy
|
3446
3433
|
|
3447
3434
|
# The name (project, location, cluster id) of the cluster to set maintenance
|
3448
|
-
# policy.
|
3449
|
-
# Specified in the format `projects/*/locations/*/clusters/*`.
|
3435
|
+
# policy. Specified in the format `projects/*/locations/*/clusters/*`.
|
3450
3436
|
# Corresponds to the JSON property `name`
|
3451
3437
|
# @return [String]
|
3452
3438
|
attr_accessor :name
|
3453
3439
|
|
3454
|
-
# Required. The Google Developers Console [project ID or project
|
3455
|
-
#
|
3440
|
+
# Required. The Google Developers Console [project ID or project number](https://
|
3441
|
+
# support.google.com/cloud/answer/6158840).
|
3456
3442
|
# Corresponds to the JSON property `projectId`
|
3457
3443
|
# @return [String]
|
3458
3444
|
attr_accessor :project_id
|
3459
3445
|
|
3460
|
-
# Required. The name of the Google Compute Engine
|
3461
|
-
#
|
3462
|
-
# 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.
|
3463
3448
|
# Corresponds to the JSON property `zone`
|
3464
3449
|
# @return [String]
|
3465
3450
|
attr_accessor :zone
|
@@ -3487,36 +3472,34 @@ module Google
|
|
3487
3472
|
# @return [String]
|
3488
3473
|
attr_accessor :action
|
3489
3474
|
|
3490
|
-
# Deprecated. The name of the cluster to upgrade.
|
3491
|
-
#
|
3475
|
+
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
3476
|
+
# and replaced by the name field.
|
3492
3477
|
# Corresponds to the JSON property `clusterId`
|
3493
3478
|
# @return [String]
|
3494
3479
|
attr_accessor :cluster_id
|
3495
3480
|
|
3496
|
-
# The name (project, location, cluster) of the cluster to set auth.
|
3497
|
-
#
|
3481
|
+
# The name (project, location, cluster) of the cluster to set auth. Specified in
|
3482
|
+
# the format `projects/*/locations/*/clusters/*`.
|
3498
3483
|
# Corresponds to the JSON property `name`
|
3499
3484
|
# @return [String]
|
3500
3485
|
attr_accessor :name
|
3501
3486
|
|
3502
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3503
|
-
#
|
3504
|
-
#
|
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.
|
3505
3490
|
# Corresponds to the JSON property `projectId`
|
3506
3491
|
# @return [String]
|
3507
3492
|
attr_accessor :project_id
|
3508
3493
|
|
3509
3494
|
# The authentication information for accessing the master endpoint.
|
3510
|
-
# Authentication can be done using HTTP basic auth or using client
|
3511
|
-
# certificates.
|
3495
|
+
# Authentication can be done using HTTP basic auth or using client certificates.
|
3512
3496
|
# Corresponds to the JSON property `update`
|
3513
3497
|
# @return [Google::Apis::ContainerV1::MasterAuth]
|
3514
3498
|
attr_accessor :update
|
3515
3499
|
|
3516
|
-
# Deprecated. The name of the Google Compute Engine
|
3517
|
-
#
|
3518
|
-
#
|
3519
|
-
# 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.
|
3520
3503
|
# Corresponds to the JSON property `zone`
|
3521
3504
|
# @return [String]
|
3522
3505
|
attr_accessor :zone
|
@@ -3540,21 +3523,19 @@ module Google
|
|
3540
3523
|
class SetMonitoringServiceRequest
|
3541
3524
|
include Google::Apis::Core::Hashable
|
3542
3525
|
|
3543
|
-
# Deprecated. The name of the cluster to upgrade.
|
3544
|
-
#
|
3526
|
+
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
3527
|
+
# and replaced by the name field.
|
3545
3528
|
# Corresponds to the JSON property `clusterId`
|
3546
3529
|
# @return [String]
|
3547
3530
|
attr_accessor :cluster_id
|
3548
3531
|
|
3549
3532
|
# Required. The monitoring service the cluster should use to write metrics.
|
3550
|
-
# Currently available options:
|
3551
|
-
#
|
3552
|
-
# service
|
3553
|
-
#
|
3554
|
-
#
|
3555
|
-
#
|
3556
|
-
# If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
|
3557
|
-
# 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.
|
3558
3539
|
# Corresponds to the JSON property `monitoringService`
|
3559
3540
|
# @return [String]
|
3560
3541
|
attr_accessor :monitoring_service
|
@@ -3565,17 +3546,16 @@ module Google
|
|
3565
3546
|
# @return [String]
|
3566
3547
|
attr_accessor :name
|
3567
3548
|
|
3568
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3569
|
-
#
|
3570
|
-
#
|
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.
|
3571
3552
|
# Corresponds to the JSON property `projectId`
|
3572
3553
|
# @return [String]
|
3573
3554
|
attr_accessor :project_id
|
3574
3555
|
|
3575
|
-
# Deprecated. The name of the Google Compute Engine
|
3576
|
-
#
|
3577
|
-
#
|
3578
|
-
# 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.
|
3579
3559
|
# Corresponds to the JSON property `zone`
|
3580
3560
|
# @return [String]
|
3581
3561
|
attr_accessor :zone
|
@@ -3598,8 +3578,8 @@ module Google
|
|
3598
3578
|
class SetNetworkPolicyRequest
|
3599
3579
|
include Google::Apis::Core::Hashable
|
3600
3580
|
|
3601
|
-
# Deprecated. The name of the cluster.
|
3602
|
-
#
|
3581
|
+
# Deprecated. The name of the cluster. This field has been deprecated and
|
3582
|
+
# replaced by the name field.
|
3603
3583
|
# Corresponds to the JSON property `clusterId`
|
3604
3584
|
# @return [String]
|
3605
3585
|
attr_accessor :cluster_id
|
@@ -3610,23 +3590,22 @@ module Google
|
|
3610
3590
|
# @return [String]
|
3611
3591
|
attr_accessor :name
|
3612
3592
|
|
3613
|
-
# Configuration options for the NetworkPolicy feature.
|
3614
|
-
#
|
3593
|
+
# Configuration options for the NetworkPolicy feature. https://kubernetes.io/
|
3594
|
+
# docs/concepts/services-networking/networkpolicies/
|
3615
3595
|
# Corresponds to the JSON property `networkPolicy`
|
3616
3596
|
# @return [Google::Apis::ContainerV1::NetworkPolicy]
|
3617
3597
|
attr_accessor :network_policy
|
3618
3598
|
|
3619
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3620
|
-
#
|
3621
|
-
#
|
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.
|
3622
3602
|
# Corresponds to the JSON property `projectId`
|
3623
3603
|
# @return [String]
|
3624
3604
|
attr_accessor :project_id
|
3625
3605
|
|
3626
|
-
# Deprecated. The name of the Google Compute Engine
|
3627
|
-
#
|
3628
|
-
#
|
3629
|
-
# 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.
|
3630
3609
|
# Corresponds to the JSON property `zone`
|
3631
3610
|
# @return [String]
|
3632
3611
|
attr_accessor :zone
|
@@ -3655,36 +3634,35 @@ module Google
|
|
3655
3634
|
# @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
|
3656
3635
|
attr_accessor :autoscaling
|
3657
3636
|
|
3658
|
-
# Deprecated. The name of the cluster to upgrade.
|
3659
|
-
#
|
3637
|
+
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
3638
|
+
# and replaced by the name field.
|
3660
3639
|
# Corresponds to the JSON property `clusterId`
|
3661
3640
|
# @return [String]
|
3662
3641
|
attr_accessor :cluster_id
|
3663
3642
|
|
3664
3643
|
# The name (project, location, cluster, node pool) of the node pool to set
|
3665
|
-
# autoscaler settings. Specified in the format
|
3666
|
-
#
|
3644
|
+
# autoscaler settings. Specified in the format `projects/*/locations/*/clusters/*
|
3645
|
+
# /nodePools/*`.
|
3667
3646
|
# Corresponds to the JSON property `name`
|
3668
3647
|
# @return [String]
|
3669
3648
|
attr_accessor :name
|
3670
3649
|
|
3671
|
-
# Deprecated. The name of the node pool to upgrade.
|
3672
|
-
#
|
3650
|
+
# Deprecated. The name of the node pool to upgrade. This field has been
|
3651
|
+
# deprecated and replaced by the name field.
|
3673
3652
|
# Corresponds to the JSON property `nodePoolId`
|
3674
3653
|
# @return [String]
|
3675
3654
|
attr_accessor :node_pool_id
|
3676
3655
|
|
3677
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3678
|
-
#
|
3679
|
-
#
|
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.
|
3680
3659
|
# Corresponds to the JSON property `projectId`
|
3681
3660
|
# @return [String]
|
3682
3661
|
attr_accessor :project_id
|
3683
3662
|
|
3684
|
-
# Deprecated. The name of the Google Compute Engine
|
3685
|
-
#
|
3686
|
-
#
|
3687
|
-
# 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.
|
3688
3666
|
# Corresponds to the JSON property `zone`
|
3689
3667
|
# @return [String]
|
3690
3668
|
attr_accessor :zone
|
@@ -3709,8 +3687,8 @@ module Google
|
|
3709
3687
|
class SetNodePoolManagementRequest
|
3710
3688
|
include Google::Apis::Core::Hashable
|
3711
3689
|
|
3712
|
-
# Deprecated. The name of the cluster to update.
|
3713
|
-
#
|
3690
|
+
# Deprecated. The name of the cluster to update. This field has been deprecated
|
3691
|
+
# and replaced by the name field.
|
3714
3692
|
# Corresponds to the JSON property `clusterId`
|
3715
3693
|
# @return [String]
|
3716
3694
|
attr_accessor :cluster_id
|
@@ -3722,29 +3700,28 @@ module Google
|
|
3722
3700
|
attr_accessor :management
|
3723
3701
|
|
3724
3702
|
# The name (project, location, cluster, node pool id) of the node pool to set
|
3725
|
-
# management properties. Specified in the format
|
3726
|
-
#
|
3703
|
+
# management properties. Specified in the format `projects/*/locations/*/
|
3704
|
+
# clusters/*/nodePools/*`.
|
3727
3705
|
# Corresponds to the JSON property `name`
|
3728
3706
|
# @return [String]
|
3729
3707
|
attr_accessor :name
|
3730
3708
|
|
3731
|
-
# Deprecated. The name of the node pool to update.
|
3732
|
-
#
|
3709
|
+
# Deprecated. The name of the node pool to update. This field has been
|
3710
|
+
# deprecated and replaced by the name field.
|
3733
3711
|
# Corresponds to the JSON property `nodePoolId`
|
3734
3712
|
# @return [String]
|
3735
3713
|
attr_accessor :node_pool_id
|
3736
3714
|
|
3737
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3738
|
-
#
|
3739
|
-
#
|
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.
|
3740
3718
|
# Corresponds to the JSON property `projectId`
|
3741
3719
|
# @return [String]
|
3742
3720
|
attr_accessor :project_id
|
3743
3721
|
|
3744
|
-
# Deprecated. The name of the Google Compute Engine
|
3745
|
-
#
|
3746
|
-
#
|
3747
|
-
# 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.
|
3748
3725
|
# Corresponds to the JSON property `zone`
|
3749
3726
|
# @return [String]
|
3750
3727
|
attr_accessor :zone
|
@@ -3764,20 +3741,18 @@ module Google
|
|
3764
3741
|
end
|
3765
3742
|
end
|
3766
3743
|
|
3767
|
-
# SetNodePoolSizeRequest sets the size a node
|
3768
|
-
# pool.
|
3744
|
+
# SetNodePoolSizeRequest sets the size a node pool.
|
3769
3745
|
class SetNodePoolSizeRequest
|
3770
3746
|
include Google::Apis::Core::Hashable
|
3771
3747
|
|
3772
|
-
# Deprecated. The name of the cluster to update.
|
3773
|
-
#
|
3748
|
+
# Deprecated. The name of the cluster to update. This field has been deprecated
|
3749
|
+
# and replaced by the name field.
|
3774
3750
|
# Corresponds to the JSON property `clusterId`
|
3775
3751
|
# @return [String]
|
3776
3752
|
attr_accessor :cluster_id
|
3777
3753
|
|
3778
3754
|
# The name (project, location, cluster, node pool id) of the node pool to set
|
3779
|
-
# size.
|
3780
|
-
# Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
|
3755
|
+
# size. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
|
3781
3756
|
# Corresponds to the JSON property `name`
|
3782
3757
|
# @return [String]
|
3783
3758
|
attr_accessor :name
|
@@ -3787,23 +3762,22 @@ module Google
|
|
3787
3762
|
# @return [Fixnum]
|
3788
3763
|
attr_accessor :node_count
|
3789
3764
|
|
3790
|
-
# Deprecated. The name of the node pool to update.
|
3791
|
-
#
|
3765
|
+
# Deprecated. The name of the node pool to update. This field has been
|
3766
|
+
# deprecated and replaced by the name field.
|
3792
3767
|
# Corresponds to the JSON property `nodePoolId`
|
3793
3768
|
# @return [String]
|
3794
3769
|
attr_accessor :node_pool_id
|
3795
3770
|
|
3796
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3797
|
-
#
|
3798
|
-
#
|
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.
|
3799
3774
|
# Corresponds to the JSON property `projectId`
|
3800
3775
|
# @return [String]
|
3801
3776
|
attr_accessor :project_id
|
3802
3777
|
|
3803
|
-
# Deprecated. The name of the Google Compute Engine
|
3804
|
-
#
|
3805
|
-
#
|
3806
|
-
# 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.
|
3807
3781
|
# Corresponds to the JSON property `zone`
|
3808
3782
|
# @return [String]
|
3809
3783
|
attr_accessor :zone
|
@@ -3827,20 +3801,20 @@ module Google
|
|
3827
3801
|
class ShieldedInstanceConfig
|
3828
3802
|
include Google::Apis::Core::Hashable
|
3829
3803
|
|
3830
|
-
# Defines whether the instance has integrity monitoring enabled.
|
3831
|
-
#
|
3832
|
-
#
|
3833
|
-
#
|
3834
|
-
#
|
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.
|
3835
3809
|
# Corresponds to the JSON property `enableIntegrityMonitoring`
|
3836
3810
|
# @return [Boolean]
|
3837
3811
|
attr_accessor :enable_integrity_monitoring
|
3838
3812
|
alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
|
3839
3813
|
|
3840
|
-
# Defines whether the instance has Secure Boot enabled.
|
3841
|
-
#
|
3842
|
-
#
|
3843
|
-
#
|
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.
|
3844
3818
|
# Corresponds to the JSON property `enableSecureBoot`
|
3845
3819
|
# @return [Boolean]
|
3846
3820
|
attr_accessor :enable_secure_boot
|
@@ -3877,26 +3851,26 @@ module Google
|
|
3877
3851
|
end
|
3878
3852
|
end
|
3879
3853
|
|
3880
|
-
# StartIPRotationRequest creates a new IP for the cluster and then performs
|
3881
|
-
#
|
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.
|
3882
3856
|
class StartIpRotationRequest
|
3883
3857
|
include Google::Apis::Core::Hashable
|
3884
3858
|
|
3885
|
-
# Deprecated. The name of the cluster.
|
3886
|
-
#
|
3859
|
+
# Deprecated. The name of the cluster. This field has been deprecated and
|
3860
|
+
# replaced by the name field.
|
3887
3861
|
# Corresponds to the JSON property `clusterId`
|
3888
3862
|
# @return [String]
|
3889
3863
|
attr_accessor :cluster_id
|
3890
3864
|
|
3891
|
-
# The name (project, location, cluster id) of the cluster to start IP
|
3892
|
-
#
|
3865
|
+
# The name (project, location, cluster id) of the cluster to start IP rotation.
|
3866
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
3893
3867
|
# Corresponds to the JSON property `name`
|
3894
3868
|
# @return [String]
|
3895
3869
|
attr_accessor :name
|
3896
3870
|
|
3897
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3898
|
-
#
|
3899
|
-
#
|
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.
|
3900
3874
|
# Corresponds to the JSON property `projectId`
|
3901
3875
|
# @return [String]
|
3902
3876
|
attr_accessor :project_id
|
@@ -3907,10 +3881,9 @@ module Google
|
|
3907
3881
|
attr_accessor :rotate_credentials
|
3908
3882
|
alias_method :rotate_credentials?, :rotate_credentials
|
3909
3883
|
|
3910
|
-
# Deprecated. The name of the Google Compute Engine
|
3911
|
-
#
|
3912
|
-
#
|
3913
|
-
# 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.
|
3914
3887
|
# Corresponds to the JSON property `zone`
|
3915
3888
|
# @return [String]
|
3916
3889
|
attr_accessor :zone
|
@@ -3929,8 +3902,8 @@ module Google
|
|
3929
3902
|
end
|
3930
3903
|
end
|
3931
3904
|
|
3932
|
-
# StatusCondition describes why a cluster or a node pool has a certain status
|
3933
|
-
#
|
3905
|
+
# StatusCondition describes why a cluster or a node pool has a certain status (e.
|
3906
|
+
# g., ERROR or DEGRADED).
|
3934
3907
|
class StatusCondition
|
3935
3908
|
include Google::Apis::Core::Hashable
|
3936
3909
|
|
@@ -3959,8 +3932,8 @@ module Google
|
|
3959
3932
|
class TimeWindow
|
3960
3933
|
include Google::Apis::Core::Hashable
|
3961
3934
|
|
3962
|
-
# The time that the window ends. The end time should take place after the
|
3963
|
-
#
|
3935
|
+
# The time that the window ends. The end time should take place after the start
|
3936
|
+
# time.
|
3964
3937
|
# Corresponds to the JSON property `endTime`
|
3965
3938
|
# @return [String]
|
3966
3939
|
attr_accessor :end_time
|
@@ -3985,36 +3958,34 @@ module Google
|
|
3985
3958
|
class UpdateClusterRequest
|
3986
3959
|
include Google::Apis::Core::Hashable
|
3987
3960
|
|
3988
|
-
# Deprecated. The name of the cluster to upgrade.
|
3989
|
-
#
|
3961
|
+
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
3962
|
+
# and replaced by the name field.
|
3990
3963
|
# Corresponds to the JSON property `clusterId`
|
3991
3964
|
# @return [String]
|
3992
3965
|
attr_accessor :cluster_id
|
3993
3966
|
|
3994
|
-
# The name (project, location, cluster) of the cluster to update.
|
3995
|
-
#
|
3967
|
+
# The name (project, location, cluster) of the cluster to update. Specified in
|
3968
|
+
# the format `projects/*/locations/*/clusters/*`.
|
3996
3969
|
# Corresponds to the JSON property `name`
|
3997
3970
|
# @return [String]
|
3998
3971
|
attr_accessor :name
|
3999
3972
|
|
4000
|
-
# Deprecated. The Google Developers Console [project ID or project
|
4001
|
-
#
|
4002
|
-
#
|
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.
|
4003
3976
|
# Corresponds to the JSON property `projectId`
|
4004
3977
|
# @return [String]
|
4005
3978
|
attr_accessor :project_id
|
4006
3979
|
|
4007
|
-
# ClusterUpdate describes an update to the cluster. Exactly one update can
|
4008
|
-
#
|
4009
|
-
# 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.
|
4010
3982
|
# Corresponds to the JSON property `update`
|
4011
3983
|
# @return [Google::Apis::ContainerV1::ClusterUpdate]
|
4012
3984
|
attr_accessor :update
|
4013
3985
|
|
4014
|
-
# Deprecated. The name of the Google Compute Engine
|
4015
|
-
#
|
4016
|
-
#
|
4017
|
-
# 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.
|
4018
3989
|
# Corresponds to the JSON property `zone`
|
4019
3990
|
# @return [String]
|
4020
3991
|
attr_accessor :zone
|
@@ -4037,41 +4008,39 @@ module Google
|
|
4037
4008
|
class UpdateMasterRequest
|
4038
4009
|
include Google::Apis::Core::Hashable
|
4039
4010
|
|
4040
|
-
# Deprecated. The name of the cluster to upgrade.
|
4041
|
-
#
|
4011
|
+
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
4012
|
+
# and replaced by the name field.
|
4042
4013
|
# Corresponds to the JSON property `clusterId`
|
4043
4014
|
# @return [String]
|
4044
4015
|
attr_accessor :cluster_id
|
4045
4016
|
|
4046
|
-
# Required. The Kubernetes version to change the master to.
|
4047
|
-
#
|
4048
|
-
#
|
4049
|
-
# - "
|
4050
|
-
# - "1.X": picks the highest valid
|
4051
|
-
#
|
4052
|
-
#
|
4053
|
-
# - "-": 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
|
4054
4024
|
# Corresponds to the JSON property `masterVersion`
|
4055
4025
|
# @return [String]
|
4056
4026
|
attr_accessor :master_version
|
4057
4027
|
|
4058
|
-
# The name (project, location, cluster) of the cluster to update.
|
4059
|
-
#
|
4028
|
+
# The name (project, location, cluster) of the cluster to update. Specified in
|
4029
|
+
# the format `projects/*/locations/*/clusters/*`.
|
4060
4030
|
# Corresponds to the JSON property `name`
|
4061
4031
|
# @return [String]
|
4062
4032
|
attr_accessor :name
|
4063
4033
|
|
4064
|
-
# Deprecated. The Google Developers Console [project ID or project
|
4065
|
-
#
|
4066
|
-
#
|
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.
|
4067
4037
|
# Corresponds to the JSON property `projectId`
|
4068
4038
|
# @return [String]
|
4069
4039
|
attr_accessor :project_id
|
4070
4040
|
|
4071
|
-
# Deprecated. The name of the Google Compute Engine
|
4072
|
-
#
|
4073
|
-
#
|
4074
|
-
# 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.
|
4075
4044
|
# Corresponds to the JSON property `zone`
|
4076
4045
|
# @return [String]
|
4077
4046
|
attr_accessor :zone
|
@@ -4094,8 +4063,8 @@ module Google
|
|
4094
4063
|
class UpdateNodePoolRequest
|
4095
4064
|
include Google::Apis::Core::Hashable
|
4096
4065
|
|
4097
|
-
# Deprecated. The name of the cluster to upgrade.
|
4098
|
-
#
|
4066
|
+
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
4067
|
+
# and replaced by the name field.
|
4099
4068
|
# Corresponds to the JSON property `clusterId`
|
4100
4069
|
# @return [String]
|
4101
4070
|
attr_accessor :cluster_id
|
@@ -4105,66 +4074,59 @@ module Google
|
|
4105
4074
|
# @return [String]
|
4106
4075
|
attr_accessor :image_type
|
4107
4076
|
|
4108
|
-
# The desired list of Google Compute Engine
|
4109
|
-
#
|
4110
|
-
#
|
4111
|
-
#
|
4112
|
-
#
|
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.
|
4113
4082
|
# Corresponds to the JSON property `locations`
|
4114
4083
|
# @return [Array<String>]
|
4115
4084
|
attr_accessor :locations
|
4116
4085
|
|
4117
|
-
# The name (project, location, cluster, node pool) of the node pool to
|
4118
|
-
#
|
4119
|
-
# `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/*`.
|
4120
4088
|
# Corresponds to the JSON property `name`
|
4121
4089
|
# @return [String]
|
4122
4090
|
attr_accessor :name
|
4123
4091
|
|
4124
|
-
# Deprecated. The name of the node pool to upgrade.
|
4125
|
-
#
|
4092
|
+
# Deprecated. The name of the node pool to upgrade. This field has been
|
4093
|
+
# deprecated and replaced by the name field.
|
4126
4094
|
# Corresponds to the JSON property `nodePoolId`
|
4127
4095
|
# @return [String]
|
4128
4096
|
attr_accessor :node_pool_id
|
4129
4097
|
|
4130
|
-
# Required. The Kubernetes version to change the nodes to (typically an
|
4131
|
-
# upgrade).
|
4098
|
+
# Required. The Kubernetes version to change the nodes to (typically an upgrade).
|
4132
4099
|
# Users may specify either explicit versions offered by Kubernetes Engine or
|
4133
|
-
# version aliases, which have the following behavior:
|
4134
|
-
# - "
|
4135
|
-
# - "1.X": picks the highest valid
|
4136
|
-
# - "1.X.Y": picks
|
4137
|
-
#
|
4138
|
-
# - "-": 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
|
4139
4105
|
# Corresponds to the JSON property `nodeVersion`
|
4140
4106
|
# @return [String]
|
4141
4107
|
attr_accessor :node_version
|
4142
4108
|
|
4143
|
-
# Deprecated. The Google Developers Console [project ID or project
|
4144
|
-
#
|
4145
|
-
#
|
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.
|
4146
4112
|
# Corresponds to the JSON property `projectId`
|
4147
4113
|
# @return [String]
|
4148
4114
|
attr_accessor :project_id
|
4149
4115
|
|
4150
4116
|
# These upgrade settings control the level of parallelism and the level of
|
4151
|
-
# disruption caused by an upgrade.
|
4152
|
-
#
|
4153
|
-
#
|
4154
|
-
#
|
4155
|
-
#
|
4156
|
-
#
|
4157
|
-
#
|
4158
|
-
#
|
4159
|
-
#
|
4160
|
-
#
|
4161
|
-
#
|
4162
|
-
#
|
4163
|
-
#
|
4164
|
-
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
4165
|
-
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
4166
|
-
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
4167
|
-
# 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.
|
4168
4130
|
# Corresponds to the JSON property `upgradeSettings`
|
4169
4131
|
# @return [Google::Apis::ContainerV1::UpgradeSettings]
|
4170
4132
|
attr_accessor :upgrade_settings
|
@@ -4175,10 +4137,9 @@ module Google
|
|
4175
4137
|
# @return [Google::Apis::ContainerV1::WorkloadMetadataConfig]
|
4176
4138
|
attr_accessor :workload_metadata_config
|
4177
4139
|
|
4178
|
-
# Deprecated. The name of the Google Compute Engine
|
4179
|
-
#
|
4180
|
-
#
|
4181
|
-
# 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.
|
4182
4143
|
# Corresponds to the JSON property `zone`
|
4183
4144
|
# @return [String]
|
4184
4145
|
attr_accessor :zone
|
@@ -4202,36 +4163,82 @@ module Google
|
|
4202
4163
|
end
|
4203
4164
|
end
|
4204
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
|
+
|
4205
4217
|
# These upgrade settings control the level of parallelism and the level of
|
4206
|
-
# disruption caused by an upgrade.
|
4207
|
-
#
|
4208
|
-
#
|
4209
|
-
#
|
4210
|
-
#
|
4211
|
-
#
|
4212
|
-
#
|
4213
|
-
#
|
4214
|
-
#
|
4215
|
-
#
|
4216
|
-
#
|
4217
|
-
#
|
4218
|
-
#
|
4219
|
-
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
4220
|
-
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
4221
|
-
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
4222
|
-
# 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.
|
4223
4231
|
class UpgradeSettings
|
4224
4232
|
include Google::Apis::Core::Hashable
|
4225
4233
|
|
4226
|
-
# The maximum number of nodes that can be created beyond the current size
|
4227
|
-
#
|
4234
|
+
# The maximum number of nodes that can be created beyond the current size of the
|
4235
|
+
# node pool during the upgrade process.
|
4228
4236
|
# Corresponds to the JSON property `maxSurge`
|
4229
4237
|
# @return [Fixnum]
|
4230
4238
|
attr_accessor :max_surge
|
4231
4239
|
|
4232
|
-
# The maximum number of nodes that can be simultaneously unavailable during
|
4233
|
-
#
|
4234
|
-
# 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.
|
4235
4242
|
# Corresponds to the JSON property `maxUnavailable`
|
4236
4243
|
# @return [Fixnum]
|
4237
4244
|
attr_accessor :max_unavailable
|
@@ -4257,8 +4264,7 @@ module Google
|
|
4257
4264
|
# @return [String]
|
4258
4265
|
attr_accessor :ip_cidr_range
|
4259
4266
|
|
4260
|
-
# Network Name.
|
4261
|
-
# Example: projects/my-project/global/networks/my-network
|
4267
|
+
# Network Name. Example: projects/my-project/global/networks/my-network
|
4262
4268
|
# Corresponds to the JSON property `network`
|
4263
4269
|
# @return [String]
|
4264
4270
|
attr_accessor :network
|
@@ -4268,16 +4274,16 @@ module Google
|
|
4268
4274
|
# @return [Array<Google::Apis::ContainerV1::UsableSubnetworkSecondaryRange>]
|
4269
4275
|
attr_accessor :secondary_ip_ranges
|
4270
4276
|
|
4271
|
-
# A human readable status message representing the reasons for cases where
|
4272
|
-
#
|
4273
|
-
#
|
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
|
4274
4280
|
# permission message will be given by status_message.
|
4275
4281
|
# Corresponds to the JSON property `statusMessage`
|
4276
4282
|
# @return [String]
|
4277
4283
|
attr_accessor :status_message
|
4278
4284
|
|
4279
|
-
# Subnetwork Name.
|
4280
|
-
#
|
4285
|
+
# Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/
|
4286
|
+
# my-subnet
|
4281
4287
|
# Corresponds to the JSON property `subnetwork`
|
4282
4288
|
# @return [String]
|
4283
4289
|
attr_accessor :subnetwork
|
@@ -4305,8 +4311,8 @@ module Google
|
|
4305
4311
|
# @return [String]
|
4306
4312
|
attr_accessor :ip_cidr_range
|
4307
4313
|
|
4308
|
-
# The name associated with this subnetwork secondary range, used when adding
|
4309
|
-
#
|
4314
|
+
# The name associated with this subnetwork secondary range, used when adding an
|
4315
|
+
# alias IP range to a VM instance.
|
4310
4316
|
# Corresponds to the JSON property `rangeName`
|
4311
4317
|
# @return [String]
|
4312
4318
|
attr_accessor :range_name
|
@@ -4328,9 +4334,9 @@ module Google
|
|
4328
4334
|
end
|
4329
4335
|
end
|
4330
4336
|
|
4331
|
-
# VerticalPodAutoscaling contains global, per-cluster information
|
4332
|
-
#
|
4333
|
-
#
|
4337
|
+
# VerticalPodAutoscaling contains global, per-cluster information required by
|
4338
|
+
# Vertical Pod Autoscaler to automatically adjust the resources of pods
|
4339
|
+
# controlled by it.
|
4334
4340
|
class VerticalPodAutoscaling
|
4335
4341
|
include Google::Apis::Core::Hashable
|
4336
4342
|
|
@@ -4350,8 +4356,7 @@ module Google
|
|
4350
4356
|
end
|
4351
4357
|
end
|
4352
4358
|
|
4353
|
-
# Configuration for the use of Kubernetes Service Accounts in GCP IAM
|
4354
|
-
# policies.
|
4359
|
+
# Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
|
4355
4360
|
class WorkloadIdentityConfig
|
4356
4361
|
include Google::Apis::Core::Hashable
|
4357
4362
|
|
@@ -4375,8 +4380,8 @@ module Google
|
|
4375
4380
|
class WorkloadMetadataConfig
|
4376
4381
|
include Google::Apis::Core::Hashable
|
4377
4382
|
|
4378
|
-
# Mode is the configuration for how to expose metadata to workloads running
|
4379
|
-
#
|
4383
|
+
# Mode is the configuration for how to expose metadata to workloads running on
|
4384
|
+
# the node pool.
|
4380
4385
|
# Corresponds to the JSON property `mode`
|
4381
4386
|
# @return [String]
|
4382
4387
|
attr_accessor :mode
|