From c08d405c38ecd133175b932232211e046c4aa07c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 5 Nov 2023 00:22:38 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2250) --- container/v1beta1/container-api.json | 28 +++++++++++++++++++- container/v1beta1/container-gen.go | 39 ++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 1 deletion(-) diff --git a/container/v1beta1/container-api.json b/container/v1beta1/container-api.json index 357491f63cb..14509455c21 100644 --- a/container/v1beta1/container-api.json +++ b/container/v1beta1/container-api.json @@ -2565,7 +2565,7 @@ } } }, - "revision": "20231012", + "revision": "20231024", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -3247,6 +3247,10 @@ "description": "[Output only] The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.", "type": "string" }, + "enterpriseConfig": { + "$ref": "EnterpriseConfig", + "description": "GKE Enterprise Configuration." + }, "etag": { "description": "This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.", "type": "string" @@ -4151,6 +4155,28 @@ "properties": {}, "type": "object" }, + "EnterpriseConfig": { + "description": "EnterpriseConfig is the cluster enterprise configuration.", + "id": "EnterpriseConfig", + "properties": { + "clusterTier": { + "description": "Output only. [Output only] cluster_tier specifies the premium tier of the cluster.", + "enum": [ + "CLUSTER_TIER_UNSPECIFIED", + "STANDARD", + "ENTERPRISE" + ], + "enumDescriptions": [ + "CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set.", + "STANDARD indicates a standard GKE cluster.", + "ENTERPRISE indicates a GKE Enterprise cluster." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "EphemeralStorageConfig": { "description": "EphemeralStorageConfig contains configuration for the ephemeral storage filesystem.", "id": "EphemeralStorageConfig", diff --git a/container/v1beta1/container-gen.go b/container/v1beta1/container-gen.go index 6009c4ed4df..b60d2c29d85 100644 --- a/container/v1beta1/container-gen.go +++ b/container/v1beta1/container-gen.go @@ -1395,6 +1395,9 @@ type Cluster struct { // of this resource for username and password information. Endpoint string `json:"endpoint,omitempty"` + // EnterpriseConfig: GKE Enterprise Configuration. + EnterpriseConfig *EnterpriseConfig `json:"enterpriseConfig,omitempty"` + // Etag: This checksum is computed by the server based on the value of // cluster fields, and may be sent on update requests to ensure the // client has an up-to-date value before proceeding. @@ -2694,6 +2697,42 @@ type Empty struct { googleapi.ServerResponse `json:"-"` } +// EnterpriseConfig: EnterpriseConfig is the cluster enterprise +// configuration. +type EnterpriseConfig struct { + // ClusterTier: Output only. [Output only] cluster_tier specifies the + // premium tier of the cluster. + // + // Possible values: + // "CLUSTER_TIER_UNSPECIFIED" - CLUSTER_TIER_UNSPECIFIED is when + // cluster_tier is not set. + // "STANDARD" - STANDARD indicates a standard GKE cluster. + // "ENTERPRISE" - ENTERPRISE indicates a GKE Enterprise cluster. + ClusterTier string `json:"clusterTier,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ClusterTier") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ClusterTier") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *EnterpriseConfig) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // EphemeralStorageConfig: EphemeralStorageConfig contains configuration // for the ephemeral storage filesystem. type EphemeralStorageConfig struct {