google-api-client 0.37.2 → 0.37.3
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 +74 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +11 -1
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +1 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +6 -5
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +2 -1
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +7 -71
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +0 -31
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +111 -9
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +56 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +151 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +2 -2
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +11 -0
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +4 -2
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +23 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +3 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -5
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +8 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouddebugger_v2/service.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +2 -2
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +30 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +15 -0
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2.rb +4 -4
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2beta1.rb +4 -4
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +3 -3
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +2 -2
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +224 -66
- data/generated/google/apis/container_v1/representations.rb +70 -0
- data/generated/google/apis/container_v1/service.rb +116 -116
- data/generated/google/apis/container_v1beta1/classes.rb +18 -4
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +18 -2
- data/generated/google/apis/content_v2/service.rb +3 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +51 -0
- data/generated/google/apis/content_v2_1/representations.rb +15 -0
- data/generated/google/apis/content_v2_1/service.rb +73 -1
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +27 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +15 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +43 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +15 -0
- data/generated/google/apis/dataproc_v1/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +11 -3
- data/generated/google/apis/dialogflow_v2/service.rb +555 -16
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +11 -3
- data/generated/google/apis/dialogflow_v2beta1/service.rb +26 -42
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +417 -2
- data/generated/google/apis/dlp_v2/representations.rb +175 -0
- data/generated/google/apis/dlp_v2/service.rb +116 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1 -145
- data/generated/google/apis/file_v1/representations.rb +0 -34
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -145
- data/generated/google/apis/file_v1beta1/representations.rb +0 -34
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +3 -3
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -0
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/logging_v2.rb +6 -7
- data/generated/google/apis/logging_v2/service.rb +5 -6
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +966 -21
- data/generated/google/apis/ml_v1/representations.rb +477 -0
- data/generated/google/apis/ml_v1/service.rb +491 -0
- data/generated/google/apis/{toolresults_v1.rb → networkmanagement_v1beta1.rb} +13 -9
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1856 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +664 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +214 -0
- data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1beta1/service.rb +123 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +84 -0
- data/generated/google/apis/run_v1/representations.rb +44 -0
- data/generated/google/apis/run_v1/service.rb +138 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +154 -6
- data/generated/google/apis/securitycenter_v1/representations.rb +61 -0
- data/generated/google/apis/securitycenter_v1/service.rb +194 -6
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +171 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +52 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +171 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +52 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +183 -6
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +52 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -6
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -7
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +58 -1
- data/generated/google/apis/servicemanagement_v1/representations.rb +17 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +8 -7
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +280 -7
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +117 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +515 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +7 -1
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +6 -3
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +13 -13
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +13 -13
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +13 -13
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +13 -13
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +13 -13
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/lib/google/apis/core/api_command.rb +4 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -7
- data/generated/google/apis/toolresults_v1/classes.rb +0 -696
- data/generated/google/apis/toolresults_v1/representations.rb +0 -438
- data/generated/google/apis/toolresults_v1/service.rb +0 -59
|
@@ -18,18 +18,18 @@ require 'google/apis/cloudtrace_v1/representations.rb'
|
|
|
18
18
|
|
|
19
19
|
module Google
|
|
20
20
|
module Apis
|
|
21
|
-
#
|
|
21
|
+
# Cloud Trace API
|
|
22
22
|
#
|
|
23
|
-
# Sends application trace data to
|
|
23
|
+
# Sends application trace data to Cloud Trace for viewing. Trace data is
|
|
24
24
|
# collected for all App Engine applications by default. Trace data from other
|
|
25
25
|
# applications can be provided using this API. This library is used to interact
|
|
26
26
|
# with the Trace API directly. If you are looking to instrument your application
|
|
27
|
-
# for
|
|
27
|
+
# for Cloud Trace, we recommend using OpenCensus.
|
|
28
28
|
#
|
|
29
29
|
# @see https://cloud.google.com/trace
|
|
30
30
|
module CloudtraceV1
|
|
31
31
|
VERSION = 'V1'
|
|
32
|
-
REVISION = '
|
|
32
|
+
REVISION = '20200225'
|
|
33
33
|
|
|
34
34
|
# View and manage your data across Google Cloud Platform services
|
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -20,13 +20,13 @@ require 'google/apis/errors'
|
|
|
20
20
|
module Google
|
|
21
21
|
module Apis
|
|
22
22
|
module CloudtraceV1
|
|
23
|
-
#
|
|
23
|
+
# Cloud Trace API
|
|
24
24
|
#
|
|
25
|
-
# Sends application trace data to
|
|
25
|
+
# Sends application trace data to Cloud Trace for viewing. Trace data is
|
|
26
26
|
# collected for all App Engine applications by default. Trace data from other
|
|
27
27
|
# applications can be provided using this API. This library is used to interact
|
|
28
28
|
# with the Trace API directly. If you are looking to instrument your application
|
|
29
|
-
# for
|
|
29
|
+
# for Cloud Trace, we recommend using OpenCensus.
|
|
30
30
|
#
|
|
31
31
|
# @example
|
|
32
32
|
# require 'google/apis/cloudtrace_v1'
|
|
@@ -18,18 +18,18 @@ require 'google/apis/cloudtrace_v2/representations.rb'
|
|
|
18
18
|
|
|
19
19
|
module Google
|
|
20
20
|
module Apis
|
|
21
|
-
#
|
|
21
|
+
# Cloud Trace API
|
|
22
22
|
#
|
|
23
|
-
# Sends application trace data to
|
|
23
|
+
# Sends application trace data to Cloud Trace for viewing. Trace data is
|
|
24
24
|
# collected for all App Engine applications by default. Trace data from other
|
|
25
25
|
# applications can be provided using this API. This library is used to interact
|
|
26
26
|
# with the Trace API directly. If you are looking to instrument your application
|
|
27
|
-
# for
|
|
27
|
+
# for Cloud Trace, we recommend using OpenCensus.
|
|
28
28
|
#
|
|
29
29
|
# @see https://cloud.google.com/trace
|
|
30
30
|
module CloudtraceV2
|
|
31
31
|
VERSION = 'V2'
|
|
32
|
-
REVISION = '
|
|
32
|
+
REVISION = '20200225'
|
|
33
33
|
|
|
34
34
|
# View and manage your data across Google Cloud Platform services
|
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -20,13 +20,13 @@ require 'google/apis/errors'
|
|
|
20
20
|
module Google
|
|
21
21
|
module Apis
|
|
22
22
|
module CloudtraceV2
|
|
23
|
-
#
|
|
23
|
+
# Cloud Trace API
|
|
24
24
|
#
|
|
25
|
-
# Sends application trace data to
|
|
25
|
+
# Sends application trace data to Cloud Trace for viewing. Trace data is
|
|
26
26
|
# collected for all App Engine applications by default. Trace data from other
|
|
27
27
|
# applications can be provided using this API. This library is used to interact
|
|
28
28
|
# with the Trace API directly. If you are looking to instrument your application
|
|
29
|
-
# for
|
|
29
|
+
# for Cloud Trace, we recommend using OpenCensus.
|
|
30
30
|
#
|
|
31
31
|
# @example
|
|
32
32
|
# require 'google/apis/cloudtrace_v2'
|
|
@@ -18,18 +18,18 @@ require 'google/apis/cloudtrace_v2beta1/representations.rb'
|
|
|
18
18
|
|
|
19
19
|
module Google
|
|
20
20
|
module Apis
|
|
21
|
-
#
|
|
21
|
+
# Cloud Trace API
|
|
22
22
|
#
|
|
23
|
-
# Sends application trace data to
|
|
23
|
+
# Sends application trace data to Cloud Trace for viewing. Trace data is
|
|
24
24
|
# collected for all App Engine applications by default. Trace data from other
|
|
25
25
|
# applications can be provided using this API. This library is used to interact
|
|
26
26
|
# with the Trace API directly. If you are looking to instrument your application
|
|
27
|
-
# for
|
|
27
|
+
# for Cloud Trace, we recommend using OpenCensus.
|
|
28
28
|
#
|
|
29
29
|
# @see https://cloud.google.com/trace
|
|
30
30
|
module CloudtraceV2beta1
|
|
31
31
|
VERSION = 'V2beta1'
|
|
32
|
-
REVISION = '
|
|
32
|
+
REVISION = '20200225'
|
|
33
33
|
|
|
34
34
|
# View and manage your data across Google Cloud Platform services
|
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -20,13 +20,13 @@ require 'google/apis/errors'
|
|
|
20
20
|
module Google
|
|
21
21
|
module Apis
|
|
22
22
|
module CloudtraceV2beta1
|
|
23
|
-
#
|
|
23
|
+
# Cloud Trace API
|
|
24
24
|
#
|
|
25
|
-
# Sends application trace data to
|
|
25
|
+
# Sends application trace data to Cloud Trace for viewing. Trace data is
|
|
26
26
|
# collected for all App Engine applications by default. Trace data from other
|
|
27
27
|
# applications can be provided using this API. This library is used to interact
|
|
28
28
|
# with the Trace API directly. If you are looking to instrument your application
|
|
29
|
-
# for
|
|
29
|
+
# for Cloud Trace, we recommend using OpenCensus.
|
|
30
30
|
#
|
|
31
31
|
# @example
|
|
32
32
|
# require 'google/apis/cloudtrace_v2beta1'
|
|
@@ -30,7 +30,7 @@ module Google
|
|
|
30
30
|
# @see https://github.com/conversationai/perspectiveapi/blob/master/README.md
|
|
31
31
|
module CommentanalyzerV1alpha1
|
|
32
32
|
VERSION = 'V1alpha1'
|
|
33
|
-
REVISION = '
|
|
33
|
+
REVISION = '20200301'
|
|
34
34
|
|
|
35
35
|
# View your email address
|
|
36
36
|
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
|
@@ -81,8 +81,8 @@ module Google
|
|
|
81
81
|
# For the prod installation, known as Perspective API, at
|
|
82
82
|
# blade:commentanalyzer-esf and commentanalyzer.googleapis.com, see
|
|
83
83
|
# go/checker-models (internal) and
|
|
84
|
-
# https://github.com/conversationai/perspectiveapi/blob/master/
|
|
85
|
-
#
|
|
84
|
+
# https://github.com/conversationai/perspectiveapi/blob/master/2-api/models.md#
|
|
85
|
+
# all-attribute-types.
|
|
86
86
|
# Corresponds to the JSON property `requestedAttributes`
|
|
87
87
|
# @return [Hash<String,Google::Apis::CommentanalyzerV1alpha1::AttributeParameters>]
|
|
88
88
|
attr_accessor :requested_attributes
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
|
27
27
|
module ContainerV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200228'
|
|
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'
|
|
@@ -262,20 +262,20 @@ module Google
|
|
|
262
262
|
# @return [String]
|
|
263
263
|
attr_accessor :name
|
|
264
264
|
|
|
265
|
-
#
|
|
265
|
+
# Deprecated. The server-assigned `name` of the operation.
|
|
266
266
|
# This field has been deprecated and replaced by the name field.
|
|
267
267
|
# Corresponds to the JSON property `operationId`
|
|
268
268
|
# @return [String]
|
|
269
269
|
attr_accessor :operation_id
|
|
270
270
|
|
|
271
|
-
#
|
|
271
|
+
# Deprecated. The Google Developers Console [project ID or project
|
|
272
272
|
# number](https://support.google.com/cloud/answer/6158840).
|
|
273
273
|
# This field has been deprecated and replaced by the name field.
|
|
274
274
|
# Corresponds to the JSON property `projectId`
|
|
275
275
|
# @return [String]
|
|
276
276
|
attr_accessor :project_id
|
|
277
277
|
|
|
278
|
-
#
|
|
278
|
+
# Deprecated. The name of the Google Compute Engine
|
|
279
279
|
# [zone](/compute/docs/zones#available) in which the operation resides.
|
|
280
280
|
# This field has been deprecated and replaced by the name field.
|
|
281
281
|
# Corresponds to the JSON property `zone`
|
|
@@ -695,6 +695,12 @@ module Google
|
|
|
695
695
|
# @return [Google::Apis::ContainerV1::VerticalPodAutoscaling]
|
|
696
696
|
attr_accessor :vertical_pod_autoscaling
|
|
697
697
|
|
|
698
|
+
# Configuration for the use of Kubernetes Service Accounts in GCP IAM
|
|
699
|
+
# policies.
|
|
700
|
+
# Corresponds to the JSON property `workloadIdentityConfig`
|
|
701
|
+
# @return [Google::Apis::ContainerV1::WorkloadIdentityConfig]
|
|
702
|
+
attr_accessor :workload_identity_config
|
|
703
|
+
|
|
698
704
|
# [Output only] The name of the Google Compute Engine
|
|
699
705
|
# [zone](/compute/docs/zones#available) in which the cluster
|
|
700
706
|
# resides.
|
|
@@ -757,6 +763,7 @@ module Google
|
|
|
757
763
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
|
758
764
|
@tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
|
|
759
765
|
@vertical_pod_autoscaling = args[:vertical_pod_autoscaling] if args.key?(:vertical_pod_autoscaling)
|
|
766
|
+
@workload_identity_config = args[:workload_identity_config] if args.key?(:workload_identity_config)
|
|
760
767
|
@zone = args[:zone] if args.key?(:zone)
|
|
761
768
|
end
|
|
762
769
|
end
|
|
@@ -941,6 +948,12 @@ module Google
|
|
|
941
948
|
# @return [Google::Apis::ContainerV1::VerticalPodAutoscaling]
|
|
942
949
|
attr_accessor :desired_vertical_pod_autoscaling
|
|
943
950
|
|
|
951
|
+
# Configuration for the use of Kubernetes Service Accounts in GCP IAM
|
|
952
|
+
# policies.
|
|
953
|
+
# Corresponds to the JSON property `desiredWorkloadIdentityConfig`
|
|
954
|
+
# @return [Google::Apis::ContainerV1::WorkloadIdentityConfig]
|
|
955
|
+
attr_accessor :desired_workload_identity_config
|
|
956
|
+
|
|
944
957
|
def initialize(**args)
|
|
945
958
|
update!(**args)
|
|
946
959
|
end
|
|
@@ -964,6 +977,7 @@ module Google
|
|
|
964
977
|
@desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
|
|
965
978
|
@desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
|
|
966
979
|
@desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling)
|
|
980
|
+
@desired_workload_identity_config = args[:desired_workload_identity_config] if args.key?(:desired_workload_identity_config)
|
|
967
981
|
end
|
|
968
982
|
end
|
|
969
983
|
|
|
@@ -971,7 +985,7 @@ module Google
|
|
|
971
985
|
class CompleteIpRotationRequest
|
|
972
986
|
include Google::Apis::Core::Hashable
|
|
973
987
|
|
|
974
|
-
#
|
|
988
|
+
# Deprecated. The name of the cluster.
|
|
975
989
|
# This field has been deprecated and replaced by the name field.
|
|
976
990
|
# Corresponds to the JSON property `clusterId`
|
|
977
991
|
# @return [String]
|
|
@@ -983,14 +997,14 @@ module Google
|
|
|
983
997
|
# @return [String]
|
|
984
998
|
attr_accessor :name
|
|
985
999
|
|
|
986
|
-
#
|
|
1000
|
+
# Deprecated. The Google Developers Console [project ID or project
|
|
987
1001
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
|
988
1002
|
# This field has been deprecated and replaced by the name field.
|
|
989
1003
|
# Corresponds to the JSON property `projectId`
|
|
990
1004
|
# @return [String]
|
|
991
1005
|
attr_accessor :project_id
|
|
992
1006
|
|
|
993
|
-
#
|
|
1007
|
+
# Deprecated. The name of the Google Compute Engine
|
|
994
1008
|
# [zone](/compute/docs/zones#available) in which the cluster
|
|
995
1009
|
# resides.
|
|
996
1010
|
# This field has been deprecated and replaced by the name field.
|
|
@@ -1048,14 +1062,14 @@ module Google
|
|
|
1048
1062
|
# @return [String]
|
|
1049
1063
|
attr_accessor :parent
|
|
1050
1064
|
|
|
1051
|
-
#
|
|
1065
|
+
# Deprecated. The Google Developers Console [project ID or project
|
|
1052
1066
|
# number](https://support.google.com/cloud/answer/6158840).
|
|
1053
1067
|
# This field has been deprecated and replaced by the parent field.
|
|
1054
1068
|
# Corresponds to the JSON property `projectId`
|
|
1055
1069
|
# @return [String]
|
|
1056
1070
|
attr_accessor :project_id
|
|
1057
1071
|
|
|
1058
|
-
#
|
|
1072
|
+
# Deprecated. The name of the Google Compute Engine
|
|
1059
1073
|
# [zone](/compute/docs/zones#available) in which the cluster
|
|
1060
1074
|
# resides.
|
|
1061
1075
|
# This field has been deprecated and replaced by the parent field.
|
|
@@ -1080,7 +1094,7 @@ module Google
|
|
|
1080
1094
|
class CreateNodePoolRequest
|
|
1081
1095
|
include Google::Apis::Core::Hashable
|
|
1082
1096
|
|
|
1083
|
-
#
|
|
1097
|
+
# Deprecated. The name of the cluster.
|
|
1084
1098
|
# This field has been deprecated and replaced by the parent field.
|
|
1085
1099
|
# Corresponds to the JSON property `clusterId`
|
|
1086
1100
|
# @return [String]
|
|
@@ -1103,14 +1117,14 @@ module Google
|
|
|
1103
1117
|
# @return [String]
|
|
1104
1118
|
attr_accessor :parent
|
|
1105
1119
|
|
|
1106
|
-
#
|
|
1120
|
+
# Deprecated. The Google Developers Console [project ID or project
|
|
1107
1121
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
|
1108
1122
|
# This field has been deprecated and replaced by the parent field.
|
|
1109
1123
|
# Corresponds to the JSON property `projectId`
|
|
1110
1124
|
# @return [String]
|
|
1111
1125
|
attr_accessor :project_id
|
|
1112
1126
|
|
|
1113
|
-
#
|
|
1127
|
+
# Deprecated. The name of the Google Compute Engine
|
|
1114
1128
|
# [zone](/compute/docs/zones#available) in which the cluster
|
|
1115
1129
|
# resides.
|
|
1116
1130
|
# This field has been deprecated and replaced by the parent field.
|
|
@@ -1914,6 +1928,43 @@ module Google
|
|
|
1914
1928
|
end
|
|
1915
1929
|
end
|
|
1916
1930
|
|
|
1931
|
+
# Progress metric is (string, int|float|string) pair.
|
|
1932
|
+
class Metric
|
|
1933
|
+
include Google::Apis::Core::Hashable
|
|
1934
|
+
|
|
1935
|
+
# For metrics with floating point value.
|
|
1936
|
+
# Corresponds to the JSON property `doubleValue`
|
|
1937
|
+
# @return [Float]
|
|
1938
|
+
attr_accessor :double_value
|
|
1939
|
+
|
|
1940
|
+
# For metrics with integer value.
|
|
1941
|
+
# Corresponds to the JSON property `intValue`
|
|
1942
|
+
# @return [Fixnum]
|
|
1943
|
+
attr_accessor :int_value
|
|
1944
|
+
|
|
1945
|
+
# Required. Metric name, e.g., "nodes total", "percent done".
|
|
1946
|
+
# Corresponds to the JSON property `name`
|
|
1947
|
+
# @return [String]
|
|
1948
|
+
attr_accessor :name
|
|
1949
|
+
|
|
1950
|
+
# For metrics with custom values (ratios, visual progress, etc.).
|
|
1951
|
+
# Corresponds to the JSON property `stringValue`
|
|
1952
|
+
# @return [String]
|
|
1953
|
+
attr_accessor :string_value
|
|
1954
|
+
|
|
1955
|
+
def initialize(**args)
|
|
1956
|
+
update!(**args)
|
|
1957
|
+
end
|
|
1958
|
+
|
|
1959
|
+
# Update properties of this object
|
|
1960
|
+
def update!(**args)
|
|
1961
|
+
@double_value = args[:double_value] if args.key?(:double_value)
|
|
1962
|
+
@int_value = args[:int_value] if args.key?(:int_value)
|
|
1963
|
+
@name = args[:name] if args.key?(:name)
|
|
1964
|
+
@string_value = args[:string_value] if args.key?(:string_value)
|
|
1965
|
+
end
|
|
1966
|
+
end
|
|
1967
|
+
|
|
1917
1968
|
# NetworkConfig reports the relative names of network & subnetwork.
|
|
1918
1969
|
class NetworkConfig
|
|
1919
1970
|
include Google::Apis::Core::Hashable
|
|
@@ -2168,6 +2219,12 @@ module Google
|
|
|
2168
2219
|
# @return [Array<Google::Apis::ContainerV1::NodeTaint>]
|
|
2169
2220
|
attr_accessor :taints
|
|
2170
2221
|
|
|
2222
|
+
# WorkloadMetadataConfig defines the metadata configuration to expose to
|
|
2223
|
+
# workloads on the node pool.
|
|
2224
|
+
# Corresponds to the JSON property `workloadMetadataConfig`
|
|
2225
|
+
# @return [Google::Apis::ContainerV1::WorkloadMetadataConfig]
|
|
2226
|
+
attr_accessor :workload_metadata_config
|
|
2227
|
+
|
|
2171
2228
|
def initialize(**args)
|
|
2172
2229
|
update!(**args)
|
|
2173
2230
|
end
|
|
@@ -2191,6 +2248,7 @@ module Google
|
|
|
2191
2248
|
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
|
|
2192
2249
|
@tags = args[:tags] if args.key?(:tags)
|
|
2193
2250
|
@taints = args[:taints] if args.key?(:taints)
|
|
2251
|
+
@workload_metadata_config = args[:workload_metadata_config] if args.key?(:workload_metadata_config)
|
|
2194
2252
|
end
|
|
2195
2253
|
end
|
|
2196
2254
|
|
|
@@ -2488,6 +2546,11 @@ module Google
|
|
|
2488
2546
|
# @return [String]
|
|
2489
2547
|
attr_accessor :operation_type
|
|
2490
2548
|
|
|
2549
|
+
# Information about operation (or operation stage) progress.
|
|
2550
|
+
# Corresponds to the JSON property `progress`
|
|
2551
|
+
# @return [Google::Apis::ContainerV1::OperationProgress]
|
|
2552
|
+
attr_accessor :progress
|
|
2553
|
+
|
|
2491
2554
|
# Server-defined URL for the resource.
|
|
2492
2555
|
# Corresponds to the JSON property `selfLink`
|
|
2493
2556
|
# @return [String]
|
|
@@ -2504,7 +2567,7 @@ module Google
|
|
|
2504
2567
|
# @return [String]
|
|
2505
2568
|
attr_accessor :status
|
|
2506
2569
|
|
|
2507
|
-
# If an error has occurred, a textual description of the error.
|
|
2570
|
+
# Output only. If an error has occurred, a textual description of the error.
|
|
2508
2571
|
# Corresponds to the JSON property `statusMessage`
|
|
2509
2572
|
# @return [String]
|
|
2510
2573
|
attr_accessor :status_message
|
|
@@ -2535,6 +2598,7 @@ module Google
|
|
|
2535
2598
|
@name = args[:name] if args.key?(:name)
|
|
2536
2599
|
@nodepool_conditions = args[:nodepool_conditions] if args.key?(:nodepool_conditions)
|
|
2537
2600
|
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
|
2601
|
+
@progress = args[:progress] if args.key?(:progress)
|
|
2538
2602
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
2539
2603
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
2540
2604
|
@status = args[:status] if args.key?(:status)
|
|
@@ -2544,6 +2608,50 @@ module Google
|
|
|
2544
2608
|
end
|
|
2545
2609
|
end
|
|
2546
2610
|
|
|
2611
|
+
# Information about operation (or operation stage) progress.
|
|
2612
|
+
class OperationProgress
|
|
2613
|
+
include Google::Apis::Core::Hashable
|
|
2614
|
+
|
|
2615
|
+
# Progress metric bundle, for example:
|
|
2616
|
+
# metrics: [`name: "nodes done", int_value: 15`,
|
|
2617
|
+
# `name: "nodes total", int_value: 32`]
|
|
2618
|
+
# or
|
|
2619
|
+
# metrics: [`name: "progress", double_value: 0.56`,
|
|
2620
|
+
# `name: "progress scale", double_value: 1.0`]
|
|
2621
|
+
# Corresponds to the JSON property `metrics`
|
|
2622
|
+
# @return [Array<Google::Apis::ContainerV1::Metric>]
|
|
2623
|
+
attr_accessor :metrics
|
|
2624
|
+
|
|
2625
|
+
# A non-parameterized string describing an operation stage.
|
|
2626
|
+
# Unset for single-stage operations.
|
|
2627
|
+
# Corresponds to the JSON property `name`
|
|
2628
|
+
# @return [String]
|
|
2629
|
+
attr_accessor :name
|
|
2630
|
+
|
|
2631
|
+
# Substages of an operation or a stage.
|
|
2632
|
+
# Corresponds to the JSON property `stages`
|
|
2633
|
+
# @return [Array<Google::Apis::ContainerV1::OperationProgress>]
|
|
2634
|
+
attr_accessor :stages
|
|
2635
|
+
|
|
2636
|
+
# Status of an operation stage.
|
|
2637
|
+
# Unset for single-stage operations.
|
|
2638
|
+
# Corresponds to the JSON property `status`
|
|
2639
|
+
# @return [String]
|
|
2640
|
+
attr_accessor :status
|
|
2641
|
+
|
|
2642
|
+
def initialize(**args)
|
|
2643
|
+
update!(**args)
|
|
2644
|
+
end
|
|
2645
|
+
|
|
2646
|
+
# Update properties of this object
|
|
2647
|
+
def update!(**args)
|
|
2648
|
+
@metrics = args[:metrics] if args.key?(:metrics)
|
|
2649
|
+
@name = args[:name] if args.key?(:name)
|
|
2650
|
+
@stages = args[:stages] if args.key?(:stages)
|
|
2651
|
+
@status = args[:status] if args.key?(:status)
|
|
2652
|
+
end
|
|
2653
|
+
end
|
|
2654
|
+
|
|
2547
2655
|
# Configuration options for private clusters.
|
|
2548
2656
|
class PrivateClusterConfig
|
|
2549
2657
|
include Google::Apis::Core::Hashable
|
|
@@ -2661,7 +2769,9 @@ module Google
|
|
|
2661
2769
|
# @return [String]
|
|
2662
2770
|
attr_accessor :consume_reservation_type
|
|
2663
2771
|
|
|
2664
|
-
# Corresponds to the label key of reservation resource.
|
|
2772
|
+
# Corresponds to the label key of a reservation resource. To target a
|
|
2773
|
+
# SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as
|
|
2774
|
+
# the key and specify the name of your reservation as its value.
|
|
2665
2775
|
# Corresponds to the JSON property `key`
|
|
2666
2776
|
# @return [String]
|
|
2667
2777
|
attr_accessor :key
|
|
@@ -2754,7 +2864,7 @@ module Google
|
|
|
2754
2864
|
class RollbackNodePoolUpgradeRequest
|
|
2755
2865
|
include Google::Apis::Core::Hashable
|
|
2756
2866
|
|
|
2757
|
-
#
|
|
2867
|
+
# Deprecated. The name of the cluster to rollback.
|
|
2758
2868
|
# This field has been deprecated and replaced by the name field.
|
|
2759
2869
|
# Corresponds to the JSON property `clusterId`
|
|
2760
2870
|
# @return [String]
|
|
@@ -2767,20 +2877,20 @@ module Google
|
|
|
2767
2877
|
# @return [String]
|
|
2768
2878
|
attr_accessor :name
|
|
2769
2879
|
|
|
2770
|
-
#
|
|
2880
|
+
# Deprecated. The name of the node pool to rollback.
|
|
2771
2881
|
# This field has been deprecated and replaced by the name field.
|
|
2772
2882
|
# Corresponds to the JSON property `nodePoolId`
|
|
2773
2883
|
# @return [String]
|
|
2774
2884
|
attr_accessor :node_pool_id
|
|
2775
2885
|
|
|
2776
|
-
#
|
|
2886
|
+
# Deprecated. The Google Developers Console [project ID or project
|
|
2777
2887
|
# number](https://support.google.com/cloud/answer/6158840).
|
|
2778
2888
|
# This field has been deprecated and replaced by the name field.
|
|
2779
2889
|
# Corresponds to the JSON property `projectId`
|
|
2780
2890
|
# @return [String]
|
|
2781
2891
|
attr_accessor :project_id
|
|
2782
2892
|
|
|
2783
|
-
#
|
|
2893
|
+
# Deprecated. The name of the Google Compute Engine
|
|
2784
2894
|
# [zone](/compute/docs/zones#available) in which the cluster
|
|
2785
2895
|
# resides.
|
|
2786
2896
|
# This field has been deprecated and replaced by the name field.
|
|
@@ -2874,7 +2984,7 @@ module Google
|
|
|
2874
2984
|
# @return [Google::Apis::ContainerV1::AddonsConfig]
|
|
2875
2985
|
attr_accessor :addons_config
|
|
2876
2986
|
|
|
2877
|
-
#
|
|
2987
|
+
# Deprecated. The name of the cluster to upgrade.
|
|
2878
2988
|
# This field has been deprecated and replaced by the name field.
|
|
2879
2989
|
# Corresponds to the JSON property `clusterId`
|
|
2880
2990
|
# @return [String]
|
|
@@ -2886,14 +2996,14 @@ module Google
|
|
|
2886
2996
|
# @return [String]
|
|
2887
2997
|
attr_accessor :name
|
|
2888
2998
|
|
|
2889
|
-
#
|
|
2999
|
+
# Deprecated. The Google Developers Console [project ID or project
|
|
2890
3000
|
# number](https://support.google.com/cloud/answer/6158840).
|
|
2891
3001
|
# This field has been deprecated and replaced by the name field.
|
|
2892
3002
|
# Corresponds to the JSON property `projectId`
|
|
2893
3003
|
# @return [String]
|
|
2894
3004
|
attr_accessor :project_id
|
|
2895
3005
|
|
|
2896
|
-
#
|
|
3006
|
+
# Deprecated. The name of the Google Compute Engine
|
|
2897
3007
|
# [zone](/compute/docs/zones#available) in which the cluster
|
|
2898
3008
|
# resides.
|
|
2899
3009
|
# This field has been deprecated and replaced by the name field.
|
|
@@ -2921,7 +3031,7 @@ module Google
|
|
|
2921
3031
|
class SetLabelsRequest
|
|
2922
3032
|
include Google::Apis::Core::Hashable
|
|
2923
3033
|
|
|
2924
|
-
#
|
|
3034
|
+
# Deprecated. The name of the cluster.
|
|
2925
3035
|
# This field has been deprecated and replaced by the name field.
|
|
2926
3036
|
# Corresponds to the JSON property `clusterId`
|
|
2927
3037
|
# @return [String]
|
|
@@ -2943,7 +3053,7 @@ module Google
|
|
|
2943
3053
|
# @return [String]
|
|
2944
3054
|
attr_accessor :name
|
|
2945
3055
|
|
|
2946
|
-
#
|
|
3056
|
+
# Deprecated. The Google Developers Console [project ID or project
|
|
2947
3057
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
|
2948
3058
|
# This field has been deprecated and replaced by the name field.
|
|
2949
3059
|
# Corresponds to the JSON property `projectId`
|
|
@@ -2955,7 +3065,7 @@ module Google
|
|
|
2955
3065
|
# @return [Hash<String,String>]
|
|
2956
3066
|
attr_accessor :resource_labels
|
|
2957
3067
|
|
|
2958
|
-
#
|
|
3068
|
+
# Deprecated. The name of the Google Compute Engine
|
|
2959
3069
|
# [zone](/compute/docs/zones#available) in which the cluster
|
|
2960
3070
|
# resides.
|
|
2961
3071
|
# This field has been deprecated and replaced by the name field.
|
|
@@ -2983,7 +3093,7 @@ module Google
|
|
|
2983
3093
|
class SetLegacyAbacRequest
|
|
2984
3094
|
include Google::Apis::Core::Hashable
|
|
2985
3095
|
|
|
2986
|
-
#
|
|
3096
|
+
# Deprecated. The name of the cluster to update.
|
|
2987
3097
|
# This field has been deprecated and replaced by the name field.
|
|
2988
3098
|
# Corresponds to the JSON property `clusterId`
|
|
2989
3099
|
# @return [String]
|
|
@@ -3001,14 +3111,14 @@ module Google
|
|
|
3001
3111
|
# @return [String]
|
|
3002
3112
|
attr_accessor :name
|
|
3003
3113
|
|
|
3004
|
-
#
|
|
3114
|
+
# Deprecated. The Google Developers Console [project ID or project
|
|
3005
3115
|
# number](https://support.google.com/cloud/answer/6158840).
|
|
3006
3116
|
# This field has been deprecated and replaced by the name field.
|
|
3007
3117
|
# Corresponds to the JSON property `projectId`
|
|
3008
3118
|
# @return [String]
|
|
3009
3119
|
attr_accessor :project_id
|
|
3010
3120
|
|
|
3011
|
-
#
|
|
3121
|
+
# Deprecated. The name of the Google Compute Engine
|
|
3012
3122
|
# [zone](/compute/docs/zones#available) in which the cluster
|
|
3013
3123
|
# resides.
|
|
3014
3124
|
# This field has been deprecated and replaced by the name field.
|
|
@@ -3034,7 +3144,7 @@ module Google
|
|
|
3034
3144
|
class SetLocationsRequest
|
|
3035
3145
|
include Google::Apis::Core::Hashable
|
|
3036
3146
|
|
|
3037
|
-
#
|
|
3147
|
+
# Deprecated. The name of the cluster to upgrade.
|
|
3038
3148
|
# This field has been deprecated and replaced by the name field.
|
|
3039
3149
|
# Corresponds to the JSON property `clusterId`
|
|
3040
3150
|
# @return [String]
|
|
@@ -3056,14 +3166,14 @@ module Google
|
|
|
3056
3166
|
# @return [String]
|
|
3057
3167
|
attr_accessor :name
|
|
3058
3168
|
|
|
3059
|
-
#
|
|
3169
|
+
# Deprecated. The Google Developers Console [project ID or project
|
|
3060
3170
|
# number](https://support.google.com/cloud/answer/6158840).
|
|
3061
3171
|
# This field has been deprecated and replaced by the name field.
|
|
3062
3172
|
# Corresponds to the JSON property `projectId`
|
|
3063
3173
|
# @return [String]
|
|
3064
3174
|
attr_accessor :project_id
|
|
3065
3175
|
|
|
3066
|
-
#
|
|
3176
|
+
# Deprecated. The name of the Google Compute Engine
|
|
3067
3177
|
# [zone](/compute/docs/zones#available) in which the cluster
|
|
3068
3178
|
# resides.
|
|
3069
3179
|
# This field has been deprecated and replaced by the name field.
|
|
@@ -3089,7 +3199,7 @@ module Google
|
|
|
3089
3199
|
class SetLoggingServiceRequest
|
|
3090
3200
|
include Google::Apis::Core::Hashable
|
|
3091
3201
|
|
|
3092
|
-
#
|
|
3202
|
+
# Deprecated. The name of the cluster to upgrade.
|
|
3093
3203
|
# This field has been deprecated and replaced by the name field.
|
|
3094
3204
|
# Corresponds to the JSON property `clusterId`
|
|
3095
3205
|
# @return [String]
|
|
@@ -3109,14 +3219,14 @@ module Google
|
|
|
3109
3219
|
# @return [String]
|
|
3110
3220
|
attr_accessor :name
|
|
3111
3221
|
|
|
3112
|
-
#
|
|
3222
|
+
# Deprecated. The Google Developers Console [project ID or project
|
|
3113
3223
|
# number](https://support.google.com/cloud/answer/6158840).
|
|
3114
3224
|
# This field has been deprecated and replaced by the name field.
|
|
3115
3225
|
# Corresponds to the JSON property `projectId`
|
|
3116
3226
|
# @return [String]
|
|
3117
3227
|
attr_accessor :project_id
|
|
3118
3228
|
|
|
3119
|
-
#
|
|
3229
|
+
# Deprecated. The name of the Google Compute Engine
|
|
3120
3230
|
# [zone](/compute/docs/zones#available) in which the cluster
|
|
3121
3231
|
# resides.
|
|
3122
3232
|
# This field has been deprecated and replaced by the name field.
|
|
@@ -3195,7 +3305,7 @@ module Google
|
|
|
3195
3305
|
# @return [String]
|
|
3196
3306
|
attr_accessor :action
|
|
3197
3307
|
|
|
3198
|
-
#
|
|
3308
|
+
# Deprecated. The name of the cluster to upgrade.
|
|
3199
3309
|
# This field has been deprecated and replaced by the name field.
|
|
3200
3310
|
# Corresponds to the JSON property `clusterId`
|
|
3201
3311
|
# @return [String]
|
|
@@ -3207,7 +3317,7 @@ module Google
|
|
|
3207
3317
|
# @return [String]
|
|
3208
3318
|
attr_accessor :name
|
|
3209
3319
|
|
|
3210
|
-
#
|
|
3320
|
+
# Deprecated. The Google Developers Console [project ID or project
|
|
3211
3321
|
# number](https://support.google.com/cloud/answer/6158840).
|
|
3212
3322
|
# This field has been deprecated and replaced by the name field.
|
|
3213
3323
|
# Corresponds to the JSON property `projectId`
|
|
@@ -3221,7 +3331,7 @@ module Google
|
|
|
3221
3331
|
# @return [Google::Apis::ContainerV1::MasterAuth]
|
|
3222
3332
|
attr_accessor :update
|
|
3223
3333
|
|
|
3224
|
-
#
|
|
3334
|
+
# Deprecated. The name of the Google Compute Engine
|
|
3225
3335
|
# [zone](/compute/docs/zones#available) in which the cluster
|
|
3226
3336
|
# resides.
|
|
3227
3337
|
# This field has been deprecated and replaced by the name field.
|
|
@@ -3248,7 +3358,7 @@ module Google
|
|
|
3248
3358
|
class SetMonitoringServiceRequest
|
|
3249
3359
|
include Google::Apis::Core::Hashable
|
|
3250
3360
|
|
|
3251
|
-
#
|
|
3361
|
+
# Deprecated. The name of the cluster to upgrade.
|
|
3252
3362
|
# This field has been deprecated and replaced by the name field.
|
|
3253
3363
|
# Corresponds to the JSON property `clusterId`
|
|
3254
3364
|
# @return [String]
|
|
@@ -3270,14 +3380,14 @@ module Google
|
|
|
3270
3380
|
# @return [String]
|
|
3271
3381
|
attr_accessor :name
|
|
3272
3382
|
|
|
3273
|
-
#
|
|
3383
|
+
# Deprecated. The Google Developers Console [project ID or project
|
|
3274
3384
|
# number](https://support.google.com/cloud/answer/6158840).
|
|
3275
3385
|
# This field has been deprecated and replaced by the name field.
|
|
3276
3386
|
# Corresponds to the JSON property `projectId`
|
|
3277
3387
|
# @return [String]
|
|
3278
3388
|
attr_accessor :project_id
|
|
3279
3389
|
|
|
3280
|
-
#
|
|
3390
|
+
# Deprecated. The name of the Google Compute Engine
|
|
3281
3391
|
# [zone](/compute/docs/zones#available) in which the cluster
|
|
3282
3392
|
# resides.
|
|
3283
3393
|
# This field has been deprecated and replaced by the name field.
|
|
@@ -3303,7 +3413,7 @@ module Google
|
|
|
3303
3413
|
class SetNetworkPolicyRequest
|
|
3304
3414
|
include Google::Apis::Core::Hashable
|
|
3305
3415
|
|
|
3306
|
-
#
|
|
3416
|
+
# Deprecated. The name of the cluster.
|
|
3307
3417
|
# This field has been deprecated and replaced by the name field.
|
|
3308
3418
|
# Corresponds to the JSON property `clusterId`
|
|
3309
3419
|
# @return [String]
|
|
@@ -3321,14 +3431,14 @@ module Google
|
|
|
3321
3431
|
# @return [Google::Apis::ContainerV1::NetworkPolicy]
|
|
3322
3432
|
attr_accessor :network_policy
|
|
3323
3433
|
|
|
3324
|
-
#
|
|
3434
|
+
# Deprecated. The Google Developers Console [project ID or project
|
|
3325
3435
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
|
3326
3436
|
# This field has been deprecated and replaced by the name field.
|
|
3327
3437
|
# Corresponds to the JSON property `projectId`
|
|
3328
3438
|
# @return [String]
|
|
3329
3439
|
attr_accessor :project_id
|
|
3330
3440
|
|
|
3331
|
-
#
|
|
3441
|
+
# Deprecated. The name of the Google Compute Engine
|
|
3332
3442
|
# [zone](/compute/docs/zones#available) in which the cluster
|
|
3333
3443
|
# resides.
|
|
3334
3444
|
# This field has been deprecated and replaced by the name field.
|
|
@@ -3360,7 +3470,7 @@ module Google
|
|
|
3360
3470
|
# @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
|
|
3361
3471
|
attr_accessor :autoscaling
|
|
3362
3472
|
|
|
3363
|
-
#
|
|
3473
|
+
# Deprecated. The name of the cluster to upgrade.
|
|
3364
3474
|
# This field has been deprecated and replaced by the name field.
|
|
3365
3475
|
# Corresponds to the JSON property `clusterId`
|
|
3366
3476
|
# @return [String]
|
|
@@ -3373,20 +3483,20 @@ module Google
|
|
|
3373
3483
|
# @return [String]
|
|
3374
3484
|
attr_accessor :name
|
|
3375
3485
|
|
|
3376
|
-
#
|
|
3486
|
+
# Deprecated. The name of the node pool to upgrade.
|
|
3377
3487
|
# This field has been deprecated and replaced by the name field.
|
|
3378
3488
|
# Corresponds to the JSON property `nodePoolId`
|
|
3379
3489
|
# @return [String]
|
|
3380
3490
|
attr_accessor :node_pool_id
|
|
3381
3491
|
|
|
3382
|
-
#
|
|
3492
|
+
# Deprecated. The Google Developers Console [project ID or project
|
|
3383
3493
|
# number](https://support.google.com/cloud/answer/6158840).
|
|
3384
3494
|
# This field has been deprecated and replaced by the name field.
|
|
3385
3495
|
# Corresponds to the JSON property `projectId`
|
|
3386
3496
|
# @return [String]
|
|
3387
3497
|
attr_accessor :project_id
|
|
3388
3498
|
|
|
3389
|
-
#
|
|
3499
|
+
# Deprecated. The name of the Google Compute Engine
|
|
3390
3500
|
# [zone](/compute/docs/zones#available) in which the cluster
|
|
3391
3501
|
# resides.
|
|
3392
3502
|
# This field has been deprecated and replaced by the name field.
|
|
@@ -3414,7 +3524,7 @@ module Google
|
|
|
3414
3524
|
class SetNodePoolManagementRequest
|
|
3415
3525
|
include Google::Apis::Core::Hashable
|
|
3416
3526
|
|
|
3417
|
-
#
|
|
3527
|
+
# Deprecated. The name of the cluster to update.
|
|
3418
3528
|
# This field has been deprecated and replaced by the name field.
|
|
3419
3529
|
# Corresponds to the JSON property `clusterId`
|
|
3420
3530
|
# @return [String]
|
|
@@ -3433,20 +3543,20 @@ module Google
|
|
|
3433
3543
|
# @return [String]
|
|
3434
3544
|
attr_accessor :name
|
|
3435
3545
|
|
|
3436
|
-
#
|
|
3546
|
+
# Deprecated. The name of the node pool to update.
|
|
3437
3547
|
# This field has been deprecated and replaced by the name field.
|
|
3438
3548
|
# Corresponds to the JSON property `nodePoolId`
|
|
3439
3549
|
# @return [String]
|
|
3440
3550
|
attr_accessor :node_pool_id
|
|
3441
3551
|
|
|
3442
|
-
#
|
|
3552
|
+
# Deprecated. The Google Developers Console [project ID or project
|
|
3443
3553
|
# number](https://support.google.com/cloud/answer/6158840).
|
|
3444
3554
|
# This field has been deprecated and replaced by the name field.
|
|
3445
3555
|
# Corresponds to the JSON property `projectId`
|
|
3446
3556
|
# @return [String]
|
|
3447
3557
|
attr_accessor :project_id
|
|
3448
3558
|
|
|
3449
|
-
#
|
|
3559
|
+
# Deprecated. The name of the Google Compute Engine
|
|
3450
3560
|
# [zone](/compute/docs/zones#available) in which the cluster
|
|
3451
3561
|
# resides.
|
|
3452
3562
|
# This field has been deprecated and replaced by the name field.
|
|
@@ -3474,7 +3584,7 @@ module Google
|
|
|
3474
3584
|
class SetNodePoolSizeRequest
|
|
3475
3585
|
include Google::Apis::Core::Hashable
|
|
3476
3586
|
|
|
3477
|
-
#
|
|
3587
|
+
# Deprecated. The name of the cluster to update.
|
|
3478
3588
|
# This field has been deprecated and replaced by the name field.
|
|
3479
3589
|
# Corresponds to the JSON property `clusterId`
|
|
3480
3590
|
# @return [String]
|
|
@@ -3492,20 +3602,20 @@ module Google
|
|
|
3492
3602
|
# @return [Fixnum]
|
|
3493
3603
|
attr_accessor :node_count
|
|
3494
3604
|
|
|
3495
|
-
#
|
|
3605
|
+
# Deprecated. The name of the node pool to update.
|
|
3496
3606
|
# This field has been deprecated and replaced by the name field.
|
|
3497
3607
|
# Corresponds to the JSON property `nodePoolId`
|
|
3498
3608
|
# @return [String]
|
|
3499
3609
|
attr_accessor :node_pool_id
|
|
3500
3610
|
|
|
3501
|
-
#
|
|
3611
|
+
# Deprecated. The Google Developers Console [project ID or project
|
|
3502
3612
|
# number](https://support.google.com/cloud/answer/6158840).
|
|
3503
3613
|
# This field has been deprecated and replaced by the name field.
|
|
3504
3614
|
# Corresponds to the JSON property `projectId`
|
|
3505
3615
|
# @return [String]
|
|
3506
3616
|
attr_accessor :project_id
|
|
3507
3617
|
|
|
3508
|
-
#
|
|
3618
|
+
# Deprecated. The name of the Google Compute Engine
|
|
3509
3619
|
# [zone](/compute/docs/zones#available) in which the cluster
|
|
3510
3620
|
# resides.
|
|
3511
3621
|
# This field has been deprecated and replaced by the name field.
|
|
@@ -3587,7 +3697,7 @@ module Google
|
|
|
3587
3697
|
class StartIpRotationRequest
|
|
3588
3698
|
include Google::Apis::Core::Hashable
|
|
3589
3699
|
|
|
3590
|
-
#
|
|
3700
|
+
# Deprecated. The name of the cluster.
|
|
3591
3701
|
# This field has been deprecated and replaced by the name field.
|
|
3592
3702
|
# Corresponds to the JSON property `clusterId`
|
|
3593
3703
|
# @return [String]
|
|
@@ -3599,7 +3709,7 @@ module Google
|
|
|
3599
3709
|
# @return [String]
|
|
3600
3710
|
attr_accessor :name
|
|
3601
3711
|
|
|
3602
|
-
#
|
|
3712
|
+
# Deprecated. The Google Developers Console [project ID or project
|
|
3603
3713
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
|
3604
3714
|
# This field has been deprecated and replaced by the name field.
|
|
3605
3715
|
# Corresponds to the JSON property `projectId`
|
|
@@ -3612,7 +3722,7 @@ module Google
|
|
|
3612
3722
|
attr_accessor :rotate_credentials
|
|
3613
3723
|
alias_method :rotate_credentials?, :rotate_credentials
|
|
3614
3724
|
|
|
3615
|
-
#
|
|
3725
|
+
# Deprecated. The name of the Google Compute Engine
|
|
3616
3726
|
# [zone](/compute/docs/zones#available) in which the cluster
|
|
3617
3727
|
# resides.
|
|
3618
3728
|
# This field has been deprecated and replaced by the name field.
|
|
@@ -3690,7 +3800,7 @@ module Google
|
|
|
3690
3800
|
class UpdateClusterRequest
|
|
3691
3801
|
include Google::Apis::Core::Hashable
|
|
3692
3802
|
|
|
3693
|
-
#
|
|
3803
|
+
# Deprecated. The name of the cluster to upgrade.
|
|
3694
3804
|
# This field has been deprecated and replaced by the name field.
|
|
3695
3805
|
# Corresponds to the JSON property `clusterId`
|
|
3696
3806
|
# @return [String]
|
|
@@ -3702,7 +3812,7 @@ module Google
|
|
|
3702
3812
|
# @return [String]
|
|
3703
3813
|
attr_accessor :name
|
|
3704
3814
|
|
|
3705
|
-
#
|
|
3815
|
+
# Deprecated. The Google Developers Console [project ID or project
|
|
3706
3816
|
# number](https://support.google.com/cloud/answer/6158840).
|
|
3707
3817
|
# This field has been deprecated and replaced by the name field.
|
|
3708
3818
|
# Corresponds to the JSON property `projectId`
|
|
@@ -3716,7 +3826,7 @@ module Google
|
|
|
3716
3826
|
# @return [Google::Apis::ContainerV1::ClusterUpdate]
|
|
3717
3827
|
attr_accessor :update
|
|
3718
3828
|
|
|
3719
|
-
#
|
|
3829
|
+
# Deprecated. The name of the Google Compute Engine
|
|
3720
3830
|
# [zone](/compute/docs/zones#available) in which the cluster
|
|
3721
3831
|
# resides.
|
|
3722
3832
|
# This field has been deprecated and replaced by the name field.
|
|
@@ -3742,7 +3852,7 @@ module Google
|
|
|
3742
3852
|
class UpdateMasterRequest
|
|
3743
3853
|
include Google::Apis::Core::Hashable
|
|
3744
3854
|
|
|
3745
|
-
#
|
|
3855
|
+
# Deprecated. The name of the cluster to upgrade.
|
|
3746
3856
|
# This field has been deprecated and replaced by the name field.
|
|
3747
3857
|
# Corresponds to the JSON property `clusterId`
|
|
3748
3858
|
# @return [String]
|
|
@@ -3766,14 +3876,14 @@ module Google
|
|
|
3766
3876
|
# @return [String]
|
|
3767
3877
|
attr_accessor :name
|
|
3768
3878
|
|
|
3769
|
-
#
|
|
3879
|
+
# Deprecated. The Google Developers Console [project ID or project
|
|
3770
3880
|
# number](https://support.google.com/cloud/answer/6158840).
|
|
3771
3881
|
# This field has been deprecated and replaced by the name field.
|
|
3772
3882
|
# Corresponds to the JSON property `projectId`
|
|
3773
3883
|
# @return [String]
|
|
3774
3884
|
attr_accessor :project_id
|
|
3775
3885
|
|
|
3776
|
-
#
|
|
3886
|
+
# Deprecated. The name of the Google Compute Engine
|
|
3777
3887
|
# [zone](/compute/docs/zones#available) in which the cluster
|
|
3778
3888
|
# resides.
|
|
3779
3889
|
# This field has been deprecated and replaced by the name field.
|
|
@@ -3799,7 +3909,7 @@ module Google
|
|
|
3799
3909
|
class UpdateNodePoolRequest
|
|
3800
3910
|
include Google::Apis::Core::Hashable
|
|
3801
3911
|
|
|
3802
|
-
#
|
|
3912
|
+
# Deprecated. The name of the cluster to upgrade.
|
|
3803
3913
|
# This field has been deprecated and replaced by the name field.
|
|
3804
3914
|
# Corresponds to the JSON property `clusterId`
|
|
3805
3915
|
# @return [String]
|
|
@@ -3826,7 +3936,7 @@ module Google
|
|
|
3826
3936
|
# @return [String]
|
|
3827
3937
|
attr_accessor :name
|
|
3828
3938
|
|
|
3829
|
-
#
|
|
3939
|
+
# Deprecated. The name of the node pool to upgrade.
|
|
3830
3940
|
# This field has been deprecated and replaced by the name field.
|
|
3831
3941
|
# Corresponds to the JSON property `nodePoolId`
|
|
3832
3942
|
# @return [String]
|
|
@@ -3845,7 +3955,7 @@ module Google
|
|
|
3845
3955
|
# @return [String]
|
|
3846
3956
|
attr_accessor :node_version
|
|
3847
3957
|
|
|
3848
|
-
#
|
|
3958
|
+
# Deprecated. The Google Developers Console [project ID or project
|
|
3849
3959
|
# number](https://support.google.com/cloud/answer/6158840).
|
|
3850
3960
|
# This field has been deprecated and replaced by the name field.
|
|
3851
3961
|
# Corresponds to the JSON property `projectId`
|
|
@@ -3874,7 +3984,13 @@ module Google
|
|
|
3874
3984
|
# @return [Google::Apis::ContainerV1::UpgradeSettings]
|
|
3875
3985
|
attr_accessor :upgrade_settings
|
|
3876
3986
|
|
|
3877
|
-
#
|
|
3987
|
+
# WorkloadMetadataConfig defines the metadata configuration to expose to
|
|
3988
|
+
# workloads on the node pool.
|
|
3989
|
+
# Corresponds to the JSON property `workloadMetadataConfig`
|
|
3990
|
+
# @return [Google::Apis::ContainerV1::WorkloadMetadataConfig]
|
|
3991
|
+
attr_accessor :workload_metadata_config
|
|
3992
|
+
|
|
3993
|
+
# Deprecated. The name of the Google Compute Engine
|
|
3878
3994
|
# [zone](/compute/docs/zones#available) in which the cluster
|
|
3879
3995
|
# resides.
|
|
3880
3996
|
# This field has been deprecated and replaced by the name field.
|
|
@@ -3896,6 +4012,7 @@ module Google
|
|
|
3896
4012
|
@node_version = args[:node_version] if args.key?(:node_version)
|
|
3897
4013
|
@project_id = args[:project_id] if args.key?(:project_id)
|
|
3898
4014
|
@upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
|
|
4015
|
+
@workload_metadata_config = args[:workload_metadata_config] if args.key?(:workload_metadata_config)
|
|
3899
4016
|
@zone = args[:zone] if args.key?(:zone)
|
|
3900
4017
|
end
|
|
3901
4018
|
end
|
|
@@ -4047,6 +4164,47 @@ module Google
|
|
|
4047
4164
|
@enabled = args[:enabled] if args.key?(:enabled)
|
|
4048
4165
|
end
|
|
4049
4166
|
end
|
|
4167
|
+
|
|
4168
|
+
# Configuration for the use of Kubernetes Service Accounts in GCP IAM
|
|
4169
|
+
# policies.
|
|
4170
|
+
class WorkloadIdentityConfig
|
|
4171
|
+
include Google::Apis::Core::Hashable
|
|
4172
|
+
|
|
4173
|
+
# The workload pool to attach all Kubernetes service accounts to.
|
|
4174
|
+
# Corresponds to the JSON property `workloadPool`
|
|
4175
|
+
# @return [String]
|
|
4176
|
+
attr_accessor :workload_pool
|
|
4177
|
+
|
|
4178
|
+
def initialize(**args)
|
|
4179
|
+
update!(**args)
|
|
4180
|
+
end
|
|
4181
|
+
|
|
4182
|
+
# Update properties of this object
|
|
4183
|
+
def update!(**args)
|
|
4184
|
+
@workload_pool = args[:workload_pool] if args.key?(:workload_pool)
|
|
4185
|
+
end
|
|
4186
|
+
end
|
|
4187
|
+
|
|
4188
|
+
# WorkloadMetadataConfig defines the metadata configuration to expose to
|
|
4189
|
+
# workloads on the node pool.
|
|
4190
|
+
class WorkloadMetadataConfig
|
|
4191
|
+
include Google::Apis::Core::Hashable
|
|
4192
|
+
|
|
4193
|
+
# Mode is the configuration for how to expose metadata to workloads running
|
|
4194
|
+
# on the node pool.
|
|
4195
|
+
# Corresponds to the JSON property `mode`
|
|
4196
|
+
# @return [String]
|
|
4197
|
+
attr_accessor :mode
|
|
4198
|
+
|
|
4199
|
+
def initialize(**args)
|
|
4200
|
+
update!(**args)
|
|
4201
|
+
end
|
|
4202
|
+
|
|
4203
|
+
# Update properties of this object
|
|
4204
|
+
def update!(**args)
|
|
4205
|
+
@mode = args[:mode] if args.key?(:mode)
|
|
4206
|
+
end
|
|
4207
|
+
end
|
|
4050
4208
|
end
|
|
4051
4209
|
end
|
|
4052
4210
|
end
|