Reference documentation and code samples for the Google Cloud Gke Hub V1beta1 Client class OnPremCluster.
OnPremCluster contains information specific to GKE On-Prem clusters.
Generated from protobuf message google.cloud.gkehub.v1beta1.OnPremCluster
Namespace
Google \ Cloud \ GkeHub \ V1beta1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ resource_link
string
Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
↳ cluster_missing
bool
Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.
↳ admin_cluster
bool
Immutable. Whether the cluster is an admin cluster.
↳ cluster_type
int
Immutable. The on prem cluster's type.
getResourceLink
Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
string
setResourceLink
Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
var
string
$this
getClusterMissing
Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.
bool
setClusterMissing
Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.
var
bool
$this
getAdminCluster
Immutable. Whether the cluster is an admin cluster.
bool
setAdminCluster
Immutable. Whether the cluster is an admin cluster.
var
bool
$this
getClusterType
Immutable. The on prem cluster's type.
int
setClusterType
Immutable. The on prem cluster's type.
var
int
$this