api

package
v0.45.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: Apache-2.0 Imports: 6 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_accountgroup_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_rbac_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.
	Metadata []*KeyValue `protobuf:"bytes,3,rep,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() []*KeyValue

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 AccountGroup added in v0.36.1

type AccountGroup struct {

	// The AccountGroup id.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The AccountGroup name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The attributes (key/value pair) of the AccountGroup.
	Metadata []*KeyValue `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty"`
	Accounts []*Account  `protobuf:"bytes,4,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountGroup) Descriptor deprecated added in v0.36.1

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

Deprecated: Use AccountGroup.ProtoReflect.Descriptor instead.

func (*AccountGroup) GetAccounts added in v0.36.3

func (x *AccountGroup) GetAccounts() []*Account

func (*AccountGroup) GetId added in v0.36.1

func (x *AccountGroup) GetId() string

func (*AccountGroup) GetMetadata added in v0.36.1

func (x *AccountGroup) GetMetadata() []*KeyValue

func (*AccountGroup) GetName added in v0.36.1

func (x *AccountGroup) GetName() string

func (*AccountGroup) ProtoMessage added in v0.36.1

func (*AccountGroup) ProtoMessage()

func (*AccountGroup) ProtoReflect added in v0.36.1

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

func (*AccountGroup) Reset added in v0.36.1

func (x *AccountGroup) Reset()

func (*AccountGroup) String added in v0.36.1

func (x *AccountGroup) String() string

type AccountGroupForecast added in v0.35.5

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

func (*AccountGroupForecast) Descriptor deprecated added in v0.35.5

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

Deprecated: Use AccountGroupForecast.ProtoReflect.Descriptor instead.

func (*AccountGroupForecast) GetData added in v0.35.5

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

func (*AccountGroupForecast) GetGroupId added in v0.35.5

func (x *AccountGroupForecast) GetGroupId() string

func (*AccountGroupForecast) ProtoMessage added in v0.35.5

func (*AccountGroupForecast) ProtoMessage()

func (*AccountGroupForecast) ProtoReflect added in v0.35.5

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

func (*AccountGroupForecast) Reset added in v0.35.5

func (x *AccountGroupForecast) Reset()

func (*AccountGroupForecast) String added in v0.35.5

func (x *AccountGroupForecast) 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 Budget added in v0.35.9

type Budget struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Format: yyyy
	FiscalYear    string           `protobuf:"bytes,2,opt,name=fiscalYear,proto3" json:"fiscalYear,omitempty"`
	MonthlyBudget []*MonthlyBudget `protobuf:"bytes,3,rep,name=monthlyBudget,proto3" json:"monthlyBudget,omitempty"`
	// contains filtered or unexported fields
}

func (*Budget) Descriptor deprecated added in v0.35.9

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

Deprecated: Use Budget.ProtoReflect.Descriptor instead.

func (*Budget) GetFiscalYear added in v0.35.12

func (x *Budget) GetFiscalYear() string

func (*Budget) GetId added in v0.35.9

func (x *Budget) GetId() string

func (*Budget) GetMonthlyBudget added in v0.35.9

func (x *Budget) GetMonthlyBudget() []*MonthlyBudget

func (*Budget) ProtoMessage added in v0.35.9

func (*Budget) ProtoMessage()

func (*Budget) ProtoReflect added in v0.35.9

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

func (*Budget) Reset added in v0.35.9

func (x *Budget) Reset()

func (*Budget) String added in v0.35.9

func (x *Budget) 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"`
	UpperBound      float64 `protobuf:"fixed64,8,opt,name=upperBound,proto3" json:"upperBound,omitempty"`
	LowerBound      float64 `protobuf:"fixed64,9,opt,name=lowerBound,proto3" json:"lowerBound,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) GetLowerBound added in v0.35.5

func (x *ForecastData) GetLowerBound() 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) GetUpperBound added in v0.35.5

func (x *ForecastData) GetUpperBound() float64

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 MonthOnMonthCostForecast added in v0.35.5

type MonthOnMonthCostForecast struct {
	Category     string  `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
	CostCurrent  float64 `protobuf:"fixed64,2,opt,name=costCurrent,proto3" json:"costCurrent,omitempty"`
	CostPrev     float64 `protobuf:"fixed64,3,opt,name=costPrev,proto3" json:"costPrev,omitempty"`
	CostForecast float64 `protobuf:"fixed64,4,opt,name=costForecast,proto3" json:"costForecast,omitempty"`
	// contains filtered or unexported fields
}

func (*MonthOnMonthCostForecast) Descriptor deprecated added in v0.35.5

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

Deprecated: Use MonthOnMonthCostForecast.ProtoReflect.Descriptor instead.

func (*MonthOnMonthCostForecast) GetCategory added in v0.35.5

func (x *MonthOnMonthCostForecast) GetCategory() string

func (*MonthOnMonthCostForecast) GetCostCurrent added in v0.35.5

func (x *MonthOnMonthCostForecast) GetCostCurrent() float64

func (*MonthOnMonthCostForecast) GetCostForecast added in v0.35.5

func (x *MonthOnMonthCostForecast) GetCostForecast() float64

func (*MonthOnMonthCostForecast) GetCostPrev added in v0.35.5

func (x *MonthOnMonthCostForecast) GetCostPrev() float64

func (*MonthOnMonthCostForecast) ProtoMessage added in v0.35.5

func (*MonthOnMonthCostForecast) ProtoMessage()

func (*MonthOnMonthCostForecast) ProtoReflect added in v0.35.5

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

func (*MonthOnMonthCostForecast) Reset added in v0.35.5

func (x *MonthOnMonthCostForecast) Reset()

func (*MonthOnMonthCostForecast) String added in v0.35.5

func (x *MonthOnMonthCostForecast) String() string

type MonthToDateCostForecast added in v0.35.5

type MonthToDateCostForecast struct {
	Date            string  `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	CostPrev        float64 `protobuf:"fixed64,2,opt,name=costPrev,proto3" json:"costPrev,omitempty"`
	CostAccumulated float64 `protobuf:"fixed64,3,opt,name=costAccumulated,proto3" json:"costAccumulated,omitempty"`
	CostForecast    float64 `protobuf:"fixed64,4,opt,name=costForecast,proto3" json:"costForecast,omitempty"`
	UpperBound      float64 `protobuf:"fixed64,5,opt,name=upperBound,proto3" json:"upperBound,omitempty"`
	LowerBound      float64 `protobuf:"fixed64,6,opt,name=lowerBound,proto3" json:"lowerBound,omitempty"`
	// contains filtered or unexported fields
}

func (*MonthToDateCostForecast) Descriptor deprecated added in v0.35.5

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

Deprecated: Use MonthToDateCostForecast.ProtoReflect.Descriptor instead.

func (*MonthToDateCostForecast) GetCostAccumulated added in v0.35.5

func (x *MonthToDateCostForecast) GetCostAccumulated() float64

func (*MonthToDateCostForecast) GetCostForecast added in v0.35.5

func (x *MonthToDateCostForecast) GetCostForecast() float64

func (*MonthToDateCostForecast) GetCostPrev added in v0.35.11

func (x *MonthToDateCostForecast) GetCostPrev() float64

func (*MonthToDateCostForecast) GetDate added in v0.35.5

func (x *MonthToDateCostForecast) GetDate() string

func (*MonthToDateCostForecast) GetLowerBound added in v0.35.5

func (x *MonthToDateCostForecast) GetLowerBound() float64

func (*MonthToDateCostForecast) GetUpperBound added in v0.35.5

func (x *MonthToDateCostForecast) GetUpperBound() float64

func (*MonthToDateCostForecast) ProtoMessage added in v0.35.5

func (*MonthToDateCostForecast) ProtoMessage()

func (*MonthToDateCostForecast) ProtoReflect added in v0.35.5

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

func (*MonthToDateCostForecast) Reset added in v0.35.5

func (x *MonthToDateCostForecast) Reset()

func (*MonthToDateCostForecast) String added in v0.35.5

func (x *MonthToDateCostForecast) 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 MonthlyBudget added in v0.35.5

type MonthlyBudget struct {

	//Format: yyyymm
	YearMonth string  `protobuf:"bytes,1,opt,name=yearMonth,proto3" json:"yearMonth,omitempty"`
	Amount    float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*MonthlyBudget) Descriptor deprecated added in v0.35.5

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

Deprecated: Use MonthlyBudget.ProtoReflect.Descriptor instead.

func (*MonthlyBudget) GetAmount added in v0.35.5

func (x *MonthlyBudget) GetAmount() float64

func (*MonthlyBudget) GetYearMonth added in v0.35.11

func (x *MonthlyBudget) GetYearMonth() string

func (*MonthlyBudget) ProtoMessage added in v0.35.5

func (*MonthlyBudget) ProtoMessage()

func (*MonthlyBudget) ProtoReflect added in v0.35.5

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

func (*MonthlyBudget) Reset added in v0.35.5

func (x *MonthlyBudget) Reset()

func (*MonthlyBudget) String added in v0.35.5

func (x *MonthlyBudget) String() string

type MonthlyCostForecast added in v0.35.5

type MonthlyCostForecast struct {
	Date         string  `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	CostActual   float64 `protobuf:"fixed64,2,opt,name=costActual,proto3" json:"costActual,omitempty"`
	CostForecast float64 `protobuf:"fixed64,3,opt,name=costForecast,proto3" json:"costForecast,omitempty"`
	Budget       float64 `protobuf:"fixed64,4,opt,name=budget,proto3" json:"budget,omitempty"`
	UpperBound   float64 `protobuf:"fixed64,5,opt,name=upperBound,proto3" json:"upperBound,omitempty"`
	LowerBound   float64 `protobuf:"fixed64,6,opt,name=lowerBound,proto3" json:"lowerBound,omitempty"`
	// contains filtered or unexported fields
}

func (*MonthlyCostForecast) Descriptor deprecated added in v0.35.5

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

Deprecated: Use MonthlyCostForecast.ProtoReflect.Descriptor instead.

func (*MonthlyCostForecast) GetBudget added in v0.35.5

func (x *MonthlyCostForecast) GetBudget() float64

func (*MonthlyCostForecast) GetCostActual added in v0.35.5

func (x *MonthlyCostForecast) GetCostActual() float64

func (*MonthlyCostForecast) GetCostForecast added in v0.35.5

func (x *MonthlyCostForecast) GetCostForecast() float64

func (*MonthlyCostForecast) GetDate added in v0.35.5

func (x *MonthlyCostForecast) GetDate() string

func (*MonthlyCostForecast) GetLowerBound added in v0.35.5

func (x *MonthlyCostForecast) GetLowerBound() float64

func (*MonthlyCostForecast) GetUpperBound added in v0.35.5

func (x *MonthlyCostForecast) GetUpperBound() float64

func (*MonthlyCostForecast) ProtoMessage added in v0.35.5

func (*MonthlyCostForecast) ProtoMessage()

func (*MonthlyCostForecast) ProtoReflect added in v0.35.5

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

func (*MonthlyCostForecast) Reset added in v0.35.5

func (x *MonthlyCostForecast) Reset()

func (*MonthlyCostForecast) String added in v0.35.5

func (x *MonthlyCostForecast) 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 OperationAwsCalculateCostsMetadataV1 added in v0.35.3

type OperationAwsCalculateCostsMetadataV1 struct {

	// Organization id.
	OrgId string `protobuf:"bytes,1,opt,name=orgId,proto3" json:"orgId,omitempty"`
	// The month being calculated.
	Month string `protobuf:"bytes,2,opt,name=month,proto3" json:"month,omitempty"`
	// If the request is for a specific group(s) (billing groups at the moment),
	// their equivalent ids are listed here. Otherwise, empty.
	GroupIds []string `protobuf:"bytes,3,rep,name=groupIds,proto3" json:"groupIds,omitempty"`
	// Latest status information.
	Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	// Timestamp when operation was created/started in RFC3339 format.
	Created string `protobuf:"bytes,5,opt,name=created,proto3" json:"created,omitempty"`
	// Timestamp of the operation's last update in RFC3339 format.
	Updated string `protobuf:"bytes,6,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationAwsCalculateCostsMetadataV1) Descriptor deprecated added in v0.35.3

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

Deprecated: Use OperationAwsCalculateCostsMetadataV1.ProtoReflect.Descriptor instead.

func (*OperationAwsCalculateCostsMetadataV1) GetCreated added in v0.35.3

func (*OperationAwsCalculateCostsMetadataV1) GetGroupIds added in v0.35.23

func (x *OperationAwsCalculateCostsMetadataV1) GetGroupIds() []string

func (*OperationAwsCalculateCostsMetadataV1) GetMonth added in v0.35.3

func (*OperationAwsCalculateCostsMetadataV1) GetOrgId added in v0.35.3

func (*OperationAwsCalculateCostsMetadataV1) GetStatus added in v0.35.3

func (*OperationAwsCalculateCostsMetadataV1) GetUpdated added in v0.35.3

func (*OperationAwsCalculateCostsMetadataV1) ProtoMessage added in v0.35.3

func (*OperationAwsCalculateCostsMetadataV1) ProtoMessage()

func (*OperationAwsCalculateCostsMetadataV1) ProtoReflect added in v0.35.3

func (*OperationAwsCalculateCostsMetadataV1) Reset added in v0.35.3

func (*OperationAwsCalculateCostsMetadataV1) String added in v0.35.3

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 Permission added in v0.33.2

type Permission struct {
	Namespace   string    `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Permissions []string  `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"`
	Policies    []*Policy `protobuf:"bytes,3,rep,name=policies,proto3" json:"policies,omitempty"`
	// contains filtered or unexported fields
}

func (*Permission) Descriptor deprecated added in v0.33.2

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

Deprecated: Use Permission.ProtoReflect.Descriptor instead.

func (*Permission) GetNamespace added in v0.33.2

func (x *Permission) GetNamespace() string

func (*Permission) GetPermissions added in v0.33.2

func (x *Permission) GetPermissions() []string

func (*Permission) GetPolicies added in v0.33.2

func (x *Permission) GetPolicies() []*Policy

func (*Permission) ProtoMessage added in v0.33.2

func (*Permission) ProtoMessage()

func (*Permission) ProtoReflect added in v0.33.2

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

func (*Permission) Reset added in v0.33.2

func (x *Permission) Reset()

func (*Permission) String added in v0.33.2

func (x *Permission) String() string

type Policy added in v0.33.2

type Policy struct {
	Action string   `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
	Effect string   `protobuf:"bytes,2,opt,name=effect,proto3" json:"effect,omitempty"`
	Key    string   `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	Values []string `protobuf:"bytes,4,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Policy) Descriptor deprecated added in v0.33.2

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

Deprecated: Use Policy.ProtoReflect.Descriptor instead.

func (*Policy) GetAction added in v0.33.2

func (x *Policy) GetAction() string

func (*Policy) GetEffect added in v0.33.2

func (x *Policy) GetEffect() string

func (*Policy) GetKey added in v0.33.2

func (x *Policy) GetKey() string

func (*Policy) GetValues added in v0.33.2

func (x *Policy) GetValues() []string

func (*Policy) ProtoMessage added in v0.33.2

func (*Policy) ProtoMessage()

func (*Policy) ProtoReflect added in v0.33.2

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

func (*Policy) Reset added in v0.33.2

func (x *Policy) Reset()

func (*Policy) String added in v0.33.2

func (x *Policy) String() string

type Role added in v0.34.0

type Role struct {
	Name        string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace   string    `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Permissions []string  `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"`
	Policies    []*Policy `protobuf:"bytes,4,rep,name=policies,proto3" json:"policies,omitempty"`
	// contains filtered or unexported fields
}

func (*Role) Descriptor deprecated added in v0.34.0

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

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetName added in v0.34.0

func (x *Role) GetName() string

func (*Role) GetNamespace added in v0.34.0

func (x *Role) GetNamespace() string

func (*Role) GetPermissions added in v0.34.0

func (x *Role) GetPermissions() []string

func (*Role) GetPolicies added in v0.34.0

func (x *Role) GetPolicies() []*Policy

func (*Role) ProtoMessage added in v0.34.0

func (*Role) ProtoMessage()

func (*Role) ProtoReflect added in v0.34.0

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

func (*Role) Reset added in v0.34.0

func (x *Role) Reset()

func (*Role) String added in v0.34.0

func (x *Role) 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

type UserRoleMapping added in v0.35.0

type UserRoleMapping struct {
	RootUser  string `protobuf:"bytes,1,opt,name=rootUser,proto3" json:"rootUser,omitempty"`
	SubUser   string `protobuf:"bytes,2,opt,name=subUser,proto3" json:"subUser,omitempty"`
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Role      string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"`
	Filter    string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*UserRoleMapping) Descriptor deprecated added in v0.35.0

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

Deprecated: Use UserRoleMapping.ProtoReflect.Descriptor instead.

func (*UserRoleMapping) GetFilter added in v0.35.0

func (x *UserRoleMapping) GetFilter() string

func (*UserRoleMapping) GetNamespace added in v0.35.0

func (x *UserRoleMapping) GetNamespace() string

func (*UserRoleMapping) GetRole added in v0.35.0

func (x *UserRoleMapping) GetRole() string

func (*UserRoleMapping) GetRootUser added in v0.35.0

func (x *UserRoleMapping) GetRootUser() string

func (*UserRoleMapping) GetSubUser added in v0.35.0

func (x *UserRoleMapping) GetSubUser() string

func (*UserRoleMapping) ProtoMessage added in v0.35.0

func (*UserRoleMapping) ProtoMessage()

func (*UserRoleMapping) ProtoReflect added in v0.35.0

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

func (*UserRoleMapping) Reset added in v0.35.0

func (x *UserRoleMapping) Reset()

func (*UserRoleMapping) String added in v0.35.0

func (x *UserRoleMapping) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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