Reference documentation and code samples for the GKE Hub V1beta1 API class Google::Cloud::GkeHub::V1beta1::KubernetesMetadata.
KubernetesMetadata provides informational metadata for Memberships
representing Kubernetes clusters.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#kubernetes_api_server_version
defkubernetes_api_server_version()->::String
Returns
(::String) — Output only. Kubernetes API server version string as reported by
'/version'.
#memory_mb
defmemory_mb()->::Integer
Returns
(::Integer) — Output only. The total memory capacity as reported by the sum of all
Kubernetes nodes resources, defined in MB.
#node_count
defnode_count()->::Integer
Returns
(::Integer) — Output only. Node count as reported by Kubernetes nodes resources.
#node_provider_id
defnode_provider_id()->::String
Returns
(::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.
#update_time
defupdate_time()->::Google::Protobuf::Timestamp
Returns
(::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.
#vcpu_count
defvcpu_count()->::Integer
Returns
(::Integer) — Output only. vCPU count as reported by Kubernetes nodes resources.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# GKE Hub V1beta1 API - Class Google::Cloud::GkeHub::V1beta1::KubernetesMetadata (v0.15.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.15.0 (latest)](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Cloud-GkeHub-V1beta1-KubernetesMetadata)\n- [0.14.1](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.14.1/Google-Cloud-GkeHub-V1beta1-KubernetesMetadata)\n- [0.13.0](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.13.0/Google-Cloud-GkeHub-V1beta1-KubernetesMetadata)\n- [0.12.0](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.12.0/Google-Cloud-GkeHub-V1beta1-KubernetesMetadata)\n- [0.11.1](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.11.1/Google-Cloud-GkeHub-V1beta1-KubernetesMetadata)\n- [0.10.2](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.10.2/Google-Cloud-GkeHub-V1beta1-KubernetesMetadata)\n- [0.9.0](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.9.0/Google-Cloud-GkeHub-V1beta1-KubernetesMetadata)\n- [0.8.0](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.8.0/Google-Cloud-GkeHub-V1beta1-KubernetesMetadata)\n- [0.7.0](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.7.0/Google-Cloud-GkeHub-V1beta1-KubernetesMetadata)\n- [0.6.0](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.6.0/Google-Cloud-GkeHub-V1beta1-KubernetesMetadata)\n- [0.5.0](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.5.0/Google-Cloud-GkeHub-V1beta1-KubernetesMetadata)\n- [0.4.0](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.4.0/Google-Cloud-GkeHub-V1beta1-KubernetesMetadata)\n- [0.3.0](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.3.0/Google-Cloud-GkeHub-V1beta1-KubernetesMetadata)\n- [0.2.2](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.2.2/Google-Cloud-GkeHub-V1beta1-KubernetesMetadata) \nReference documentation and code samples for the GKE Hub V1beta1 API class Google::Cloud::GkeHub::V1beta1::KubernetesMetadata.\n\nKubernetesMetadata provides informational metadata for Memberships\nrepresenting Kubernetes clusters. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #kubernetes_api_server_version\n\n def kubernetes_api_server_version() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. Kubernetes API server version string as reported by '/version'.\n\n### #memory_mb\n\n def memory_mb() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Output only. The total memory capacity as reported by the sum of all Kubernetes nodes resources, defined in MB.\n\n### #node_count\n\n def node_count() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Output only. Node count as reported by Kubernetes nodes resources.\n\n### #node_provider_id\n\n def node_provider_id() -\u003e ::String\n\n**Returns**\n\n- (::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.\n\n### #update_time\n\n def update_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./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.\n\n### #vcpu_count\n\n def vcpu_count() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Output only. vCPU count as reported by Kubernetes nodes resources."]]