Google Cloud Gke Hub V1 Client - Class KubernetesMetadata (1.0.0-RC1)

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 \ V1

Methods

Constructor.

Parameters
Name
Description
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.

Output only. Kubernetes API server version string as reported by /version .

Returns
Type
Description
string

Output only. Kubernetes API server version string as reported by /version .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

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.

Returns
Type
Description
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.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

Output only. Node count as reported by Kubernetes nodes resources.

Returns
Type
Description
int

Output only. Node count as reported by Kubernetes nodes resources.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

Output only. vCPU count as reported by Kubernetes nodes resources.

Returns
Type
Description
int

Output only. vCPU count as reported by Kubernetes nodes resources.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

Output only. The total memory capacity as reported by the sum of all Kubernetes nodes resources, defined in MB.

Returns
Type
Description
int

Output only. The total memory capacity as reported by the sum of all Kubernetes nodes resources, defined in MB.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

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.

Returns
Type
Description

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.

Parameter
Name
Description
Returns
Type
Description
$this