...

Package metering

import "google.golang.org/genproto/googleapis/cloud/gkehub/metering/v1alpha"
Overview
Index

Overview ▾

Variables

var File_google_cloud_gkehub_v1alpha_metering_metering_proto protoreflect.FileDescriptor

type MembershipState

**Metering**: Per-Membership Feature State.

type MembershipState struct {

    // The time stamp of the most recent measurement of the number of vCPUs
    // in the cluster.
    LastMeasurementTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=last_measurement_time,json=lastMeasurementTime,proto3" json:"last_measurement_time,omitempty"`
    // The vCPUs capacity in the cluster according to the most recent
    // measurement (1/1000 precision).
    PreciseLastMeasuredClusterVcpuCapacity float32 `protobuf:"fixed32,3,opt,name=precise_last_measured_cluster_vcpu_capacity,json=preciseLastMeasuredClusterVcpuCapacity,proto3" json:"precise_last_measured_cluster_vcpu_capacity,omitempty"`
    // contains filtered or unexported fields
}

func (*MembershipState) Descriptor

func (*MembershipState) Descriptor() ([]byte, []int)

Deprecated: Use MembershipState.ProtoReflect.Descriptor instead.

func (*MembershipState) GetLastMeasurementTime

func (x *MembershipState) GetLastMeasurementTime() *timestamppb.Timestamp

func (*MembershipState) GetPreciseLastMeasuredClusterVcpuCapacity

func (x *MembershipState) GetPreciseLastMeasuredClusterVcpuCapacity() float32

func (*MembershipState) ProtoMessage

func (*MembershipState) ProtoMessage()

func (*MembershipState) ProtoReflect

func (x *MembershipState) ProtoReflect() protoreflect.Message

func (*MembershipState) Reset

func (x *MembershipState) Reset()

func (*MembershipState) String

func (x *MembershipState) String() string