google-api-client 0.43.0 → 0.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +218 -0
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +51 -86
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
- data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
- data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
- data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
- 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/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +205 -75
- data/generated/google/apis/apigee_v1/representations.rb +51 -0
- data/generated/google/apis/apigee_v1/service.rb +133 -34
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +45 -35
- data/generated/google/apis/appengine_v1/representations.rb +2 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -47
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
- data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -47
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +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 +355 -553
- data/generated/google/apis/bigquery_v2/representations.rb +1 -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 +50 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +50 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
- 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 +239 -354
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +90 -115
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +712 -1039
- data/generated/google/apis/cloudasset_v1/service.rb +125 -167
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +291 -343
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -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 +269 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -493
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1045 -317
- 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 +263 -373
- 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/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudsearch_v1/classes.rb +650 -781
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
- data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
- data/generated/google/apis/cloudshell_v1/service.rb +21 -25
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +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 +681 -127
- data/generated/google/apis/compute_alpha/representations.rb +110 -6
- data/generated/google/apis/compute_alpha/service.rb +695 -692
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +570 -70
- data/generated/google/apis/compute_beta/representations.rb +112 -1
- data/generated/google/apis/compute_beta/service.rb +608 -605
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +977 -85
- data/generated/google/apis/compute_v1/representations.rb +372 -0
- data/generated/google/apis/compute_v1/service.rb +747 -15
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +915 -965
- data/generated/google/apis/container_v1/representations.rb +53 -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 +1021 -1043
- data/generated/google/apis/container_v1beta1/representations.rb +70 -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 +456 -596
- 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 +454 -613
- 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 +3 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +93 -2
- data/generated/google/apis/content_v2_1/representations.rb +34 -0
- data/generated/google/apis/content_v2_1/service.rb +53 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -573
- 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 -973
- 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 +5 -8
- data/generated/google/apis/datafusion_v1/classes.rb +268 -397
- data/generated/google/apis/datafusion_v1/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1/service.rb +76 -89
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -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 +37 -4
- data/generated/google/apis/dataproc_v1/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +56 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +330 -472
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +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 +348 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +43 -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 +84 -44
- data/generated/google/apis/dialogflow_v2/representations.rb +52 -15
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +84 -44
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +52 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +37 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -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/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +55 -8
- data/generated/google/apis/displayvideo_v1/representations.rb +5 -0
- data/generated/google/apis/displayvideo_v1/service.rb +48 -36
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1076 -1302
- 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 +1186 -810
- data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +11 -18
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +14 -6
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +79 -15
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +14 -6
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +154 -173
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +334 -193
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +25 -47
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +26 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +0 -8
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +0 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +402 -498
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/fitness_v1.rb +85 -0
- data/generated/google/apis/fitness_v1/classes.rb +982 -0
- data/generated/google/apis/fitness_v1/representations.rb +398 -0
- data/generated/google/apis/fitness_v1/service.rb +626 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +35 -36
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +76 -83
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/games_v1/service.rb +84 -90
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -275
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +37 -43
- data/generated/google/apis/gmail_v1/service.rb +4 -3
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +563 -826
- data/generated/google/apis/healthcare_v1/service.rb +675 -853
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +828 -1102
- data/generated/google/apis/healthcare_v1beta1/representations.rb +20 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +895 -1139
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/iam_v1.rb +5 -2
- data/generated/google/apis/iam_v1/classes.rb +388 -592
- 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 +246 -355
- 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 +157 -254
- 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/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/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/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +170 -249
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
- data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +949 -1144
- data/generated/google/apis/ml_v1/representations.rb +64 -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 +103 -26
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +220 -322
- data/generated/google/apis/monitoring_v3/service.rb +121 -140
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +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 +226 -270
- 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 +1031 -411
- data/generated/google/apis/osconfig_v1beta/representations.rb +337 -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 +121 -12
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +39 -39
- 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/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +392 -518
- data/generated/google/apis/pubsub_v1/representations.rb +1 -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/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
- 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/{memcache_v1 → pubsublite_v1}/service.rb +195 -228
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +172 -208
- 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 +176 -212
- 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 +4 -3
- data/generated/google/apis/run_v1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +3 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
- 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 +6 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
- 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 +211 -363
- 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 +16 -6
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +21 -9
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +281 -103
- 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 +18 -48
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +279 -325
- data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
- 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 +1266 -2116
- 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 +93 -48
- data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
- data/generated/google/apis/serviceusage_v1/service.rb +5 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +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 -2157
- 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 +311 -370
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sql_v1beta4/service.rb +51 -56
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +8 -7
- data/generated/google/apis/storage_v1/representations.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +261 -339
- data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/service.rb +2 -2
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +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 +317 -382
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
- data/generated/google/apis/texttospeech_v1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +11 -0
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/{accessapproval_v1beta1.rb → trafficdirector_v2.rb} +9 -9
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +148 -175
- data/generated/google/apis/translate_v3/service.rb +122 -151
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -151
- data/generated/google/apis/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/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
- data/generated/google/apis/videointelligence_v1/service.rb +40 -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/webfonts_v1.rb +2 -3
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +2 -4
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +347 -0
- data/generated/google/apis/youtube_v3/representations.rb +176 -0
- data/generated/google/apis/youtube_v3/service.rb +78 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +31 -31
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -928
- data/generated/google/apis/memcache_v1/classes.rb +0 -1157
- data/generated/google/apis/memcache_v1/representations.rb +0 -471
- 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/representations.rb +0 -68
- data/generated/google/apis/oauth2_v2/service.rb +0 -158
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +0 -207
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
- data/generated/google/apis/storage_v1beta2.rb +0 -40
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
27
27
|
module ContainerV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200805'
|
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,8 +185,8 @@ 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
|
|
@@ -198,59 +198,49 @@ module Google
|
|
198
198
|
|
199
199
|
# Minimum CPU platform to be used by this instance. The instance may be
|
200
200
|
# 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"
|
201
|
+
# friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` or `
|
202
|
+
# minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to
|
203
|
+
# specify min CPU platform](https://cloud.google.com/compute/docs/instances/
|
204
|
+
# specify-min-cpu-platform) To unset the min cpu platform field pass "automatic"
|
208
205
|
# as field value.
|
209
206
|
# Corresponds to the JSON property `minCpuPlatform`
|
210
207
|
# @return [String]
|
211
208
|
attr_accessor :min_cpu_platform
|
212
209
|
|
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.
|
210
|
+
# The set of Google API scopes to be made available on all of the node VMs under
|
211
|
+
# the "default" service account. The following scopes are recommended, but not
|
212
|
+
# required, and by default are not included: * `https://www.googleapis.com/auth/
|
213
|
+
# compute` is required for mounting persistent storage on your nodes. * `https://
|
214
|
+
# www.googleapis.com/auth/devstorage.read_only` is required for communicating
|
215
|
+
# with **gcr.io** (the [Google Container Registry](https://cloud.google.com/
|
216
|
+
# container-registry/)). If unspecified, no scopes are added, unless Cloud
|
217
|
+
# Logging or Cloud Monitoring are enabled, in which case their required scopes
|
218
|
+
# will be added.
|
225
219
|
# Corresponds to the JSON property `oauthScopes`
|
226
220
|
# @return [Array<String>]
|
227
221
|
attr_accessor :oauth_scopes
|
228
222
|
|
229
|
-
# The Google Cloud Platform Service Account to be used by the node VMs.
|
230
|
-
#
|
231
|
-
#
|
223
|
+
# The Google Cloud Platform Service Account to be used by the node VMs. Specify
|
224
|
+
# the email address of the Service Account; otherwise, if no Service Account is
|
225
|
+
# specified, the "default" service account is used.
|
232
226
|
# Corresponds to the JSON property `serviceAccount`
|
233
227
|
# @return [String]
|
234
228
|
attr_accessor :service_account
|
235
229
|
|
236
230
|
# 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.
|
231
|
+
# disruption caused by an upgrade. maxUnavailable controls the number of nodes
|
232
|
+
# that can be simultaneously unavailable. maxSurge controls the number of
|
233
|
+
# additional nodes that can be added to the node pool temporarily for the time
|
234
|
+
# of the upgrade to increase the number of available nodes. (maxUnavailable +
|
235
|
+
# maxSurge) determines the level of parallelism (how many nodes are being
|
236
|
+
# upgraded at the same time). Note: upgrades inevitably introduce some
|
237
|
+
# disruption since workloads need to be moved from old nodes to new, upgraded
|
238
|
+
# ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
|
239
|
+
# limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
|
240
|
+
# node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
|
241
|
+
# upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
|
242
|
+
# upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
|
243
|
+
# same time. This ensures that there are always at least 4 nodes available.
|
254
244
|
# Corresponds to the JSON property `upgradeSettings`
|
255
245
|
# @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
|
256
246
|
attr_accessor :upgrade_settings
|
@@ -317,8 +307,8 @@ module Google
|
|
317
307
|
class BinaryAuthorization
|
318
308
|
include Google::Apis::Core::Hashable
|
319
309
|
|
320
|
-
# Enable Binary Authorization for this cluster. If enabled, all container
|
321
|
-
#
|
310
|
+
# Enable Binary Authorization for this cluster. If enabled, all container images
|
311
|
+
# will be validated by Google Binauthz.
|
322
312
|
# Corresponds to the JSON property `enabled`
|
323
313
|
# @return [Boolean]
|
324
314
|
attr_accessor :enabled
|
@@ -344,23 +334,22 @@ module Google
|
|
344
334
|
# @return [String]
|
345
335
|
attr_accessor :name
|
346
336
|
|
347
|
-
# Required. Deprecated. The server-assigned `name` of the operation.
|
348
|
-
#
|
337
|
+
# Required. Deprecated. The server-assigned `name` of the operation. This field
|
338
|
+
# has been deprecated and replaced by the name field.
|
349
339
|
# Corresponds to the JSON property `operationId`
|
350
340
|
# @return [String]
|
351
341
|
attr_accessor :operation_id
|
352
342
|
|
353
343
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
354
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
355
|
-
#
|
344
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
345
|
+
# deprecated and replaced by the name field.
|
356
346
|
# Corresponds to the JSON property `projectId`
|
357
347
|
# @return [String]
|
358
348
|
attr_accessor :project_id
|
359
349
|
|
360
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
361
|
-
#
|
362
|
-
#
|
363
|
-
# field.
|
350
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
351
|
+
# cloud.google.com/compute/docs/zones#available) in which the operation resides.
|
352
|
+
# This field has been deprecated and replaced by the name field.
|
364
353
|
# Corresponds to the JSON property `zone`
|
365
354
|
# @return [String]
|
366
355
|
attr_accessor :zone
|
@@ -447,8 +436,8 @@ module Google
|
|
447
436
|
class Cluster
|
448
437
|
include Google::Apis::Core::Hashable
|
449
438
|
|
450
|
-
# Configuration for the addons that can be automatically spun up in the
|
451
|
-
#
|
439
|
+
# Configuration for the addons that can be automatically spun up in the cluster,
|
440
|
+
# enabling additional functionality.
|
452
441
|
# Corresponds to the JSON property `addonsConfig`
|
453
442
|
# @return [Google::Apis::ContainerV1beta1::AddonsConfig]
|
454
443
|
attr_accessor :addons_config
|
@@ -458,10 +447,9 @@ module Google
|
|
458
447
|
# @return [Google::Apis::ContainerV1beta1::AuthenticatorGroupsConfig]
|
459
448
|
attr_accessor :authenticator_groups_config
|
460
449
|
|
461
|
-
# ClusterAutoscaling contains global, per-cluster information
|
462
|
-
#
|
463
|
-
#
|
464
|
-
# node pools based on the current needs.
|
450
|
+
# ClusterAutoscaling contains global, per-cluster information required by
|
451
|
+
# Cluster Autoscaler to automatically adjust the size of the cluster and create/
|
452
|
+
# delete node pools based on the current needs.
|
465
453
|
# Corresponds to the JSON property `autoscaling`
|
466
454
|
# @return [Google::Apis::ContainerV1beta1::ClusterAutoscaling]
|
467
455
|
attr_accessor :autoscaling
|
@@ -471,10 +459,10 @@ module Google
|
|
471
459
|
# @return [Google::Apis::ContainerV1beta1::BinaryAuthorization]
|
472
460
|
attr_accessor :binary_authorization
|
473
461
|
|
474
|
-
# The IP address range of the container pods in this cluster, in
|
475
|
-
#
|
476
|
-
#
|
477
|
-
#
|
462
|
+
# The IP address range of the container pods in this cluster, in [CIDR](http://
|
463
|
+
# en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.
|
464
|
+
# 0/14`). Leave blank to have one automatically chosen or specify a `/14` block
|
465
|
+
# in `10.0.0.0/8`.
|
478
466
|
# Corresponds to the JSON property `clusterIpv4Cidr`
|
479
467
|
# @return [String]
|
480
468
|
attr_accessor :cluster_ipv4_cidr
|
@@ -489,8 +477,8 @@ module Google
|
|
489
477
|
# @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
|
490
478
|
attr_accessor :conditions
|
491
479
|
|
492
|
-
# [Output only] The time the cluster was created, in
|
493
|
-
#
|
480
|
+
# [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.
|
481
|
+
# org/rfc/rfc3339.txt) text format.
|
494
482
|
# Corresponds to the JSON property `createTime`
|
495
483
|
# @return [String]
|
496
484
|
attr_accessor :create_time
|
@@ -500,18 +488,17 @@ module Google
|
|
500
488
|
# @return [String]
|
501
489
|
attr_accessor :current_master_version
|
502
490
|
|
503
|
-
# [Output only]
|
504
|
-
#
|
491
|
+
# [Output only] The number of nodes currently in the cluster. Deprecated. Call
|
492
|
+
# Kubernetes API directly to retrieve node information.
|
505
493
|
# Corresponds to the JSON property `currentNodeCount`
|
506
494
|
# @return [Fixnum]
|
507
495
|
attr_accessor :current_node_count
|
508
496
|
|
509
|
-
# [Output only] Deprecated, use
|
510
|
-
#
|
511
|
-
#
|
512
|
-
#
|
513
|
-
#
|
514
|
-
# of being upgraded, this reflects the minimum version of all nodes.
|
497
|
+
# [Output only] Deprecated, use [NodePool.version](https://cloud.google.com/
|
498
|
+
# kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.
|
499
|
+
# nodePools) instead. The current version of the node software components. If
|
500
|
+
# they are currently at multiple versions because they're in the process of
|
501
|
+
# being upgraded, this reflects the minimum version of all nodes.
|
515
502
|
# Corresponds to the JSON property `currentNodeVersion`
|
516
503
|
# @return [String]
|
517
504
|
attr_accessor :current_node_version
|
@@ -531,63 +518,58 @@ module Google
|
|
531
518
|
# @return [String]
|
532
519
|
attr_accessor :description
|
533
520
|
|
534
|
-
# Kubernetes alpha features are enabled on this cluster. This includes alpha
|
535
|
-
#
|
536
|
-
#
|
537
|
-
#
|
538
|
-
#
|
539
|
-
# creation.
|
521
|
+
# Kubernetes alpha features are enabled on this cluster. This includes alpha API
|
522
|
+
# groups (e.g. v1beta1) and features that may not be production ready in the
|
523
|
+
# kubernetes version of the master and nodes. The cluster has no SLA for uptime
|
524
|
+
# and master/node upgrades are disabled. Alpha enabled clusters are
|
525
|
+
# automatically deleted thirty days after creation.
|
540
526
|
# Corresponds to the JSON property `enableKubernetesAlpha`
|
541
527
|
# @return [Boolean]
|
542
528
|
attr_accessor :enable_kubernetes_alpha
|
543
529
|
alias_method :enable_kubernetes_alpha?, :enable_kubernetes_alpha
|
544
530
|
|
545
|
-
# Enable the ability to use Cloud TPUs in this cluster.
|
546
|
-
#
|
531
|
+
# Enable the ability to use Cloud TPUs in this cluster. This field is deprecated,
|
532
|
+
# use tpu_config.enabled instead.
|
547
533
|
# Corresponds to the JSON property `enableTpu`
|
548
534
|
# @return [Boolean]
|
549
535
|
attr_accessor :enable_tpu
|
550
536
|
alias_method :enable_tpu?, :enable_tpu
|
551
537
|
|
552
|
-
# [Output only] The IP address of this cluster's master endpoint.
|
553
|
-
#
|
554
|
-
# `
|
555
|
-
#
|
556
|
-
# password information.
|
538
|
+
# [Output only] The IP address of this cluster's master endpoint. The endpoint
|
539
|
+
# can be accessed from the internet at `https://username:password@endpoint/`.
|
540
|
+
# See the `masterAuth` property of this resource for username and password
|
541
|
+
# information.
|
557
542
|
# Corresponds to the JSON property `endpoint`
|
558
543
|
# @return [String]
|
559
544
|
attr_accessor :endpoint
|
560
545
|
|
561
|
-
# [Output only] The time the cluster will be automatically
|
562
|
-
#
|
546
|
+
# [Output only] The time the cluster will be automatically deleted in [RFC3339](
|
547
|
+
# https://www.ietf.org/rfc/rfc3339.txt) text format.
|
563
548
|
# Corresponds to the JSON property `expireTime`
|
564
549
|
# @return [String]
|
565
550
|
attr_accessor :expire_time
|
566
551
|
|
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
|
552
|
+
# The initial Kubernetes version for this cluster. Valid versions are those
|
553
|
+
# found in validMasterVersions returned by getServerConfig. The version can be
|
554
|
+
# upgraded over time; such upgrades are reflected in currentMasterVersion and
|
555
|
+
# currentNodeVersion. Users may specify either explicit versions offered by
|
556
|
+
# Kubernetes Engine or version aliases, which have the following behavior: - "
|
557
|
+
# latest": picks the highest valid Kubernetes version - "1.X": picks the highest
|
558
|
+
# valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid
|
559
|
+
# gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes
|
560
|
+
# version - "","-": picks the default Kubernetes version
|
578
561
|
# Corresponds to the JSON property `initialClusterVersion`
|
579
562
|
# @return [String]
|
580
563
|
attr_accessor :initial_cluster_version
|
581
564
|
|
582
565
|
# 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.
|
566
|
+
# Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is
|
567
|
+
# sufficient for this number of instances. You must also have available firewall
|
568
|
+
# and routes quota. For requests, this field should only be used in lieu of a "
|
569
|
+
# node_pool" object, since this configuration (along with the "node_config")
|
570
|
+
# will be used to create a "NodePool" object with an auto-generated name. Do not
|
571
|
+
# use this and a node_pool at the same time. This field is deprecated, use
|
572
|
+
# node_pool.initial_node_count instead.
|
591
573
|
# Corresponds to the JSON property `initialNodeCount`
|
592
574
|
# @return [Fixnum]
|
593
575
|
attr_accessor :initial_node_count
|
@@ -607,39 +589,32 @@ module Google
|
|
607
589
|
# @return [String]
|
608
590
|
attr_accessor :label_fingerprint
|
609
591
|
|
610
|
-
# Configuration for the legacy Attribute Based Access Control authorization
|
611
|
-
# mode.
|
592
|
+
# Configuration for the legacy Attribute Based Access Control authorization mode.
|
612
593
|
# Corresponds to the JSON property `legacyAbac`
|
613
594
|
# @return [Google::Apis::ContainerV1beta1::LegacyAbac]
|
614
595
|
attr_accessor :legacy_abac
|
615
596
|
|
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)
|
597
|
+
# [Output only] The name of the Google Compute Engine [zone](https://cloud.
|
598
|
+
# google.com/compute/docs/regions-zones/regions-zones#available) or [region](
|
599
|
+
# https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
|
622
600
|
# in which the cluster resides.
|
623
601
|
# Corresponds to the JSON property `location`
|
624
602
|
# @return [String]
|
625
603
|
attr_accessor :location
|
626
604
|
|
627
|
-
# The list of Google Compute Engine
|
628
|
-
#
|
629
|
-
# cluster's nodes should be located.
|
605
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
606
|
+
# docs/zones#available) in which the cluster's nodes should be located.
|
630
607
|
# Corresponds to the JSON property `locations`
|
631
608
|
# @return [Array<String>]
|
632
609
|
attr_accessor :locations
|
633
610
|
|
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.
|
611
|
+
# The logging service the cluster should use to write logs. Currently available
|
612
|
+
# options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
|
613
|
+
# with a Kubernetes-native resource model * `logging.googleapis.com` - The
|
614
|
+
# legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` -
|
615
|
+
# no logs will be exported from the cluster. If left as an empty string,`logging.
|
616
|
+
# googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.
|
617
|
+
# com` for earlier versions.
|
643
618
|
# Corresponds to the JSON property `loggingService`
|
644
619
|
# @return [String]
|
645
620
|
attr_accessor :logging_service
|
@@ -655,8 +630,7 @@ module Google
|
|
655
630
|
attr_accessor :master
|
656
631
|
|
657
632
|
# The authentication information for accessing the master endpoint.
|
658
|
-
# Authentication can be done using HTTP basic auth or using client
|
659
|
-
# certificates.
|
633
|
+
# Authentication can be done using HTTP basic auth or using client certificates.
|
660
634
|
# Corresponds to the JSON property `masterAuth`
|
661
635
|
# @return [Google::Apis::ContainerV1beta1::MasterAuth]
|
662
636
|
attr_accessor :master_auth
|
@@ -669,44 +643,37 @@ module Google
|
|
669
643
|
# @return [Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig]
|
670
644
|
attr_accessor :master_authorized_networks_config
|
671
645
|
|
672
|
-
# The IP prefix in CIDR notation to use for the hosted master network.
|
673
|
-
#
|
674
|
-
#
|
675
|
-
# This field is deprecated, use
|
646
|
+
# The IP prefix in CIDR notation to use for the hosted master network. This
|
647
|
+
# prefix will be used for assigning private IP addresses to the master or set of
|
648
|
+
# masters, as well as the ILB VIP. This field is deprecated, use
|
676
649
|
# private_cluster_config.master_ipv4_cidr_block instead.
|
677
650
|
# Corresponds to the JSON property `masterIpv4CidrBlock`
|
678
651
|
# @return [String]
|
679
652
|
attr_accessor :master_ipv4_cidr_block
|
680
653
|
|
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.
|
654
|
+
# The monitoring service the cluster should use to write metrics. Currently
|
655
|
+
# available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
|
656
|
+
# Monitoring service with a Kubernetes-native resource model * `monitoring.
|
657
|
+
# googleapis.com` - The legacy Cloud Monitoring service (no longer available as
|
658
|
+
# of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
|
659
|
+
# as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
|
660
|
+
# 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
690
661
|
# Corresponds to the JSON property `monitoringService`
|
691
662
|
# @return [String]
|
692
663
|
attr_accessor :monitoring_service
|
693
664
|
|
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.
|
665
|
+
# The name of this cluster. The name must be unique within this project and
|
666
|
+
# location (e.g. zone or region), and can be up to 40 characters with the
|
667
|
+
# following restrictions: * Lowercase letters, numbers, and hyphens only. * Must
|
668
|
+
# start with a letter. * Must end with a number or a letter.
|
700
669
|
# Corresponds to the JSON property `name`
|
701
670
|
# @return [String]
|
702
671
|
attr_accessor :name
|
703
672
|
|
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.
|
673
|
+
# The name of the Google Compute Engine [network](https://cloud.google.com/
|
674
|
+
# compute/docs/networks-and-firewalls#networks) to which the cluster is
|
675
|
+
# connected. If left unspecified, the `default` network will be used. On output
|
676
|
+
# this shows the network ID instead of the name.
|
710
677
|
# Corresponds to the JSON property `network`
|
711
678
|
# @return [String]
|
712
679
|
attr_accessor :network
|
@@ -716,8 +683,8 @@ module Google
|
|
716
683
|
# @return [Google::Apis::ContainerV1beta1::NetworkConfig]
|
717
684
|
attr_accessor :network_config
|
718
685
|
|
719
|
-
# Configuration options for the NetworkPolicy feature.
|
720
|
-
#
|
686
|
+
# Configuration options for the NetworkPolicy feature. https://kubernetes.io/
|
687
|
+
# docs/concepts/services-networking/networkpolicies/
|
721
688
|
# Corresponds to the JSON property `networkPolicy`
|
722
689
|
# @return [Google::Apis::ContainerV1beta1::NetworkPolicy]
|
723
690
|
attr_accessor :network_policy
|
@@ -728,20 +695,23 @@ module Google
|
|
728
695
|
attr_accessor :node_config
|
729
696
|
|
730
697
|
# [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.
|
698
|
+
# containers. This is provisioned from within the `container_ipv4_cidr` range.
|
699
|
+
# This field will only be set when cluster is in route-based network mode.
|
734
700
|
# Corresponds to the JSON property `nodeIpv4CidrSize`
|
735
701
|
# @return [Fixnum]
|
736
702
|
attr_accessor :node_ipv4_cidr_size
|
737
703
|
|
738
|
-
# The node pools associated with this cluster.
|
739
|
-
#
|
740
|
-
# specified.
|
704
|
+
# The node pools associated with this cluster. This field should not be set if "
|
705
|
+
# node_config" or "initial_node_count" are specified.
|
741
706
|
# Corresponds to the JSON property `nodePools`
|
742
707
|
# @return [Array<Google::Apis::ContainerV1beta1::NodePool>]
|
743
708
|
attr_accessor :node_pools
|
744
709
|
|
710
|
+
# NotificationConfig is the configuration of notifications.
|
711
|
+
# Corresponds to the JSON property `notificationConfig`
|
712
|
+
# @return [Google::Apis::ContainerV1beta1::NotificationConfig]
|
713
|
+
attr_accessor :notification_config
|
714
|
+
|
745
715
|
# Configuration for the PodSecurityPolicy feature.
|
746
716
|
# Corresponds to the JSON property `podSecurityPolicyConfig`
|
747
717
|
# @return [Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig]
|
@@ -749,9 +719,8 @@ module Google
|
|
749
719
|
|
750
720
|
# If this is a private cluster setup. Private clusters are clusters that, by
|
751
721
|
# default have no external IP addresses on the nodes and where nodes and the
|
752
|
-
# master communicate over private IP addresses.
|
753
|
-
#
|
754
|
-
# instead.
|
722
|
+
# master communicate over private IP addresses. This field is deprecated, use
|
723
|
+
# private_cluster_config.enable_private_nodes instead.
|
755
724
|
# Corresponds to the JSON property `privateCluster`
|
756
725
|
# @return [Boolean]
|
757
726
|
attr_accessor :private_cluster
|
@@ -762,17 +731,16 @@ module Google
|
|
762
731
|
# @return [Google::Apis::ContainerV1beta1::PrivateClusterConfig]
|
763
732
|
attr_accessor :private_cluster_config
|
764
733
|
|
765
|
-
# ReleaseChannel indicates which release channel a cluster is
|
766
|
-
#
|
767
|
-
#
|
768
|
-
#
|
769
|
-
# defaults to true and cannot be disabled.
|
734
|
+
# ReleaseChannel indicates which release channel a cluster is subscribed to.
|
735
|
+
# Release channels are arranged in order of risk. When a cluster is subscribed
|
736
|
+
# to a release channel, Google maintains both the master version and the node
|
737
|
+
# version. Node auto-upgrade defaults to true and cannot be disabled.
|
770
738
|
# Corresponds to the JSON property `releaseChannel`
|
771
739
|
# @return [Google::Apis::ContainerV1beta1::ReleaseChannel]
|
772
740
|
attr_accessor :release_channel
|
773
741
|
|
774
|
-
# The resource labels for the cluster to use to annotate any related
|
775
|
-
#
|
742
|
+
# The resource labels for the cluster to use to annotate any related Google
|
743
|
+
# Compute Engine resources.
|
776
744
|
# Corresponds to the JSON property `resourceLabels`
|
777
745
|
# @return [Hash<String,String>]
|
778
746
|
attr_accessor :resource_labels
|
@@ -787,11 +755,10 @@ module Google
|
|
787
755
|
# @return [String]
|
788
756
|
attr_accessor :self_link
|
789
757
|
|
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.
|
758
|
+
# [Output only] The IP address range of the Kubernetes services in this cluster,
|
759
|
+
# in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
|
760
|
+
# notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `
|
761
|
+
# /16` from the container CIDR.
|
795
762
|
# Corresponds to the JSON property `servicesIpv4Cidr`
|
796
763
|
# @return [String]
|
797
764
|
attr_accessor :services_ipv4_cidr
|
@@ -806,16 +773,15 @@ module Google
|
|
806
773
|
# @return [String]
|
807
774
|
attr_accessor :status
|
808
775
|
|
809
|
-
# [Output only] Additional information about the current status of this
|
810
|
-
#
|
776
|
+
# [Output only] Additional information about the current status of this cluster,
|
777
|
+
# if available.
|
811
778
|
# Corresponds to the JSON property `statusMessage`
|
812
779
|
# @return [String]
|
813
780
|
attr_accessor :status_message
|
814
781
|
|
815
|
-
# The name of the Google Compute Engine
|
816
|
-
#
|
817
|
-
#
|
818
|
-
# the name.
|
782
|
+
# The name of the Google Compute Engine [subnetwork](https://cloud.google.com/
|
783
|
+
# compute/docs/subnetworks) to which the cluster is connected. On output this
|
784
|
+
# shows the subnetwork ID instead of the name.
|
819
785
|
# Corresponds to the JSON property `subnetwork`
|
820
786
|
# @return [String]
|
821
787
|
attr_accessor :subnetwork
|
@@ -825,29 +791,28 @@ module Google
|
|
825
791
|
# @return [Google::Apis::ContainerV1beta1::TpuConfig]
|
826
792
|
attr_accessor :tpu_config
|
827
793
|
|
828
|
-
# [Output only] The IP address range of the Cloud TPUs in this cluster, in
|
829
|
-
#
|
830
|
-
#
|
794
|
+
# [Output only] The IP address range of the Cloud TPUs in this cluster, in [CIDR]
|
795
|
+
# (http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `
|
796
|
+
# 1.2.3.4/29`).
|
831
797
|
# Corresponds to the JSON property `tpuIpv4CidrBlock`
|
832
798
|
# @return [String]
|
833
799
|
attr_accessor :tpu_ipv4_cidr_block
|
834
800
|
|
835
|
-
# VerticalPodAutoscaling contains global, per-cluster information
|
836
|
-
#
|
837
|
-
#
|
801
|
+
# VerticalPodAutoscaling contains global, per-cluster information required by
|
802
|
+
# Vertical Pod Autoscaler to automatically adjust the resources of pods
|
803
|
+
# controlled by it.
|
838
804
|
# Corresponds to the JSON property `verticalPodAutoscaling`
|
839
805
|
# @return [Google::Apis::ContainerV1beta1::VerticalPodAutoscaling]
|
840
806
|
attr_accessor :vertical_pod_autoscaling
|
841
807
|
|
842
|
-
# Configuration for the use of Kubernetes Service Accounts in GCP IAM
|
843
|
-
# policies.
|
808
|
+
# Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
|
844
809
|
# Corresponds to the JSON property `workloadIdentityConfig`
|
845
810
|
# @return [Google::Apis::ContainerV1beta1::WorkloadIdentityConfig]
|
846
811
|
attr_accessor :workload_identity_config
|
847
812
|
|
848
|
-
# [Output only] The name of the Google Compute Engine
|
849
|
-
#
|
850
|
-
#
|
813
|
+
# [Output only] The name of the Google Compute Engine [zone](https://cloud.
|
814
|
+
# google.com/compute/docs/zones#available) in which the cluster resides. This
|
815
|
+
# field is deprecated, use location instead.
|
851
816
|
# Corresponds to the JSON property `zone`
|
852
817
|
# @return [String]
|
853
818
|
attr_accessor :zone
|
@@ -898,6 +863,7 @@ module Google
|
|
898
863
|
@node_config = args[:node_config] if args.key?(:node_config)
|
899
864
|
@node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
|
900
865
|
@node_pools = args[:node_pools] if args.key?(:node_pools)
|
866
|
+
@notification_config = args[:notification_config] if args.key?(:notification_config)
|
901
867
|
@pod_security_policy_config = args[:pod_security_policy_config] if args.key?(:pod_security_policy_config)
|
902
868
|
@private_cluster = args[:private_cluster] if args.key?(:private_cluster)
|
903
869
|
@private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
|
@@ -918,22 +884,20 @@ module Google
|
|
918
884
|
end
|
919
885
|
end
|
920
886
|
|
921
|
-
# ClusterAutoscaling contains global, per-cluster information
|
922
|
-
#
|
923
|
-
#
|
924
|
-
# node pools based on the current needs.
|
887
|
+
# ClusterAutoscaling contains global, per-cluster information required by
|
888
|
+
# Cluster Autoscaler to automatically adjust the size of the cluster and create/
|
889
|
+
# delete node pools based on the current needs.
|
925
890
|
class ClusterAutoscaling
|
926
891
|
include Google::Apis::Core::Hashable
|
927
892
|
|
928
|
-
# The list of Google Compute Engine
|
929
|
-
#
|
930
|
-
# NodePool's nodes can be created by NAP.
|
893
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
894
|
+
# docs/zones#available) in which the NodePool's nodes can be created by NAP.
|
931
895
|
# Corresponds to the JSON property `autoprovisioningLocations`
|
932
896
|
# @return [Array<String>]
|
933
897
|
attr_accessor :autoprovisioning_locations
|
934
898
|
|
935
|
-
# AutoprovisioningNodePoolDefaults contains defaults for a node pool created
|
936
|
-
#
|
899
|
+
# AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
|
900
|
+
# NAP.
|
937
901
|
# Corresponds to the JSON property `autoprovisioningNodePoolDefaults`
|
938
902
|
# @return [Google::Apis::ContainerV1beta1::AutoprovisioningNodePoolDefaults]
|
939
903
|
attr_accessor :autoprovisioning_node_pool_defaults
|
@@ -949,8 +913,8 @@ module Google
|
|
949
913
|
attr_accessor :enable_node_autoprovisioning
|
950
914
|
alias_method :enable_node_autoprovisioning?, :enable_node_autoprovisioning
|
951
915
|
|
952
|
-
# Contains global constraints regarding minimum and maximum
|
953
|
-
#
|
916
|
+
# Contains global constraints regarding minimum and maximum amount of resources
|
917
|
+
# in the cluster.
|
954
918
|
# Corresponds to the JSON property `resourceLimits`
|
955
919
|
# @return [Array<Google::Apis::ContainerV1beta1::ResourceLimit>]
|
956
920
|
attr_accessor :resource_limits
|
@@ -988,14 +952,13 @@ module Google
|
|
988
952
|
end
|
989
953
|
end
|
990
954
|
|
991
|
-
# ClusterUpdate describes an update to the cluster. Exactly one update can
|
992
|
-
#
|
993
|
-
# provided.
|
955
|
+
# ClusterUpdate describes an update to the cluster. Exactly one update can be
|
956
|
+
# applied to a cluster with each request, so at most one field can be provided.
|
994
957
|
class ClusterUpdate
|
995
958
|
include Google::Apis::Core::Hashable
|
996
959
|
|
997
|
-
# Configuration for the addons that can be automatically spun up in the
|
998
|
-
#
|
960
|
+
# Configuration for the addons that can be automatically spun up in the cluster,
|
961
|
+
# enabling additional functionality.
|
999
962
|
# Corresponds to the JSON property `desiredAddonsConfig`
|
1000
963
|
# @return [Google::Apis::ContainerV1beta1::AddonsConfig]
|
1001
964
|
attr_accessor :desired_addons_config
|
@@ -1005,10 +968,9 @@ module Google
|
|
1005
968
|
# @return [Google::Apis::ContainerV1beta1::BinaryAuthorization]
|
1006
969
|
attr_accessor :desired_binary_authorization
|
1007
970
|
|
1008
|
-
# ClusterAutoscaling contains global, per-cluster information
|
1009
|
-
#
|
1010
|
-
#
|
1011
|
-
# node pools based on the current needs.
|
971
|
+
# ClusterAutoscaling contains global, per-cluster information required by
|
972
|
+
# Cluster Autoscaler to automatically adjust the size of the cluster and create/
|
973
|
+
# delete node pools based on the current needs.
|
1012
974
|
# Corresponds to the JSON property `desiredClusterAutoscaling`
|
1013
975
|
# @return [Google::Apis::ContainerV1beta1::ClusterAutoscaling]
|
1014
976
|
attr_accessor :desired_cluster_autoscaling
|
@@ -1023,14 +985,19 @@ module Google
|
|
1023
985
|
# @return [Google::Apis::ContainerV1beta1::DatabaseEncryption]
|
1024
986
|
attr_accessor :desired_database_encryption
|
1025
987
|
|
1026
|
-
#
|
1027
|
-
#
|
988
|
+
# The desired datapath provider for the cluster.
|
989
|
+
# Corresponds to the JSON property `desiredDatapathProvider`
|
990
|
+
# @return [String]
|
991
|
+
attr_accessor :desired_datapath_provider
|
992
|
+
|
993
|
+
# DefaultSnatStatus contains the desired state of whether default sNAT should be
|
994
|
+
# disabled on the cluster.
|
1028
995
|
# Corresponds to the JSON property `desiredDefaultSnatStatus`
|
1029
996
|
# @return [Google::Apis::ContainerV1beta1::DefaultSnatStatus]
|
1030
997
|
attr_accessor :desired_default_snat_status
|
1031
998
|
|
1032
|
-
# The desired image type for the node pool.
|
1033
|
-
#
|
999
|
+
# The desired image type for the node pool. NOTE: Set the "desired_node_pool"
|
1000
|
+
# field as well.
|
1034
1001
|
# Corresponds to the JSON property `desiredImageType`
|
1035
1002
|
# @return [String]
|
1036
1003
|
attr_accessor :desired_image_type
|
@@ -1041,25 +1008,22 @@ module Google
|
|
1041
1008
|
# @return [Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig]
|
1042
1009
|
attr_accessor :desired_intra_node_visibility_config
|
1043
1010
|
|
1044
|
-
# The desired list of Google Compute Engine
|
1045
|
-
#
|
1046
|
-
#
|
1047
|
-
#
|
1048
|
-
#
|
1049
|
-
# This list must always include the cluster's primary zone.
|
1011
|
+
# The desired list of Google Compute Engine [zones](https://cloud.google.com/
|
1012
|
+
# compute/docs/zones#available) in which the cluster's nodes should be located.
|
1013
|
+
# Changing the locations a cluster is in will result in nodes being either
|
1014
|
+
# created or removed from the cluster, depending on whether locations are being
|
1015
|
+
# added or removed. This list must always include the cluster's primary zone.
|
1050
1016
|
# Corresponds to the JSON property `desiredLocations`
|
1051
1017
|
# @return [Array<String>]
|
1052
1018
|
attr_accessor :desired_locations
|
1053
1019
|
|
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.
|
1020
|
+
# The logging service the cluster should use to write logs. Currently available
|
1021
|
+
# options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
|
1022
|
+
# with a Kubernetes-native resource model * `logging.googleapis.com` - The
|
1023
|
+
# legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` -
|
1024
|
+
# no logs will be exported from the cluster. If left as an empty string,`logging.
|
1025
|
+
# googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.
|
1026
|
+
# com` for earlier versions.
|
1063
1027
|
# Corresponds to the JSON property `desiredLoggingService`
|
1064
1028
|
# @return [String]
|
1065
1029
|
attr_accessor :desired_logging_service
|
@@ -1078,27 +1042,23 @@ module Google
|
|
1078
1042
|
attr_accessor :desired_master_authorized_networks_config
|
1079
1043
|
|
1080
1044
|
# 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
|
1045
|
+
# latest supported version. Users may specify either explicit versions offered
|
1046
|
+
# by Kubernetes Engine or version aliases, which have the following behavior: - "
|
1047
|
+
# latest": picks the highest valid Kubernetes version - "1.X": picks the highest
|
1048
|
+
# valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid
|
1049
|
+
# gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes
|
1050
|
+
# version - "-": picks the default Kubernetes version
|
1089
1051
|
# Corresponds to the JSON property `desiredMasterVersion`
|
1090
1052
|
# @return [String]
|
1091
1053
|
attr_accessor :desired_master_version
|
1092
1054
|
|
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.
|
1055
|
+
# The monitoring service the cluster should use to write metrics. Currently
|
1056
|
+
# available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
|
1057
|
+
# Monitoring service with a Kubernetes-native resource model * `monitoring.
|
1058
|
+
# googleapis.com` - The legacy Cloud Monitoring service (no longer available as
|
1059
|
+
# of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
|
1060
|
+
# as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
|
1061
|
+
# 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
1102
1062
|
# Corresponds to the JSON property `desiredMonitoringService`
|
1103
1063
|
# @return [String]
|
1104
1064
|
attr_accessor :desired_monitoring_service
|
@@ -1109,27 +1069,30 @@ module Google
|
|
1109
1069
|
# @return [Google::Apis::ContainerV1beta1::NodePoolAutoscaling]
|
1110
1070
|
attr_accessor :desired_node_pool_autoscaling
|
1111
1071
|
|
1112
|
-
# The node pool to be upgraded. This field is mandatory if
|
1113
|
-
# "
|
1114
|
-
# "
|
1115
|
-
#
|
1072
|
+
# The node pool to be upgraded. This field is mandatory if "desired_node_version"
|
1073
|
+
# , "desired_image_family", "desired_node_pool_autoscaling", or "
|
1074
|
+
# desired_workload_metadata_config" is specified and there is more than one node
|
1075
|
+
# pool on the cluster.
|
1116
1076
|
# Corresponds to the JSON property `desiredNodePoolId`
|
1117
1077
|
# @return [String]
|
1118
1078
|
attr_accessor :desired_node_pool_id
|
1119
1079
|
|
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
|
1080
|
+
# The Kubernetes version to change the nodes to (typically an upgrade). Users
|
1081
|
+
# may specify either explicit versions offered by Kubernetes Engine or version
|
1082
|
+
# aliases, which have the following behavior: - "latest": picks the highest
|
1083
|
+
# valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in
|
1084
|
+
# the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y
|
1085
|
+
# version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the
|
1086
|
+
# Kubernetes master version
|
1129
1087
|
# Corresponds to the JSON property `desiredNodeVersion`
|
1130
1088
|
# @return [String]
|
1131
1089
|
attr_accessor :desired_node_version
|
1132
1090
|
|
1091
|
+
# NotificationConfig is the configuration of notifications.
|
1092
|
+
# Corresponds to the JSON property `desiredNotificationConfig`
|
1093
|
+
# @return [Google::Apis::ContainerV1beta1::NotificationConfig]
|
1094
|
+
attr_accessor :desired_notification_config
|
1095
|
+
|
1133
1096
|
# Configuration for the PodSecurityPolicy feature.
|
1134
1097
|
# Corresponds to the JSON property `desiredPodSecurityPolicyConfig`
|
1135
1098
|
# @return [Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig]
|
@@ -1140,11 +1103,10 @@ module Google
|
|
1140
1103
|
# @return [Google::Apis::ContainerV1beta1::PrivateClusterConfig]
|
1141
1104
|
attr_accessor :desired_private_cluster_config
|
1142
1105
|
|
1143
|
-
# ReleaseChannel indicates which release channel a cluster is
|
1144
|
-
#
|
1145
|
-
#
|
1146
|
-
#
|
1147
|
-
# defaults to true and cannot be disabled.
|
1106
|
+
# ReleaseChannel indicates which release channel a cluster is subscribed to.
|
1107
|
+
# Release channels are arranged in order of risk. When a cluster is subscribed
|
1108
|
+
# to a release channel, Google maintains both the master version and the node
|
1109
|
+
# version. Node auto-upgrade defaults to true and cannot be disabled.
|
1148
1110
|
# Corresponds to the JSON property `desiredReleaseChannel`
|
1149
1111
|
# @return [Google::Apis::ContainerV1beta1::ReleaseChannel]
|
1150
1112
|
attr_accessor :desired_release_channel
|
@@ -1164,15 +1126,14 @@ module Google
|
|
1164
1126
|
# @return [Google::Apis::ContainerV1beta1::TpuConfig]
|
1165
1127
|
attr_accessor :desired_tpu_config
|
1166
1128
|
|
1167
|
-
# VerticalPodAutoscaling contains global, per-cluster information
|
1168
|
-
#
|
1169
|
-
#
|
1129
|
+
# VerticalPodAutoscaling contains global, per-cluster information required by
|
1130
|
+
# Vertical Pod Autoscaler to automatically adjust the resources of pods
|
1131
|
+
# controlled by it.
|
1170
1132
|
# Corresponds to the JSON property `desiredVerticalPodAutoscaling`
|
1171
1133
|
# @return [Google::Apis::ContainerV1beta1::VerticalPodAutoscaling]
|
1172
1134
|
attr_accessor :desired_vertical_pod_autoscaling
|
1173
1135
|
|
1174
|
-
# Configuration for the use of Kubernetes Service Accounts in GCP IAM
|
1175
|
-
# policies.
|
1136
|
+
# Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
|
1176
1137
|
# Corresponds to the JSON property `desiredWorkloadIdentityConfig`
|
1177
1138
|
# @return [Google::Apis::ContainerV1beta1::WorkloadIdentityConfig]
|
1178
1139
|
attr_accessor :desired_workload_identity_config
|
@@ -1188,6 +1149,7 @@ module Google
|
|
1188
1149
|
@desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
|
1189
1150
|
@desired_cluster_telemetry = args[:desired_cluster_telemetry] if args.key?(:desired_cluster_telemetry)
|
1190
1151
|
@desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
|
1152
|
+
@desired_datapath_provider = args[:desired_datapath_provider] if args.key?(:desired_datapath_provider)
|
1191
1153
|
@desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
|
1192
1154
|
@desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
|
1193
1155
|
@desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
|
@@ -1200,6 +1162,7 @@ module Google
|
|
1200
1162
|
@desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
|
1201
1163
|
@desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
|
1202
1164
|
@desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
|
1165
|
+
@desired_notification_config = args[:desired_notification_config] if args.key?(:desired_notification_config)
|
1203
1166
|
@desired_pod_security_policy_config = args[:desired_pod_security_policy_config] if args.key?(:desired_pod_security_policy_config)
|
1204
1167
|
@desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config)
|
1205
1168
|
@desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
|
@@ -1215,8 +1178,8 @@ module Google
|
|
1215
1178
|
class CompleteIpRotationRequest
|
1216
1179
|
include Google::Apis::Core::Hashable
|
1217
1180
|
|
1218
|
-
# Required. Deprecated. The name of the cluster.
|
1219
|
-
#
|
1181
|
+
# Required. Deprecated. The name of the cluster. This field has been deprecated
|
1182
|
+
# and replaced by the name field.
|
1220
1183
|
# Corresponds to the JSON property `clusterId`
|
1221
1184
|
# @return [String]
|
1222
1185
|
attr_accessor :cluster_id
|
@@ -1228,16 +1191,15 @@ module Google
|
|
1228
1191
|
attr_accessor :name
|
1229
1192
|
|
1230
1193
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
1231
|
-
# number](https://developers.google.com/console/help/new/#projectnumber).
|
1232
|
-
#
|
1194
|
+
# number](https://developers.google.com/console/help/new/#projectnumber). This
|
1195
|
+
# field has been deprecated and replaced by the name field.
|
1233
1196
|
# Corresponds to the JSON property `projectId`
|
1234
1197
|
# @return [String]
|
1235
1198
|
attr_accessor :project_id
|
1236
1199
|
|
1237
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
1238
|
-
#
|
1239
|
-
#
|
1240
|
-
# field.
|
1200
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
1201
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
1202
|
+
# This field has been deprecated and replaced by the name field.
|
1241
1203
|
# Corresponds to the JSON property `zone`
|
1242
1204
|
# @return [String]
|
1243
1205
|
attr_accessor :zone
|
@@ -1279,9 +1241,8 @@ module Google
|
|
1279
1241
|
class ConsumptionMeteringConfig
|
1280
1242
|
include Google::Apis::Core::Hashable
|
1281
1243
|
|
1282
|
-
# Whether to enable consumption metering for this cluster. If enabled, a
|
1283
|
-
#
|
1284
|
-
# records.
|
1244
|
+
# Whether to enable consumption metering for this cluster. If enabled, a second
|
1245
|
+
# BigQuery table will be created to hold resource consumption records.
|
1285
1246
|
# Corresponds to the JSON property `enabled`
|
1286
1247
|
# @return [Boolean]
|
1287
1248
|
attr_accessor :enabled
|
@@ -1306,23 +1267,22 @@ module Google
|
|
1306
1267
|
# @return [Google::Apis::ContainerV1beta1::Cluster]
|
1307
1268
|
attr_accessor :cluster
|
1308
1269
|
|
1309
|
-
# The parent (project and location) where the cluster will be created.
|
1310
|
-
#
|
1270
|
+
# The parent (project and location) where the cluster will be created. Specified
|
1271
|
+
# in the format `projects/*/locations/*`.
|
1311
1272
|
# Corresponds to the JSON property `parent`
|
1312
1273
|
# @return [String]
|
1313
1274
|
attr_accessor :parent
|
1314
1275
|
|
1315
1276
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
1316
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
1317
|
-
#
|
1277
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
1278
|
+
# deprecated and replaced by the parent field.
|
1318
1279
|
# Corresponds to the JSON property `projectId`
|
1319
1280
|
# @return [String]
|
1320
1281
|
attr_accessor :project_id
|
1321
1282
|
|
1322
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
1323
|
-
#
|
1324
|
-
#
|
1325
|
-
# field.
|
1283
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
1284
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
1285
|
+
# This field has been deprecated and replaced by the parent field.
|
1326
1286
|
# Corresponds to the JSON property `zone`
|
1327
1287
|
# @return [String]
|
1328
1288
|
attr_accessor :zone
|
@@ -1344,40 +1304,38 @@ module Google
|
|
1344
1304
|
class CreateNodePoolRequest
|
1345
1305
|
include Google::Apis::Core::Hashable
|
1346
1306
|
|
1347
|
-
# Required. Deprecated. The name of the cluster.
|
1348
|
-
#
|
1307
|
+
# Required. Deprecated. The name of the cluster. This field has been deprecated
|
1308
|
+
# and replaced by the parent field.
|
1349
1309
|
# Corresponds to the JSON property `clusterId`
|
1350
1310
|
# @return [String]
|
1351
1311
|
attr_accessor :cluster_id
|
1352
1312
|
|
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
|
-
#
|
1313
|
+
# NodePool contains the name and configuration for a cluster's node pool. Node
|
1314
|
+
# pools are a set of nodes (i.e. VM's), with a common configuration and
|
1315
|
+
# specification, under the control of the cluster master. They may have a set of
|
1316
|
+
# Kubernetes labels applied to them, which may be used to reference them during
|
1317
|
+
# pod scheduling. They may also be resized up or down, to accommodate the
|
1318
|
+
# workload.
|
1359
1319
|
# Corresponds to the JSON property `nodePool`
|
1360
1320
|
# @return [Google::Apis::ContainerV1beta1::NodePool]
|
1361
1321
|
attr_accessor :node_pool
|
1362
1322
|
|
1363
|
-
# The parent (project, location, cluster id) where the node pool will be
|
1364
|
-
#
|
1365
|
-
# `projects/*/locations/*/clusters/*`.
|
1323
|
+
# The parent (project, location, cluster id) where the node pool will be created.
|
1324
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
1366
1325
|
# Corresponds to the JSON property `parent`
|
1367
1326
|
# @return [String]
|
1368
1327
|
attr_accessor :parent
|
1369
1328
|
|
1370
1329
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
1371
|
-
# number](https://developers.google.com/console/help/new/#projectnumber).
|
1372
|
-
#
|
1330
|
+
# number](https://developers.google.com/console/help/new/#projectnumber). This
|
1331
|
+
# field has been deprecated and replaced by the parent field.
|
1373
1332
|
# Corresponds to the JSON property `projectId`
|
1374
1333
|
# @return [String]
|
1375
1334
|
attr_accessor :project_id
|
1376
1335
|
|
1377
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
1378
|
-
#
|
1379
|
-
#
|
1380
|
-
# field.
|
1336
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
1337
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
1338
|
+
# This field has been deprecated and replaced by the parent field.
|
1381
1339
|
# Corresponds to the JSON property `zone`
|
1382
1340
|
# @return [String]
|
1383
1341
|
attr_accessor :zone
|
@@ -1400,14 +1358,14 @@ module Google
|
|
1400
1358
|
class DailyMaintenanceWindow
|
1401
1359
|
include Google::Apis::Core::Hashable
|
1402
1360
|
|
1403
|
-
# [Output only] Duration of the time window, automatically chosen to be
|
1404
|
-
#
|
1361
|
+
# [Output only] Duration of the time window, automatically chosen to be smallest
|
1362
|
+
# possible in the given scenario.
|
1405
1363
|
# Corresponds to the JSON property `duration`
|
1406
1364
|
# @return [String]
|
1407
1365
|
attr_accessor :duration
|
1408
1366
|
|
1409
|
-
# Time within the maintenance window to start the maintenance operations.
|
1410
|
-
#
|
1367
|
+
# Time within the maintenance window to start the maintenance operations. It
|
1368
|
+
# must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
|
1411
1369
|
# Corresponds to the JSON property `startTime`
|
1412
1370
|
# @return [String]
|
1413
1371
|
attr_accessor :start_time
|
@@ -1427,8 +1385,8 @@ module Google
|
|
1427
1385
|
class DatabaseEncryption
|
1428
1386
|
include Google::Apis::Core::Hashable
|
1429
1387
|
|
1430
|
-
# Name of CloudKMS key to use for the encryption of secrets in etcd.
|
1431
|
-
#
|
1388
|
+
# Name of CloudKMS key to use for the encryption of secrets in etcd. Ex.
|
1389
|
+
# projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
|
1432
1390
|
# Corresponds to the JSON property `keyName`
|
1433
1391
|
# @return [String]
|
1434
1392
|
attr_accessor :key_name
|
@@ -1449,8 +1407,8 @@ module Google
|
|
1449
1407
|
end
|
1450
1408
|
end
|
1451
1409
|
|
1452
|
-
# DefaultSnatStatus contains the desired state of whether default sNAT should
|
1453
|
-
#
|
1410
|
+
# DefaultSnatStatus contains the desired state of whether default sNAT should be
|
1411
|
+
# disabled on the cluster.
|
1454
1412
|
class DefaultSnatStatus
|
1455
1413
|
include Google::Apis::Core::Hashable
|
1456
1414
|
|
@@ -1490,13 +1448,11 @@ module Google
|
|
1490
1448
|
end
|
1491
1449
|
end
|
1492
1450
|
|
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 ````.
|
1451
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1452
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
1453
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
1454
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
1455
|
+
# `Empty` is empty JSON object ````.
|
1500
1456
|
class Empty
|
1501
1457
|
include Google::Apis::Core::Hashable
|
1502
1458
|
|
@@ -1539,8 +1495,7 @@ module Google
|
|
1539
1495
|
# @return [Google::Apis::ContainerV1beta1::HttpCacheControlResponseHeader]
|
1540
1496
|
attr_accessor :cache_header
|
1541
1497
|
|
1542
|
-
# The public component of the keys used by the cluster to sign token
|
1543
|
-
# requests.
|
1498
|
+
# The public component of the keys used by the cluster to sign token requests.
|
1544
1499
|
# Corresponds to the JSON property `keys`
|
1545
1500
|
# @return [Array<Google::Apis::ContainerV1beta1::Jwk>]
|
1546
1501
|
attr_accessor :keys
|
@@ -1556,8 +1511,8 @@ module Google
|
|
1556
1511
|
end
|
1557
1512
|
end
|
1558
1513
|
|
1559
|
-
# GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
|
1560
|
-
#
|
1514
|
+
# GetOpenIDConfigResponse is an OIDC discovery document for the cluster. See the
|
1515
|
+
# OpenID Connect Discovery 1.0 specification for details.
|
1561
1516
|
class GetOpenIdConfigResponse
|
1562
1517
|
include Google::Apis::Core::Hashable
|
1563
1518
|
|
@@ -1619,14 +1574,13 @@ module Google
|
|
1619
1574
|
end
|
1620
1575
|
|
1621
1576
|
# Configuration options for the horizontal pod autoscaling feature, which
|
1622
|
-
# increases or decreases the number of replica pods a replication controller
|
1623
|
-
#
|
1577
|
+
# increases or decreases the number of replica pods a replication controller has
|
1578
|
+
# based on the resource usage of the existing pods.
|
1624
1579
|
class HorizontalPodAutoscaling
|
1625
1580
|
include Google::Apis::Core::Hashable
|
1626
1581
|
|
1627
|
-
# Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
|
1628
|
-
#
|
1629
|
-
# Monitoring.
|
1582
|
+
# Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When
|
1583
|
+
# enabled, it ensures that metrics are collected into Stackdriver Monitoring.
|
1630
1584
|
# Corresponds to the JSON property `disabled`
|
1631
1585
|
# @return [Boolean]
|
1632
1586
|
attr_accessor :disabled
|
@@ -1673,14 +1627,13 @@ module Google
|
|
1673
1627
|
end
|
1674
1628
|
end
|
1675
1629
|
|
1676
|
-
# Configuration options for the HTTP (L7) load balancing controller addon,
|
1677
|
-
#
|
1630
|
+
# Configuration options for the HTTP (L7) load balancing controller addon, which
|
1631
|
+
# makes it easy to set up HTTP load balancers for services in a cluster.
|
1678
1632
|
class HttpLoadBalancing
|
1679
1633
|
include Google::Apis::Core::Hashable
|
1680
1634
|
|
1681
|
-
# Whether the HTTP Load Balancing controller is enabled in the cluster.
|
1682
|
-
#
|
1683
|
-
# balancers.
|
1635
|
+
# Whether the HTTP Load Balancing controller is enabled in the cluster. When
|
1636
|
+
# enabled, it runs a small pod in the cluster that manages the load balancers.
|
1684
1637
|
# Corresponds to the JSON property `disabled`
|
1685
1638
|
# @return [Boolean]
|
1686
1639
|
attr_accessor :disabled
|
@@ -1702,15 +1655,13 @@ module Google
|
|
1702
1655
|
|
1703
1656
|
# If true, allow allocation of cluster CIDR ranges that overlap with certain
|
1704
1657
|
# 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.
|
1658
|
+
# intersect with any user declared routes. With allow_route_overlap == true, we
|
1659
|
+
# allow overlapping with CIDR ranges that are larger than the cluster CIDR range.
|
1660
|
+
# If this field is set to true, then cluster and services CIDRs must be fully-
|
1661
|
+
# specified (e.g. `10.96.0.0/14`, but not `/14`), which means: 1) When `
|
1662
|
+
# use_ip_aliases` is true, `cluster_ipv4_cidr_block` and `
|
1663
|
+
# services_ipv4_cidr_block` must be fully-specified. 2) When `use_ip_aliases` is
|
1664
|
+
# false, `cluster.cluster_ipv4_cidr` muse be fully-specified.
|
1714
1665
|
# Corresponds to the JSON property `allowRouteOverlap`
|
1715
1666
|
# @return [Boolean]
|
1716
1667
|
attr_accessor :allow_route_overlap
|
@@ -1721,33 +1672,28 @@ module Google
|
|
1721
1672
|
# @return [String]
|
1722
1673
|
attr_accessor :cluster_ipv4_cidr
|
1723
1674
|
|
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.
|
1675
|
+
# The IP address range for the cluster pod IPs. If this field is set, then `
|
1676
|
+
# cluster.cluster_ipv4_cidr` must be left blank. This field is only applicable
|
1677
|
+
# when `use_ip_aliases` is true. Set to blank to have a range chosen with the
|
1678
|
+
# default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
|
1679
|
+
# specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
|
1680
|
+
# Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
|
1681
|
+
# networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
|
1682
|
+
# specific range to use.
|
1735
1683
|
# Corresponds to the JSON property `clusterIpv4CidrBlock`
|
1736
1684
|
# @return [String]
|
1737
1685
|
attr_accessor :cluster_ipv4_cidr_block
|
1738
1686
|
|
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.
|
1687
|
+
# The name of the secondary range to be used for the cluster CIDR block. The
|
1688
|
+
# secondary range will be used for pod IP addresses. This must be an existing
|
1689
|
+
# secondary range associated with the cluster subnetwork. This field is only
|
1690
|
+
# applicable with use_ip_aliases and create_subnetwork is false.
|
1745
1691
|
# Corresponds to the JSON property `clusterSecondaryRangeName`
|
1746
1692
|
# @return [String]
|
1747
1693
|
attr_accessor :cluster_secondary_range_name
|
1748
1694
|
|
1749
|
-
# Whether a new subnetwork will be created automatically for the cluster.
|
1750
|
-
#
|
1695
|
+
# Whether a new subnetwork will be created automatically for the cluster. This
|
1696
|
+
# field is only applicable when `use_ip_aliases` is true.
|
1751
1697
|
# Corresponds to the JSON property `createSubnetwork`
|
1752
1698
|
# @return [Boolean]
|
1753
1699
|
attr_accessor :create_subnetwork
|
@@ -1758,16 +1704,13 @@ module Google
|
|
1758
1704
|
# @return [String]
|
1759
1705
|
attr_accessor :node_ipv4_cidr
|
1760
1706
|
|
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.
|
1707
|
+
# The IP address range of the instance IPs in this cluster. This is applicable
|
1708
|
+
# only if `create_subnetwork` is true. Set to blank to have a range chosen with
|
1709
|
+
# the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
|
1710
|
+
# specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
|
1711
|
+
# Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
|
1712
|
+
# networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
|
1713
|
+
# specific range to use.
|
1771
1714
|
# Corresponds to the JSON property `nodeIpv4CidrBlock`
|
1772
1715
|
# @return [String]
|
1773
1716
|
attr_accessor :node_ipv4_cidr_block
|
@@ -1778,66 +1721,57 @@ module Google
|
|
1778
1721
|
attr_accessor :services_ipv4_cidr
|
1779
1722
|
|
1780
1723
|
# 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.
|
1724
|
+
# will be automatically chosen with the default size. This field is only
|
1725
|
+
# applicable when `use_ip_aliases` is true. Set to blank to have a range chosen
|
1726
|
+
# with the default size. Set to /netmask (e.g. `/14`) to have a range chosen
|
1727
|
+
# with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/
|
1728
|
+
# Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-
|
1729
|
+
# 1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`)
|
1730
|
+
# to pick a specific range to use.
|
1791
1731
|
# Corresponds to the JSON property `servicesIpv4CidrBlock`
|
1792
1732
|
# @return [String]
|
1793
1733
|
attr_accessor :services_ipv4_cidr_block
|
1794
1734
|
|
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.
|
1735
|
+
# The name of the secondary range to be used as for the services CIDR block. The
|
1736
|
+
# secondary range will be used for service ClusterIPs. This must be an existing
|
1737
|
+
# secondary range associated with the cluster subnetwork. This field is only
|
1738
|
+
# applicable with use_ip_aliases and create_subnetwork is false.
|
1801
1739
|
# Corresponds to the JSON property `servicesSecondaryRangeName`
|
1802
1740
|
# @return [String]
|
1803
1741
|
attr_accessor :services_secondary_range_name
|
1804
1742
|
|
1805
|
-
# A custom subnetwork name to be used if `create_subnetwork` is true.
|
1806
|
-
#
|
1807
|
-
# subnetwork.
|
1743
|
+
# A custom subnetwork name to be used if `create_subnetwork` is true. If this
|
1744
|
+
# field is empty, then an automatic name will be chosen for the new subnetwork.
|
1808
1745
|
# Corresponds to the JSON property `subnetworkName`
|
1809
1746
|
# @return [String]
|
1810
1747
|
attr_accessor :subnetwork_name
|
1811
1748
|
|
1812
1749
|
# 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.
|
1750
|
+
# range will be automatically chosen with the default size. This field is only
|
1751
|
+
# applicable when `use_ip_aliases` is true. If unspecified, the range will use
|
1752
|
+
# the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
|
1753
|
+
# specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
|
1754
|
+
# Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
|
1755
|
+
# networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
|
1756
|
+
# specific range to use. This field is deprecated, use cluster.tpu_config.
|
1757
|
+
# ipv4_cidr_block instead.
|
1824
1758
|
# Corresponds to the JSON property `tpuIpv4CidrBlock`
|
1825
1759
|
# @return [String]
|
1826
1760
|
attr_accessor :tpu_ipv4_cidr_block
|
1827
1761
|
|
1828
|
-
# Whether alias IPs will be used for pod IPs in the cluster.
|
1829
|
-
#
|
1830
|
-
#
|
1831
|
-
#
|
1762
|
+
# Whether alias IPs will be used for pod IPs in the cluster. This is used in
|
1763
|
+
# conjunction with use_routes. It cannot be true if use_routes is true. If both
|
1764
|
+
# use_ip_aliases and use_routes are false, then the server picks the default IP
|
1765
|
+
# allocation mode
|
1832
1766
|
# Corresponds to the JSON property `useIpAliases`
|
1833
1767
|
# @return [Boolean]
|
1834
1768
|
attr_accessor :use_ip_aliases
|
1835
1769
|
alias_method :use_ip_aliases?, :use_ip_aliases
|
1836
1770
|
|
1837
|
-
# Whether routes will be used for pod IPs in the cluster.
|
1838
|
-
#
|
1839
|
-
#
|
1840
|
-
#
|
1771
|
+
# Whether routes will be used for pod IPs in the cluster. This is used in
|
1772
|
+
# conjunction with use_ip_aliases. It cannot be true if use_ip_aliases is true.
|
1773
|
+
# If both use_ip_aliases and use_routes are false, then the server picks the
|
1774
|
+
# default IP allocation mode
|
1841
1775
|
# Corresponds to the JSON property `useRoutes`
|
1842
1776
|
# @return [Boolean]
|
1843
1777
|
attr_accessor :use_routes
|
@@ -2020,15 +1954,14 @@ module Google
|
|
2020
1954
|
end
|
2021
1955
|
end
|
2022
1956
|
|
2023
|
-
# Configuration for the legacy Attribute Based Access Control authorization
|
2024
|
-
# mode.
|
1957
|
+
# Configuration for the legacy Attribute Based Access Control authorization mode.
|
2025
1958
|
class LegacyAbac
|
2026
1959
|
include Google::Apis::Core::Hashable
|
2027
1960
|
|
2028
1961
|
# Whether the ABAC authorizer is enabled for this cluster. When enabled,
|
2029
|
-
# identities in the system, including service accounts, nodes, and
|
2030
|
-
#
|
2031
|
-
#
|
1962
|
+
# identities in the system, including service accounts, nodes, and controllers,
|
1963
|
+
# will have statically granted permissions beyond those provided by the RBAC
|
1964
|
+
# configuration or IAM.
|
2032
1965
|
# Corresponds to the JSON property `enabled`
|
2033
1966
|
# @return [Boolean]
|
2034
1967
|
attr_accessor :enabled
|
@@ -2048,18 +1981,10 @@ module Google
|
|
2048
1981
|
class LinuxNodeConfig
|
2049
1982
|
include Google::Apis::Core::Hashable
|
2050
1983
|
|
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
|
1984
|
+
# The Linux kernel parameters to be applied to the nodes and all pods running on
|
1985
|
+
# the nodes. The following parameters are supported. net.core.netdev_max_backlog
|
1986
|
+
# net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max
|
1987
|
+
# net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
|
2063
1988
|
# Corresponds to the JSON property `sysctls`
|
2064
1989
|
# @return [Hash<String,String>]
|
2065
1990
|
attr_accessor :sysctls
|
@@ -2078,14 +2003,13 @@ module Google
|
|
2078
2003
|
class ListClustersResponse
|
2079
2004
|
include Google::Apis::Core::Hashable
|
2080
2005
|
|
2081
|
-
# A list of clusters in the project in the specified zone, or
|
2082
|
-
# across all ones.
|
2006
|
+
# A list of clusters in the project in the specified zone, or across all ones.
|
2083
2007
|
# Corresponds to the JSON property `clusters`
|
2084
2008
|
# @return [Array<Google::Apis::ContainerV1beta1::Cluster>]
|
2085
2009
|
attr_accessor :clusters
|
2086
2010
|
|
2087
|
-
# If any zones are listed here, the list of clusters returned
|
2088
|
-
#
|
2011
|
+
# If any zones are listed here, the list of clusters returned may be missing
|
2012
|
+
# those zones.
|
2089
2013
|
# Corresponds to the JSON property `missingZones`
|
2090
2014
|
# @return [Array<String>]
|
2091
2015
|
attr_accessor :missing_zones
|
@@ -2111,10 +2035,10 @@ module Google
|
|
2111
2035
|
# @return [Array<Google::Apis::ContainerV1beta1::Location>]
|
2112
2036
|
attr_accessor :locations
|
2113
2037
|
|
2114
|
-
# Only return ListLocationsResponse that occur after the page_token. This
|
2115
|
-
#
|
2116
|
-
#
|
2117
|
-
#
|
2038
|
+
# Only return ListLocationsResponse that occur after the page_token. This value
|
2039
|
+
# should be populated from the ListLocationsResponse.next_page_token if that
|
2040
|
+
# response token was set (which happens when listing more Locations than fit in
|
2041
|
+
# a single ListLocationsResponse).
|
2118
2042
|
# Corresponds to the JSON property `nextPageToken`
|
2119
2043
|
# @return [String]
|
2120
2044
|
attr_accessor :next_page_token
|
@@ -2153,8 +2077,8 @@ module Google
|
|
2153
2077
|
class ListOperationsResponse
|
2154
2078
|
include Google::Apis::Core::Hashable
|
2155
2079
|
|
2156
|
-
# If any zones are listed here, the list of operations returned
|
2157
|
-
#
|
2080
|
+
# If any zones are listed here, the list of operations returned may be missing
|
2081
|
+
# the operations from those zones.
|
2158
2082
|
# Corresponds to the JSON property `missingZones`
|
2159
2083
|
# @return [Array<String>]
|
2160
2084
|
attr_accessor :missing_zones
|
@@ -2175,15 +2099,14 @@ module Google
|
|
2175
2099
|
end
|
2176
2100
|
end
|
2177
2101
|
|
2178
|
-
# ListUsableSubnetworksResponse is the response of
|
2179
|
-
# ListUsableSubnetworksRequest.
|
2102
|
+
# ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.
|
2180
2103
|
class ListUsableSubnetworksResponse
|
2181
2104
|
include Google::Apis::Core::Hashable
|
2182
2105
|
|
2183
|
-
# This token allows you to get the next page of results for list requests.
|
2184
|
-
#
|
2185
|
-
#
|
2186
|
-
#
|
2106
|
+
# This token allows you to get the next page of results for list requests. If
|
2107
|
+
# the number of results is larger than `page_size`, use the `next_page_token` as
|
2108
|
+
# a value for the query parameter `page_token` in the next request. The value
|
2109
|
+
# will become empty when there are no more pages.
|
2187
2110
|
# Corresponds to the JSON property `nextPageToken`
|
2188
2111
|
# @return [String]
|
2189
2112
|
attr_accessor :next_page_token
|
@@ -2204,13 +2127,13 @@ module Google
|
|
2204
2127
|
end
|
2205
2128
|
end
|
2206
2129
|
|
2207
|
-
# Location returns the location name, and if the location is recommended
|
2208
|
-
#
|
2130
|
+
# Location returns the location name, and if the location is recommended for GKE
|
2131
|
+
# cluster scheduling.
|
2209
2132
|
class Location
|
2210
2133
|
include Google::Apis::Core::Hashable
|
2211
2134
|
|
2212
|
-
# Contains the name of the resource requested.
|
2213
|
-
#
|
2135
|
+
# Contains the name of the resource requested. Specified in the format `projects/
|
2136
|
+
# */locations/*`.
|
2214
2137
|
# Corresponds to the JSON property `name`
|
2215
2138
|
# @return [String]
|
2216
2139
|
attr_accessor :name
|
@@ -2221,8 +2144,7 @@ module Google
|
|
2221
2144
|
attr_accessor :recommended
|
2222
2145
|
alias_method :recommended?, :recommended
|
2223
2146
|
|
2224
|
-
# Contains the type of location this Location is for.
|
2225
|
-
# Regional or Zonal.
|
2147
|
+
# Contains the type of location this Location is for. Regional or Zonal.
|
2226
2148
|
# Corresponds to the JSON property `type`
|
2227
2149
|
# @return [String]
|
2228
2150
|
attr_accessor :type
|
@@ -2244,10 +2166,10 @@ module Google
|
|
2244
2166
|
include Google::Apis::Core::Hashable
|
2245
2167
|
|
2246
2168
|
# 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
|
-
#
|
2169
|
+
# the policy won't accidentally undo intermediate changes (and so that users of
|
2170
|
+
# the API unaware of some fields won't accidentally remove other fields). Make a
|
2171
|
+
# `get()` request to the cluster to get the current resource version and include
|
2172
|
+
# it with requests to set the policy.
|
2251
2173
|
# Corresponds to the JSON property `resourceVersion`
|
2252
2174
|
# @return [String]
|
2253
2175
|
attr_accessor :resource_version
|
@@ -2277,8 +2199,8 @@ module Google
|
|
2277
2199
|
# @return [Google::Apis::ContainerV1beta1::DailyMaintenanceWindow]
|
2278
2200
|
attr_accessor :daily_maintenance_window
|
2279
2201
|
|
2280
|
-
# Exceptions to maintenance window. Non-emergency maintenance should not
|
2281
|
-
#
|
2202
|
+
# Exceptions to maintenance window. Non-emergency maintenance should not occur
|
2203
|
+
# in these windows.
|
2282
2204
|
# Corresponds to the JSON property `maintenanceExclusions`
|
2283
2205
|
# @return [Hash<String,Google::Apis::ContainerV1beta1::TimeWindow>]
|
2284
2206
|
attr_accessor :maintenance_exclusions
|
@@ -2314,8 +2236,7 @@ module Google
|
|
2314
2236
|
end
|
2315
2237
|
|
2316
2238
|
# The authentication information for accessing the master endpoint.
|
2317
|
-
# Authentication can be done using HTTP basic auth or using client
|
2318
|
-
# certificates.
|
2239
|
+
# Authentication can be done using HTTP basic auth or using client certificates.
|
2319
2240
|
class MasterAuth
|
2320
2241
|
include Google::Apis::Core::Hashable
|
2321
2242
|
|
@@ -2330,8 +2251,8 @@ module Google
|
|
2330
2251
|
# @return [Google::Apis::ContainerV1beta1::ClientCertificateConfig]
|
2331
2252
|
attr_accessor :client_certificate_config
|
2332
2253
|
|
2333
|
-
# [Output only] Base64-encoded private key used by clients to authenticate
|
2334
|
-
#
|
2254
|
+
# [Output only] Base64-encoded private key used by clients to authenticate to
|
2255
|
+
# the cluster endpoint.
|
2335
2256
|
# Corresponds to the JSON property `clientKey`
|
2336
2257
|
# @return [String]
|
2337
2258
|
attr_accessor :client_key
|
@@ -2343,15 +2264,15 @@ module Google
|
|
2343
2264
|
|
2344
2265
|
# The password to use for HTTP basic authentication to the master endpoint.
|
2345
2266
|
# Because the master endpoint is open to the Internet, you should create a
|
2346
|
-
# strong password.
|
2347
|
-
#
|
2267
|
+
# strong password. If a password is provided for cluster creation, username must
|
2268
|
+
# be non-empty.
|
2348
2269
|
# Corresponds to the JSON property `password`
|
2349
2270
|
# @return [String]
|
2350
2271
|
attr_accessor :password
|
2351
2272
|
|
2352
|
-
# The username to use for HTTP basic authentication to the master endpoint.
|
2353
|
-
#
|
2354
|
-
#
|
2273
|
+
# The username to use for HTTP basic authentication to the master endpoint. For
|
2274
|
+
# clusters v1.6.0 and later, basic authentication can be disabled by leaving
|
2275
|
+
# username unspecified (or setting it to the empty string).
|
2355
2276
|
# Corresponds to the JSON property `username`
|
2356
2277
|
# @return [String]
|
2357
2278
|
attr_accessor :username
|
@@ -2378,8 +2299,8 @@ module Google
|
|
2378
2299
|
class MasterAuthorizedNetworksConfig
|
2379
2300
|
include Google::Apis::Core::Hashable
|
2380
2301
|
|
2381
|
-
# cidr_blocks define up to 10 external networks that could access
|
2382
|
-
#
|
2302
|
+
# cidr_blocks define up to 10 external networks that could access Kubernetes
|
2303
|
+
# master through HTTPS.
|
2383
2304
|
# Corresponds to the JSON property `cidrBlocks`
|
2384
2305
|
# @return [Array<Google::Apis::ContainerV1beta1::CidrBlock>]
|
2385
2306
|
attr_accessor :cidr_blocks
|
@@ -2461,31 +2382,35 @@ module Google
|
|
2461
2382
|
class NetworkConfig
|
2462
2383
|
include Google::Apis::Core::Hashable
|
2463
2384
|
|
2464
|
-
#
|
2465
|
-
#
|
2385
|
+
# The desired datapath provider for this cluster. By default, uses the IPTables-
|
2386
|
+
# based kube-proxy implementation.
|
2387
|
+
# Corresponds to the JSON property `datapathProvider`
|
2388
|
+
# @return [String]
|
2389
|
+
attr_accessor :datapath_provider
|
2390
|
+
|
2391
|
+
# DefaultSnatStatus contains the desired state of whether default sNAT should be
|
2392
|
+
# disabled on the cluster.
|
2466
2393
|
# Corresponds to the JSON property `defaultSnatStatus`
|
2467
2394
|
# @return [Google::Apis::ContainerV1beta1::DefaultSnatStatus]
|
2468
2395
|
attr_accessor :default_snat_status
|
2469
2396
|
|
2470
|
-
# Whether Intra-node visibility is enabled for this cluster.
|
2471
|
-
#
|
2397
|
+
# Whether Intra-node visibility is enabled for this cluster. This makes same
|
2398
|
+
# node pod to pod traffic visible for VPC network.
|
2472
2399
|
# Corresponds to the JSON property `enableIntraNodeVisibility`
|
2473
2400
|
# @return [Boolean]
|
2474
2401
|
attr_accessor :enable_intra_node_visibility
|
2475
2402
|
alias_method :enable_intra_node_visibility?, :enable_intra_node_visibility
|
2476
2403
|
|
2477
|
-
# Output only. The relative name of the Google Compute Engine
|
2478
|
-
#
|
2479
|
-
#
|
2480
|
-
# projects/my-project/global/networks/my-network
|
2404
|
+
# Output only. The relative name of the Google Compute Engine network(https://
|
2405
|
+
# cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the
|
2406
|
+
# cluster is connected. Example: projects/my-project/global/networks/my-network
|
2481
2407
|
# Corresponds to the JSON property `network`
|
2482
2408
|
# @return [String]
|
2483
2409
|
attr_accessor :network
|
2484
2410
|
|
2485
|
-
# Output only. The relative name of the Google Compute Engine
|
2486
|
-
#
|
2487
|
-
#
|
2488
|
-
# projects/my-project/regions/us-central1/subnetworks/my-subnet
|
2411
|
+
# Output only. The relative name of the Google Compute Engine [subnetwork](https:
|
2412
|
+
# //cloud.google.com/compute/docs/vpc) to which the cluster is connected.
|
2413
|
+
# Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
|
2489
2414
|
# Corresponds to the JSON property `subnetwork`
|
2490
2415
|
# @return [String]
|
2491
2416
|
attr_accessor :subnetwork
|
@@ -2496,6 +2421,7 @@ module Google
|
|
2496
2421
|
|
2497
2422
|
# Update properties of this object
|
2498
2423
|
def update!(**args)
|
2424
|
+
@datapath_provider = args[:datapath_provider] if args.key?(:datapath_provider)
|
2499
2425
|
@default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
|
2500
2426
|
@enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
|
2501
2427
|
@network = args[:network] if args.key?(:network)
|
@@ -2503,8 +2429,8 @@ module Google
|
|
2503
2429
|
end
|
2504
2430
|
end
|
2505
2431
|
|
2506
|
-
# Configuration options for the NetworkPolicy feature.
|
2507
|
-
#
|
2432
|
+
# Configuration options for the NetworkPolicy feature. https://kubernetes.io/
|
2433
|
+
# docs/concepts/services-networking/networkpolicies/
|
2508
2434
|
class NetworkPolicy
|
2509
2435
|
include Google::Apis::Core::Hashable
|
2510
2436
|
|
@@ -2530,9 +2456,9 @@ module Google
|
|
2530
2456
|
end
|
2531
2457
|
end
|
2532
2458
|
|
2533
|
-
# Configuration for NetworkPolicy. This only tracks whether the addon
|
2534
|
-
#
|
2535
|
-
#
|
2459
|
+
# Configuration for NetworkPolicy. This only tracks whether the addon is enabled
|
2460
|
+
# or not on the Master, it does not track whether network policy is enabled for
|
2461
|
+
# the nodes.
|
2536
2462
|
class NetworkPolicyConfig
|
2537
2463
|
include Google::Apis::Core::Hashable
|
2538
2464
|
|
@@ -2556,39 +2482,35 @@ module Google
|
|
2556
2482
|
class NodeConfig
|
2557
2483
|
include Google::Apis::Core::Hashable
|
2558
2484
|
|
2559
|
-
# A list of hardware accelerators to be attached to each node.
|
2560
|
-
#
|
2561
|
-
# support for GPUs.
|
2485
|
+
# A list of hardware accelerators to be attached to each node. See https://cloud.
|
2486
|
+
# google.com/compute/docs/gpus for more information about support for GPUs.
|
2562
2487
|
# Corresponds to the JSON property `accelerators`
|
2563
2488
|
# @return [Array<Google::Apis::ContainerV1beta1::AcceleratorConfig>]
|
2564
2489
|
attr_accessor :accelerators
|
2565
2490
|
|
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
|
2491
|
+
# The Customer Managed Encryption Key used to encrypt the boot disk attached to
|
2492
|
+
# each node in the node pool. This should be of the form projects/[
|
2493
|
+
# KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
|
2494
|
+
# . For more information about protecting resources with Cloud KMS Keys please
|
2495
|
+
# see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
2573
2496
|
# Corresponds to the JSON property `bootDiskKmsKey`
|
2574
2497
|
# @return [String]
|
2575
2498
|
attr_accessor :boot_disk_kms_key
|
2576
2499
|
|
2577
|
-
# Size of the disk attached to each node, specified in GB.
|
2578
|
-
#
|
2579
|
-
# If unspecified, the default disk size is 100GB.
|
2500
|
+
# Size of the disk attached to each node, specified in GB. The smallest allowed
|
2501
|
+
# disk size is 10GB. If unspecified, the default disk size is 100GB.
|
2580
2502
|
# Corresponds to the JSON property `diskSizeGb`
|
2581
2503
|
# @return [Fixnum]
|
2582
2504
|
attr_accessor :disk_size_gb
|
2583
2505
|
|
2584
|
-
# Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd')
|
2585
|
-
#
|
2506
|
+
# Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If
|
2507
|
+
# unspecified, the default disk type is 'pd-standard'
|
2586
2508
|
# Corresponds to the JSON property `diskType`
|
2587
2509
|
# @return [String]
|
2588
2510
|
attr_accessor :disk_type
|
2589
2511
|
|
2590
|
-
# The image type to use for this node. Note that for a given image type,
|
2591
|
-
#
|
2512
|
+
# The image type to use for this node. Note that for a given image type, the
|
2513
|
+
# latest version of it will be used.
|
2592
2514
|
# Corresponds to the JSON property `imageType`
|
2593
2515
|
# @return [String]
|
2594
2516
|
attr_accessor :image_type
|
@@ -2599,13 +2521,12 @@ module Google
|
|
2599
2521
|
attr_accessor :kubelet_config
|
2600
2522
|
|
2601
2523
|
# 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/
|
2524
|
+
# These will added in addition to any default label(s) that Kubernetes may apply
|
2525
|
+
# to the node. In case of conflict in label keys, the applied set may differ
|
2526
|
+
# depending on the Kubernetes version -- it's best to assume the behavior is
|
2527
|
+
# undefined and conflicts should be avoided. For more information, including
|
2528
|
+
# usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/
|
2529
|
+
# working-with-objects/labels/
|
2609
2530
|
# Corresponds to the JSON property `labels`
|
2610
2531
|
# @return [Hash<String,String>]
|
2611
2532
|
attr_accessor :labels
|
@@ -2615,105 +2536,80 @@ module Google
|
|
2615
2536
|
# @return [Google::Apis::ContainerV1beta1::LinuxNodeConfig]
|
2616
2537
|
attr_accessor :linux_node_config
|
2617
2538
|
|
2618
|
-
# The number of local SSD disks to be attached to the node.
|
2619
|
-
#
|
2620
|
-
#
|
2621
|
-
#
|
2622
|
-
# for more information.
|
2539
|
+
# The number of local SSD disks to be attached to the node. The limit for this
|
2540
|
+
# value is dependent upon the maximum number of disks available on a machine per
|
2541
|
+
# zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more
|
2542
|
+
# information.
|
2623
2543
|
# Corresponds to the JSON property `localSsdCount`
|
2624
2544
|
# @return [Fixnum]
|
2625
2545
|
attr_accessor :local_ssd_count
|
2626
2546
|
|
2627
|
-
# The name of a Google Compute Engine [machine
|
2628
|
-
#
|
2629
|
-
#
|
2630
|
-
# If unspecified, the default machine type is
|
2631
|
-
# `n1-standard-1`.
|
2547
|
+
# The name of a Google Compute Engine [machine type](https://cloud.google.com/
|
2548
|
+
# compute/docs/machine-types). If unspecified, the default machine type is `e2-
|
2549
|
+
# medium`.
|
2632
2550
|
# Corresponds to the JSON property `machineType`
|
2633
2551
|
# @return [String]
|
2634
2552
|
attr_accessor :machine_type
|
2635
2553
|
|
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.
|
2554
|
+
# The metadata key/value pairs assigned to instances in the cluster. Keys must
|
2555
|
+
# conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length.
|
2556
|
+
# These are reflected as part of a URL in the metadata server. Additionally, to
|
2557
|
+
# avoid ambiguity, keys must not conflict with any other metadata keys for the
|
2558
|
+
# project or be one of the reserved keys: - "cluster-location" - "cluster-name" -
|
2559
|
+
# "cluster-uid" - "configure-sh" - "containerd-configure-sh" - "enable-oslogin"
|
2560
|
+
# - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "
|
2561
|
+
# instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-
|
2562
|
+
# address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-
|
2563
|
+
# setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" - "serial-port-logging-
|
2564
|
+
# enable" Values are free-form strings, and only have meaning as interpreted by
|
2565
|
+
# the image running in the instance. The only restriction placed on them is that
|
2566
|
+
# each value's size must be less than or equal to 32 KB. The total size of all
|
2567
|
+
# keys and values must be less than 512 KB.
|
2665
2568
|
# Corresponds to the JSON property `metadata`
|
2666
2569
|
# @return [Hash<String,String>]
|
2667
2570
|
attr_accessor :metadata
|
2668
2571
|
|
2669
2572
|
# Minimum CPU platform to be used by this instance. The instance may be
|
2670
2573
|
# 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)
|
2574
|
+
# friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` or `
|
2575
|
+
# minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to
|
2576
|
+
# specify min CPU platform](https://cloud.google.com/compute/docs/instances/
|
2577
|
+
# specify-min-cpu-platform)
|
2677
2578
|
# Corresponds to the JSON property `minCpuPlatform`
|
2678
2579
|
# @return [String]
|
2679
2580
|
attr_accessor :min_cpu_platform
|
2680
2581
|
|
2681
|
-
# Setting this field will assign instances of this
|
2682
|
-
#
|
2683
|
-
#
|
2684
|
-
# nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
|
2582
|
+
# Setting this field will assign instances of this pool to run on the specified
|
2583
|
+
# node group. This is useful for running workloads on [sole tenant nodes](https:/
|
2584
|
+
# /cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
|
2685
2585
|
# Corresponds to the JSON property `nodeGroup`
|
2686
2586
|
# @return [String]
|
2687
2587
|
attr_accessor :node_group
|
2688
2588
|
|
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.
|
2589
|
+
# The set of Google API scopes to be made available on all of the node VMs under
|
2590
|
+
# the "default" service account. The following scopes are recommended, but not
|
2591
|
+
# required, and by default are not included: * `https://www.googleapis.com/auth/
|
2592
|
+
# compute` is required for mounting persistent storage on your nodes. * `https://
|
2593
|
+
# www.googleapis.com/auth/devstorage.read_only` is required for communicating
|
2594
|
+
# with **gcr.io** (the [Google Container Registry](https://cloud.google.com/
|
2595
|
+
# container-registry/)). If unspecified, no scopes are added, unless Cloud
|
2596
|
+
# Logging or Cloud Monitoring are enabled, in which case their required scopes
|
2597
|
+
# will be added.
|
2701
2598
|
# Corresponds to the JSON property `oauthScopes`
|
2702
2599
|
# @return [Array<String>]
|
2703
2600
|
attr_accessor :oauth_scopes
|
2704
2601
|
|
2705
|
-
# Whether the nodes are created as preemptible VM instances. See:
|
2706
|
-
#
|
2707
|
-
#
|
2602
|
+
# Whether the nodes are created as preemptible VM instances. See: https://cloud.
|
2603
|
+
# google.com/compute/docs/instances/preemptible for more inforamtion about
|
2604
|
+
# preemptible VM instances.
|
2708
2605
|
# Corresponds to the JSON property `preemptible`
|
2709
2606
|
# @return [Boolean]
|
2710
2607
|
attr_accessor :preemptible
|
2711
2608
|
alias_method :preemptible?, :preemptible
|
2712
2609
|
|
2713
2610
|
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
|
2714
|
-
# reserving-zonal-resources)
|
2715
|
-
#
|
2716
|
-
# capacity from.
|
2611
|
+
# reserving-zonal-resources) is the configuration of desired reservation which
|
2612
|
+
# instances could take capacity from.
|
2717
2613
|
# Corresponds to the JSON property `reservationAffinity`
|
2718
2614
|
# @return [Google::Apis::ContainerV1beta1::ReservationAffinity]
|
2719
2615
|
attr_accessor :reservation_affinity
|
@@ -2723,9 +2619,9 @@ module Google
|
|
2723
2619
|
# @return [Google::Apis::ContainerV1beta1::SandboxConfig]
|
2724
2620
|
attr_accessor :sandbox_config
|
2725
2621
|
|
2726
|
-
# The Google Cloud Platform Service Account to be used by the node VMs.
|
2727
|
-
#
|
2728
|
-
#
|
2622
|
+
# The Google Cloud Platform Service Account to be used by the node VMs. Specify
|
2623
|
+
# the email address of the Service Account; otherwise, if no Service Account is
|
2624
|
+
# specified, the "default" service account is used.
|
2729
2625
|
# Corresponds to the JSON property `serviceAccount`
|
2730
2626
|
# @return [String]
|
2731
2627
|
attr_accessor :service_account
|
@@ -2736,16 +2632,16 @@ module Google
|
|
2736
2632
|
attr_accessor :shielded_instance_config
|
2737
2633
|
|
2738
2634
|
# 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
|
-
#
|
2635
|
+
# valid sources or targets for network firewalls and are specified by the client
|
2636
|
+
# during cluster or node pool creation. Each tag within the list must comply
|
2637
|
+
# with RFC1035.
|
2742
2638
|
# Corresponds to the JSON property `tags`
|
2743
2639
|
# @return [Array<String>]
|
2744
2640
|
attr_accessor :tags
|
2745
2641
|
|
2746
|
-
# List of kubernetes taints to be applied to each node.
|
2747
|
-
#
|
2748
|
-
#
|
2642
|
+
# List of kubernetes taints to be applied to each node. For more information,
|
2643
|
+
# including usage and the valid values, see: https://kubernetes.io/docs/concepts/
|
2644
|
+
# configuration/taint-and-toleration/
|
2749
2645
|
# Corresponds to the JSON property `taints`
|
2750
2646
|
# @return [Array<Google::Apis::ContainerV1beta1::NodeTaint>]
|
2751
2647
|
attr_accessor :taints
|
@@ -2791,34 +2687,30 @@ module Google
|
|
2791
2687
|
class NodeKubeletConfig
|
2792
2688
|
include Google::Apis::Core::Hashable
|
2793
2689
|
|
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.
|
2690
|
+
# Enable CPU CFS quota enforcement for containers that specify CPU limits. If
|
2691
|
+
# this option is enabled, kubelet uses CFS quota (https://www.kernel.org/doc/
|
2692
|
+
# Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits.
|
2693
|
+
# Otherwise, CPU limits will not be enforced at all. Disable this option to
|
2694
|
+
# mitigate CPU throttling problems while still having your pods to be in
|
2695
|
+
# Guaranteed QoS class by specifying the CPU limits. The default value is 'true'
|
2696
|
+
# if unspecified.
|
2802
2697
|
# Corresponds to the JSON property `cpuCfsQuota`
|
2803
2698
|
# @return [Boolean]
|
2804
2699
|
attr_accessor :cpu_cfs_quota
|
2805
2700
|
alias_method :cpu_cfs_quota?, :cpu_cfs_quota
|
2806
2701
|
|
2807
|
-
# Set the CPU CFS quota period value 'cpu.cfs_period_us'.
|
2808
|
-
#
|
2809
|
-
#
|
2810
|
-
#
|
2811
|
-
# The value must be a positive duration.
|
2702
|
+
# Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a
|
2703
|
+
# sequence of decimal numbers, each with optional fraction and a unit suffix,
|
2704
|
+
# such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
|
2705
|
+
# . The value must be a positive duration.
|
2812
2706
|
# Corresponds to the JSON property `cpuCfsQuotaPeriod`
|
2813
2707
|
# @return [String]
|
2814
2708
|
attr_accessor :cpu_cfs_quota_period
|
2815
2709
|
|
2816
|
-
# Control the CPU management policy on the node.
|
2817
|
-
#
|
2818
|
-
#
|
2819
|
-
#
|
2820
|
-
# - "none": the default, which represents the existing scheduling behavior.
|
2821
|
-
# - "static": allows pods with certain resource characteristics to be
|
2710
|
+
# Control the CPU management policy on the node. See https://kubernetes.io/docs/
|
2711
|
+
# tasks/administer-cluster/cpu-management-policies/ The following values are
|
2712
|
+
# allowed. - "none": the default, which represents the existing scheduling
|
2713
|
+
# behavior. - "static": allows pods with certain resource characteristics to be
|
2822
2714
|
# granted increased CPU affinity and exclusivity on the node.
|
2823
2715
|
# Corresponds to the JSON property `cpuManagerPolicy`
|
2824
2716
|
# @return [String]
|
@@ -2853,8 +2745,8 @@ module Google
|
|
2853
2745
|
attr_accessor :auto_upgrade
|
2854
2746
|
alias_method :auto_upgrade?, :auto_upgrade
|
2855
2747
|
|
2856
|
-
# AutoUpgradeOptions defines the set of options for the user to control how
|
2857
|
-
#
|
2748
|
+
# AutoUpgradeOptions defines the set of options for the user to control how the
|
2749
|
+
# Auto Upgrades will proceed.
|
2858
2750
|
# Corresponds to the JSON property `upgradeOptions`
|
2859
2751
|
# @return [Google::Apis::ContainerV1beta1::AutoUpgradeOptions]
|
2860
2752
|
attr_accessor :upgrade_options
|
@@ -2871,12 +2763,12 @@ module Google
|
|
2871
2763
|
end
|
2872
2764
|
end
|
2873
2765
|
|
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
|
-
#
|
2766
|
+
# NodePool contains the name and configuration for a cluster's node pool. Node
|
2767
|
+
# pools are a set of nodes (i.e. VM's), with a common configuration and
|
2768
|
+
# specification, under the control of the cluster master. They may have a set of
|
2769
|
+
# Kubernetes labels applied to them, which may be used to reference them during
|
2770
|
+
# pod scheduling. They may also be resized up or down, to accommodate the
|
2771
|
+
# workload.
|
2880
2772
|
class NodePool
|
2881
2773
|
include Google::Apis::Core::Hashable
|
2882
2774
|
|
@@ -2896,25 +2788,23 @@ module Google
|
|
2896
2788
|
# @return [Google::Apis::ContainerV1beta1::NodeConfig]
|
2897
2789
|
attr_accessor :config
|
2898
2790
|
|
2899
|
-
# The initial node count for the pool. You must ensure that your
|
2900
|
-
#
|
2901
|
-
#
|
2902
|
-
#
|
2791
|
+
# The initial node count for the pool. You must ensure that your Compute Engine [
|
2792
|
+
# resource quota](https://cloud.google.com/compute/quotas) is sufficient for
|
2793
|
+
# this number of instances. You must also have available firewall and routes
|
2794
|
+
# quota.
|
2903
2795
|
# Corresponds to the JSON property `initialNodeCount`
|
2904
2796
|
# @return [Fixnum]
|
2905
2797
|
attr_accessor :initial_node_count
|
2906
2798
|
|
2907
|
-
# [Output only] The resource URLs of the [managed instance
|
2908
|
-
#
|
2909
|
-
# of-managed-instances)
|
2799
|
+
# [Output only] The resource URLs of the [managed instance groups](https://cloud.
|
2800
|
+
# google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
|
2910
2801
|
# associated with this node pool.
|
2911
2802
|
# Corresponds to the JSON property `instanceGroupUrls`
|
2912
2803
|
# @return [Array<String>]
|
2913
2804
|
attr_accessor :instance_group_urls
|
2914
2805
|
|
2915
|
-
# The list of Google Compute Engine
|
2916
|
-
#
|
2917
|
-
# NodePool's nodes should be located.
|
2806
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
2807
|
+
# docs/zones#available) in which the NodePool's nodes should be located.
|
2918
2808
|
# Corresponds to the JSON property `locations`
|
2919
2809
|
# @return [Array<String>]
|
2920
2810
|
attr_accessor :locations
|
@@ -2950,30 +2840,26 @@ module Google
|
|
2950
2840
|
# @return [String]
|
2951
2841
|
attr_accessor :status
|
2952
2842
|
|
2953
|
-
# [Output only] Additional information about the current status of this
|
2954
|
-
#
|
2843
|
+
# [Output only] Additional information about the current status of this node
|
2844
|
+
# pool instance, if available.
|
2955
2845
|
# Corresponds to the JSON property `statusMessage`
|
2956
2846
|
# @return [String]
|
2957
2847
|
attr_accessor :status_message
|
2958
2848
|
|
2959
2849
|
# 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.
|
2850
|
+
# disruption caused by an upgrade. maxUnavailable controls the number of nodes
|
2851
|
+
# that can be simultaneously unavailable. maxSurge controls the number of
|
2852
|
+
# additional nodes that can be added to the node pool temporarily for the time
|
2853
|
+
# of the upgrade to increase the number of available nodes. (maxUnavailable +
|
2854
|
+
# maxSurge) determines the level of parallelism (how many nodes are being
|
2855
|
+
# upgraded at the same time). Note: upgrades inevitably introduce some
|
2856
|
+
# disruption since workloads need to be moved from old nodes to new, upgraded
|
2857
|
+
# ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
|
2858
|
+
# limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
|
2859
|
+
# node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
|
2860
|
+
# upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
|
2861
|
+
# upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
|
2862
|
+
# same time. This ensures that there are always at least 4 nodes available.
|
2977
2863
|
# Corresponds to the JSON property `upgradeSettings`
|
2978
2864
|
# @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
|
2979
2865
|
attr_accessor :upgrade_settings
|
@@ -3024,14 +2910,13 @@ module Google
|
|
3024
2910
|
attr_accessor :enabled
|
3025
2911
|
alias_method :enabled?, :enabled
|
3026
2912
|
|
3027
|
-
# Maximum number of nodes in the NodePool. Must be >= min_node_count. There
|
3028
|
-
#
|
2913
|
+
# Maximum number of nodes in the NodePool. Must be >= min_node_count. There has
|
2914
|
+
# to enough quota to scale up the cluster.
|
3029
2915
|
# Corresponds to the JSON property `maxNodeCount`
|
3030
2916
|
# @return [Fixnum]
|
3031
2917
|
attr_accessor :max_node_count
|
3032
2918
|
|
3033
|
-
# Minimum number of nodes in the NodePool. Must be >= 1 and <=
|
3034
|
-
# max_node_count.
|
2919
|
+
# Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.
|
3035
2920
|
# Corresponds to the JSON property `minNodeCount`
|
3036
2921
|
# @return [Fixnum]
|
3037
2922
|
attr_accessor :min_node_count
|
@@ -3050,8 +2935,7 @@ module Google
|
|
3050
2935
|
end
|
3051
2936
|
|
3052
2937
|
# Kubernetes taint is comprised of three fields: key, value, and effect. Effect
|
3053
|
-
# can only be one of three types:
|
3054
|
-
# See
|
2938
|
+
# can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See
|
3055
2939
|
# [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
|
3056
2940
|
# for more information, including usage and the valid values.
|
3057
2941
|
class NodeTaint
|
@@ -3084,12 +2968,32 @@ module Google
|
|
3084
2968
|
end
|
3085
2969
|
end
|
3086
2970
|
|
2971
|
+
# NotificationConfig is the configuration of notifications.
|
2972
|
+
class NotificationConfig
|
2973
|
+
include Google::Apis::Core::Hashable
|
2974
|
+
|
2975
|
+
# Pub/Sub specific notification config.
|
2976
|
+
# Corresponds to the JSON property `pubsub`
|
2977
|
+
# @return [Google::Apis::ContainerV1beta1::PubSub]
|
2978
|
+
attr_accessor :pubsub
|
2979
|
+
|
2980
|
+
def initialize(**args)
|
2981
|
+
update!(**args)
|
2982
|
+
end
|
2983
|
+
|
2984
|
+
# Update properties of this object
|
2985
|
+
def update!(**args)
|
2986
|
+
@pubsub = args[:pubsub] if args.key?(:pubsub)
|
2987
|
+
end
|
2988
|
+
end
|
2989
|
+
|
3087
2990
|
# This operation resource represents operations that may have happened or are
|
3088
2991
|
# happening on the cluster. All fields are output only.
|
3089
2992
|
class Operation
|
3090
2993
|
include Google::Apis::Core::Hashable
|
3091
2994
|
|
3092
|
-
# Which conditions caused the current cluster state.
|
2995
|
+
# Which conditions caused the current cluster state. Deprecated. Use field error
|
2996
|
+
# instead.
|
3093
2997
|
# Corresponds to the JSON property `clusterConditions`
|
3094
2998
|
# @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
|
3095
2999
|
attr_accessor :cluster_conditions
|
@@ -3099,18 +3003,25 @@ module Google
|
|
3099
3003
|
# @return [String]
|
3100
3004
|
attr_accessor :detail
|
3101
3005
|
|
3102
|
-
# [Output only] The time the operation completed, in
|
3103
|
-
#
|
3006
|
+
# [Output only] The time the operation completed, in [RFC3339](https://www.ietf.
|
3007
|
+
# org/rfc/rfc3339.txt) text format.
|
3104
3008
|
# Corresponds to the JSON property `endTime`
|
3105
3009
|
# @return [String]
|
3106
3010
|
attr_accessor :end_time
|
3107
3011
|
|
3108
|
-
#
|
3109
|
-
# [
|
3110
|
-
#
|
3111
|
-
#
|
3112
|
-
# [
|
3113
|
-
#
|
3012
|
+
# The `Status` type defines a logical error model that is suitable for different
|
3013
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
3014
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
3015
|
+
# data: error code, error message, and error details. You can find out more
|
3016
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
3017
|
+
# //cloud.google.com/apis/design/errors).
|
3018
|
+
# Corresponds to the JSON property `error`
|
3019
|
+
# @return [Google::Apis::ContainerV1beta1::Status]
|
3020
|
+
attr_accessor :error
|
3021
|
+
|
3022
|
+
# [Output only] The name of the Google Compute Engine [zone](https://cloud.
|
3023
|
+
# google.com/compute/docs/regions-zones/regions-zones#available) or [region](
|
3024
|
+
# https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
|
3114
3025
|
# in which the cluster resides.
|
3115
3026
|
# Corresponds to the JSON property `location`
|
3116
3027
|
# @return [String]
|
@@ -3121,7 +3032,8 @@ module Google
|
|
3121
3032
|
# @return [String]
|
3122
3033
|
attr_accessor :name
|
3123
3034
|
|
3124
|
-
# Which conditions caused the current node pool state.
|
3035
|
+
# Which conditions caused the current node pool state. Deprecated. Use field
|
3036
|
+
# error instead.
|
3125
3037
|
# Corresponds to the JSON property `nodepoolConditions`
|
3126
3038
|
# @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
|
3127
3039
|
attr_accessor :nodepool_conditions
|
@@ -3141,8 +3053,8 @@ module Google
|
|
3141
3053
|
# @return [String]
|
3142
3054
|
attr_accessor :self_link
|
3143
3055
|
|
3144
|
-
# [Output only] The time the operation started, in
|
3145
|
-
#
|
3056
|
+
# [Output only] The time the operation started, in [RFC3339](https://www.ietf.
|
3057
|
+
# org/rfc/rfc3339.txt) text format.
|
3146
3058
|
# Corresponds to the JSON property `startTime`
|
3147
3059
|
# @return [String]
|
3148
3060
|
attr_accessor :start_time
|
@@ -3153,6 +3065,7 @@ module Google
|
|
3153
3065
|
attr_accessor :status
|
3154
3066
|
|
3155
3067
|
# Output only. If an error has occurred, a textual description of the error.
|
3068
|
+
# Deprecated. Use field error instead.
|
3156
3069
|
# Corresponds to the JSON property `statusMessage`
|
3157
3070
|
# @return [String]
|
3158
3071
|
attr_accessor :status_message
|
@@ -3162,9 +3075,9 @@ module Google
|
|
3162
3075
|
# @return [String]
|
3163
3076
|
attr_accessor :target_link
|
3164
3077
|
|
3165
|
-
# The name of the Google Compute Engine
|
3166
|
-
#
|
3167
|
-
#
|
3078
|
+
# The name of the Google Compute Engine [zone](https://cloud.google.com/compute/
|
3079
|
+
# docs/zones#available) in which the operation is taking place. This field is
|
3080
|
+
# deprecated, use location instead.
|
3168
3081
|
# Corresponds to the JSON property `zone`
|
3169
3082
|
# @return [String]
|
3170
3083
|
attr_accessor :zone
|
@@ -3178,6 +3091,7 @@ module Google
|
|
3178
3091
|
@cluster_conditions = args[:cluster_conditions] if args.key?(:cluster_conditions)
|
3179
3092
|
@detail = args[:detail] if args.key?(:detail)
|
3180
3093
|
@end_time = args[:end_time] if args.key?(:end_time)
|
3094
|
+
@error = args[:error] if args.key?(:error)
|
3181
3095
|
@location = args[:location] if args.key?(:location)
|
3182
3096
|
@name = args[:name] if args.key?(:name)
|
3183
3097
|
@nodepool_conditions = args[:nodepool_conditions] if args.key?(:nodepool_conditions)
|
@@ -3196,18 +3110,15 @@ module Google
|
|
3196
3110
|
class OperationProgress
|
3197
3111
|
include Google::Apis::Core::Hashable
|
3198
3112
|
|
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`]
|
3113
|
+
# Progress metric bundle, for example: metrics: [`name: "nodes done", int_value:
|
3114
|
+
# 15`, `name: "nodes total", int_value: 32`] or metrics: [`name: "progress",
|
3115
|
+
# double_value: 0.56`, `name: "progress scale", double_value: 1.0`]
|
3205
3116
|
# Corresponds to the JSON property `metrics`
|
3206
3117
|
# @return [Array<Google::Apis::ContainerV1beta1::Metric>]
|
3207
3118
|
attr_accessor :metrics
|
3208
3119
|
|
3209
|
-
# A non-parameterized string describing an operation stage.
|
3210
|
-
#
|
3120
|
+
# A non-parameterized string describing an operation stage. Unset for single-
|
3121
|
+
# stage operations.
|
3211
3122
|
# Corresponds to the JSON property `name`
|
3212
3123
|
# @return [String]
|
3213
3124
|
attr_accessor :name
|
@@ -3217,8 +3128,7 @@ module Google
|
|
3217
3128
|
# @return [Array<Google::Apis::ContainerV1beta1::OperationProgress>]
|
3218
3129
|
attr_accessor :stages
|
3219
3130
|
|
3220
|
-
# Status of an operation stage.
|
3221
|
-
# Unset for single-stage operations.
|
3131
|
+
# Status of an operation stage. Unset for single-stage operations.
|
3222
3132
|
# Corresponds to the JSON property `status`
|
3223
3133
|
# @return [String]
|
3224
3134
|
attr_accessor :status
|
@@ -3267,9 +3177,9 @@ module Google
|
|
3267
3177
|
attr_accessor :enable_private_endpoint
|
3268
3178
|
alias_method :enable_private_endpoint?, :enable_private_endpoint
|
3269
3179
|
|
3270
|
-
# Whether nodes have internal IP addresses only. If enabled, all nodes are
|
3271
|
-
#
|
3272
|
-
#
|
3180
|
+
# Whether nodes have internal IP addresses only. If enabled, all nodes are given
|
3181
|
+
# only RFC 1918 private addresses and communicate with the master via private
|
3182
|
+
# networking.
|
3273
3183
|
# Corresponds to the JSON property `enablePrivateNodes`
|
3274
3184
|
# @return [Boolean]
|
3275
3185
|
attr_accessor :enable_private_nodes
|
@@ -3280,10 +3190,10 @@ module Google
|
|
3280
3190
|
# @return [Google::Apis::ContainerV1beta1::PrivateClusterMasterGlobalAccessConfig]
|
3281
3191
|
attr_accessor :master_global_access_config
|
3282
3192
|
|
3283
|
-
# The IP range in CIDR notation to use for the hosted master network. This
|
3284
|
-
#
|
3285
|
-
#
|
3286
|
-
#
|
3193
|
+
# The IP range in CIDR notation to use for the hosted master network. This range
|
3194
|
+
# will be used for assigning internal IP addresses to the master or set of
|
3195
|
+
# masters, as well as the ILB VIP. This range must not overlap with any other
|
3196
|
+
# ranges in use within the cluster's network.
|
3287
3197
|
# Corresponds to the JSON property `masterIpv4CidrBlock`
|
3288
3198
|
# @return [String]
|
3289
3199
|
attr_accessor :master_ipv4_cidr_block
|
@@ -3339,36 +3249,52 @@ module Google
|
|
3339
3249
|
end
|
3340
3250
|
end
|
3341
3251
|
|
3252
|
+
# Pub/Sub specific notification config.
|
3253
|
+
class PubSub
|
3254
|
+
include Google::Apis::Core::Hashable
|
3255
|
+
|
3256
|
+
# Enable notifications for Pub/Sub.
|
3257
|
+
# Corresponds to the JSON property `enabled`
|
3258
|
+
# @return [Boolean]
|
3259
|
+
attr_accessor :enabled
|
3260
|
+
alias_method :enabled?, :enabled
|
3261
|
+
|
3262
|
+
# The desired Pub/Sub topic to which notifications will be sent by GKE. Format
|
3263
|
+
# is `projects/`project`/topics/`topic``.
|
3264
|
+
# Corresponds to the JSON property `topic`
|
3265
|
+
# @return [String]
|
3266
|
+
attr_accessor :topic
|
3267
|
+
|
3268
|
+
def initialize(**args)
|
3269
|
+
update!(**args)
|
3270
|
+
end
|
3271
|
+
|
3272
|
+
# Update properties of this object
|
3273
|
+
def update!(**args)
|
3274
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
3275
|
+
@topic = args[:topic] if args.key?(:topic)
|
3276
|
+
end
|
3277
|
+
end
|
3278
|
+
|
3342
3279
|
# Represents an arbitrary window of time that recurs.
|
3343
3280
|
class RecurringTimeWindow
|
3344
3281
|
include Google::Apis::Core::Hashable
|
3345
3282
|
|
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.
|
3283
|
+
# An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this
|
3284
|
+
# window reccurs. They go on for the span of time between the start and end time.
|
3285
|
+
# For example, to have something repeat every weekday, you'd use: `FREQ=WEEKLY;
|
3286
|
+
# BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the
|
3287
|
+
# DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `
|
3288
|
+
# FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` This specifies how frequently the window
|
3289
|
+
# starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you'd use
|
3290
|
+
# something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-
|
3291
|
+
# 01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ``` Windows can
|
3292
|
+
# span multiple days. Eg, to make the window encompass every weekend from
|
3293
|
+
# midnight Saturday till the last minute of Sunday UTC: ``` start time = 2019-01-
|
3294
|
+
# 05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA
|
3295
|
+
# ``` Note the start and end time's specific dates are largely arbitrary except
|
3296
|
+
# to specify duration of the window and when it first starts. The FREQ values of
|
3297
|
+
# HOURLY, MINUTELY, and SECONDLY are not supported.
|
3372
3298
|
# Corresponds to the JSON property `recurrence`
|
3373
3299
|
# @return [String]
|
3374
3300
|
attr_accessor :recurrence
|
@@ -3389,11 +3315,10 @@ module Google
|
|
3389
3315
|
end
|
3390
3316
|
end
|
3391
3317
|
|
3392
|
-
# ReleaseChannel indicates which release channel a cluster is
|
3393
|
-
#
|
3394
|
-
#
|
3395
|
-
#
|
3396
|
-
# defaults to true and cannot be disabled.
|
3318
|
+
# ReleaseChannel indicates which release channel a cluster is subscribed to.
|
3319
|
+
# Release channels are arranged in order of risk. When a cluster is subscribed
|
3320
|
+
# to a release channel, Google maintains both the master version and the node
|
3321
|
+
# version. Node auto-upgrade defaults to true and cannot be disabled.
|
3397
3322
|
class ReleaseChannel
|
3398
3323
|
include Google::Apis::Core::Hashable
|
3399
3324
|
|
@@ -3416,9 +3341,8 @@ module Google
|
|
3416
3341
|
class ReleaseChannelConfig
|
3417
3342
|
include Google::Apis::Core::Hashable
|
3418
3343
|
|
3419
|
-
# Deprecated.
|
3420
|
-
#
|
3421
|
-
# field.
|
3344
|
+
# Deprecated. This field has been deprecated and replaced with the
|
3345
|
+
# valid_versions field.
|
3422
3346
|
# Corresponds to the JSON property `availableVersions`
|
3423
3347
|
# @return [Array<Google::Apis::ContainerV1beta1::AvailableVersion>]
|
3424
3348
|
attr_accessor :available_versions
|
@@ -3452,9 +3376,8 @@ module Google
|
|
3452
3376
|
end
|
3453
3377
|
|
3454
3378
|
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
|
3455
|
-
# reserving-zonal-resources)
|
3456
|
-
#
|
3457
|
-
# capacity from.
|
3379
|
+
# reserving-zonal-resources) is the configuration of desired reservation which
|
3380
|
+
# instances could take capacity from.
|
3458
3381
|
class ReservationAffinity
|
3459
3382
|
include Google::Apis::Core::Hashable
|
3460
3383
|
|
@@ -3464,8 +3387,8 @@ module Google
|
|
3464
3387
|
attr_accessor :consume_reservation_type
|
3465
3388
|
|
3466
3389
|
# Corresponds to the label key of a reservation resource. To target a
|
3467
|
-
# SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as
|
3468
|
-
#
|
3390
|
+
# SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as the
|
3391
|
+
# key and specify the name of your reservation as its value.
|
3469
3392
|
# Corresponds to the JSON property `key`
|
3470
3393
|
# @return [String]
|
3471
3394
|
attr_accessor :key
|
@@ -3487,8 +3410,8 @@ module Google
|
|
3487
3410
|
end
|
3488
3411
|
end
|
3489
3412
|
|
3490
|
-
# Contains information about amount of some resource in the cluster.
|
3491
|
-
#
|
3413
|
+
# Contains information about amount of some resource in the cluster. For memory,
|
3414
|
+
# value should be in GB.
|
3492
3415
|
class ResourceLimit
|
3493
3416
|
include Google::Apis::Core::Hashable
|
3494
3417
|
|
@@ -3558,36 +3481,35 @@ module Google
|
|
3558
3481
|
class RollbackNodePoolUpgradeRequest
|
3559
3482
|
include Google::Apis::Core::Hashable
|
3560
3483
|
|
3561
|
-
# Required. Deprecated. The name of the cluster to rollback.
|
3562
|
-
#
|
3484
|
+
# Required. Deprecated. The name of the cluster to rollback. This field has been
|
3485
|
+
# deprecated and replaced by the name field.
|
3563
3486
|
# Corresponds to the JSON property `clusterId`
|
3564
3487
|
# @return [String]
|
3565
3488
|
attr_accessor :cluster_id
|
3566
3489
|
|
3567
3490
|
# The name (project, location, cluster, node pool id) of the node poll to
|
3568
|
-
# rollback upgrade.
|
3569
|
-
#
|
3491
|
+
# rollback upgrade. Specified in the format `projects/*/locations/*/clusters/*/
|
3492
|
+
# nodePools/*`.
|
3570
3493
|
# Corresponds to the JSON property `name`
|
3571
3494
|
# @return [String]
|
3572
3495
|
attr_accessor :name
|
3573
3496
|
|
3574
|
-
# Required. Deprecated. The name of the node pool to rollback.
|
3575
|
-
#
|
3497
|
+
# Required. Deprecated. The name of the node pool to rollback. This field has
|
3498
|
+
# been deprecated and replaced by the name field.
|
3576
3499
|
# Corresponds to the JSON property `nodePoolId`
|
3577
3500
|
# @return [String]
|
3578
3501
|
attr_accessor :node_pool_id
|
3579
3502
|
|
3580
3503
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
3581
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
3582
|
-
#
|
3504
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
3505
|
+
# deprecated and replaced by the name field.
|
3583
3506
|
# Corresponds to the JSON property `projectId`
|
3584
3507
|
# @return [String]
|
3585
3508
|
attr_accessor :project_id
|
3586
3509
|
|
3587
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
3588
|
-
#
|
3589
|
-
#
|
3590
|
-
# field.
|
3510
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
3511
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
3512
|
+
# This field has been deprecated and replaced by the name field.
|
3591
3513
|
# Corresponds to the JSON property `zone`
|
3592
3514
|
# @return [String]
|
3593
3515
|
attr_accessor :zone
|
@@ -3684,35 +3606,34 @@ module Google
|
|
3684
3606
|
class SetAddonsConfigRequest
|
3685
3607
|
include Google::Apis::Core::Hashable
|
3686
3608
|
|
3687
|
-
# Configuration for the addons that can be automatically spun up in the
|
3688
|
-
#
|
3609
|
+
# Configuration for the addons that can be automatically spun up in the cluster,
|
3610
|
+
# enabling additional functionality.
|
3689
3611
|
# Corresponds to the JSON property `addonsConfig`
|
3690
3612
|
# @return [Google::Apis::ContainerV1beta1::AddonsConfig]
|
3691
3613
|
attr_accessor :addons_config
|
3692
3614
|
|
3693
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
3694
|
-
#
|
3615
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
3616
|
+
# deprecated and replaced by the name field.
|
3695
3617
|
# Corresponds to the JSON property `clusterId`
|
3696
3618
|
# @return [String]
|
3697
3619
|
attr_accessor :cluster_id
|
3698
3620
|
|
3699
|
-
# The name (project, location, cluster) of the cluster to set addons.
|
3700
|
-
#
|
3621
|
+
# The name (project, location, cluster) of the cluster to set addons. Specified
|
3622
|
+
# in the format `projects/*/locations/*/clusters/*`.
|
3701
3623
|
# Corresponds to the JSON property `name`
|
3702
3624
|
# @return [String]
|
3703
3625
|
attr_accessor :name
|
3704
3626
|
|
3705
3627
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
3706
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
3707
|
-
#
|
3628
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
3629
|
+
# deprecated and replaced by the name field.
|
3708
3630
|
# Corresponds to the JSON property `projectId`
|
3709
3631
|
# @return [String]
|
3710
3632
|
attr_accessor :project_id
|
3711
3633
|
|
3712
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
3713
|
-
#
|
3714
|
-
#
|
3715
|
-
# field.
|
3634
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
3635
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
3636
|
+
# This field has been deprecated and replaced by the name field.
|
3716
3637
|
# Corresponds to the JSON property `zone`
|
3717
3638
|
# @return [String]
|
3718
3639
|
attr_accessor :zone
|
@@ -3737,18 +3658,17 @@ module Google
|
|
3737
3658
|
class SetLabelsRequest
|
3738
3659
|
include Google::Apis::Core::Hashable
|
3739
3660
|
|
3740
|
-
# Required. Deprecated. The name of the cluster.
|
3741
|
-
#
|
3661
|
+
# Required. Deprecated. The name of the cluster. This field has been deprecated
|
3662
|
+
# and replaced by the name field.
|
3742
3663
|
# Corresponds to the JSON property `clusterId`
|
3743
3664
|
# @return [String]
|
3744
3665
|
attr_accessor :cluster_id
|
3745
3666
|
|
3746
3667
|
# 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.
|
3668
|
+
# used to detect conflicts. The fingerprint is initially generated by Kubernetes
|
3669
|
+
# Engine and changes after every request to modify or update labels. You must
|
3670
|
+
# always provide an up-to-date fingerprint hash when updating or changing labels.
|
3671
|
+
# Make a `get()` request to the resource to get the latest fingerprint.
|
3752
3672
|
# Corresponds to the JSON property `labelFingerprint`
|
3753
3673
|
# @return [String]
|
3754
3674
|
attr_accessor :label_fingerprint
|
@@ -3760,8 +3680,8 @@ module Google
|
|
3760
3680
|
attr_accessor :name
|
3761
3681
|
|
3762
3682
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
3763
|
-
# number](https://developers.google.com/console/help/new/#projectnumber).
|
3764
|
-
#
|
3683
|
+
# number](https://developers.google.com/console/help/new/#projectnumber). This
|
3684
|
+
# field has been deprecated and replaced by the name field.
|
3765
3685
|
# Corresponds to the JSON property `projectId`
|
3766
3686
|
# @return [String]
|
3767
3687
|
attr_accessor :project_id
|
@@ -3771,10 +3691,9 @@ module Google
|
|
3771
3691
|
# @return [Hash<String,String>]
|
3772
3692
|
attr_accessor :resource_labels
|
3773
3693
|
|
3774
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
3775
|
-
#
|
3776
|
-
#
|
3777
|
-
# field.
|
3694
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
3695
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
3696
|
+
# This field has been deprecated and replaced by the name field.
|
3778
3697
|
# Corresponds to the JSON property `zone`
|
3779
3698
|
# @return [String]
|
3780
3699
|
attr_accessor :zone
|
@@ -3799,8 +3718,8 @@ module Google
|
|
3799
3718
|
class SetLegacyAbacRequest
|
3800
3719
|
include Google::Apis::Core::Hashable
|
3801
3720
|
|
3802
|
-
# Required. Deprecated. The name of the cluster to update.
|
3803
|
-
#
|
3721
|
+
# Required. Deprecated. The name of the cluster to update. This field has been
|
3722
|
+
# deprecated and replaced by the name field.
|
3804
3723
|
# Corresponds to the JSON property `clusterId`
|
3805
3724
|
# @return [String]
|
3806
3725
|
attr_accessor :cluster_id
|
@@ -3818,16 +3737,15 @@ module Google
|
|
3818
3737
|
attr_accessor :name
|
3819
3738
|
|
3820
3739
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
3821
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
3822
|
-
#
|
3740
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
3741
|
+
# deprecated and replaced by the name field.
|
3823
3742
|
# Corresponds to the JSON property `projectId`
|
3824
3743
|
# @return [String]
|
3825
3744
|
attr_accessor :project_id
|
3826
3745
|
|
3827
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
3828
|
-
#
|
3829
|
-
#
|
3830
|
-
# field.
|
3746
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
3747
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
3748
|
+
# This field has been deprecated and replaced by the name field.
|
3831
3749
|
# Corresponds to the JSON property `zone`
|
3832
3750
|
# @return [String]
|
3833
3751
|
attr_accessor :zone
|
@@ -3850,18 +3768,18 @@ module Google
|
|
3850
3768
|
class SetLocationsRequest
|
3851
3769
|
include Google::Apis::Core::Hashable
|
3852
3770
|
|
3853
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
3854
|
-
#
|
3771
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
3772
|
+
# deprecated and replaced by the name field.
|
3855
3773
|
# Corresponds to the JSON property `clusterId`
|
3856
3774
|
# @return [String]
|
3857
3775
|
attr_accessor :cluster_id
|
3858
3776
|
|
3859
|
-
# Required. The desired list of Google Compute Engine
|
3860
|
-
#
|
3861
|
-
#
|
3862
|
-
#
|
3863
|
-
#
|
3864
|
-
#
|
3777
|
+
# Required. The desired list of Google Compute Engine [zones](https://cloud.
|
3778
|
+
# google.com/compute/docs/zones#available) in which the cluster's nodes should
|
3779
|
+
# be located. Changing the locations a cluster is in will result in nodes being
|
3780
|
+
# either created or removed from the cluster, depending on whether locations are
|
3781
|
+
# being added or removed. This list must always include the cluster's primary
|
3782
|
+
# zone.
|
3865
3783
|
# Corresponds to the JSON property `locations`
|
3866
3784
|
# @return [Array<String>]
|
3867
3785
|
attr_accessor :locations
|
@@ -3873,16 +3791,15 @@ module Google
|
|
3873
3791
|
attr_accessor :name
|
3874
3792
|
|
3875
3793
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
3876
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
3877
|
-
#
|
3794
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
3795
|
+
# deprecated and replaced by the name field.
|
3878
3796
|
# Corresponds to the JSON property `projectId`
|
3879
3797
|
# @return [String]
|
3880
3798
|
attr_accessor :project_id
|
3881
3799
|
|
3882
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
3883
|
-
#
|
3884
|
-
#
|
3885
|
-
# field.
|
3800
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
3801
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
3802
|
+
# This field has been deprecated and replaced by the name field.
|
3886
3803
|
# Corresponds to the JSON property `zone`
|
3887
3804
|
# @return [String]
|
3888
3805
|
attr_accessor :zone
|
@@ -3905,42 +3822,39 @@ module Google
|
|
3905
3822
|
class SetLoggingServiceRequest
|
3906
3823
|
include Google::Apis::Core::Hashable
|
3907
3824
|
|
3908
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
3909
|
-
#
|
3825
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
3826
|
+
# deprecated and replaced by the name field.
|
3910
3827
|
# Corresponds to the JSON property `clusterId`
|
3911
3828
|
# @return [String]
|
3912
3829
|
attr_accessor :cluster_id
|
3913
3830
|
|
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.
|
3831
|
+
# Required. The logging service the cluster should use to write logs. Currently
|
3832
|
+
# available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging
|
3833
|
+
# service with a Kubernetes-native resource model * `logging.googleapis.com` -
|
3834
|
+
# The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none`
|
3835
|
+
# - no logs will be exported from the cluster. If left as an empty string,`
|
3836
|
+
# logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.
|
3837
|
+
# googleapis.com` for earlier versions.
|
3923
3838
|
# Corresponds to the JSON property `loggingService`
|
3924
3839
|
# @return [String]
|
3925
3840
|
attr_accessor :logging_service
|
3926
3841
|
|
3927
|
-
# The name (project, location, cluster) of the cluster to set logging.
|
3928
|
-
#
|
3842
|
+
# The name (project, location, cluster) of the cluster to set logging. Specified
|
3843
|
+
# in the format `projects/*/locations/*/clusters/*`.
|
3929
3844
|
# Corresponds to the JSON property `name`
|
3930
3845
|
# @return [String]
|
3931
3846
|
attr_accessor :name
|
3932
3847
|
|
3933
3848
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
3934
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
3935
|
-
#
|
3849
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
3850
|
+
# deprecated and replaced by the name field.
|
3936
3851
|
# Corresponds to the JSON property `projectId`
|
3937
3852
|
# @return [String]
|
3938
3853
|
attr_accessor :project_id
|
3939
3854
|
|
3940
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
3941
|
-
#
|
3942
|
-
#
|
3943
|
-
# field.
|
3855
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
3856
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
3857
|
+
# This field has been deprecated and replaced by the name field.
|
3944
3858
|
# Corresponds to the JSON property `zone`
|
3945
3859
|
# @return [String]
|
3946
3860
|
attr_accessor :zone
|
@@ -3974,21 +3888,19 @@ module Google
|
|
3974
3888
|
attr_accessor :maintenance_policy
|
3975
3889
|
|
3976
3890
|
# The name (project, location, cluster id) of the cluster to set maintenance
|
3977
|
-
# policy.
|
3978
|
-
# Specified in the format `projects/*/locations/*/clusters/*`.
|
3891
|
+
# policy. Specified in the format `projects/*/locations/*/clusters/*`.
|
3979
3892
|
# Corresponds to the JSON property `name`
|
3980
3893
|
# @return [String]
|
3981
3894
|
attr_accessor :name
|
3982
3895
|
|
3983
|
-
# Required. The Google Developers Console [project ID or project
|
3984
|
-
#
|
3896
|
+
# Required. The Google Developers Console [project ID or project number](https://
|
3897
|
+
# support.google.com/cloud/answer/6158840).
|
3985
3898
|
# Corresponds to the JSON property `projectId`
|
3986
3899
|
# @return [String]
|
3987
3900
|
attr_accessor :project_id
|
3988
3901
|
|
3989
|
-
# Required. The name of the Google Compute Engine
|
3990
|
-
#
|
3991
|
-
# cluster resides.
|
3902
|
+
# Required. The name of the Google Compute Engine [zone](https://cloud.google.
|
3903
|
+
# com/compute/docs/zones#available) in which the cluster resides.
|
3992
3904
|
# Corresponds to the JSON property `zone`
|
3993
3905
|
# @return [String]
|
3994
3906
|
attr_accessor :zone
|
@@ -4016,36 +3928,34 @@ module Google
|
|
4016
3928
|
# @return [String]
|
4017
3929
|
attr_accessor :action
|
4018
3930
|
|
4019
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
4020
|
-
#
|
3931
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
3932
|
+
# deprecated and replaced by the name field.
|
4021
3933
|
# Corresponds to the JSON property `clusterId`
|
4022
3934
|
# @return [String]
|
4023
3935
|
attr_accessor :cluster_id
|
4024
3936
|
|
4025
|
-
# The name (project, location, cluster) of the cluster to set auth.
|
4026
|
-
#
|
3937
|
+
# The name (project, location, cluster) of the cluster to set auth. Specified in
|
3938
|
+
# the format `projects/*/locations/*/clusters/*`.
|
4027
3939
|
# Corresponds to the JSON property `name`
|
4028
3940
|
# @return [String]
|
4029
3941
|
attr_accessor :name
|
4030
3942
|
|
4031
3943
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
4032
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
4033
|
-
#
|
3944
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
3945
|
+
# deprecated and replaced by the name field.
|
4034
3946
|
# Corresponds to the JSON property `projectId`
|
4035
3947
|
# @return [String]
|
4036
3948
|
attr_accessor :project_id
|
4037
3949
|
|
4038
3950
|
# The authentication information for accessing the master endpoint.
|
4039
|
-
# Authentication can be done using HTTP basic auth or using client
|
4040
|
-
# certificates.
|
3951
|
+
# Authentication can be done using HTTP basic auth or using client certificates.
|
4041
3952
|
# Corresponds to the JSON property `update`
|
4042
3953
|
# @return [Google::Apis::ContainerV1beta1::MasterAuth]
|
4043
3954
|
attr_accessor :update
|
4044
3955
|
|
4045
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
4046
|
-
#
|
4047
|
-
#
|
4048
|
-
# field.
|
3956
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
3957
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
3958
|
+
# This field has been deprecated and replaced by the name field.
|
4049
3959
|
# Corresponds to the JSON property `zone`
|
4050
3960
|
# @return [String]
|
4051
3961
|
attr_accessor :zone
|
@@ -4069,21 +3979,19 @@ module Google
|
|
4069
3979
|
class SetMonitoringServiceRequest
|
4070
3980
|
include Google::Apis::Core::Hashable
|
4071
3981
|
|
4072
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
4073
|
-
#
|
3982
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
3983
|
+
# deprecated and replaced by the name field.
|
4074
3984
|
# Corresponds to the JSON property `clusterId`
|
4075
3985
|
# @return [String]
|
4076
3986
|
attr_accessor :cluster_id
|
4077
3987
|
|
4078
3988
|
# 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.
|
3989
|
+
# Currently available options: * "monitoring.googleapis.com/kubernetes" - The
|
3990
|
+
# Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.
|
3991
|
+
# googleapis.com` - The legacy Cloud Monitoring service (no longer available as
|
3992
|
+
# of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
|
3993
|
+
# as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
|
3994
|
+
# 1.14+ or `monitoring.googleapis.com` for earlier versions.
|
4087
3995
|
# Corresponds to the JSON property `monitoringService`
|
4088
3996
|
# @return [String]
|
4089
3997
|
attr_accessor :monitoring_service
|
@@ -4095,16 +4003,15 @@ module Google
|
|
4095
4003
|
attr_accessor :name
|
4096
4004
|
|
4097
4005
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
4098
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
4099
|
-
#
|
4006
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
4007
|
+
# deprecated and replaced by the name field.
|
4100
4008
|
# Corresponds to the JSON property `projectId`
|
4101
4009
|
# @return [String]
|
4102
4010
|
attr_accessor :project_id
|
4103
4011
|
|
4104
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
4105
|
-
#
|
4106
|
-
#
|
4107
|
-
# field.
|
4012
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
4013
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
4014
|
+
# This field has been deprecated and replaced by the name field.
|
4108
4015
|
# Corresponds to the JSON property `zone`
|
4109
4016
|
# @return [String]
|
4110
4017
|
attr_accessor :zone
|
@@ -4127,8 +4034,8 @@ module Google
|
|
4127
4034
|
class SetNetworkPolicyRequest
|
4128
4035
|
include Google::Apis::Core::Hashable
|
4129
4036
|
|
4130
|
-
# Required. Deprecated. The name of the cluster.
|
4131
|
-
#
|
4037
|
+
# Required. Deprecated. The name of the cluster. This field has been deprecated
|
4038
|
+
# and replaced by the name field.
|
4132
4039
|
# Corresponds to the JSON property `clusterId`
|
4133
4040
|
# @return [String]
|
4134
4041
|
attr_accessor :cluster_id
|
@@ -4139,23 +4046,22 @@ module Google
|
|
4139
4046
|
# @return [String]
|
4140
4047
|
attr_accessor :name
|
4141
4048
|
|
4142
|
-
# Configuration options for the NetworkPolicy feature.
|
4143
|
-
#
|
4049
|
+
# Configuration options for the NetworkPolicy feature. https://kubernetes.io/
|
4050
|
+
# docs/concepts/services-networking/networkpolicies/
|
4144
4051
|
# Corresponds to the JSON property `networkPolicy`
|
4145
4052
|
# @return [Google::Apis::ContainerV1beta1::NetworkPolicy]
|
4146
4053
|
attr_accessor :network_policy
|
4147
4054
|
|
4148
4055
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
4149
|
-
# number](https://developers.google.com/console/help/new/#projectnumber).
|
4150
|
-
#
|
4056
|
+
# number](https://developers.google.com/console/help/new/#projectnumber). This
|
4057
|
+
# field has been deprecated and replaced by the name field.
|
4151
4058
|
# Corresponds to the JSON property `projectId`
|
4152
4059
|
# @return [String]
|
4153
4060
|
attr_accessor :project_id
|
4154
4061
|
|
4155
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
4156
|
-
#
|
4157
|
-
#
|
4158
|
-
# field.
|
4062
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
4063
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
4064
|
+
# This field has been deprecated and replaced by the name field.
|
4159
4065
|
# Corresponds to the JSON property `zone`
|
4160
4066
|
# @return [String]
|
4161
4067
|
attr_accessor :zone
|
@@ -4184,36 +4090,35 @@ module Google
|
|
4184
4090
|
# @return [Google::Apis::ContainerV1beta1::NodePoolAutoscaling]
|
4185
4091
|
attr_accessor :autoscaling
|
4186
4092
|
|
4187
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
4188
|
-
#
|
4093
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
4094
|
+
# deprecated and replaced by the name field.
|
4189
4095
|
# Corresponds to the JSON property `clusterId`
|
4190
4096
|
# @return [String]
|
4191
4097
|
attr_accessor :cluster_id
|
4192
4098
|
|
4193
4099
|
# The name (project, location, cluster, node pool) of the node pool to set
|
4194
|
-
# autoscaler settings. Specified in the format
|
4195
|
-
#
|
4100
|
+
# autoscaler settings. Specified in the format `projects/*/locations/*/clusters/*
|
4101
|
+
# /nodePools/*`.
|
4196
4102
|
# Corresponds to the JSON property `name`
|
4197
4103
|
# @return [String]
|
4198
4104
|
attr_accessor :name
|
4199
4105
|
|
4200
|
-
# Required. Deprecated. The name of the node pool to upgrade.
|
4201
|
-
#
|
4106
|
+
# Required. Deprecated. The name of the node pool to upgrade. This field has
|
4107
|
+
# been deprecated and replaced by the name field.
|
4202
4108
|
# Corresponds to the JSON property `nodePoolId`
|
4203
4109
|
# @return [String]
|
4204
4110
|
attr_accessor :node_pool_id
|
4205
4111
|
|
4206
4112
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
4207
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
4208
|
-
#
|
4113
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
4114
|
+
# deprecated and replaced by the name field.
|
4209
4115
|
# Corresponds to the JSON property `projectId`
|
4210
4116
|
# @return [String]
|
4211
4117
|
attr_accessor :project_id
|
4212
4118
|
|
4213
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
4214
|
-
#
|
4215
|
-
#
|
4216
|
-
# field.
|
4119
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
4120
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
4121
|
+
# This field has been deprecated and replaced by the name field.
|
4217
4122
|
# Corresponds to the JSON property `zone`
|
4218
4123
|
# @return [String]
|
4219
4124
|
attr_accessor :zone
|
@@ -4238,8 +4143,8 @@ module Google
|
|
4238
4143
|
class SetNodePoolManagementRequest
|
4239
4144
|
include Google::Apis::Core::Hashable
|
4240
4145
|
|
4241
|
-
# Required. Deprecated. The name of the cluster to update.
|
4242
|
-
#
|
4146
|
+
# Required. Deprecated. The name of the cluster to update. This field has been
|
4147
|
+
# deprecated and replaced by the name field.
|
4243
4148
|
# Corresponds to the JSON property `clusterId`
|
4244
4149
|
# @return [String]
|
4245
4150
|
attr_accessor :cluster_id
|
@@ -4251,29 +4156,28 @@ module Google
|
|
4251
4156
|
attr_accessor :management
|
4252
4157
|
|
4253
4158
|
# The name (project, location, cluster, node pool id) of the node pool to set
|
4254
|
-
# management properties. Specified in the format
|
4255
|
-
#
|
4159
|
+
# management properties. Specified in the format `projects/*/locations/*/
|
4160
|
+
# clusters/*/nodePools/*`.
|
4256
4161
|
# Corresponds to the JSON property `name`
|
4257
4162
|
# @return [String]
|
4258
4163
|
attr_accessor :name
|
4259
4164
|
|
4260
|
-
# Required. Deprecated. The name of the node pool to update.
|
4261
|
-
#
|
4165
|
+
# Required. Deprecated. The name of the node pool to update. This field has been
|
4166
|
+
# deprecated and replaced by the name field.
|
4262
4167
|
# Corresponds to the JSON property `nodePoolId`
|
4263
4168
|
# @return [String]
|
4264
4169
|
attr_accessor :node_pool_id
|
4265
4170
|
|
4266
4171
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
4267
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
4268
|
-
#
|
4172
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
4173
|
+
# deprecated and replaced by the name field.
|
4269
4174
|
# Corresponds to the JSON property `projectId`
|
4270
4175
|
# @return [String]
|
4271
4176
|
attr_accessor :project_id
|
4272
4177
|
|
4273
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
4274
|
-
#
|
4275
|
-
#
|
4276
|
-
# field.
|
4178
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
4179
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
4180
|
+
# This field has been deprecated and replaced by the name field.
|
4277
4181
|
# Corresponds to the JSON property `zone`
|
4278
4182
|
# @return [String]
|
4279
4183
|
attr_accessor :zone
|
@@ -4293,20 +4197,18 @@ module Google
|
|
4293
4197
|
end
|
4294
4198
|
end
|
4295
4199
|
|
4296
|
-
# SetNodePoolSizeRequest sets the size a node
|
4297
|
-
# pool.
|
4200
|
+
# SetNodePoolSizeRequest sets the size a node pool.
|
4298
4201
|
class SetNodePoolSizeRequest
|
4299
4202
|
include Google::Apis::Core::Hashable
|
4300
4203
|
|
4301
|
-
# Required. Deprecated. The name of the cluster to update.
|
4302
|
-
#
|
4204
|
+
# Required. Deprecated. The name of the cluster to update. This field has been
|
4205
|
+
# deprecated and replaced by the name field.
|
4303
4206
|
# Corresponds to the JSON property `clusterId`
|
4304
4207
|
# @return [String]
|
4305
4208
|
attr_accessor :cluster_id
|
4306
4209
|
|
4307
4210
|
# 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/*`.
|
4211
|
+
# size. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
|
4310
4212
|
# Corresponds to the JSON property `name`
|
4311
4213
|
# @return [String]
|
4312
4214
|
attr_accessor :name
|
@@ -4316,23 +4218,22 @@ module Google
|
|
4316
4218
|
# @return [Fixnum]
|
4317
4219
|
attr_accessor :node_count
|
4318
4220
|
|
4319
|
-
# Required. Deprecated. The name of the node pool to update.
|
4320
|
-
#
|
4221
|
+
# Required. Deprecated. The name of the node pool to update. This field has been
|
4222
|
+
# deprecated and replaced by the name field.
|
4321
4223
|
# Corresponds to the JSON property `nodePoolId`
|
4322
4224
|
# @return [String]
|
4323
4225
|
attr_accessor :node_pool_id
|
4324
4226
|
|
4325
4227
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
4326
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
4327
|
-
#
|
4228
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
4229
|
+
# deprecated and replaced by the name field.
|
4328
4230
|
# Corresponds to the JSON property `projectId`
|
4329
4231
|
# @return [String]
|
4330
4232
|
attr_accessor :project_id
|
4331
4233
|
|
4332
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
4333
|
-
#
|
4334
|
-
#
|
4335
|
-
# field.
|
4234
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
4235
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
4236
|
+
# This field has been deprecated and replaced by the name field.
|
4336
4237
|
# Corresponds to the JSON property `zone`
|
4337
4238
|
# @return [String]
|
4338
4239
|
attr_accessor :zone
|
@@ -4356,20 +4257,20 @@ module Google
|
|
4356
4257
|
class ShieldedInstanceConfig
|
4357
4258
|
include Google::Apis::Core::Hashable
|
4358
4259
|
|
4359
|
-
# Defines whether the instance has integrity monitoring enabled.
|
4360
|
-
#
|
4361
|
-
#
|
4362
|
-
#
|
4363
|
-
#
|
4260
|
+
# Defines whether the instance has integrity monitoring enabled. Enables
|
4261
|
+
# monitoring and attestation of the boot integrity of the instance. The
|
4262
|
+
# attestation is performed against the integrity policy baseline. This baseline
|
4263
|
+
# is initially derived from the implicitly trusted boot image when the instance
|
4264
|
+
# is created.
|
4364
4265
|
# Corresponds to the JSON property `enableIntegrityMonitoring`
|
4365
4266
|
# @return [Boolean]
|
4366
4267
|
attr_accessor :enable_integrity_monitoring
|
4367
4268
|
alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
|
4368
4269
|
|
4369
|
-
# Defines whether the instance has Secure Boot enabled.
|
4370
|
-
#
|
4371
|
-
#
|
4372
|
-
#
|
4270
|
+
# Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure
|
4271
|
+
# that the system only runs authentic software by verifying the digital
|
4272
|
+
# signature of all boot components, and halting the boot process if signature
|
4273
|
+
# verification fails.
|
4373
4274
|
# Corresponds to the JSON property `enableSecureBoot`
|
4374
4275
|
# @return [Boolean]
|
4375
4276
|
attr_accessor :enable_secure_boot
|
@@ -4406,26 +4307,26 @@ module Google
|
|
4406
4307
|
end
|
4407
4308
|
end
|
4408
4309
|
|
4409
|
-
# StartIPRotationRequest creates a new IP for the cluster and then performs
|
4410
|
-
#
|
4310
|
+
# StartIPRotationRequest creates a new IP for the cluster and then performs a
|
4311
|
+
# node upgrade on each node pool to point to the new IP.
|
4411
4312
|
class StartIpRotationRequest
|
4412
4313
|
include Google::Apis::Core::Hashable
|
4413
4314
|
|
4414
|
-
# Required. Deprecated. The name of the cluster.
|
4415
|
-
#
|
4315
|
+
# Required. Deprecated. The name of the cluster. This field has been deprecated
|
4316
|
+
# and replaced by the name field.
|
4416
4317
|
# Corresponds to the JSON property `clusterId`
|
4417
4318
|
# @return [String]
|
4418
4319
|
attr_accessor :cluster_id
|
4419
4320
|
|
4420
|
-
# The name (project, location, cluster id) of the cluster to start IP
|
4421
|
-
#
|
4321
|
+
# The name (project, location, cluster id) of the cluster to start IP rotation.
|
4322
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
4422
4323
|
# Corresponds to the JSON property `name`
|
4423
4324
|
# @return [String]
|
4424
4325
|
attr_accessor :name
|
4425
4326
|
|
4426
4327
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
4427
|
-
# number](https://developers.google.com/console/help/new/#projectnumber).
|
4428
|
-
#
|
4328
|
+
# number](https://developers.google.com/console/help/new/#projectnumber). This
|
4329
|
+
# field has been deprecated and replaced by the name field.
|
4429
4330
|
# Corresponds to the JSON property `projectId`
|
4430
4331
|
# @return [String]
|
4431
4332
|
attr_accessor :project_id
|
@@ -4436,10 +4337,9 @@ module Google
|
|
4436
4337
|
attr_accessor :rotate_credentials
|
4437
4338
|
alias_method :rotate_credentials?, :rotate_credentials
|
4438
4339
|
|
4439
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
4440
|
-
#
|
4441
|
-
#
|
4442
|
-
# field.
|
4340
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
4341
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
4342
|
+
# This field has been deprecated and replaced by the name field.
|
4443
4343
|
# Corresponds to the JSON property `zone`
|
4444
4344
|
# @return [String]
|
4445
4345
|
attr_accessor :zone
|
@@ -4458,12 +4358,57 @@ module Google
|
|
4458
4358
|
end
|
4459
4359
|
end
|
4460
4360
|
|
4461
|
-
#
|
4462
|
-
#
|
4361
|
+
# The `Status` type defines a logical error model that is suitable for different
|
4362
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
4363
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
4364
|
+
# data: error code, error message, and error details. You can find out more
|
4365
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
4366
|
+
# //cloud.google.com/apis/design/errors).
|
4367
|
+
class Status
|
4368
|
+
include Google::Apis::Core::Hashable
|
4369
|
+
|
4370
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
4371
|
+
# Corresponds to the JSON property `code`
|
4372
|
+
# @return [Fixnum]
|
4373
|
+
attr_accessor :code
|
4374
|
+
|
4375
|
+
# A list of messages that carry the error details. There is a common set of
|
4376
|
+
# message types for APIs to use.
|
4377
|
+
# Corresponds to the JSON property `details`
|
4378
|
+
# @return [Array<Hash<String,Object>>]
|
4379
|
+
attr_accessor :details
|
4380
|
+
|
4381
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
4382
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
4383
|
+
# field, or localized by the client.
|
4384
|
+
# Corresponds to the JSON property `message`
|
4385
|
+
# @return [String]
|
4386
|
+
attr_accessor :message
|
4387
|
+
|
4388
|
+
def initialize(**args)
|
4389
|
+
update!(**args)
|
4390
|
+
end
|
4391
|
+
|
4392
|
+
# Update properties of this object
|
4393
|
+
def update!(**args)
|
4394
|
+
@code = args[:code] if args.key?(:code)
|
4395
|
+
@details = args[:details] if args.key?(:details)
|
4396
|
+
@message = args[:message] if args.key?(:message)
|
4397
|
+
end
|
4398
|
+
end
|
4399
|
+
|
4400
|
+
# StatusCondition describes why a cluster or a node pool has a certain status (e.
|
4401
|
+
# g., ERROR or DEGRADED).
|
4463
4402
|
class StatusCondition
|
4464
4403
|
include Google::Apis::Core::Hashable
|
4465
4404
|
|
4466
|
-
#
|
4405
|
+
# Canonical code of the condition.
|
4406
|
+
# Corresponds to the JSON property `canonicalCode`
|
4407
|
+
# @return [String]
|
4408
|
+
attr_accessor :canonical_code
|
4409
|
+
|
4410
|
+
# Machine-friendly representation of the condition Deprecated. Use
|
4411
|
+
# canonical_code instead.
|
4467
4412
|
# Corresponds to the JSON property `code`
|
4468
4413
|
# @return [String]
|
4469
4414
|
attr_accessor :code
|
@@ -4479,6 +4424,7 @@ module Google
|
|
4479
4424
|
|
4480
4425
|
# Update properties of this object
|
4481
4426
|
def update!(**args)
|
4427
|
+
@canonical_code = args[:canonical_code] if args.key?(:canonical_code)
|
4482
4428
|
@code = args[:code] if args.key?(:code)
|
4483
4429
|
@message = args[:message] if args.key?(:message)
|
4484
4430
|
end
|
@@ -4488,8 +4434,8 @@ module Google
|
|
4488
4434
|
class TimeWindow
|
4489
4435
|
include Google::Apis::Core::Hashable
|
4490
4436
|
|
4491
|
-
# The time that the window ends. The end time should take place after the
|
4492
|
-
#
|
4437
|
+
# The time that the window ends. The end time should take place after the start
|
4438
|
+
# time.
|
4493
4439
|
# Corresponds to the JSON property `endTime`
|
4494
4440
|
# @return [String]
|
4495
4441
|
attr_accessor :end_time
|
@@ -4547,36 +4493,34 @@ module Google
|
|
4547
4493
|
class UpdateClusterRequest
|
4548
4494
|
include Google::Apis::Core::Hashable
|
4549
4495
|
|
4550
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
4551
|
-
#
|
4496
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
4497
|
+
# deprecated and replaced by the name field.
|
4552
4498
|
# Corresponds to the JSON property `clusterId`
|
4553
4499
|
# @return [String]
|
4554
4500
|
attr_accessor :cluster_id
|
4555
4501
|
|
4556
|
-
# The name (project, location, cluster) of the cluster to update.
|
4557
|
-
#
|
4502
|
+
# The name (project, location, cluster) of the cluster to update. Specified in
|
4503
|
+
# the format `projects/*/locations/*/clusters/*`.
|
4558
4504
|
# Corresponds to the JSON property `name`
|
4559
4505
|
# @return [String]
|
4560
4506
|
attr_accessor :name
|
4561
4507
|
|
4562
4508
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
4563
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
4564
|
-
#
|
4509
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
4510
|
+
# deprecated and replaced by the name field.
|
4565
4511
|
# Corresponds to the JSON property `projectId`
|
4566
4512
|
# @return [String]
|
4567
4513
|
attr_accessor :project_id
|
4568
4514
|
|
4569
|
-
# ClusterUpdate describes an update to the cluster. Exactly one update can
|
4570
|
-
#
|
4571
|
-
# provided.
|
4515
|
+
# ClusterUpdate describes an update to the cluster. Exactly one update can be
|
4516
|
+
# applied to a cluster with each request, so at most one field can be provided.
|
4572
4517
|
# Corresponds to the JSON property `update`
|
4573
4518
|
# @return [Google::Apis::ContainerV1beta1::ClusterUpdate]
|
4574
4519
|
attr_accessor :update
|
4575
4520
|
|
4576
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
4577
|
-
#
|
4578
|
-
#
|
4579
|
-
# field.
|
4521
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
4522
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
4523
|
+
# This field has been deprecated and replaced by the name field.
|
4580
4524
|
# Corresponds to the JSON property `zone`
|
4581
4525
|
# @return [String]
|
4582
4526
|
attr_accessor :zone
|
@@ -4599,41 +4543,39 @@ module Google
|
|
4599
4543
|
class UpdateMasterRequest
|
4600
4544
|
include Google::Apis::Core::Hashable
|
4601
4545
|
|
4602
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
4603
|
-
#
|
4546
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
4547
|
+
# deprecated and replaced by the name field.
|
4604
4548
|
# Corresponds to the JSON property `clusterId`
|
4605
4549
|
# @return [String]
|
4606
4550
|
attr_accessor :cluster_id
|
4607
4551
|
|
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
|
4552
|
+
# Required. The Kubernetes version to change the master to. Users may specify
|
4553
|
+
# either explicit versions offered by Kubernetes Engine or version aliases,
|
4554
|
+
# which have the following behavior: - "latest": picks the highest valid
|
4555
|
+
# Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.
|
4556
|
+
# X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version -
|
4557
|
+
# "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the default
|
4558
|
+
# Kubernetes version
|
4616
4559
|
# Corresponds to the JSON property `masterVersion`
|
4617
4560
|
# @return [String]
|
4618
4561
|
attr_accessor :master_version
|
4619
4562
|
|
4620
|
-
# The name (project, location, cluster) of the cluster to update.
|
4621
|
-
#
|
4563
|
+
# The name (project, location, cluster) of the cluster to update. Specified in
|
4564
|
+
# the format `projects/*/locations/*/clusters/*`.
|
4622
4565
|
# Corresponds to the JSON property `name`
|
4623
4566
|
# @return [String]
|
4624
4567
|
attr_accessor :name
|
4625
4568
|
|
4626
4569
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
4627
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
4628
|
-
#
|
4570
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
4571
|
+
# deprecated and replaced by the name field.
|
4629
4572
|
# Corresponds to the JSON property `projectId`
|
4630
4573
|
# @return [String]
|
4631
4574
|
attr_accessor :project_id
|
4632
4575
|
|
4633
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
4634
|
-
#
|
4635
|
-
#
|
4636
|
-
# field.
|
4576
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
4577
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
4578
|
+
# This field has been deprecated and replaced by the name field.
|
4637
4579
|
# Corresponds to the JSON property `zone`
|
4638
4580
|
# @return [String]
|
4639
4581
|
attr_accessor :zone
|
@@ -4656,8 +4598,8 @@ module Google
|
|
4656
4598
|
class UpdateNodePoolRequest
|
4657
4599
|
include Google::Apis::Core::Hashable
|
4658
4600
|
|
4659
|
-
# Required. Deprecated. The name of the cluster to upgrade.
|
4660
|
-
#
|
4601
|
+
# Required. Deprecated. The name of the cluster to upgrade. This field has been
|
4602
|
+
# deprecated and replaced by the name field.
|
4661
4603
|
# Corresponds to the JSON property `clusterId`
|
4662
4604
|
# @return [String]
|
4663
4605
|
attr_accessor :cluster_id
|
@@ -4677,66 +4619,59 @@ module Google
|
|
4677
4619
|
# @return [Google::Apis::ContainerV1beta1::LinuxNodeConfig]
|
4678
4620
|
attr_accessor :linux_node_config
|
4679
4621
|
|
4680
|
-
# The desired list of Google Compute Engine
|
4681
|
-
#
|
4682
|
-
#
|
4683
|
-
#
|
4684
|
-
#
|
4622
|
+
# The desired list of Google Compute Engine [zones](https://cloud.google.com/
|
4623
|
+
# compute/docs/zones#available) in which the node pool's nodes should be located.
|
4624
|
+
# Changing the locations for a node pool will result in nodes being either
|
4625
|
+
# created or removed from the node pool, depending on whether locations are
|
4626
|
+
# being added or removed.
|
4685
4627
|
# Corresponds to the JSON property `locations`
|
4686
4628
|
# @return [Array<String>]
|
4687
4629
|
attr_accessor :locations
|
4688
4630
|
|
4689
|
-
# The name (project, location, cluster, node pool) of the node pool to
|
4690
|
-
#
|
4691
|
-
# `projects/*/locations/*/clusters/*/nodePools/*`.
|
4631
|
+
# The name (project, location, cluster, node pool) of the node pool to update.
|
4632
|
+
# Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
|
4692
4633
|
# Corresponds to the JSON property `name`
|
4693
4634
|
# @return [String]
|
4694
4635
|
attr_accessor :name
|
4695
4636
|
|
4696
|
-
# Required. Deprecated. The name of the node pool to upgrade.
|
4697
|
-
#
|
4637
|
+
# Required. Deprecated. The name of the node pool to upgrade. This field has
|
4638
|
+
# been deprecated and replaced by the name field.
|
4698
4639
|
# Corresponds to the JSON property `nodePoolId`
|
4699
4640
|
# @return [String]
|
4700
4641
|
attr_accessor :node_pool_id
|
4701
4642
|
|
4702
|
-
# Required. The Kubernetes version to change the nodes to (typically an
|
4703
|
-
# upgrade).
|
4643
|
+
# Required. The Kubernetes version to change the nodes to (typically an upgrade).
|
4704
4644
|
# 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
|
4645
|
+
# version aliases, which have the following behavior: - "latest": picks the
|
4646
|
+
# highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N
|
4647
|
+
# patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the
|
4648
|
+
# 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-":
|
4649
|
+
# picks the Kubernetes master version
|
4711
4650
|
# Corresponds to the JSON property `nodeVersion`
|
4712
4651
|
# @return [String]
|
4713
4652
|
attr_accessor :node_version
|
4714
4653
|
|
4715
4654
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
4716
|
-
# number](https://support.google.com/cloud/answer/6158840).
|
4717
|
-
#
|
4655
|
+
# number](https://support.google.com/cloud/answer/6158840). This field has been
|
4656
|
+
# deprecated and replaced by the name field.
|
4718
4657
|
# Corresponds to the JSON property `projectId`
|
4719
4658
|
# @return [String]
|
4720
4659
|
attr_accessor :project_id
|
4721
4660
|
|
4722
4661
|
# 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.
|
4662
|
+
# disruption caused by an upgrade. maxUnavailable controls the number of nodes
|
4663
|
+
# that can be simultaneously unavailable. maxSurge controls the number of
|
4664
|
+
# additional nodes that can be added to the node pool temporarily for the time
|
4665
|
+
# of the upgrade to increase the number of available nodes. (maxUnavailable +
|
4666
|
+
# maxSurge) determines the level of parallelism (how many nodes are being
|
4667
|
+
# upgraded at the same time). Note: upgrades inevitably introduce some
|
4668
|
+
# disruption since workloads need to be moved from old nodes to new, upgraded
|
4669
|
+
# ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
|
4670
|
+
# limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
|
4671
|
+
# node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
|
4672
|
+
# upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
|
4673
|
+
# upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
|
4674
|
+
# same time. This ensures that there are always at least 4 nodes available.
|
4740
4675
|
# Corresponds to the JSON property `upgradeSettings`
|
4741
4676
|
# @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
|
4742
4677
|
attr_accessor :upgrade_settings
|
@@ -4747,10 +4682,9 @@ module Google
|
|
4747
4682
|
# @return [Google::Apis::ContainerV1beta1::WorkloadMetadataConfig]
|
4748
4683
|
attr_accessor :workload_metadata_config
|
4749
4684
|
|
4750
|
-
# Required. Deprecated. The name of the Google Compute Engine
|
4751
|
-
#
|
4752
|
-
#
|
4753
|
-
# field.
|
4685
|
+
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
4686
|
+
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
4687
|
+
# This field has been deprecated and replaced by the name field.
|
4754
4688
|
# Corresponds to the JSON property `zone`
|
4755
4689
|
# @return [String]
|
4756
4690
|
attr_accessor :zone
|
@@ -4776,36 +4710,82 @@ module Google
|
|
4776
4710
|
end
|
4777
4711
|
end
|
4778
4712
|
|
4713
|
+
# UpgradeEvent is a notification sent to customers by the cluster server when a
|
4714
|
+
# resource is upgrading.
|
4715
|
+
class UpgradeEvent
|
4716
|
+
include Google::Apis::Core::Hashable
|
4717
|
+
|
4718
|
+
# Required. The current version before the upgrade.
|
4719
|
+
# Corresponds to the JSON property `currentVersion`
|
4720
|
+
# @return [String]
|
4721
|
+
attr_accessor :current_version
|
4722
|
+
|
4723
|
+
# Required. The operation associated with this upgrade.
|
4724
|
+
# Corresponds to the JSON property `operation`
|
4725
|
+
# @return [String]
|
4726
|
+
attr_accessor :operation
|
4727
|
+
|
4728
|
+
# Required. The time when the operation was started.
|
4729
|
+
# Corresponds to the JSON property `operationStartTime`
|
4730
|
+
# @return [String]
|
4731
|
+
attr_accessor :operation_start_time
|
4732
|
+
|
4733
|
+
# Optional. Optional relative path to the resource. For example in node pool
|
4734
|
+
# upgrades, the relative path of the node pool.
|
4735
|
+
# Corresponds to the JSON property `resource`
|
4736
|
+
# @return [String]
|
4737
|
+
attr_accessor :resource
|
4738
|
+
|
4739
|
+
# Required. The resource type that is upgrading.
|
4740
|
+
# Corresponds to the JSON property `resourceType`
|
4741
|
+
# @return [String]
|
4742
|
+
attr_accessor :resource_type
|
4743
|
+
|
4744
|
+
# Required. The target version for the upgrade.
|
4745
|
+
# Corresponds to the JSON property `targetVersion`
|
4746
|
+
# @return [String]
|
4747
|
+
attr_accessor :target_version
|
4748
|
+
|
4749
|
+
def initialize(**args)
|
4750
|
+
update!(**args)
|
4751
|
+
end
|
4752
|
+
|
4753
|
+
# Update properties of this object
|
4754
|
+
def update!(**args)
|
4755
|
+
@current_version = args[:current_version] if args.key?(:current_version)
|
4756
|
+
@operation = args[:operation] if args.key?(:operation)
|
4757
|
+
@operation_start_time = args[:operation_start_time] if args.key?(:operation_start_time)
|
4758
|
+
@resource = args[:resource] if args.key?(:resource)
|
4759
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
4760
|
+
@target_version = args[:target_version] if args.key?(:target_version)
|
4761
|
+
end
|
4762
|
+
end
|
4763
|
+
|
4779
4764
|
# 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.
|
4765
|
+
# disruption caused by an upgrade. maxUnavailable controls the number of nodes
|
4766
|
+
# that can be simultaneously unavailable. maxSurge controls the number of
|
4767
|
+
# additional nodes that can be added to the node pool temporarily for the time
|
4768
|
+
# of the upgrade to increase the number of available nodes. (maxUnavailable +
|
4769
|
+
# maxSurge) determines the level of parallelism (how many nodes are being
|
4770
|
+
# upgraded at the same time). Note: upgrades inevitably introduce some
|
4771
|
+
# disruption since workloads need to be moved from old nodes to new, upgraded
|
4772
|
+
# ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
|
4773
|
+
# limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
|
4774
|
+
# node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
|
4775
|
+
# upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
|
4776
|
+
# upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
|
4777
|
+
# same time. This ensures that there are always at least 4 nodes available.
|
4797
4778
|
class UpgradeSettings
|
4798
4779
|
include Google::Apis::Core::Hashable
|
4799
4780
|
|
4800
|
-
# The maximum number of nodes that can be created beyond the current size
|
4801
|
-
#
|
4781
|
+
# The maximum number of nodes that can be created beyond the current size of the
|
4782
|
+
# node pool during the upgrade process.
|
4802
4783
|
# Corresponds to the JSON property `maxSurge`
|
4803
4784
|
# @return [Fixnum]
|
4804
4785
|
attr_accessor :max_surge
|
4805
4786
|
|
4806
|
-
# The maximum number of nodes that can be simultaneously unavailable during
|
4807
|
-
#
|
4808
|
-
# Ready.
|
4787
|
+
# The maximum number of nodes that can be simultaneously unavailable during the
|
4788
|
+
# upgrade process. A node is considered available if its status is Ready.
|
4809
4789
|
# Corresponds to the JSON property `maxUnavailable`
|
4810
4790
|
# @return [Fixnum]
|
4811
4791
|
attr_accessor :max_unavailable
|
@@ -4831,8 +4811,7 @@ module Google
|
|
4831
4811
|
# @return [String]
|
4832
4812
|
attr_accessor :ip_cidr_range
|
4833
4813
|
|
4834
|
-
# Network Name.
|
4835
|
-
# Example: projects/my-project/global/networks/my-network
|
4814
|
+
# Network Name. Example: projects/my-project/global/networks/my-network
|
4836
4815
|
# Corresponds to the JSON property `network`
|
4837
4816
|
# @return [String]
|
4838
4817
|
attr_accessor :network
|
@@ -4842,16 +4821,16 @@ module Google
|
|
4842
4821
|
# @return [Array<Google::Apis::ContainerV1beta1::UsableSubnetworkSecondaryRange>]
|
4843
4822
|
attr_accessor :secondary_ip_ranges
|
4844
4823
|
|
4845
|
-
# A human readable status message representing the reasons for cases where
|
4846
|
-
#
|
4847
|
-
#
|
4824
|
+
# A human readable status message representing the reasons for cases where the
|
4825
|
+
# caller cannot use the secondary ranges under the subnet. For example if the
|
4826
|
+
# secondary_ip_ranges is empty due to a permission issue, an insufficient
|
4848
4827
|
# permission message will be given by status_message.
|
4849
4828
|
# Corresponds to the JSON property `statusMessage`
|
4850
4829
|
# @return [String]
|
4851
4830
|
attr_accessor :status_message
|
4852
4831
|
|
4853
|
-
# Subnetwork Name.
|
4854
|
-
#
|
4832
|
+
# Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/
|
4833
|
+
# my-subnet
|
4855
4834
|
# Corresponds to the JSON property `subnetwork`
|
4856
4835
|
# @return [String]
|
4857
4836
|
attr_accessor :subnetwork
|
@@ -4879,8 +4858,8 @@ module Google
|
|
4879
4858
|
# @return [String]
|
4880
4859
|
attr_accessor :ip_cidr_range
|
4881
4860
|
|
4882
|
-
# The name associated with this subnetwork secondary range, used when adding
|
4883
|
-
#
|
4861
|
+
# The name associated with this subnetwork secondary range, used when adding an
|
4862
|
+
# alias IP range to a VM instance.
|
4884
4863
|
# Corresponds to the JSON property `rangeName`
|
4885
4864
|
# @return [String]
|
4886
4865
|
attr_accessor :range_name
|
@@ -4902,9 +4881,9 @@ module Google
|
|
4902
4881
|
end
|
4903
4882
|
end
|
4904
4883
|
|
4905
|
-
# VerticalPodAutoscaling contains global, per-cluster information
|
4906
|
-
#
|
4907
|
-
#
|
4884
|
+
# VerticalPodAutoscaling contains global, per-cluster information required by
|
4885
|
+
# Vertical Pod Autoscaler to automatically adjust the resources of pods
|
4886
|
+
# controlled by it.
|
4908
4887
|
class VerticalPodAutoscaling
|
4909
4888
|
include Google::Apis::Core::Hashable
|
4910
4889
|
|
@@ -4924,8 +4903,7 @@ module Google
|
|
4924
4903
|
end
|
4925
4904
|
end
|
4926
4905
|
|
4927
|
-
# Configuration for the use of Kubernetes Service Accounts in GCP IAM
|
4928
|
-
# policies.
|
4906
|
+
# Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
|
4929
4907
|
class WorkloadIdentityConfig
|
4930
4908
|
include Google::Apis::Core::Hashable
|
4931
4909
|
|
@@ -4961,14 +4939,14 @@ module Google
|
|
4961
4939
|
class WorkloadMetadataConfig
|
4962
4940
|
include Google::Apis::Core::Hashable
|
4963
4941
|
|
4964
|
-
# Mode is the configuration for how to expose metadata to workloads running
|
4965
|
-
#
|
4942
|
+
# Mode is the configuration for how to expose metadata to workloads running on
|
4943
|
+
# the node pool.
|
4966
4944
|
# Corresponds to the JSON property `mode`
|
4967
4945
|
# @return [String]
|
4968
4946
|
attr_accessor :mode
|
4969
4947
|
|
4970
|
-
# NodeMetadata is the configuration for how to expose metadata to the
|
4971
|
-
#
|
4948
|
+
# NodeMetadata is the configuration for how to expose metadata to the workloads
|
4949
|
+
# running on the node.
|
4972
4950
|
# Corresponds to the JSON property `nodeMetadata`
|
4973
4951
|
# @return [String]
|
4974
4952
|
attr_accessor :node_metadata
|