class Google::Apis::GkehubV1beta1::KubernetesMetadata
KubernetesMetadata
provides informational metadata for Memberships representing Kubernetes clusters.
Attributes
Output only. Kubernetes API server version string as reported by '/version'. Corresponds to the JSON property `kubernetesApiServerVersion` @return [String]
Output only. The total memory capacity as reported by the sum of all Kubernetes nodes resources, defined in MB. Corresponds to the JSON property `memoryMb` @return [Fixnum]
Output only. Node count as reported by Kubernetes nodes resources. Corresponds to the JSON property `nodeCount` @return [Fixnum]
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. Corresponds to the JSON property `nodeProviderId` @return [String]
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. Corresponds to the JSON property `updateTime` @return [String]
Output only. vCPU count as reported by Kubernetes nodes resources. Corresponds to the JSON property `vcpuCount` @return [Fixnum]
Public Class Methods
# File lib/google/apis/gkehub_v1beta1/classes.rb, line 489 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/gkehub_v1beta1/classes.rb, line 494 def update!(**args) @kubernetes_api_server_version = args[:kubernetes_api_server_version] if args.key?(:kubernetes_api_server_version) @memory_mb = args[:memory_mb] if args.key?(:memory_mb) @node_count = args[:node_count] if args.key?(:node_count) @node_provider_id = args[:node_provider_id] if args.key?(:node_provider_id) @update_time = args[:update_time] if args.key?(:update_time) @vcpu_count = args[:vcpu_count] if args.key?(:vcpu_count) end