Skip to content

Commit 49e6a7e

Browse files
Google APIscopybara-github
authored andcommitted
feat: add ClusterType field in MembershipEndpoint.OnPremCluster
PiperOrigin-RevId: 455120505
1 parent dcc5d9f commit 49e6a7e

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

google/cloud/gkehub/v1beta1/membership.proto

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,24 @@ message GkeCluster {
359359

360360
// OnPremCluster contains information specific to GKE On-Prem clusters.
361361
message OnPremCluster {
362+
// ClusterType describes on prem cluster's type.
363+
enum ClusterType {
364+
// The ClusterType is not set.
365+
CLUSTERTYPE_UNSPECIFIED = 0;
366+
367+
// The ClusterType is bootstrap cluster.
368+
BOOTSTRAP = 1;
369+
370+
// The ClusterType is baremetal hybrid cluster.
371+
HYBRID = 2;
372+
373+
// The ClusterType is baremetal standalone cluster.
374+
STANDALONE = 3;
375+
376+
// The ClusterType is user cluster.
377+
USER = 4;
378+
}
379+
362380
// Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example:
363381
//
364382
// //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster
@@ -372,6 +390,9 @@ message OnPremCluster {
372390

373391
// Immutable. Whether the cluster is an admin cluster.
374392
bool admin_cluster = 3 [(google.api.field_behavior) = IMMUTABLE];
393+
394+
// Immutable. The on prem cluster's type.
395+
ClusterType cluster_type = 4 [(google.api.field_behavior) = IMMUTABLE];
375396
}
376397

377398
// MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.

0 commit comments

Comments
 (0)