Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Commit ec72f19

Browse files
feat: add ClusterType field in MembershipEndpoint.OnPremCluster (#156)
* feat: add ClusterType field in MembershipEndpoint.OnPremCluster PiperOrigin-RevId: 455120505 Source-Link: googleapis/googleapis@49e6a7e Source-Link: https://github.com/googleapis/googleapis-gen/commit/dc2045f572e4bdf59d506c1fcf9663931d7c2543 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZGMyMDQ1ZjU3MmU0YmRmNTlkNTA2YzFmY2Y5NjYzOTMxZDdjMjU0MyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent bca244d commit ec72f19

4 files changed

Lines changed: 127 additions & 0 deletions

File tree

protos/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.

protos/protos.d.ts

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protos/protos.js

Lines changed: 70 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protos/protos.json

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)