metering

package
v0.0.0-...-8af14fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_google_cloud_gkehub_v1alpha_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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL