Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class KubernetesMetadata.
KubernetesMetadata provides informational metadata for Memberships representing Kubernetes clusters.
Generated from protobuf message google.cloud.gkehub.v1.KubernetesMetadata
Namespace
Google \ Cloud \ GkeHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ kubernetes_api_server_version
string
Output only. Kubernetes API server version string as reported by /version
.
↳ node_provider_id
string
Output only. Node providerID as reported by the first node in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the node_count will be zero and the node_provider_id will be empty.
↳ node_count
int
Output only. Node count as reported by Kubernetes nodes resources.
↳ vcpu_count
int
Output only. vCPU count as reported by Kubernetes nodes resources.
↳ memory_mb
int
Output only. The total memory capacity as reported by the sum of all Kubernetes nodes resources, defined in MB.
↳ update_time
Google\Protobuf\Timestamp
Output only. The time at which these details were last updated. This update_time is different from the Membership-level update_time since EndpointDetails are updated internally for API consumers.
getKubernetesApiServerVersion
Output only. Kubernetes API server version string as reported by /version
.
string
setKubernetesApiServerVersion
Output only. Kubernetes API server version string as reported by /version
.
var
string
$this
getNodeProviderId
Output only. Node providerID as reported by the first node in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the node_count will be zero and the node_provider_id will be empty.
string
setNodeProviderId
Output only. Node providerID as reported by the first node in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the node_count will be zero and the node_provider_id will be empty.
var
string
$this
getNodeCount
Output only. Node count as reported by Kubernetes nodes resources.
int
setNodeCount
Output only. Node count as reported by Kubernetes nodes resources.
var
int
$this
getVcpuCount
Output only. vCPU count as reported by Kubernetes nodes resources.
int
setVcpuCount
Output only. vCPU count as reported by Kubernetes nodes resources.
var
int
$this
getMemoryMb
Output only. The total memory capacity as reported by the sum of all Kubernetes nodes resources, defined in MB.
int
setMemoryMb
Output only. The total memory capacity as reported by the sum of all Kubernetes nodes resources, defined in MB.
var
int
$this
getUpdateTime
Output only. The time at which these details were last updated. This update_time is different from the Membership-level update_time since EndpointDetails are updated internally for API consumers.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time at which these details were last updated. This update_time is different from the Membership-level update_time since EndpointDetails are updated internally for API consumers.
$this