google-api-client 0.42.1 → 0.44.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +550 -0
- data/api_names.yaml +1 -0
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +59 -83
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
- data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_directory_v1/classes.rb +209 -242
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -39
- data/generated/google/apis/admin_directory_v1/service.rb +535 -998
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -268
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +98 -61
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
- data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
- data/generated/google/apis/{accessapproval_v1beta1.rb → apigateway_v1alpha1.rb} +9 -9
- 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/{cloudfunctions_v1beta2.rb → apigateway_v1beta.rb} +9 -9
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigee_v1.rb +6 -8
- data/generated/google/apis/apigee_v1/classes.rb +925 -1226
- data/generated/google/apis/apigee_v1/representations.rb +66 -2
- data/generated/google/apis/apigee_v1/service.rb +1000 -1142
- 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 -44
- 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 -43
- 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 +235 -337
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +564 -541
- data/generated/google/apis/bigquery_v2/representations.rb +86 -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 +350 -65
- data/generated/google/apis/bigtableadmin_v1/representations.rb +129 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +746 -543
- data/generated/google/apis/bigtableadmin_v2/representations.rb +175 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +386 -141
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +246 -354
- data/generated/google/apis/binaryauthorization_v1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +246 -354
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +11 -9
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +109 -115
- data/generated/google/apis/chat_v1/representations.rb +13 -0
- data/generated/google/apis/chat_v1/service.rb +65 -38
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- 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 +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +643 -902
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +713 -1036
- data/generated/google/apis/cloudasset_v1/service.rb +131 -156
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p5beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1300 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +126 -0
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +371 -343
- data/generated/google/apis/cloudbuild_v1/representations.rb +23 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +265 -66
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -538
- data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
- 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 +893 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +342 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +802 -61
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1059 -318
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -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 +510 -754
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +197 -246
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +265 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +134 -175
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +265 -414
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +265 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +280 -380
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- 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 +281 -381
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
- data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
- data/generated/google/apis/cloudshell_v1/service.rb +21 -25
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +66 -72
- 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 +605 -933
- 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 +602 -964
- 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 +609 -938
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +190 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +92 -179
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1021 -137
- data/generated/google/apis/compute_alpha/representations.rb +208 -4
- data/generated/google/apis/compute_alpha/service.rb +710 -699
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +607 -82
- data/generated/google/apis/compute_beta/representations.rb +114 -1
- data/generated/google/apis/compute_beta/service.rb +623 -612
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1014 -99
- data/generated/google/apis/compute_v1/representations.rb +390 -15
- data/generated/google/apis/compute_v1/service.rb +809 -33
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +996 -965
- data/generated/google/apis/container_v1/representations.rb +75 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1066 -1044
- data/generated/google/apis/container_v1beta1/representations.rb +76 -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 +20 -2
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +122 -5
- data/generated/google/apis/content_v2_1/representations.rb +36 -0
- data/generated/google/apis/content_v2_1/service.rb +53 -2
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +303 -488
- data/generated/google/apis/customsearch_v1/service.rb +186 -343
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +389 -570
- 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 +1015 -972
- data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
- data/generated/google/apis/datafusion_v1.rb +40 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1040 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +143 -94
- data/generated/google/apis/datafusion_v1/service.rb +667 -0
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +249 -327
- data/generated/google/apis/dataproc_v1/representations.rb +18 -0
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +272 -322
- data/generated/google/apis/dataproc_v1beta2/representations.rb +33 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +330 -472
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
- data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
- data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +769 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +225 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1381 -1563
- data/generated/google/apis/dialogflow_v2/representations.rb +68 -15
- data/generated/google/apis/dialogflow_v2/service.rb +324 -444
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1462 -1643
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +68 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +915 -988
- data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8192 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -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 +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1817 -1726
- data/generated/google/apis/displayvideo_v1/representations.rb +305 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1287 -924
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
- data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1dev.rb +38 -0
- data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1076 -1301
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +175 -198
- data/generated/google/apis/dns_v1/service.rb +82 -97
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
- data/generated/google/apis/dns_v1beta2/service.rb +82 -97
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
- data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +8 -15
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +202 -15
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +5 -6
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +17 -7
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +79 -15
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +23 -7
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +154 -173
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +334 -193
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +325 -381
- data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/firebasehosting_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
- data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +334 -177
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +526 -145
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +402 -498
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/fitness_v1.rb +3 -3
- data/generated/google/apis/fitness_v1/classes.rb +172 -210
- data/generated/google/apis/fitness_v1/service.rb +125 -146
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- 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 +37 -38
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +77 -84
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/games_v1/service.rb +86 -92
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +351 -523
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1/service.rb +167 -207
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +351 -523
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +207 -266
- data/generated/google/apis/gmail_v1/service.rb +260 -287
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +5 -2
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +635 -826
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +843 -843
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +880 -1086
- data/generated/google/apis/healthcare_v1beta1/representations.rb +59 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +1150 -1108
- 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 +429 -555
- data/generated/google/apis/iamcredentials_v1.rb +4 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +253 -355
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
- data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +786 -1086
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +637 -856
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +762 -1023
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/localservices_v1.rb +31 -0
- data/generated/google/apis/localservices_v1/classes.rb +419 -0
- data/generated/google/apis/localservices_v1/representations.rb +172 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +174 -214
- data/generated/google/apis/logging_v2/representations.rb +15 -0
- data/generated/google/apis/logging_v2/service.rb +1017 -584
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
- data/generated/google/apis/managedidentities_v1/service.rb +78 -99
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +344 -457
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +340 -456
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
- data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +956 -1144
- data/generated/google/apis/ml_v1/representations.rb +65 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +121 -38
- 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 +253 -337
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +126 -144
- 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 +388 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -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 +227 -179
- data/generated/google/apis/osconfig_v1/representations.rb +35 -0
- 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 +400 -409
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +493 -403
- data/generated/google/apis/people_v1/representations.rb +98 -0
- data/generated/google/apis/people_v1/service.rb +169 -385
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +148 -219
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +11 -29
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +304 -313
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +407 -512
- data/generated/google/apis/pubsub_v1/representations.rb +3 -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 +244 -354
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/pubsublite_v1.rb +34 -0
- data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
- data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
- data/generated/google/apis/pubsublite_v1/service.rb +525 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +337 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +141 -207
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +76 -100
- data/generated/google/apis/recommender_v1/service.rb +43 -58
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +477 -116
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- 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 +481 -120
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- 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/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +837 -1249
- data/generated/google/apis/run_v1/representations.rb +1 -1
- data/generated/google/apis/run_v1/service.rb +233 -247
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +935 -1332
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +210 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +302 -412
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +128 -219
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -32
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +379 -365
- data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +218 -363
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1120 -1784
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1075 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1160 -1763
- data/generated/google/apis/servicenetworking_v1/representations.rb +52 -1
- data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
- data/generated/google/apis/serviceusage_v1/service.rb +67 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1546 -2156
- 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 +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +322 -374
- data/generated/google/apis/sql_v1beta4/representations.rb +3 -0
- data/generated/google/apis/sql_v1beta4/service.rb +49 -54
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +8 -7
- data/generated/google/apis/storage_v1/representations.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
- data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/sts_v1.rb +32 -0
- data/generated/google/apis/sts_v1/classes.rb +120 -0
- data/generated/google/apis/sts_v1/representations.rb +59 -0
- data/generated/google/apis/sts_v1/service.rb +90 -0
- data/generated/google/apis/sts_v1beta.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +191 -0
- data/generated/google/apis/{oauth2_v2 → sts_v1beta}/representations.rb +14 -21
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +22 -23
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +189 -285
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +20 -21
- data/generated/google/apis/tasks_v1/service.rb +16 -17
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +374 -376
- data/generated/google/apis/testing_v1/representations.rb +34 -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 +678 -928
- data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +122 -78
- data/generated/google/apis/tpu_v1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +122 -78
- data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/trafficdirector_v2.rb +34 -0
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +148 -175
- data/generated/google/apis/translate_v3/service.rb +122 -138
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -138
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +80 -103
- data/generated/google/apis/vault_v1/service.rb +31 -37
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
- data/generated/google/apis/videointelligence_v1/service.rb +71 -48
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1870
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +4 -6
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → workflowexecutions_v1beta.rb} +9 -10
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -73
- data/generated/google/apis/workflows_v1beta.rb +34 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
- data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
- data/generated/google/apis/workflows_v1beta/service.rb +437 -0
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
- data/generated/google/apis/youtube_partner_v1/service.rb +521 -661
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1290 -1175
- data/generated/google/apis/youtube_v3/representations.rb +177 -0
- data/generated/google/apis/youtube_v3/service.rb +1159 -1390
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/google-api-client.gemspec +2 -1
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +94 -32
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -928
- data/generated/google/apis/oauth2_v2.rb +0 -40
- data/generated/google/apis/oauth2_v2/classes.rb +0 -165
- data/generated/google/apis/oauth2_v2/service.rb +0 -158
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
- data/generated/google/apis/storage_v1beta2.rb +0 -40
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
|
27
27
|
module ContainerV1beta1
|
|
28
28
|
VERSION = 'V1beta1'
|
|
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
|
|
|
@@ -75,14 +75,14 @@ module Google
|
|
|
75
75
|
attr_accessor :gce_persistent_disk_csi_driver_config
|
|
76
76
|
|
|
77
77
|
# Configuration options for the horizontal pod autoscaling feature, which
|
|
78
|
-
# increases or decreases the number of replica pods a replication controller
|
|
79
|
-
#
|
|
78
|
+
# increases or decreases the number of replica pods a replication controller has
|
|
79
|
+
# based on the resource usage of the existing pods.
|
|
80
80
|
# Corresponds to the JSON property `horizontalPodAutoscaling`
|
|
81
81
|
# @return [Google::Apis::ContainerV1beta1::HorizontalPodAutoscaling]
|
|
82
82
|
attr_accessor :horizontal_pod_autoscaling
|
|
83
83
|
|
|
84
|
-
# Configuration options for the HTTP (L7) load balancing controller addon,
|
|
85
|
-
#
|
|
84
|
+
# Configuration options for the HTTP (L7) load balancing controller addon, which
|
|
85
|
+
# makes it easy to set up HTTP load balancers for services in a cluster.
|
|
86
86
|
# Corresponds to the JSON property `httpLoadBalancing`
|
|
87
87
|
# @return [Google::Apis::ContainerV1beta1::HttpLoadBalancing]
|
|
88
88
|
attr_accessor :http_load_balancing
|
|
@@ -102,9 +102,9 @@ module Google
|
|
|
102
102
|
# @return [Google::Apis::ContainerV1beta1::KubernetesDashboard]
|
|
103
103
|
attr_accessor :kubernetes_dashboard
|
|
104
104
|
|
|
105
|
-
# Configuration for NetworkPolicy. This only tracks whether the addon
|
|
106
|
-
#
|
|
107
|
-
#
|
|
105
|
+
# Configuration for NetworkPolicy. This only tracks whether the addon is enabled
|
|
106
|
+
# or not on the Master, it does not track whether network policy is enabled for
|
|
107
|
+
# the nodes.
|
|
108
108
|
# Corresponds to the JSON property `networkPolicyConfig`
|
|
109
109
|
# @return [Google::Apis::ContainerV1beta1::NetworkPolicyConfig]
|
|
110
110
|
attr_accessor :network_policy_config
|
|
@@ -132,15 +132,15 @@ module Google
|
|
|
132
132
|
class AuthenticatorGroupsConfig
|
|
133
133
|
include Google::Apis::Core::Hashable
|
|
134
134
|
|
|
135
|
-
# Whether this cluster should return group membership lookups
|
|
136
|
-
#
|
|
135
|
+
# Whether this cluster should return group membership lookups during
|
|
136
|
+
# authentication using a group of security groups.
|
|
137
137
|
# Corresponds to the JSON property `enabled`
|
|
138
138
|
# @return [Boolean]
|
|
139
139
|
attr_accessor :enabled
|
|
140
140
|
alias_method :enabled?, :enabled
|
|
141
141
|
|
|
142
|
-
# The name of the security group-of-groups to be used. Only relevant
|
|
143
|
-
#
|
|
142
|
+
# The name of the security group-of-groups to be used. Only relevant if enabled =
|
|
143
|
+
# true.
|
|
144
144
|
# Corresponds to the JSON property `securityGroup`
|
|
145
145
|
# @return [String]
|
|
146
146
|
attr_accessor :security_group
|
|
@@ -156,20 +156,20 @@ module Google
|
|
|
156
156
|
end
|
|
157
157
|
end
|
|
158
158
|
|
|
159
|
-
# AutoUpgradeOptions defines the set of options for the user to control how
|
|
160
|
-
#
|
|
159
|
+
# AutoUpgradeOptions defines the set of options for the user to control how the
|
|
160
|
+
# Auto Upgrades will proceed.
|
|
161
161
|
class AutoUpgradeOptions
|
|
162
162
|
include Google::Apis::Core::Hashable
|
|
163
163
|
|
|
164
|
-
# [Output only] This field is set when upgrades are about to commence
|
|
165
|
-
#
|
|
166
|
-
#
|
|
164
|
+
# [Output only] This field is set when upgrades are about to commence with the
|
|
165
|
+
# approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/
|
|
166
|
+
# rfc3339.txt) text format.
|
|
167
167
|
# Corresponds to the JSON property `autoUpgradeStartTime`
|
|
168
168
|
# @return [String]
|
|
169
169
|
attr_accessor :auto_upgrade_start_time
|
|
170
170
|
|
|
171
|
-
# [Output only] This field is set when upgrades are about to commence
|
|
172
|
-
#
|
|
171
|
+
# [Output only] This field is set when upgrades are about to commence with the
|
|
172
|
+
# description of the upgrade.
|
|
173
173
|
# Corresponds to the JSON property `description`
|
|
174
174
|
# @return [String]
|
|
175
175
|
attr_accessor :description
|
|
@@ -185,11 +185,32 @@ module Google
|
|
|
185
185
|
end
|
|
186
186
|
end
|
|
187
187
|
|
|
188
|
-
# AutoprovisioningNodePoolDefaults contains defaults for a node pool created
|
|
189
|
-
#
|
|
188
|
+
# AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
|
|
189
|
+
# NAP.
|
|
190
190
|
class AutoprovisioningNodePoolDefaults
|
|
191
191
|
include Google::Apis::Core::Hashable
|
|
192
192
|
|
|
193
|
+
# The Customer Managed Encryption Key used to encrypt the boot disk attached to
|
|
194
|
+
# each node in the node pool. This should be of the form projects/[
|
|
195
|
+
# KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
|
|
196
|
+
# . For more information about protecting resources with Cloud KMS Keys please
|
|
197
|
+
# see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
|
198
|
+
# Corresponds to the JSON property `bootDiskKmsKey`
|
|
199
|
+
# @return [String]
|
|
200
|
+
attr_accessor :boot_disk_kms_key
|
|
201
|
+
|
|
202
|
+
# Size of the disk attached to each node, specified in GB. The smallest allowed
|
|
203
|
+
# disk size is 10GB. If unspecified, the default disk size is 100GB.
|
|
204
|
+
# Corresponds to the JSON property `diskSizeGb`
|
|
205
|
+
# @return [Fixnum]
|
|
206
|
+
attr_accessor :disk_size_gb
|
|
207
|
+
|
|
208
|
+
# Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If
|
|
209
|
+
# unspecified, the default disk type is 'pd-standard'
|
|
210
|
+
# Corresponds to the JSON property `diskType`
|
|
211
|
+
# @return [String]
|
|
212
|
+
attr_accessor :disk_type
|
|
213
|
+
|
|
193
214
|
# NodeManagement defines the set of node management services turned on for the
|
|
194
215
|
# node pool.
|
|
195
216
|
# Corresponds to the JSON property `management`
|
|
@@ -198,59 +219,54 @@ module Google
|
|
|
198
219
|
|
|
199
220
|
# Minimum CPU platform to be used by this instance. The instance may be
|
|
200
221
|
# scheduled on the specified or newer CPU platform. Applicable values are the
|
|
201
|
-
# friendly names of CPU platforms, such as
|
|
202
|
-
#
|
|
203
|
-
#
|
|
204
|
-
#
|
|
205
|
-
# platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-
|
|
206
|
-
# platform)
|
|
207
|
-
# To unset the min cpu platform field pass "automatic"
|
|
222
|
+
# friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` or `
|
|
223
|
+
# minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to
|
|
224
|
+
# specify min CPU platform](https://cloud.google.com/compute/docs/instances/
|
|
225
|
+
# specify-min-cpu-platform) To unset the min cpu platform field pass "automatic"
|
|
208
226
|
# as field value.
|
|
209
227
|
# Corresponds to the JSON property `minCpuPlatform`
|
|
210
228
|
# @return [String]
|
|
211
229
|
attr_accessor :min_cpu_platform
|
|
212
230
|
|
|
213
|
-
# The set of Google API scopes to be made available on all of the
|
|
214
|
-
#
|
|
215
|
-
#
|
|
216
|
-
#
|
|
217
|
-
#
|
|
218
|
-
#
|
|
219
|
-
#
|
|
220
|
-
#
|
|
221
|
-
#
|
|
222
|
-
# Registry](https://cloud.google.com/container-registry/)).
|
|
223
|
-
# If unspecified, no scopes are added, unless Cloud Logging or Cloud
|
|
224
|
-
# Monitoring are enabled, in which case their required scopes will be added.
|
|
231
|
+
# The set of Google API scopes to be made available on all of the node VMs under
|
|
232
|
+
# the "default" service account. The following scopes are recommended, but not
|
|
233
|
+
# required, and by default are not included: * `https://www.googleapis.com/auth/
|
|
234
|
+
# compute` is required for mounting persistent storage on your nodes. * `https://
|
|
235
|
+
# www.googleapis.com/auth/devstorage.read_only` is required for communicating
|
|
236
|
+
# with **gcr.io** (the [Google Container Registry](https://cloud.google.com/
|
|
237
|
+
# container-registry/)). If unspecified, no scopes are added, unless Cloud
|
|
238
|
+
# Logging or Cloud Monitoring are enabled, in which case their required scopes
|
|
239
|
+
# will be added.
|
|
225
240
|
# Corresponds to the JSON property `oauthScopes`
|
|
226
241
|
# @return [Array<String>]
|
|
227
242
|
attr_accessor :oauth_scopes
|
|
228
243
|
|
|
229
|
-
# The Google Cloud Platform Service Account to be used by the node VMs.
|
|
230
|
-
#
|
|
231
|
-
#
|
|
244
|
+
# The Google Cloud Platform Service Account to be used by the node VMs. Specify
|
|
245
|
+
# the email address of the Service Account; otherwise, if no Service Account is
|
|
246
|
+
# specified, the "default" service account is used.
|
|
232
247
|
# Corresponds to the JSON property `serviceAccount`
|
|
233
248
|
# @return [String]
|
|
234
249
|
attr_accessor :service_account
|
|
235
250
|
|
|
251
|
+
# A set of Shielded Instance options.
|
|
252
|
+
# Corresponds to the JSON property `shieldedInstanceConfig`
|
|
253
|
+
# @return [Google::Apis::ContainerV1beta1::ShieldedInstanceConfig]
|
|
254
|
+
attr_accessor :shielded_instance_config
|
|
255
|
+
|
|
236
256
|
# These upgrade settings control the level of parallelism and the level of
|
|
237
|
-
# disruption caused by an upgrade.
|
|
238
|
-
#
|
|
239
|
-
#
|
|
240
|
-
#
|
|
241
|
-
#
|
|
242
|
-
#
|
|
243
|
-
#
|
|
244
|
-
#
|
|
245
|
-
#
|
|
246
|
-
#
|
|
247
|
-
#
|
|
248
|
-
#
|
|
249
|
-
#
|
|
250
|
-
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
|
251
|
-
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
|
252
|
-
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
|
253
|
-
# there are always at least 4 nodes available.
|
|
257
|
+
# disruption caused by an upgrade. maxUnavailable controls the number of nodes
|
|
258
|
+
# that can be simultaneously unavailable. maxSurge controls the number of
|
|
259
|
+
# additional nodes that can be added to the node pool temporarily for the time
|
|
260
|
+
# of the upgrade to increase the number of available nodes. (maxUnavailable +
|
|
261
|
+
# maxSurge) determines the level of parallelism (how many nodes are being
|
|
262
|
+
# upgraded at the same time). Note: upgrades inevitably introduce some
|
|
263
|
+
# disruption since workloads need to be moved from old nodes to new, upgraded
|
|
264
|
+
# ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
|
|
265
|
+
# limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
|
|
266
|
+
# node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
|
|
267
|
+
# upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
|
|
268
|
+
# upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
|
|
269
|
+
# same time. This ensures that there are always at least 4 nodes available.
|
|
254
270
|
# Corresponds to the JSON property `upgradeSettings`
|
|
255
271
|
# @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
|
|
256
272
|
attr_accessor :upgrade_settings
|
|
@@ -261,10 +277,14 @@ module Google
|
|
|
261
277
|
|
|
262
278
|
# Update properties of this object
|
|
263
279
|
def update!(**args)
|
|
280
|
+
@boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
|
|
281
|
+
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
|
282
|
+
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
|
264
283
|
@management = args[:management] if args.key?(:management)
|
|
265
284
|
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
|
266
285
|
@oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
|
|
267
286
|
@service_account = args[:service_account] if args.key?(:service_account)
|
|
287
|
+
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
|
|
268
288
|
@upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
|
|
269
289
|
end
|
|
270
290
|
end
|
|
@@ -317,8 +337,8 @@ module Google
|
|
|
317
337
|
class BinaryAuthorization
|
|
318
338
|
include Google::Apis::Core::Hashable
|
|
319
339
|
|
|
320
|
-
# Enable Binary Authorization for this cluster. If enabled, all container
|
|
321
|
-
#
|
|
340
|
+
# Enable Binary Authorization for this cluster. If enabled, all container images
|
|
341
|
+
# will be validated by Google Binauthz.
|
|
322
342
|
# Corresponds to the JSON property `enabled`
|
|
323
343
|
# @return [Boolean]
|
|
324
344
|
attr_accessor :enabled
|
|
@@ -344,23 +364,22 @@ module Google
|
|
|
344
364
|
# @return [String]
|
|
345
365
|
attr_accessor :name
|
|
346
366
|
|
|
347
|
-
# Required. Deprecated. The server-assigned `name` of the operation.
|
|
348
|
-
#
|
|
367
|
+
# Required. Deprecated. The server-assigned `name` of the operation. This field
|
|
368
|
+
# has been deprecated and replaced by the name field.
|
|
349
369
|
# Corresponds to the JSON property `operationId`
|
|
350
370
|
# @return [String]
|
|
351
371
|
attr_accessor :operation_id
|
|
352
372
|
|
|
353
373
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
|
354
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
|
355
|
-
#
|
|
374
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
|
375
|
+
# deprecated and replaced by the name field.
|
|
356
376
|
# Corresponds to the JSON property `projectId`
|
|
357
377
|
# @return [String]
|
|
358
378
|
attr_accessor :project_id
|
|
359
379
|
|
|
360
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
|
361
|
-
#
|
|
362
|
-
#
|
|
363
|
-
# field.
|
|
380
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
|
381
|
+
# cloud.google.com/compute/docs/zones#available) in which the operation resides.
|
|
382
|
+
# This field has been deprecated and replaced by the name field.
|
|
364
383
|
# Corresponds to the JSON property `zone`
|
|
365
384
|
# @return [String]
|
|
366
385
|
attr_accessor :zone
|
|
@@ -433,6 +452,11 @@ module Google
|
|
|
433
452
|
attr_accessor :disabled
|
|
434
453
|
alias_method :disabled?, :disabled
|
|
435
454
|
|
|
455
|
+
# Which load balancer type is installed for Cloud Run.
|
|
456
|
+
# Corresponds to the JSON property `loadBalancerType`
|
|
457
|
+
# @return [String]
|
|
458
|
+
attr_accessor :load_balancer_type
|
|
459
|
+
|
|
436
460
|
def initialize(**args)
|
|
437
461
|
update!(**args)
|
|
438
462
|
end
|
|
@@ -440,6 +464,7 @@ module Google
|
|
|
440
464
|
# Update properties of this object
|
|
441
465
|
def update!(**args)
|
|
442
466
|
@disabled = args[:disabled] if args.key?(:disabled)
|
|
467
|
+
@load_balancer_type = args[:load_balancer_type] if args.key?(:load_balancer_type)
|
|
443
468
|
end
|
|
444
469
|
end
|
|
445
470
|
|
|
@@ -447,8 +472,8 @@ module Google
|
|
|
447
472
|
class Cluster
|
|
448
473
|
include Google::Apis::Core::Hashable
|
|
449
474
|
|
|
450
|
-
# Configuration for the addons that can be automatically spun up in the
|
|
451
|
-
#
|
|
475
|
+
# Configuration for the addons that can be automatically spun up in the cluster,
|
|
476
|
+
# enabling additional functionality.
|
|
452
477
|
# Corresponds to the JSON property `addonsConfig`
|
|
453
478
|
# @return [Google::Apis::ContainerV1beta1::AddonsConfig]
|
|
454
479
|
attr_accessor :addons_config
|
|
@@ -458,10 +483,9 @@ module Google
|
|
|
458
483
|
# @return [Google::Apis::ContainerV1beta1::AuthenticatorGroupsConfig]
|
|
459
484
|
attr_accessor :authenticator_groups_config
|
|
460
485
|
|
|
461
|
-
# ClusterAutoscaling contains global, per-cluster information
|
|
462
|
-
#
|
|
463
|
-
#
|
|
464
|
-
# node pools based on the current needs.
|
|
486
|
+
# ClusterAutoscaling contains global, per-cluster information required by
|
|
487
|
+
# Cluster Autoscaler to automatically adjust the size of the cluster and create/
|
|
488
|
+
# delete node pools based on the current needs.
|
|
465
489
|
# Corresponds to the JSON property `autoscaling`
|
|
466
490
|
# @return [Google::Apis::ContainerV1beta1::ClusterAutoscaling]
|
|
467
491
|
attr_accessor :autoscaling
|
|
@@ -471,10 +495,10 @@ module Google
|
|
|
471
495
|
# @return [Google::Apis::ContainerV1beta1::BinaryAuthorization]
|
|
472
496
|
attr_accessor :binary_authorization
|
|
473
497
|
|
|
474
|
-
# The IP address range of the container pods in this cluster, in
|
|
475
|
-
#
|
|
476
|
-
#
|
|
477
|
-
#
|
|
498
|
+
# The IP address range of the container pods in this cluster, in [CIDR](http://
|
|
499
|
+
# en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.
|
|
500
|
+
# 0/14`). Leave blank to have one automatically chosen or specify a `/14` block
|
|
501
|
+
# in `10.0.0.0/8`.
|
|
478
502
|
# Corresponds to the JSON property `clusterIpv4Cidr`
|
|
479
503
|
# @return [String]
|
|
480
504
|
attr_accessor :cluster_ipv4_cidr
|
|
@@ -489,8 +513,8 @@ module Google
|
|
|
489
513
|
# @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
|
|
490
514
|
attr_accessor :conditions
|
|
491
515
|
|
|
492
|
-
# [Output only] The time the cluster was created, in
|
|
493
|
-
#
|
|
516
|
+
# [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.
|
|
517
|
+
# org/rfc/rfc3339.txt) text format.
|
|
494
518
|
# Corresponds to the JSON property `createTime`
|
|
495
519
|
# @return [String]
|
|
496
520
|
attr_accessor :create_time
|
|
@@ -500,18 +524,17 @@ module Google
|
|
|
500
524
|
# @return [String]
|
|
501
525
|
attr_accessor :current_master_version
|
|
502
526
|
|
|
503
|
-
# [Output only]
|
|
504
|
-
#
|
|
527
|
+
# [Output only] The number of nodes currently in the cluster. Deprecated. Call
|
|
528
|
+
# Kubernetes API directly to retrieve node information.
|
|
505
529
|
# Corresponds to the JSON property `currentNodeCount`
|
|
506
530
|
# @return [Fixnum]
|
|
507
531
|
attr_accessor :current_node_count
|
|
508
532
|
|
|
509
|
-
# [Output only] Deprecated, use
|
|
510
|
-
#
|
|
511
|
-
#
|
|
512
|
-
#
|
|
513
|
-
#
|
|
514
|
-
# of being upgraded, this reflects the minimum version of all nodes.
|
|
533
|
+
# [Output only] Deprecated, use [NodePool.version](https://cloud.google.com/
|
|
534
|
+
# kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.
|
|
535
|
+
# nodePools) instead. The current version of the node software components. If
|
|
536
|
+
# they are currently at multiple versions because they're in the process of
|
|
537
|
+
# being upgraded, this reflects the minimum version of all nodes.
|
|
515
538
|
# Corresponds to the JSON property `currentNodeVersion`
|
|
516
539
|
# @return [String]
|
|
517
540
|
attr_accessor :current_node_version
|
|
@@ -531,63 +554,58 @@ module Google
|
|
|
531
554
|
# @return [String]
|
|
532
555
|
attr_accessor :description
|
|
533
556
|
|
|
534
|
-
# Kubernetes alpha features are enabled on this cluster. This includes alpha
|
|
535
|
-
#
|
|
536
|
-
#
|
|
537
|
-
#
|
|
538
|
-
#
|
|
539
|
-
# creation.
|
|
557
|
+
# Kubernetes alpha features are enabled on this cluster. This includes alpha API
|
|
558
|
+
# groups (e.g. v1beta1) and features that may not be production ready in the
|
|
559
|
+
# kubernetes version of the master and nodes. The cluster has no SLA for uptime
|
|
560
|
+
# and master/node upgrades are disabled. Alpha enabled clusters are
|
|
561
|
+
# automatically deleted thirty days after creation.
|
|
540
562
|
# Corresponds to the JSON property `enableKubernetesAlpha`
|
|
541
563
|
# @return [Boolean]
|
|
542
564
|
attr_accessor :enable_kubernetes_alpha
|
|
543
565
|
alias_method :enable_kubernetes_alpha?, :enable_kubernetes_alpha
|
|
544
566
|
|
|
545
|
-
# Enable the ability to use Cloud TPUs in this cluster.
|
|
546
|
-
#
|
|
567
|
+
# Enable the ability to use Cloud TPUs in this cluster. This field is deprecated,
|
|
568
|
+
# use tpu_config.enabled instead.
|
|
547
569
|
# Corresponds to the JSON property `enableTpu`
|
|
548
570
|
# @return [Boolean]
|
|
549
571
|
attr_accessor :enable_tpu
|
|
550
572
|
alias_method :enable_tpu?, :enable_tpu
|
|
551
573
|
|
|
552
|
-
# [Output only] The IP address of this cluster's master endpoint.
|
|
553
|
-
#
|
|
554
|
-
# `
|
|
555
|
-
#
|
|
556
|
-
# password information.
|
|
574
|
+
# [Output only] The IP address of this cluster's master endpoint. The endpoint
|
|
575
|
+
# can be accessed from the internet at `https://username:password@endpoint/`.
|
|
576
|
+
# See the `masterAuth` property of this resource for username and password
|
|
577
|
+
# information.
|
|
557
578
|
# Corresponds to the JSON property `endpoint`
|
|
558
579
|
# @return [String]
|
|
559
580
|
attr_accessor :endpoint
|
|
560
581
|
|
|
561
|
-
# [Output only] The time the cluster will be automatically
|
|
562
|
-
#
|
|
582
|
+
# [Output only] The time the cluster will be automatically deleted in [RFC3339](
|
|
583
|
+
# https://www.ietf.org/rfc/rfc3339.txt) text format.
|
|
563
584
|
# Corresponds to the JSON property `expireTime`
|
|
564
585
|
# @return [String]
|
|
565
586
|
attr_accessor :expire_time
|
|
566
587
|
|
|
567
|
-
# The initial Kubernetes version for this cluster.
|
|
568
|
-
# found in validMasterVersions returned by getServerConfig.
|
|
569
|
-
#
|
|
570
|
-
#
|
|
571
|
-
#
|
|
572
|
-
#
|
|
573
|
-
# - "
|
|
574
|
-
#
|
|
575
|
-
# - "
|
|
576
|
-
# - "1.X.Y-gke.N": picks an explicit Kubernetes version
|
|
577
|
-
# - "","-": picks the default Kubernetes version
|
|
588
|
+
# The initial Kubernetes version for this cluster. Valid versions are those
|
|
589
|
+
# found in validMasterVersions returned by getServerConfig. The version can be
|
|
590
|
+
# upgraded over time; such upgrades are reflected in currentMasterVersion and
|
|
591
|
+
# currentNodeVersion. Users may specify either explicit versions offered by
|
|
592
|
+
# Kubernetes Engine or version aliases, which have the following behavior: - "
|
|
593
|
+
# latest": picks the highest valid Kubernetes version - "1.X": picks the highest
|
|
594
|
+
# valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid
|
|
595
|
+
# gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes
|
|
596
|
+
# version - "","-": picks the default Kubernetes version
|
|
578
597
|
# Corresponds to the JSON property `initialClusterVersion`
|
|
579
598
|
# @return [String]
|
|
580
599
|
attr_accessor :initial_cluster_version
|
|
581
600
|
|
|
582
601
|
# The number of nodes to create in this cluster. You must ensure that your
|
|
583
|
-
# Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
|
|
584
|
-
#
|
|
585
|
-
#
|
|
586
|
-
#
|
|
587
|
-
# "
|
|
588
|
-
#
|
|
589
|
-
#
|
|
590
|
-
# This field is deprecated, use node_pool.initial_node_count instead.
|
|
602
|
+
# Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is
|
|
603
|
+
# sufficient for this number of instances. You must also have available firewall
|
|
604
|
+
# and routes quota. For requests, this field should only be used in lieu of a "
|
|
605
|
+
# node_pool" object, since this configuration (along with the "node_config")
|
|
606
|
+
# will be used to create a "NodePool" object with an auto-generated name. Do not
|
|
607
|
+
# use this and a node_pool at the same time. This field is deprecated, use
|
|
608
|
+
# node_pool.initial_node_count instead.
|
|
591
609
|
# Corresponds to the JSON property `initialNodeCount`
|
|
592
610
|
# @return [Fixnum]
|
|
593
611
|
attr_accessor :initial_node_count
|
|
@@ -607,39 +625,32 @@ module Google
|
|
|
607
625
|
# @return [String]
|
|
608
626
|
attr_accessor :label_fingerprint
|
|
609
627
|
|
|
610
|
-
# Configuration for the legacy Attribute Based Access Control authorization
|
|
611
|
-
# mode.
|
|
628
|
+
# Configuration for the legacy Attribute Based Access Control authorization mode.
|
|
612
629
|
# Corresponds to the JSON property `legacyAbac`
|
|
613
630
|
# @return [Google::Apis::ContainerV1beta1::LegacyAbac]
|
|
614
631
|
attr_accessor :legacy_abac
|
|
615
632
|
|
|
616
|
-
# [Output only] The name of the Google Compute Engine
|
|
617
|
-
#
|
|
618
|
-
# available)
|
|
619
|
-
# or
|
|
620
|
-
# [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
|
|
621
|
-
# available)
|
|
633
|
+
# [Output only] The name of the Google Compute Engine [zone](https://cloud.
|
|
634
|
+
# google.com/compute/docs/regions-zones/regions-zones#available) or [region](
|
|
635
|
+
# https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
|
|
622
636
|
# in which the cluster resides.
|
|
623
637
|
# Corresponds to the JSON property `location`
|
|
624
638
|
# @return [String]
|
|
625
639
|
attr_accessor :location
|
|
626
640
|
|
|
627
|
-
# The list of Google Compute Engine
|
|
628
|
-
#
|
|
629
|
-
# cluster's nodes should be located.
|
|
641
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
|
642
|
+
# docs/zones#available) in which the cluster's nodes should be located.
|
|
630
643
|
# Corresponds to the JSON property `locations`
|
|
631
644
|
# @return [Array<String>]
|
|
632
645
|
attr_accessor :locations
|
|
633
646
|
|
|
634
|
-
# The logging service the cluster should use to write logs.
|
|
635
|
-
#
|
|
636
|
-
# * `logging.googleapis.com
|
|
637
|
-
# service
|
|
638
|
-
#
|
|
639
|
-
#
|
|
640
|
-
#
|
|
641
|
-
# If left as an empty string,`logging.googleapis.com/kubernetes` will be
|
|
642
|
-
# used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
|
|
647
|
+
# The logging service the cluster should use to write logs. Currently available
|
|
648
|
+
# options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
|
|
649
|
+
# with a Kubernetes-native resource model * `logging.googleapis.com` - The
|
|
650
|
+
# legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` -
|
|
651
|
+
# no logs will be exported from the cluster. If left as an empty string,`logging.
|
|
652
|
+
# googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.
|
|
653
|
+
# com` for earlier versions.
|
|
643
654
|
# Corresponds to the JSON property `loggingService`
|
|
644
655
|
# @return [String]
|
|
645
656
|
attr_accessor :logging_service
|
|
@@ -655,8 +666,7 @@ module Google
|
|
|
655
666
|
attr_accessor :master
|
|
656
667
|
|
|
657
668
|
# The authentication information for accessing the master endpoint.
|
|
658
|
-
# Authentication can be done using HTTP basic auth or using client
|
|
659
|
-
# certificates.
|
|
669
|
+
# Authentication can be done using HTTP basic auth or using client certificates.
|
|
660
670
|
# Corresponds to the JSON property `masterAuth`
|
|
661
671
|
# @return [Google::Apis::ContainerV1beta1::MasterAuth]
|
|
662
672
|
attr_accessor :master_auth
|
|
@@ -669,44 +679,37 @@ module Google
|
|
|
669
679
|
# @return [Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig]
|
|
670
680
|
attr_accessor :master_authorized_networks_config
|
|
671
681
|
|
|
672
|
-
# The IP prefix in CIDR notation to use for the hosted master network.
|
|
673
|
-
#
|
|
674
|
-
#
|
|
675
|
-
# This field is deprecated, use
|
|
682
|
+
# The IP prefix in CIDR notation to use for the hosted master network. This
|
|
683
|
+
# prefix will be used for assigning private IP addresses to the master or set of
|
|
684
|
+
# masters, as well as the ILB VIP. This field is deprecated, use
|
|
676
685
|
# private_cluster_config.master_ipv4_cidr_block instead.
|
|
677
686
|
# Corresponds to the JSON property `masterIpv4CidrBlock`
|
|
678
687
|
# @return [String]
|
|
679
688
|
attr_accessor :master_ipv4_cidr_block
|
|
680
689
|
|
|
681
|
-
# The monitoring service the cluster should use to write metrics.
|
|
682
|
-
#
|
|
683
|
-
#
|
|
684
|
-
# service
|
|
685
|
-
#
|
|
686
|
-
#
|
|
687
|
-
#
|
|
688
|
-
# If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
|
|
689
|
-
# used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
|
690
|
+
# The monitoring service the cluster should use to write metrics. Currently
|
|
691
|
+
# available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
|
|
692
|
+
# Monitoring service with a Kubernetes-native resource model * `monitoring.
|
|
693
|
+
# googleapis.com` - The legacy Cloud Monitoring service (no longer available as
|
|
694
|
+
# of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
|
|
695
|
+
# as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
|
|
696
|
+
# 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
|
690
697
|
# Corresponds to the JSON property `monitoringService`
|
|
691
698
|
# @return [String]
|
|
692
699
|
attr_accessor :monitoring_service
|
|
693
700
|
|
|
694
|
-
# The name of this cluster. The name must be unique within this project
|
|
695
|
-
#
|
|
696
|
-
#
|
|
697
|
-
# *
|
|
698
|
-
# * Must start with a letter.
|
|
699
|
-
# * Must end with a number or a letter.
|
|
701
|
+
# The name of this cluster. The name must be unique within this project and
|
|
702
|
+
# location (e.g. zone or region), and can be up to 40 characters with the
|
|
703
|
+
# following restrictions: * Lowercase letters, numbers, and hyphens only. * Must
|
|
704
|
+
# start with a letter. * Must end with a number or a letter.
|
|
700
705
|
# Corresponds to the JSON property `name`
|
|
701
706
|
# @return [String]
|
|
702
707
|
attr_accessor :name
|
|
703
708
|
|
|
704
|
-
# The name of the Google Compute Engine
|
|
705
|
-
#
|
|
706
|
-
#
|
|
707
|
-
#
|
|
708
|
-
# network will be used. On output this shows the network ID instead of the
|
|
709
|
-
# name.
|
|
709
|
+
# The name of the Google Compute Engine [network](https://cloud.google.com/
|
|
710
|
+
# compute/docs/networks-and-firewalls#networks) to which the cluster is
|
|
711
|
+
# connected. If left unspecified, the `default` network will be used. On output
|
|
712
|
+
# this shows the network ID instead of the name.
|
|
710
713
|
# Corresponds to the JSON property `network`
|
|
711
714
|
# @return [String]
|
|
712
715
|
attr_accessor :network
|
|
@@ -716,8 +719,8 @@ module Google
|
|
|
716
719
|
# @return [Google::Apis::ContainerV1beta1::NetworkConfig]
|
|
717
720
|
attr_accessor :network_config
|
|
718
721
|
|
|
719
|
-
# Configuration options for the NetworkPolicy feature.
|
|
720
|
-
#
|
|
722
|
+
# Configuration options for the NetworkPolicy feature. https://kubernetes.io/
|
|
723
|
+
# docs/concepts/services-networking/networkpolicies/
|
|
721
724
|
# Corresponds to the JSON property `networkPolicy`
|
|
722
725
|
# @return [Google::Apis::ContainerV1beta1::NetworkPolicy]
|
|
723
726
|
attr_accessor :network_policy
|
|
@@ -728,20 +731,23 @@ module Google
|
|
|
728
731
|
attr_accessor :node_config
|
|
729
732
|
|
|
730
733
|
# [Output only] The size of the address space on each node for hosting
|
|
731
|
-
# containers. This is provisioned from within the `container_ipv4_cidr`
|
|
732
|
-
#
|
|
733
|
-
# mode.
|
|
734
|
+
# containers. This is provisioned from within the `container_ipv4_cidr` range.
|
|
735
|
+
# This field will only be set when cluster is in route-based network mode.
|
|
734
736
|
# Corresponds to the JSON property `nodeIpv4CidrSize`
|
|
735
737
|
# @return [Fixnum]
|
|
736
738
|
attr_accessor :node_ipv4_cidr_size
|
|
737
739
|
|
|
738
|
-
# The node pools associated with this cluster.
|
|
739
|
-
#
|
|
740
|
-
# specified.
|
|
740
|
+
# The node pools associated with this cluster. This field should not be set if "
|
|
741
|
+
# node_config" or "initial_node_count" are specified.
|
|
741
742
|
# Corresponds to the JSON property `nodePools`
|
|
742
743
|
# @return [Array<Google::Apis::ContainerV1beta1::NodePool>]
|
|
743
744
|
attr_accessor :node_pools
|
|
744
745
|
|
|
746
|
+
# NotificationConfig is the configuration of notifications.
|
|
747
|
+
# Corresponds to the JSON property `notificationConfig`
|
|
748
|
+
# @return [Google::Apis::ContainerV1beta1::NotificationConfig]
|
|
749
|
+
attr_accessor :notification_config
|
|
750
|
+
|
|
745
751
|
# Configuration for the PodSecurityPolicy feature.
|
|
746
752
|
# Corresponds to the JSON property `podSecurityPolicyConfig`
|
|
747
753
|
# @return [Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig]
|
|
@@ -749,9 +755,8 @@ module Google
|
|
|
749
755
|
|
|
750
756
|
# If this is a private cluster setup. Private clusters are clusters that, by
|
|
751
757
|
# default have no external IP addresses on the nodes and where nodes and the
|
|
752
|
-
# master communicate over private IP addresses.
|
|
753
|
-
#
|
|
754
|
-
# instead.
|
|
758
|
+
# master communicate over private IP addresses. This field is deprecated, use
|
|
759
|
+
# private_cluster_config.enable_private_nodes instead.
|
|
755
760
|
# Corresponds to the JSON property `privateCluster`
|
|
756
761
|
# @return [Boolean]
|
|
757
762
|
attr_accessor :private_cluster
|
|
@@ -762,17 +767,16 @@ module Google
|
|
|
762
767
|
# @return [Google::Apis::ContainerV1beta1::PrivateClusterConfig]
|
|
763
768
|
attr_accessor :private_cluster_config
|
|
764
769
|
|
|
765
|
-
# ReleaseChannel indicates which release channel a cluster is
|
|
766
|
-
#
|
|
767
|
-
#
|
|
768
|
-
#
|
|
769
|
-
# defaults to true and cannot be disabled.
|
|
770
|
+
# ReleaseChannel indicates which release channel a cluster is subscribed to.
|
|
771
|
+
# Release channels are arranged in order of risk. When a cluster is subscribed
|
|
772
|
+
# to a release channel, Google maintains both the master version and the node
|
|
773
|
+
# version. Node auto-upgrade defaults to true and cannot be disabled.
|
|
770
774
|
# Corresponds to the JSON property `releaseChannel`
|
|
771
775
|
# @return [Google::Apis::ContainerV1beta1::ReleaseChannel]
|
|
772
776
|
attr_accessor :release_channel
|
|
773
777
|
|
|
774
|
-
# The resource labels for the cluster to use to annotate any related
|
|
775
|
-
#
|
|
778
|
+
# The resource labels for the cluster to use to annotate any related Google
|
|
779
|
+
# Compute Engine resources.
|
|
776
780
|
# Corresponds to the JSON property `resourceLabels`
|
|
777
781
|
# @return [Hash<String,String>]
|
|
778
782
|
attr_accessor :resource_labels
|
|
@@ -787,11 +791,10 @@ module Google
|
|
|
787
791
|
# @return [String]
|
|
788
792
|
attr_accessor :self_link
|
|
789
793
|
|
|
790
|
-
# [Output only] The IP address range of the Kubernetes services in
|
|
791
|
-
#
|
|
792
|
-
#
|
|
793
|
-
#
|
|
794
|
-
# typically put in the last `/16` from the container CIDR.
|
|
794
|
+
# [Output only] The IP address range of the Kubernetes services in this cluster,
|
|
795
|
+
# in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
|
|
796
|
+
# notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `
|
|
797
|
+
# /16` from the container CIDR.
|
|
795
798
|
# Corresponds to the JSON property `servicesIpv4Cidr`
|
|
796
799
|
# @return [String]
|
|
797
800
|
attr_accessor :services_ipv4_cidr
|
|
@@ -806,16 +809,15 @@ module Google
|
|
|
806
809
|
# @return [String]
|
|
807
810
|
attr_accessor :status
|
|
808
811
|
|
|
809
|
-
# [Output only] Additional information about the current status of this
|
|
810
|
-
#
|
|
812
|
+
# [Output only] Additional information about the current status of this cluster,
|
|
813
|
+
# if available.
|
|
811
814
|
# Corresponds to the JSON property `statusMessage`
|
|
812
815
|
# @return [String]
|
|
813
816
|
attr_accessor :status_message
|
|
814
817
|
|
|
815
|
-
# The name of the Google Compute Engine
|
|
816
|
-
#
|
|
817
|
-
#
|
|
818
|
-
# the name.
|
|
818
|
+
# The name of the Google Compute Engine [subnetwork](https://cloud.google.com/
|
|
819
|
+
# compute/docs/subnetworks) to which the cluster is connected. On output this
|
|
820
|
+
# shows the subnetwork ID instead of the name.
|
|
819
821
|
# Corresponds to the JSON property `subnetwork`
|
|
820
822
|
# @return [String]
|
|
821
823
|
attr_accessor :subnetwork
|
|
@@ -825,29 +827,28 @@ module Google
|
|
|
825
827
|
# @return [Google::Apis::ContainerV1beta1::TpuConfig]
|
|
826
828
|
attr_accessor :tpu_config
|
|
827
829
|
|
|
828
|
-
# [Output only] The IP address range of the Cloud TPUs in this cluster, in
|
|
829
|
-
#
|
|
830
|
-
#
|
|
830
|
+
# [Output only] The IP address range of the Cloud TPUs in this cluster, in [CIDR]
|
|
831
|
+
# (http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `
|
|
832
|
+
# 1.2.3.4/29`).
|
|
831
833
|
# Corresponds to the JSON property `tpuIpv4CidrBlock`
|
|
832
834
|
# @return [String]
|
|
833
835
|
attr_accessor :tpu_ipv4_cidr_block
|
|
834
836
|
|
|
835
|
-
# VerticalPodAutoscaling contains global, per-cluster information
|
|
836
|
-
#
|
|
837
|
-
#
|
|
837
|
+
# VerticalPodAutoscaling contains global, per-cluster information required by
|
|
838
|
+
# Vertical Pod Autoscaler to automatically adjust the resources of pods
|
|
839
|
+
# controlled by it.
|
|
838
840
|
# Corresponds to the JSON property `verticalPodAutoscaling`
|
|
839
841
|
# @return [Google::Apis::ContainerV1beta1::VerticalPodAutoscaling]
|
|
840
842
|
attr_accessor :vertical_pod_autoscaling
|
|
841
843
|
|
|
842
|
-
# Configuration for the use of Kubernetes Service Accounts in GCP IAM
|
|
843
|
-
# policies.
|
|
844
|
+
# Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
|
|
844
845
|
# Corresponds to the JSON property `workloadIdentityConfig`
|
|
845
846
|
# @return [Google::Apis::ContainerV1beta1::WorkloadIdentityConfig]
|
|
846
847
|
attr_accessor :workload_identity_config
|
|
847
848
|
|
|
848
|
-
# [Output only] The name of the Google Compute Engine
|
|
849
|
-
#
|
|
850
|
-
#
|
|
849
|
+
# [Output only] The name of the Google Compute Engine [zone](https://cloud.
|
|
850
|
+
# google.com/compute/docs/zones#available) in which the cluster resides. This
|
|
851
|
+
# field is deprecated, use location instead.
|
|
851
852
|
# Corresponds to the JSON property `zone`
|
|
852
853
|
# @return [String]
|
|
853
854
|
attr_accessor :zone
|
|
@@ -898,6 +899,7 @@ module Google
|
|
|
898
899
|
@node_config = args[:node_config] if args.key?(:node_config)
|
|
899
900
|
@node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
|
|
900
901
|
@node_pools = args[:node_pools] if args.key?(:node_pools)
|
|
902
|
+
@notification_config = args[:notification_config] if args.key?(:notification_config)
|
|
901
903
|
@pod_security_policy_config = args[:pod_security_policy_config] if args.key?(:pod_security_policy_config)
|
|
902
904
|
@private_cluster = args[:private_cluster] if args.key?(:private_cluster)
|
|
903
905
|
@private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
|
|
@@ -918,22 +920,20 @@ module Google
|
|
|
918
920
|
end
|
|
919
921
|
end
|
|
920
922
|
|
|
921
|
-
# ClusterAutoscaling contains global, per-cluster information
|
|
922
|
-
#
|
|
923
|
-
#
|
|
924
|
-
# node pools based on the current needs.
|
|
923
|
+
# ClusterAutoscaling contains global, per-cluster information required by
|
|
924
|
+
# Cluster Autoscaler to automatically adjust the size of the cluster and create/
|
|
925
|
+
# delete node pools based on the current needs.
|
|
925
926
|
class ClusterAutoscaling
|
|
926
927
|
include Google::Apis::Core::Hashable
|
|
927
928
|
|
|
928
|
-
# The list of Google Compute Engine
|
|
929
|
-
#
|
|
930
|
-
# NodePool's nodes can be created by NAP.
|
|
929
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
|
930
|
+
# docs/zones#available) in which the NodePool's nodes can be created by NAP.
|
|
931
931
|
# Corresponds to the JSON property `autoprovisioningLocations`
|
|
932
932
|
# @return [Array<String>]
|
|
933
933
|
attr_accessor :autoprovisioning_locations
|
|
934
934
|
|
|
935
|
-
# AutoprovisioningNodePoolDefaults contains defaults for a node pool created
|
|
936
|
-
#
|
|
935
|
+
# AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
|
|
936
|
+
# NAP.
|
|
937
937
|
# Corresponds to the JSON property `autoprovisioningNodePoolDefaults`
|
|
938
938
|
# @return [Google::Apis::ContainerV1beta1::AutoprovisioningNodePoolDefaults]
|
|
939
939
|
attr_accessor :autoprovisioning_node_pool_defaults
|
|
@@ -949,8 +949,8 @@ module Google
|
|
|
949
949
|
attr_accessor :enable_node_autoprovisioning
|
|
950
950
|
alias_method :enable_node_autoprovisioning?, :enable_node_autoprovisioning
|
|
951
951
|
|
|
952
|
-
# Contains global constraints regarding minimum and maximum
|
|
953
|
-
#
|
|
952
|
+
# Contains global constraints regarding minimum and maximum amount of resources
|
|
953
|
+
# in the cluster.
|
|
954
954
|
# Corresponds to the JSON property `resourceLimits`
|
|
955
955
|
# @return [Array<Google::Apis::ContainerV1beta1::ResourceLimit>]
|
|
956
956
|
attr_accessor :resource_limits
|
|
@@ -988,14 +988,13 @@ module Google
|
|
|
988
988
|
end
|
|
989
989
|
end
|
|
990
990
|
|
|
991
|
-
# ClusterUpdate describes an update to the cluster. Exactly one update can
|
|
992
|
-
#
|
|
993
|
-
# provided.
|
|
991
|
+
# ClusterUpdate describes an update to the cluster. Exactly one update can be
|
|
992
|
+
# applied to a cluster with each request, so at most one field can be provided.
|
|
994
993
|
class ClusterUpdate
|
|
995
994
|
include Google::Apis::Core::Hashable
|
|
996
995
|
|
|
997
|
-
# Configuration for the addons that can be automatically spun up in the
|
|
998
|
-
#
|
|
996
|
+
# Configuration for the addons that can be automatically spun up in the cluster,
|
|
997
|
+
# enabling additional functionality.
|
|
999
998
|
# Corresponds to the JSON property `desiredAddonsConfig`
|
|
1000
999
|
# @return [Google::Apis::ContainerV1beta1::AddonsConfig]
|
|
1001
1000
|
attr_accessor :desired_addons_config
|
|
@@ -1005,10 +1004,9 @@ module Google
|
|
|
1005
1004
|
# @return [Google::Apis::ContainerV1beta1::BinaryAuthorization]
|
|
1006
1005
|
attr_accessor :desired_binary_authorization
|
|
1007
1006
|
|
|
1008
|
-
# ClusterAutoscaling contains global, per-cluster information
|
|
1009
|
-
#
|
|
1010
|
-
#
|
|
1011
|
-
# node pools based on the current needs.
|
|
1007
|
+
# ClusterAutoscaling contains global, per-cluster information required by
|
|
1008
|
+
# Cluster Autoscaler to automatically adjust the size of the cluster and create/
|
|
1009
|
+
# delete node pools based on the current needs.
|
|
1012
1010
|
# Corresponds to the JSON property `desiredClusterAutoscaling`
|
|
1013
1011
|
# @return [Google::Apis::ContainerV1beta1::ClusterAutoscaling]
|
|
1014
1012
|
attr_accessor :desired_cluster_autoscaling
|
|
@@ -1023,14 +1021,19 @@ module Google
|
|
|
1023
1021
|
# @return [Google::Apis::ContainerV1beta1::DatabaseEncryption]
|
|
1024
1022
|
attr_accessor :desired_database_encryption
|
|
1025
1023
|
|
|
1026
|
-
#
|
|
1027
|
-
#
|
|
1024
|
+
# The desired datapath provider for the cluster.
|
|
1025
|
+
# Corresponds to the JSON property `desiredDatapathProvider`
|
|
1026
|
+
# @return [String]
|
|
1027
|
+
attr_accessor :desired_datapath_provider
|
|
1028
|
+
|
|
1029
|
+
# DefaultSnatStatus contains the desired state of whether default sNAT should be
|
|
1030
|
+
# disabled on the cluster.
|
|
1028
1031
|
# Corresponds to the JSON property `desiredDefaultSnatStatus`
|
|
1029
1032
|
# @return [Google::Apis::ContainerV1beta1::DefaultSnatStatus]
|
|
1030
1033
|
attr_accessor :desired_default_snat_status
|
|
1031
1034
|
|
|
1032
|
-
# The desired image type for the node pool.
|
|
1033
|
-
#
|
|
1035
|
+
# The desired image type for the node pool. NOTE: Set the "desired_node_pool"
|
|
1036
|
+
# field as well.
|
|
1034
1037
|
# Corresponds to the JSON property `desiredImageType`
|
|
1035
1038
|
# @return [String]
|
|
1036
1039
|
attr_accessor :desired_image_type
|
|
@@ -1041,25 +1044,22 @@ module Google
|
|
|
1041
1044
|
# @return [Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig]
|
|
1042
1045
|
attr_accessor :desired_intra_node_visibility_config
|
|
1043
1046
|
|
|
1044
|
-
# The desired list of Google Compute Engine
|
|
1045
|
-
#
|
|
1046
|
-
#
|
|
1047
|
-
#
|
|
1048
|
-
#
|
|
1049
|
-
# This list must always include the cluster's primary zone.
|
|
1047
|
+
# The desired list of Google Compute Engine [zones](https://cloud.google.com/
|
|
1048
|
+
# compute/docs/zones#available) in which the cluster's nodes should be located.
|
|
1049
|
+
# Changing the locations a cluster is in will result in nodes being either
|
|
1050
|
+
# created or removed from the cluster, depending on whether locations are being
|
|
1051
|
+
# added or removed. This list must always include the cluster's primary zone.
|
|
1050
1052
|
# Corresponds to the JSON property `desiredLocations`
|
|
1051
1053
|
# @return [Array<String>]
|
|
1052
1054
|
attr_accessor :desired_locations
|
|
1053
1055
|
|
|
1054
|
-
# The logging service the cluster should use to write logs.
|
|
1055
|
-
#
|
|
1056
|
-
# * `logging.googleapis.com
|
|
1057
|
-
# service
|
|
1058
|
-
#
|
|
1059
|
-
#
|
|
1060
|
-
#
|
|
1061
|
-
# If left as an empty string,`logging.googleapis.com/kubernetes` will be
|
|
1062
|
-
# used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
|
|
1056
|
+
# The logging service the cluster should use to write logs. Currently available
|
|
1057
|
+
# options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
|
|
1058
|
+
# with a Kubernetes-native resource model * `logging.googleapis.com` - The
|
|
1059
|
+
# legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` -
|
|
1060
|
+
# no logs will be exported from the cluster. If left as an empty string,`logging.
|
|
1061
|
+
# googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.
|
|
1062
|
+
# com` for earlier versions.
|
|
1063
1063
|
# Corresponds to the JSON property `desiredLoggingService`
|
|
1064
1064
|
# @return [String]
|
|
1065
1065
|
attr_accessor :desired_logging_service
|
|
@@ -1078,27 +1078,23 @@ module Google
|
|
|
1078
1078
|
attr_accessor :desired_master_authorized_networks_config
|
|
1079
1079
|
|
|
1080
1080
|
# The Kubernetes version to change the master to. The only valid value is the
|
|
1081
|
-
# latest supported version.
|
|
1082
|
-
#
|
|
1083
|
-
#
|
|
1084
|
-
# - "
|
|
1085
|
-
#
|
|
1086
|
-
# - "
|
|
1087
|
-
# - "1.X.Y-gke.N": picks an explicit Kubernetes version
|
|
1088
|
-
# - "-": picks the default Kubernetes version
|
|
1081
|
+
# latest supported version. Users may specify either explicit versions offered
|
|
1082
|
+
# by Kubernetes Engine or version aliases, which have the following behavior: - "
|
|
1083
|
+
# latest": picks the highest valid Kubernetes version - "1.X": picks the highest
|
|
1084
|
+
# valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid
|
|
1085
|
+
# gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes
|
|
1086
|
+
# version - "-": picks the default Kubernetes version
|
|
1089
1087
|
# Corresponds to the JSON property `desiredMasterVersion`
|
|
1090
1088
|
# @return [String]
|
|
1091
1089
|
attr_accessor :desired_master_version
|
|
1092
1090
|
|
|
1093
|
-
# The monitoring service the cluster should use to write metrics.
|
|
1094
|
-
#
|
|
1095
|
-
#
|
|
1096
|
-
# service
|
|
1097
|
-
#
|
|
1098
|
-
#
|
|
1099
|
-
#
|
|
1100
|
-
# If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
|
|
1101
|
-
# used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
|
1091
|
+
# The monitoring service the cluster should use to write metrics. Currently
|
|
1092
|
+
# available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
|
|
1093
|
+
# Monitoring service with a Kubernetes-native resource model * `monitoring.
|
|
1094
|
+
# googleapis.com` - The legacy Cloud Monitoring service (no longer available as
|
|
1095
|
+
# of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
|
|
1096
|
+
# as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
|
|
1097
|
+
# 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
|
1102
1098
|
# Corresponds to the JSON property `desiredMonitoringService`
|
|
1103
1099
|
# @return [String]
|
|
1104
1100
|
attr_accessor :desired_monitoring_service
|
|
@@ -1109,27 +1105,30 @@ module Google
|
|
|
1109
1105
|
# @return [Google::Apis::ContainerV1beta1::NodePoolAutoscaling]
|
|
1110
1106
|
attr_accessor :desired_node_pool_autoscaling
|
|
1111
1107
|
|
|
1112
|
-
# The node pool to be upgraded. This field is mandatory if
|
|
1113
|
-
# "
|
|
1114
|
-
# "
|
|
1115
|
-
#
|
|
1108
|
+
# The node pool to be upgraded. This field is mandatory if "desired_node_version"
|
|
1109
|
+
# , "desired_image_family", "desired_node_pool_autoscaling", or "
|
|
1110
|
+
# desired_workload_metadata_config" is specified and there is more than one node
|
|
1111
|
+
# pool on the cluster.
|
|
1116
1112
|
# Corresponds to the JSON property `desiredNodePoolId`
|
|
1117
1113
|
# @return [String]
|
|
1118
1114
|
attr_accessor :desired_node_pool_id
|
|
1119
1115
|
|
|
1120
|
-
# The Kubernetes version to change the nodes to (typically an
|
|
1121
|
-
#
|
|
1122
|
-
#
|
|
1123
|
-
# Kubernetes
|
|
1124
|
-
# - "
|
|
1125
|
-
# - "1.X": picks
|
|
1126
|
-
#
|
|
1127
|
-
# - "1.X.Y-gke.N": picks an explicit Kubernetes version
|
|
1128
|
-
# - "-": picks the Kubernetes master version
|
|
1116
|
+
# The Kubernetes version to change the nodes to (typically an upgrade). Users
|
|
1117
|
+
# may specify either explicit versions offered by Kubernetes Engine or version
|
|
1118
|
+
# aliases, which have the following behavior: - "latest": picks the highest
|
|
1119
|
+
# valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in
|
|
1120
|
+
# the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y
|
|
1121
|
+
# version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the
|
|
1122
|
+
# Kubernetes master version
|
|
1129
1123
|
# Corresponds to the JSON property `desiredNodeVersion`
|
|
1130
1124
|
# @return [String]
|
|
1131
1125
|
attr_accessor :desired_node_version
|
|
1132
1126
|
|
|
1127
|
+
# NotificationConfig is the configuration of notifications.
|
|
1128
|
+
# Corresponds to the JSON property `desiredNotificationConfig`
|
|
1129
|
+
# @return [Google::Apis::ContainerV1beta1::NotificationConfig]
|
|
1130
|
+
attr_accessor :desired_notification_config
|
|
1131
|
+
|
|
1133
1132
|
# Configuration for the PodSecurityPolicy feature.
|
|
1134
1133
|
# Corresponds to the JSON property `desiredPodSecurityPolicyConfig`
|
|
1135
1134
|
# @return [Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig]
|
|
@@ -1140,11 +1139,10 @@ module Google
|
|
|
1140
1139
|
# @return [Google::Apis::ContainerV1beta1::PrivateClusterConfig]
|
|
1141
1140
|
attr_accessor :desired_private_cluster_config
|
|
1142
1141
|
|
|
1143
|
-
# ReleaseChannel indicates which release channel a cluster is
|
|
1144
|
-
#
|
|
1145
|
-
#
|
|
1146
|
-
#
|
|
1147
|
-
# defaults to true and cannot be disabled.
|
|
1142
|
+
# ReleaseChannel indicates which release channel a cluster is subscribed to.
|
|
1143
|
+
# Release channels are arranged in order of risk. When a cluster is subscribed
|
|
1144
|
+
# to a release channel, Google maintains both the master version and the node
|
|
1145
|
+
# version. Node auto-upgrade defaults to true and cannot be disabled.
|
|
1148
1146
|
# Corresponds to the JSON property `desiredReleaseChannel`
|
|
1149
1147
|
# @return [Google::Apis::ContainerV1beta1::ReleaseChannel]
|
|
1150
1148
|
attr_accessor :desired_release_channel
|
|
@@ -1164,15 +1162,14 @@ module Google
|
|
|
1164
1162
|
# @return [Google::Apis::ContainerV1beta1::TpuConfig]
|
|
1165
1163
|
attr_accessor :desired_tpu_config
|
|
1166
1164
|
|
|
1167
|
-
# VerticalPodAutoscaling contains global, per-cluster information
|
|
1168
|
-
#
|
|
1169
|
-
#
|
|
1165
|
+
# VerticalPodAutoscaling contains global, per-cluster information required by
|
|
1166
|
+
# Vertical Pod Autoscaler to automatically adjust the resources of pods
|
|
1167
|
+
# controlled by it.
|
|
1170
1168
|
# Corresponds to the JSON property `desiredVerticalPodAutoscaling`
|
|
1171
1169
|
# @return [Google::Apis::ContainerV1beta1::VerticalPodAutoscaling]
|
|
1172
1170
|
attr_accessor :desired_vertical_pod_autoscaling
|
|
1173
1171
|
|
|
1174
|
-
# Configuration for the use of Kubernetes Service Accounts in GCP IAM
|
|
1175
|
-
# policies.
|
|
1172
|
+
# Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
|
|
1176
1173
|
# Corresponds to the JSON property `desiredWorkloadIdentityConfig`
|
|
1177
1174
|
# @return [Google::Apis::ContainerV1beta1::WorkloadIdentityConfig]
|
|
1178
1175
|
attr_accessor :desired_workload_identity_config
|
|
@@ -1188,6 +1185,7 @@ module Google
|
|
|
1188
1185
|
@desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
|
|
1189
1186
|
@desired_cluster_telemetry = args[:desired_cluster_telemetry] if args.key?(:desired_cluster_telemetry)
|
|
1190
1187
|
@desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
|
|
1188
|
+
@desired_datapath_provider = args[:desired_datapath_provider] if args.key?(:desired_datapath_provider)
|
|
1191
1189
|
@desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
|
|
1192
1190
|
@desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
|
|
1193
1191
|
@desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
|
|
@@ -1200,6 +1198,7 @@ module Google
|
|
|
1200
1198
|
@desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
|
|
1201
1199
|
@desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
|
|
1202
1200
|
@desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
|
|
1201
|
+
@desired_notification_config = args[:desired_notification_config] if args.key?(:desired_notification_config)
|
|
1203
1202
|
@desired_pod_security_policy_config = args[:desired_pod_security_policy_config] if args.key?(:desired_pod_security_policy_config)
|
|
1204
1203
|
@desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config)
|
|
1205
1204
|
@desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
|
|
@@ -1215,8 +1214,8 @@ module Google
|
|
|
1215
1214
|
class CompleteIpRotationRequest
|
|
1216
1215
|
include Google::Apis::Core::Hashable
|
|
1217
1216
|
|
|
1218
|
-
# Required. Deprecated. The name of the cluster.
|
|
1219
|
-
#
|
|
1217
|
+
# Required. Deprecated. The name of the cluster. This field has been deprecated
|
|
1218
|
+
# and replaced by the name field.
|
|
1220
1219
|
# Corresponds to the JSON property `clusterId`
|
|
1221
1220
|
# @return [String]
|
|
1222
1221
|
attr_accessor :cluster_id
|
|
@@ -1228,16 +1227,15 @@ module Google
|
|
|
1228
1227
|
attr_accessor :name
|
|
1229
1228
|
|
|
1230
1229
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
|
1231
|
-
# number](https://developers.google.com/console/help/new/#projectnumber).
|
|
1232
|
-
#
|
|
1230
|
+
# number](https://developers.google.com/console/help/new/#projectnumber). This
|
|
1231
|
+
# field has been deprecated and replaced by the name field.
|
|
1233
1232
|
# Corresponds to the JSON property `projectId`
|
|
1234
1233
|
# @return [String]
|
|
1235
1234
|
attr_accessor :project_id
|
|
1236
1235
|
|
|
1237
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
|
1238
|
-
#
|
|
1239
|
-
#
|
|
1240
|
-
# field.
|
|
1236
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
|
1237
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
|
1238
|
+
# This field has been deprecated and replaced by the name field.
|
|
1241
1239
|
# Corresponds to the JSON property `zone`
|
|
1242
1240
|
# @return [String]
|
|
1243
1241
|
attr_accessor :zone
|
|
@@ -1279,9 +1277,8 @@ module Google
|
|
|
1279
1277
|
class ConsumptionMeteringConfig
|
|
1280
1278
|
include Google::Apis::Core::Hashable
|
|
1281
1279
|
|
|
1282
|
-
# Whether to enable consumption metering for this cluster. If enabled, a
|
|
1283
|
-
#
|
|
1284
|
-
# records.
|
|
1280
|
+
# Whether to enable consumption metering for this cluster. If enabled, a second
|
|
1281
|
+
# BigQuery table will be created to hold resource consumption records.
|
|
1285
1282
|
# Corresponds to the JSON property `enabled`
|
|
1286
1283
|
# @return [Boolean]
|
|
1287
1284
|
attr_accessor :enabled
|
|
@@ -1306,23 +1303,22 @@ module Google
|
|
|
1306
1303
|
# @return [Google::Apis::ContainerV1beta1::Cluster]
|
|
1307
1304
|
attr_accessor :cluster
|
|
1308
1305
|
|
|
1309
|
-
# The parent (project and location) where the cluster will be created.
|
|
1310
|
-
#
|
|
1306
|
+
# The parent (project and location) where the cluster will be created. Specified
|
|
1307
|
+
# in the format `projects/*/locations/*`.
|
|
1311
1308
|
# Corresponds to the JSON property `parent`
|
|
1312
1309
|
# @return [String]
|
|
1313
1310
|
attr_accessor :parent
|
|
1314
1311
|
|
|
1315
1312
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
|
1316
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
|
1317
|
-
#
|
|
1313
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
|
1314
|
+
# deprecated and replaced by the parent field.
|
|
1318
1315
|
# Corresponds to the JSON property `projectId`
|
|
1319
1316
|
# @return [String]
|
|
1320
1317
|
attr_accessor :project_id
|
|
1321
1318
|
|
|
1322
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
|
1323
|
-
#
|
|
1324
|
-
#
|
|
1325
|
-
# field.
|
|
1319
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
|
1320
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
|
1321
|
+
# This field has been deprecated and replaced by the parent field.
|
|
1326
1322
|
# Corresponds to the JSON property `zone`
|
|
1327
1323
|
# @return [String]
|
|
1328
1324
|
attr_accessor :zone
|
|
@@ -1344,40 +1340,38 @@ module Google
|
|
|
1344
1340
|
class CreateNodePoolRequest
|
|
1345
1341
|
include Google::Apis::Core::Hashable
|
|
1346
1342
|
|
|
1347
|
-
# Required. Deprecated. The name of the cluster.
|
|
1348
|
-
#
|
|
1343
|
+
# Required. Deprecated. The name of the cluster. This field has been deprecated
|
|
1344
|
+
# and replaced by the parent field.
|
|
1349
1345
|
# Corresponds to the JSON property `clusterId`
|
|
1350
1346
|
# @return [String]
|
|
1351
1347
|
attr_accessor :cluster_id
|
|
1352
1348
|
|
|
1353
|
-
# NodePool contains the name and configuration for a cluster's node pool.
|
|
1354
|
-
#
|
|
1355
|
-
# specification, under the control of the cluster master. They may have a set
|
|
1356
|
-
#
|
|
1357
|
-
#
|
|
1358
|
-
#
|
|
1349
|
+
# NodePool contains the name and configuration for a cluster's node pool. Node
|
|
1350
|
+
# pools are a set of nodes (i.e. VM's), with a common configuration and
|
|
1351
|
+
# specification, under the control of the cluster master. They may have a set of
|
|
1352
|
+
# Kubernetes labels applied to them, which may be used to reference them during
|
|
1353
|
+
# pod scheduling. They may also be resized up or down, to accommodate the
|
|
1354
|
+
# workload.
|
|
1359
1355
|
# Corresponds to the JSON property `nodePool`
|
|
1360
1356
|
# @return [Google::Apis::ContainerV1beta1::NodePool]
|
|
1361
1357
|
attr_accessor :node_pool
|
|
1362
1358
|
|
|
1363
|
-
# The parent (project, location, cluster id) where the node pool will be
|
|
1364
|
-
#
|
|
1365
|
-
# `projects/*/locations/*/clusters/*`.
|
|
1359
|
+
# The parent (project, location, cluster id) where the node pool will be created.
|
|
1360
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
|
1366
1361
|
# Corresponds to the JSON property `parent`
|
|
1367
1362
|
# @return [String]
|
|
1368
1363
|
attr_accessor :parent
|
|
1369
1364
|
|
|
1370
1365
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
|
1371
|
-
# number](https://developers.google.com/console/help/new/#projectnumber).
|
|
1372
|
-
#
|
|
1366
|
+
# number](https://developers.google.com/console/help/new/#projectnumber). This
|
|
1367
|
+
# field has been deprecated and replaced by the parent field.
|
|
1373
1368
|
# Corresponds to the JSON property `projectId`
|
|
1374
1369
|
# @return [String]
|
|
1375
1370
|
attr_accessor :project_id
|
|
1376
1371
|
|
|
1377
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
|
1378
|
-
#
|
|
1379
|
-
#
|
|
1380
|
-
# field.
|
|
1372
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
|
1373
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
|
1374
|
+
# This field has been deprecated and replaced by the parent field.
|
|
1381
1375
|
# Corresponds to the JSON property `zone`
|
|
1382
1376
|
# @return [String]
|
|
1383
1377
|
attr_accessor :zone
|
|
@@ -1400,14 +1394,14 @@ module Google
|
|
|
1400
1394
|
class DailyMaintenanceWindow
|
|
1401
1395
|
include Google::Apis::Core::Hashable
|
|
1402
1396
|
|
|
1403
|
-
# [Output only] Duration of the time window, automatically chosen to be
|
|
1404
|
-
#
|
|
1397
|
+
# [Output only] Duration of the time window, automatically chosen to be smallest
|
|
1398
|
+
# possible in the given scenario.
|
|
1405
1399
|
# Corresponds to the JSON property `duration`
|
|
1406
1400
|
# @return [String]
|
|
1407
1401
|
attr_accessor :duration
|
|
1408
1402
|
|
|
1409
|
-
# Time within the maintenance window to start the maintenance operations.
|
|
1410
|
-
#
|
|
1403
|
+
# Time within the maintenance window to start the maintenance operations. It
|
|
1404
|
+
# must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
|
|
1411
1405
|
# Corresponds to the JSON property `startTime`
|
|
1412
1406
|
# @return [String]
|
|
1413
1407
|
attr_accessor :start_time
|
|
@@ -1427,8 +1421,8 @@ module Google
|
|
|
1427
1421
|
class DatabaseEncryption
|
|
1428
1422
|
include Google::Apis::Core::Hashable
|
|
1429
1423
|
|
|
1430
|
-
# Name of CloudKMS key to use for the encryption of secrets in etcd.
|
|
1431
|
-
#
|
|
1424
|
+
# Name of CloudKMS key to use for the encryption of secrets in etcd. Ex.
|
|
1425
|
+
# projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
|
|
1432
1426
|
# Corresponds to the JSON property `keyName`
|
|
1433
1427
|
# @return [String]
|
|
1434
1428
|
attr_accessor :key_name
|
|
@@ -1449,8 +1443,8 @@ module Google
|
|
|
1449
1443
|
end
|
|
1450
1444
|
end
|
|
1451
1445
|
|
|
1452
|
-
# DefaultSnatStatus contains the desired state of whether default sNAT should
|
|
1453
|
-
#
|
|
1446
|
+
# DefaultSnatStatus contains the desired state of whether default sNAT should be
|
|
1447
|
+
# disabled on the cluster.
|
|
1454
1448
|
class DefaultSnatStatus
|
|
1455
1449
|
include Google::Apis::Core::Hashable
|
|
1456
1450
|
|
|
@@ -1490,13 +1484,11 @@ module Google
|
|
|
1490
1484
|
end
|
|
1491
1485
|
end
|
|
1492
1486
|
|
|
1493
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
|
1494
|
-
#
|
|
1495
|
-
#
|
|
1496
|
-
#
|
|
1497
|
-
#
|
|
1498
|
-
# `
|
|
1499
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
|
1487
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
|
1488
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
|
1489
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
|
1490
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
|
1491
|
+
# `Empty` is empty JSON object ````.
|
|
1500
1492
|
class Empty
|
|
1501
1493
|
include Google::Apis::Core::Hashable
|
|
1502
1494
|
|
|
@@ -1539,8 +1531,7 @@ module Google
|
|
|
1539
1531
|
# @return [Google::Apis::ContainerV1beta1::HttpCacheControlResponseHeader]
|
|
1540
1532
|
attr_accessor :cache_header
|
|
1541
1533
|
|
|
1542
|
-
# The public component of the keys used by the cluster to sign token
|
|
1543
|
-
# requests.
|
|
1534
|
+
# The public component of the keys used by the cluster to sign token requests.
|
|
1544
1535
|
# Corresponds to the JSON property `keys`
|
|
1545
1536
|
# @return [Array<Google::Apis::ContainerV1beta1::Jwk>]
|
|
1546
1537
|
attr_accessor :keys
|
|
@@ -1556,8 +1547,8 @@ module Google
|
|
|
1556
1547
|
end
|
|
1557
1548
|
end
|
|
1558
1549
|
|
|
1559
|
-
# GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
|
|
1560
|
-
#
|
|
1550
|
+
# GetOpenIDConfigResponse is an OIDC discovery document for the cluster. See the
|
|
1551
|
+
# OpenID Connect Discovery 1.0 specification for details.
|
|
1561
1552
|
class GetOpenIdConfigResponse
|
|
1562
1553
|
include Google::Apis::Core::Hashable
|
|
1563
1554
|
|
|
@@ -1619,14 +1610,13 @@ module Google
|
|
|
1619
1610
|
end
|
|
1620
1611
|
|
|
1621
1612
|
# Configuration options for the horizontal pod autoscaling feature, which
|
|
1622
|
-
# increases or decreases the number of replica pods a replication controller
|
|
1623
|
-
#
|
|
1613
|
+
# increases or decreases the number of replica pods a replication controller has
|
|
1614
|
+
# based on the resource usage of the existing pods.
|
|
1624
1615
|
class HorizontalPodAutoscaling
|
|
1625
1616
|
include Google::Apis::Core::Hashable
|
|
1626
1617
|
|
|
1627
|
-
# Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
|
|
1628
|
-
#
|
|
1629
|
-
# Monitoring.
|
|
1618
|
+
# Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When
|
|
1619
|
+
# enabled, it ensures that metrics are collected into Stackdriver Monitoring.
|
|
1630
1620
|
# Corresponds to the JSON property `disabled`
|
|
1631
1621
|
# @return [Boolean]
|
|
1632
1622
|
attr_accessor :disabled
|
|
@@ -1673,14 +1663,13 @@ module Google
|
|
|
1673
1663
|
end
|
|
1674
1664
|
end
|
|
1675
1665
|
|
|
1676
|
-
# Configuration options for the HTTP (L7) load balancing controller addon,
|
|
1677
|
-
#
|
|
1666
|
+
# Configuration options for the HTTP (L7) load balancing controller addon, which
|
|
1667
|
+
# makes it easy to set up HTTP load balancers for services in a cluster.
|
|
1678
1668
|
class HttpLoadBalancing
|
|
1679
1669
|
include Google::Apis::Core::Hashable
|
|
1680
1670
|
|
|
1681
|
-
# Whether the HTTP Load Balancing controller is enabled in the cluster.
|
|
1682
|
-
#
|
|
1683
|
-
# balancers.
|
|
1671
|
+
# Whether the HTTP Load Balancing controller is enabled in the cluster. When
|
|
1672
|
+
# enabled, it runs a small pod in the cluster that manages the load balancers.
|
|
1684
1673
|
# Corresponds to the JSON property `disabled`
|
|
1685
1674
|
# @return [Boolean]
|
|
1686
1675
|
attr_accessor :disabled
|
|
@@ -1702,15 +1691,13 @@ module Google
|
|
|
1702
1691
|
|
|
1703
1692
|
# If true, allow allocation of cluster CIDR ranges that overlap with certain
|
|
1704
1693
|
# kinds of network routes. By default we do not allow cluster CIDR ranges to
|
|
1705
|
-
# intersect with any user declared routes. With allow_route_overlap == true,
|
|
1706
|
-
#
|
|
1707
|
-
#
|
|
1708
|
-
#
|
|
1709
|
-
#
|
|
1710
|
-
#
|
|
1711
|
-
# `
|
|
1712
|
-
# 2) When `use_ip_aliases` is false, `cluster.cluster_ipv4_cidr` muse be
|
|
1713
|
-
# fully-specified.
|
|
1694
|
+
# intersect with any user declared routes. With allow_route_overlap == true, we
|
|
1695
|
+
# allow overlapping with CIDR ranges that are larger than the cluster CIDR range.
|
|
1696
|
+
# If this field is set to true, then cluster and services CIDRs must be fully-
|
|
1697
|
+
# specified (e.g. `10.96.0.0/14`, but not `/14`), which means: 1) When `
|
|
1698
|
+
# use_ip_aliases` is true, `cluster_ipv4_cidr_block` and `
|
|
1699
|
+
# services_ipv4_cidr_block` must be fully-specified. 2) When `use_ip_aliases` is
|
|
1700
|
+
# false, `cluster.cluster_ipv4_cidr` muse be fully-specified.
|
|
1714
1701
|
# Corresponds to the JSON property `allowRouteOverlap`
|
|
1715
1702
|
# @return [Boolean]
|
|
1716
1703
|
attr_accessor :allow_route_overlap
|
|
@@ -1721,33 +1708,28 @@ module Google
|
|
|
1721
1708
|
# @return [String]
|
|
1722
1709
|
attr_accessor :cluster_ipv4_cidr
|
|
1723
1710
|
|
|
1724
|
-
# The IP address range for the cluster pod IPs. If this field is set, then
|
|
1725
|
-
#
|
|
1726
|
-
#
|
|
1727
|
-
# Set to
|
|
1728
|
-
#
|
|
1729
|
-
#
|
|
1730
|
-
#
|
|
1731
|
-
#
|
|
1732
|
-
# notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
|
|
1733
|
-
# `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
|
|
1734
|
-
# to use.
|
|
1711
|
+
# The IP address range for the cluster pod IPs. If this field is set, then `
|
|
1712
|
+
# cluster.cluster_ipv4_cidr` must be left blank. This field is only applicable
|
|
1713
|
+
# when `use_ip_aliases` is true. Set to blank to have a range chosen with the
|
|
1714
|
+
# default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
|
|
1715
|
+
# specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
|
|
1716
|
+
# Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
|
|
1717
|
+
# networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
|
|
1718
|
+
# specific range to use.
|
|
1735
1719
|
# Corresponds to the JSON property `clusterIpv4CidrBlock`
|
|
1736
1720
|
# @return [String]
|
|
1737
1721
|
attr_accessor :cluster_ipv4_cidr_block
|
|
1738
1722
|
|
|
1739
|
-
# The name of the secondary range to be used for the cluster CIDR
|
|
1740
|
-
#
|
|
1741
|
-
#
|
|
1742
|
-
# with
|
|
1743
|
-
# This field is only applicable with use_ip_aliases and
|
|
1744
|
-
# create_subnetwork is false.
|
|
1723
|
+
# The name of the secondary range to be used for the cluster CIDR block. The
|
|
1724
|
+
# secondary range will be used for pod IP addresses. This must be an existing
|
|
1725
|
+
# secondary range associated with the cluster subnetwork. This field is only
|
|
1726
|
+
# applicable with use_ip_aliases and create_subnetwork is false.
|
|
1745
1727
|
# Corresponds to the JSON property `clusterSecondaryRangeName`
|
|
1746
1728
|
# @return [String]
|
|
1747
1729
|
attr_accessor :cluster_secondary_range_name
|
|
1748
1730
|
|
|
1749
|
-
# Whether a new subnetwork will be created automatically for the cluster.
|
|
1750
|
-
#
|
|
1731
|
+
# Whether a new subnetwork will be created automatically for the cluster. This
|
|
1732
|
+
# field is only applicable when `use_ip_aliases` is true.
|
|
1751
1733
|
# Corresponds to the JSON property `createSubnetwork`
|
|
1752
1734
|
# @return [Boolean]
|
|
1753
1735
|
attr_accessor :create_subnetwork
|
|
@@ -1758,16 +1740,13 @@ module Google
|
|
|
1758
1740
|
# @return [String]
|
|
1759
1741
|
attr_accessor :node_ipv4_cidr
|
|
1760
1742
|
|
|
1761
|
-
# The IP address range of the instance IPs in this cluster.
|
|
1762
|
-
#
|
|
1763
|
-
# Set to
|
|
1764
|
-
#
|
|
1765
|
-
#
|
|
1766
|
-
#
|
|
1767
|
-
#
|
|
1768
|
-
# notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
|
|
1769
|
-
# `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
|
|
1770
|
-
# to use.
|
|
1743
|
+
# The IP address range of the instance IPs in this cluster. This is applicable
|
|
1744
|
+
# only if `create_subnetwork` is true. Set to blank to have a range chosen with
|
|
1745
|
+
# the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
|
|
1746
|
+
# specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
|
|
1747
|
+
# Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
|
|
1748
|
+
# networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
|
|
1749
|
+
# specific range to use.
|
|
1771
1750
|
# Corresponds to the JSON property `nodeIpv4CidrBlock`
|
|
1772
1751
|
# @return [String]
|
|
1773
1752
|
attr_accessor :node_ipv4_cidr_block
|
|
@@ -1778,66 +1757,57 @@ module Google
|
|
|
1778
1757
|
attr_accessor :services_ipv4_cidr
|
|
1779
1758
|
|
|
1780
1759
|
# The IP address range of the services IPs in this cluster. If blank, a range
|
|
1781
|
-
# will be automatically chosen with the default size.
|
|
1782
|
-
#
|
|
1783
|
-
# Set to
|
|
1784
|
-
#
|
|
1785
|
-
#
|
|
1786
|
-
#
|
|
1787
|
-
#
|
|
1788
|
-
# notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
|
|
1789
|
-
# `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
|
|
1790
|
-
# to use.
|
|
1760
|
+
# will be automatically chosen with the default size. This field is only
|
|
1761
|
+
# applicable when `use_ip_aliases` is true. Set to blank to have a range chosen
|
|
1762
|
+
# with the default size. Set to /netmask (e.g. `/14`) to have a range chosen
|
|
1763
|
+
# with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/
|
|
1764
|
+
# Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-
|
|
1765
|
+
# 1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`)
|
|
1766
|
+
# to pick a specific range to use.
|
|
1791
1767
|
# Corresponds to the JSON property `servicesIpv4CidrBlock`
|
|
1792
1768
|
# @return [String]
|
|
1793
1769
|
attr_accessor :services_ipv4_cidr_block
|
|
1794
1770
|
|
|
1795
|
-
# The name of the secondary range to be used as for the services
|
|
1796
|
-
#
|
|
1797
|
-
#
|
|
1798
|
-
# with
|
|
1799
|
-
# This field is only applicable with use_ip_aliases and
|
|
1800
|
-
# create_subnetwork is false.
|
|
1771
|
+
# The name of the secondary range to be used as for the services CIDR block. The
|
|
1772
|
+
# secondary range will be used for service ClusterIPs. This must be an existing
|
|
1773
|
+
# secondary range associated with the cluster subnetwork. This field is only
|
|
1774
|
+
# applicable with use_ip_aliases and create_subnetwork is false.
|
|
1801
1775
|
# Corresponds to the JSON property `servicesSecondaryRangeName`
|
|
1802
1776
|
# @return [String]
|
|
1803
1777
|
attr_accessor :services_secondary_range_name
|
|
1804
1778
|
|
|
1805
|
-
# A custom subnetwork name to be used if `create_subnetwork` is true.
|
|
1806
|
-
#
|
|
1807
|
-
# subnetwork.
|
|
1779
|
+
# A custom subnetwork name to be used if `create_subnetwork` is true. If this
|
|
1780
|
+
# field is empty, then an automatic name will be chosen for the new subnetwork.
|
|
1808
1781
|
# Corresponds to the JSON property `subnetworkName`
|
|
1809
1782
|
# @return [String]
|
|
1810
1783
|
attr_accessor :subnetwork_name
|
|
1811
1784
|
|
|
1812
1785
|
# The IP address range of the Cloud TPUs in this cluster. If unspecified, a
|
|
1813
|
-
# range will be automatically chosen with the default size.
|
|
1814
|
-
#
|
|
1815
|
-
#
|
|
1816
|
-
#
|
|
1817
|
-
#
|
|
1818
|
-
#
|
|
1819
|
-
#
|
|
1820
|
-
#
|
|
1821
|
-
# `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
|
|
1822
|
-
# to use.
|
|
1823
|
-
# This field is deprecated, use cluster.tpu_config.ipv4_cidr_block instead.
|
|
1786
|
+
# range will be automatically chosen with the default size. This field is only
|
|
1787
|
+
# applicable when `use_ip_aliases` is true. If unspecified, the range will use
|
|
1788
|
+
# the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
|
|
1789
|
+
# specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
|
|
1790
|
+
# Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
|
|
1791
|
+
# networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
|
|
1792
|
+
# specific range to use. This field is deprecated, use cluster.tpu_config.
|
|
1793
|
+
# ipv4_cidr_block instead.
|
|
1824
1794
|
# Corresponds to the JSON property `tpuIpv4CidrBlock`
|
|
1825
1795
|
# @return [String]
|
|
1826
1796
|
attr_accessor :tpu_ipv4_cidr_block
|
|
1827
1797
|
|
|
1828
|
-
# Whether alias IPs will be used for pod IPs in the cluster.
|
|
1829
|
-
#
|
|
1830
|
-
#
|
|
1831
|
-
#
|
|
1798
|
+
# Whether alias IPs will be used for pod IPs in the cluster. This is used in
|
|
1799
|
+
# conjunction with use_routes. It cannot be true if use_routes is true. If both
|
|
1800
|
+
# use_ip_aliases and use_routes are false, then the server picks the default IP
|
|
1801
|
+
# allocation mode
|
|
1832
1802
|
# Corresponds to the JSON property `useIpAliases`
|
|
1833
1803
|
# @return [Boolean]
|
|
1834
1804
|
attr_accessor :use_ip_aliases
|
|
1835
1805
|
alias_method :use_ip_aliases?, :use_ip_aliases
|
|
1836
1806
|
|
|
1837
|
-
# Whether routes will be used for pod IPs in the cluster.
|
|
1838
|
-
#
|
|
1839
|
-
#
|
|
1840
|
-
#
|
|
1807
|
+
# Whether routes will be used for pod IPs in the cluster. This is used in
|
|
1808
|
+
# conjunction with use_ip_aliases. It cannot be true if use_ip_aliases is true.
|
|
1809
|
+
# If both use_ip_aliases and use_routes are false, then the server picks the
|
|
1810
|
+
# default IP allocation mode
|
|
1841
1811
|
# Corresponds to the JSON property `useRoutes`
|
|
1842
1812
|
# @return [Boolean]
|
|
1843
1813
|
attr_accessor :use_routes
|
|
@@ -2020,15 +1990,14 @@ module Google
|
|
|
2020
1990
|
end
|
|
2021
1991
|
end
|
|
2022
1992
|
|
|
2023
|
-
# Configuration for the legacy Attribute Based Access Control authorization
|
|
2024
|
-
# mode.
|
|
1993
|
+
# Configuration for the legacy Attribute Based Access Control authorization mode.
|
|
2025
1994
|
class LegacyAbac
|
|
2026
1995
|
include Google::Apis::Core::Hashable
|
|
2027
1996
|
|
|
2028
1997
|
# Whether the ABAC authorizer is enabled for this cluster. When enabled,
|
|
2029
|
-
# identities in the system, including service accounts, nodes, and
|
|
2030
|
-
#
|
|
2031
|
-
#
|
|
1998
|
+
# identities in the system, including service accounts, nodes, and controllers,
|
|
1999
|
+
# will have statically granted permissions beyond those provided by the RBAC
|
|
2000
|
+
# configuration or IAM.
|
|
2032
2001
|
# Corresponds to the JSON property `enabled`
|
|
2033
2002
|
# @return [Boolean]
|
|
2034
2003
|
attr_accessor :enabled
|
|
@@ -2048,18 +2017,10 @@ module Google
|
|
|
2048
2017
|
class LinuxNodeConfig
|
|
2049
2018
|
include Google::Apis::Core::Hashable
|
|
2050
2019
|
|
|
2051
|
-
# The Linux kernel parameters to be applied to the nodes and all pods running
|
|
2052
|
-
#
|
|
2053
|
-
#
|
|
2054
|
-
# net.core.
|
|
2055
|
-
# net.core.rmem_max
|
|
2056
|
-
# net.core.wmem_default
|
|
2057
|
-
# net.core.wmem_max
|
|
2058
|
-
# net.core.optmem_max
|
|
2059
|
-
# net.core.somaxconn
|
|
2060
|
-
# net.ipv4.tcp_rmem
|
|
2061
|
-
# net.ipv4.tcp_wmem
|
|
2062
|
-
# net.ipv4.tcp_tw_reuse
|
|
2020
|
+
# The Linux kernel parameters to be applied to the nodes and all pods running on
|
|
2021
|
+
# the nodes. The following parameters are supported. net.core.netdev_max_backlog
|
|
2022
|
+
# net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max
|
|
2023
|
+
# net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
|
|
2063
2024
|
# Corresponds to the JSON property `sysctls`
|
|
2064
2025
|
# @return [Hash<String,String>]
|
|
2065
2026
|
attr_accessor :sysctls
|
|
@@ -2078,14 +2039,13 @@ module Google
|
|
|
2078
2039
|
class ListClustersResponse
|
|
2079
2040
|
include Google::Apis::Core::Hashable
|
|
2080
2041
|
|
|
2081
|
-
# A list of clusters in the project in the specified zone, or
|
|
2082
|
-
# across all ones.
|
|
2042
|
+
# A list of clusters in the project in the specified zone, or across all ones.
|
|
2083
2043
|
# Corresponds to the JSON property `clusters`
|
|
2084
2044
|
# @return [Array<Google::Apis::ContainerV1beta1::Cluster>]
|
|
2085
2045
|
attr_accessor :clusters
|
|
2086
2046
|
|
|
2087
|
-
# If any zones are listed here, the list of clusters returned
|
|
2088
|
-
#
|
|
2047
|
+
# If any zones are listed here, the list of clusters returned may be missing
|
|
2048
|
+
# those zones.
|
|
2089
2049
|
# Corresponds to the JSON property `missingZones`
|
|
2090
2050
|
# @return [Array<String>]
|
|
2091
2051
|
attr_accessor :missing_zones
|
|
@@ -2111,10 +2071,10 @@ module Google
|
|
|
2111
2071
|
# @return [Array<Google::Apis::ContainerV1beta1::Location>]
|
|
2112
2072
|
attr_accessor :locations
|
|
2113
2073
|
|
|
2114
|
-
# Only return ListLocationsResponse that occur after the page_token. This
|
|
2115
|
-
#
|
|
2116
|
-
#
|
|
2117
|
-
#
|
|
2074
|
+
# Only return ListLocationsResponse that occur after the page_token. This value
|
|
2075
|
+
# should be populated from the ListLocationsResponse.next_page_token if that
|
|
2076
|
+
# response token was set (which happens when listing more Locations than fit in
|
|
2077
|
+
# a single ListLocationsResponse).
|
|
2118
2078
|
# Corresponds to the JSON property `nextPageToken`
|
|
2119
2079
|
# @return [String]
|
|
2120
2080
|
attr_accessor :next_page_token
|
|
@@ -2153,8 +2113,8 @@ module Google
|
|
|
2153
2113
|
class ListOperationsResponse
|
|
2154
2114
|
include Google::Apis::Core::Hashable
|
|
2155
2115
|
|
|
2156
|
-
# If any zones are listed here, the list of operations returned
|
|
2157
|
-
#
|
|
2116
|
+
# If any zones are listed here, the list of operations returned may be missing
|
|
2117
|
+
# the operations from those zones.
|
|
2158
2118
|
# Corresponds to the JSON property `missingZones`
|
|
2159
2119
|
# @return [Array<String>]
|
|
2160
2120
|
attr_accessor :missing_zones
|
|
@@ -2175,15 +2135,14 @@ module Google
|
|
|
2175
2135
|
end
|
|
2176
2136
|
end
|
|
2177
2137
|
|
|
2178
|
-
# ListUsableSubnetworksResponse is the response of
|
|
2179
|
-
# ListUsableSubnetworksRequest.
|
|
2138
|
+
# ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.
|
|
2180
2139
|
class ListUsableSubnetworksResponse
|
|
2181
2140
|
include Google::Apis::Core::Hashable
|
|
2182
2141
|
|
|
2183
|
-
# This token allows you to get the next page of results for list requests.
|
|
2184
|
-
#
|
|
2185
|
-
#
|
|
2186
|
-
#
|
|
2142
|
+
# This token allows you to get the next page of results for list requests. If
|
|
2143
|
+
# the number of results is larger than `page_size`, use the `next_page_token` as
|
|
2144
|
+
# a value for the query parameter `page_token` in the next request. The value
|
|
2145
|
+
# will become empty when there are no more pages.
|
|
2187
2146
|
# Corresponds to the JSON property `nextPageToken`
|
|
2188
2147
|
# @return [String]
|
|
2189
2148
|
attr_accessor :next_page_token
|
|
@@ -2204,13 +2163,13 @@ module Google
|
|
|
2204
2163
|
end
|
|
2205
2164
|
end
|
|
2206
2165
|
|
|
2207
|
-
# Location returns the location name, and if the location is recommended
|
|
2208
|
-
#
|
|
2166
|
+
# Location returns the location name, and if the location is recommended for GKE
|
|
2167
|
+
# cluster scheduling.
|
|
2209
2168
|
class Location
|
|
2210
2169
|
include Google::Apis::Core::Hashable
|
|
2211
2170
|
|
|
2212
|
-
# Contains the name of the resource requested.
|
|
2213
|
-
#
|
|
2171
|
+
# Contains the name of the resource requested. Specified in the format `projects/
|
|
2172
|
+
# */locations/*`.
|
|
2214
2173
|
# Corresponds to the JSON property `name`
|
|
2215
2174
|
# @return [String]
|
|
2216
2175
|
attr_accessor :name
|
|
@@ -2221,8 +2180,7 @@ module Google
|
|
|
2221
2180
|
attr_accessor :recommended
|
|
2222
2181
|
alias_method :recommended?, :recommended
|
|
2223
2182
|
|
|
2224
|
-
# Contains the type of location this Location is for.
|
|
2225
|
-
# Regional or Zonal.
|
|
2183
|
+
# Contains the type of location this Location is for. Regional or Zonal.
|
|
2226
2184
|
# Corresponds to the JSON property `type`
|
|
2227
2185
|
# @return [String]
|
|
2228
2186
|
attr_accessor :type
|
|
@@ -2244,10 +2202,10 @@ module Google
|
|
|
2244
2202
|
include Google::Apis::Core::Hashable
|
|
2245
2203
|
|
|
2246
2204
|
# A hash identifying the version of this policy, so that updates to fields of
|
|
2247
|
-
# the policy won't accidentally undo intermediate changes (and so that users
|
|
2248
|
-
#
|
|
2249
|
-
#
|
|
2250
|
-
#
|
|
2205
|
+
# the policy won't accidentally undo intermediate changes (and so that users of
|
|
2206
|
+
# the API unaware of some fields won't accidentally remove other fields). Make a
|
|
2207
|
+
# `get()` request to the cluster to get the current resource version and include
|
|
2208
|
+
# it with requests to set the policy.
|
|
2251
2209
|
# Corresponds to the JSON property `resourceVersion`
|
|
2252
2210
|
# @return [String]
|
|
2253
2211
|
attr_accessor :resource_version
|
|
@@ -2277,8 +2235,8 @@ module Google
|
|
|
2277
2235
|
# @return [Google::Apis::ContainerV1beta1::DailyMaintenanceWindow]
|
|
2278
2236
|
attr_accessor :daily_maintenance_window
|
|
2279
2237
|
|
|
2280
|
-
# Exceptions to maintenance window. Non-emergency maintenance should not
|
|
2281
|
-
#
|
|
2238
|
+
# Exceptions to maintenance window. Non-emergency maintenance should not occur
|
|
2239
|
+
# in these windows.
|
|
2282
2240
|
# Corresponds to the JSON property `maintenanceExclusions`
|
|
2283
2241
|
# @return [Hash<String,Google::Apis::ContainerV1beta1::TimeWindow>]
|
|
2284
2242
|
attr_accessor :maintenance_exclusions
|
|
@@ -2314,8 +2272,7 @@ module Google
|
|
|
2314
2272
|
end
|
|
2315
2273
|
|
|
2316
2274
|
# The authentication information for accessing the master endpoint.
|
|
2317
|
-
# Authentication can be done using HTTP basic auth or using client
|
|
2318
|
-
# certificates.
|
|
2275
|
+
# Authentication can be done using HTTP basic auth or using client certificates.
|
|
2319
2276
|
class MasterAuth
|
|
2320
2277
|
include Google::Apis::Core::Hashable
|
|
2321
2278
|
|
|
@@ -2330,8 +2287,8 @@ module Google
|
|
|
2330
2287
|
# @return [Google::Apis::ContainerV1beta1::ClientCertificateConfig]
|
|
2331
2288
|
attr_accessor :client_certificate_config
|
|
2332
2289
|
|
|
2333
|
-
# [Output only] Base64-encoded private key used by clients to authenticate
|
|
2334
|
-
#
|
|
2290
|
+
# [Output only] Base64-encoded private key used by clients to authenticate to
|
|
2291
|
+
# the cluster endpoint.
|
|
2335
2292
|
# Corresponds to the JSON property `clientKey`
|
|
2336
2293
|
# @return [String]
|
|
2337
2294
|
attr_accessor :client_key
|
|
@@ -2343,15 +2300,22 @@ module Google
|
|
|
2343
2300
|
|
|
2344
2301
|
# The password to use for HTTP basic authentication to the master endpoint.
|
|
2345
2302
|
# Because the master endpoint is open to the Internet, you should create a
|
|
2346
|
-
# strong password.
|
|
2347
|
-
#
|
|
2303
|
+
# strong password. If a password is provided for cluster creation, username must
|
|
2304
|
+
# be non-empty. Warning: basic authentication is deprecated, and will be removed
|
|
2305
|
+
# in GKE control plane versions 1.19 and newer. For a list of recommended
|
|
2306
|
+
# authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/
|
|
2307
|
+
# how-to/api-server-authentication
|
|
2348
2308
|
# Corresponds to the JSON property `password`
|
|
2349
2309
|
# @return [String]
|
|
2350
2310
|
attr_accessor :password
|
|
2351
2311
|
|
|
2352
|
-
# The username to use for HTTP basic authentication to the master endpoint.
|
|
2353
|
-
#
|
|
2354
|
-
#
|
|
2312
|
+
# The username to use for HTTP basic authentication to the master endpoint. For
|
|
2313
|
+
# clusters v1.6.0 and later, basic authentication can be disabled by leaving
|
|
2314
|
+
# username unspecified (or setting it to the empty string). Warning: basic
|
|
2315
|
+
# authentication is deprecated, and will be removed in GKE control plane
|
|
2316
|
+
# versions 1.19 and newer. For a list of recommended authentication methods, see:
|
|
2317
|
+
# https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-
|
|
2318
|
+
# authentication
|
|
2355
2319
|
# Corresponds to the JSON property `username`
|
|
2356
2320
|
# @return [String]
|
|
2357
2321
|
attr_accessor :username
|
|
@@ -2378,8 +2342,8 @@ module Google
|
|
|
2378
2342
|
class MasterAuthorizedNetworksConfig
|
|
2379
2343
|
include Google::Apis::Core::Hashable
|
|
2380
2344
|
|
|
2381
|
-
# cidr_blocks define up to 10 external networks that could access
|
|
2382
|
-
#
|
|
2345
|
+
# cidr_blocks define up to 10 external networks that could access Kubernetes
|
|
2346
|
+
# master through HTTPS.
|
|
2383
2347
|
# Corresponds to the JSON property `cidrBlocks`
|
|
2384
2348
|
# @return [Array<Google::Apis::ContainerV1beta1::CidrBlock>]
|
|
2385
2349
|
attr_accessor :cidr_blocks
|
|
@@ -2461,31 +2425,35 @@ module Google
|
|
|
2461
2425
|
class NetworkConfig
|
|
2462
2426
|
include Google::Apis::Core::Hashable
|
|
2463
2427
|
|
|
2464
|
-
#
|
|
2465
|
-
#
|
|
2428
|
+
# The desired datapath provider for this cluster. By default, uses the IPTables-
|
|
2429
|
+
# based kube-proxy implementation.
|
|
2430
|
+
# Corresponds to the JSON property `datapathProvider`
|
|
2431
|
+
# @return [String]
|
|
2432
|
+
attr_accessor :datapath_provider
|
|
2433
|
+
|
|
2434
|
+
# DefaultSnatStatus contains the desired state of whether default sNAT should be
|
|
2435
|
+
# disabled on the cluster.
|
|
2466
2436
|
# Corresponds to the JSON property `defaultSnatStatus`
|
|
2467
2437
|
# @return [Google::Apis::ContainerV1beta1::DefaultSnatStatus]
|
|
2468
2438
|
attr_accessor :default_snat_status
|
|
2469
2439
|
|
|
2470
|
-
# Whether Intra-node visibility is enabled for this cluster.
|
|
2471
|
-
#
|
|
2440
|
+
# Whether Intra-node visibility is enabled for this cluster. This makes same
|
|
2441
|
+
# node pod to pod traffic visible for VPC network.
|
|
2472
2442
|
# Corresponds to the JSON property `enableIntraNodeVisibility`
|
|
2473
2443
|
# @return [Boolean]
|
|
2474
2444
|
attr_accessor :enable_intra_node_visibility
|
|
2475
2445
|
alias_method :enable_intra_node_visibility?, :enable_intra_node_visibility
|
|
2476
2446
|
|
|
2477
|
-
# Output only. The relative name of the Google Compute Engine
|
|
2478
|
-
#
|
|
2479
|
-
#
|
|
2480
|
-
# projects/my-project/global/networks/my-network
|
|
2447
|
+
# Output only. The relative name of the Google Compute Engine network(https://
|
|
2448
|
+
# cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the
|
|
2449
|
+
# cluster is connected. Example: projects/my-project/global/networks/my-network
|
|
2481
2450
|
# Corresponds to the JSON property `network`
|
|
2482
2451
|
# @return [String]
|
|
2483
2452
|
attr_accessor :network
|
|
2484
2453
|
|
|
2485
|
-
# Output only. The relative name of the Google Compute Engine
|
|
2486
|
-
#
|
|
2487
|
-
#
|
|
2488
|
-
# projects/my-project/regions/us-central1/subnetworks/my-subnet
|
|
2454
|
+
# Output only. The relative name of the Google Compute Engine [subnetwork](https:
|
|
2455
|
+
# //cloud.google.com/compute/docs/vpc) to which the cluster is connected.
|
|
2456
|
+
# Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
|
|
2489
2457
|
# Corresponds to the JSON property `subnetwork`
|
|
2490
2458
|
# @return [String]
|
|
2491
2459
|
attr_accessor :subnetwork
|
|
@@ -2496,6 +2464,7 @@ module Google
|
|
|
2496
2464
|
|
|
2497
2465
|
# Update properties of this object
|
|
2498
2466
|
def update!(**args)
|
|
2467
|
+
@datapath_provider = args[:datapath_provider] if args.key?(:datapath_provider)
|
|
2499
2468
|
@default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
|
|
2500
2469
|
@enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
|
|
2501
2470
|
@network = args[:network] if args.key?(:network)
|
|
@@ -2503,8 +2472,8 @@ module Google
|
|
|
2503
2472
|
end
|
|
2504
2473
|
end
|
|
2505
2474
|
|
|
2506
|
-
# Configuration options for the NetworkPolicy feature.
|
|
2507
|
-
#
|
|
2475
|
+
# Configuration options for the NetworkPolicy feature. https://kubernetes.io/
|
|
2476
|
+
# docs/concepts/services-networking/networkpolicies/
|
|
2508
2477
|
class NetworkPolicy
|
|
2509
2478
|
include Google::Apis::Core::Hashable
|
|
2510
2479
|
|
|
@@ -2530,9 +2499,9 @@ module Google
|
|
|
2530
2499
|
end
|
|
2531
2500
|
end
|
|
2532
2501
|
|
|
2533
|
-
# Configuration for NetworkPolicy. This only tracks whether the addon
|
|
2534
|
-
#
|
|
2535
|
-
#
|
|
2502
|
+
# Configuration for NetworkPolicy. This only tracks whether the addon is enabled
|
|
2503
|
+
# or not on the Master, it does not track whether network policy is enabled for
|
|
2504
|
+
# the nodes.
|
|
2536
2505
|
class NetworkPolicyConfig
|
|
2537
2506
|
include Google::Apis::Core::Hashable
|
|
2538
2507
|
|
|
@@ -2556,39 +2525,35 @@ module Google
|
|
|
2556
2525
|
class NodeConfig
|
|
2557
2526
|
include Google::Apis::Core::Hashable
|
|
2558
2527
|
|
|
2559
|
-
# A list of hardware accelerators to be attached to each node.
|
|
2560
|
-
#
|
|
2561
|
-
# support for GPUs.
|
|
2528
|
+
# A list of hardware accelerators to be attached to each node. See https://cloud.
|
|
2529
|
+
# google.com/compute/docs/gpus for more information about support for GPUs.
|
|
2562
2530
|
# Corresponds to the JSON property `accelerators`
|
|
2563
2531
|
# @return [Array<Google::Apis::ContainerV1beta1::AcceleratorConfig>]
|
|
2564
2532
|
attr_accessor :accelerators
|
|
2565
2533
|
|
|
2566
|
-
# The Customer Managed Encryption Key used to encrypt the boot disk attached
|
|
2567
|
-
#
|
|
2568
|
-
#
|
|
2569
|
-
#
|
|
2570
|
-
#
|
|
2571
|
-
# see:
|
|
2572
|
-
# https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
|
2534
|
+
# The Customer Managed Encryption Key used to encrypt the boot disk attached to
|
|
2535
|
+
# each node in the node pool. This should be of the form projects/[
|
|
2536
|
+
# KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
|
|
2537
|
+
# . For more information about protecting resources with Cloud KMS Keys please
|
|
2538
|
+
# see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
|
2573
2539
|
# Corresponds to the JSON property `bootDiskKmsKey`
|
|
2574
2540
|
# @return [String]
|
|
2575
2541
|
attr_accessor :boot_disk_kms_key
|
|
2576
2542
|
|
|
2577
|
-
# Size of the disk attached to each node, specified in GB.
|
|
2578
|
-
#
|
|
2579
|
-
# If unspecified, the default disk size is 100GB.
|
|
2543
|
+
# Size of the disk attached to each node, specified in GB. The smallest allowed
|
|
2544
|
+
# disk size is 10GB. If unspecified, the default disk size is 100GB.
|
|
2580
2545
|
# Corresponds to the JSON property `diskSizeGb`
|
|
2581
2546
|
# @return [Fixnum]
|
|
2582
2547
|
attr_accessor :disk_size_gb
|
|
2583
2548
|
|
|
2584
|
-
# Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd')
|
|
2585
|
-
#
|
|
2549
|
+
# Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If
|
|
2550
|
+
# unspecified, the default disk type is 'pd-standard'
|
|
2586
2551
|
# Corresponds to the JSON property `diskType`
|
|
2587
2552
|
# @return [String]
|
|
2588
2553
|
attr_accessor :disk_type
|
|
2589
2554
|
|
|
2590
|
-
# The image type to use for this node. Note that for a given image type,
|
|
2591
|
-
#
|
|
2555
|
+
# The image type to use for this node. Note that for a given image type, the
|
|
2556
|
+
# latest version of it will be used.
|
|
2592
2557
|
# Corresponds to the JSON property `imageType`
|
|
2593
2558
|
# @return [String]
|
|
2594
2559
|
attr_accessor :image_type
|
|
@@ -2599,13 +2564,12 @@ module Google
|
|
|
2599
2564
|
attr_accessor :kubelet_config
|
|
2600
2565
|
|
|
2601
2566
|
# The map of Kubernetes labels (key/value pairs) to be applied to each node.
|
|
2602
|
-
# These will added in addition to any default label(s) that
|
|
2603
|
-
#
|
|
2604
|
-
#
|
|
2605
|
-
#
|
|
2606
|
-
# and
|
|
2607
|
-
#
|
|
2608
|
-
# https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
|
2567
|
+
# These will added in addition to any default label(s) that Kubernetes may apply
|
|
2568
|
+
# to the node. In case of conflict in label keys, the applied set may differ
|
|
2569
|
+
# depending on the Kubernetes version -- it's best to assume the behavior is
|
|
2570
|
+
# undefined and conflicts should be avoided. For more information, including
|
|
2571
|
+
# usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/
|
|
2572
|
+
# working-with-objects/labels/
|
|
2609
2573
|
# Corresponds to the JSON property `labels`
|
|
2610
2574
|
# @return [Hash<String,String>]
|
|
2611
2575
|
attr_accessor :labels
|
|
@@ -2615,105 +2579,80 @@ module Google
|
|
|
2615
2579
|
# @return [Google::Apis::ContainerV1beta1::LinuxNodeConfig]
|
|
2616
2580
|
attr_accessor :linux_node_config
|
|
2617
2581
|
|
|
2618
|
-
# The number of local SSD disks to be attached to the node.
|
|
2619
|
-
#
|
|
2620
|
-
#
|
|
2621
|
-
#
|
|
2622
|
-
# for more information.
|
|
2582
|
+
# The number of local SSD disks to be attached to the node. The limit for this
|
|
2583
|
+
# value is dependent upon the maximum number of disks available on a machine per
|
|
2584
|
+
# zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more
|
|
2585
|
+
# information.
|
|
2623
2586
|
# Corresponds to the JSON property `localSsdCount`
|
|
2624
2587
|
# @return [Fixnum]
|
|
2625
2588
|
attr_accessor :local_ssd_count
|
|
2626
2589
|
|
|
2627
|
-
# The name of a Google Compute Engine [machine
|
|
2628
|
-
#
|
|
2629
|
-
#
|
|
2630
|
-
# If unspecified, the default machine type is
|
|
2631
|
-
# `n1-standard-1`.
|
|
2590
|
+
# The name of a Google Compute Engine [machine type](https://cloud.google.com/
|
|
2591
|
+
# compute/docs/machine-types). If unspecified, the default machine type is `e2-
|
|
2592
|
+
# medium`.
|
|
2632
2593
|
# Corresponds to the JSON property `machineType`
|
|
2633
2594
|
# @return [String]
|
|
2634
2595
|
attr_accessor :machine_type
|
|
2635
2596
|
|
|
2636
|
-
# The metadata key/value pairs assigned to instances in the cluster.
|
|
2637
|
-
#
|
|
2638
|
-
#
|
|
2639
|
-
#
|
|
2640
|
-
#
|
|
2641
|
-
# "cluster-
|
|
2642
|
-
# "
|
|
2643
|
-
# "
|
|
2644
|
-
# "
|
|
2645
|
-
# "
|
|
2646
|
-
# "
|
|
2647
|
-
#
|
|
2648
|
-
#
|
|
2649
|
-
#
|
|
2650
|
-
# "instance-template"
|
|
2651
|
-
# "kube-env"
|
|
2652
|
-
# "startup-script"
|
|
2653
|
-
# "user-data"
|
|
2654
|
-
# "disable-address-manager"
|
|
2655
|
-
# "windows-startup-script-ps1"
|
|
2656
|
-
# "common-psm1"
|
|
2657
|
-
# "k8s-node-setup-psm1"
|
|
2658
|
-
# "install-ssh-psm1"
|
|
2659
|
-
# "user-profile-psm1"
|
|
2660
|
-
# "serial-port-logging-enable"
|
|
2661
|
-
# Values are free-form strings, and only have meaning as interpreted by
|
|
2662
|
-
# the image running in the instance. The only restriction placed on them is
|
|
2663
|
-
# that each value's size must be less than or equal to 32 KB.
|
|
2664
|
-
# The total size of all keys and values must be less than 512 KB.
|
|
2597
|
+
# The metadata key/value pairs assigned to instances in the cluster. Keys must
|
|
2598
|
+
# conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length.
|
|
2599
|
+
# These are reflected as part of a URL in the metadata server. Additionally, to
|
|
2600
|
+
# avoid ambiguity, keys must not conflict with any other metadata keys for the
|
|
2601
|
+
# project or be one of the reserved keys: - "cluster-location" - "cluster-name" -
|
|
2602
|
+
# "cluster-uid" - "configure-sh" - "containerd-configure-sh" - "enable-oslogin"
|
|
2603
|
+
# - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "
|
|
2604
|
+
# instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-
|
|
2605
|
+
# address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-
|
|
2606
|
+
# setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" - "serial-port-logging-
|
|
2607
|
+
# enable" Values are free-form strings, and only have meaning as interpreted by
|
|
2608
|
+
# the image running in the instance. The only restriction placed on them is that
|
|
2609
|
+
# each value's size must be less than or equal to 32 KB. The total size of all
|
|
2610
|
+
# keys and values must be less than 512 KB.
|
|
2665
2611
|
# Corresponds to the JSON property `metadata`
|
|
2666
2612
|
# @return [Hash<String,String>]
|
|
2667
2613
|
attr_accessor :metadata
|
|
2668
2614
|
|
|
2669
2615
|
# Minimum CPU platform to be used by this instance. The instance may be
|
|
2670
2616
|
# scheduled on the specified or newer CPU platform. Applicable values are the
|
|
2671
|
-
# friendly names of CPU platforms, such as
|
|
2672
|
-
#
|
|
2673
|
-
#
|
|
2674
|
-
#
|
|
2675
|
-
# platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-
|
|
2676
|
-
# platform)
|
|
2617
|
+
# friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` or `
|
|
2618
|
+
# minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to
|
|
2619
|
+
# specify min CPU platform](https://cloud.google.com/compute/docs/instances/
|
|
2620
|
+
# specify-min-cpu-platform)
|
|
2677
2621
|
# Corresponds to the JSON property `minCpuPlatform`
|
|
2678
2622
|
# @return [String]
|
|
2679
2623
|
attr_accessor :min_cpu_platform
|
|
2680
2624
|
|
|
2681
|
-
# Setting this field will assign instances of this
|
|
2682
|
-
#
|
|
2683
|
-
#
|
|
2684
|
-
# nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
|
|
2625
|
+
# Setting this field will assign instances of this pool to run on the specified
|
|
2626
|
+
# node group. This is useful for running workloads on [sole tenant nodes](https:/
|
|
2627
|
+
# /cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
|
|
2685
2628
|
# Corresponds to the JSON property `nodeGroup`
|
|
2686
2629
|
# @return [String]
|
|
2687
2630
|
attr_accessor :node_group
|
|
2688
2631
|
|
|
2689
|
-
# The set of Google API scopes to be made available on all of the
|
|
2690
|
-
#
|
|
2691
|
-
#
|
|
2692
|
-
#
|
|
2693
|
-
#
|
|
2694
|
-
#
|
|
2695
|
-
#
|
|
2696
|
-
#
|
|
2697
|
-
#
|
|
2698
|
-
# Registry](https://cloud.google.com/container-registry/)).
|
|
2699
|
-
# If unspecified, no scopes are added, unless Cloud Logging or Cloud
|
|
2700
|
-
# Monitoring are enabled, in which case their required scopes will be added.
|
|
2632
|
+
# The set of Google API scopes to be made available on all of the node VMs under
|
|
2633
|
+
# the "default" service account. The following scopes are recommended, but not
|
|
2634
|
+
# required, and by default are not included: * `https://www.googleapis.com/auth/
|
|
2635
|
+
# compute` is required for mounting persistent storage on your nodes. * `https://
|
|
2636
|
+
# www.googleapis.com/auth/devstorage.read_only` is required for communicating
|
|
2637
|
+
# with **gcr.io** (the [Google Container Registry](https://cloud.google.com/
|
|
2638
|
+
# container-registry/)). If unspecified, no scopes are added, unless Cloud
|
|
2639
|
+
# Logging or Cloud Monitoring are enabled, in which case their required scopes
|
|
2640
|
+
# will be added.
|
|
2701
2641
|
# Corresponds to the JSON property `oauthScopes`
|
|
2702
2642
|
# @return [Array<String>]
|
|
2703
2643
|
attr_accessor :oauth_scopes
|
|
2704
2644
|
|
|
2705
|
-
# Whether the nodes are created as preemptible VM instances. See:
|
|
2706
|
-
#
|
|
2707
|
-
#
|
|
2645
|
+
# Whether the nodes are created as preemptible VM instances. See: https://cloud.
|
|
2646
|
+
# google.com/compute/docs/instances/preemptible for more inforamtion about
|
|
2647
|
+
# preemptible VM instances.
|
|
2708
2648
|
# Corresponds to the JSON property `preemptible`
|
|
2709
2649
|
# @return [Boolean]
|
|
2710
2650
|
attr_accessor :preemptible
|
|
2711
2651
|
alias_method :preemptible?, :preemptible
|
|
2712
2652
|
|
|
2713
2653
|
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
|
|
2714
|
-
# reserving-zonal-resources)
|
|
2715
|
-
#
|
|
2716
|
-
# capacity from.
|
|
2654
|
+
# reserving-zonal-resources) is the configuration of desired reservation which
|
|
2655
|
+
# instances could take capacity from.
|
|
2717
2656
|
# Corresponds to the JSON property `reservationAffinity`
|
|
2718
2657
|
# @return [Google::Apis::ContainerV1beta1::ReservationAffinity]
|
|
2719
2658
|
attr_accessor :reservation_affinity
|
|
@@ -2723,9 +2662,9 @@ module Google
|
|
|
2723
2662
|
# @return [Google::Apis::ContainerV1beta1::SandboxConfig]
|
|
2724
2663
|
attr_accessor :sandbox_config
|
|
2725
2664
|
|
|
2726
|
-
# The Google Cloud Platform Service Account to be used by the node VMs.
|
|
2727
|
-
#
|
|
2728
|
-
#
|
|
2665
|
+
# The Google Cloud Platform Service Account to be used by the node VMs. Specify
|
|
2666
|
+
# the email address of the Service Account; otherwise, if no Service Account is
|
|
2667
|
+
# specified, the "default" service account is used.
|
|
2729
2668
|
# Corresponds to the JSON property `serviceAccount`
|
|
2730
2669
|
# @return [String]
|
|
2731
2670
|
attr_accessor :service_account
|
|
@@ -2736,16 +2675,16 @@ module Google
|
|
|
2736
2675
|
attr_accessor :shielded_instance_config
|
|
2737
2676
|
|
|
2738
2677
|
# The list of instance tags applied to all nodes. Tags are used to identify
|
|
2739
|
-
# valid sources or targets for network firewalls and are specified by
|
|
2740
|
-
#
|
|
2741
|
-
#
|
|
2678
|
+
# valid sources or targets for network firewalls and are specified by the client
|
|
2679
|
+
# during cluster or node pool creation. Each tag within the list must comply
|
|
2680
|
+
# with RFC1035.
|
|
2742
2681
|
# Corresponds to the JSON property `tags`
|
|
2743
2682
|
# @return [Array<String>]
|
|
2744
2683
|
attr_accessor :tags
|
|
2745
2684
|
|
|
2746
|
-
# List of kubernetes taints to be applied to each node.
|
|
2747
|
-
#
|
|
2748
|
-
#
|
|
2685
|
+
# List of kubernetes taints to be applied to each node. For more information,
|
|
2686
|
+
# including usage and the valid values, see: https://kubernetes.io/docs/concepts/
|
|
2687
|
+
# configuration/taint-and-toleration/
|
|
2749
2688
|
# Corresponds to the JSON property `taints`
|
|
2750
2689
|
# @return [Array<Google::Apis::ContainerV1beta1::NodeTaint>]
|
|
2751
2690
|
attr_accessor :taints
|
|
@@ -2791,35 +2730,32 @@ module Google
|
|
|
2791
2730
|
class NodeKubeletConfig
|
|
2792
2731
|
include Google::Apis::Core::Hashable
|
|
2793
2732
|
|
|
2794
|
-
# Enable CPU CFS quota enforcement for containers that specify CPU limits.
|
|
2795
|
-
#
|
|
2796
|
-
#
|
|
2797
|
-
#
|
|
2798
|
-
#
|
|
2799
|
-
#
|
|
2800
|
-
#
|
|
2801
|
-
# The default value is 'true' if unspecified.
|
|
2733
|
+
# Enable CPU CFS quota enforcement for containers that specify CPU limits. This
|
|
2734
|
+
# option is enabled by default which makes kubelet use CFS quota (https://www.
|
|
2735
|
+
# kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU
|
|
2736
|
+
# limits. Otherwise, CPU limits will not be enforced at all. Disable this option
|
|
2737
|
+
# to mitigate CPU throttling problems while still having your pods to be in
|
|
2738
|
+
# Guaranteed QoS class by specifying the CPU limits. The default value is 'true'
|
|
2739
|
+
# if unspecified.
|
|
2802
2740
|
# Corresponds to the JSON property `cpuCfsQuota`
|
|
2803
2741
|
# @return [Boolean]
|
|
2804
2742
|
attr_accessor :cpu_cfs_quota
|
|
2805
2743
|
alias_method :cpu_cfs_quota?, :cpu_cfs_quota
|
|
2806
2744
|
|
|
2807
|
-
# Set the CPU CFS quota period value 'cpu.cfs_period_us'.
|
|
2808
|
-
#
|
|
2809
|
-
#
|
|
2810
|
-
#
|
|
2811
|
-
# The value must be a positive duration.
|
|
2745
|
+
# Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a
|
|
2746
|
+
# sequence of decimal numbers, each with optional fraction and a unit suffix,
|
|
2747
|
+
# such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
|
|
2748
|
+
# . The value must be a positive duration.
|
|
2812
2749
|
# Corresponds to the JSON property `cpuCfsQuotaPeriod`
|
|
2813
2750
|
# @return [String]
|
|
2814
2751
|
attr_accessor :cpu_cfs_quota_period
|
|
2815
2752
|
|
|
2816
|
-
# Control the CPU management policy on the node.
|
|
2817
|
-
#
|
|
2818
|
-
#
|
|
2819
|
-
#
|
|
2820
|
-
#
|
|
2821
|
-
#
|
|
2822
|
-
# granted increased CPU affinity and exclusivity on the node.
|
|
2753
|
+
# Control the CPU management policy on the node. See https://kubernetes.io/docs/
|
|
2754
|
+
# tasks/administer-cluster/cpu-management-policies/ The following values are
|
|
2755
|
+
# allowed. - "none": the default, which represents the existing scheduling
|
|
2756
|
+
# behavior. - "static": allows pods with certain resource characteristics to be
|
|
2757
|
+
# granted increased CPU affinity and exclusivity on the node. The default value
|
|
2758
|
+
# is 'none' if unspecified.
|
|
2823
2759
|
# Corresponds to the JSON property `cpuManagerPolicy`
|
|
2824
2760
|
# @return [String]
|
|
2825
2761
|
attr_accessor :cpu_manager_policy
|
|
@@ -2853,8 +2789,8 @@ module Google
|
|
|
2853
2789
|
attr_accessor :auto_upgrade
|
|
2854
2790
|
alias_method :auto_upgrade?, :auto_upgrade
|
|
2855
2791
|
|
|
2856
|
-
# AutoUpgradeOptions defines the set of options for the user to control how
|
|
2857
|
-
#
|
|
2792
|
+
# AutoUpgradeOptions defines the set of options for the user to control how the
|
|
2793
|
+
# Auto Upgrades will proceed.
|
|
2858
2794
|
# Corresponds to the JSON property `upgradeOptions`
|
|
2859
2795
|
# @return [Google::Apis::ContainerV1beta1::AutoUpgradeOptions]
|
|
2860
2796
|
attr_accessor :upgrade_options
|
|
@@ -2871,12 +2807,12 @@ module Google
|
|
|
2871
2807
|
end
|
|
2872
2808
|
end
|
|
2873
2809
|
|
|
2874
|
-
# NodePool contains the name and configuration for a cluster's node pool.
|
|
2875
|
-
#
|
|
2876
|
-
# specification, under the control of the cluster master. They may have a set
|
|
2877
|
-
#
|
|
2878
|
-
#
|
|
2879
|
-
#
|
|
2810
|
+
# NodePool contains the name and configuration for a cluster's node pool. Node
|
|
2811
|
+
# pools are a set of nodes (i.e. VM's), with a common configuration and
|
|
2812
|
+
# specification, under the control of the cluster master. They may have a set of
|
|
2813
|
+
# Kubernetes labels applied to them, which may be used to reference them during
|
|
2814
|
+
# pod scheduling. They may also be resized up or down, to accommodate the
|
|
2815
|
+
# workload.
|
|
2880
2816
|
class NodePool
|
|
2881
2817
|
include Google::Apis::Core::Hashable
|
|
2882
2818
|
|
|
@@ -2896,25 +2832,23 @@ module Google
|
|
|
2896
2832
|
# @return [Google::Apis::ContainerV1beta1::NodeConfig]
|
|
2897
2833
|
attr_accessor :config
|
|
2898
2834
|
|
|
2899
|
-
# The initial node count for the pool. You must ensure that your
|
|
2900
|
-
#
|
|
2901
|
-
#
|
|
2902
|
-
#
|
|
2835
|
+
# The initial node count for the pool. You must ensure that your Compute Engine [
|
|
2836
|
+
# resource quota](https://cloud.google.com/compute/quotas) is sufficient for
|
|
2837
|
+
# this number of instances. You must also have available firewall and routes
|
|
2838
|
+
# quota.
|
|
2903
2839
|
# Corresponds to the JSON property `initialNodeCount`
|
|
2904
2840
|
# @return [Fixnum]
|
|
2905
2841
|
attr_accessor :initial_node_count
|
|
2906
2842
|
|
|
2907
|
-
# [Output only] The resource URLs of the [managed instance
|
|
2908
|
-
#
|
|
2909
|
-
# of-managed-instances)
|
|
2843
|
+
# [Output only] The resource URLs of the [managed instance groups](https://cloud.
|
|
2844
|
+
# google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
|
|
2910
2845
|
# associated with this node pool.
|
|
2911
2846
|
# Corresponds to the JSON property `instanceGroupUrls`
|
|
2912
2847
|
# @return [Array<String>]
|
|
2913
2848
|
attr_accessor :instance_group_urls
|
|
2914
2849
|
|
|
2915
|
-
# The list of Google Compute Engine
|
|
2916
|
-
#
|
|
2917
|
-
# NodePool's nodes should be located.
|
|
2850
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
|
2851
|
+
# docs/zones#available) in which the NodePool's nodes should be located.
|
|
2918
2852
|
# Corresponds to the JSON property `locations`
|
|
2919
2853
|
# @return [Array<String>]
|
|
2920
2854
|
attr_accessor :locations
|
|
@@ -2950,30 +2884,26 @@ module Google
|
|
|
2950
2884
|
# @return [String]
|
|
2951
2885
|
attr_accessor :status
|
|
2952
2886
|
|
|
2953
|
-
# [Output only] Additional information about the current status of this
|
|
2954
|
-
#
|
|
2887
|
+
# [Output only] Additional information about the current status of this node
|
|
2888
|
+
# pool instance, if available.
|
|
2955
2889
|
# Corresponds to the JSON property `statusMessage`
|
|
2956
2890
|
# @return [String]
|
|
2957
2891
|
attr_accessor :status_message
|
|
2958
2892
|
|
|
2959
2893
|
# These upgrade settings control the level of parallelism and the level of
|
|
2960
|
-
# disruption caused by an upgrade.
|
|
2961
|
-
#
|
|
2962
|
-
#
|
|
2963
|
-
#
|
|
2964
|
-
#
|
|
2965
|
-
#
|
|
2966
|
-
#
|
|
2967
|
-
#
|
|
2968
|
-
#
|
|
2969
|
-
#
|
|
2970
|
-
#
|
|
2971
|
-
#
|
|
2972
|
-
#
|
|
2973
|
-
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
|
2974
|
-
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
|
2975
|
-
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
|
2976
|
-
# there are always at least 4 nodes available.
|
|
2894
|
+
# disruption caused by an upgrade. maxUnavailable controls the number of nodes
|
|
2895
|
+
# that can be simultaneously unavailable. maxSurge controls the number of
|
|
2896
|
+
# additional nodes that can be added to the node pool temporarily for the time
|
|
2897
|
+
# of the upgrade to increase the number of available nodes. (maxUnavailable +
|
|
2898
|
+
# maxSurge) determines the level of parallelism (how many nodes are being
|
|
2899
|
+
# upgraded at the same time). Note: upgrades inevitably introduce some
|
|
2900
|
+
# disruption since workloads need to be moved from old nodes to new, upgraded
|
|
2901
|
+
# ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
|
|
2902
|
+
# limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
|
|
2903
|
+
# node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
|
|
2904
|
+
# upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
|
|
2905
|
+
# upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
|
|
2906
|
+
# same time. This ensures that there are always at least 4 nodes available.
|
|
2977
2907
|
# Corresponds to the JSON property `upgradeSettings`
|
|
2978
2908
|
# @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
|
|
2979
2909
|
attr_accessor :upgrade_settings
|
|
@@ -3024,14 +2954,13 @@ module Google
|
|
|
3024
2954
|
attr_accessor :enabled
|
|
3025
2955
|
alias_method :enabled?, :enabled
|
|
3026
2956
|
|
|
3027
|
-
# Maximum number of nodes in the NodePool. Must be >= min_node_count. There
|
|
3028
|
-
#
|
|
2957
|
+
# Maximum number of nodes in the NodePool. Must be >= min_node_count. There has
|
|
2958
|
+
# to enough quota to scale up the cluster.
|
|
3029
2959
|
# Corresponds to the JSON property `maxNodeCount`
|
|
3030
2960
|
# @return [Fixnum]
|
|
3031
2961
|
attr_accessor :max_node_count
|
|
3032
2962
|
|
|
3033
|
-
# Minimum number of nodes in the NodePool. Must be >= 1 and <=
|
|
3034
|
-
# max_node_count.
|
|
2963
|
+
# Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.
|
|
3035
2964
|
# Corresponds to the JSON property `minNodeCount`
|
|
3036
2965
|
# @return [Fixnum]
|
|
3037
2966
|
attr_accessor :min_node_count
|
|
@@ -3050,8 +2979,7 @@ module Google
|
|
|
3050
2979
|
end
|
|
3051
2980
|
|
|
3052
2981
|
# Kubernetes taint is comprised of three fields: key, value, and effect. Effect
|
|
3053
|
-
# can only be one of three types:
|
|
3054
|
-
# See
|
|
2982
|
+
# can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See
|
|
3055
2983
|
# [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
|
|
3056
2984
|
# for more information, including usage and the valid values.
|
|
3057
2985
|
class NodeTaint
|
|
@@ -3084,12 +3012,32 @@ module Google
|
|
|
3084
3012
|
end
|
|
3085
3013
|
end
|
|
3086
3014
|
|
|
3015
|
+
# NotificationConfig is the configuration of notifications.
|
|
3016
|
+
class NotificationConfig
|
|
3017
|
+
include Google::Apis::Core::Hashable
|
|
3018
|
+
|
|
3019
|
+
# Pub/Sub specific notification config.
|
|
3020
|
+
# Corresponds to the JSON property `pubsub`
|
|
3021
|
+
# @return [Google::Apis::ContainerV1beta1::PubSub]
|
|
3022
|
+
attr_accessor :pubsub
|
|
3023
|
+
|
|
3024
|
+
def initialize(**args)
|
|
3025
|
+
update!(**args)
|
|
3026
|
+
end
|
|
3027
|
+
|
|
3028
|
+
# Update properties of this object
|
|
3029
|
+
def update!(**args)
|
|
3030
|
+
@pubsub = args[:pubsub] if args.key?(:pubsub)
|
|
3031
|
+
end
|
|
3032
|
+
end
|
|
3033
|
+
|
|
3087
3034
|
# This operation resource represents operations that may have happened or are
|
|
3088
3035
|
# happening on the cluster. All fields are output only.
|
|
3089
3036
|
class Operation
|
|
3090
3037
|
include Google::Apis::Core::Hashable
|
|
3091
3038
|
|
|
3092
|
-
# Which conditions caused the current cluster state.
|
|
3039
|
+
# Which conditions caused the current cluster state. Deprecated. Use field error
|
|
3040
|
+
# instead.
|
|
3093
3041
|
# Corresponds to the JSON property `clusterConditions`
|
|
3094
3042
|
# @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
|
|
3095
3043
|
attr_accessor :cluster_conditions
|
|
@@ -3099,18 +3047,25 @@ module Google
|
|
|
3099
3047
|
# @return [String]
|
|
3100
3048
|
attr_accessor :detail
|
|
3101
3049
|
|
|
3102
|
-
# [Output only] The time the operation completed, in
|
|
3103
|
-
#
|
|
3050
|
+
# [Output only] The time the operation completed, in [RFC3339](https://www.ietf.
|
|
3051
|
+
# org/rfc/rfc3339.txt) text format.
|
|
3104
3052
|
# Corresponds to the JSON property `endTime`
|
|
3105
3053
|
# @return [String]
|
|
3106
3054
|
attr_accessor :end_time
|
|
3107
3055
|
|
|
3108
|
-
#
|
|
3109
|
-
# [
|
|
3110
|
-
#
|
|
3111
|
-
#
|
|
3112
|
-
# [
|
|
3113
|
-
#
|
|
3056
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
3057
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
3058
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
3059
|
+
# data: error code, error message, and error details. You can find out more
|
|
3060
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
3061
|
+
# //cloud.google.com/apis/design/errors).
|
|
3062
|
+
# Corresponds to the JSON property `error`
|
|
3063
|
+
# @return [Google::Apis::ContainerV1beta1::Status]
|
|
3064
|
+
attr_accessor :error
|
|
3065
|
+
|
|
3066
|
+
# [Output only] The name of the Google Compute Engine [zone](https://cloud.
|
|
3067
|
+
# google.com/compute/docs/regions-zones/regions-zones#available) or [region](
|
|
3068
|
+
# https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
|
|
3114
3069
|
# in which the cluster resides.
|
|
3115
3070
|
# Corresponds to the JSON property `location`
|
|
3116
3071
|
# @return [String]
|
|
@@ -3121,7 +3076,8 @@ module Google
|
|
|
3121
3076
|
# @return [String]
|
|
3122
3077
|
attr_accessor :name
|
|
3123
3078
|
|
|
3124
|
-
# Which conditions caused the current node pool state.
|
|
3079
|
+
# Which conditions caused the current node pool state. Deprecated. Use field
|
|
3080
|
+
# error instead.
|
|
3125
3081
|
# Corresponds to the JSON property `nodepoolConditions`
|
|
3126
3082
|
# @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
|
|
3127
3083
|
attr_accessor :nodepool_conditions
|
|
@@ -3141,8 +3097,8 @@ module Google
|
|
|
3141
3097
|
# @return [String]
|
|
3142
3098
|
attr_accessor :self_link
|
|
3143
3099
|
|
|
3144
|
-
# [Output only] The time the operation started, in
|
|
3145
|
-
#
|
|
3100
|
+
# [Output only] The time the operation started, in [RFC3339](https://www.ietf.
|
|
3101
|
+
# org/rfc/rfc3339.txt) text format.
|
|
3146
3102
|
# Corresponds to the JSON property `startTime`
|
|
3147
3103
|
# @return [String]
|
|
3148
3104
|
attr_accessor :start_time
|
|
@@ -3153,6 +3109,7 @@ module Google
|
|
|
3153
3109
|
attr_accessor :status
|
|
3154
3110
|
|
|
3155
3111
|
# Output only. If an error has occurred, a textual description of the error.
|
|
3112
|
+
# Deprecated. Use field error instead.
|
|
3156
3113
|
# Corresponds to the JSON property `statusMessage`
|
|
3157
3114
|
# @return [String]
|
|
3158
3115
|
attr_accessor :status_message
|
|
@@ -3162,9 +3119,9 @@ module Google
|
|
|
3162
3119
|
# @return [String]
|
|
3163
3120
|
attr_accessor :target_link
|
|
3164
3121
|
|
|
3165
|
-
# The name of the Google Compute Engine
|
|
3166
|
-
#
|
|
3167
|
-
#
|
|
3122
|
+
# The name of the Google Compute Engine [zone](https://cloud.google.com/compute/
|
|
3123
|
+
# docs/zones#available) in which the operation is taking place. This field is
|
|
3124
|
+
# deprecated, use location instead.
|
|
3168
3125
|
# Corresponds to the JSON property `zone`
|
|
3169
3126
|
# @return [String]
|
|
3170
3127
|
attr_accessor :zone
|
|
@@ -3178,6 +3135,7 @@ module Google
|
|
|
3178
3135
|
@cluster_conditions = args[:cluster_conditions] if args.key?(:cluster_conditions)
|
|
3179
3136
|
@detail = args[:detail] if args.key?(:detail)
|
|
3180
3137
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
3138
|
+
@error = args[:error] if args.key?(:error)
|
|
3181
3139
|
@location = args[:location] if args.key?(:location)
|
|
3182
3140
|
@name = args[:name] if args.key?(:name)
|
|
3183
3141
|
@nodepool_conditions = args[:nodepool_conditions] if args.key?(:nodepool_conditions)
|
|
@@ -3196,18 +3154,15 @@ module Google
|
|
|
3196
3154
|
class OperationProgress
|
|
3197
3155
|
include Google::Apis::Core::Hashable
|
|
3198
3156
|
|
|
3199
|
-
# Progress metric bundle, for example:
|
|
3200
|
-
#
|
|
3201
|
-
# `name: "
|
|
3202
|
-
# or
|
|
3203
|
-
# metrics: [`name: "progress", double_value: 0.56`,
|
|
3204
|
-
# `name: "progress scale", double_value: 1.0`]
|
|
3157
|
+
# Progress metric bundle, for example: metrics: [`name: "nodes done", int_value:
|
|
3158
|
+
# 15`, `name: "nodes total", int_value: 32`] or metrics: [`name: "progress",
|
|
3159
|
+
# double_value: 0.56`, `name: "progress scale", double_value: 1.0`]
|
|
3205
3160
|
# Corresponds to the JSON property `metrics`
|
|
3206
3161
|
# @return [Array<Google::Apis::ContainerV1beta1::Metric>]
|
|
3207
3162
|
attr_accessor :metrics
|
|
3208
3163
|
|
|
3209
|
-
# A non-parameterized string describing an operation stage.
|
|
3210
|
-
#
|
|
3164
|
+
# A non-parameterized string describing an operation stage. Unset for single-
|
|
3165
|
+
# stage operations.
|
|
3211
3166
|
# Corresponds to the JSON property `name`
|
|
3212
3167
|
# @return [String]
|
|
3213
3168
|
attr_accessor :name
|
|
@@ -3217,8 +3172,7 @@ module Google
|
|
|
3217
3172
|
# @return [Array<Google::Apis::ContainerV1beta1::OperationProgress>]
|
|
3218
3173
|
attr_accessor :stages
|
|
3219
3174
|
|
|
3220
|
-
# Status of an operation stage.
|
|
3221
|
-
# Unset for single-stage operations.
|
|
3175
|
+
# Status of an operation stage. Unset for single-stage operations.
|
|
3222
3176
|
# Corresponds to the JSON property `status`
|
|
3223
3177
|
# @return [String]
|
|
3224
3178
|
attr_accessor :status
|
|
@@ -3267,9 +3221,9 @@ module Google
|
|
|
3267
3221
|
attr_accessor :enable_private_endpoint
|
|
3268
3222
|
alias_method :enable_private_endpoint?, :enable_private_endpoint
|
|
3269
3223
|
|
|
3270
|
-
# Whether nodes have internal IP addresses only. If enabled, all nodes are
|
|
3271
|
-
#
|
|
3272
|
-
#
|
|
3224
|
+
# Whether nodes have internal IP addresses only. If enabled, all nodes are given
|
|
3225
|
+
# only RFC 1918 private addresses and communicate with the master via private
|
|
3226
|
+
# networking.
|
|
3273
3227
|
# Corresponds to the JSON property `enablePrivateNodes`
|
|
3274
3228
|
# @return [Boolean]
|
|
3275
3229
|
attr_accessor :enable_private_nodes
|
|
@@ -3280,10 +3234,10 @@ module Google
|
|
|
3280
3234
|
# @return [Google::Apis::ContainerV1beta1::PrivateClusterMasterGlobalAccessConfig]
|
|
3281
3235
|
attr_accessor :master_global_access_config
|
|
3282
3236
|
|
|
3283
|
-
# The IP range in CIDR notation to use for the hosted master network. This
|
|
3284
|
-
#
|
|
3285
|
-
#
|
|
3286
|
-
#
|
|
3237
|
+
# The IP range in CIDR notation to use for the hosted master network. This range
|
|
3238
|
+
# will be used for assigning internal IP addresses to the master or set of
|
|
3239
|
+
# masters, as well as the ILB VIP. This range must not overlap with any other
|
|
3240
|
+
# ranges in use within the cluster's network.
|
|
3287
3241
|
# Corresponds to the JSON property `masterIpv4CidrBlock`
|
|
3288
3242
|
# @return [String]
|
|
3289
3243
|
attr_accessor :master_ipv4_cidr_block
|
|
@@ -3339,36 +3293,52 @@ module Google
|
|
|
3339
3293
|
end
|
|
3340
3294
|
end
|
|
3341
3295
|
|
|
3296
|
+
# Pub/Sub specific notification config.
|
|
3297
|
+
class PubSub
|
|
3298
|
+
include Google::Apis::Core::Hashable
|
|
3299
|
+
|
|
3300
|
+
# Enable notifications for Pub/Sub.
|
|
3301
|
+
# Corresponds to the JSON property `enabled`
|
|
3302
|
+
# @return [Boolean]
|
|
3303
|
+
attr_accessor :enabled
|
|
3304
|
+
alias_method :enabled?, :enabled
|
|
3305
|
+
|
|
3306
|
+
# The desired Pub/Sub topic to which notifications will be sent by GKE. Format
|
|
3307
|
+
# is `projects/`project`/topics/`topic``.
|
|
3308
|
+
# Corresponds to the JSON property `topic`
|
|
3309
|
+
# @return [String]
|
|
3310
|
+
attr_accessor :topic
|
|
3311
|
+
|
|
3312
|
+
def initialize(**args)
|
|
3313
|
+
update!(**args)
|
|
3314
|
+
end
|
|
3315
|
+
|
|
3316
|
+
# Update properties of this object
|
|
3317
|
+
def update!(**args)
|
|
3318
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
|
3319
|
+
@topic = args[:topic] if args.key?(:topic)
|
|
3320
|
+
end
|
|
3321
|
+
end
|
|
3322
|
+
|
|
3342
3323
|
# Represents an arbitrary window of time that recurs.
|
|
3343
3324
|
class RecurringTimeWindow
|
|
3344
3325
|
include Google::Apis::Core::Hashable
|
|
3345
3326
|
|
|
3346
|
-
# An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
|
|
3347
|
-
#
|
|
3348
|
-
#
|
|
3349
|
-
#
|
|
3350
|
-
#
|
|
3351
|
-
#
|
|
3352
|
-
#
|
|
3353
|
-
#
|
|
3354
|
-
#
|
|
3355
|
-
#
|
|
3356
|
-
#
|
|
3357
|
-
#
|
|
3358
|
-
# start time
|
|
3359
|
-
#
|
|
3360
|
-
#
|
|
3361
|
-
# </code>
|
|
3362
|
-
# Windows can span multiple days. Eg, to make the window encompass every
|
|
3363
|
-
# weekend from midnight Saturday till the last minute of Sunday UTC:
|
|
3364
|
-
# <code>
|
|
3365
|
-
# start time = 2019-01-05T00:00:00Z
|
|
3366
|
-
# end time = 2019-01-07T23:59:00Z
|
|
3367
|
-
# recurrence = FREQ=WEEKLY;BYDAY=SA
|
|
3368
|
-
# </code>
|
|
3369
|
-
# Note the start and end time's specific dates are largely arbitrary except
|
|
3370
|
-
# to specify duration of the window and when it first starts.
|
|
3371
|
-
# The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
|
|
3327
|
+
# An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this
|
|
3328
|
+
# window reccurs. They go on for the span of time between the start and end time.
|
|
3329
|
+
# For example, to have something repeat every weekday, you'd use: `FREQ=WEEKLY;
|
|
3330
|
+
# BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the
|
|
3331
|
+
# DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `
|
|
3332
|
+
# FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` This specifies how frequently the window
|
|
3333
|
+
# starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you'd use
|
|
3334
|
+
# something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-
|
|
3335
|
+
# 01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ``` Windows can
|
|
3336
|
+
# span multiple days. Eg, to make the window encompass every weekend from
|
|
3337
|
+
# midnight Saturday till the last minute of Sunday UTC: ``` start time = 2019-01-
|
|
3338
|
+
# 05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA
|
|
3339
|
+
# ``` Note the start and end time's specific dates are largely arbitrary except
|
|
3340
|
+
# to specify duration of the window and when it first starts. The FREQ values of
|
|
3341
|
+
# HOURLY, MINUTELY, and SECONDLY are not supported.
|
|
3372
3342
|
# Corresponds to the JSON property `recurrence`
|
|
3373
3343
|
# @return [String]
|
|
3374
3344
|
attr_accessor :recurrence
|
|
@@ -3389,11 +3359,10 @@ module Google
|
|
|
3389
3359
|
end
|
|
3390
3360
|
end
|
|
3391
3361
|
|
|
3392
|
-
# ReleaseChannel indicates which release channel a cluster is
|
|
3393
|
-
#
|
|
3394
|
-
#
|
|
3395
|
-
#
|
|
3396
|
-
# defaults to true and cannot be disabled.
|
|
3362
|
+
# ReleaseChannel indicates which release channel a cluster is subscribed to.
|
|
3363
|
+
# Release channels are arranged in order of risk. When a cluster is subscribed
|
|
3364
|
+
# to a release channel, Google maintains both the master version and the node
|
|
3365
|
+
# version. Node auto-upgrade defaults to true and cannot be disabled.
|
|
3397
3366
|
class ReleaseChannel
|
|
3398
3367
|
include Google::Apis::Core::Hashable
|
|
3399
3368
|
|
|
@@ -3416,9 +3385,8 @@ module Google
|
|
|
3416
3385
|
class ReleaseChannelConfig
|
|
3417
3386
|
include Google::Apis::Core::Hashable
|
|
3418
3387
|
|
|
3419
|
-
# Deprecated.
|
|
3420
|
-
#
|
|
3421
|
-
# field.
|
|
3388
|
+
# Deprecated. This field has been deprecated and replaced with the
|
|
3389
|
+
# valid_versions field.
|
|
3422
3390
|
# Corresponds to the JSON property `availableVersions`
|
|
3423
3391
|
# @return [Array<Google::Apis::ContainerV1beta1::AvailableVersion>]
|
|
3424
3392
|
attr_accessor :available_versions
|
|
@@ -3452,9 +3420,8 @@ module Google
|
|
|
3452
3420
|
end
|
|
3453
3421
|
|
|
3454
3422
|
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
|
|
3455
|
-
# reserving-zonal-resources)
|
|
3456
|
-
#
|
|
3457
|
-
# capacity from.
|
|
3423
|
+
# reserving-zonal-resources) is the configuration of desired reservation which
|
|
3424
|
+
# instances could take capacity from.
|
|
3458
3425
|
class ReservationAffinity
|
|
3459
3426
|
include Google::Apis::Core::Hashable
|
|
3460
3427
|
|
|
@@ -3464,8 +3431,8 @@ module Google
|
|
|
3464
3431
|
attr_accessor :consume_reservation_type
|
|
3465
3432
|
|
|
3466
3433
|
# Corresponds to the label key of a reservation resource. To target a
|
|
3467
|
-
# SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as
|
|
3468
|
-
#
|
|
3434
|
+
# SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as the
|
|
3435
|
+
# key and specify the name of your reservation as its value.
|
|
3469
3436
|
# Corresponds to the JSON property `key`
|
|
3470
3437
|
# @return [String]
|
|
3471
3438
|
attr_accessor :key
|
|
@@ -3487,8 +3454,8 @@ module Google
|
|
|
3487
3454
|
end
|
|
3488
3455
|
end
|
|
3489
3456
|
|
|
3490
|
-
# Contains information about amount of some resource in the cluster.
|
|
3491
|
-
#
|
|
3457
|
+
# Contains information about amount of some resource in the cluster. For memory,
|
|
3458
|
+
# value should be in GB.
|
|
3492
3459
|
class ResourceLimit
|
|
3493
3460
|
include Google::Apis::Core::Hashable
|
|
3494
3461
|
|
|
@@ -3558,36 +3525,35 @@ module Google
|
|
|
3558
3525
|
class RollbackNodePoolUpgradeRequest
|
|
3559
3526
|
include Google::Apis::Core::Hashable
|
|
3560
3527
|
|
|
3561
|
-
# Required. Deprecated. The name of the cluster to rollback.
|
|
3562
|
-
#
|
|
3528
|
+
# Required. Deprecated. The name of the cluster to rollback. This field has been
|
|
3529
|
+
# deprecated and replaced by the name field.
|
|
3563
3530
|
# Corresponds to the JSON property `clusterId`
|
|
3564
3531
|
# @return [String]
|
|
3565
3532
|
attr_accessor :cluster_id
|
|
3566
3533
|
|
|
3567
3534
|
# The name (project, location, cluster, node pool id) of the node poll to
|
|
3568
|
-
# rollback upgrade.
|
|
3569
|
-
#
|
|
3535
|
+
# rollback upgrade. Specified in the format `projects/*/locations/*/clusters/*/
|
|
3536
|
+
# nodePools/*`.
|
|
3570
3537
|
# Corresponds to the JSON property `name`
|
|
3571
3538
|
# @return [String]
|
|
3572
3539
|
attr_accessor :name
|
|
3573
3540
|
|
|
3574
|
-
# Required. Deprecated. The name of the node pool to rollback.
|
|
3575
|
-
#
|
|
3541
|
+
# Required. Deprecated. The name of the node pool to rollback. This field has
|
|
3542
|
+
# been deprecated and replaced by the name field.
|
|
3576
3543
|
# Corresponds to the JSON property `nodePoolId`
|
|
3577
3544
|
# @return [String]
|
|
3578
3545
|
attr_accessor :node_pool_id
|
|
3579
3546
|
|
|
3580
3547
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
|
3581
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
|
3582
|
-
#
|
|
3548
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
|
3549
|
+
# deprecated and replaced by the name field.
|
|
3583
3550
|
# Corresponds to the JSON property `projectId`
|
|
3584
3551
|
# @return [String]
|
|
3585
3552
|
attr_accessor :project_id
|
|
3586
3553
|
|
|
3587
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
|
3588
|
-
#
|
|
3589
|
-
#
|
|
3590
|
-
# field.
|
|
3554
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
|
3555
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
|
3556
|
+
# This field has been deprecated and replaced by the name field.
|
|
3591
3557
|
# Corresponds to the JSON property `zone`
|
|
3592
3558
|
# @return [String]
|
|
3593
3559
|
attr_accessor :zone
|
|
@@ -3684,35 +3650,34 @@ module Google
|
|
|
3684
3650
|
class SetAddonsConfigRequest
|
|
3685
3651
|
include Google::Apis::Core::Hashable
|
|
3686
3652
|
|
|
3687
|
-
# Configuration for the addons that can be automatically spun up in the
|
|
3688
|
-
#
|
|
3653
|
+
# Configuration for the addons that can be automatically spun up in the cluster,
|
|
3654
|
+
# enabling additional functionality.
|
|
3689
3655
|
# Corresponds to the JSON property `addonsConfig`
|
|
3690
3656
|
# @return [Google::Apis::ContainerV1beta1::AddonsConfig]
|
|
3691
3657
|
attr_accessor :addons_config
|
|
3692
3658
|
|
|
3693
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
|
3694
|
-
#
|
|
3659
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
|
3660
|
+
# deprecated and replaced by the name field.
|
|
3695
3661
|
# Corresponds to the JSON property `clusterId`
|
|
3696
3662
|
# @return [String]
|
|
3697
3663
|
attr_accessor :cluster_id
|
|
3698
3664
|
|
|
3699
|
-
# The name (project, location, cluster) of the cluster to set addons.
|
|
3700
|
-
#
|
|
3665
|
+
# The name (project, location, cluster) of the cluster to set addons. Specified
|
|
3666
|
+
# in the format `projects/*/locations/*/clusters/*`.
|
|
3701
3667
|
# Corresponds to the JSON property `name`
|
|
3702
3668
|
# @return [String]
|
|
3703
3669
|
attr_accessor :name
|
|
3704
3670
|
|
|
3705
3671
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
|
3706
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
|
3707
|
-
#
|
|
3672
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
|
3673
|
+
# deprecated and replaced by the name field.
|
|
3708
3674
|
# Corresponds to the JSON property `projectId`
|
|
3709
3675
|
# @return [String]
|
|
3710
3676
|
attr_accessor :project_id
|
|
3711
3677
|
|
|
3712
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
|
3713
|
-
#
|
|
3714
|
-
#
|
|
3715
|
-
# field.
|
|
3678
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
|
3679
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
|
3680
|
+
# This field has been deprecated and replaced by the name field.
|
|
3716
3681
|
# Corresponds to the JSON property `zone`
|
|
3717
3682
|
# @return [String]
|
|
3718
3683
|
attr_accessor :zone
|
|
@@ -3737,18 +3702,17 @@ module Google
|
|
|
3737
3702
|
class SetLabelsRequest
|
|
3738
3703
|
include Google::Apis::Core::Hashable
|
|
3739
3704
|
|
|
3740
|
-
# Required. Deprecated. The name of the cluster.
|
|
3741
|
-
#
|
|
3705
|
+
# Required. Deprecated. The name of the cluster. This field has been deprecated
|
|
3706
|
+
# and replaced by the name field.
|
|
3742
3707
|
# Corresponds to the JSON property `clusterId`
|
|
3743
3708
|
# @return [String]
|
|
3744
3709
|
attr_accessor :cluster_id
|
|
3745
3710
|
|
|
3746
3711
|
# Required. The fingerprint of the previous set of labels for this resource,
|
|
3747
|
-
# used to detect conflicts. The fingerprint is initially generated by
|
|
3748
|
-
#
|
|
3749
|
-
#
|
|
3750
|
-
#
|
|
3751
|
-
# resource to get the latest fingerprint.
|
|
3712
|
+
# used to detect conflicts. The fingerprint is initially generated by Kubernetes
|
|
3713
|
+
# Engine and changes after every request to modify or update labels. You must
|
|
3714
|
+
# always provide an up-to-date fingerprint hash when updating or changing labels.
|
|
3715
|
+
# Make a `get()` request to the resource to get the latest fingerprint.
|
|
3752
3716
|
# Corresponds to the JSON property `labelFingerprint`
|
|
3753
3717
|
# @return [String]
|
|
3754
3718
|
attr_accessor :label_fingerprint
|
|
@@ -3760,8 +3724,8 @@ module Google
|
|
|
3760
3724
|
attr_accessor :name
|
|
3761
3725
|
|
|
3762
3726
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
|
3763
|
-
# number](https://developers.google.com/console/help/new/#projectnumber).
|
|
3764
|
-
#
|
|
3727
|
+
# number](https://developers.google.com/console/help/new/#projectnumber). This
|
|
3728
|
+
# field has been deprecated and replaced by the name field.
|
|
3765
3729
|
# Corresponds to the JSON property `projectId`
|
|
3766
3730
|
# @return [String]
|
|
3767
3731
|
attr_accessor :project_id
|
|
@@ -3771,10 +3735,9 @@ module Google
|
|
|
3771
3735
|
# @return [Hash<String,String>]
|
|
3772
3736
|
attr_accessor :resource_labels
|
|
3773
3737
|
|
|
3774
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
|
3775
|
-
#
|
|
3776
|
-
#
|
|
3777
|
-
# field.
|
|
3738
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
|
3739
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
|
3740
|
+
# This field has been deprecated and replaced by the name field.
|
|
3778
3741
|
# Corresponds to the JSON property `zone`
|
|
3779
3742
|
# @return [String]
|
|
3780
3743
|
attr_accessor :zone
|
|
@@ -3799,8 +3762,8 @@ module Google
|
|
|
3799
3762
|
class SetLegacyAbacRequest
|
|
3800
3763
|
include Google::Apis::Core::Hashable
|
|
3801
3764
|
|
|
3802
|
-
# Required. Deprecated. The name of the cluster to update.
|
|
3803
|
-
#
|
|
3765
|
+
# Required. Deprecated. The name of the cluster to update. This field has been
|
|
3766
|
+
# deprecated and replaced by the name field.
|
|
3804
3767
|
# Corresponds to the JSON property `clusterId`
|
|
3805
3768
|
# @return [String]
|
|
3806
3769
|
attr_accessor :cluster_id
|
|
@@ -3818,16 +3781,15 @@ module Google
|
|
|
3818
3781
|
attr_accessor :name
|
|
3819
3782
|
|
|
3820
3783
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
|
3821
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
|
3822
|
-
#
|
|
3784
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
|
3785
|
+
# deprecated and replaced by the name field.
|
|
3823
3786
|
# Corresponds to the JSON property `projectId`
|
|
3824
3787
|
# @return [String]
|
|
3825
3788
|
attr_accessor :project_id
|
|
3826
3789
|
|
|
3827
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
|
3828
|
-
#
|
|
3829
|
-
#
|
|
3830
|
-
# field.
|
|
3790
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
|
3791
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
|
3792
|
+
# This field has been deprecated and replaced by the name field.
|
|
3831
3793
|
# Corresponds to the JSON property `zone`
|
|
3832
3794
|
# @return [String]
|
|
3833
3795
|
attr_accessor :zone
|
|
@@ -3850,18 +3812,18 @@ module Google
|
|
|
3850
3812
|
class SetLocationsRequest
|
|
3851
3813
|
include Google::Apis::Core::Hashable
|
|
3852
3814
|
|
|
3853
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
|
3854
|
-
#
|
|
3815
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
|
3816
|
+
# deprecated and replaced by the name field.
|
|
3855
3817
|
# Corresponds to the JSON property `clusterId`
|
|
3856
3818
|
# @return [String]
|
|
3857
3819
|
attr_accessor :cluster_id
|
|
3858
3820
|
|
|
3859
|
-
# Required. The desired list of Google Compute Engine
|
|
3860
|
-
#
|
|
3861
|
-
#
|
|
3862
|
-
#
|
|
3863
|
-
#
|
|
3864
|
-
#
|
|
3821
|
+
# Required. The desired list of Google Compute Engine [zones](https://cloud.
|
|
3822
|
+
# google.com/compute/docs/zones#available) in which the cluster's nodes should
|
|
3823
|
+
# be located. Changing the locations a cluster is in will result in nodes being
|
|
3824
|
+
# either created or removed from the cluster, depending on whether locations are
|
|
3825
|
+
# being added or removed. This list must always include the cluster's primary
|
|
3826
|
+
# zone.
|
|
3865
3827
|
# Corresponds to the JSON property `locations`
|
|
3866
3828
|
# @return [Array<String>]
|
|
3867
3829
|
attr_accessor :locations
|
|
@@ -3873,16 +3835,15 @@ module Google
|
|
|
3873
3835
|
attr_accessor :name
|
|
3874
3836
|
|
|
3875
3837
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
|
3876
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
|
3877
|
-
#
|
|
3838
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
|
3839
|
+
# deprecated and replaced by the name field.
|
|
3878
3840
|
# Corresponds to the JSON property `projectId`
|
|
3879
3841
|
# @return [String]
|
|
3880
3842
|
attr_accessor :project_id
|
|
3881
3843
|
|
|
3882
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
|
3883
|
-
#
|
|
3884
|
-
#
|
|
3885
|
-
# field.
|
|
3844
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
|
3845
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
|
3846
|
+
# This field has been deprecated and replaced by the name field.
|
|
3886
3847
|
# Corresponds to the JSON property `zone`
|
|
3887
3848
|
# @return [String]
|
|
3888
3849
|
attr_accessor :zone
|
|
@@ -3905,42 +3866,39 @@ module Google
|
|
|
3905
3866
|
class SetLoggingServiceRequest
|
|
3906
3867
|
include Google::Apis::Core::Hashable
|
|
3907
3868
|
|
|
3908
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
|
3909
|
-
#
|
|
3869
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
|
3870
|
+
# deprecated and replaced by the name field.
|
|
3910
3871
|
# Corresponds to the JSON property `clusterId`
|
|
3911
3872
|
# @return [String]
|
|
3912
3873
|
attr_accessor :cluster_id
|
|
3913
3874
|
|
|
3914
|
-
# Required. The logging service the cluster should use to write logs.
|
|
3915
|
-
#
|
|
3916
|
-
# * `logging.googleapis.com
|
|
3917
|
-
# service
|
|
3918
|
-
#
|
|
3919
|
-
#
|
|
3920
|
-
#
|
|
3921
|
-
# If left as an empty string,`logging.googleapis.com/kubernetes` will be
|
|
3922
|
-
# used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
|
|
3875
|
+
# Required. The logging service the cluster should use to write logs. Currently
|
|
3876
|
+
# available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging
|
|
3877
|
+
# service with a Kubernetes-native resource model * `logging.googleapis.com` -
|
|
3878
|
+
# The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none`
|
|
3879
|
+
# - no logs will be exported from the cluster. If left as an empty string,`
|
|
3880
|
+
# logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.
|
|
3881
|
+
# googleapis.com` for earlier versions.
|
|
3923
3882
|
# Corresponds to the JSON property `loggingService`
|
|
3924
3883
|
# @return [String]
|
|
3925
3884
|
attr_accessor :logging_service
|
|
3926
3885
|
|
|
3927
|
-
# The name (project, location, cluster) of the cluster to set logging.
|
|
3928
|
-
#
|
|
3886
|
+
# The name (project, location, cluster) of the cluster to set logging. Specified
|
|
3887
|
+
# in the format `projects/*/locations/*/clusters/*`.
|
|
3929
3888
|
# Corresponds to the JSON property `name`
|
|
3930
3889
|
# @return [String]
|
|
3931
3890
|
attr_accessor :name
|
|
3932
3891
|
|
|
3933
3892
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
|
3934
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
|
3935
|
-
#
|
|
3893
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
|
3894
|
+
# deprecated and replaced by the name field.
|
|
3936
3895
|
# Corresponds to the JSON property `projectId`
|
|
3937
3896
|
# @return [String]
|
|
3938
3897
|
attr_accessor :project_id
|
|
3939
3898
|
|
|
3940
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
|
3941
|
-
#
|
|
3942
|
-
#
|
|
3943
|
-
# field.
|
|
3899
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
|
3900
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
|
3901
|
+
# This field has been deprecated and replaced by the name field.
|
|
3944
3902
|
# Corresponds to the JSON property `zone`
|
|
3945
3903
|
# @return [String]
|
|
3946
3904
|
attr_accessor :zone
|
|
@@ -3974,21 +3932,19 @@ module Google
|
|
|
3974
3932
|
attr_accessor :maintenance_policy
|
|
3975
3933
|
|
|
3976
3934
|
# The name (project, location, cluster id) of the cluster to set maintenance
|
|
3977
|
-
# policy.
|
|
3978
|
-
# Specified in the format `projects/*/locations/*/clusters/*`.
|
|
3935
|
+
# policy. Specified in the format `projects/*/locations/*/clusters/*`.
|
|
3979
3936
|
# Corresponds to the JSON property `name`
|
|
3980
3937
|
# @return [String]
|
|
3981
3938
|
attr_accessor :name
|
|
3982
3939
|
|
|
3983
|
-
# Required. The Google Developers Console [project ID or project
|
|
3984
|
-
#
|
|
3940
|
+
# Required. The Google Developers Console [project ID or project number](https://
|
|
3941
|
+
# support.google.com/cloud/answer/6158840).
|
|
3985
3942
|
# Corresponds to the JSON property `projectId`
|
|
3986
3943
|
# @return [String]
|
|
3987
3944
|
attr_accessor :project_id
|
|
3988
3945
|
|
|
3989
|
-
# Required. The name of the Google Compute Engine
|
|
3990
|
-
#
|
|
3991
|
-
# cluster resides.
|
|
3946
|
+
# Required. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
3947
|
+
# com/compute/docs/zones#available) in which the cluster resides.
|
|
3992
3948
|
# Corresponds to the JSON property `zone`
|
|
3993
3949
|
# @return [String]
|
|
3994
3950
|
attr_accessor :zone
|
|
@@ -4016,36 +3972,34 @@ module Google
|
|
|
4016
3972
|
# @return [String]
|
|
4017
3973
|
attr_accessor :action
|
|
4018
3974
|
|
|
4019
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
|
4020
|
-
#
|
|
3975
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
|
3976
|
+
# deprecated and replaced by the name field.
|
|
4021
3977
|
# Corresponds to the JSON property `clusterId`
|
|
4022
3978
|
# @return [String]
|
|
4023
3979
|
attr_accessor :cluster_id
|
|
4024
3980
|
|
|
4025
|
-
# The name (project, location, cluster) of the cluster to set auth.
|
|
4026
|
-
#
|
|
3981
|
+
# The name (project, location, cluster) of the cluster to set auth. Specified in
|
|
3982
|
+
# the format `projects/*/locations/*/clusters/*`.
|
|
4027
3983
|
# Corresponds to the JSON property `name`
|
|
4028
3984
|
# @return [String]
|
|
4029
3985
|
attr_accessor :name
|
|
4030
3986
|
|
|
4031
3987
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
|
4032
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
|
4033
|
-
#
|
|
3988
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
|
3989
|
+
# deprecated and replaced by the name field.
|
|
4034
3990
|
# Corresponds to the JSON property `projectId`
|
|
4035
3991
|
# @return [String]
|
|
4036
3992
|
attr_accessor :project_id
|
|
4037
3993
|
|
|
4038
3994
|
# The authentication information for accessing the master endpoint.
|
|
4039
|
-
# Authentication can be done using HTTP basic auth or using client
|
|
4040
|
-
# certificates.
|
|
3995
|
+
# Authentication can be done using HTTP basic auth or using client certificates.
|
|
4041
3996
|
# Corresponds to the JSON property `update`
|
|
4042
3997
|
# @return [Google::Apis::ContainerV1beta1::MasterAuth]
|
|
4043
3998
|
attr_accessor :update
|
|
4044
3999
|
|
|
4045
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
|
4046
|
-
#
|
|
4047
|
-
#
|
|
4048
|
-
# field.
|
|
4000
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
|
4001
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
|
4002
|
+
# This field has been deprecated and replaced by the name field.
|
|
4049
4003
|
# Corresponds to the JSON property `zone`
|
|
4050
4004
|
# @return [String]
|
|
4051
4005
|
attr_accessor :zone
|
|
@@ -4069,21 +4023,19 @@ module Google
|
|
|
4069
4023
|
class SetMonitoringServiceRequest
|
|
4070
4024
|
include Google::Apis::Core::Hashable
|
|
4071
4025
|
|
|
4072
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
|
4073
|
-
#
|
|
4026
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
|
4027
|
+
# deprecated and replaced by the name field.
|
|
4074
4028
|
# Corresponds to the JSON property `clusterId`
|
|
4075
4029
|
# @return [String]
|
|
4076
4030
|
attr_accessor :cluster_id
|
|
4077
4031
|
|
|
4078
4032
|
# Required. The monitoring service the cluster should use to write metrics.
|
|
4079
|
-
# Currently available options:
|
|
4080
|
-
#
|
|
4081
|
-
# service
|
|
4082
|
-
#
|
|
4083
|
-
#
|
|
4084
|
-
#
|
|
4085
|
-
# If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
|
|
4086
|
-
# used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
|
4033
|
+
# Currently available options: * "monitoring.googleapis.com/kubernetes" - The
|
|
4034
|
+
# Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.
|
|
4035
|
+
# googleapis.com` - The legacy Cloud Monitoring service (no longer available as
|
|
4036
|
+
# of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
|
|
4037
|
+
# as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
|
|
4038
|
+
# 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
|
4087
4039
|
# Corresponds to the JSON property `monitoringService`
|
|
4088
4040
|
# @return [String]
|
|
4089
4041
|
attr_accessor :monitoring_service
|
|
@@ -4095,16 +4047,15 @@ module Google
|
|
|
4095
4047
|
attr_accessor :name
|
|
4096
4048
|
|
|
4097
4049
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
|
4098
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
|
4099
|
-
#
|
|
4050
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
|
4051
|
+
# deprecated and replaced by the name field.
|
|
4100
4052
|
# Corresponds to the JSON property `projectId`
|
|
4101
4053
|
# @return [String]
|
|
4102
4054
|
attr_accessor :project_id
|
|
4103
4055
|
|
|
4104
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
|
4105
|
-
#
|
|
4106
|
-
#
|
|
4107
|
-
# field.
|
|
4056
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
|
4057
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
|
4058
|
+
# This field has been deprecated and replaced by the name field.
|
|
4108
4059
|
# Corresponds to the JSON property `zone`
|
|
4109
4060
|
# @return [String]
|
|
4110
4061
|
attr_accessor :zone
|
|
@@ -4127,8 +4078,8 @@ module Google
|
|
|
4127
4078
|
class SetNetworkPolicyRequest
|
|
4128
4079
|
include Google::Apis::Core::Hashable
|
|
4129
4080
|
|
|
4130
|
-
# Required. Deprecated. The name of the cluster.
|
|
4131
|
-
#
|
|
4081
|
+
# Required. Deprecated. The name of the cluster. This field has been deprecated
|
|
4082
|
+
# and replaced by the name field.
|
|
4132
4083
|
# Corresponds to the JSON property `clusterId`
|
|
4133
4084
|
# @return [String]
|
|
4134
4085
|
attr_accessor :cluster_id
|
|
@@ -4139,23 +4090,22 @@ module Google
|
|
|
4139
4090
|
# @return [String]
|
|
4140
4091
|
attr_accessor :name
|
|
4141
4092
|
|
|
4142
|
-
# Configuration options for the NetworkPolicy feature.
|
|
4143
|
-
#
|
|
4093
|
+
# Configuration options for the NetworkPolicy feature. https://kubernetes.io/
|
|
4094
|
+
# docs/concepts/services-networking/networkpolicies/
|
|
4144
4095
|
# Corresponds to the JSON property `networkPolicy`
|
|
4145
4096
|
# @return [Google::Apis::ContainerV1beta1::NetworkPolicy]
|
|
4146
4097
|
attr_accessor :network_policy
|
|
4147
4098
|
|
|
4148
4099
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
|
4149
|
-
# number](https://developers.google.com/console/help/new/#projectnumber).
|
|
4150
|
-
#
|
|
4100
|
+
# number](https://developers.google.com/console/help/new/#projectnumber). This
|
|
4101
|
+
# field has been deprecated and replaced by the name field.
|
|
4151
4102
|
# Corresponds to the JSON property `projectId`
|
|
4152
4103
|
# @return [String]
|
|
4153
4104
|
attr_accessor :project_id
|
|
4154
4105
|
|
|
4155
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
|
4156
|
-
#
|
|
4157
|
-
#
|
|
4158
|
-
# field.
|
|
4106
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
|
4107
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
|
4108
|
+
# This field has been deprecated and replaced by the name field.
|
|
4159
4109
|
# Corresponds to the JSON property `zone`
|
|
4160
4110
|
# @return [String]
|
|
4161
4111
|
attr_accessor :zone
|
|
@@ -4184,36 +4134,35 @@ module Google
|
|
|
4184
4134
|
# @return [Google::Apis::ContainerV1beta1::NodePoolAutoscaling]
|
|
4185
4135
|
attr_accessor :autoscaling
|
|
4186
4136
|
|
|
4187
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
|
4188
|
-
#
|
|
4137
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
|
4138
|
+
# deprecated and replaced by the name field.
|
|
4189
4139
|
# Corresponds to the JSON property `clusterId`
|
|
4190
4140
|
# @return [String]
|
|
4191
4141
|
attr_accessor :cluster_id
|
|
4192
4142
|
|
|
4193
4143
|
# The name (project, location, cluster, node pool) of the node pool to set
|
|
4194
|
-
# autoscaler settings. Specified in the format
|
|
4195
|
-
#
|
|
4144
|
+
# autoscaler settings. Specified in the format `projects/*/locations/*/clusters/*
|
|
4145
|
+
# /nodePools/*`.
|
|
4196
4146
|
# Corresponds to the JSON property `name`
|
|
4197
4147
|
# @return [String]
|
|
4198
4148
|
attr_accessor :name
|
|
4199
4149
|
|
|
4200
|
-
# Required. Deprecated. The name of the node pool to upgrade.
|
|
4201
|
-
#
|
|
4150
|
+
# Required. Deprecated. The name of the node pool to upgrade. This field has
|
|
4151
|
+
# been deprecated and replaced by the name field.
|
|
4202
4152
|
# Corresponds to the JSON property `nodePoolId`
|
|
4203
4153
|
# @return [String]
|
|
4204
4154
|
attr_accessor :node_pool_id
|
|
4205
4155
|
|
|
4206
4156
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
|
4207
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
|
4208
|
-
#
|
|
4157
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
|
4158
|
+
# deprecated and replaced by the name field.
|
|
4209
4159
|
# Corresponds to the JSON property `projectId`
|
|
4210
4160
|
# @return [String]
|
|
4211
4161
|
attr_accessor :project_id
|
|
4212
4162
|
|
|
4213
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
|
4214
|
-
#
|
|
4215
|
-
#
|
|
4216
|
-
# field.
|
|
4163
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
|
4164
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
|
4165
|
+
# This field has been deprecated and replaced by the name field.
|
|
4217
4166
|
# Corresponds to the JSON property `zone`
|
|
4218
4167
|
# @return [String]
|
|
4219
4168
|
attr_accessor :zone
|
|
@@ -4238,8 +4187,8 @@ module Google
|
|
|
4238
4187
|
class SetNodePoolManagementRequest
|
|
4239
4188
|
include Google::Apis::Core::Hashable
|
|
4240
4189
|
|
|
4241
|
-
# Required. Deprecated. The name of the cluster to update.
|
|
4242
|
-
#
|
|
4190
|
+
# Required. Deprecated. The name of the cluster to update. This field has been
|
|
4191
|
+
# deprecated and replaced by the name field.
|
|
4243
4192
|
# Corresponds to the JSON property `clusterId`
|
|
4244
4193
|
# @return [String]
|
|
4245
4194
|
attr_accessor :cluster_id
|
|
@@ -4251,29 +4200,28 @@ module Google
|
|
|
4251
4200
|
attr_accessor :management
|
|
4252
4201
|
|
|
4253
4202
|
# The name (project, location, cluster, node pool id) of the node pool to set
|
|
4254
|
-
# management properties. Specified in the format
|
|
4255
|
-
#
|
|
4203
|
+
# management properties. Specified in the format `projects/*/locations/*/
|
|
4204
|
+
# clusters/*/nodePools/*`.
|
|
4256
4205
|
# Corresponds to the JSON property `name`
|
|
4257
4206
|
# @return [String]
|
|
4258
4207
|
attr_accessor :name
|
|
4259
4208
|
|
|
4260
|
-
# Required. Deprecated. The name of the node pool to update.
|
|
4261
|
-
#
|
|
4209
|
+
# Required. Deprecated. The name of the node pool to update. This field has been
|
|
4210
|
+
# deprecated and replaced by the name field.
|
|
4262
4211
|
# Corresponds to the JSON property `nodePoolId`
|
|
4263
4212
|
# @return [String]
|
|
4264
4213
|
attr_accessor :node_pool_id
|
|
4265
4214
|
|
|
4266
4215
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
|
4267
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
|
4268
|
-
#
|
|
4216
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
|
4217
|
+
# deprecated and replaced by the name field.
|
|
4269
4218
|
# Corresponds to the JSON property `projectId`
|
|
4270
4219
|
# @return [String]
|
|
4271
4220
|
attr_accessor :project_id
|
|
4272
4221
|
|
|
4273
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
|
4274
|
-
#
|
|
4275
|
-
#
|
|
4276
|
-
# field.
|
|
4222
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
|
4223
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
|
4224
|
+
# This field has been deprecated and replaced by the name field.
|
|
4277
4225
|
# Corresponds to the JSON property `zone`
|
|
4278
4226
|
# @return [String]
|
|
4279
4227
|
attr_accessor :zone
|
|
@@ -4293,20 +4241,18 @@ module Google
|
|
|
4293
4241
|
end
|
|
4294
4242
|
end
|
|
4295
4243
|
|
|
4296
|
-
# SetNodePoolSizeRequest sets the size a node
|
|
4297
|
-
# pool.
|
|
4244
|
+
# SetNodePoolSizeRequest sets the size a node pool.
|
|
4298
4245
|
class SetNodePoolSizeRequest
|
|
4299
4246
|
include Google::Apis::Core::Hashable
|
|
4300
4247
|
|
|
4301
|
-
# Required. Deprecated. The name of the cluster to update.
|
|
4302
|
-
#
|
|
4248
|
+
# Required. Deprecated. The name of the cluster to update. This field has been
|
|
4249
|
+
# deprecated and replaced by the name field.
|
|
4303
4250
|
# Corresponds to the JSON property `clusterId`
|
|
4304
4251
|
# @return [String]
|
|
4305
4252
|
attr_accessor :cluster_id
|
|
4306
4253
|
|
|
4307
4254
|
# The name (project, location, cluster, node pool id) of the node pool to set
|
|
4308
|
-
# size.
|
|
4309
|
-
# Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
|
|
4255
|
+
# size. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
|
|
4310
4256
|
# Corresponds to the JSON property `name`
|
|
4311
4257
|
# @return [String]
|
|
4312
4258
|
attr_accessor :name
|
|
@@ -4316,23 +4262,22 @@ module Google
|
|
|
4316
4262
|
# @return [Fixnum]
|
|
4317
4263
|
attr_accessor :node_count
|
|
4318
4264
|
|
|
4319
|
-
# Required. Deprecated. The name of the node pool to update.
|
|
4320
|
-
#
|
|
4265
|
+
# Required. Deprecated. The name of the node pool to update. This field has been
|
|
4266
|
+
# deprecated and replaced by the name field.
|
|
4321
4267
|
# Corresponds to the JSON property `nodePoolId`
|
|
4322
4268
|
# @return [String]
|
|
4323
4269
|
attr_accessor :node_pool_id
|
|
4324
4270
|
|
|
4325
4271
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
|
4326
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
|
4327
|
-
#
|
|
4272
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
|
4273
|
+
# deprecated and replaced by the name field.
|
|
4328
4274
|
# Corresponds to the JSON property `projectId`
|
|
4329
4275
|
# @return [String]
|
|
4330
4276
|
attr_accessor :project_id
|
|
4331
4277
|
|
|
4332
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
|
4333
|
-
#
|
|
4334
|
-
#
|
|
4335
|
-
# field.
|
|
4278
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
|
4279
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
|
4280
|
+
# This field has been deprecated and replaced by the name field.
|
|
4336
4281
|
# Corresponds to the JSON property `zone`
|
|
4337
4282
|
# @return [String]
|
|
4338
4283
|
attr_accessor :zone
|
|
@@ -4356,20 +4301,20 @@ module Google
|
|
|
4356
4301
|
class ShieldedInstanceConfig
|
|
4357
4302
|
include Google::Apis::Core::Hashable
|
|
4358
4303
|
|
|
4359
|
-
# Defines whether the instance has integrity monitoring enabled.
|
|
4360
|
-
#
|
|
4361
|
-
#
|
|
4362
|
-
#
|
|
4363
|
-
#
|
|
4304
|
+
# Defines whether the instance has integrity monitoring enabled. Enables
|
|
4305
|
+
# monitoring and attestation of the boot integrity of the instance. The
|
|
4306
|
+
# attestation is performed against the integrity policy baseline. This baseline
|
|
4307
|
+
# is initially derived from the implicitly trusted boot image when the instance
|
|
4308
|
+
# is created.
|
|
4364
4309
|
# Corresponds to the JSON property `enableIntegrityMonitoring`
|
|
4365
4310
|
# @return [Boolean]
|
|
4366
4311
|
attr_accessor :enable_integrity_monitoring
|
|
4367
4312
|
alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
|
|
4368
4313
|
|
|
4369
|
-
# Defines whether the instance has Secure Boot enabled.
|
|
4370
|
-
#
|
|
4371
|
-
#
|
|
4372
|
-
#
|
|
4314
|
+
# Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure
|
|
4315
|
+
# that the system only runs authentic software by verifying the digital
|
|
4316
|
+
# signature of all boot components, and halting the boot process if signature
|
|
4317
|
+
# verification fails.
|
|
4373
4318
|
# Corresponds to the JSON property `enableSecureBoot`
|
|
4374
4319
|
# @return [Boolean]
|
|
4375
4320
|
attr_accessor :enable_secure_boot
|
|
@@ -4406,26 +4351,26 @@ module Google
|
|
|
4406
4351
|
end
|
|
4407
4352
|
end
|
|
4408
4353
|
|
|
4409
|
-
# StartIPRotationRequest creates a new IP for the cluster and then performs
|
|
4410
|
-
#
|
|
4354
|
+
# StartIPRotationRequest creates a new IP for the cluster and then performs a
|
|
4355
|
+
# node upgrade on each node pool to point to the new IP.
|
|
4411
4356
|
class StartIpRotationRequest
|
|
4412
4357
|
include Google::Apis::Core::Hashable
|
|
4413
4358
|
|
|
4414
|
-
# Required. Deprecated. The name of the cluster.
|
|
4415
|
-
#
|
|
4359
|
+
# Required. Deprecated. The name of the cluster. This field has been deprecated
|
|
4360
|
+
# and replaced by the name field.
|
|
4416
4361
|
# Corresponds to the JSON property `clusterId`
|
|
4417
4362
|
# @return [String]
|
|
4418
4363
|
attr_accessor :cluster_id
|
|
4419
4364
|
|
|
4420
|
-
# The name (project, location, cluster id) of the cluster to start IP
|
|
4421
|
-
#
|
|
4365
|
+
# The name (project, location, cluster id) of the cluster to start IP rotation.
|
|
4366
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
|
4422
4367
|
# Corresponds to the JSON property `name`
|
|
4423
4368
|
# @return [String]
|
|
4424
4369
|
attr_accessor :name
|
|
4425
4370
|
|
|
4426
4371
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
|
4427
|
-
# number](https://developers.google.com/console/help/new/#projectnumber).
|
|
4428
|
-
#
|
|
4372
|
+
# number](https://developers.google.com/console/help/new/#projectnumber). This
|
|
4373
|
+
# field has been deprecated and replaced by the name field.
|
|
4429
4374
|
# Corresponds to the JSON property `projectId`
|
|
4430
4375
|
# @return [String]
|
|
4431
4376
|
attr_accessor :project_id
|
|
@@ -4436,10 +4381,9 @@ module Google
|
|
|
4436
4381
|
attr_accessor :rotate_credentials
|
|
4437
4382
|
alias_method :rotate_credentials?, :rotate_credentials
|
|
4438
4383
|
|
|
4439
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
|
4440
|
-
#
|
|
4441
|
-
#
|
|
4442
|
-
# field.
|
|
4384
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
|
4385
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
|
4386
|
+
# This field has been deprecated and replaced by the name field.
|
|
4443
4387
|
# Corresponds to the JSON property `zone`
|
|
4444
4388
|
# @return [String]
|
|
4445
4389
|
attr_accessor :zone
|
|
@@ -4458,12 +4402,57 @@ module Google
|
|
|
4458
4402
|
end
|
|
4459
4403
|
end
|
|
4460
4404
|
|
|
4461
|
-
#
|
|
4462
|
-
#
|
|
4405
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
4406
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
4407
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
4408
|
+
# data: error code, error message, and error details. You can find out more
|
|
4409
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
4410
|
+
# //cloud.google.com/apis/design/errors).
|
|
4411
|
+
class Status
|
|
4412
|
+
include Google::Apis::Core::Hashable
|
|
4413
|
+
|
|
4414
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
|
4415
|
+
# Corresponds to the JSON property `code`
|
|
4416
|
+
# @return [Fixnum]
|
|
4417
|
+
attr_accessor :code
|
|
4418
|
+
|
|
4419
|
+
# A list of messages that carry the error details. There is a common set of
|
|
4420
|
+
# message types for APIs to use.
|
|
4421
|
+
# Corresponds to the JSON property `details`
|
|
4422
|
+
# @return [Array<Hash<String,Object>>]
|
|
4423
|
+
attr_accessor :details
|
|
4424
|
+
|
|
4425
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
|
4426
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
|
4427
|
+
# field, or localized by the client.
|
|
4428
|
+
# Corresponds to the JSON property `message`
|
|
4429
|
+
# @return [String]
|
|
4430
|
+
attr_accessor :message
|
|
4431
|
+
|
|
4432
|
+
def initialize(**args)
|
|
4433
|
+
update!(**args)
|
|
4434
|
+
end
|
|
4435
|
+
|
|
4436
|
+
# Update properties of this object
|
|
4437
|
+
def update!(**args)
|
|
4438
|
+
@code = args[:code] if args.key?(:code)
|
|
4439
|
+
@details = args[:details] if args.key?(:details)
|
|
4440
|
+
@message = args[:message] if args.key?(:message)
|
|
4441
|
+
end
|
|
4442
|
+
end
|
|
4443
|
+
|
|
4444
|
+
# StatusCondition describes why a cluster or a node pool has a certain status (e.
|
|
4445
|
+
# g., ERROR or DEGRADED).
|
|
4463
4446
|
class StatusCondition
|
|
4464
4447
|
include Google::Apis::Core::Hashable
|
|
4465
4448
|
|
|
4466
|
-
#
|
|
4449
|
+
# Canonical code of the condition.
|
|
4450
|
+
# Corresponds to the JSON property `canonicalCode`
|
|
4451
|
+
# @return [String]
|
|
4452
|
+
attr_accessor :canonical_code
|
|
4453
|
+
|
|
4454
|
+
# Machine-friendly representation of the condition Deprecated. Use
|
|
4455
|
+
# canonical_code instead.
|
|
4467
4456
|
# Corresponds to the JSON property `code`
|
|
4468
4457
|
# @return [String]
|
|
4469
4458
|
attr_accessor :code
|
|
@@ -4479,6 +4468,7 @@ module Google
|
|
|
4479
4468
|
|
|
4480
4469
|
# Update properties of this object
|
|
4481
4470
|
def update!(**args)
|
|
4471
|
+
@canonical_code = args[:canonical_code] if args.key?(:canonical_code)
|
|
4482
4472
|
@code = args[:code] if args.key?(:code)
|
|
4483
4473
|
@message = args[:message] if args.key?(:message)
|
|
4484
4474
|
end
|
|
@@ -4488,8 +4478,8 @@ module Google
|
|
|
4488
4478
|
class TimeWindow
|
|
4489
4479
|
include Google::Apis::Core::Hashable
|
|
4490
4480
|
|
|
4491
|
-
# The time that the window ends. The end time should take place after the
|
|
4492
|
-
#
|
|
4481
|
+
# The time that the window ends. The end time should take place after the start
|
|
4482
|
+
# time.
|
|
4493
4483
|
# Corresponds to the JSON property `endTime`
|
|
4494
4484
|
# @return [String]
|
|
4495
4485
|
attr_accessor :end_time
|
|
@@ -4547,36 +4537,34 @@ module Google
|
|
|
4547
4537
|
class UpdateClusterRequest
|
|
4548
4538
|
include Google::Apis::Core::Hashable
|
|
4549
4539
|
|
|
4550
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
|
4551
|
-
#
|
|
4540
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
|
4541
|
+
# deprecated and replaced by the name field.
|
|
4552
4542
|
# Corresponds to the JSON property `clusterId`
|
|
4553
4543
|
# @return [String]
|
|
4554
4544
|
attr_accessor :cluster_id
|
|
4555
4545
|
|
|
4556
|
-
# The name (project, location, cluster) of the cluster to update.
|
|
4557
|
-
#
|
|
4546
|
+
# The name (project, location, cluster) of the cluster to update. Specified in
|
|
4547
|
+
# the format `projects/*/locations/*/clusters/*`.
|
|
4558
4548
|
# Corresponds to the JSON property `name`
|
|
4559
4549
|
# @return [String]
|
|
4560
4550
|
attr_accessor :name
|
|
4561
4551
|
|
|
4562
4552
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
|
4563
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
|
4564
|
-
#
|
|
4553
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
|
4554
|
+
# deprecated and replaced by the name field.
|
|
4565
4555
|
# Corresponds to the JSON property `projectId`
|
|
4566
4556
|
# @return [String]
|
|
4567
4557
|
attr_accessor :project_id
|
|
4568
4558
|
|
|
4569
|
-
# ClusterUpdate describes an update to the cluster. Exactly one update can
|
|
4570
|
-
#
|
|
4571
|
-
# provided.
|
|
4559
|
+
# ClusterUpdate describes an update to the cluster. Exactly one update can be
|
|
4560
|
+
# applied to a cluster with each request, so at most one field can be provided.
|
|
4572
4561
|
# Corresponds to the JSON property `update`
|
|
4573
4562
|
# @return [Google::Apis::ContainerV1beta1::ClusterUpdate]
|
|
4574
4563
|
attr_accessor :update
|
|
4575
4564
|
|
|
4576
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
|
4577
|
-
#
|
|
4578
|
-
#
|
|
4579
|
-
# field.
|
|
4565
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
|
4566
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
|
4567
|
+
# This field has been deprecated and replaced by the name field.
|
|
4580
4568
|
# Corresponds to the JSON property `zone`
|
|
4581
4569
|
# @return [String]
|
|
4582
4570
|
attr_accessor :zone
|
|
@@ -4599,41 +4587,39 @@ module Google
|
|
|
4599
4587
|
class UpdateMasterRequest
|
|
4600
4588
|
include Google::Apis::Core::Hashable
|
|
4601
4589
|
|
|
4602
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
|
4603
|
-
#
|
|
4590
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
|
4591
|
+
# deprecated and replaced by the name field.
|
|
4604
4592
|
# Corresponds to the JSON property `clusterId`
|
|
4605
4593
|
# @return [String]
|
|
4606
4594
|
attr_accessor :cluster_id
|
|
4607
4595
|
|
|
4608
|
-
# Required. The Kubernetes version to change the master to.
|
|
4609
|
-
#
|
|
4610
|
-
#
|
|
4611
|
-
# - "
|
|
4612
|
-
# - "1.X": picks the highest valid
|
|
4613
|
-
#
|
|
4614
|
-
#
|
|
4615
|
-
# - "-": picks the default Kubernetes version
|
|
4596
|
+
# Required. The Kubernetes version to change the master to. Users may specify
|
|
4597
|
+
# either explicit versions offered by Kubernetes Engine or version aliases,
|
|
4598
|
+
# which have the following behavior: - "latest": picks the highest valid
|
|
4599
|
+
# Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.
|
|
4600
|
+
# X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version -
|
|
4601
|
+
# "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the default
|
|
4602
|
+
# Kubernetes version
|
|
4616
4603
|
# Corresponds to the JSON property `masterVersion`
|
|
4617
4604
|
# @return [String]
|
|
4618
4605
|
attr_accessor :master_version
|
|
4619
4606
|
|
|
4620
|
-
# The name (project, location, cluster) of the cluster to update.
|
|
4621
|
-
#
|
|
4607
|
+
# The name (project, location, cluster) of the cluster to update. Specified in
|
|
4608
|
+
# the format `projects/*/locations/*/clusters/*`.
|
|
4622
4609
|
# Corresponds to the JSON property `name`
|
|
4623
4610
|
# @return [String]
|
|
4624
4611
|
attr_accessor :name
|
|
4625
4612
|
|
|
4626
4613
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
|
4627
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
|
4628
|
-
#
|
|
4614
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
|
4615
|
+
# deprecated and replaced by the name field.
|
|
4629
4616
|
# Corresponds to the JSON property `projectId`
|
|
4630
4617
|
# @return [String]
|
|
4631
4618
|
attr_accessor :project_id
|
|
4632
4619
|
|
|
4633
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
|
4634
|
-
#
|
|
4635
|
-
#
|
|
4636
|
-
# field.
|
|
4620
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
|
4621
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
|
4622
|
+
# This field has been deprecated and replaced by the name field.
|
|
4637
4623
|
# Corresponds to the JSON property `zone`
|
|
4638
4624
|
# @return [String]
|
|
4639
4625
|
attr_accessor :zone
|
|
@@ -4656,8 +4642,8 @@ module Google
|
|
|
4656
4642
|
class UpdateNodePoolRequest
|
|
4657
4643
|
include Google::Apis::Core::Hashable
|
|
4658
4644
|
|
|
4659
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
|
4660
|
-
#
|
|
4645
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
|
4646
|
+
# deprecated and replaced by the name field.
|
|
4661
4647
|
# Corresponds to the JSON property `clusterId`
|
|
4662
4648
|
# @return [String]
|
|
4663
4649
|
attr_accessor :cluster_id
|
|
@@ -4677,66 +4663,59 @@ module Google
|
|
|
4677
4663
|
# @return [Google::Apis::ContainerV1beta1::LinuxNodeConfig]
|
|
4678
4664
|
attr_accessor :linux_node_config
|
|
4679
4665
|
|
|
4680
|
-
# The desired list of Google Compute Engine
|
|
4681
|
-
#
|
|
4682
|
-
#
|
|
4683
|
-
#
|
|
4684
|
-
#
|
|
4666
|
+
# The desired list of Google Compute Engine [zones](https://cloud.google.com/
|
|
4667
|
+
# compute/docs/zones#available) in which the node pool's nodes should be located.
|
|
4668
|
+
# Changing the locations for a node pool will result in nodes being either
|
|
4669
|
+
# created or removed from the node pool, depending on whether locations are
|
|
4670
|
+
# being added or removed.
|
|
4685
4671
|
# Corresponds to the JSON property `locations`
|
|
4686
4672
|
# @return [Array<String>]
|
|
4687
4673
|
attr_accessor :locations
|
|
4688
4674
|
|
|
4689
|
-
# The name (project, location, cluster, node pool) of the node pool to
|
|
4690
|
-
#
|
|
4691
|
-
# `projects/*/locations/*/clusters/*/nodePools/*`.
|
|
4675
|
+
# The name (project, location, cluster, node pool) of the node pool to update.
|
|
4676
|
+
# Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
|
|
4692
4677
|
# Corresponds to the JSON property `name`
|
|
4693
4678
|
# @return [String]
|
|
4694
4679
|
attr_accessor :name
|
|
4695
4680
|
|
|
4696
|
-
# Required. Deprecated. The name of the node pool to upgrade.
|
|
4697
|
-
#
|
|
4681
|
+
# Required. Deprecated. The name of the node pool to upgrade. This field has
|
|
4682
|
+
# been deprecated and replaced by the name field.
|
|
4698
4683
|
# Corresponds to the JSON property `nodePoolId`
|
|
4699
4684
|
# @return [String]
|
|
4700
4685
|
attr_accessor :node_pool_id
|
|
4701
4686
|
|
|
4702
|
-
# Required. The Kubernetes version to change the nodes to (typically an
|
|
4703
|
-
# upgrade).
|
|
4687
|
+
# Required. The Kubernetes version to change the nodes to (typically an upgrade).
|
|
4704
4688
|
# Users may specify either explicit versions offered by Kubernetes Engine or
|
|
4705
|
-
# version aliases, which have the following behavior:
|
|
4706
|
-
# - "
|
|
4707
|
-
# - "1.X": picks the highest valid
|
|
4708
|
-
# - "1.X.Y": picks
|
|
4709
|
-
#
|
|
4710
|
-
# - "-": picks the Kubernetes master version
|
|
4689
|
+
# version aliases, which have the following behavior: - "latest": picks the
|
|
4690
|
+
# highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N
|
|
4691
|
+
# patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the
|
|
4692
|
+
# 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-":
|
|
4693
|
+
# picks the Kubernetes master version
|
|
4711
4694
|
# Corresponds to the JSON property `nodeVersion`
|
|
4712
4695
|
# @return [String]
|
|
4713
4696
|
attr_accessor :node_version
|
|
4714
4697
|
|
|
4715
4698
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
|
4716
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
|
4717
|
-
#
|
|
4699
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
|
4700
|
+
# deprecated and replaced by the name field.
|
|
4718
4701
|
# Corresponds to the JSON property `projectId`
|
|
4719
4702
|
# @return [String]
|
|
4720
4703
|
attr_accessor :project_id
|
|
4721
4704
|
|
|
4722
4705
|
# These upgrade settings control the level of parallelism and the level of
|
|
4723
|
-
# disruption caused by an upgrade.
|
|
4724
|
-
#
|
|
4725
|
-
#
|
|
4726
|
-
#
|
|
4727
|
-
#
|
|
4728
|
-
#
|
|
4729
|
-
#
|
|
4730
|
-
#
|
|
4731
|
-
#
|
|
4732
|
-
#
|
|
4733
|
-
#
|
|
4734
|
-
#
|
|
4735
|
-
#
|
|
4736
|
-
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
|
4737
|
-
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
|
4738
|
-
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
|
4739
|
-
# there are always at least 4 nodes available.
|
|
4706
|
+
# disruption caused by an upgrade. maxUnavailable controls the number of nodes
|
|
4707
|
+
# that can be simultaneously unavailable. maxSurge controls the number of
|
|
4708
|
+
# additional nodes that can be added to the node pool temporarily for the time
|
|
4709
|
+
# of the upgrade to increase the number of available nodes. (maxUnavailable +
|
|
4710
|
+
# maxSurge) determines the level of parallelism (how many nodes are being
|
|
4711
|
+
# upgraded at the same time). Note: upgrades inevitably introduce some
|
|
4712
|
+
# disruption since workloads need to be moved from old nodes to new, upgraded
|
|
4713
|
+
# ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
|
|
4714
|
+
# limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
|
|
4715
|
+
# node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
|
|
4716
|
+
# upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
|
|
4717
|
+
# upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
|
|
4718
|
+
# same time. This ensures that there are always at least 4 nodes available.
|
|
4740
4719
|
# Corresponds to the JSON property `upgradeSettings`
|
|
4741
4720
|
# @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
|
|
4742
4721
|
attr_accessor :upgrade_settings
|
|
@@ -4747,10 +4726,9 @@ module Google
|
|
|
4747
4726
|
# @return [Google::Apis::ContainerV1beta1::WorkloadMetadataConfig]
|
|
4748
4727
|
attr_accessor :workload_metadata_config
|
|
4749
4728
|
|
|
4750
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
|
4751
|
-
#
|
|
4752
|
-
#
|
|
4753
|
-
# field.
|
|
4729
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
|
4730
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
|
4731
|
+
# This field has been deprecated and replaced by the name field.
|
|
4754
4732
|
# Corresponds to the JSON property `zone`
|
|
4755
4733
|
# @return [String]
|
|
4756
4734
|
attr_accessor :zone
|
|
@@ -4776,36 +4754,82 @@ module Google
|
|
|
4776
4754
|
end
|
|
4777
4755
|
end
|
|
4778
4756
|
|
|
4757
|
+
# UpgradeEvent is a notification sent to customers by the cluster server when a
|
|
4758
|
+
# resource is upgrading.
|
|
4759
|
+
class UpgradeEvent
|
|
4760
|
+
include Google::Apis::Core::Hashable
|
|
4761
|
+
|
|
4762
|
+
# Required. The current version before the upgrade.
|
|
4763
|
+
# Corresponds to the JSON property `currentVersion`
|
|
4764
|
+
# @return [String]
|
|
4765
|
+
attr_accessor :current_version
|
|
4766
|
+
|
|
4767
|
+
# Required. The operation associated with this upgrade.
|
|
4768
|
+
# Corresponds to the JSON property `operation`
|
|
4769
|
+
# @return [String]
|
|
4770
|
+
attr_accessor :operation
|
|
4771
|
+
|
|
4772
|
+
# Required. The time when the operation was started.
|
|
4773
|
+
# Corresponds to the JSON property `operationStartTime`
|
|
4774
|
+
# @return [String]
|
|
4775
|
+
attr_accessor :operation_start_time
|
|
4776
|
+
|
|
4777
|
+
# Optional. Optional relative path to the resource. For example in node pool
|
|
4778
|
+
# upgrades, the relative path of the node pool.
|
|
4779
|
+
# Corresponds to the JSON property `resource`
|
|
4780
|
+
# @return [String]
|
|
4781
|
+
attr_accessor :resource
|
|
4782
|
+
|
|
4783
|
+
# Required. The resource type that is upgrading.
|
|
4784
|
+
# Corresponds to the JSON property `resourceType`
|
|
4785
|
+
# @return [String]
|
|
4786
|
+
attr_accessor :resource_type
|
|
4787
|
+
|
|
4788
|
+
# Required. The target version for the upgrade.
|
|
4789
|
+
# Corresponds to the JSON property `targetVersion`
|
|
4790
|
+
# @return [String]
|
|
4791
|
+
attr_accessor :target_version
|
|
4792
|
+
|
|
4793
|
+
def initialize(**args)
|
|
4794
|
+
update!(**args)
|
|
4795
|
+
end
|
|
4796
|
+
|
|
4797
|
+
# Update properties of this object
|
|
4798
|
+
def update!(**args)
|
|
4799
|
+
@current_version = args[:current_version] if args.key?(:current_version)
|
|
4800
|
+
@operation = args[:operation] if args.key?(:operation)
|
|
4801
|
+
@operation_start_time = args[:operation_start_time] if args.key?(:operation_start_time)
|
|
4802
|
+
@resource = args[:resource] if args.key?(:resource)
|
|
4803
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
|
4804
|
+
@target_version = args[:target_version] if args.key?(:target_version)
|
|
4805
|
+
end
|
|
4806
|
+
end
|
|
4807
|
+
|
|
4779
4808
|
# These upgrade settings control the level of parallelism and the level of
|
|
4780
|
-
# disruption caused by an upgrade.
|
|
4781
|
-
#
|
|
4782
|
-
#
|
|
4783
|
-
#
|
|
4784
|
-
#
|
|
4785
|
-
#
|
|
4786
|
-
#
|
|
4787
|
-
#
|
|
4788
|
-
#
|
|
4789
|
-
#
|
|
4790
|
-
#
|
|
4791
|
-
#
|
|
4792
|
-
#
|
|
4793
|
-
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
|
4794
|
-
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
|
4795
|
-
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
|
4796
|
-
# there are always at least 4 nodes available.
|
|
4809
|
+
# disruption caused by an upgrade. maxUnavailable controls the number of nodes
|
|
4810
|
+
# that can be simultaneously unavailable. maxSurge controls the number of
|
|
4811
|
+
# additional nodes that can be added to the node pool temporarily for the time
|
|
4812
|
+
# of the upgrade to increase the number of available nodes. (maxUnavailable +
|
|
4813
|
+
# maxSurge) determines the level of parallelism (how many nodes are being
|
|
4814
|
+
# upgraded at the same time). Note: upgrades inevitably introduce some
|
|
4815
|
+
# disruption since workloads need to be moved from old nodes to new, upgraded
|
|
4816
|
+
# ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
|
|
4817
|
+
# limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
|
|
4818
|
+
# node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
|
|
4819
|
+
# upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
|
|
4820
|
+
# upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
|
|
4821
|
+
# same time. This ensures that there are always at least 4 nodes available.
|
|
4797
4822
|
class UpgradeSettings
|
|
4798
4823
|
include Google::Apis::Core::Hashable
|
|
4799
4824
|
|
|
4800
|
-
# The maximum number of nodes that can be created beyond the current size
|
|
4801
|
-
#
|
|
4825
|
+
# The maximum number of nodes that can be created beyond the current size of the
|
|
4826
|
+
# node pool during the upgrade process.
|
|
4802
4827
|
# Corresponds to the JSON property `maxSurge`
|
|
4803
4828
|
# @return [Fixnum]
|
|
4804
4829
|
attr_accessor :max_surge
|
|
4805
4830
|
|
|
4806
|
-
# The maximum number of nodes that can be simultaneously unavailable during
|
|
4807
|
-
#
|
|
4808
|
-
# Ready.
|
|
4831
|
+
# The maximum number of nodes that can be simultaneously unavailable during the
|
|
4832
|
+
# upgrade process. A node is considered available if its status is Ready.
|
|
4809
4833
|
# Corresponds to the JSON property `maxUnavailable`
|
|
4810
4834
|
# @return [Fixnum]
|
|
4811
4835
|
attr_accessor :max_unavailable
|
|
@@ -4831,8 +4855,7 @@ module Google
|
|
|
4831
4855
|
# @return [String]
|
|
4832
4856
|
attr_accessor :ip_cidr_range
|
|
4833
4857
|
|
|
4834
|
-
# Network Name.
|
|
4835
|
-
# Example: projects/my-project/global/networks/my-network
|
|
4858
|
+
# Network Name. Example: projects/my-project/global/networks/my-network
|
|
4836
4859
|
# Corresponds to the JSON property `network`
|
|
4837
4860
|
# @return [String]
|
|
4838
4861
|
attr_accessor :network
|
|
@@ -4842,16 +4865,16 @@ module Google
|
|
|
4842
4865
|
# @return [Array<Google::Apis::ContainerV1beta1::UsableSubnetworkSecondaryRange>]
|
|
4843
4866
|
attr_accessor :secondary_ip_ranges
|
|
4844
4867
|
|
|
4845
|
-
# A human readable status message representing the reasons for cases where
|
|
4846
|
-
#
|
|
4847
|
-
#
|
|
4868
|
+
# A human readable status message representing the reasons for cases where the
|
|
4869
|
+
# caller cannot use the secondary ranges under the subnet. For example if the
|
|
4870
|
+
# secondary_ip_ranges is empty due to a permission issue, an insufficient
|
|
4848
4871
|
# permission message will be given by status_message.
|
|
4849
4872
|
# Corresponds to the JSON property `statusMessage`
|
|
4850
4873
|
# @return [String]
|
|
4851
4874
|
attr_accessor :status_message
|
|
4852
4875
|
|
|
4853
|
-
# Subnetwork Name.
|
|
4854
|
-
#
|
|
4876
|
+
# Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/
|
|
4877
|
+
# my-subnet
|
|
4855
4878
|
# Corresponds to the JSON property `subnetwork`
|
|
4856
4879
|
# @return [String]
|
|
4857
4880
|
attr_accessor :subnetwork
|
|
@@ -4879,8 +4902,8 @@ module Google
|
|
|
4879
4902
|
# @return [String]
|
|
4880
4903
|
attr_accessor :ip_cidr_range
|
|
4881
4904
|
|
|
4882
|
-
# The name associated with this subnetwork secondary range, used when adding
|
|
4883
|
-
#
|
|
4905
|
+
# The name associated with this subnetwork secondary range, used when adding an
|
|
4906
|
+
# alias IP range to a VM instance.
|
|
4884
4907
|
# Corresponds to the JSON property `rangeName`
|
|
4885
4908
|
# @return [String]
|
|
4886
4909
|
attr_accessor :range_name
|
|
@@ -4902,9 +4925,9 @@ module Google
|
|
|
4902
4925
|
end
|
|
4903
4926
|
end
|
|
4904
4927
|
|
|
4905
|
-
# VerticalPodAutoscaling contains global, per-cluster information
|
|
4906
|
-
#
|
|
4907
|
-
#
|
|
4928
|
+
# VerticalPodAutoscaling contains global, per-cluster information required by
|
|
4929
|
+
# Vertical Pod Autoscaler to automatically adjust the resources of pods
|
|
4930
|
+
# controlled by it.
|
|
4908
4931
|
class VerticalPodAutoscaling
|
|
4909
4932
|
include Google::Apis::Core::Hashable
|
|
4910
4933
|
|
|
@@ -4924,8 +4947,7 @@ module Google
|
|
|
4924
4947
|
end
|
|
4925
4948
|
end
|
|
4926
4949
|
|
|
4927
|
-
# Configuration for the use of Kubernetes Service Accounts in GCP IAM
|
|
4928
|
-
# policies.
|
|
4950
|
+
# Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
|
|
4929
4951
|
class WorkloadIdentityConfig
|
|
4930
4952
|
include Google::Apis::Core::Hashable
|
|
4931
4953
|
|
|
@@ -4961,14 +4983,14 @@ module Google
|
|
|
4961
4983
|
class WorkloadMetadataConfig
|
|
4962
4984
|
include Google::Apis::Core::Hashable
|
|
4963
4985
|
|
|
4964
|
-
# Mode is the configuration for how to expose metadata to workloads running
|
|
4965
|
-
#
|
|
4986
|
+
# Mode is the configuration for how to expose metadata to workloads running on
|
|
4987
|
+
# the node pool.
|
|
4966
4988
|
# Corresponds to the JSON property `mode`
|
|
4967
4989
|
# @return [String]
|
|
4968
4990
|
attr_accessor :mode
|
|
4969
4991
|
|
|
4970
|
-
# NodeMetadata is the configuration for how to expose metadata to the
|
|
4971
|
-
#
|
|
4992
|
+
# NodeMetadata is the configuration for how to expose metadata to the workloads
|
|
4993
|
+
# running on the node.
|
|
4972
4994
|
# Corresponds to the JSON property `nodeMetadata`
|
|
4973
4995
|
# @return [String]
|
|
4974
4996
|
attr_accessor :node_metadata
|