api

package
v0.32.5 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_account_proto protoreflect.FileDescriptor
View Source
var File_api_apiclient_proto protoreflect.FileDescriptor
View Source
var File_api_budget_proto protoreflect.FileDescriptor
View Source
var File_api_forecast_proto protoreflect.FileDescriptor
View Source
var File_api_keyvalue_proto protoreflect.FileDescriptor
View Source
var File_api_operation_proto protoreflect.FileDescriptor
View Source
var File_api_user_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Account added in v0.32.0

type Account struct {

	// The account id.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The account name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The attributes (key/value pair) of the account. At the moment,
	// this maps to `AccountMetadataV1`.
	Metadata *anypb.Any `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*Account) Descriptor deprecated added in v0.32.0

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

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetId added in v0.32.0

func (x *Account) GetId() string

func (*Account) GetMetadata added in v0.32.0

func (x *Account) GetMetadata() *anypb.Any

func (*Account) GetName added in v0.32.0

func (x *Account) GetName() string

func (*Account) ProtoMessage added in v0.32.0

func (*Account) ProtoMessage()

func (*Account) ProtoReflect added in v0.32.0

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

func (*Account) Reset added in v0.32.0

func (x *Account) Reset()

func (*Account) String added in v0.32.0

func (x *Account) String() string

type AccountMetadataV1 added in v0.32.0

type AccountMetadataV1 struct {
	Kv []*KeyValue `protobuf:"bytes,1,rep,name=kv,proto3" json:"kv,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountMetadataV1) Descriptor deprecated added in v0.32.0

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

Deprecated: Use AccountMetadataV1.ProtoReflect.Descriptor instead.

func (*AccountMetadataV1) GetKv added in v0.32.0

func (x *AccountMetadataV1) GetKv() []*KeyValue

func (*AccountMetadataV1) ProtoMessage added in v0.32.0

func (*AccountMetadataV1) ProtoMessage()

func (*AccountMetadataV1) ProtoReflect added in v0.32.0

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

func (*AccountMetadataV1) Reset added in v0.32.0

func (x *AccountMetadataV1) Reset()

func (*AccountMetadataV1) String added in v0.32.0

func (x *AccountMetadataV1) String() string

type ApiClient added in v0.15.0

type ApiClient struct {

	// API client id.
	ClientId string `protobuf:"bytes,1,opt,name=clientId,proto3" json:"clientId,omitempty"`
	// API client secret. Only available during creation; otherwise, redacted.
	ClientSecret string `protobuf:"bytes,2,opt,name=clientSecret,proto3" json:"clientSecret,omitempty"`
	// API client name.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Grant type. Always set to `client_credentials`.
	GrantType string `protobuf:"bytes,4,opt,name=grantType,proto3" json:"grantType,omitempty"`
	// The client's parent resource.
	Parent     string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"`
	CreateTime string `protobuf:"bytes,6,opt,name=createTime,proto3" json:"createTime,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiClient) Descriptor deprecated added in v0.15.0

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

Deprecated: Use ApiClient.ProtoReflect.Descriptor instead.

func (*ApiClient) GetClientId added in v0.15.0

func (x *ApiClient) GetClientId() string

func (*ApiClient) GetClientSecret added in v0.15.0

func (x *ApiClient) GetClientSecret() string

func (*ApiClient) GetCreateTime added in v0.15.0

func (x *ApiClient) GetCreateTime() string

func (*ApiClient) GetGrantType added in v0.15.0

func (x *ApiClient) GetGrantType() string

func (*ApiClient) GetName added in v0.15.0

func (x *ApiClient) GetName() string

func (*ApiClient) GetParent added in v0.15.0

func (x *ApiClient) GetParent() string

func (*ApiClient) ProtoMessage added in v0.15.0

func (*ApiClient) ProtoMessage()

func (*ApiClient) ProtoReflect added in v0.15.0

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

func (*ApiClient) Reset added in v0.15.0

func (x *ApiClient) Reset()

func (*ApiClient) String added in v0.15.0

func (x *ApiClient) String() string

type BillingGroupForecast added in v0.17.0

type BillingGroupForecast struct {
	CompanyId string          `protobuf:"bytes,1,opt,name=companyId,proto3" json:"companyId,omitempty"`
	Data      []*ForecastData `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*BillingGroupForecast) Descriptor deprecated added in v0.17.0

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

Deprecated: Use BillingGroupForecast.ProtoReflect.Descriptor instead.

func (*BillingGroupForecast) GetCompanyId added in v0.26.0

func (x *BillingGroupForecast) GetCompanyId() string

func (*BillingGroupForecast) GetData added in v0.17.0

func (x *BillingGroupForecast) GetData() []*ForecastData

func (*BillingGroupForecast) ProtoMessage added in v0.17.0

func (*BillingGroupForecast) ProtoMessage()

func (*BillingGroupForecast) ProtoReflect added in v0.17.0

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

func (*BillingGroupForecast) Reset added in v0.17.0

func (x *BillingGroupForecast) Reset()

func (*BillingGroupForecast) String added in v0.17.0

func (x *BillingGroupForecast) String() string

type BillingGroupMonthToDateForecast added in v0.17.0

type BillingGroupMonthToDateForecast struct {
	CompanyId string                     `protobuf:"bytes,1,opt,name=companyId,proto3" json:"companyId,omitempty"`
	Data      []*MonthToDateForecastData `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*BillingGroupMonthToDateForecast) Descriptor deprecated added in v0.17.0

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

Deprecated: Use BillingGroupMonthToDateForecast.ProtoReflect.Descriptor instead.

func (*BillingGroupMonthToDateForecast) GetCompanyId added in v0.26.0

func (x *BillingGroupMonthToDateForecast) GetCompanyId() string

func (*BillingGroupMonthToDateForecast) GetData added in v0.17.0

func (*BillingGroupMonthToDateForecast) ProtoMessage added in v0.17.0

func (*BillingGroupMonthToDateForecast) ProtoMessage()

func (*BillingGroupMonthToDateForecast) ProtoReflect added in v0.17.0

func (*BillingGroupMonthToDateForecast) Reset added in v0.17.0

func (*BillingGroupMonthToDateForecast) String added in v0.17.0

type BudgetAlert added in v0.17.0

type BudgetAlert struct {
	Id                    string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	BudgetConfigurationId string   `protobuf:"bytes,2,opt,name=budgetConfigurationId,proto3" json:"budgetConfigurationId,omitempty"`
	Percentage            int32    `protobuf:"varint,3,opt,name=percentage,proto3" json:"percentage,omitempty"`
	ChannelIds            []string `protobuf:"bytes,4,rep,name=channelIds,proto3" json:"channelIds,omitempty"`
	// contains filtered or unexported fields
}

func (*BudgetAlert) Descriptor deprecated added in v0.17.0

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

Deprecated: Use BudgetAlert.ProtoReflect.Descriptor instead.

func (*BudgetAlert) GetBudgetConfigurationId added in v0.17.0

func (x *BudgetAlert) GetBudgetConfigurationId() string

func (*BudgetAlert) GetChannelIds added in v0.17.0

func (x *BudgetAlert) GetChannelIds() []string

func (*BudgetAlert) GetId added in v0.17.0

func (x *BudgetAlert) GetId() string

func (*BudgetAlert) GetPercentage added in v0.17.0

func (x *BudgetAlert) GetPercentage() int32

func (*BudgetAlert) ProtoMessage added in v0.17.0

func (*BudgetAlert) ProtoMessage()

func (*BudgetAlert) ProtoReflect added in v0.17.0

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

func (*BudgetAlert) Reset added in v0.17.0

func (x *BudgetAlert) Reset()

func (*BudgetAlert) String added in v0.17.0

func (x *BudgetAlert) String() string

type BudgetConfiguration added in v0.17.0

type BudgetConfiguration struct {
	Id            string             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name          string             `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Length        string             `protobuf:"bytes,3,opt,name=length,proto3" json:"length,omitempty"`
	StartingMonth string             `protobuf:"bytes,4,opt,name=startingMonth,proto3" json:"startingMonth,omitempty"`
	CompanyId     string             `protobuf:"bytes,5,opt,name=companyId,proto3" json:"companyId,omitempty"`
	AccountId     string             `protobuf:"bytes,6,opt,name=accountId,proto3" json:"accountId,omitempty"`
	MonthBudget   map[string]float64 `` /* 165-byte string literal not displayed */
	AlertsEnabled bool               `protobuf:"varint,8,opt,name=alertsEnabled,proto3" json:"alertsEnabled,omitempty"`
	BudgetAlerts  []*BudgetAlert     `protobuf:"bytes,9,rep,name=budgetAlerts,proto3" json:"budgetAlerts,omitempty"`
	// contains filtered or unexported fields
}

func (*BudgetConfiguration) Descriptor deprecated added in v0.17.0

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

Deprecated: Use BudgetConfiguration.ProtoReflect.Descriptor instead.

func (*BudgetConfiguration) GetAccountId added in v0.17.0

func (x *BudgetConfiguration) GetAccountId() string

func (*BudgetConfiguration) GetAlertsEnabled added in v0.17.0

func (x *BudgetConfiguration) GetAlertsEnabled() bool

func (*BudgetConfiguration) GetBudgetAlerts added in v0.17.0

func (x *BudgetConfiguration) GetBudgetAlerts() []*BudgetAlert

func (*BudgetConfiguration) GetCompanyId added in v0.26.0

func (x *BudgetConfiguration) GetCompanyId() string

func (*BudgetConfiguration) GetId added in v0.17.0

func (x *BudgetConfiguration) GetId() string

func (*BudgetConfiguration) GetLength added in v0.17.0

func (x *BudgetConfiguration) GetLength() string

func (*BudgetConfiguration) GetMonthBudget added in v0.17.0

func (x *BudgetConfiguration) GetMonthBudget() map[string]float64

func (*BudgetConfiguration) GetName added in v0.17.0

func (x *BudgetConfiguration) GetName() string

func (*BudgetConfiguration) GetStartingMonth added in v0.17.0

func (x *BudgetConfiguration) GetStartingMonth() string

func (*BudgetConfiguration) ProtoMessage added in v0.17.0

func (*BudgetConfiguration) ProtoMessage()

func (*BudgetConfiguration) ProtoReflect added in v0.17.0

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

func (*BudgetConfiguration) Reset added in v0.17.0

func (x *BudgetConfiguration) Reset()

func (*BudgetConfiguration) String added in v0.17.0

func (x *BudgetConfiguration) String() string

type ForecastData added in v0.17.0

type ForecastData struct {
	AccountId       string  `protobuf:"bytes,1,opt,name=accountId,proto3" json:"accountId,omitempty"`
	ProductCategory string  `protobuf:"bytes,2,opt,name=productCategory,proto3" json:"productCategory,omitempty"`
	ProductCode     string  `protobuf:"bytes,3,opt,name=productCode,proto3" json:"productCode,omitempty"`
	Frequency       string  `protobuf:"bytes,4,opt,name=frequency,proto3" json:"frequency,omitempty"` //daily, monthly
	Date            string  `protobuf:"bytes,5,opt,name=date,proto3" json:"date,omitempty"`
	HistoricalCost  float64 `protobuf:"fixed64,6,opt,name=historicalCost,proto3" json:"historicalCost,omitempty"`
	ForecastedCost  float64 `protobuf:"fixed64,7,opt,name=forecastedCost,proto3" json:"forecastedCost,omitempty"`
	// contains filtered or unexported fields
}

func (*ForecastData) Descriptor deprecated added in v0.17.0

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

Deprecated: Use ForecastData.ProtoReflect.Descriptor instead.

func (*ForecastData) GetAccountId added in v0.17.0

func (x *ForecastData) GetAccountId() string

func (*ForecastData) GetDate added in v0.17.0

func (x *ForecastData) GetDate() string

func (*ForecastData) GetForecastedCost added in v0.17.0

func (x *ForecastData) GetForecastedCost() float64

func (*ForecastData) GetFrequency added in v0.17.0

func (x *ForecastData) GetFrequency() string

func (*ForecastData) GetHistoricalCost added in v0.17.0

func (x *ForecastData) GetHistoricalCost() float64

func (*ForecastData) GetProductCategory added in v0.17.0

func (x *ForecastData) GetProductCategory() string

func (*ForecastData) GetProductCode added in v0.17.0

func (x *ForecastData) GetProductCode() string

func (*ForecastData) ProtoMessage added in v0.17.0

func (*ForecastData) ProtoMessage()

func (*ForecastData) ProtoReflect added in v0.17.0

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

func (*ForecastData) Reset added in v0.17.0

func (x *ForecastData) Reset()

func (*ForecastData) String added in v0.17.0

func (x *ForecastData) String() string

type KeyValue added in v0.30.0

type KeyValue struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyValue) Descriptor deprecated added in v0.30.0

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

Deprecated: Use KeyValue.ProtoReflect.Descriptor instead.

func (*KeyValue) GetKey added in v0.30.0

func (x *KeyValue) GetKey() string

func (*KeyValue) GetValue added in v0.30.0

func (x *KeyValue) GetValue() string

func (*KeyValue) ProtoMessage added in v0.30.0

func (*KeyValue) ProtoMessage()

func (*KeyValue) ProtoReflect added in v0.30.0

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

func (*KeyValue) Reset added in v0.30.0

func (x *KeyValue) Reset()

func (*KeyValue) String added in v0.30.0

func (x *KeyValue) String() string

type MonthToDateForecastData added in v0.17.0

type MonthToDateForecastData struct {
	AccountId       string  `protobuf:"bytes,1,opt,name=accountId,proto3" json:"accountId,omitempty"`
	ProductCategory string  `protobuf:"bytes,2,opt,name=productCategory,proto3" json:"productCategory,omitempty"`
	ProductCode     string  `protobuf:"bytes,3,opt,name=productCode,proto3" json:"productCode,omitempty"`
	Date            string  `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"`
	AccumulatedCost float64 `protobuf:"fixed64,5,opt,name=accumulatedCost,proto3" json:"accumulatedCost,omitempty"`
	ForecastCost    float64 `protobuf:"fixed64,6,opt,name=forecastCost,proto3" json:"forecastCost,omitempty"`
	Budget          float64 `protobuf:"fixed64,7,opt,name=budget,proto3" json:"budget,omitempty"`
	// contains filtered or unexported fields
}

func (*MonthToDateForecastData) Descriptor deprecated added in v0.17.0

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

Deprecated: Use MonthToDateForecastData.ProtoReflect.Descriptor instead.

func (*MonthToDateForecastData) GetAccountId added in v0.17.0

func (x *MonthToDateForecastData) GetAccountId() string

func (*MonthToDateForecastData) GetAccumulatedCost added in v0.17.0

func (x *MonthToDateForecastData) GetAccumulatedCost() float64

func (*MonthToDateForecastData) GetBudget added in v0.17.0

func (x *MonthToDateForecastData) GetBudget() float64

func (*MonthToDateForecastData) GetDate added in v0.17.0

func (x *MonthToDateForecastData) GetDate() string

func (*MonthToDateForecastData) GetForecastCost added in v0.17.0

func (x *MonthToDateForecastData) GetForecastCost() float64

func (*MonthToDateForecastData) GetProductCategory added in v0.17.0

func (x *MonthToDateForecastData) GetProductCategory() string

func (*MonthToDateForecastData) GetProductCode added in v0.17.0

func (x *MonthToDateForecastData) GetProductCode() string

func (*MonthToDateForecastData) ProtoMessage added in v0.17.0

func (*MonthToDateForecastData) ProtoMessage()

func (*MonthToDateForecastData) ProtoReflect added in v0.17.0

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

func (*MonthToDateForecastData) Reset added in v0.17.0

func (x *MonthToDateForecastData) Reset()

func (*MonthToDateForecastData) String added in v0.17.0

func (x *MonthToDateForecastData) String() string

type Operation added in v0.10.0

type Operation struct {

	// The server-assigned name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Service-specific metadata associated with the operation. It typically
	// contains progress information and common metadata such as create time.
	// Some services might not provide such metadata. Any method that returns a
	// long-running operation should document the metadata type, if any.
	Metadata *anypb.Any `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// If the value is `false`, it means the operation is still in progress.
	// If `true`, the operation is completed, and either `error` or `response` is
	// available.
	Done bool `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"`
	// The operation result, which can be either an `error` or a valid `response`.
	// If `done` == `false`, neither `error` nor `response` is set.
	// If `done` == `true`, exactly one of `error` or `response` is set.
	//
	// Types that are assignable to Result:
	//	*Operation_Error
	//	*Operation_Response
	Result isOperation_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

This resource represents a long-running operation that is the result of a network API call.

func (*Operation) Descriptor deprecated added in v0.10.0

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

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) GetDone added in v0.10.0

func (x *Operation) GetDone() bool

func (*Operation) GetError added in v0.10.0

func (x *Operation) GetError() *status.Status

func (*Operation) GetMetadata added in v0.10.0

func (x *Operation) GetMetadata() *anypb.Any

func (*Operation) GetName added in v0.10.0

func (x *Operation) GetName() string

func (*Operation) GetResponse added in v0.10.0

func (x *Operation) GetResponse() *anypb.Any

func (*Operation) GetResult added in v0.10.0

func (m *Operation) GetResult() isOperation_Result

func (*Operation) ProtoMessage added in v0.10.0

func (*Operation) ProtoMessage()

func (*Operation) ProtoReflect added in v0.10.0

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

func (*Operation) Reset added in v0.10.0

func (x *Operation) Reset()

func (*Operation) String added in v0.10.0

func (x *Operation) String() string

type OperationImportCurMetadataV1 added in v0.31.0

type OperationImportCurMetadataV1 struct {
	Month    string   `protobuf:"bytes,1,opt,name=month,proto3" json:"month,omitempty"`
	Accounts []string `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"`
	Created  string   `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"`
	Updated  string   `protobuf:"bytes,4,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationImportCurMetadataV1) Descriptor deprecated added in v0.31.0

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

Deprecated: Use OperationImportCurMetadataV1.ProtoReflect.Descriptor instead.

func (*OperationImportCurMetadataV1) GetAccounts added in v0.31.0

func (x *OperationImportCurMetadataV1) GetAccounts() []string

func (*OperationImportCurMetadataV1) GetCreated added in v0.31.0

func (x *OperationImportCurMetadataV1) GetCreated() string

func (*OperationImportCurMetadataV1) GetMonth added in v0.31.0

func (x *OperationImportCurMetadataV1) GetMonth() string

func (*OperationImportCurMetadataV1) GetUpdated added in v0.31.0

func (x *OperationImportCurMetadataV1) GetUpdated() string

func (*OperationImportCurMetadataV1) ProtoMessage added in v0.31.0

func (*OperationImportCurMetadataV1) ProtoMessage()

func (*OperationImportCurMetadataV1) ProtoReflect added in v0.31.0

func (*OperationImportCurMetadataV1) Reset added in v0.31.0

func (x *OperationImportCurMetadataV1) Reset()

func (*OperationImportCurMetadataV1) String added in v0.31.0

type Operation_Error added in v0.10.0

type Operation_Error struct {
	// The error result of the operation in case of failure or cancellation.
	Error *status.Status `protobuf:"bytes,4,opt,name=error,proto3,oneof"`
}

type Operation_Response added in v0.10.0

type Operation_Response struct {
	// The normal response of the operation in case of success. If the original method returns
	// no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
	// original method is standard `Get`/`Create`/`Update`, the response should be the
	// resource. For other methods, the response should have the type `XxxResponse`, where
	// `Xxx` is the original method name. For example, if the original method name is
	// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
	Response *anypb.Any `protobuf:"bytes,5,opt,name=response,proto3,oneof"`
}

type OrgForecast added in v0.17.0

type OrgForecast struct {
	OrgId string                  `protobuf:"bytes,1,opt,name=orgId,proto3" json:"orgId,omitempty"`
	Data  []*BillingGroupForecast `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*OrgForecast) Descriptor deprecated added in v0.17.0

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

Deprecated: Use OrgForecast.ProtoReflect.Descriptor instead.

func (*OrgForecast) GetData added in v0.17.0

func (x *OrgForecast) GetData() []*BillingGroupForecast

func (*OrgForecast) GetOrgId added in v0.17.0

func (x *OrgForecast) GetOrgId() string

func (*OrgForecast) ProtoMessage added in v0.17.0

func (*OrgForecast) ProtoMessage()

func (*OrgForecast) ProtoReflect added in v0.17.0

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

func (*OrgForecast) Reset added in v0.17.0

func (x *OrgForecast) Reset()

func (*OrgForecast) String added in v0.17.0

func (x *OrgForecast) String() string

type OrgMonthToDateForecast added in v0.17.0

type OrgMonthToDateForecast struct {
	OrgId string                             `protobuf:"bytes,1,opt,name=orgId,proto3" json:"orgId,omitempty"`
	Data  []*BillingGroupMonthToDateForecast `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*OrgMonthToDateForecast) Descriptor deprecated added in v0.17.0

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

Deprecated: Use OrgMonthToDateForecast.ProtoReflect.Descriptor instead.

func (*OrgMonthToDateForecast) GetData added in v0.17.0

func (*OrgMonthToDateForecast) GetOrgId added in v0.17.0

func (x *OrgMonthToDateForecast) GetOrgId() string

func (*OrgMonthToDateForecast) ProtoMessage added in v0.17.0

func (*OrgMonthToDateForecast) ProtoMessage()

func (*OrgMonthToDateForecast) ProtoReflect added in v0.17.0

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

func (*OrgMonthToDateForecast) Reset added in v0.17.0

func (x *OrgMonthToDateForecast) Reset()

func (*OrgMonthToDateForecast) String added in v0.17.0

func (x *OrgMonthToDateForecast) String() string

type User

type User struct {

	// User's unique id.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The user's parent. If empty or non-existent, it means this user is a root user;
	// otherwise, it's a subuser.
	Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
	// The attributes (key/value pair) of the user. If hierarchy is supported, it will be
	// separated by '/', such as 'key/subkey=value'. See https://alphauslabs.github.io/blueapi/
	// for the list of supported attributes.
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetId added in v0.20.0

func (x *User) GetId() string

func (*User) GetMetadata

func (x *User) GetMetadata() map[string]string

func (*User) GetParent

func (x *User) GetParent() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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