cost

package
v0.58.4 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: Apache-2.0 Imports: 22 Imported by: 7

Documentation

Overview

Package cost is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var Cost_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "blueapi.cost.v1.Cost",
	HandlerType: (*CostServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPayerAccount",
			Handler:    _Cost_GetPayerAccount_Handler,
		},
		{
			MethodName: "CreatePayerAccount",
			Handler:    _Cost_CreatePayerAccount_Handler,
		},
		{
			MethodName: "DeletePayerAccount",
			Handler:    _Cost_DeletePayerAccount_Handler,
		},
		{
			MethodName: "GetAccount",
			Handler:    _Cost_GetAccount_Handler,
		},
		{
			MethodName: "CreateAccount",
			Handler:    _Cost_CreateAccount_Handler,
		},
		{
			MethodName: "DeleteAccount",
			Handler:    _Cost_DeleteAccount_Handler,
		},
		{
			MethodName: "GetCalculatorStatus",
			Handler:    _Cost_GetCalculatorStatus_Handler,
		},
		{
			MethodName: "GetCalculatorConfig",
			Handler:    _Cost_GetCalculatorConfig_Handler,
		},
		{
			MethodName: "ImportCurFiles",
			Handler:    _Cost_ImportCurFiles_Handler,
		},
		{
			MethodName: "CalculateCosts",
			Handler:    _Cost_CalculateCosts_Handler,
		},
		{
			MethodName: "ListCalculationsHistory",
			Handler:    _Cost_ListCalculationsHistory_Handler,
		},
		{
			MethodName: "GetForecasts",
			Handler:    _Cost_GetForecasts_Handler,
		},
		{
			MethodName: "GetMonthlyCostForecast",
			Handler:    _Cost_GetMonthlyCostForecast_Handler,
		},
		{
			MethodName: "GetMonthOnMonthCostForecast",
			Handler:    _Cost_GetMonthOnMonthCostForecast_Handler,
		},
		{
			MethodName: "GetMonthToDateCostForecast",
			Handler:    _Cost_GetMonthToDateCostForecast_Handler,
		},
		{
			MethodName: "GetAccountBudget",
			Handler:    _Cost_GetAccountBudget_Handler,
		},
		{
			MethodName: "CreateAccountBudget",
			Handler:    _Cost_CreateAccountBudget_Handler,
		},
		{
			MethodName: "UpdateAccountBudget",
			Handler:    _Cost_UpdateAccountBudget_Handler,
		},
		{
			MethodName: "DeleteAccountBudget",
			Handler:    _Cost_DeleteAccountBudget_Handler,
		},
		{
			MethodName: "GetRecommendations",
			Handler:    _Cost_GetRecommendations_Handler,
		},
		{
			MethodName: "GetCostReduction",
			Handler:    _Cost_GetCostReduction_Handler,
		},
		{
			MethodName: "GetUtilization",
			Handler:    _Cost_GetUtilization_Handler,
		},
		{
			MethodName: "GetCoverageOptions",
			Handler:    _Cost_GetCoverageOptions_Handler,
		},
		{
			MethodName: "GetCoverageOndemand",
			Handler:    _Cost_GetCoverageOndemand_Handler,
		},
		{
			MethodName: "GetBreakevenPoint",
			Handler:    _Cost_GetBreakevenPoint_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ListPayerAccounts",
			Handler:       _Cost_ListPayerAccounts_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetPayerAccountImportHistory",
			Handler:       _Cost_GetPayerAccountImportHistory_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ListAccounts",
			Handler:       _Cost_ListAccounts_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ReadCosts",
			Handler:       _Cost_ReadCosts_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ReadAdjustments",
			Handler:       _Cost_ReadAdjustments_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ReadTagCosts",
			Handler:       _Cost_ReadTagCosts_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ReadNonTagCosts",
			Handler:       _Cost_ReadNonTagCosts_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "cost/v1/cost.proto",
}

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

View Source
var File_cost_v1_cost_proto protoreflect.FileDescriptor

Functions

func RegisterCostHandler

func RegisterCostHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterCostHandler registers the http handlers for service Cost to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterCostHandlerClient

func RegisterCostHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CostClient) error

RegisterCostHandlerClient registers the http handlers for service Cost to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CostClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CostClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CostClient" to call the correct interceptors.

func RegisterCostHandlerFromEndpoint

func RegisterCostHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterCostHandlerFromEndpoint is same as RegisterCostHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterCostHandlerServer

func RegisterCostHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CostServer) error

RegisterCostHandlerServer registers the http handlers for service Cost to "mux". UnaryRPC :call CostServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterCostHandlerFromEndpoint instead.

func RegisterCostServer

func RegisterCostServer(s grpc.ServiceRegistrar, srv CostServer)

Types

type CalculateCostsRequest added in v0.10.2

type CalculateCostsRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Optional. If set to a particular billing group, calculate for that billing group.
	// If empty, calculate for all billing groups.
	//
	// At the moment, for AWS, this is only valid for account type billing groups, not
	// tag billing groups. If a tag billing group is provided, it is discarded and the
	// calculation is done for the whole organization.
	GroupId string `protobuf:"bytes,2,opt,name=groupId,proto3" json:"groupId,omitempty"`
	// Optional. The UTC month to calculate. If empty, it defaults to the previous month.
	// Format is `yyyymm`. For example, June 2021 will be `202106`.
	Month string `protobuf:"bytes,3,opt,name=month,proto3" json:"month,omitempty"`
	// Optional. Valid only for the `aws` vendor. AWS-specific options.
	AwsOptions *CalculateCostsRequestAwsOptions `protobuf:"bytes,4,opt,name=awsOptions,proto3" json:"awsOptions,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Cost.CalculateCosts rpc.

func (*CalculateCostsRequest) Descriptor deprecated added in v0.10.2

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

Deprecated: Use CalculateCostsRequest.ProtoReflect.Descriptor instead.

func (*CalculateCostsRequest) GetAwsOptions added in v0.35.2

func (*CalculateCostsRequest) GetGroupId added in v0.35.23

func (x *CalculateCostsRequest) GetGroupId() string

func (*CalculateCostsRequest) GetMonth added in v0.10.2

func (x *CalculateCostsRequest) GetMonth() string

func (*CalculateCostsRequest) GetVendor added in v0.10.2

func (x *CalculateCostsRequest) GetVendor() string

func (*CalculateCostsRequest) ProtoMessage added in v0.10.2

func (*CalculateCostsRequest) ProtoMessage()

func (*CalculateCostsRequest) ProtoReflect added in v0.10.2

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

func (*CalculateCostsRequest) Reset added in v0.10.2

func (x *CalculateCostsRequest) Reset()

func (*CalculateCostsRequest) String added in v0.10.2

func (x *CalculateCostsRequest) String() string

type CalculateCostsRequestAwsOptions added in v0.35.2

type CalculateCostsRequestAwsOptions struct {

	// Optional. If set to true, discard existing calculation operation(s), if any, and
	// make this as the active/latest one. By default, if there is an ongoing operation
	// during the call, the request will fail.
	Force bool `protobuf:"varint,1,opt,name=force,proto3" json:"force,omitempty"`
	// Optional. If set to true, only calculate for account-type billing groups. If both
	// `accountsOnly` and `tagsOnly` are set to true, `accountsOnly` will prevail.
	AccountsOnly bool `protobuf:"varint,2,opt,name=accountsOnly,proto3" json:"accountsOnly,omitempty"`
	// Optional. If set to true, only calculate for tags-type billing groups. Discarded
	// when the organization doesn't have any tag-based billing groups configured. If
	// both `accountsOnly` and `tagsOnly` are set to true, `accountsOnly` will prevail.
	TagsOnly bool `protobuf:"varint,3,opt,name=tagsOnly,proto3" json:"tagsOnly,omitempty"`
	// contains filtered or unexported fields
}

func (*CalculateCostsRequestAwsOptions) Descriptor deprecated added in v0.35.2

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

Deprecated: Use CalculateCostsRequestAwsOptions.ProtoReflect.Descriptor instead.

func (*CalculateCostsRequestAwsOptions) GetAccountsOnly added in v0.35.4

func (x *CalculateCostsRequestAwsOptions) GetAccountsOnly() bool

func (*CalculateCostsRequestAwsOptions) GetForce added in v0.35.2

func (x *CalculateCostsRequestAwsOptions) GetForce() bool

func (*CalculateCostsRequestAwsOptions) GetTagsOnly added in v0.35.4

func (x *CalculateCostsRequestAwsOptions) GetTagsOnly() bool

func (*CalculateCostsRequestAwsOptions) ProtoMessage added in v0.35.2

func (*CalculateCostsRequestAwsOptions) ProtoMessage()

func (*CalculateCostsRequestAwsOptions) ProtoReflect added in v0.35.2

func (*CalculateCostsRequestAwsOptions) Reset added in v0.35.2

func (*CalculateCostsRequestAwsOptions) String added in v0.35.2

type ClientOptions

type ClientOptions struct {
	Conn *conn.GrpcClientConn
}

ClientOptions represents the optional options to NewClient.

type CostClient

type CostClient interface {
	// Lists vendor payer accounts. For AWS, these are management accounts (formerly known
	// as master or payer accounts); for Azure, these are subscriptions, for GCP, these
	// are projects.
	ListPayerAccounts(ctx context.Context, in *ListPayerAccountsRequest, opts ...grpc.CallOption) (Cost_ListPayerAccountsClient, error)
	// Gets a vendor payer account. This API includes all of the account's metadata.
	// See https://alphauslabs.github.io/blueapi/ for the list of supported attributes.
	// For AWS, this means a management account (formerly known as master or payer account);
	// for Azure, this means a subscription, for GCP, this means a project.
	GetPayerAccount(ctx context.Context, in *GetPayerAccountRequest, opts ...grpc.CallOption) (*ripple.Payer, error)
	// Gets a payer account's import history, which is a list of timestamps our system tracks when the account's data are
	// imported to our system, which in turn, triggers processing. At the moment, this only supports AWS (CUR files).
	// You can also set {id} to `*` to return all payers' information under the organization.
	GetPayerAccountImportHistory(ctx context.Context, in *GetPayerAccountImportHistoryRequest, opts ...grpc.CallOption) (Cost_GetPayerAccountImportHistoryClient, error)
	// Registers a vendor payer account.
	CreatePayerAccount(ctx context.Context, in *CreatePayerAccountRequest, opts ...grpc.CallOption) (*api.Account, error)
	// Deletes a vendor payer account.
	DeletePayerAccount(ctx context.Context, in *DeletePayerAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Lists all vendor accounts.
	ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (Cost_ListAccountsClient, error)
	// Gets a vendor account. This API includes all of the account's metadata. See
	// https://alphauslabs.github.io/blueapi/ for the list of supported attributes.
	GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*api.Account, error)
	// Registers a vendor account.
	CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...grpc.CallOption) (*api.Account, error)
	// WORK-IN-PROGRESS: Deletes a vendor account.
	DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// WORK-IN-PROGRESS: Gets the vendor cost calculator's current status.
	GetCalculatorStatus(ctx context.Context, in *GetCalculatorStatusRequest, opts ...grpc.CallOption) (*GetCalculatorStatusResponse, error)
	// WORK-IN-PROGRESS: Gets the vendor cost calculator's current configuration.
	GetCalculatorConfig(ctx context.Context, in *GetCalculatorConfigRequest, opts ...grpc.CallOption) (*GetCalculatorConfigResponse, error)
	// Initiates an ondemand import of all registered CUR files. See
	// [https://help.alphaus.cloud/en/articles/3612555-ripple-aws-things-you-need-to-prepare-before-starting]
	// for more information.
	ImportCurFiles(ctx context.Context, in *ImportCurFilesRequest, opts ...grpc.CallOption) (*api.Operation, error)
	// Triggers monthly calculations for costs and invoices at either organization or billing group level.
	// For the AWS calculator, aggregation is done at daily and monthly level. Also, all occurrences of the
	// character `|` (pipe) in the CUR descriptions and tag key/values are replaced with the `/` (forward-slash)
	// character. This is due to the `|` character having a special designation in the data processing workflows.
	CalculateCosts(ctx context.Context, in *CalculateCostsRequest, opts ...grpc.CallOption) (*api.Operation, error)
	// Lists vendor costs calculations history and statuses. Note that status information is sometimes unstable.
	ListCalculationsHistory(ctx context.Context, in *ListCalculationsHistoryRequest, opts ...grpc.CallOption) (*ListCalculationsHistoryResponse, error)
	// Reads the usage-based cost details of an organization (Ripple) or billing group (Wave).
	// At the moment, the supported {vendor} is 'aws'. If datetime range parameters are
	// not set, month-to-date (current month) will be returned.
	ReadCosts(ctx context.Context, in *ReadCostsRequest, opts ...grpc.CallOption) (Cost_ReadCostsClient, error)
	// Reads the non-usage-based details of an organization (Ripple) or billing group (Wave).
	// This API covers non-usage-based adjustments, such as Fees, Credits, Discounts, Tax,
	// Upfront Fees, etc. At the moment, the supported {vendor} is 'aws'. If datetime
	// range parameters are not set, month-to-date (current month) will be returned.
	ReadAdjustments(ctx context.Context, in *ReadAdjustmentsRequest, opts ...grpc.CallOption) (Cost_ReadAdjustmentsClient, error)
	// Reads the usage-based tag costs of a billing group. At the moment, the supported {vendor} is
	// 'aws'. If datetime range parameters are not set, month-to-date (current month) will be returned.
	ReadTagCosts(ctx context.Context, in *ReadTagCostsRequest, opts ...grpc.CallOption) (Cost_ReadTagCostsClient, error)
	// Reads the usage-based non tag costs of a billing group. At the moment, the supported {vendor} is
	// 'aws'. If datetime range parameters are not set, month-to-date (current month) will be returned.
	ReadNonTagCosts(ctx context.Context, in *ReadNonTagCostsRequest, opts ...grpc.CallOption) (Cost_ReadNonTagCostsClient, error)
	// Fetches cost forecasts for the specified billing group.
	// Includes historical cost (up to previous month) and forecasted cost (up to three months for now).
	GetForecasts(ctx context.Context, in *GetForecastsRequest, opts ...grpc.CallOption) (*GetForecastsResponse, error)
	// Fetches monthly accumulated costs vs forecasted cost vs budget for the id.
	GetMonthlyCostForecast(ctx context.Context, in *GetMonthlyCostForecastRequest, opts ...grpc.CallOption) (*GetMonthlyCostForecastResponse, error)
	// Fetches previous month cost vs current month forecast vs current accumulated cost per category for id.
	GetMonthOnMonthCostForecast(ctx context.Context, in *GetMonthOnMonthCostForecastRequest, opts ...grpc.CallOption) (*GetMonthOnMonthCostForecastResponse, error)
	// Fetches current month daily forecast vs current accumulated daily cost for id.
	GetMonthToDateCostForecast(ctx context.Context, in *GetMonthToDateCostForecastRequest, opts ...grpc.CallOption) (*GetMonthToDateCostForecastResponse, error)
	// Fetches monthly budget for the account/acctgroup id.
	GetAccountBudget(ctx context.Context, in *GetAccountBudgetRequest, opts ...grpc.CallOption) (*GetAccountBudgetResponse, error)
	// Creates monthly budget for the account/acctgroup id.
	CreateAccountBudget(ctx context.Context, in *CreateAccountBudgetRequest, opts ...grpc.CallOption) (*CreateAccountBudgetResponse, error)
	// Updates monthly budget for the account/acctgroup id.
	UpdateAccountBudget(ctx context.Context, in *UpdateAccountBudgetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Removes monthly budget for the account/acctgroup id from database.
	DeleteAccountBudget(ctx context.Context, in *DeleteAccountBudgetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// WORK-IN-PROGRESS: Get cost opmtimization recommendations for an organization (or MSP).
	GetRecommendations(ctx context.Context, in *GetRecommendationsRequest, opts ...grpc.CallOption) (*GetRecommendationsResponse, error)
	// Get cost reduction details for an organization (or MSP).
	GetCostReduction(ctx context.Context, in *GetCostReductionRequest, opts ...grpc.CallOption) (*GetCostReductionResponse, error)
	// WORK-IN-PROGRESS: Get the utilization details for an organization (or MSP).
	GetUtilization(ctx context.Context, in *GetUtilizationRequest, opts ...grpc.CallOption) (*GetUtilizationResponse, error)
	// WORK-IN-PROGRESS: Get coverage options details for an organization (or MSP).
	GetCoverageOptions(ctx context.Context, in *GetCoverageOptionsRequest, opts ...grpc.CallOption) (*GetCoverageOptionsResponse, error)
	// WORK-IN-PROGRESS: Get ondemand cost details for an organization (or MSP).
	GetCoverageOndemand(ctx context.Context, in *GetCoverageOndemandRequest, opts ...grpc.CallOption) (*GetCoverageOndemandResponse, error)
	// WORK-IN-PROGRESS: Get the breakeven point details for the RI or SP.
	GetBreakevenPoint(ctx context.Context, in *GetBreakevenPointRequest, opts ...grpc.CallOption) (*GetBreakevenPointResponse, error)
}

CostClient is the client API for Cost 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 NewCostClient

func NewCostClient(cc grpc.ClientConnInterface) CostClient

type CostItem

type CostItem struct {
	Aws *aws.Cost `protobuf:"bytes,1,opt,name=aws,proto3" json:"aws,omitempty"`
	// contains filtered or unexported fields
}

Response message wrapper for cloud costs.

func (*CostItem) Descriptor deprecated

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

Deprecated: Use CostItem.ProtoReflect.Descriptor instead.

func (*CostItem) GetAws

func (x *CostItem) GetAws() *aws.Cost

func (*CostItem) ProtoMessage

func (*CostItem) ProtoMessage()

func (*CostItem) ProtoReflect

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

func (*CostItem) Reset

func (x *CostItem) Reset()

func (*CostItem) String

func (x *CostItem) String() string

type CostServer

type CostServer interface {
	// Lists vendor payer accounts. For AWS, these are management accounts (formerly known
	// as master or payer accounts); for Azure, these are subscriptions, for GCP, these
	// are projects.
	ListPayerAccounts(*ListPayerAccountsRequest, Cost_ListPayerAccountsServer) error
	// Gets a vendor payer account. This API includes all of the account's metadata.
	// See https://alphauslabs.github.io/blueapi/ for the list of supported attributes.
	// For AWS, this means a management account (formerly known as master or payer account);
	// for Azure, this means a subscription, for GCP, this means a project.
	GetPayerAccount(context.Context, *GetPayerAccountRequest) (*ripple.Payer, error)
	// Gets a payer account's import history, which is a list of timestamps our system tracks when the account's data are
	// imported to our system, which in turn, triggers processing. At the moment, this only supports AWS (CUR files).
	// You can also set {id} to `*` to return all payers' information under the organization.
	GetPayerAccountImportHistory(*GetPayerAccountImportHistoryRequest, Cost_GetPayerAccountImportHistoryServer) error
	// Registers a vendor payer account.
	CreatePayerAccount(context.Context, *CreatePayerAccountRequest) (*api.Account, error)
	// Deletes a vendor payer account.
	DeletePayerAccount(context.Context, *DeletePayerAccountRequest) (*emptypb.Empty, error)
	// Lists all vendor accounts.
	ListAccounts(*ListAccountsRequest, Cost_ListAccountsServer) error
	// Gets a vendor account. This API includes all of the account's metadata. See
	// https://alphauslabs.github.io/blueapi/ for the list of supported attributes.
	GetAccount(context.Context, *GetAccountRequest) (*api.Account, error)
	// Registers a vendor account.
	CreateAccount(context.Context, *CreateAccountRequest) (*api.Account, error)
	// WORK-IN-PROGRESS: Deletes a vendor account.
	DeleteAccount(context.Context, *DeleteAccountRequest) (*emptypb.Empty, error)
	// WORK-IN-PROGRESS: Gets the vendor cost calculator's current status.
	GetCalculatorStatus(context.Context, *GetCalculatorStatusRequest) (*GetCalculatorStatusResponse, error)
	// WORK-IN-PROGRESS: Gets the vendor cost calculator's current configuration.
	GetCalculatorConfig(context.Context, *GetCalculatorConfigRequest) (*GetCalculatorConfigResponse, error)
	// Initiates an ondemand import of all registered CUR files. See
	// [https://help.alphaus.cloud/en/articles/3612555-ripple-aws-things-you-need-to-prepare-before-starting]
	// for more information.
	ImportCurFiles(context.Context, *ImportCurFilesRequest) (*api.Operation, error)
	// Triggers monthly calculations for costs and invoices at either organization or billing group level.
	// For the AWS calculator, aggregation is done at daily and monthly level. Also, all occurrences of the
	// character `|` (pipe) in the CUR descriptions and tag key/values are replaced with the `/` (forward-slash)
	// character. This is due to the `|` character having a special designation in the data processing workflows.
	CalculateCosts(context.Context, *CalculateCostsRequest) (*api.Operation, error)
	// Lists vendor costs calculations history and statuses. Note that status information is sometimes unstable.
	ListCalculationsHistory(context.Context, *ListCalculationsHistoryRequest) (*ListCalculationsHistoryResponse, error)
	// Reads the usage-based cost details of an organization (Ripple) or billing group (Wave).
	// At the moment, the supported {vendor} is 'aws'. If datetime range parameters are
	// not set, month-to-date (current month) will be returned.
	ReadCosts(*ReadCostsRequest, Cost_ReadCostsServer) error
	// Reads the non-usage-based details of an organization (Ripple) or billing group (Wave).
	// This API covers non-usage-based adjustments, such as Fees, Credits, Discounts, Tax,
	// Upfront Fees, etc. At the moment, the supported {vendor} is 'aws'. If datetime
	// range parameters are not set, month-to-date (current month) will be returned.
	ReadAdjustments(*ReadAdjustmentsRequest, Cost_ReadAdjustmentsServer) error
	// Reads the usage-based tag costs of a billing group. At the moment, the supported {vendor} is
	// 'aws'. If datetime range parameters are not set, month-to-date (current month) will be returned.
	ReadTagCosts(*ReadTagCostsRequest, Cost_ReadTagCostsServer) error
	// Reads the usage-based non tag costs of a billing group. At the moment, the supported {vendor} is
	// 'aws'. If datetime range parameters are not set, month-to-date (current month) will be returned.
	ReadNonTagCosts(*ReadNonTagCostsRequest, Cost_ReadNonTagCostsServer) error
	// Fetches cost forecasts for the specified billing group.
	// Includes historical cost (up to previous month) and forecasted cost (up to three months for now).
	GetForecasts(context.Context, *GetForecastsRequest) (*GetForecastsResponse, error)
	// Fetches monthly accumulated costs vs forecasted cost vs budget for the id.
	GetMonthlyCostForecast(context.Context, *GetMonthlyCostForecastRequest) (*GetMonthlyCostForecastResponse, error)
	// Fetches previous month cost vs current month forecast vs current accumulated cost per category for id.
	GetMonthOnMonthCostForecast(context.Context, *GetMonthOnMonthCostForecastRequest) (*GetMonthOnMonthCostForecastResponse, error)
	// Fetches current month daily forecast vs current accumulated daily cost for id.
	GetMonthToDateCostForecast(context.Context, *GetMonthToDateCostForecastRequest) (*GetMonthToDateCostForecastResponse, error)
	// Fetches monthly budget for the account/acctgroup id.
	GetAccountBudget(context.Context, *GetAccountBudgetRequest) (*GetAccountBudgetResponse, error)
	// Creates monthly budget for the account/acctgroup id.
	CreateAccountBudget(context.Context, *CreateAccountBudgetRequest) (*CreateAccountBudgetResponse, error)
	// Updates monthly budget for the account/acctgroup id.
	UpdateAccountBudget(context.Context, *UpdateAccountBudgetRequest) (*emptypb.Empty, error)
	// Removes monthly budget for the account/acctgroup id from database.
	DeleteAccountBudget(context.Context, *DeleteAccountBudgetRequest) (*emptypb.Empty, error)
	// WORK-IN-PROGRESS: Get cost opmtimization recommendations for an organization (or MSP).
	GetRecommendations(context.Context, *GetRecommendationsRequest) (*GetRecommendationsResponse, error)
	// Get cost reduction details for an organization (or MSP).
	GetCostReduction(context.Context, *GetCostReductionRequest) (*GetCostReductionResponse, error)
	// WORK-IN-PROGRESS: Get the utilization details for an organization (or MSP).
	GetUtilization(context.Context, *GetUtilizationRequest) (*GetUtilizationResponse, error)
	// WORK-IN-PROGRESS: Get coverage options details for an organization (or MSP).
	GetCoverageOptions(context.Context, *GetCoverageOptionsRequest) (*GetCoverageOptionsResponse, error)
	// WORK-IN-PROGRESS: Get ondemand cost details for an organization (or MSP).
	GetCoverageOndemand(context.Context, *GetCoverageOndemandRequest) (*GetCoverageOndemandResponse, error)
	// WORK-IN-PROGRESS: Get the breakeven point details for the RI or SP.
	GetBreakevenPoint(context.Context, *GetBreakevenPointRequest) (*GetBreakevenPointResponse, error)
	// contains filtered or unexported methods
}

CostServer is the server API for Cost service. All implementations must embed UnimplementedCostServer for forward compatibility

type Cost_GetPayerAccountImportHistoryClient added in v0.35.25

type Cost_GetPayerAccountImportHistoryClient interface {
	Recv() (*GetPayerAccountImportHistoryResponse, error)
	grpc.ClientStream
}

type Cost_GetPayerAccountImportHistoryServer added in v0.35.25

type Cost_GetPayerAccountImportHistoryServer interface {
	Send(*GetPayerAccountImportHistoryResponse) error
	grpc.ServerStream
}

type Cost_ListAccountsClient added in v0.29.0

type Cost_ListAccountsClient interface {
	Recv() (*api.Account, error)
	grpc.ClientStream
}

type Cost_ListAccountsServer added in v0.29.0

type Cost_ListAccountsServer interface {
	Send(*api.Account) error
	grpc.ServerStream
}

type Cost_ListPayerAccountsClient added in v0.32.0

type Cost_ListPayerAccountsClient interface {
	Recv() (*api.Account, error)
	grpc.ClientStream
}

type Cost_ListPayerAccountsServer added in v0.32.0

type Cost_ListPayerAccountsServer interface {
	Send(*api.Account) error
	grpc.ServerStream
}

type Cost_ReadAdjustmentsClient

type Cost_ReadAdjustmentsClient interface {
	Recv() (*CostItem, error)
	grpc.ClientStream
}

type Cost_ReadAdjustmentsServer

type Cost_ReadAdjustmentsServer interface {
	Send(*CostItem) error
	grpc.ServerStream
}

type Cost_ReadCostsClient

type Cost_ReadCostsClient interface {
	Recv() (*CostItem, error)
	grpc.ClientStream
}

type Cost_ReadCostsServer

type Cost_ReadCostsServer interface {
	Send(*CostItem) error
	grpc.ServerStream
}

type Cost_ReadNonTagCostsClient added in v0.33.0

type Cost_ReadNonTagCostsClient interface {
	Recv() (*CostItem, error)
	grpc.ClientStream
}

type Cost_ReadNonTagCostsServer added in v0.33.0

type Cost_ReadNonTagCostsServer interface {
	Send(*CostItem) error
	grpc.ServerStream
}

type Cost_ReadTagCostsClient added in v0.33.0

type Cost_ReadTagCostsClient interface {
	Recv() (*CostItem, error)
	grpc.ClientStream
}

type Cost_ReadTagCostsServer added in v0.33.0

type Cost_ReadTagCostsServer interface {
	Send(*CostItem) error
	grpc.ServerStream
}

type CreateAccountBudgetRequest added in v0.35.9

type CreateAccountBudgetRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required. 'account' or 'acctgroup'
	Level string `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"`
	// Required. Account or AccountGroup Id
	Id   string      `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	Data *api.Budget `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateAccountBudget

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

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

Deprecated: Use CreateAccountBudgetRequest.ProtoReflect.Descriptor instead.

func (*CreateAccountBudgetRequest) GetData added in v0.35.9

func (x *CreateAccountBudgetRequest) GetData() *api.Budget

func (*CreateAccountBudgetRequest) GetId added in v0.35.10

func (*CreateAccountBudgetRequest) GetLevel added in v0.35.9

func (x *CreateAccountBudgetRequest) GetLevel() string

func (*CreateAccountBudgetRequest) GetVendor added in v0.35.9

func (x *CreateAccountBudgetRequest) GetVendor() string

func (*CreateAccountBudgetRequest) ProtoMessage added in v0.35.9

func (*CreateAccountBudgetRequest) ProtoMessage()

func (*CreateAccountBudgetRequest) ProtoReflect added in v0.35.9

func (*CreateAccountBudgetRequest) Reset added in v0.35.9

func (x *CreateAccountBudgetRequest) Reset()

func (*CreateAccountBudgetRequest) String added in v0.35.9

func (x *CreateAccountBudgetRequest) String() string

type CreateAccountBudgetResponse added in v0.35.9

type CreateAccountBudgetResponse struct {

	//Budget Id
	BudgetId string `protobuf:"bytes,1,opt,name=budgetId,proto3" json:"budgetId,omitempty"`
	// contains filtered or unexported fields
}

Response message for CreateAccountBudget

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

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

Deprecated: Use CreateAccountBudgetResponse.ProtoReflect.Descriptor instead.

func (*CreateAccountBudgetResponse) GetBudgetId added in v0.35.9

func (x *CreateAccountBudgetResponse) GetBudgetId() string

func (*CreateAccountBudgetResponse) ProtoMessage added in v0.35.9

func (*CreateAccountBudgetResponse) ProtoMessage()

func (*CreateAccountBudgetResponse) ProtoReflect added in v0.35.9

func (*CreateAccountBudgetResponse) Reset added in v0.35.9

func (x *CreateAccountBudgetResponse) Reset()

func (*CreateAccountBudgetResponse) String added in v0.35.9

func (x *CreateAccountBudgetResponse) String() string

type CreateAccountRequest added in v0.29.0

type CreateAccountRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required. The account id to register.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Optional. If empty, set to the value of `id`.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The parent `billingInternalId` of the billing group to which this account
	// will belong to.
	Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required for the `aws` vendor. AWS-specific options.
	AwsOptions *CreateAccountRequestAwsOptions `protobuf:"bytes,5,opt,name=awsOptions,proto3" json:"awsOptions,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Cost.CreateAccount rpc.

func (*CreateAccountRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.

func (*CreateAccountRequest) GetAwsOptions added in v0.29.0

func (*CreateAccountRequest) GetId added in v0.29.0

func (x *CreateAccountRequest) GetId() string

func (*CreateAccountRequest) GetName added in v0.29.0

func (x *CreateAccountRequest) GetName() string

func (*CreateAccountRequest) GetParent added in v0.29.0

func (x *CreateAccountRequest) GetParent() string

func (*CreateAccountRequest) GetVendor added in v0.29.0

func (x *CreateAccountRequest) GetVendor() string

func (*CreateAccountRequest) ProtoMessage added in v0.29.0

func (*CreateAccountRequest) ProtoMessage()

func (*CreateAccountRequest) ProtoReflect added in v0.29.0

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

func (*CreateAccountRequest) Reset added in v0.29.0

func (x *CreateAccountRequest) Reset()

func (*CreateAccountRequest) String added in v0.29.0

func (x *CreateAccountRequest) String() string

type CreateAccountRequestAwsOptions added in v0.32.0

type CreateAccountRequestAwsOptions struct {

	// Optional. The management account id (formerly known as master, or payer) to
	// which an account belongs to, initially. If the account is moved to another
	// management account, the system is able to detect it and set this value
	// accordingly.
	ManagementAccountId string `protobuf:"bytes,1,opt,name=managementAccountId,proto3" json:"managementAccountId,omitempty"`
	// contains filtered or unexported fields
}

AWS-specific options for registering an account.

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

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

Deprecated: Use CreateAccountRequestAwsOptions.ProtoReflect.Descriptor instead.

func (*CreateAccountRequestAwsOptions) GetManagementAccountId added in v0.32.0

func (x *CreateAccountRequestAwsOptions) GetManagementAccountId() string

func (*CreateAccountRequestAwsOptions) ProtoMessage added in v0.32.0

func (*CreateAccountRequestAwsOptions) ProtoMessage()

func (*CreateAccountRequestAwsOptions) ProtoReflect added in v0.32.0

func (*CreateAccountRequestAwsOptions) Reset added in v0.32.0

func (x *CreateAccountRequestAwsOptions) Reset()

func (*CreateAccountRequestAwsOptions) String added in v0.32.0

type CreatePayerAccountRequest added in v0.32.0

type CreatePayerAccountRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required for the `aws` vendor. AWS-specific options.
	AwsOptions *CreatePayerAccountRequestAwsOptions `protobuf:"bytes,2,opt,name=awsOptions,proto3" json:"awsOptions,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Cost.CreatePayerAccount rpc.

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

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

Deprecated: Use CreatePayerAccountRequest.ProtoReflect.Descriptor instead.

func (*CreatePayerAccountRequest) GetAwsOptions added in v0.32.0

func (*CreatePayerAccountRequest) GetVendor added in v0.32.0

func (x *CreatePayerAccountRequest) GetVendor() string

func (*CreatePayerAccountRequest) ProtoMessage added in v0.32.0

func (*CreatePayerAccountRequest) ProtoMessage()

func (*CreatePayerAccountRequest) ProtoReflect added in v0.32.0

func (*CreatePayerAccountRequest) Reset added in v0.32.0

func (x *CreatePayerAccountRequest) Reset()

func (*CreatePayerAccountRequest) String added in v0.32.0

func (x *CreatePayerAccountRequest) String() string

type CreatePayerAccountRequestAwsOptions added in v0.32.0

type CreatePayerAccountRequestAwsOptions struct {

	// Required. The id of the management account.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Optional. The name, or description of the management account.
	// This is set to `id` when not specified.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Required. S3 Bucket name.
	BucketName string `protobuf:"bytes,3,opt,name=bucketName,proto3" json:"bucketName,omitempty"`
	// Optional. Prefix.
	Prefix string `protobuf:"bytes,4,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// Required. Report name.
	ReportName string `protobuf:"bytes,5,opt,name=reportName,proto3" json:"reportName,omitempty"`
	// Required. Role ARN for Alphaus to assume for access.
	RoleArn string `protobuf:"bytes,6,opt,name=roleArn,proto3" json:"roleArn,omitempty"`
	// contains filtered or unexported fields
}

See [https://help.alphaus.cloud/en/articles/3612555-ripple-aws-things-you-need-to-prepare-before-starting] for more information. See [https://docs.aws.amazon.com/cur/latest/userguide/cur-create.html] for more information. Requirements include: Additional report details = 'Include Resource IDS' enabled, Prefix = non-empty (recommendation only), Time granularity = 'Hourly', File format = 'text/csv'.

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

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

Deprecated: Use CreatePayerAccountRequestAwsOptions.ProtoReflect.Descriptor instead.

func (*CreatePayerAccountRequestAwsOptions) GetBucketName added in v0.32.0

func (x *CreatePayerAccountRequestAwsOptions) GetBucketName() string

func (*CreatePayerAccountRequestAwsOptions) GetId added in v0.32.0

func (*CreatePayerAccountRequestAwsOptions) GetName added in v0.32.0

func (*CreatePayerAccountRequestAwsOptions) GetPrefix added in v0.32.0

func (*CreatePayerAccountRequestAwsOptions) GetReportName added in v0.32.0

func (x *CreatePayerAccountRequestAwsOptions) GetReportName() string

func (*CreatePayerAccountRequestAwsOptions) GetRoleArn added in v0.32.0

func (*CreatePayerAccountRequestAwsOptions) ProtoMessage added in v0.32.0

func (*CreatePayerAccountRequestAwsOptions) ProtoMessage()

func (*CreatePayerAccountRequestAwsOptions) ProtoReflect added in v0.32.0

func (*CreatePayerAccountRequestAwsOptions) Reset added in v0.32.0

func (*CreatePayerAccountRequestAwsOptions) String added in v0.32.0

type DeleteAccountBudgetRequest added in v0.35.9

type DeleteAccountBudgetRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required. Budget Id
	BudgetId string `protobuf:"bytes,2,opt,name=budgetId,proto3" json:"budgetId,omitempty"`
	// contains filtered or unexported fields
}

Request message for DeleteAccountBudget

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

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

Deprecated: Use DeleteAccountBudgetRequest.ProtoReflect.Descriptor instead.

func (*DeleteAccountBudgetRequest) GetBudgetId added in v0.35.9

func (x *DeleteAccountBudgetRequest) GetBudgetId() string

func (*DeleteAccountBudgetRequest) GetVendor added in v0.35.9

func (x *DeleteAccountBudgetRequest) GetVendor() string

func (*DeleteAccountBudgetRequest) ProtoMessage added in v0.35.9

func (*DeleteAccountBudgetRequest) ProtoMessage()

func (*DeleteAccountBudgetRequest) ProtoReflect added in v0.35.9

func (*DeleteAccountBudgetRequest) Reset added in v0.35.9

func (x *DeleteAccountBudgetRequest) Reset()

func (*DeleteAccountBudgetRequest) String added in v0.35.9

func (x *DeleteAccountBudgetRequest) String() string

type DeleteAccountRequest added in v0.29.0

type DeleteAccountRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required. The account id to delete.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Cost.DeleteAccount rpc.

func (*DeleteAccountRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead.

func (*DeleteAccountRequest) GetId added in v0.29.0

func (x *DeleteAccountRequest) GetId() string

func (*DeleteAccountRequest) GetVendor added in v0.29.0

func (x *DeleteAccountRequest) GetVendor() string

func (*DeleteAccountRequest) ProtoMessage added in v0.29.0

func (*DeleteAccountRequest) ProtoMessage()

func (*DeleteAccountRequest) ProtoReflect added in v0.29.0

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

func (*DeleteAccountRequest) Reset added in v0.29.0

func (x *DeleteAccountRequest) Reset()

func (*DeleteAccountRequest) String added in v0.29.0

func (x *DeleteAccountRequest) String() string

type DeletePayerAccountRequest added in v0.32.0

type DeletePayerAccountRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required. The id of the account.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Cost.DeletePayerAccount rpc.

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

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

Deprecated: Use DeletePayerAccountRequest.ProtoReflect.Descriptor instead.

func (*DeletePayerAccountRequest) GetId added in v0.32.0

func (x *DeletePayerAccountRequest) GetId() string

func (*DeletePayerAccountRequest) GetVendor added in v0.32.0

func (x *DeletePayerAccountRequest) GetVendor() string

func (*DeletePayerAccountRequest) ProtoMessage added in v0.32.0

func (*DeletePayerAccountRequest) ProtoMessage()

func (*DeletePayerAccountRequest) ProtoReflect added in v0.32.0

func (*DeletePayerAccountRequest) Reset added in v0.32.0

func (x *DeletePayerAccountRequest) Reset()

func (*DeletePayerAccountRequest) String added in v0.32.0

func (x *DeletePayerAccountRequest) String() string

type GetAccountBudgetRequest added in v0.35.9

type GetAccountBudgetRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required. 'account' or 'acctgroup'
	Level string `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"`
	// Required. Account or AccountGroup Id
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// Optional. Default is current year
	// Format: yyyy
	Year string `protobuf:"bytes,4,opt,name=year,proto3" json:"year,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetAccountBudget

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

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

Deprecated: Use GetAccountBudgetRequest.ProtoReflect.Descriptor instead.

func (*GetAccountBudgetRequest) GetId added in v0.35.9

func (x *GetAccountBudgetRequest) GetId() string

func (*GetAccountBudgetRequest) GetLevel added in v0.35.9

func (x *GetAccountBudgetRequest) GetLevel() string

func (*GetAccountBudgetRequest) GetVendor added in v0.35.9

func (x *GetAccountBudgetRequest) GetVendor() string

func (*GetAccountBudgetRequest) GetYear added in v0.35.9

func (x *GetAccountBudgetRequest) GetYear() string

func (*GetAccountBudgetRequest) ProtoMessage added in v0.35.9

func (*GetAccountBudgetRequest) ProtoMessage()

func (*GetAccountBudgetRequest) ProtoReflect added in v0.35.9

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

func (*GetAccountBudgetRequest) Reset added in v0.35.9

func (x *GetAccountBudgetRequest) Reset()

func (*GetAccountBudgetRequest) String added in v0.35.9

func (x *GetAccountBudgetRequest) String() string

type GetAccountBudgetResponse added in v0.35.9

type GetAccountBudgetResponse struct {
	Data *api.Budget `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

Response message for GetAccountBudget

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

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

Deprecated: Use GetAccountBudgetResponse.ProtoReflect.Descriptor instead.

func (*GetAccountBudgetResponse) GetData added in v0.35.9

func (x *GetAccountBudgetResponse) GetData() *api.Budget

func (*GetAccountBudgetResponse) ProtoMessage added in v0.35.9

func (*GetAccountBudgetResponse) ProtoMessage()

func (*GetAccountBudgetResponse) ProtoReflect added in v0.35.9

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

func (*GetAccountBudgetResponse) Reset added in v0.35.9

func (x *GetAccountBudgetResponse) Reset()

func (*GetAccountBudgetResponse) String added in v0.35.9

func (x *GetAccountBudgetResponse) String() string

type GetAccountRequest added in v0.29.0

type GetAccountRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required. The account id to retrieve.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Cost.GetAccount rpc.

func (*GetAccountRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.

func (*GetAccountRequest) GetId added in v0.29.0

func (x *GetAccountRequest) GetId() string

func (*GetAccountRequest) GetVendor added in v0.29.0

func (x *GetAccountRequest) GetVendor() string

func (*GetAccountRequest) ProtoMessage added in v0.29.0

func (*GetAccountRequest) ProtoMessage()

func (*GetAccountRequest) ProtoReflect added in v0.29.0

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

func (*GetAccountRequest) Reset added in v0.29.0

func (x *GetAccountRequest) Reset()

func (*GetAccountRequest) String added in v0.29.0

func (x *GetAccountRequest) String() string

type GetBreakevenPointRequest added in v0.54.0

type GetBreakevenPointRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required. Organization Id.
	OrgId string `protobuf:"bytes,2,opt,name=orgId,proto3" json:"orgId,omitempty"`
	// Required. For AWS, "ri" or "sp".
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// Required. RI/SP Arn.
	Arn string `protobuf:"bytes,4,opt,name=arn,proto3" json:"arn,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetBreakevenPoint

func (*GetBreakevenPointRequest) Descriptor deprecated added in v0.54.0

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

Deprecated: Use GetBreakevenPointRequest.ProtoReflect.Descriptor instead.

func (*GetBreakevenPointRequest) GetArn added in v0.54.0

func (x *GetBreakevenPointRequest) GetArn() string

func (*GetBreakevenPointRequest) GetOrgId added in v0.54.0

func (x *GetBreakevenPointRequest) GetOrgId() string

func (*GetBreakevenPointRequest) GetType added in v0.54.0

func (x *GetBreakevenPointRequest) GetType() string

func (*GetBreakevenPointRequest) GetVendor added in v0.54.0

func (x *GetBreakevenPointRequest) GetVendor() string

func (*GetBreakevenPointRequest) ProtoMessage added in v0.54.0

func (*GetBreakevenPointRequest) ProtoMessage()

func (*GetBreakevenPointRequest) ProtoReflect added in v0.54.0

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

func (*GetBreakevenPointRequest) Reset added in v0.54.0

func (x *GetBreakevenPointRequest) Reset()

func (*GetBreakevenPointRequest) String added in v0.54.0

func (x *GetBreakevenPointRequest) String() string

type GetBreakevenPointResponse added in v0.54.0

type GetBreakevenPointResponse struct {
	OrgId            string                `protobuf:"bytes,1,opt,name=orgId,proto3" json:"orgId,omitempty"`
	AwsCostBreakeven *aws.AwsCostBreakeven `protobuf:"bytes,2,opt,name=awsCostBreakeven,proto3" json:"awsCostBreakeven,omitempty"`
	// contains filtered or unexported fields
}

Response message for GetBreakevenPoint

func (*GetBreakevenPointResponse) Descriptor deprecated added in v0.54.0

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

Deprecated: Use GetBreakevenPointResponse.ProtoReflect.Descriptor instead.

func (*GetBreakevenPointResponse) GetAwsCostBreakeven added in v0.54.0

func (x *GetBreakevenPointResponse) GetAwsCostBreakeven() *aws.AwsCostBreakeven

func (*GetBreakevenPointResponse) GetOrgId added in v0.54.0

func (x *GetBreakevenPointResponse) GetOrgId() string

func (*GetBreakevenPointResponse) ProtoMessage added in v0.54.0

func (*GetBreakevenPointResponse) ProtoMessage()

func (*GetBreakevenPointResponse) ProtoReflect added in v0.54.0

func (*GetBreakevenPointResponse) Reset added in v0.54.0

func (x *GetBreakevenPointResponse) Reset()

func (*GetBreakevenPointResponse) String added in v0.54.0

func (x *GetBreakevenPointResponse) String() string

type GetCalculatorConfigRequest added in v0.33.2

type GetCalculatorConfigRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Cost.GetCalculatorConfig rpc.

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

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

Deprecated: Use GetCalculatorConfigRequest.ProtoReflect.Descriptor instead.

func (*GetCalculatorConfigRequest) GetVendor added in v0.33.2

func (x *GetCalculatorConfigRequest) GetVendor() string

func (*GetCalculatorConfigRequest) ProtoMessage added in v0.33.2

func (*GetCalculatorConfigRequest) ProtoMessage()

func (*GetCalculatorConfigRequest) ProtoReflect added in v0.33.2

func (*GetCalculatorConfigRequest) Reset added in v0.33.2

func (x *GetCalculatorConfigRequest) Reset()

func (*GetCalculatorConfigRequest) String added in v0.33.2

func (x *GetCalculatorConfigRequest) String() string

type GetCalculatorConfigResponse added in v0.33.2

type GetCalculatorConfigResponse struct {
	Aws *aws.CalculatorConfig `protobuf:"bytes,1,opt,name=aws,proto3" json:"aws,omitempty"`
	// contains filtered or unexported fields
}

Response message for the Cost.GetCalculatorConfig rpc.

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

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

Deprecated: Use GetCalculatorConfigResponse.ProtoReflect.Descriptor instead.

func (*GetCalculatorConfigResponse) GetAws added in v0.33.2

func (*GetCalculatorConfigResponse) ProtoMessage added in v0.33.2

func (*GetCalculatorConfigResponse) ProtoMessage()

func (*GetCalculatorConfigResponse) ProtoReflect added in v0.33.2

func (*GetCalculatorConfigResponse) Reset added in v0.33.2

func (x *GetCalculatorConfigResponse) Reset()

func (*GetCalculatorConfigResponse) String added in v0.33.2

func (x *GetCalculatorConfigResponse) String() string

type GetCalculatorStatusRequest added in v0.44.0

type GetCalculatorStatusRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Optional. The UTC month to query. Defaults to current month if empty.
	// Format is `yyyymm`. For example, June 2021 will be `202106`.
	Month string `protobuf:"bytes,2,opt,name=month,proto3" json:"month,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Cost.GetCalculatorStatus rpc.

func (*GetCalculatorStatusRequest) Descriptor deprecated added in v0.44.0

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

Deprecated: Use GetCalculatorStatusRequest.ProtoReflect.Descriptor instead.

func (*GetCalculatorStatusRequest) GetMonth added in v0.46.0

func (x *GetCalculatorStatusRequest) GetMonth() string

func (*GetCalculatorStatusRequest) GetVendor added in v0.44.0

func (x *GetCalculatorStatusRequest) GetVendor() string

func (*GetCalculatorStatusRequest) ProtoMessage added in v0.44.0

func (*GetCalculatorStatusRequest) ProtoMessage()

func (*GetCalculatorStatusRequest) ProtoReflect added in v0.44.0

func (*GetCalculatorStatusRequest) Reset added in v0.44.0

func (x *GetCalculatorStatusRequest) Reset()

func (*GetCalculatorStatusRequest) String added in v0.44.0

func (x *GetCalculatorStatusRequest) String() string

type GetCalculatorStatusResponse added in v0.44.0

type GetCalculatorStatusResponse struct {

	// AWS-specific calculator status.
	Aws *GetCalculatorStatusResponse_AwsStatus `protobuf:"bytes,1,opt,name=aws,proto3" json:"aws,omitempty"`
	// contains filtered or unexported fields
}

Response message for the Cost.GetCalculatorStatus rpc.

func (*GetCalculatorStatusResponse) Descriptor deprecated added in v0.44.0

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

Deprecated: Use GetCalculatorStatusResponse.ProtoReflect.Descriptor instead.

func (*GetCalculatorStatusResponse) GetAws added in v0.44.0

func (*GetCalculatorStatusResponse) ProtoMessage added in v0.44.0

func (*GetCalculatorStatusResponse) ProtoMessage()

func (*GetCalculatorStatusResponse) ProtoReflect added in v0.44.0

func (*GetCalculatorStatusResponse) Reset added in v0.44.0

func (x *GetCalculatorStatusResponse) Reset()

func (*GetCalculatorStatusResponse) String added in v0.44.0

func (x *GetCalculatorStatusResponse) String() string

type GetCalculatorStatusResponse_AwsStatus added in v0.46.0

type GetCalculatorStatusResponse_AwsStatus struct {

	// The queried month. Format is yyyy-mm.
	Month string `protobuf:"bytes,1,opt,name=month,proto3" json:"month,omitempty"`
	// List of accounts that are still actively processing.
	Active []*GetCalculatorStatusResponse_AwsStatus_Running `protobuf:"bytes,2,rep,name=active,proto3" json:"active,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCalculatorStatusResponse_AwsStatus) Descriptor deprecated added in v0.46.0

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

Deprecated: Use GetCalculatorStatusResponse_AwsStatus.ProtoReflect.Descriptor instead.

func (*GetCalculatorStatusResponse_AwsStatus) GetActive added in v0.58.4

func (*GetCalculatorStatusResponse_AwsStatus) GetMonth added in v0.47.0

func (*GetCalculatorStatusResponse_AwsStatus) ProtoMessage added in v0.46.0

func (*GetCalculatorStatusResponse_AwsStatus) ProtoMessage()

func (*GetCalculatorStatusResponse_AwsStatus) ProtoReflect added in v0.46.0

func (*GetCalculatorStatusResponse_AwsStatus) Reset added in v0.46.0

func (*GetCalculatorStatusResponse_AwsStatus) String added in v0.46.0

type GetCalculatorStatusResponse_AwsStatus_Running added in v0.58.4

type GetCalculatorStatusResponse_AwsStatus_Running struct {

	// The AWS account that is actively processing.
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// The date the account is processing for.
	Date string `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCalculatorStatusResponse_AwsStatus_Running) Descriptor deprecated added in v0.58.4

Deprecated: Use GetCalculatorStatusResponse_AwsStatus_Running.ProtoReflect.Descriptor instead.

func (*GetCalculatorStatusResponse_AwsStatus_Running) GetAccount added in v0.58.4

func (*GetCalculatorStatusResponse_AwsStatus_Running) GetDate added in v0.58.4

func (*GetCalculatorStatusResponse_AwsStatus_Running) ProtoMessage added in v0.58.4

func (*GetCalculatorStatusResponse_AwsStatus_Running) ProtoReflect added in v0.58.4

func (*GetCalculatorStatusResponse_AwsStatus_Running) Reset added in v0.58.4

func (*GetCalculatorStatusResponse_AwsStatus_Running) String added in v0.58.4

type GetCostReductionRequest added in v0.44.2

type GetCostReductionRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required. Organization Id.
	OrgId string `protobuf:"bytes,2,opt,name=orgId,proto3" json:"orgId,omitempty"`
	// Required. Valid values: 'all', 'reservation', 'savingsplan'
	ReductionDisplay string `protobuf:"bytes,3,opt,name=reductionDisplay,proto3" json:"reductionDisplay,omitempty"`
	// Optional. If set to "true", details of the RI or SP list is returned.
	// Default: false
	IncludeDetails bool `protobuf:"varint,4,opt,name=includeDetails,proto3" json:"includeDetails,omitempty"`
	// Optional. The start date of the displayed data. If not set, the first day of the
	// current month will be used. Format: yyyy-mm-dd.
	FromDate string `protobuf:"bytes,5,opt,name=fromDate,proto3" json:"fromDate,omitempty"`
	// Optional. The end date of the displayed data. If not set, current date will be
	// used. Format: yyyy-mm-dd.
	ToDate string `protobuf:"bytes,6,opt,name=toDate,proto3" json:"toDate,omitempty"`
	// Optional. Payer Id.
	PayerId string `protobuf:"bytes,7,opt,name=payerId,proto3" json:"payerId,omitempty"`
	// Optional. Billing group Id.
	BillingInternalId string `protobuf:"bytes,8,opt,name=billingInternalId,proto3" json:"billingInternalId,omitempty"`
	// Optional. Account group Id.
	GroupId string `protobuf:"bytes,9,opt,name=groupId,proto3" json:"groupId,omitempty"`
	// Optional. List of Account Ids.
	Accounts []string `protobuf:"bytes,10,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// Optional. List of services.
	Services []string `protobuf:"bytes,11,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetCostReduction

func (*GetCostReductionRequest) Descriptor deprecated added in v0.44.2

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

Deprecated: Use GetCostReductionRequest.ProtoReflect.Descriptor instead.

func (*GetCostReductionRequest) GetAccounts added in v0.44.2

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

func (*GetCostReductionRequest) GetBillingInternalId added in v0.51.7

func (x *GetCostReductionRequest) GetBillingInternalId() string

func (*GetCostReductionRequest) GetFromDate added in v0.45.3

func (x *GetCostReductionRequest) GetFromDate() string

func (*GetCostReductionRequest) GetGroupId added in v0.44.2

func (x *GetCostReductionRequest) GetGroupId() string

func (*GetCostReductionRequest) GetIncludeDetails added in v0.47.2

func (x *GetCostReductionRequest) GetIncludeDetails() bool

func (*GetCostReductionRequest) GetOrgId added in v0.44.2

func (x *GetCostReductionRequest) GetOrgId() string

func (*GetCostReductionRequest) GetPayerId added in v0.44.2

func (x *GetCostReductionRequest) GetPayerId() string

func (*GetCostReductionRequest) GetReductionDisplay added in v0.44.2

func (x *GetCostReductionRequest) GetReductionDisplay() string

func (*GetCostReductionRequest) GetServices added in v0.44.2

func (x *GetCostReductionRequest) GetServices() []string

func (*GetCostReductionRequest) GetToDate added in v0.45.3

func (x *GetCostReductionRequest) GetToDate() string

func (*GetCostReductionRequest) GetVendor added in v0.44.2

func (x *GetCostReductionRequest) GetVendor() string

func (*GetCostReductionRequest) ProtoMessage added in v0.44.2

func (*GetCostReductionRequest) ProtoMessage()

func (*GetCostReductionRequest) ProtoReflect added in v0.44.2

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

func (*GetCostReductionRequest) Reset added in v0.44.2

func (x *GetCostReductionRequest) Reset()

func (*GetCostReductionRequest) String added in v0.44.2

func (x *GetCostReductionRequest) String() string

type GetCostReductionResponse added in v0.44.2

type GetCostReductionResponse struct {
	OrgId             string                 `protobuf:"bytes,1,opt,name=orgId,proto3" json:"orgId,omitempty"`
	AwsCostReductions *aws.AwsCostReductions `protobuf:"bytes,2,opt,name=awsCostReductions,proto3" json:"awsCostReductions,omitempty"`
	// contains filtered or unexported fields
}

Response message for GetCostReduction

func (*GetCostReductionResponse) Descriptor deprecated added in v0.44.2

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

Deprecated: Use GetCostReductionResponse.ProtoReflect.Descriptor instead.

func (*GetCostReductionResponse) GetAwsCostReductions added in v0.44.2

func (x *GetCostReductionResponse) GetAwsCostReductions() *aws.AwsCostReductions

func (*GetCostReductionResponse) GetOrgId added in v0.44.2

func (x *GetCostReductionResponse) GetOrgId() string

func (*GetCostReductionResponse) ProtoMessage added in v0.44.2

func (*GetCostReductionResponse) ProtoMessage()

func (*GetCostReductionResponse) ProtoReflect added in v0.44.2

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

func (*GetCostReductionResponse) Reset added in v0.44.2

func (x *GetCostReductionResponse) Reset()

func (*GetCostReductionResponse) String added in v0.44.2

func (x *GetCostReductionResponse) String() string

type GetCoverageOndemandRequest added in v0.51.5

type GetCoverageOndemandRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required. Organization Id.
	OrgId string `protobuf:"bytes,2,opt,name=orgId,proto3" json:"orgId,omitempty"`
	// Required. Available values: day, hour
	Period string `protobuf:"bytes,3,opt,name=period,proto3" json:"period,omitempty"`
	// Optional. The start date of the displayed data. If not set, the first day of the
	// current month will be used. Format: yyyy-mm-dd.
	FromDate string `protobuf:"bytes,4,opt,name=fromDate,proto3" json:"fromDate,omitempty"`
	// Optional. The end date of the displayed data. If not set, current date will be
	// used. Format: yyyy-mm-dd.
	ToDate string `protobuf:"bytes,5,opt,name=toDate,proto3" json:"toDate,omitempty"`
	// Optional. Payer Id.
	PayerId string `protobuf:"bytes,6,opt,name=payerId,proto3" json:"payerId,omitempty"`
	// Optional. Billing group Id.
	BillingInternalId string `protobuf:"bytes,7,opt,name=billingInternalId,proto3" json:"billingInternalId,omitempty"`
	// Optional. Account group Id.
	GroupId string `protobuf:"bytes,8,opt,name=groupId,proto3" json:"groupId,omitempty"`
	// Optional. List of Account Ids.
	Accounts []string `protobuf:"bytes,9,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// Optional. List of services.
	Services []string `protobuf:"bytes,10,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetCoverageOndemand

func (*GetCoverageOndemandRequest) Descriptor deprecated added in v0.51.5

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

Deprecated: Use GetCoverageOndemandRequest.ProtoReflect.Descriptor instead.

func (*GetCoverageOndemandRequest) GetAccounts added in v0.51.5

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

func (*GetCoverageOndemandRequest) GetBillingInternalId added in v0.51.5

func (x *GetCoverageOndemandRequest) GetBillingInternalId() string

func (*GetCoverageOndemandRequest) GetFromDate added in v0.51.5

func (x *GetCoverageOndemandRequest) GetFromDate() string

func (*GetCoverageOndemandRequest) GetGroupId added in v0.51.5

func (x *GetCoverageOndemandRequest) GetGroupId() string

func (*GetCoverageOndemandRequest) GetOrgId added in v0.51.5

func (x *GetCoverageOndemandRequest) GetOrgId() string

func (*GetCoverageOndemandRequest) GetPayerId added in v0.51.5

func (x *GetCoverageOndemandRequest) GetPayerId() string

func (*GetCoverageOndemandRequest) GetPeriod added in v0.51.5

func (x *GetCoverageOndemandRequest) GetPeriod() string

func (*GetCoverageOndemandRequest) GetServices added in v0.51.5

func (x *GetCoverageOndemandRequest) GetServices() []string

func (*GetCoverageOndemandRequest) GetToDate added in v0.51.5

func (x *GetCoverageOndemandRequest) GetToDate() string

func (*GetCoverageOndemandRequest) GetVendor added in v0.51.5

func (x *GetCoverageOndemandRequest) GetVendor() string

func (*GetCoverageOndemandRequest) ProtoMessage added in v0.51.5

func (*GetCoverageOndemandRequest) ProtoMessage()

func (*GetCoverageOndemandRequest) ProtoReflect added in v0.51.5

func (*GetCoverageOndemandRequest) Reset added in v0.51.5

func (x *GetCoverageOndemandRequest) Reset()

func (*GetCoverageOndemandRequest) String added in v0.51.5

func (x *GetCoverageOndemandRequest) String() string

type GetCoverageOndemandResponse added in v0.51.5

type GetCoverageOndemandResponse struct {
	OrgId        string              `protobuf:"bytes,1,opt,name=orgId,proto3" json:"orgId,omitempty"`
	OndemandData []*api.OndemandData `protobuf:"bytes,2,rep,name=ondemandData,proto3" json:"ondemandData,omitempty"`
	// contains filtered or unexported fields
}

Response message for GetCoverageOndemand

func (*GetCoverageOndemandResponse) Descriptor deprecated added in v0.51.5

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

Deprecated: Use GetCoverageOndemandResponse.ProtoReflect.Descriptor instead.

func (*GetCoverageOndemandResponse) GetOndemandData added in v0.51.5

func (x *GetCoverageOndemandResponse) GetOndemandData() []*api.OndemandData

func (*GetCoverageOndemandResponse) GetOrgId added in v0.51.5

func (x *GetCoverageOndemandResponse) GetOrgId() string

func (*GetCoverageOndemandResponse) ProtoMessage added in v0.51.5

func (*GetCoverageOndemandResponse) ProtoMessage()

func (*GetCoverageOndemandResponse) ProtoReflect added in v0.51.5

func (*GetCoverageOndemandResponse) Reset added in v0.51.5

func (x *GetCoverageOndemandResponse) Reset()

func (*GetCoverageOndemandResponse) String added in v0.51.5

func (x *GetCoverageOndemandResponse) String() string

type GetCoverageOptionsRequest added in v0.51.5

type GetCoverageOptionsRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required. Organization Id.
	OrgId string `protobuf:"bytes,2,opt,name=orgId,proto3" json:"orgId,omitempty"`
	// Required. Available values: day, hour
	Period string `protobuf:"bytes,3,opt,name=period,proto3" json:"period,omitempty"`
	// Optional. The start date of the displayed data. If not set, the first day of the
	// current month will be used. Format: yyyy-mm-dd.
	FromDate string `protobuf:"bytes,4,opt,name=fromDate,proto3" json:"fromDate,omitempty"`
	// Optional. The end date of the displayed data. If not set, current date will be
	// used. Format: yyyy-mm-dd.
	ToDate string `protobuf:"bytes,5,opt,name=toDate,proto3" json:"toDate,omitempty"`
	// Optional. Payer Id.
	PayerId string `protobuf:"bytes,6,opt,name=payerId,proto3" json:"payerId,omitempty"`
	// Optional. Billing group Id.
	BillingInternalId string `protobuf:"bytes,7,opt,name=billingInternalId,proto3" json:"billingInternalId,omitempty"`
	// Optional. Account group Id.
	GroupId string `protobuf:"bytes,8,opt,name=groupId,proto3" json:"groupId,omitempty"`
	// Optional. List of Account Ids.
	Accounts []string `protobuf:"bytes,9,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// Optional. List of services.
	Services []string `protobuf:"bytes,10,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetCoverageOptions

func (*GetCoverageOptionsRequest) Descriptor deprecated added in v0.51.5

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

Deprecated: Use GetCoverageOptionsRequest.ProtoReflect.Descriptor instead.

func (*GetCoverageOptionsRequest) GetAccounts added in v0.51.5

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

func (*GetCoverageOptionsRequest) GetBillingInternalId added in v0.51.5

func (x *GetCoverageOptionsRequest) GetBillingInternalId() string

func (*GetCoverageOptionsRequest) GetFromDate added in v0.51.5

func (x *GetCoverageOptionsRequest) GetFromDate() string

func (*GetCoverageOptionsRequest) GetGroupId added in v0.51.5

func (x *GetCoverageOptionsRequest) GetGroupId() string

func (*GetCoverageOptionsRequest) GetOrgId added in v0.51.5

func (x *GetCoverageOptionsRequest) GetOrgId() string

func (*GetCoverageOptionsRequest) GetPayerId added in v0.51.5

func (x *GetCoverageOptionsRequest) GetPayerId() string

func (*GetCoverageOptionsRequest) GetPeriod added in v0.51.5

func (x *GetCoverageOptionsRequest) GetPeriod() string

func (*GetCoverageOptionsRequest) GetServices added in v0.51.5

func (x *GetCoverageOptionsRequest) GetServices() []string

func (*GetCoverageOptionsRequest) GetToDate added in v0.51.5

func (x *GetCoverageOptionsRequest) GetToDate() string

func (*GetCoverageOptionsRequest) GetVendor added in v0.51.5

func (x *GetCoverageOptionsRequest) GetVendor() string

func (*GetCoverageOptionsRequest) ProtoMessage added in v0.51.5

func (*GetCoverageOptionsRequest) ProtoMessage()

func (*GetCoverageOptionsRequest) ProtoReflect added in v0.51.5

func (*GetCoverageOptionsRequest) Reset added in v0.51.5

func (x *GetCoverageOptionsRequest) Reset()

func (*GetCoverageOptionsRequest) String added in v0.51.5

func (x *GetCoverageOptionsRequest) String() string

type GetCoverageOptionsResponse added in v0.51.5

type GetCoverageOptionsResponse struct {
	OrgId       string             `protobuf:"bytes,1,opt,name=orgId,proto3" json:"orgId,omitempty"`
	OptionsData []*api.OptionsData `protobuf:"bytes,2,rep,name=optionsData,proto3" json:"optionsData,omitempty"`
	// contains filtered or unexported fields
}

Response message for GetCoverageOptions

func (*GetCoverageOptionsResponse) Descriptor deprecated added in v0.51.5

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

Deprecated: Use GetCoverageOptionsResponse.ProtoReflect.Descriptor instead.

func (*GetCoverageOptionsResponse) GetOptionsData added in v0.51.5

func (x *GetCoverageOptionsResponse) GetOptionsData() []*api.OptionsData

func (*GetCoverageOptionsResponse) GetOrgId added in v0.51.5

func (x *GetCoverageOptionsResponse) GetOrgId() string

func (*GetCoverageOptionsResponse) ProtoMessage added in v0.51.5

func (*GetCoverageOptionsResponse) ProtoMessage()

func (*GetCoverageOptionsResponse) ProtoReflect added in v0.51.5

func (*GetCoverageOptionsResponse) Reset added in v0.51.5

func (x *GetCoverageOptionsResponse) Reset()

func (*GetCoverageOptionsResponse) String added in v0.51.5

func (x *GetCoverageOptionsResponse) String() string

type GetForecastsRequest added in v0.17.0

type GetForecastsRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Optional. Company Id of Billing Group to retrieve.
	// Default value is user's Company Id
	BillingInternalId string `protobuf:"bytes,2,opt,name=billingInternalId,proto3" json:"billingInternalId,omitempty"`
	// Optional. Forecast frequency. Valid values are `daily` and `monthly`.
	// Default value is `daily`.
	Frequency string `protobuf:"bytes,3,opt,name=frequency,proto3" json:"frequency,omitempty"`
	// Optional. Forecast granularity. Valid values are `account`, `category` and `product`.
	// Default value is `account`.
	Level string `protobuf:"bytes,4,opt,name=level,proto3" json:"level,omitempty"`
	// Optional. Start date to get cost forecast.
	// If from_date is less than current date, historical costs are included.
	// If from_date is greater than current date, only forecasted costs are returned.
	// Format: `yyyy-mm-dd`.
	FromDate string `protobuf:"bytes,5,opt,name=fromDate,proto3" json:"fromDate,omitempty"`
	// Optional. End date to get cost forecast.
	// Currently, we only support 90 days forecasting from the first day of current month.
	// Format: `yyyy-mm-dd`.
	ToDate string `protobuf:"bytes,6,opt,name=toDate,proto3" json:"toDate,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetForecasts per billing group.

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

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

Deprecated: Use GetForecastsRequest.ProtoReflect.Descriptor instead.

func (*GetForecastsRequest) GetBillingInternalId added in v0.51.7

func (x *GetForecastsRequest) GetBillingInternalId() string

func (*GetForecastsRequest) GetFrequency added in v0.17.0

func (x *GetForecastsRequest) GetFrequency() string

func (*GetForecastsRequest) GetFromDate added in v0.17.0

func (x *GetForecastsRequest) GetFromDate() string

func (*GetForecastsRequest) GetLevel added in v0.17.0

func (x *GetForecastsRequest) GetLevel() string

func (*GetForecastsRequest) GetToDate added in v0.17.0

func (x *GetForecastsRequest) GetToDate() string

func (*GetForecastsRequest) GetVendor added in v0.17.0

func (x *GetForecastsRequest) GetVendor() string

func (*GetForecastsRequest) ProtoMessage added in v0.17.0

func (*GetForecastsRequest) ProtoMessage()

func (*GetForecastsRequest) ProtoReflect added in v0.17.0

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

func (*GetForecastsRequest) Reset added in v0.17.0

func (x *GetForecastsRequest) Reset()

func (*GetForecastsRequest) String added in v0.17.0

func (x *GetForecastsRequest) String() string

type GetForecastsResponse added in v0.17.0

type GetForecastsResponse struct {
	Data *api.BillingGroupForecast `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

Response message for GetForecasts per billing group.

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

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

Deprecated: Use GetForecastsResponse.ProtoReflect.Descriptor instead.

func (*GetForecastsResponse) GetData added in v0.17.0

func (*GetForecastsResponse) ProtoMessage added in v0.17.0

func (*GetForecastsResponse) ProtoMessage()

func (*GetForecastsResponse) ProtoReflect added in v0.17.0

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

func (*GetForecastsResponse) Reset added in v0.17.0

func (x *GetForecastsResponse) Reset()

func (*GetForecastsResponse) String added in v0.17.0

func (x *GetForecastsResponse) String() string

type GetMonthOnMonthCostForecastRequest added in v0.35.5

type GetMonthOnMonthCostForecastRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required. 'account' or 'acctgroup'
	Level string `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"`
	// Required. Account or AccountGroup Id
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	//Optional. Default is current month.
	//Format: yyyymm
	Date string `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetMonthOnMonthCostForecast

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

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

Deprecated: Use GetMonthOnMonthCostForecastRequest.ProtoReflect.Descriptor instead.

func (*GetMonthOnMonthCostForecastRequest) GetDate added in v0.35.23

func (*GetMonthOnMonthCostForecastRequest) GetId added in v0.35.5

func (*GetMonthOnMonthCostForecastRequest) GetLevel added in v0.35.5

func (*GetMonthOnMonthCostForecastRequest) GetVendor added in v0.35.5

func (*GetMonthOnMonthCostForecastRequest) ProtoMessage added in v0.35.5

func (*GetMonthOnMonthCostForecastRequest) ProtoMessage()

func (*GetMonthOnMonthCostForecastRequest) ProtoReflect added in v0.35.5

func (*GetMonthOnMonthCostForecastRequest) Reset added in v0.35.5

func (*GetMonthOnMonthCostForecastRequest) String added in v0.35.5

type GetMonthOnMonthCostForecastResponse added in v0.35.5

type GetMonthOnMonthCostForecastResponse struct {
	Id        string                          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Data      []*api.MonthOnMonthCostForecast `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	Timestamp string                          `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

Response message for GetMonthOnMonthCostForecast

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

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

Deprecated: Use GetMonthOnMonthCostForecastResponse.ProtoReflect.Descriptor instead.

func (*GetMonthOnMonthCostForecastResponse) GetData added in v0.35.5

func (*GetMonthOnMonthCostForecastResponse) GetId added in v0.35.5

func (*GetMonthOnMonthCostForecastResponse) GetTimestamp added in v0.35.23

func (x *GetMonthOnMonthCostForecastResponse) GetTimestamp() string

func (*GetMonthOnMonthCostForecastResponse) ProtoMessage added in v0.35.5

func (*GetMonthOnMonthCostForecastResponse) ProtoMessage()

func (*GetMonthOnMonthCostForecastResponse) ProtoReflect added in v0.35.5

func (*GetMonthOnMonthCostForecastResponse) Reset added in v0.35.5

func (*GetMonthOnMonthCostForecastResponse) String added in v0.35.5

type GetMonthToDateCostForecastRequest added in v0.35.5

type GetMonthToDateCostForecastRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required. 'account' or 'acctgroup'
	Level string `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"`
	// Required. Account or AccountGroup Id
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	//Optional. Default is current month.
	//Format: yyyymm
	Date string `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetMonthToDateCostForecast

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

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

Deprecated: Use GetMonthToDateCostForecastRequest.ProtoReflect.Descriptor instead.

func (*GetMonthToDateCostForecastRequest) GetDate added in v0.35.23

func (*GetMonthToDateCostForecastRequest) GetId added in v0.35.5

func (*GetMonthToDateCostForecastRequest) GetLevel added in v0.35.5

func (*GetMonthToDateCostForecastRequest) GetVendor added in v0.35.5

func (*GetMonthToDateCostForecastRequest) ProtoMessage added in v0.35.5

func (*GetMonthToDateCostForecastRequest) ProtoMessage()

func (*GetMonthToDateCostForecastRequest) ProtoReflect added in v0.35.5

func (*GetMonthToDateCostForecastRequest) Reset added in v0.35.5

func (*GetMonthToDateCostForecastRequest) String added in v0.35.5

type GetMonthToDateCostForecastResponse added in v0.35.5

type GetMonthToDateCostForecastResponse struct {
	Id        string                         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Budget    float64                        `protobuf:"fixed64,2,opt,name=budget,proto3" json:"budget,omitempty"`
	Data      []*api.MonthToDateCostForecast `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"`
	Timestamp string                         `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

Response message for GetMonthToDateCostForecast

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

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

Deprecated: Use GetMonthToDateCostForecastResponse.ProtoReflect.Descriptor instead.

func (*GetMonthToDateCostForecastResponse) GetBudget added in v0.35.7

func (*GetMonthToDateCostForecastResponse) GetData added in v0.35.5

func (*GetMonthToDateCostForecastResponse) GetId added in v0.35.5

func (*GetMonthToDateCostForecastResponse) GetTimestamp added in v0.35.23

func (x *GetMonthToDateCostForecastResponse) GetTimestamp() string

func (*GetMonthToDateCostForecastResponse) ProtoMessage added in v0.35.5

func (*GetMonthToDateCostForecastResponse) ProtoMessage()

func (*GetMonthToDateCostForecastResponse) ProtoReflect added in v0.35.5

func (*GetMonthToDateCostForecastResponse) Reset added in v0.35.5

func (*GetMonthToDateCostForecastResponse) String added in v0.35.5

type GetMonthlyCostForecastRequest added in v0.35.5

type GetMonthlyCostForecastRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required. 'account' or 'acctgroup'
	Level string `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"`
	// Required. Account or AccountGroup Id
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// Optional. Start month to get cost forecast.
	// Format: `yyyymm`.
	FromDate string `protobuf:"bytes,4,opt,name=fromDate,proto3" json:"fromDate,omitempty"`
	// Optional. Last month to get cost forecast.
	// Format: `yyyymm`.
	ToDate string `protobuf:"bytes,5,opt,name=toDate,proto3" json:"toDate,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetMonthlyCostForecast

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

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

Deprecated: Use GetMonthlyCostForecastRequest.ProtoReflect.Descriptor instead.

func (*GetMonthlyCostForecastRequest) GetFromDate added in v0.35.5

func (x *GetMonthlyCostForecastRequest) GetFromDate() string

func (*GetMonthlyCostForecastRequest) GetId added in v0.35.5

func (*GetMonthlyCostForecastRequest) GetLevel added in v0.35.5

func (x *GetMonthlyCostForecastRequest) GetLevel() string

func (*GetMonthlyCostForecastRequest) GetToDate added in v0.35.5

func (x *GetMonthlyCostForecastRequest) GetToDate() string

func (*GetMonthlyCostForecastRequest) GetVendor added in v0.35.5

func (x *GetMonthlyCostForecastRequest) GetVendor() string

func (*GetMonthlyCostForecastRequest) ProtoMessage added in v0.35.5

func (*GetMonthlyCostForecastRequest) ProtoMessage()

func (*GetMonthlyCostForecastRequest) ProtoReflect added in v0.35.5

func (*GetMonthlyCostForecastRequest) Reset added in v0.35.5

func (x *GetMonthlyCostForecastRequest) Reset()

func (*GetMonthlyCostForecastRequest) String added in v0.35.5

type GetMonthlyCostForecastResponse added in v0.35.5

type GetMonthlyCostForecastResponse struct {
	Id        string                     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Data      []*api.MonthlyCostForecast `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	Timestamp string                     `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

Response message for GetMonthlyCostForecast

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

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

Deprecated: Use GetMonthlyCostForecastResponse.ProtoReflect.Descriptor instead.

func (*GetMonthlyCostForecastResponse) GetData added in v0.35.5

func (*GetMonthlyCostForecastResponse) GetId added in v0.35.5

func (*GetMonthlyCostForecastResponse) GetTimestamp added in v0.35.23

func (x *GetMonthlyCostForecastResponse) GetTimestamp() string

func (*GetMonthlyCostForecastResponse) ProtoMessage added in v0.35.5

func (*GetMonthlyCostForecastResponse) ProtoMessage()

func (*GetMonthlyCostForecastResponse) ProtoReflect added in v0.35.5

func (*GetMonthlyCostForecastResponse) Reset added in v0.35.5

func (x *GetMonthlyCostForecastResponse) Reset()

func (*GetMonthlyCostForecastResponse) String added in v0.35.5

type GetPayerAccountImportHistoryRequest added in v0.32.0

type GetPayerAccountImportHistoryRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required. The account id to query. Could be `*`, which implies all payers.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Optional. The UTC month to query. If empty, defaults to current month.
	// Format is `yyyymm`. For example, June 2021 will be `202106`.
	Month string `protobuf:"bytes,3,opt,name=month,proto3" json:"month,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Cost.GetPayerAccountImportHistory rpc.

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

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

Deprecated: Use GetPayerAccountImportHistoryRequest.ProtoReflect.Descriptor instead.

func (*GetPayerAccountImportHistoryRequest) GetId added in v0.32.0

func (*GetPayerAccountImportHistoryRequest) GetMonth added in v0.32.0

func (*GetPayerAccountImportHistoryRequest) GetVendor added in v0.32.0

func (*GetPayerAccountImportHistoryRequest) ProtoMessage added in v0.32.0

func (*GetPayerAccountImportHistoryRequest) ProtoMessage()

func (*GetPayerAccountImportHistoryRequest) ProtoReflect added in v0.32.0

func (*GetPayerAccountImportHistoryRequest) Reset added in v0.32.0

func (*GetPayerAccountImportHistoryRequest) String added in v0.32.0

type GetPayerAccountImportHistoryResponse added in v0.32.0

type GetPayerAccountImportHistoryResponse struct {

	// The queried account id.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The queried UTC month.
	Month string `protobuf:"bytes,2,opt,name=month,proto3" json:"month,omitempty"`
	// List of timestamps in RFC3339 format with the `T` separator.
	// Example: `2019-10-12T07:20:50.52Z`
	Timestamps []string `protobuf:"bytes,3,rep,name=timestamps,proto3" json:"timestamps,omitempty"`
	// contains filtered or unexported fields
}

Response message for the Cost.GetPayerAccountImportHistory rpc.

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

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

Deprecated: Use GetPayerAccountImportHistoryResponse.ProtoReflect.Descriptor instead.

func (*GetPayerAccountImportHistoryResponse) GetId added in v0.32.0

func (*GetPayerAccountImportHistoryResponse) GetMonth added in v0.32.0

func (*GetPayerAccountImportHistoryResponse) GetTimestamps added in v0.32.0

func (x *GetPayerAccountImportHistoryResponse) GetTimestamps() []string

func (*GetPayerAccountImportHistoryResponse) ProtoMessage added in v0.32.0

func (*GetPayerAccountImportHistoryResponse) ProtoMessage()

func (*GetPayerAccountImportHistoryResponse) ProtoReflect added in v0.32.0

func (*GetPayerAccountImportHistoryResponse) Reset added in v0.32.0

func (*GetPayerAccountImportHistoryResponse) String added in v0.32.0

type GetPayerAccountRequest added in v0.32.0

type GetPayerAccountRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required. The id of the account to get.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Cost.GetPayerAccount rpc.

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

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

Deprecated: Use GetPayerAccountRequest.ProtoReflect.Descriptor instead.

func (*GetPayerAccountRequest) GetId added in v0.32.0

func (x *GetPayerAccountRequest) GetId() string

func (*GetPayerAccountRequest) GetVendor added in v0.32.0

func (x *GetPayerAccountRequest) GetVendor() string

func (*GetPayerAccountRequest) ProtoMessage added in v0.32.0

func (*GetPayerAccountRequest) ProtoMessage()

func (*GetPayerAccountRequest) ProtoReflect added in v0.32.0

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

func (*GetPayerAccountRequest) Reset added in v0.32.0

func (x *GetPayerAccountRequest) Reset()

func (*GetPayerAccountRequest) String added in v0.32.0

func (x *GetPayerAccountRequest) String() string

type GetRecommendationsRequest added in v0.43.0

type GetRecommendationsRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required. Organization Id.
	OrgId string `protobuf:"bytes,2,opt,name=orgId,proto3" json:"orgId,omitempty"`
	// Required. List of Account Ids.
	Accounts []string `protobuf:"bytes,3,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// Required if vendor = 'aws'
	AwsOptions *GetRecommendationsRequestAwsOptions `protobuf:"bytes,4,opt,name=awsOptions,proto3" json:"awsOptions,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetRecommendations

func (*GetRecommendationsRequest) Descriptor deprecated added in v0.43.0

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

Deprecated: Use GetRecommendationsRequest.ProtoReflect.Descriptor instead.

func (*GetRecommendationsRequest) GetAccounts added in v0.43.0

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

func (*GetRecommendationsRequest) GetAwsOptions added in v0.43.0

func (*GetRecommendationsRequest) GetOrgId added in v0.43.0

func (x *GetRecommendationsRequest) GetOrgId() string

func (*GetRecommendationsRequest) GetVendor added in v0.43.0

func (x *GetRecommendationsRequest) GetVendor() string

func (*GetRecommendationsRequest) ProtoMessage added in v0.43.0

func (*GetRecommendationsRequest) ProtoMessage()

func (*GetRecommendationsRequest) ProtoReflect added in v0.43.0

func (*GetRecommendationsRequest) Reset added in v0.43.0

func (x *GetRecommendationsRequest) Reset()

func (*GetRecommendationsRequest) String added in v0.43.0

func (x *GetRecommendationsRequest) String() string

type GetRecommendationsRequestAwsOptions added in v0.43.0

type GetRecommendationsRequestAwsOptions struct {

	// Required. Valid values: 'reservation', 'rightsizing', 'scheduling'
	// Only 'reservation' is supported for now.
	RecommendationType string `protobuf:"bytes,1,opt,name=recommendationType,proto3" json:"recommendationType,omitempty"`
	// For recommendationType = 'reservation'
	// Optional. Valid values: 'combined', 'individual'
	// Default: 'combined'
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// For recommendationType = 'reservation'
	// Optional. List of Services ["AmazonEC2", "AmazonRDS", "AmazonElastiCache", "AmazonES", "AmazonRedshift"]
	// Default: Empty list
	RiServices []string `protobuf:"bytes,3,rep,name=riServices,proto3" json:"riServices,omitempty"`
	// For recommendationType = 'reservation'
	// Optional. List of Services ["AmazonECS", "AmazonEKS", "AWSLambda"]
	// Default: Empty list
	SpServices []string `protobuf:"bytes,4,rep,name=spServices,proto3" json:"spServices,omitempty"`
	// For recommendationType = 'reservation'
	// Optional. If set to "true", recommends EC2 Instance Savings Plan that will cover usage not covered by RI
	// Default: false
	PurchaseEC2SavingsPlan bool `protobuf:"varint,5,opt,name=purchaseEC2SavingsPlan,proto3" json:"purchaseEC2SavingsPlan,omitempty"`
	// For recommendationType = 'reservation'
	// Optional. Valid values: '1yr', '3yr'
	// Default: '1yr'
	Term string `protobuf:"bytes,6,opt,name=term,proto3" json:"term,omitempty"`
	// For recommendationType = 'reservation'
	// Optional. Valid values: 'standard', 'convertible'
	// Default: 'standard'
	OfferingClass string `protobuf:"bytes,7,opt,name=offeringClass,proto3" json:"offeringClass,omitempty"`
	// For recommendationType = 'reservation'
	// Optional. Valid values: 'allUpfront', 'partialUpfront', 'noUpfront'
	// Default: 'allUpfront'
	PaymentOption string `protobuf:"bytes,8,opt,name=paymentOption,proto3" json:"paymentOption,omitempty"`
	// For recommendationType = 'reservation'
	// Optional. Percentage of the usage (in NormalizedUnits) to be covered by Reserved Instance or Savings Plan
	// Default: 100
	CoveragePercentage float64 `protobuf:"fixed64,9,opt,name=coveragePercentage,proto3" json:"coveragePercentage,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRecommendationsRequestAwsOptions) Descriptor deprecated added in v0.43.0

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

Deprecated: Use GetRecommendationsRequestAwsOptions.ProtoReflect.Descriptor instead.

func (*GetRecommendationsRequestAwsOptions) GetCoveragePercentage added in v0.45.2

func (x *GetRecommendationsRequestAwsOptions) GetCoveragePercentage() float64

func (*GetRecommendationsRequestAwsOptions) GetOfferingClass added in v0.43.0

func (x *GetRecommendationsRequestAwsOptions) GetOfferingClass() string

func (*GetRecommendationsRequestAwsOptions) GetPaymentOption added in v0.43.0

func (x *GetRecommendationsRequestAwsOptions) GetPaymentOption() string

func (*GetRecommendationsRequestAwsOptions) GetPurchaseEC2SavingsPlan added in v0.45.2

func (x *GetRecommendationsRequestAwsOptions) GetPurchaseEC2SavingsPlan() bool

func (*GetRecommendationsRequestAwsOptions) GetRecommendationType added in v0.43.0

func (x *GetRecommendationsRequestAwsOptions) GetRecommendationType() string

func (*GetRecommendationsRequestAwsOptions) GetRiServices added in v0.45.2

func (x *GetRecommendationsRequestAwsOptions) GetRiServices() []string

func (*GetRecommendationsRequestAwsOptions) GetSpServices added in v0.45.2

func (x *GetRecommendationsRequestAwsOptions) GetSpServices() []string

func (*GetRecommendationsRequestAwsOptions) GetTerm added in v0.43.0

func (*GetRecommendationsRequestAwsOptions) GetType added in v0.43.0

func (*GetRecommendationsRequestAwsOptions) ProtoMessage added in v0.43.0

func (*GetRecommendationsRequestAwsOptions) ProtoMessage()

func (*GetRecommendationsRequestAwsOptions) ProtoReflect added in v0.43.0

func (*GetRecommendationsRequestAwsOptions) Reset added in v0.43.0

func (*GetRecommendationsRequestAwsOptions) String added in v0.43.0

type GetRecommendationsResponse added in v0.43.0

type GetRecommendationsResponse struct {
	OrgId              string                  `protobuf:"bytes,1,opt,name=orgId,proto3" json:"orgId,omitempty"`
	AwsRecommendations *aws.AwsRecommendations `protobuf:"bytes,2,opt,name=awsRecommendations,proto3" json:"awsRecommendations,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetRecommendations

func (*GetRecommendationsResponse) Descriptor deprecated added in v0.43.0

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

Deprecated: Use GetRecommendationsResponse.ProtoReflect.Descriptor instead.

func (*GetRecommendationsResponse) GetAwsRecommendations added in v0.43.0

func (x *GetRecommendationsResponse) GetAwsRecommendations() *aws.AwsRecommendations

func (*GetRecommendationsResponse) GetOrgId added in v0.43.0

func (x *GetRecommendationsResponse) GetOrgId() string

func (*GetRecommendationsResponse) ProtoMessage added in v0.43.0

func (*GetRecommendationsResponse) ProtoMessage()

func (*GetRecommendationsResponse) ProtoReflect added in v0.43.0

func (*GetRecommendationsResponse) Reset added in v0.43.0

func (x *GetRecommendationsResponse) Reset()

func (*GetRecommendationsResponse) String added in v0.43.0

func (x *GetRecommendationsResponse) String() string

type GetUtilizationRequest added in v0.49.5

type GetUtilizationRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required. Organization Id.
	OrgId string `protobuf:"bytes,2,opt,name=orgId,proto3" json:"orgId,omitempty"`
	// Required. For AWS, "ri" or "sp".
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// Optional. The start date of the displayed data. If not set, the first day of the
	// current month will be used. Format: yyyy-mm-dd.
	FromDate string `protobuf:"bytes,4,opt,name=fromDate,proto3" json:"fromDate,omitempty"`
	// Optional. The end date of the displayed data. If not set, current date will be
	// used. Format: yyyy-mm-dd.
	ToDate string `protobuf:"bytes,5,opt,name=toDate,proto3" json:"toDate,omitempty"`
	// Optional. Payer Id.
	PayerId string `protobuf:"bytes,6,opt,name=payerId,proto3" json:"payerId,omitempty"`
	// Optional. Billing group Id.
	BillingInternalId string `protobuf:"bytes,7,opt,name=billingInternalId,proto3" json:"billingInternalId,omitempty"`
	// Optional. Account group Id.
	GroupId string `protobuf:"bytes,8,opt,name=groupId,proto3" json:"groupId,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetUtilization

func (*GetUtilizationRequest) Descriptor deprecated added in v0.49.5

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

Deprecated: Use GetUtilizationRequest.ProtoReflect.Descriptor instead.

func (*GetUtilizationRequest) GetBillingInternalId added in v0.49.5

func (x *GetUtilizationRequest) GetBillingInternalId() string

func (*GetUtilizationRequest) GetFromDate added in v0.49.5

func (x *GetUtilizationRequest) GetFromDate() string

func (*GetUtilizationRequest) GetGroupId added in v0.49.5

func (x *GetUtilizationRequest) GetGroupId() string

func (*GetUtilizationRequest) GetOrgId added in v0.49.5

func (x *GetUtilizationRequest) GetOrgId() string

func (*GetUtilizationRequest) GetPayerId added in v0.49.5

func (x *GetUtilizationRequest) GetPayerId() string

func (*GetUtilizationRequest) GetToDate added in v0.49.5

func (x *GetUtilizationRequest) GetToDate() string

func (*GetUtilizationRequest) GetType added in v0.49.5

func (x *GetUtilizationRequest) GetType() string

func (*GetUtilizationRequest) GetVendor added in v0.49.5

func (x *GetUtilizationRequest) GetVendor() string

func (*GetUtilizationRequest) ProtoMessage added in v0.49.5

func (*GetUtilizationRequest) ProtoMessage()

func (*GetUtilizationRequest) ProtoReflect added in v0.49.5

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

func (*GetUtilizationRequest) Reset added in v0.49.5

func (x *GetUtilizationRequest) Reset()

func (*GetUtilizationRequest) String added in v0.49.5

func (x *GetUtilizationRequest) String() string

type GetUtilizationResponse added in v0.49.5

type GetUtilizationResponse struct {
	OrgId           string                 `protobuf:"bytes,1,opt,name=orgId,proto3" json:"orgId,omitempty"`
	UtilizationData []*api.UtilizationData `protobuf:"bytes,2,rep,name=utilizationData,proto3" json:"utilizationData,omitempty"`
	// contains filtered or unexported fields
}

Response message for GetUtilization

func (*GetUtilizationResponse) Descriptor deprecated added in v0.49.5

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

Deprecated: Use GetUtilizationResponse.ProtoReflect.Descriptor instead.

func (*GetUtilizationResponse) GetOrgId added in v0.49.5

func (x *GetUtilizationResponse) GetOrgId() string

func (*GetUtilizationResponse) GetUtilizationData added in v0.51.1

func (x *GetUtilizationResponse) GetUtilizationData() []*api.UtilizationData

func (*GetUtilizationResponse) ProtoMessage added in v0.49.5

func (*GetUtilizationResponse) ProtoMessage()

func (*GetUtilizationResponse) ProtoReflect added in v0.49.5

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

func (*GetUtilizationResponse) Reset added in v0.49.5

func (x *GetUtilizationResponse) Reset()

func (*GetUtilizationResponse) String added in v0.49.5

func (x *GetUtilizationResponse) String() string

type GrpcClient

type GrpcClient struct {
	CostClient
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context, opts ...*ClientOptions) (*GrpcClient, error)

NewClient returns a client connection to the 'cost' service.

func (*GrpcClient) Close

func (c *GrpcClient) Close()

type ImportCurFilesRequest added in v0.10.2

type ImportCurFilesRequest struct {

	// Optional. The UTC month to import. If empty, it defaults to the current month.
	// Format is `yyyymm`. For example, June 2021 will be `202106`.
	Month string `protobuf:"bytes,1,opt,name=month,proto3" json:"month,omitempty"`
	// Optional. A comma-separated list of management accounts to import. If empty,
	// all CURs associated with all your management accounts will be imported.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Cost.ImportCurFiles rpc.

func (*ImportCurFilesRequest) Descriptor deprecated added in v0.10.2

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

Deprecated: Use ImportCurFilesRequest.ProtoReflect.Descriptor instead.

func (*ImportCurFilesRequest) GetFilter added in v0.10.2

func (x *ImportCurFilesRequest) GetFilter() string

func (*ImportCurFilesRequest) GetMonth added in v0.10.2

func (x *ImportCurFilesRequest) GetMonth() string

func (*ImportCurFilesRequest) ProtoMessage added in v0.10.2

func (*ImportCurFilesRequest) ProtoMessage()

func (*ImportCurFilesRequest) ProtoReflect added in v0.10.2

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

func (*ImportCurFilesRequest) Reset added in v0.10.2

func (x *ImportCurFilesRequest) Reset()

func (*ImportCurFilesRequest) String added in v0.10.2

func (x *ImportCurFilesRequest) String() string

type ListAccountsRequest added in v0.29.0

type ListAccountsRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Cost.ListAccounts rpc.

func (*ListAccountsRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use ListAccountsRequest.ProtoReflect.Descriptor instead.

func (*ListAccountsRequest) GetVendor added in v0.29.0

func (x *ListAccountsRequest) GetVendor() string

func (*ListAccountsRequest) ProtoMessage added in v0.29.0

func (*ListAccountsRequest) ProtoMessage()

func (*ListAccountsRequest) ProtoReflect added in v0.29.0

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

func (*ListAccountsRequest) Reset added in v0.29.0

func (x *ListAccountsRequest) Reset()

func (*ListAccountsRequest) String added in v0.29.0

func (x *ListAccountsRequest) String() string

type ListCalculationsHistoryAwsResponse added in v0.35.1

type ListCalculationsHistoryAwsResponse struct {
	Operations []*api.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	// contains filtered or unexported fields
}

AWS-specific response message for the Cost.ListCalculationsHistory rpc. Should be compatible with the Operations API.

func (*ListCalculationsHistoryAwsResponse) Descriptor deprecated added in v0.35.1

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

Deprecated: Use ListCalculationsHistoryAwsResponse.ProtoReflect.Descriptor instead.

func (*ListCalculationsHistoryAwsResponse) GetOperations added in v0.35.1

func (x *ListCalculationsHistoryAwsResponse) GetOperations() []*api.Operation

func (*ListCalculationsHistoryAwsResponse) ProtoMessage added in v0.35.1

func (*ListCalculationsHistoryAwsResponse) ProtoMessage()

func (*ListCalculationsHistoryAwsResponse) ProtoReflect added in v0.35.1

func (*ListCalculationsHistoryAwsResponse) Reset added in v0.35.1

func (*ListCalculationsHistoryAwsResponse) String added in v0.35.1

type ListCalculationsHistoryRequest added in v0.35.1

type ListCalculationsHistoryRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Optional. List operations on and after this date. Format is yyyymmdd. For example,
	// if you want to list all operations starting from June 01, 2021, set to `20210601`.
	// If not set, defaults to the first day of the current UTC month.
	AsOf string `protobuf:"bytes,2,opt,name=asOf,proto3" json:"asOf,omitempty"`
	// Optional. If true, exclude all operations that are marked as done. Include by
	// default.
	ExcludeDone bool `protobuf:"varint,3,opt,name=excludeDone,proto3" json:"excludeDone,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Cost.ListCalculationsHistory rpc.

func (*ListCalculationsHistoryRequest) Descriptor deprecated added in v0.35.1

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

Deprecated: Use ListCalculationsHistoryRequest.ProtoReflect.Descriptor instead.

func (*ListCalculationsHistoryRequest) GetAsOf added in v0.35.1

func (*ListCalculationsHistoryRequest) GetExcludeDone added in v0.35.1

func (x *ListCalculationsHistoryRequest) GetExcludeDone() bool

func (*ListCalculationsHistoryRequest) GetVendor added in v0.35.1

func (x *ListCalculationsHistoryRequest) GetVendor() string

func (*ListCalculationsHistoryRequest) ProtoMessage added in v0.35.1

func (*ListCalculationsHistoryRequest) ProtoMessage()

func (*ListCalculationsHistoryRequest) ProtoReflect added in v0.35.1

func (*ListCalculationsHistoryRequest) Reset added in v0.35.1

func (x *ListCalculationsHistoryRequest) Reset()

func (*ListCalculationsHistoryRequest) String added in v0.35.1

type ListCalculationsHistoryResponse added in v0.35.1

type ListCalculationsHistoryResponse struct {
	Aws *ListCalculationsHistoryAwsResponse `protobuf:"bytes,1,opt,name=aws,proto3" json:"aws,omitempty"`
	// contains filtered or unexported fields
}

Response message for the Cost.ListCalculationsHistory rpc.

func (*ListCalculationsHistoryResponse) Descriptor deprecated added in v0.35.1

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

Deprecated: Use ListCalculationsHistoryResponse.ProtoReflect.Descriptor instead.

func (*ListCalculationsHistoryResponse) GetAws added in v0.35.1

func (*ListCalculationsHistoryResponse) ProtoMessage added in v0.35.1

func (*ListCalculationsHistoryResponse) ProtoMessage()

func (*ListCalculationsHistoryResponse) ProtoReflect added in v0.35.1

func (*ListCalculationsHistoryResponse) Reset added in v0.35.1

func (*ListCalculationsHistoryResponse) String added in v0.35.1

type ListPayerAccountsRequest added in v0.32.0

type ListPayerAccountsRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Cost.ListPayerAccounts rpc.

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

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

Deprecated: Use ListPayerAccountsRequest.ProtoReflect.Descriptor instead.

func (*ListPayerAccountsRequest) GetVendor added in v0.32.0

func (x *ListPayerAccountsRequest) GetVendor() string

func (*ListPayerAccountsRequest) ProtoMessage added in v0.32.0

func (*ListPayerAccountsRequest) ProtoMessage()

func (*ListPayerAccountsRequest) ProtoReflect added in v0.32.0

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

func (*ListPayerAccountsRequest) Reset added in v0.32.0

func (x *ListPayerAccountsRequest) Reset()

func (*ListPayerAccountsRequest) String added in v0.32.0

func (x *ListPayerAccountsRequest) String() string

type ReadAdjustmentsRequest

type ReadAdjustmentsRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Optional. At the moment, only billing internal ids are supported. If set, reads the
	// non-usage-based adjustment details of this group. Valid only if `accountId` is not set.
	// If both `groupId` and `accountId` are not set, reads the adjustment details of the whole
	// organization. Only valid for Ripple users. Implied (or discarded) for Wave(Pro) users.
	GroupId string `protobuf:"bytes,2,opt,name=groupId,proto3" json:"groupId,omitempty"`
	// Optional. If set, reads the non-usaged-based adjustment details of this account. Also
	// invalidates the `billingInternalId` value even if set. If both `billingInternalId`
	// and `accountId` are not set, reads the adjustment details of the whole organization.
	AccountId string `protobuf:"bytes,3,opt,name=accountId,proto3" json:"accountId,omitempty"`
	// Optional. The UTC date to start streaming data from. If not set, the first day of the
	// current month will be used. Format: `yyyymmdd`.
	StartTime string `protobuf:"bytes,4,opt,name=startTime,proto3" json:"startTime,omitempty"`
	// Optional. The UTC date to end the streaming data. If not set, current date will be
	// used. Format: `yyyymmdd`.
	EndTime string `protobuf:"bytes,5,opt,name=endTime,proto3" json:"endTime,omitempty"`
	// Optional. Valid only for the `aws` vendor. AWS-specific options.
	AwsOptions *ReadAdjustmentsRequestAwsOptions `protobuf:"bytes,6,opt,name=awsOptions,proto3" json:"awsOptions,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Cost.ReadAdjustments rpc.

func (*ReadAdjustmentsRequest) Descriptor deprecated

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

Deprecated: Use ReadAdjustmentsRequest.ProtoReflect.Descriptor instead.

func (*ReadAdjustmentsRequest) GetAccountId added in v0.21.0

func (x *ReadAdjustmentsRequest) GetAccountId() string

func (*ReadAdjustmentsRequest) GetAwsOptions added in v0.32.2

func (*ReadAdjustmentsRequest) GetEndTime

func (x *ReadAdjustmentsRequest) GetEndTime() string

func (*ReadAdjustmentsRequest) GetGroupId added in v0.35.24

func (x *ReadAdjustmentsRequest) GetGroupId() string

func (*ReadAdjustmentsRequest) GetStartTime

func (x *ReadAdjustmentsRequest) GetStartTime() string

func (*ReadAdjustmentsRequest) GetVendor

func (x *ReadAdjustmentsRequest) GetVendor() string

func (*ReadAdjustmentsRequest) ProtoMessage

func (*ReadAdjustmentsRequest) ProtoMessage()

func (*ReadAdjustmentsRequest) ProtoReflect

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

func (*ReadAdjustmentsRequest) Reset

func (x *ReadAdjustmentsRequest) Reset()

func (*ReadAdjustmentsRequest) String

func (x *ReadAdjustmentsRequest) String() string

type ReadAdjustmentsRequestAwsOptions added in v0.32.2

type ReadAdjustmentsRequestAwsOptions struct {

	// Optional. Set to US dollars (USD) by default (AWS CUR's default currency). You can
	// set it to the desired three-letter currency symbol (i.e. JPY, EUR, GBP), in which
	// case, it will use the latest exchange rates provided by https://fixer.io. If you
	// prefer a custom exchange rate, you can append the rate to the currency's three-letter
	// symbol. For example, `JPY:110.622` for the Japanese Yen. Note that the exchange rate
	// should be against the US dollar (USD).
	ToCurrency string `protobuf:"bytes,1,opt,name=toCurrency,proto3" json:"toCurrency,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadAdjustmentsRequestAwsOptions) Descriptor deprecated added in v0.32.2

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

Deprecated: Use ReadAdjustmentsRequestAwsOptions.ProtoReflect.Descriptor instead.

func (*ReadAdjustmentsRequestAwsOptions) GetToCurrency added in v0.32.2

func (x *ReadAdjustmentsRequestAwsOptions) GetToCurrency() string

func (*ReadAdjustmentsRequestAwsOptions) ProtoMessage added in v0.32.2

func (*ReadAdjustmentsRequestAwsOptions) ProtoMessage()

func (*ReadAdjustmentsRequestAwsOptions) ProtoReflect added in v0.32.2

func (*ReadAdjustmentsRequestAwsOptions) Reset added in v0.32.2

func (*ReadAdjustmentsRequestAwsOptions) String added in v0.32.2

type ReadCostsRequest

type ReadCostsRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Optional. If set, reads the usage-based cost details of this group. Only valid for Ripple
	// users. Implied as the parent billing group for Wave(Pro) users.
	//
	// For AWS Ripple, only billing internal ids are supported at the moment. Overriden when
	// `accountId` is set to anything other than `*`. Set this and `accountId` to `*` to read
	// the usage-based cost details of the whole organization. Optional for AWS Wave(Pro).
	GroupId string `protobuf:"bytes,2,opt,name=groupId,proto3" json:"groupId,omitempty"`
	// Optional. If set, reads the usage-based cost details of this account.
	//
	// For AWS, setting this will override `groupId`. Set this and `groupId` to `*` to read the
	// usage-based cost details of the whole organization.
	AccountId string `protobuf:"bytes,3,opt,name=accountId,proto3" json:"accountId,omitempty"`
	// Optional. The UTC date to start streaming data from. If not set, the first day of the
	// current month will be used. Format: yyyymmdd. The oldest supported date is 2020-01-01.
	StartTime string `protobuf:"bytes,4,opt,name=startTime,proto3" json:"startTime,omitempty"`
	// Optional. The UTC date to end the streaming data. If not set, current date will be
	// used. Format: `yyyymmd`.
	EndTime string `protobuf:"bytes,5,opt,name=endTime,proto3" json:"endTime,omitempty"`
	// Optional. Valid only for the `aws` vendor. AWS-specific options.
	AwsOptions *ReadCostsRequestAwsOptions `protobuf:"bytes,6,opt,name=awsOptions,proto3" json:"awsOptions,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Cost.ReadCosts rpc.

func (*ReadCostsRequest) Descriptor deprecated

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

Deprecated: Use ReadCostsRequest.ProtoReflect.Descriptor instead.

func (*ReadCostsRequest) GetAccountId added in v0.21.0

func (x *ReadCostsRequest) GetAccountId() string

func (*ReadCostsRequest) GetAwsOptions added in v0.9.1

func (x *ReadCostsRequest) GetAwsOptions() *ReadCostsRequestAwsOptions

func (*ReadCostsRequest) GetEndTime

func (x *ReadCostsRequest) GetEndTime() string

func (*ReadCostsRequest) GetGroupId added in v0.35.23

func (x *ReadCostsRequest) GetGroupId() string

func (*ReadCostsRequest) GetStartTime

func (x *ReadCostsRequest) GetStartTime() string

func (*ReadCostsRequest) GetVendor

func (x *ReadCostsRequest) GetVendor() string

func (*ReadCostsRequest) ProtoMessage

func (*ReadCostsRequest) ProtoMessage()

func (*ReadCostsRequest) ProtoReflect

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

func (*ReadCostsRequest) Reset

func (x *ReadCostsRequest) Reset()

func (*ReadCostsRequest) String

func (x *ReadCostsRequest) String() string

type ReadCostsRequestAwsOptions added in v0.32.0

type ReadCostsRequestAwsOptions struct {

	// Optional. A comma-separated list of columns to aggregate the data into. Valid values
	// are `productCode`, `serviceCode`, `region`, `zone`, `usageType`, `instanceType`,
	// `operation`, `invoiceId`, `description`, and `resourceId`. A special value of `none`
	// is also supported, which means query by date or month per account only.
	//
	// For example, if you only want the services and region data, you can set this field to
	// `productCode,region`. Your input sequence doesn't matter (although the sequence above
	// is recommended) as the actual sequence is already fixed in the return data (see the
	// definition in https://github.com/alphauslabs/blueapi/blob/main/api/aws/cost.proto),
	// which is generic to specific, top to bottom. Invalid values are discarded. Excluded
	// columns will be empty.
	GroupByColumns string `protobuf:"bytes,1,opt,name=groupByColumns,proto3" json:"groupByColumns,omitempty"`
	// Optional. If set to true, return data grouped by month within the date range. If you want data
	// that is grouped per account per month, set this to `true`, then set `groupByColumns` to `none`.
	//
	// You can also use `groupByColumns` while setting this to true. If `groupByColumns` is empty,
	// the default grouping is `productCode`.
	GroupByMonth bool `protobuf:"varint,2,opt,name=groupByMonth,proto3" json:"groupByMonth,omitempty"`
	// Optional. A list of filtering options. See [ReadCostsRequestAwsOptionsFilters] for more
	// information on each filter item. Multiple filter items will use the logical 'or' operator,
	// e.g. filter1 || filter2 || filter3, etc.
	Filters []*ReadCostsRequestAwsOptionsFilters `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"`
	// Optional. If set to true, stream will include resource tags. Discarded when
	// `groupByColumns` field is set or if `groupByMonth` is true.
	IncludeTags bool `protobuf:"varint,4,opt,name=includeTags,proto3" json:"includeTags,omitempty"`
	// Optional. If set to true, stream will include resource cost category information.
	// Discarded when `groupByColumns` field is set or if `groupByMonth` is true.
	IncludeCostCategories bool `protobuf:"varint,5,opt,name=includeCostCategories,proto3" json:"includeCostCategories,omitempty"`
	// Optional. Set to US dollars (USD) by default (AWS CUR's default currency). You can
	// set it to the desired three-letter currency symbol (i.e. JPY, EUR, GBP), in which
	// case, it will use the latest exchange rates provided by https://fixer.io. If you
	// prefer a custom exchange rate, you can append the rate to the currency's three-letter
	// symbol. For example, `JPY:110.622` for the Japanese Yen. Note that the exchange rate
	// should be against the US dollar (USD).
	ToCurrency string `protobuf:"bytes,6,opt,name=toCurrency,proto3" json:"toCurrency,omitempty"`
	// Optional. If set to true, always get the up-to-date calculation results. This data
	// isn't necessarily in-sync with your invoice data as AWS could still have updated your
	// CUR files even after you created your invoices. By default, returned data are those
	// that are always in-sync with your invoices.
	//
	// This field is discarded for Wave(Pro) users. You will always get the latest data that
	// is in-sync with your invoices.
	ForceLatest bool `protobuf:"varint,7,opt,name=forceLatest,proto3" json:"forceLatest,omitempty"`
	// contains filtered or unexported fields
}

AWS-specific options for ReadCostsRequest.

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

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

Deprecated: Use ReadCostsRequestAwsOptions.ProtoReflect.Descriptor instead.

func (*ReadCostsRequestAwsOptions) GetFilters added in v0.35.14

func (*ReadCostsRequestAwsOptions) GetForceLatest added in v0.32.10

func (x *ReadCostsRequestAwsOptions) GetForceLatest() bool

func (*ReadCostsRequestAwsOptions) GetGroupByColumns added in v0.32.2

func (x *ReadCostsRequestAwsOptions) GetGroupByColumns() string

func (*ReadCostsRequestAwsOptions) GetGroupByMonth added in v0.32.2

func (x *ReadCostsRequestAwsOptions) GetGroupByMonth() bool

func (*ReadCostsRequestAwsOptions) GetIncludeCostCategories added in v0.32.0

func (x *ReadCostsRequestAwsOptions) GetIncludeCostCategories() bool

func (*ReadCostsRequestAwsOptions) GetIncludeTags added in v0.32.0

func (x *ReadCostsRequestAwsOptions) GetIncludeTags() bool

func (*ReadCostsRequestAwsOptions) GetToCurrency added in v0.32.2

func (x *ReadCostsRequestAwsOptions) GetToCurrency() string

func (*ReadCostsRequestAwsOptions) ProtoMessage added in v0.32.0

func (*ReadCostsRequestAwsOptions) ProtoMessage()

func (*ReadCostsRequestAwsOptions) ProtoReflect added in v0.32.0

func (*ReadCostsRequestAwsOptions) Reset added in v0.32.0

func (x *ReadCostsRequestAwsOptions) Reset()

func (*ReadCostsRequestAwsOptions) String added in v0.32.0

func (x *ReadCostsRequestAwsOptions) String() string

type ReadCostsRequestAwsOptionsFilters added in v0.35.16

type ReadCostsRequestAwsOptionsFilters struct {
	AndFilters map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

A map of "key:value" column filters. Dependent on `groupByColumns` and/or `groupByMonth`. The key indicates the column name while the value is the filter value prefixed by either "eq:" (equal), "re:" (regular expressions based on https://github.com/google/re2), or "!re:" (reverse "re:"). Multiple map items will use the logical 'and' operator, e.g. mapfilter1 && mapfilter2 && mapfilter3, etc.

For example, if you like to filter `productCode` to return only `AmazonEC2`, set to `{"productCode":"eq:AmazonEC2"}`. You can also use a regular expression like `{"productCode":"re:AmazonEC2|AmazonRDS"}`, which means return all AmazonEC2 or AmazonRDS lineitems. Or reverse regexp, such as `{"productCode":"!re:^AmazonEC2$"}`, which means return all items except `AmazonEC2`.

func (*ReadCostsRequestAwsOptionsFilters) Descriptor deprecated added in v0.35.16

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

Deprecated: Use ReadCostsRequestAwsOptionsFilters.ProtoReflect.Descriptor instead.

func (*ReadCostsRequestAwsOptionsFilters) GetAndFilters added in v0.35.17

func (x *ReadCostsRequestAwsOptionsFilters) GetAndFilters() map[string]string

func (*ReadCostsRequestAwsOptionsFilters) ProtoMessage added in v0.35.16

func (*ReadCostsRequestAwsOptionsFilters) ProtoMessage()

func (*ReadCostsRequestAwsOptionsFilters) ProtoReflect added in v0.35.16

func (*ReadCostsRequestAwsOptionsFilters) Reset added in v0.35.16

func (*ReadCostsRequestAwsOptionsFilters) String added in v0.35.16

type ReadNonTagCostsRequest added in v0.33.0

type ReadNonTagCostsRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required. The billing internal id to stream.
	BillingInternalId string `protobuf:"bytes,2,opt,name=billingInternalId,proto3" json:"billingInternalId,omitempty"`
	// Optional. Timestamp to start streaming data from. If not set, the first day of the
	// current month will be used. Format: `yyyymmdd`.
	StartTime string `protobuf:"bytes,3,opt,name=startTime,proto3" json:"startTime,omitempty"`
	// Optional. Timestamp to end the streaming data. If not set, current date will be used.
	// Format: `yyyymmdd`.
	EndTime string `protobuf:"bytes,4,opt,name=endTime,proto3" json:"endTime,omitempty"`
	// Optional. Group services and costs by months in the range of `startTime` and `endTime`.
	// If not set, daily data will be returned.
	GroupByMonths bool `protobuf:"varint,5,opt,name=groupByMonths,proto3" json:"groupByMonths,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Cost.ReadNonTagCosts rpc.

func (*ReadNonTagCostsRequest) Descriptor deprecated added in v0.33.0

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

Deprecated: Use ReadNonTagCostsRequest.ProtoReflect.Descriptor instead.

func (*ReadNonTagCostsRequest) GetBillingInternalId added in v0.33.0

func (x *ReadNonTagCostsRequest) GetBillingInternalId() string

func (*ReadNonTagCostsRequest) GetEndTime added in v0.33.0

func (x *ReadNonTagCostsRequest) GetEndTime() string

func (*ReadNonTagCostsRequest) GetGroupByMonths added in v0.34.3

func (x *ReadNonTagCostsRequest) GetGroupByMonths() bool

func (*ReadNonTagCostsRequest) GetStartTime added in v0.33.0

func (x *ReadNonTagCostsRequest) GetStartTime() string

func (*ReadNonTagCostsRequest) GetVendor added in v0.33.0

func (x *ReadNonTagCostsRequest) GetVendor() string

func (*ReadNonTagCostsRequest) ProtoMessage added in v0.33.0

func (*ReadNonTagCostsRequest) ProtoMessage()

func (*ReadNonTagCostsRequest) ProtoReflect added in v0.33.0

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

func (*ReadNonTagCostsRequest) Reset added in v0.33.0

func (x *ReadNonTagCostsRequest) Reset()

func (*ReadNonTagCostsRequest) String added in v0.33.0

func (x *ReadNonTagCostsRequest) String() string

type ReadTagCostsRequest added in v0.33.0

type ReadTagCostsRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required. The billing internal id to stream.
	BillingInternalId string `protobuf:"bytes,2,opt,name=billingInternalId,proto3" json:"billingInternalId,omitempty"`
	// Optional. Timestamp to start streaming data from. If not set, the first day of the
	// current month will be used. Format: `yyyymmdd`.
	StartTime string `protobuf:"bytes,3,opt,name=startTime,proto3" json:"startTime,omitempty"`
	// Optional. Timestamp to end the streaming data. If not set, current date will be used.
	// Format: `yyyymmdd`.
	EndTime string `protobuf:"bytes,4,opt,name=endTime,proto3" json:"endTime,omitempty"`
	// Optional. Group services and costs by months in the range of `startTime` and `endTime`.
	// If not set, daily data will be returned.
	GroupByMonths bool `protobuf:"varint,5,opt,name=groupByMonths,proto3" json:"groupByMonths,omitempty"`
	// Optional. Valid only for the `aws` vendor. AWS-specific options.
	AwsOptions *ReadTagCostsRequestAwsOptions `protobuf:"bytes,6,opt,name=awsOptions,proto3" json:"awsOptions,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Cost.ReadTagCosts rpc.

func (*ReadTagCostsRequest) Descriptor deprecated added in v0.33.0

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

Deprecated: Use ReadTagCostsRequest.ProtoReflect.Descriptor instead.

func (*ReadTagCostsRequest) GetAwsOptions added in v0.35.24

func (*ReadTagCostsRequest) GetBillingInternalId added in v0.33.0

func (x *ReadTagCostsRequest) GetBillingInternalId() string

func (*ReadTagCostsRequest) GetEndTime added in v0.33.0

func (x *ReadTagCostsRequest) GetEndTime() string

func (*ReadTagCostsRequest) GetGroupByMonths added in v0.34.3

func (x *ReadTagCostsRequest) GetGroupByMonths() bool

func (*ReadTagCostsRequest) GetStartTime added in v0.33.0

func (x *ReadTagCostsRequest) GetStartTime() string

func (*ReadTagCostsRequest) GetVendor added in v0.33.0

func (x *ReadTagCostsRequest) GetVendor() string

func (*ReadTagCostsRequest) ProtoMessage added in v0.33.0

func (*ReadTagCostsRequest) ProtoMessage()

func (*ReadTagCostsRequest) ProtoReflect added in v0.33.0

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

func (*ReadTagCostsRequest) Reset added in v0.33.0

func (x *ReadTagCostsRequest) Reset()

func (*ReadTagCostsRequest) String added in v0.33.0

func (x *ReadTagCostsRequest) String() string

type ReadTagCostsRequestAwsOptions added in v0.35.24

type ReadTagCostsRequestAwsOptions struct {

	// Optional. If set, only return data for this tagId.
	TagId string `protobuf:"bytes,1,opt,name=tagId,proto3" json:"tagId,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadTagCostsRequestAwsOptions) Descriptor deprecated added in v0.35.24

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

Deprecated: Use ReadTagCostsRequestAwsOptions.ProtoReflect.Descriptor instead.

func (*ReadTagCostsRequestAwsOptions) GetTagId added in v0.35.24

func (x *ReadTagCostsRequestAwsOptions) GetTagId() string

func (*ReadTagCostsRequestAwsOptions) ProtoMessage added in v0.35.24

func (*ReadTagCostsRequestAwsOptions) ProtoMessage()

func (*ReadTagCostsRequestAwsOptions) ProtoReflect added in v0.35.24

func (*ReadTagCostsRequestAwsOptions) Reset added in v0.35.24

func (x *ReadTagCostsRequestAwsOptions) Reset()

func (*ReadTagCostsRequestAwsOptions) String added in v0.35.24

type UnimplementedCostServer

type UnimplementedCostServer struct {
}

UnimplementedCostServer must be embedded to have forward compatible implementations.

func (UnimplementedCostServer) CalculateCosts added in v0.10.2

func (UnimplementedCostServer) CreateAccount added in v0.29.0

func (UnimplementedCostServer) CreateAccountBudget added in v0.35.9

func (UnimplementedCostServer) CreatePayerAccount added in v0.32.0

func (UnimplementedCostServer) DeleteAccount added in v0.29.0

func (UnimplementedCostServer) DeleteAccountBudget added in v0.35.9

func (UnimplementedCostServer) DeletePayerAccount added in v0.32.0

func (UnimplementedCostServer) GetAccount added in v0.29.0

func (UnimplementedCostServer) GetAccountBudget added in v0.35.9

func (UnimplementedCostServer) GetBreakevenPoint added in v0.54.0

func (UnimplementedCostServer) GetCalculatorConfig added in v0.33.2

func (UnimplementedCostServer) GetCalculatorStatus added in v0.44.0

func (UnimplementedCostServer) GetCostReduction added in v0.44.2

func (UnimplementedCostServer) GetCoverageOndemand added in v0.51.5

func (UnimplementedCostServer) GetCoverageOptions added in v0.51.5

func (UnimplementedCostServer) GetForecasts added in v0.17.0

func (UnimplementedCostServer) GetMonthOnMonthCostForecast added in v0.35.5

func (UnimplementedCostServer) GetMonthToDateCostForecast added in v0.35.5

func (UnimplementedCostServer) GetMonthlyCostForecast added in v0.35.5

func (UnimplementedCostServer) GetPayerAccount added in v0.32.0

func (UnimplementedCostServer) GetPayerAccountImportHistory added in v0.32.0

func (UnimplementedCostServer) GetRecommendations added in v0.43.0

func (UnimplementedCostServer) GetUtilization added in v0.49.5

func (UnimplementedCostServer) ImportCurFiles added in v0.10.2

func (UnimplementedCostServer) ListAccounts added in v0.29.0

func (UnimplementedCostServer) ListCalculationsHistory added in v0.35.1

func (UnimplementedCostServer) ListPayerAccounts added in v0.32.0

func (UnimplementedCostServer) ReadAdjustments

func (UnimplementedCostServer) ReadCosts

func (UnimplementedCostServer) ReadNonTagCosts added in v0.33.0

func (UnimplementedCostServer) ReadTagCosts added in v0.33.0

func (UnimplementedCostServer) UpdateAccountBudget added in v0.35.9

type UnsafeCostServer

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

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

type UpdateAccountBudgetRequest added in v0.35.9

type UpdateAccountBudgetRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required. Budget Id
	BudgetId string      `protobuf:"bytes,2,opt,name=budgetId,proto3" json:"budgetId,omitempty"`
	Data     *api.Budget `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

Request message for UpdateAccountBudget

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

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

Deprecated: Use UpdateAccountBudgetRequest.ProtoReflect.Descriptor instead.

func (*UpdateAccountBudgetRequest) GetBudgetId added in v0.35.9

func (x *UpdateAccountBudgetRequest) GetBudgetId() string

func (*UpdateAccountBudgetRequest) GetData added in v0.35.9

func (x *UpdateAccountBudgetRequest) GetData() *api.Budget

func (*UpdateAccountBudgetRequest) GetVendor added in v0.35.9

func (x *UpdateAccountBudgetRequest) GetVendor() string

func (*UpdateAccountBudgetRequest) ProtoMessage added in v0.35.9

func (*UpdateAccountBudgetRequest) ProtoMessage()

func (*UpdateAccountBudgetRequest) ProtoReflect added in v0.35.9

func (*UpdateAccountBudgetRequest) Reset added in v0.35.9

func (x *UpdateAccountBudgetRequest) Reset()

func (*UpdateAccountBudgetRequest) String added in v0.35.9

func (x *UpdateAccountBudgetRequest) String() string

Jump to

Keyboard shortcuts

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