[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eOnPremCluster\u003c/code\u003e class in the GKE Hub v1beta1 API provides information specific to GKE On-Prem clusters.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eOnPremCluster\u003c/code\u003e class is \u003ccode\u003e2.0.0-beta07\u003c/code\u003e, with prior versions including \u003ccode\u003e2.0.0-beta06\u003c/code\u003e and \u003ccode\u003e1.0.0-beta04\u003c/code\u003e available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOnPremCluster\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eOnPremCluster\u003c/code\u003e include \u003ccode\u003eAdminCluster\u003c/code\u003e (indicating whether it is an admin cluster), \u003ccode\u003eClusterMissing\u003c/code\u003e (indicating if the cluster resource is missing), \u003ccode\u003eClusterType\u003c/code\u003e (specifying the cluster's type), and \u003ccode\u003eResourceLink\u003c/code\u003e (the self-link of the GKE On-Prem cluster resource).\u003c/p\u003e\n"]]],[],null,["# GKE Hub v1beta1 API - Class OnPremCluster (2.0.0-beta07)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta07 (latest)](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.OnPremCluster)\n- [2.0.0-beta06](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/2.0.0-beta06/Google.Cloud.GkeHub.V1Beta1.OnPremCluster)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/1.0.0-beta04/Google.Cloud.GkeHub.V1Beta1.OnPremCluster) \n\n public sealed class OnPremCluster : IMessage\u003cOnPremCluster\u003e, IEquatable\u003cOnPremCluster\u003e, IDeepCloneable\u003cOnPremCluster\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the GKE Hub v1beta1 API class OnPremCluster.\n\nOnPremCluster contains information specific to GKE On-Prem clusters. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e OnPremCluster \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[OnPremCluster](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.OnPremCluster), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[OnPremCluster](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.OnPremCluster), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[OnPremCluster](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.OnPremCluster), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.GkeHub.V1Beta1](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.GkeHub.V1Beta1.dll\n\nConstructors\n------------\n\n### OnPremCluster()\n\n public OnPremCluster()\n\n### OnPremCluster(OnPremCluster)\n\n public OnPremCluster(OnPremCluster other)\n\nProperties\n----------\n\n### AdminCluster\n\n public bool AdminCluster { get; set; }\n\nImmutable. Whether the cluster is an admin cluster.\n\n### ClusterMissing\n\n public bool ClusterMissing { get; set; }\n\nOutput only. If cluster_missing is set then it denotes that\nAPI(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no\nlonger exists.\n\n### ClusterType\n\n public OnPremCluster.Types.ClusterType ClusterType { get; set; }\n\nImmutable. The on prem cluster's type.\n\n### ResourceLink\n\n public string ResourceLink { get; set; }\n\nImmutable. Self-link of the GCP resource for the GKE On-Prem cluster. For\nexample:\n\n//gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster\n//gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster"]]