class Google::Apis::GkehubV1beta::MeteringMembershipState

Metering: Per-Membership Feature State.

Attributes

last_measurement_time[RW]

The time stamp of the most recent measurement of the number of vCPUs in the cluster. Corresponds to the JSON property `lastMeasurementTime` @return [String]

precise_last_measured_cluster_vcpu_capacity[RW]

The vCPUs capacity in the cluster according to the most recent measurement (1/ 1000 precision). Corresponds to the JSON property `preciseLastMeasuredClusterVcpuCapacity` @return [Float]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/gkehub_v1beta/classes.rb, line 1683
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/gkehub_v1beta/classes.rb, line 1688
def update!(**args)
  @last_measurement_time = args[:last_measurement_time] if args.key?(:last_measurement_time)
  @precise_last_measured_cluster_vcpu_capacity = args[:precise_last_measured_cluster_vcpu_capacity] if args.key?(:precise_last_measured_cluster_vcpu_capacity)
end