Documentation ¶
Index ¶
- Variables
- type MembershipState
- func (*MembershipState) Descriptor() ([]byte, []int)deprecated
- func (x *MembershipState) GetLastMeasurementTime() *timestamppb.Timestamp
- func (x *MembershipState) GetPreciseLastMeasuredClusterVcpuCapacity() float32
- func (*MembershipState) ProtoMessage()
- func (x *MembershipState) ProtoReflect() protoreflect.Message
- func (x *MembershipState) Reset()
- func (x *MembershipState) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_google_cloud_gkehub_v1beta_metering_metering_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type MembershipState ¶
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 `` /* 185-byte string literal not displayed */ // contains filtered or unexported fields }
**Metering**: Per-Membership Feature State.
func (*MembershipState) Descriptor
deprecated
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
Click to show internal directories.
Click to hide internal directories.