usage

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Usage_SetupOrganization_FullMethodName          = "/superplane.usage.v1.Usage/SetupOrganization"
	Usage_SetupAccount_FullMethodName               = "/superplane.usage.v1.Usage/SetupAccount"
	Usage_DescribeOrganizationLimits_FullMethodName = "/superplane.usage.v1.Usage/DescribeOrganizationLimits"
	Usage_DescribeAccountLimits_FullMethodName      = "/superplane.usage.v1.Usage/DescribeAccountLimits"
	Usage_DescribeOrganizationUsage_FullMethodName  = "/superplane.usage.v1.Usage/DescribeOrganizationUsage"
	Usage_CheckOrganizationLimits_FullMethodName    = "/superplane.usage.v1.Usage/CheckOrganizationLimits"
	Usage_CheckAccountLimits_FullMethodName         = "/superplane.usage.v1.Usage/CheckAccountLimits"
)

Variables

View Source
var (
	LimitName_name = map[int32]string{
		0: "LIMIT_NAME_UNSPECIFIED",
		1: "LIMIT_NAME_MAX_ORGANIZATIONS",
		2: "LIMIT_NAME_MAX_CANVASES",
		3: "LIMIT_NAME_MAX_NODES_PER_CANVAS",
		4: "LIMIT_NAME_MAX_USERS",
		5: "LIMIT_NAME_MAX_EVENTS_PER_MONTH",
		6: "LIMIT_NAME_MAX_INTEGRATIONS",
	}
	LimitName_value = map[string]int32{
		"LIMIT_NAME_UNSPECIFIED":          0,
		"LIMIT_NAME_MAX_ORGANIZATIONS":    1,
		"LIMIT_NAME_MAX_CANVASES":         2,
		"LIMIT_NAME_MAX_NODES_PER_CANVAS": 3,
		"LIMIT_NAME_MAX_USERS":            4,
		"LIMIT_NAME_MAX_EVENTS_PER_MONTH": 5,
		"LIMIT_NAME_MAX_INTEGRATIONS":     6,
	}
)

Enum value maps for LimitName.

View Source
var File_usage_proto protoreflect.FileDescriptor
View Source
var Usage_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "superplane.usage.v1.Usage",
	HandlerType: (*UsageServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SetupOrganization",
			Handler:    _Usage_SetupOrganization_Handler,
		},
		{
			MethodName: "SetupAccount",
			Handler:    _Usage_SetupAccount_Handler,
		},
		{
			MethodName: "DescribeOrganizationLimits",
			Handler:    _Usage_DescribeOrganizationLimits_Handler,
		},
		{
			MethodName: "DescribeAccountLimits",
			Handler:    _Usage_DescribeAccountLimits_Handler,
		},
		{
			MethodName: "DescribeOrganizationUsage",
			Handler:    _Usage_DescribeOrganizationUsage_Handler,
		},
		{
			MethodName: "CheckOrganizationLimits",
			Handler:    _Usage_CheckOrganizationLimits_Handler,
		},
		{
			MethodName: "CheckAccountLimits",
			Handler:    _Usage_CheckAccountLimits_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "usage.proto",
}

Usage_ServiceDesc is the grpc.ServiceDesc for Usage service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterUsageServer

func RegisterUsageServer(s grpc.ServiceRegistrar, srv UsageServer)

Types

type AccountLimits

type AccountLimits struct {
	MaxOrganizations int32 `protobuf:"varint,1,opt,name=max_organizations,json=maxOrganizations,proto3" json:"max_organizations,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountLimits) Descriptor deprecated

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

Deprecated: Use AccountLimits.ProtoReflect.Descriptor instead.

func (*AccountLimits) GetMaxOrganizations

func (x *AccountLimits) GetMaxOrganizations() int32

func (*AccountLimits) ProtoMessage

func (*AccountLimits) ProtoMessage()

func (*AccountLimits) ProtoReflect

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

func (*AccountLimits) Reset

func (x *AccountLimits) Reset()

func (*AccountLimits) String

func (x *AccountLimits) String() string

type AccountState

type AccountState struct {
	Organizations int32 `protobuf:"varint,1,opt,name=organizations,proto3" json:"organizations,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountState) Descriptor deprecated

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

Deprecated: Use AccountState.ProtoReflect.Descriptor instead.

func (*AccountState) GetOrganizations

func (x *AccountState) GetOrganizations() int32

func (*AccountState) ProtoMessage

func (*AccountState) ProtoMessage()

func (*AccountState) ProtoReflect

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

func (*AccountState) Reset

func (x *AccountState) Reset()

func (*AccountState) String

func (x *AccountState) String() string

type CanvasState

type CanvasState struct {
	Nodes int32 `protobuf:"varint,1,opt,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*CanvasState) Descriptor deprecated

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

Deprecated: Use CanvasState.ProtoReflect.Descriptor instead.

func (*CanvasState) GetNodes

func (x *CanvasState) GetNodes() int32

func (*CanvasState) ProtoMessage

func (*CanvasState) ProtoMessage()

func (*CanvasState) ProtoReflect

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

func (*CanvasState) Reset

func (x *CanvasState) Reset()

func (*CanvasState) String

func (x *CanvasState) String() string

type CheckAccountLimitsRequest

type CheckAccountLimitsRequest struct {
	AccountId string        `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	State     *AccountState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckAccountLimitsRequest) Descriptor deprecated

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

Deprecated: Use CheckAccountLimitsRequest.ProtoReflect.Descriptor instead.

func (*CheckAccountLimitsRequest) GetAccountId

func (x *CheckAccountLimitsRequest) GetAccountId() string

func (*CheckAccountLimitsRequest) GetState

func (x *CheckAccountLimitsRequest) GetState() *AccountState

func (*CheckAccountLimitsRequest) ProtoMessage

func (*CheckAccountLimitsRequest) ProtoMessage()

func (*CheckAccountLimitsRequest) ProtoReflect

func (*CheckAccountLimitsRequest) Reset

func (x *CheckAccountLimitsRequest) Reset()

func (*CheckAccountLimitsRequest) String

func (x *CheckAccountLimitsRequest) String() string

type CheckAccountLimitsResponse

type CheckAccountLimitsResponse struct {
	Allowed    bool              `protobuf:"varint,1,opt,name=allowed,proto3" json:"allowed,omitempty"`
	Limits     *AccountLimits    `protobuf:"bytes,2,opt,name=limits,proto3" json:"limits,omitempty"`
	Violations []*LimitViolation `protobuf:"bytes,3,rep,name=violations,proto3" json:"violations,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckAccountLimitsResponse) Descriptor deprecated

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

Deprecated: Use CheckAccountLimitsResponse.ProtoReflect.Descriptor instead.

func (*CheckAccountLimitsResponse) GetAllowed

func (x *CheckAccountLimitsResponse) GetAllowed() bool

func (*CheckAccountLimitsResponse) GetLimits

func (x *CheckAccountLimitsResponse) GetLimits() *AccountLimits

func (*CheckAccountLimitsResponse) GetViolations

func (x *CheckAccountLimitsResponse) GetViolations() []*LimitViolation

func (*CheckAccountLimitsResponse) ProtoMessage

func (*CheckAccountLimitsResponse) ProtoMessage()

func (*CheckAccountLimitsResponse) ProtoReflect

func (*CheckAccountLimitsResponse) Reset

func (x *CheckAccountLimitsResponse) Reset()

func (*CheckAccountLimitsResponse) String

func (x *CheckAccountLimitsResponse) String() string

type CheckOrganizationLimitsRequest

type CheckOrganizationLimitsRequest struct {
	OrganizationId string             `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	State          *OrganizationState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	Canvas         *CanvasState       `protobuf:"bytes,3,opt,name=canvas,proto3" json:"canvas,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckOrganizationLimitsRequest) Descriptor deprecated

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

Deprecated: Use CheckOrganizationLimitsRequest.ProtoReflect.Descriptor instead.

func (*CheckOrganizationLimitsRequest) GetCanvas

func (*CheckOrganizationLimitsRequest) GetOrganizationId

func (x *CheckOrganizationLimitsRequest) GetOrganizationId() string

func (*CheckOrganizationLimitsRequest) GetState

func (*CheckOrganizationLimitsRequest) ProtoMessage

func (*CheckOrganizationLimitsRequest) ProtoMessage()

func (*CheckOrganizationLimitsRequest) ProtoReflect

func (*CheckOrganizationLimitsRequest) Reset

func (x *CheckOrganizationLimitsRequest) Reset()

func (*CheckOrganizationLimitsRequest) String

type CheckOrganizationLimitsResponse

type CheckOrganizationLimitsResponse struct {
	Allowed    bool                `protobuf:"varint,1,opt,name=allowed,proto3" json:"allowed,omitempty"`
	Limits     *OrganizationLimits `protobuf:"bytes,2,opt,name=limits,proto3" json:"limits,omitempty"`
	Violations []*LimitViolation   `protobuf:"bytes,3,rep,name=violations,proto3" json:"violations,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckOrganizationLimitsResponse) Descriptor deprecated

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

Deprecated: Use CheckOrganizationLimitsResponse.ProtoReflect.Descriptor instead.

func (*CheckOrganizationLimitsResponse) GetAllowed

func (x *CheckOrganizationLimitsResponse) GetAllowed() bool

func (*CheckOrganizationLimitsResponse) GetLimits

func (*CheckOrganizationLimitsResponse) GetViolations

func (x *CheckOrganizationLimitsResponse) GetViolations() []*LimitViolation

func (*CheckOrganizationLimitsResponse) ProtoMessage

func (*CheckOrganizationLimitsResponse) ProtoMessage()

func (*CheckOrganizationLimitsResponse) ProtoReflect

func (*CheckOrganizationLimitsResponse) Reset

func (*CheckOrganizationLimitsResponse) String

type DescribeAccountLimitsRequest

type DescribeAccountLimitsRequest struct {
	AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeAccountLimitsRequest) Descriptor deprecated

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

Deprecated: Use DescribeAccountLimitsRequest.ProtoReflect.Descriptor instead.

func (*DescribeAccountLimitsRequest) GetAccountId

func (x *DescribeAccountLimitsRequest) GetAccountId() string

func (*DescribeAccountLimitsRequest) ProtoMessage

func (*DescribeAccountLimitsRequest) ProtoMessage()

func (*DescribeAccountLimitsRequest) ProtoReflect

func (*DescribeAccountLimitsRequest) Reset

func (x *DescribeAccountLimitsRequest) Reset()

func (*DescribeAccountLimitsRequest) String

type DescribeAccountLimitsResponse

type DescribeAccountLimitsResponse struct {
	Limits *AccountLimits `protobuf:"bytes,1,opt,name=limits,proto3" json:"limits,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeAccountLimitsResponse) Descriptor deprecated

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

Deprecated: Use DescribeAccountLimitsResponse.ProtoReflect.Descriptor instead.

func (*DescribeAccountLimitsResponse) GetLimits

func (*DescribeAccountLimitsResponse) ProtoMessage

func (*DescribeAccountLimitsResponse) ProtoMessage()

func (*DescribeAccountLimitsResponse) ProtoReflect

func (*DescribeAccountLimitsResponse) Reset

func (x *DescribeAccountLimitsResponse) Reset()

func (*DescribeAccountLimitsResponse) String

type DescribeOrganizationLimitsRequest

type DescribeOrganizationLimitsRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeOrganizationLimitsRequest) Descriptor deprecated

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

Deprecated: Use DescribeOrganizationLimitsRequest.ProtoReflect.Descriptor instead.

func (*DescribeOrganizationLimitsRequest) GetOrganizationId

func (x *DescribeOrganizationLimitsRequest) GetOrganizationId() string

func (*DescribeOrganizationLimitsRequest) ProtoMessage

func (*DescribeOrganizationLimitsRequest) ProtoMessage()

func (*DescribeOrganizationLimitsRequest) ProtoReflect

func (*DescribeOrganizationLimitsRequest) Reset

func (*DescribeOrganizationLimitsRequest) String

type DescribeOrganizationLimitsResponse

type DescribeOrganizationLimitsResponse struct {
	Limits *OrganizationLimits `protobuf:"bytes,1,opt,name=limits,proto3" json:"limits,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeOrganizationLimitsResponse) Descriptor deprecated

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

Deprecated: Use DescribeOrganizationLimitsResponse.ProtoReflect.Descriptor instead.

func (*DescribeOrganizationLimitsResponse) GetLimits

func (*DescribeOrganizationLimitsResponse) ProtoMessage

func (*DescribeOrganizationLimitsResponse) ProtoMessage()

func (*DescribeOrganizationLimitsResponse) ProtoReflect

func (*DescribeOrganizationLimitsResponse) Reset

func (*DescribeOrganizationLimitsResponse) String

type DescribeOrganizationUsageRequest

type DescribeOrganizationUsageRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeOrganizationUsageRequest) Descriptor deprecated

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

Deprecated: Use DescribeOrganizationUsageRequest.ProtoReflect.Descriptor instead.

func (*DescribeOrganizationUsageRequest) GetOrganizationId

func (x *DescribeOrganizationUsageRequest) GetOrganizationId() string

func (*DescribeOrganizationUsageRequest) ProtoMessage

func (*DescribeOrganizationUsageRequest) ProtoMessage()

func (*DescribeOrganizationUsageRequest) ProtoReflect

func (*DescribeOrganizationUsageRequest) Reset

func (*DescribeOrganizationUsageRequest) String

type DescribeOrganizationUsageResponse

type DescribeOrganizationUsageResponse struct {
	Usage *OrganizationUsage `protobuf:"bytes,1,opt,name=usage,proto3" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeOrganizationUsageResponse) Descriptor deprecated

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

Deprecated: Use DescribeOrganizationUsageResponse.ProtoReflect.Descriptor instead.

func (*DescribeOrganizationUsageResponse) GetUsage

func (*DescribeOrganizationUsageResponse) ProtoMessage

func (*DescribeOrganizationUsageResponse) ProtoMessage()

func (*DescribeOrganizationUsageResponse) ProtoReflect

func (*DescribeOrganizationUsageResponse) Reset

func (*DescribeOrganizationUsageResponse) String

type LimitName

type LimitName int32
const (
	LimitName_LIMIT_NAME_UNSPECIFIED          LimitName = 0
	LimitName_LIMIT_NAME_MAX_ORGANIZATIONS    LimitName = 1
	LimitName_LIMIT_NAME_MAX_CANVASES         LimitName = 2
	LimitName_LIMIT_NAME_MAX_NODES_PER_CANVAS LimitName = 3
	LimitName_LIMIT_NAME_MAX_USERS            LimitName = 4
	LimitName_LIMIT_NAME_MAX_EVENTS_PER_MONTH LimitName = 5
	LimitName_LIMIT_NAME_MAX_INTEGRATIONS     LimitName = 6
)

func (LimitName) Descriptor

func (LimitName) Descriptor() protoreflect.EnumDescriptor

func (LimitName) Enum

func (x LimitName) Enum() *LimitName

func (LimitName) EnumDescriptor deprecated

func (LimitName) EnumDescriptor() ([]byte, []int)

Deprecated: Use LimitName.Descriptor instead.

func (LimitName) Number

func (x LimitName) Number() protoreflect.EnumNumber

func (LimitName) String

func (x LimitName) String() string

func (LimitName) Type

type LimitViolation

type LimitViolation struct {
	Limit           LimitName `protobuf:"varint,1,opt,name=limit,proto3,enum=superplane.usage.v1.LimitName" json:"limit,omitempty"`
	ConfiguredLimit int64     `protobuf:"varint,2,opt,name=configured_limit,json=configuredLimit,proto3" json:"configured_limit,omitempty"`
	CurrentValue    int64     `protobuf:"varint,3,opt,name=current_value,json=currentValue,proto3" json:"current_value,omitempty"`
	// contains filtered or unexported fields
}

func (*LimitViolation) Descriptor deprecated

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

Deprecated: Use LimitViolation.ProtoReflect.Descriptor instead.

func (*LimitViolation) GetConfiguredLimit

func (x *LimitViolation) GetConfiguredLimit() int64

func (*LimitViolation) GetCurrentValue

func (x *LimitViolation) GetCurrentValue() int64

func (*LimitViolation) GetLimit

func (x *LimitViolation) GetLimit() LimitName

func (*LimitViolation) ProtoMessage

func (*LimitViolation) ProtoMessage()

func (*LimitViolation) ProtoReflect

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

func (*LimitViolation) Reset

func (x *LimitViolation) Reset()

func (*LimitViolation) String

func (x *LimitViolation) String() string

type OrganizationLimits

type OrganizationLimits struct {
	MaxCanvases         int32 `protobuf:"varint,1,opt,name=max_canvases,json=maxCanvases,proto3" json:"max_canvases,omitempty"`
	MaxNodesPerCanvas   int32 `protobuf:"varint,2,opt,name=max_nodes_per_canvas,json=maxNodesPerCanvas,proto3" json:"max_nodes_per_canvas,omitempty"`
	MaxUsers            int32 `protobuf:"varint,3,opt,name=max_users,json=maxUsers,proto3" json:"max_users,omitempty"`
	RetentionWindowDays int32 `protobuf:"varint,4,opt,name=retention_window_days,json=retentionWindowDays,proto3" json:"retention_window_days,omitempty"`
	MaxEventsPerMonth   int64 `protobuf:"varint,5,opt,name=max_events_per_month,json=maxEventsPerMonth,proto3" json:"max_events_per_month,omitempty"`
	MaxIntegrations     int32 `protobuf:"varint,6,opt,name=max_integrations,json=maxIntegrations,proto3" json:"max_integrations,omitempty"`
	// contains filtered or unexported fields
}

func (*OrganizationLimits) Descriptor deprecated

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

Deprecated: Use OrganizationLimits.ProtoReflect.Descriptor instead.

func (*OrganizationLimits) GetMaxCanvases

func (x *OrganizationLimits) GetMaxCanvases() int32

func (*OrganizationLimits) GetMaxEventsPerMonth

func (x *OrganizationLimits) GetMaxEventsPerMonth() int64

func (*OrganizationLimits) GetMaxIntegrations

func (x *OrganizationLimits) GetMaxIntegrations() int32

func (*OrganizationLimits) GetMaxNodesPerCanvas

func (x *OrganizationLimits) GetMaxNodesPerCanvas() int32

func (*OrganizationLimits) GetMaxUsers

func (x *OrganizationLimits) GetMaxUsers() int32

func (*OrganizationLimits) GetRetentionWindowDays

func (x *OrganizationLimits) GetRetentionWindowDays() int32

func (*OrganizationLimits) ProtoMessage

func (*OrganizationLimits) ProtoMessage()

func (*OrganizationLimits) ProtoReflect

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

func (*OrganizationLimits) Reset

func (x *OrganizationLimits) Reset()

func (*OrganizationLimits) String

func (x *OrganizationLimits) String() string

type OrganizationPlanChanged

type OrganizationPlanChanged struct {
	OrganizationId string               `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	PlanName       string               `protobuf:"bytes,2,opt,name=plan_name,json=planName,proto3" json:"plan_name,omitempty"`
	Limits         *OrganizationLimits  `protobuf:"bytes,3,opt,name=limits,proto3" json:"limits,omitempty"`
	Timestamp      *timestamp.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*OrganizationPlanChanged) Descriptor deprecated

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

Deprecated: Use OrganizationPlanChanged.ProtoReflect.Descriptor instead.

func (*OrganizationPlanChanged) GetLimits

func (*OrganizationPlanChanged) GetOrganizationId

func (x *OrganizationPlanChanged) GetOrganizationId() string

func (*OrganizationPlanChanged) GetPlanName

func (x *OrganizationPlanChanged) GetPlanName() string

func (*OrganizationPlanChanged) GetTimestamp

func (x *OrganizationPlanChanged) GetTimestamp() *timestamp.Timestamp

func (*OrganizationPlanChanged) ProtoMessage

func (*OrganizationPlanChanged) ProtoMessage()

func (*OrganizationPlanChanged) ProtoReflect

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

func (*OrganizationPlanChanged) Reset

func (x *OrganizationPlanChanged) Reset()

func (*OrganizationPlanChanged) String

func (x *OrganizationPlanChanged) String() string

type OrganizationState

type OrganizationState struct {
	Canvases     int32 `protobuf:"varint,1,opt,name=canvases,proto3" json:"canvases,omitempty"`
	Users        int32 `protobuf:"varint,2,opt,name=users,proto3" json:"users,omitempty"`
	Integrations int32 `protobuf:"varint,3,opt,name=integrations,proto3" json:"integrations,omitempty"`
	// contains filtered or unexported fields
}

func (*OrganizationState) Descriptor deprecated

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

Deprecated: Use OrganizationState.ProtoReflect.Descriptor instead.

func (*OrganizationState) GetCanvases

func (x *OrganizationState) GetCanvases() int32

func (*OrganizationState) GetIntegrations

func (x *OrganizationState) GetIntegrations() int32

func (*OrganizationState) GetUsers

func (x *OrganizationState) GetUsers() int32

func (*OrganizationState) ProtoMessage

func (*OrganizationState) ProtoMessage()

func (*OrganizationState) ProtoReflect

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

func (*OrganizationState) Reset

func (x *OrganizationState) Reset()

func (*OrganizationState) String

func (x *OrganizationState) String() string

type OrganizationUsage

type OrganizationUsage struct {
	Canvases                            int32   `protobuf:"varint,1,opt,name=canvases,proto3" json:"canvases,omitempty"`
	EventBucketLevel                    float64 `protobuf:"fixed64,2,opt,name=event_bucket_level,json=eventBucketLevel,proto3" json:"event_bucket_level,omitempty"`
	EventBucketCapacity                 float64 `protobuf:"fixed64,3,opt,name=event_bucket_capacity,json=eventBucketCapacity,proto3" json:"event_bucket_capacity,omitempty"`
	EventBucketLastUpdatedAtUnixSeconds int64   `` /* 177-byte string literal not displayed */
	NextEventBucketLeakAtUnixSeconds    int64   `` /* 168-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*OrganizationUsage) Descriptor deprecated

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

Deprecated: Use OrganizationUsage.ProtoReflect.Descriptor instead.

func (*OrganizationUsage) GetCanvases

func (x *OrganizationUsage) GetCanvases() int32

func (*OrganizationUsage) GetEventBucketCapacity

func (x *OrganizationUsage) GetEventBucketCapacity() float64

func (*OrganizationUsage) GetEventBucketLastUpdatedAtUnixSeconds

func (x *OrganizationUsage) GetEventBucketLastUpdatedAtUnixSeconds() int64

func (*OrganizationUsage) GetEventBucketLevel

func (x *OrganizationUsage) GetEventBucketLevel() float64

func (*OrganizationUsage) GetNextEventBucketLeakAtUnixSeconds added in v0.14.0

func (x *OrganizationUsage) GetNextEventBucketLeakAtUnixSeconds() int64

func (*OrganizationUsage) ProtoMessage

func (*OrganizationUsage) ProtoMessage()

func (*OrganizationUsage) ProtoReflect

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

func (*OrganizationUsage) Reset

func (x *OrganizationUsage) Reset()

func (*OrganizationUsage) String

func (x *OrganizationUsage) String() string

type SetupAccountRequest

type SetupAccountRequest struct {
	AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SetupAccountRequest) Descriptor deprecated

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

Deprecated: Use SetupAccountRequest.ProtoReflect.Descriptor instead.

func (*SetupAccountRequest) GetAccountId

func (x *SetupAccountRequest) GetAccountId() string

func (*SetupAccountRequest) ProtoMessage

func (*SetupAccountRequest) ProtoMessage()

func (*SetupAccountRequest) ProtoReflect

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

func (*SetupAccountRequest) Reset

func (x *SetupAccountRequest) Reset()

func (*SetupAccountRequest) String

func (x *SetupAccountRequest) String() string

type SetupAccountResponse

type SetupAccountResponse struct {
	Limits *AccountLimits `protobuf:"bytes,1,opt,name=limits,proto3" json:"limits,omitempty"`
	// contains filtered or unexported fields
}

func (*SetupAccountResponse) Descriptor deprecated

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

Deprecated: Use SetupAccountResponse.ProtoReflect.Descriptor instead.

func (*SetupAccountResponse) GetLimits

func (x *SetupAccountResponse) GetLimits() *AccountLimits

func (*SetupAccountResponse) ProtoMessage

func (*SetupAccountResponse) ProtoMessage()

func (*SetupAccountResponse) ProtoReflect

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

func (*SetupAccountResponse) Reset

func (x *SetupAccountResponse) Reset()

func (*SetupAccountResponse) String

func (x *SetupAccountResponse) String() string

type SetupOrganizationRequest

type SetupOrganizationRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	AccountId      string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SetupOrganizationRequest) Descriptor deprecated

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

Deprecated: Use SetupOrganizationRequest.ProtoReflect.Descriptor instead.

func (*SetupOrganizationRequest) GetAccountId

func (x *SetupOrganizationRequest) GetAccountId() string

func (*SetupOrganizationRequest) GetOrganizationId

func (x *SetupOrganizationRequest) GetOrganizationId() string

func (*SetupOrganizationRequest) ProtoMessage

func (*SetupOrganizationRequest) ProtoMessage()

func (*SetupOrganizationRequest) ProtoReflect

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

func (*SetupOrganizationRequest) Reset

func (x *SetupOrganizationRequest) Reset()

func (*SetupOrganizationRequest) String

func (x *SetupOrganizationRequest) String() string

type SetupOrganizationResponse

type SetupOrganizationResponse struct {
	Limits *OrganizationLimits `protobuf:"bytes,1,opt,name=limits,proto3" json:"limits,omitempty"`
	// contains filtered or unexported fields
}

func (*SetupOrganizationResponse) Descriptor deprecated

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

Deprecated: Use SetupOrganizationResponse.ProtoReflect.Descriptor instead.

func (*SetupOrganizationResponse) GetLimits

func (*SetupOrganizationResponse) ProtoMessage

func (*SetupOrganizationResponse) ProtoMessage()

func (*SetupOrganizationResponse) ProtoReflect

func (*SetupOrganizationResponse) Reset

func (x *SetupOrganizationResponse) Reset()

func (*SetupOrganizationResponse) String

func (x *SetupOrganizationResponse) String() string

type UnimplementedUsageServer

type UnimplementedUsageServer struct{}

UnimplementedUsageServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedUsageServer) SetupAccount

type UnsafeUsageServer

type UnsafeUsageServer interface {
	// contains filtered or unexported methods
}

UnsafeUsageServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UsageServer will result in compilation errors.

type UsageClient

UsageClient is the client API for Usage service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewUsageClient

func NewUsageClient(cc grpc.ClientConnInterface) UsageClient

type UsageServer

UsageServer is the server API for Usage service. All implementations should embed UnimplementedUsageServer for forward compatibility.

Jump to

Keyboard shortcuts

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