Skip to content

Commit

Permalink
feat: added EnterpriseConfig
Browse files Browse the repository at this point in the history
feat: add a new cluster field for the cluster tier of GKE clusters

PiperOrigin-RevId: 578552799
  • Loading branch information
Google APIs authored and Copybara-Service committed Nov 1, 2023
1 parent 09fa101 commit 23321ee
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions google/container/v1/cluster_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1975,6 +1975,9 @@ message Cluster {

// Beta APIs Config
K8sBetaAPIConfig enable_k8s_beta_apis = 143;

// GKE Enterprise Configuration.
EnterpriseConfig enterprise_config = 149;
}

// K8sBetaAPIConfig , configuration for beta APIs
Expand Down Expand Up @@ -5288,3 +5291,22 @@ message ResourceManagerTags {
// 3. `{project_id}/{tag_key_name}={tag_value_name}`
map<string, string> tags = 1;
}

// EnterpriseConfig is the cluster enterprise configuration.
message EnterpriseConfig {
// Premium tiers for GKE Cluster.
enum ClusterTier {
// CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set.
CLUSTER_TIER_UNSPECIFIED = 0;

// STANDARD indicates a standard GKE cluster.
STANDARD = 1;

// ENTERPRISE indicates a GKE Enterprise cluster.
ENTERPRISE = 2;
}

// Output only. [Output only] cluster_tier specifies the premium tier of the
// cluster.
ClusterTier cluster_tier = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
}

0 comments on commit 23321ee

Please sign in to comment.