billing

package
v0.65.30 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: Apache-2.0 Imports: 21 Imported by: 2

Documentation

Overview

Package billing is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var Billing_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "blueapi.billing.v1.Billing",
	HandlerType: (*BillingServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateBillingGroup",
			Handler:    _Billing_CreateBillingGroup_Handler,
		},
		{
			MethodName: "GetBillingGroup",
			Handler:    _Billing_GetBillingGroup_Handler,
		},
		{
			MethodName: "GetAccessGroup",
			Handler:    _Billing_GetAccessGroup_Handler,
		},
		{
			MethodName: "CreateInvoice",
			Handler:    _Billing_CreateInvoice_Handler,
		},
		{
			MethodName: "GetInvoiceStatus",
			Handler:    _Billing_GetInvoiceStatus_Handler,
		},
		{
			MethodName: "GetInvoice",
			Handler:    _Billing_GetInvoice_Handler,
		},
		{
			MethodName: "UpdateInvoicePreviews",
			Handler:    _Billing_UpdateInvoicePreviews_Handler,
		},
		{
			MethodName: "ExportInvoiceFile",
			Handler:    _Billing_ExportInvoiceFile_Handler,
		},
		{
			MethodName: "CreateAccountInvoiceServiceDiscounts",
			Handler:    _Billing_CreateAccountInvoiceServiceDiscounts_Handler,
		},
		{
			MethodName: "UpdateAccountInvoiceServiceDiscounts",
			Handler:    _Billing_UpdateAccountInvoiceServiceDiscounts_Handler,
		},
		{
			MethodName: "RemoveAccountInvoiceServiceDiscounts",
			Handler:    _Billing_RemoveAccountInvoiceServiceDiscounts_Handler,
		},
		{
			MethodName: "DeleteAccountInvoiceServiceDiscounts",
			Handler:    _Billing_DeleteAccountInvoiceServiceDiscounts_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ListBillingGroups",
			Handler:       _Billing_ListBillingGroups_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ListAwsDailyRunHistory",
			Handler:       _Billing_ListAwsDailyRunHistory_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ListUsageCostsDrift",
			Handler:       _Billing_ListUsageCostsDrift_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ListInvoiceServiceDiscounts",
			Handler:       _Billing_ListInvoiceServiceDiscounts_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ListAccountInvoiceServiceDiscounts",
			Handler:       _Billing_ListAccountInvoiceServiceDiscounts_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "billing/v1/billing.proto",
}

Billing_ServiceDesc is the grpc.ServiceDesc for Billing 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_billing_v1_billing_proto protoreflect.FileDescriptor

Functions

func RegisterBillingHandler

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

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

func RegisterBillingHandlerClient

func RegisterBillingHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BillingClient) error

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

func RegisterBillingHandlerFromEndpoint

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

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

func RegisterBillingHandlerServer

func RegisterBillingHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BillingServer) error

RegisterBillingHandlerServer registers the http handlers for service Billing to "mux". UnaryRPC :call BillingServer 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 RegisterBillingHandlerFromEndpoint instead.

func RegisterBillingServer

func RegisterBillingServer(s grpc.ServiceRegistrar, srv BillingServer)

Types

type AccessGroup added in v0.51.8

type AccessGroup struct {

	// The ID of the access group.
	AccessGroupId string `protobuf:"bytes,1,opt,name=accessGroupId,proto3" json:"accessGroupId,omitempty"`
	// The name of the access group.
	AccessGroupName string `protobuf:"bytes,2,opt,name=accessGroupName,proto3" json:"accessGroupName,omitempty"`
	// A description of the access group.
	AccessGroupDescription string `protobuf:"bytes,3,opt,name=accessGroupDescription,proto3" json:"accessGroupDescription,omitempty"`
	// A list of billing groups contained in the access group.
	BillingGroups []*BillingGroup `protobuf:"bytes,4,rep,name=billingGroups,proto3" json:"billingGroups,omitempty"`
	// contains filtered or unexported fields
}

Defines the fields associated with a Wave access group.

func (*AccessGroup) Descriptor deprecated added in v0.51.8

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

Deprecated: Use AccessGroup.ProtoReflect.Descriptor instead.

func (*AccessGroup) GetAccessGroupDescription added in v0.51.8

func (x *AccessGroup) GetAccessGroupDescription() string

func (*AccessGroup) GetAccessGroupId added in v0.51.8

func (x *AccessGroup) GetAccessGroupId() string

func (*AccessGroup) GetAccessGroupName added in v0.51.8

func (x *AccessGroup) GetAccessGroupName() string

func (*AccessGroup) GetBillingGroups added in v0.51.8

func (x *AccessGroup) GetBillingGroups() []*BillingGroup

func (*AccessGroup) ProtoMessage added in v0.51.8

func (*AccessGroup) ProtoMessage()

func (*AccessGroup) ProtoReflect added in v0.51.8

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

func (*AccessGroup) Reset added in v0.51.8

func (x *AccessGroup) Reset()

func (*AccessGroup) String added in v0.51.8

func (x *AccessGroup) String() string

type AccountInvoiceServiceDiscounts added in v0.64.24

type AccountInvoiceServiceDiscounts struct {

	// Service discount id.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Account id.
	Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

Streaming response message for the AccountInvoiceServiceDiscounts rpc.

func (*AccountInvoiceServiceDiscounts) Descriptor deprecated added in v0.64.24

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

Deprecated: Use AccountInvoiceServiceDiscounts.ProtoReflect.Descriptor instead.

func (*AccountInvoiceServiceDiscounts) GetAccount added in v0.64.24

func (x *AccountInvoiceServiceDiscounts) GetAccount() string

func (*AccountInvoiceServiceDiscounts) GetId added in v0.64.24

func (*AccountInvoiceServiceDiscounts) ProtoMessage added in v0.64.24

func (*AccountInvoiceServiceDiscounts) ProtoMessage()

func (*AccountInvoiceServiceDiscounts) ProtoReflect added in v0.64.24

func (*AccountInvoiceServiceDiscounts) Reset added in v0.64.24

func (x *AccountInvoiceServiceDiscounts) Reset()

func (*AccountInvoiceServiceDiscounts) String added in v0.64.24

type AccountServiceDiscounts added in v0.64.24

type AccountServiceDiscounts struct {

	// Service discount id.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Account id.
	AccountId string `protobuf:"bytes,2,opt,name=accountId,proto3" json:"accountId,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountServiceDiscounts) Descriptor deprecated added in v0.64.24

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

Deprecated: Use AccountServiceDiscounts.ProtoReflect.Descriptor instead.

func (*AccountServiceDiscounts) GetAccountId added in v0.64.24

func (x *AccountServiceDiscounts) GetAccountId() string

func (*AccountServiceDiscounts) GetId added in v0.64.24

func (x *AccountServiceDiscounts) GetId() string

func (*AccountServiceDiscounts) ProtoMessage added in v0.64.24

func (*AccountServiceDiscounts) ProtoMessage()

func (*AccountServiceDiscounts) ProtoReflect added in v0.64.24

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

func (*AccountServiceDiscounts) Reset added in v0.64.24

func (x *AccountServiceDiscounts) Reset()

func (*AccountServiceDiscounts) String added in v0.64.24

func (x *AccountServiceDiscounts) String() string

type AwsDailyRunHistory added in v0.62.7

type AwsDailyRunHistory struct {
	BillingInternalId string                        `protobuf:"bytes,1,opt,name=billingInternalId,proto3" json:"billingInternalId,omitempty"`
	BillingGroupId    string                        `protobuf:"bytes,2,opt,name=billingGroupId,proto3" json:"billingGroupId,omitempty"`
	Month             string                        `protobuf:"bytes,3,opt,name=month,proto3" json:"month,omitempty"`
	Accounts          []*AwsDailyRunHistory_Account `protobuf:"bytes,4,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

Streaming response message for the Billing.ListAwsDailyRunHistory rpc.

func (*AwsDailyRunHistory) Descriptor deprecated added in v0.62.7

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

Deprecated: Use AwsDailyRunHistory.ProtoReflect.Descriptor instead.

func (*AwsDailyRunHistory) GetAccounts added in v0.62.7

func (x *AwsDailyRunHistory) GetAccounts() []*AwsDailyRunHistory_Account

func (*AwsDailyRunHistory) GetBillingGroupId added in v0.62.7

func (x *AwsDailyRunHistory) GetBillingGroupId() string

func (*AwsDailyRunHistory) GetBillingInternalId added in v0.62.7

func (x *AwsDailyRunHistory) GetBillingInternalId() string

func (*AwsDailyRunHistory) GetMonth added in v0.62.7

func (x *AwsDailyRunHistory) GetMonth() string

func (*AwsDailyRunHistory) ProtoMessage added in v0.62.7

func (*AwsDailyRunHistory) ProtoMessage()

func (*AwsDailyRunHistory) ProtoReflect added in v0.62.7

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

func (*AwsDailyRunHistory) Reset added in v0.62.7

func (x *AwsDailyRunHistory) Reset()

func (*AwsDailyRunHistory) String added in v0.62.7

func (x *AwsDailyRunHistory) String() string

type AwsDailyRunHistory_Account added in v0.62.7

type AwsDailyRunHistory_Account struct {
	AccountId string                                `protobuf:"bytes,1,opt,name=accountId,proto3" json:"accountId,omitempty"`
	History   []*AwsDailyRunHistory_Account_History `protobuf:"bytes,2,rep,name=history,proto3" json:"history,omitempty"`
	// contains filtered or unexported fields
}

func (*AwsDailyRunHistory_Account) Descriptor deprecated added in v0.62.7

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

Deprecated: Use AwsDailyRunHistory_Account.ProtoReflect.Descriptor instead.

func (*AwsDailyRunHistory_Account) GetAccountId added in v0.62.7

func (x *AwsDailyRunHistory_Account) GetAccountId() string

func (*AwsDailyRunHistory_Account) GetHistory added in v0.62.7

func (*AwsDailyRunHistory_Account) ProtoMessage added in v0.62.7

func (*AwsDailyRunHistory_Account) ProtoMessage()

func (*AwsDailyRunHistory_Account) ProtoReflect added in v0.62.7

func (*AwsDailyRunHistory_Account) Reset added in v0.62.7

func (x *AwsDailyRunHistory_Account) Reset()

func (*AwsDailyRunHistory_Account) String added in v0.62.7

func (x *AwsDailyRunHistory_Account) String() string

type AwsDailyRunHistory_Account_History added in v0.62.7

type AwsDailyRunHistory_Account_History struct {

	// Calculation timestamp in UTC, RFC3339.
	Timestamp string `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Calculation trigger. Either `invoice` or `cur`.
	Trigger string `protobuf:"bytes,2,opt,name=trigger,proto3" json:"trigger,omitempty"`
	// contains filtered or unexported fields
}

func (*AwsDailyRunHistory_Account_History) Descriptor deprecated added in v0.62.7

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

Deprecated: Use AwsDailyRunHistory_Account_History.ProtoReflect.Descriptor instead.

func (*AwsDailyRunHistory_Account_History) GetTimestamp added in v0.62.7

func (x *AwsDailyRunHistory_Account_History) GetTimestamp() string

func (*AwsDailyRunHistory_Account_History) GetTrigger added in v0.62.7

func (*AwsDailyRunHistory_Account_History) ProtoMessage added in v0.62.7

func (*AwsDailyRunHistory_Account_History) ProtoMessage()

func (*AwsDailyRunHistory_Account_History) ProtoReflect added in v0.62.7

func (*AwsDailyRunHistory_Account_History) Reset added in v0.62.7

func (*AwsDailyRunHistory_Account_History) String added in v0.62.7

type BillingClient

type BillingClient interface {
	// Lists all billing groups.
	ListBillingGroups(ctx context.Context, in *ListBillingGroupsRequest, opts ...grpc.CallOption) (Billing_ListBillingGroupsClient, error)
	// Registers a billing group.
	CreateBillingGroup(ctx context.Context, in *CreateBillingGroupRequest, opts ...grpc.CallOption) (*BillingGroup, error)
	// Gets a billing group.
	GetBillingGroup(ctx context.Context, in *GetBillingGroupRequest, opts ...grpc.CallOption) (*GetBillingGroupResponse, error)
	// WORK-IN-PROGRESS: Gets an access group.
	GetAccessGroup(ctx context.Context, in *GetAccessGroupRequest, opts ...grpc.CallOption) (*GetAccessGroupResponse, error)
	// Reads the daily calculation history of all accounts in your billing groups. Only available in Ripple.
	ListAwsDailyRunHistory(ctx context.Context, in *ListAwsDailyRunHistoryRequest, opts ...grpc.CallOption) (Billing_ListAwsDailyRunHistoryClient, error)
	// Returns a list of accounts that have been updated after invoice along with the differences in costs, if any. Only available in Ripple.
	ListUsageCostsDrift(ctx context.Context, in *ListUsageCostsDriftRequest, opts ...grpc.CallOption) (Billing_ListUsageCostsDriftClient, error)
	// WORK-IN-PROGRESS: Creates an invoice. Only available in Ripple.
	CreateInvoice(ctx context.Context, in *CreateInvoiceRequest, opts ...grpc.CallOption) (*api.InvoiceMessage, error)
	// WORK-IN-PROGRESS: Gets an invoice. Only available in Ripple.
	GetInvoiceStatus(ctx context.Context, in *GetInvoiceStatusRequest, opts ...grpc.CallOption) (*api.InvoiceMessage, error)
	// Gets an invoice.
	GetInvoice(ctx context.Context, in *GetInvoiceRequest, opts ...grpc.CallOption) (*api.Invoice, error)
	// Updates an invoice preview. Only available in Ripple.
	UpdateInvoicePreviews(ctx context.Context, in *UpdateInvoicePreviewsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Exports an invoice.
	ExportInvoiceFile(ctx context.Context, in *ExportInvoiceFileRequest, opts ...grpc.CallOption) (*ExportInvoiceFileResponse, error)
	// Reads the invoice service discounts. Only available in Ripple.
	ListInvoiceServiceDiscounts(ctx context.Context, in *ListInvoiceServiceDiscountsRequest, opts ...grpc.CallOption) (Billing_ListInvoiceServiceDiscountsClient, error)
	// Reads the account invoice service discounts. Only available in Ripple.
	ListAccountInvoiceServiceDiscounts(ctx context.Context, in *ListAccountInvoiceServiceDiscountsRequest, opts ...grpc.CallOption) (Billing_ListAccountInvoiceServiceDiscountsClient, error)
	// Registers the account invoice service discounts. Only available in Ripple.
	CreateAccountInvoiceServiceDiscounts(ctx context.Context, in *CreateAccountInvoiceServiceDiscountsRequest, opts ...grpc.CallOption) (*CreateAccountInvoiceServiceDiscountsResponse, error)
	// Updates the account invoice service discounts. Only available in Ripple.
	UpdateAccountInvoiceServiceDiscounts(ctx context.Context, in *UpdateAccountInvoiceServiceDiscountsRequest, opts ...grpc.CallOption) (*UpdateAccountInvoiceServiceDiscountsResponse, error)
	// Removes the account invoice service discounts. Only available in Ripple.
	RemoveAccountInvoiceServiceDiscounts(ctx context.Context, in *RemoveAccountInvoiceServiceDiscountsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Deletes the account invoice service discounts. Only available in Ripple.
	DeleteAccountInvoiceServiceDiscounts(ctx context.Context, in *DeleteAccountInvoiceServiceDiscountsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

BillingClient is the client API for Billing 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 NewBillingClient

func NewBillingClient(cc grpc.ClientConnInterface) BillingClient

type BillingGroup

type BillingGroup struct {

	// The billing group's internal id.
	BillingInternalId string `protobuf:"bytes,1,opt,name=billingInternalId,proto3" json:"billingInternalId,omitempty"`
	// The billing group id.
	BillingGroupId string `protobuf:"bytes,2,opt,name=billingGroupId,proto3" json:"billingGroupId,omitempty"`
	// The billing group name.
	BillingGroupName string `protobuf:"bytes,3,opt,name=billingGroupName,proto3" json:"billingGroupName,omitempty"`
	// List of all accounts
	Accounts []*api.Account `protobuf:"bytes,4,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// List of all tags
	Tags []*api.CostTag `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"`
	// The invoice settings for this billing group.
	InvoiceSettings *BillingGroupInvoiceSettings `protobuf:"bytes,5,opt,name=invoiceSettings,proto3" json:"invoiceSettings,omitempty"`
	// contains filtered or unexported fields
}

func (*BillingGroup) Descriptor deprecated

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

Deprecated: Use BillingGroup.ProtoReflect.Descriptor instead.

func (*BillingGroup) GetAccounts added in v0.36.3

func (x *BillingGroup) GetAccounts() []*api.Account

func (*BillingGroup) GetBillingGroupId

func (x *BillingGroup) GetBillingGroupId() string

func (*BillingGroup) GetBillingGroupName

func (x *BillingGroup) GetBillingGroupName() string

func (*BillingGroup) GetBillingInternalId added in v0.32.0

func (x *BillingGroup) GetBillingInternalId() string

func (*BillingGroup) GetInvoiceSettings added in v0.57.3

func (x *BillingGroup) GetInvoiceSettings() *BillingGroupInvoiceSettings

func (*BillingGroup) GetTags added in v0.65.15

func (x *BillingGroup) GetTags() []*api.CostTag

func (*BillingGroup) ProtoMessage

func (*BillingGroup) ProtoMessage()

func (*BillingGroup) ProtoReflect

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

func (*BillingGroup) Reset

func (x *BillingGroup) Reset()

func (*BillingGroup) String

func (x *BillingGroup) String() string

type BillingGroupInvoiceSettings added in v0.57.3

type BillingGroupInvoiceSettings struct {

	// AWS invoice settings
	Aws *BillingGroupVendoredInvoiceSetting `protobuf:"bytes,1,opt,name=aws,proto3" json:"aws,omitempty"`
	// Azure invoice settings
	Azure *BillingGroupVendoredInvoiceSetting `protobuf:"bytes,2,opt,name=azure,proto3" json:"azure,omitempty"`
	// GCP invoice settings
	Gcp *BillingGroupVendoredInvoiceSetting `protobuf:"bytes,3,opt,name=gcp,proto3" json:"gcp,omitempty"`
	// contains filtered or unexported fields
}

Invoice settings for a billing group.

func (*BillingGroupInvoiceSettings) Descriptor deprecated added in v0.57.3

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

Deprecated: Use BillingGroupInvoiceSettings.ProtoReflect.Descriptor instead.

func (*BillingGroupInvoiceSettings) GetAws added in v0.57.3

func (*BillingGroupInvoiceSettings) GetAzure added in v0.57.3

func (*BillingGroupInvoiceSettings) GetGcp added in v0.57.3

func (*BillingGroupInvoiceSettings) ProtoMessage added in v0.57.3

func (*BillingGroupInvoiceSettings) ProtoMessage()

func (*BillingGroupInvoiceSettings) ProtoReflect added in v0.57.3

func (*BillingGroupInvoiceSettings) Reset added in v0.57.3

func (x *BillingGroupInvoiceSettings) Reset()

func (*BillingGroupInvoiceSettings) String added in v0.57.3

func (x *BillingGroupInvoiceSettings) String() string

type BillingGroupVendoredInvoiceSetting added in v0.57.3

type BillingGroupVendoredInvoiceSetting struct {
	CalcType                   string  `protobuf:"bytes,1,opt,name=calcType,proto3" json:"calcType,omitempty"`
	DiscountRate               float64 `protobuf:"fixed64,2,opt,name=discountRate,proto3" json:"discountRate,omitempty"`
	SubstitutionFee            string  `protobuf:"bytes,3,opt,name=substitutionFee,proto3" json:"substitutionFee,omitempty"`
	SubstitutionFix            float64 `protobuf:"fixed64,4,opt,name=substitutionFix,proto3" json:"substitutionFix,omitempty"`
	SubstitutionRate           float64 `protobuf:"fixed64,5,opt,name=substitutionRate,proto3" json:"substitutionRate,omitempty"`
	SupportFee                 string  `protobuf:"bytes,6,opt,name=supportFee,proto3" json:"supportFee,omitempty"`
	SupportRate                float64 `protobuf:"fixed64,7,opt,name=supportRate,proto3" json:"supportRate,omitempty"`
	SupportFix                 float64 `protobuf:"fixed64,8,opt,name=supportFix,proto3" json:"supportFix,omitempty"`
	TaxRate                    float64 `protobuf:"fixed64,9,opt,name=taxRate,proto3" json:"taxRate,omitempty"`
	Currency                   string  `protobuf:"bytes,10,opt,name=currency,proto3" json:"currency,omitempty"`
	DiscountTargetUsage        string  `protobuf:"bytes,11,opt,name=discountTargetUsage,proto3" json:"discountTargetUsage,omitempty"`
	SubstitutionFeeTargetUsage string  `protobuf:"bytes,12,opt,name=substitutionFeeTargetUsage,proto3" json:"substitutionFeeTargetUsage,omitempty"`
	DiscountCalcLogic          string  `protobuf:"bytes,13,opt,name=discountCalcLogic,proto3" json:"discountCalcLogic,omitempty"`
	SubstitutionFeeCalcTarget  string  `protobuf:"bytes,14,opt,name=substitutionFeeCalcTarget,proto3" json:"substitutionFeeCalcTarget,omitempty"`
	SubstitutionFeeCalcType    string  `protobuf:"bytes,15,opt,name=substitutionFeeCalcType,proto3" json:"substitutionFeeCalcType,omitempty"`
	SupportAmountTarget        string  `protobuf:"bytes,16,opt,name=supportAmountTarget,proto3" json:"supportAmountTarget,omitempty"`
	SupportFeeCalcTarget       string  `protobuf:"bytes,17,opt,name=supportFeeCalcTarget,proto3" json:"supportFeeCalcTarget,omitempty"`
	// contains filtered or unexported fields
}

Invoice settings that are vendor-specific for each billing group.

func (*BillingGroupVendoredInvoiceSetting) Descriptor deprecated added in v0.57.3

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

Deprecated: Use BillingGroupVendoredInvoiceSetting.ProtoReflect.Descriptor instead.

func (*BillingGroupVendoredInvoiceSetting) GetCalcType added in v0.57.3

func (x *BillingGroupVendoredInvoiceSetting) GetCalcType() string

func (*BillingGroupVendoredInvoiceSetting) GetCurrency added in v0.57.3

func (x *BillingGroupVendoredInvoiceSetting) GetCurrency() string

func (*BillingGroupVendoredInvoiceSetting) GetDiscountCalcLogic added in v0.57.3

func (x *BillingGroupVendoredInvoiceSetting) GetDiscountCalcLogic() string

func (*BillingGroupVendoredInvoiceSetting) GetDiscountRate added in v0.57.3

func (x *BillingGroupVendoredInvoiceSetting) GetDiscountRate() float64

func (*BillingGroupVendoredInvoiceSetting) GetDiscountTargetUsage added in v0.57.3

func (x *BillingGroupVendoredInvoiceSetting) GetDiscountTargetUsage() string

func (*BillingGroupVendoredInvoiceSetting) GetSubstitutionFee added in v0.57.3

func (x *BillingGroupVendoredInvoiceSetting) GetSubstitutionFee() string

func (*BillingGroupVendoredInvoiceSetting) GetSubstitutionFeeCalcTarget added in v0.57.3

func (x *BillingGroupVendoredInvoiceSetting) GetSubstitutionFeeCalcTarget() string

func (*BillingGroupVendoredInvoiceSetting) GetSubstitutionFeeCalcType added in v0.57.3

func (x *BillingGroupVendoredInvoiceSetting) GetSubstitutionFeeCalcType() string

func (*BillingGroupVendoredInvoiceSetting) GetSubstitutionFeeTargetUsage added in v0.57.3

func (x *BillingGroupVendoredInvoiceSetting) GetSubstitutionFeeTargetUsage() string

func (*BillingGroupVendoredInvoiceSetting) GetSubstitutionFix added in v0.57.3

func (x *BillingGroupVendoredInvoiceSetting) GetSubstitutionFix() float64

func (*BillingGroupVendoredInvoiceSetting) GetSubstitutionRate added in v0.57.3

func (x *BillingGroupVendoredInvoiceSetting) GetSubstitutionRate() float64

func (*BillingGroupVendoredInvoiceSetting) GetSupportAmountTarget added in v0.57.3

func (x *BillingGroupVendoredInvoiceSetting) GetSupportAmountTarget() string

func (*BillingGroupVendoredInvoiceSetting) GetSupportFee added in v0.57.3

func (x *BillingGroupVendoredInvoiceSetting) GetSupportFee() string

func (*BillingGroupVendoredInvoiceSetting) GetSupportFeeCalcTarget added in v0.57.3

func (x *BillingGroupVendoredInvoiceSetting) GetSupportFeeCalcTarget() string

func (*BillingGroupVendoredInvoiceSetting) GetSupportFix added in v0.57.3

func (x *BillingGroupVendoredInvoiceSetting) GetSupportFix() float64

func (*BillingGroupVendoredInvoiceSetting) GetSupportRate added in v0.57.3

func (x *BillingGroupVendoredInvoiceSetting) GetSupportRate() float64

func (*BillingGroupVendoredInvoiceSetting) GetTaxRate added in v0.57.3

func (*BillingGroupVendoredInvoiceSetting) ProtoMessage added in v0.57.3

func (*BillingGroupVendoredInvoiceSetting) ProtoMessage()

func (*BillingGroupVendoredInvoiceSetting) ProtoReflect added in v0.57.3

func (*BillingGroupVendoredInvoiceSetting) Reset added in v0.57.3

func (*BillingGroupVendoredInvoiceSetting) String added in v0.57.3

type BillingServer

type BillingServer interface {
	// Lists all billing groups.
	ListBillingGroups(*ListBillingGroupsRequest, Billing_ListBillingGroupsServer) error
	// Registers a billing group.
	CreateBillingGroup(context.Context, *CreateBillingGroupRequest) (*BillingGroup, error)
	// Gets a billing group.
	GetBillingGroup(context.Context, *GetBillingGroupRequest) (*GetBillingGroupResponse, error)
	// WORK-IN-PROGRESS: Gets an access group.
	GetAccessGroup(context.Context, *GetAccessGroupRequest) (*GetAccessGroupResponse, error)
	// Reads the daily calculation history of all accounts in your billing groups. Only available in Ripple.
	ListAwsDailyRunHistory(*ListAwsDailyRunHistoryRequest, Billing_ListAwsDailyRunHistoryServer) error
	// Returns a list of accounts that have been updated after invoice along with the differences in costs, if any. Only available in Ripple.
	ListUsageCostsDrift(*ListUsageCostsDriftRequest, Billing_ListUsageCostsDriftServer) error
	// WORK-IN-PROGRESS: Creates an invoice. Only available in Ripple.
	CreateInvoice(context.Context, *CreateInvoiceRequest) (*api.InvoiceMessage, error)
	// WORK-IN-PROGRESS: Gets an invoice. Only available in Ripple.
	GetInvoiceStatus(context.Context, *GetInvoiceStatusRequest) (*api.InvoiceMessage, error)
	// Gets an invoice.
	GetInvoice(context.Context, *GetInvoiceRequest) (*api.Invoice, error)
	// Updates an invoice preview. Only available in Ripple.
	UpdateInvoicePreviews(context.Context, *UpdateInvoicePreviewsRequest) (*emptypb.Empty, error)
	// Exports an invoice.
	ExportInvoiceFile(context.Context, *ExportInvoiceFileRequest) (*ExportInvoiceFileResponse, error)
	// Reads the invoice service discounts. Only available in Ripple.
	ListInvoiceServiceDiscounts(*ListInvoiceServiceDiscountsRequest, Billing_ListInvoiceServiceDiscountsServer) error
	// Reads the account invoice service discounts. Only available in Ripple.
	ListAccountInvoiceServiceDiscounts(*ListAccountInvoiceServiceDiscountsRequest, Billing_ListAccountInvoiceServiceDiscountsServer) error
	// Registers the account invoice service discounts. Only available in Ripple.
	CreateAccountInvoiceServiceDiscounts(context.Context, *CreateAccountInvoiceServiceDiscountsRequest) (*CreateAccountInvoiceServiceDiscountsResponse, error)
	// Updates the account invoice service discounts. Only available in Ripple.
	UpdateAccountInvoiceServiceDiscounts(context.Context, *UpdateAccountInvoiceServiceDiscountsRequest) (*UpdateAccountInvoiceServiceDiscountsResponse, error)
	// Removes the account invoice service discounts. Only available in Ripple.
	RemoveAccountInvoiceServiceDiscounts(context.Context, *RemoveAccountInvoiceServiceDiscountsRequest) (*emptypb.Empty, error)
	// Deletes the account invoice service discounts. Only available in Ripple.
	DeleteAccountInvoiceServiceDiscounts(context.Context, *DeleteAccountInvoiceServiceDiscountsRequest) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

BillingServer is the server API for Billing service. All implementations must embed UnimplementedBillingServer for forward compatibility

type Billing_ListAccountInvoiceServiceDiscountsClient added in v0.64.24

type Billing_ListAccountInvoiceServiceDiscountsClient interface {
	Recv() (*AccountInvoiceServiceDiscounts, error)
	grpc.ClientStream
}

type Billing_ListAccountInvoiceServiceDiscountsServer added in v0.64.24

type Billing_ListAccountInvoiceServiceDiscountsServer interface {
	Send(*AccountInvoiceServiceDiscounts) error
	grpc.ServerStream
}

type Billing_ListAwsDailyRunHistoryClient added in v0.62.7

type Billing_ListAwsDailyRunHistoryClient interface {
	Recv() (*AwsDailyRunHistory, error)
	grpc.ClientStream
}

type Billing_ListAwsDailyRunHistoryServer added in v0.62.7

type Billing_ListAwsDailyRunHistoryServer interface {
	Send(*AwsDailyRunHistory) error
	grpc.ServerStream
}

type Billing_ListBillingGroupsClient

type Billing_ListBillingGroupsClient interface {
	Recv() (*BillingGroup, error)
	grpc.ClientStream
}

type Billing_ListBillingGroupsServer

type Billing_ListBillingGroupsServer interface {
	Send(*BillingGroup) error
	grpc.ServerStream
}

type Billing_ListInvoiceServiceDiscountsClient added in v0.64.22

type Billing_ListInvoiceServiceDiscountsClient interface {
	Recv() (*InvoiceServiceDiscounts, error)
	grpc.ClientStream
}

type Billing_ListInvoiceServiceDiscountsServer added in v0.64.22

type Billing_ListInvoiceServiceDiscountsServer interface {
	Send(*InvoiceServiceDiscounts) error
	grpc.ServerStream
}

type Billing_ListUsageCostsDriftClient added in v0.58.0

type Billing_ListUsageCostsDriftClient interface {
	Recv() (*UsageCostsDrift, error)
	grpc.ClientStream
}

type Billing_ListUsageCostsDriftServer added in v0.58.0

type Billing_ListUsageCostsDriftServer interface {
	Send(*UsageCostsDrift) error
	grpc.ServerStream
}

type ClientOptions

type ClientOptions struct {
	Conn *conn.GrpcClientConn
}

ClientOptions represents the optional options to NewClient.

type CreateAccountInvoiceServiceDiscountsRequest added in v0.64.24

type CreateAccountInvoiceServiceDiscountsRequest struct {

	// Required.
	//
	// For Ripple, only billing internal ids are supported at the moment. You can set it to a single group
	//
	// Implied as the parent billing group for Wave(Pro) users.
	GroupId string `protobuf:"bytes,1,opt,name=groupId,proto3" json:"groupId,omitempty"`
	// Required.
	Accounts []*AccountServiceDiscounts `protobuf:"bytes,4,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

Request message for the CreateAccountInvoiceServiceDiscounts rpc.

func (*CreateAccountInvoiceServiceDiscountsRequest) Descriptor deprecated added in v0.64.24

Deprecated: Use CreateAccountInvoiceServiceDiscountsRequest.ProtoReflect.Descriptor instead.

func (*CreateAccountInvoiceServiceDiscountsRequest) GetAccounts added in v0.64.24

func (*CreateAccountInvoiceServiceDiscountsRequest) GetGroupId added in v0.64.24

func (*CreateAccountInvoiceServiceDiscountsRequest) ProtoMessage added in v0.64.24

func (*CreateAccountInvoiceServiceDiscountsRequest) ProtoReflect added in v0.64.24

func (*CreateAccountInvoiceServiceDiscountsRequest) Reset added in v0.64.24

func (*CreateAccountInvoiceServiceDiscountsRequest) String added in v0.64.24

type CreateAccountInvoiceServiceDiscountsResponse added in v0.64.24

type CreateAccountInvoiceServiceDiscountsResponse struct {
	Accounts []*AccountServiceDiscounts `protobuf:"bytes,4,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

Response message for the CreateAccountInvoiceServiceDiscounts rpc.

func (*CreateAccountInvoiceServiceDiscountsResponse) Descriptor deprecated added in v0.64.24

Deprecated: Use CreateAccountInvoiceServiceDiscountsResponse.ProtoReflect.Descriptor instead.

func (*CreateAccountInvoiceServiceDiscountsResponse) GetAccounts added in v0.64.24

func (*CreateAccountInvoiceServiceDiscountsResponse) ProtoMessage added in v0.64.24

func (*CreateAccountInvoiceServiceDiscountsResponse) ProtoReflect added in v0.64.24

func (*CreateAccountInvoiceServiceDiscountsResponse) Reset added in v0.64.24

func (*CreateAccountInvoiceServiceDiscountsResponse) String added in v0.64.24

type CreateBillingGroupRequest added in v0.35.11

type CreateBillingGroupRequest struct {

	// Required. The billing group's id.
	BillingGroupId string `protobuf:"bytes,1,opt,name=billingGroupId,proto3" json:"billingGroupId,omitempty"`
	// Required. The billing group's name.
	BillingGroupName string `protobuf:"bytes,2,opt,name=billingGroupName,proto3" json:"billingGroupName,omitempty"`
	// Required. Company’s name
	CompanyName string `protobuf:"bytes,3,opt,name=companyName,proto3" json:"companyName,omitempty"`
	// Optional. The title of the billing
	BillingTitle string `protobuf:"bytes,4,opt,name=billingTitle,proto3" json:"billingTitle,omitempty"`
	// Optional. Company’s phone number
	PhoneNumber string `protobuf:"bytes,5,opt,name=phoneNumber,proto3" json:"phoneNumber,omitempty"`
	// Optional. Company’s postal code
	PostalCode string `protobuf:"bytes,6,opt,name=postalCode,proto3" json:"postalCode,omitempty"`
	// Optional. Company’s address
	Address string `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"`
	// Optional. Addressee
	Personal string `protobuf:"bytes,8,opt,name=personal,proto3" json:"personal,omitempty"`
	// Optional. Any remarks about the billing group
	Remarks string `protobuf:"bytes,9,opt,name=remarks,proto3" json:"remarks,omitempty"`
	// Optional. Project code
	ProjectId string `protobuf:"bytes,10,opt,name=projectId,proto3" json:"projectId,omitempty"`
	// Optional. Invoice language
	Language string `protobuf:"bytes,11,opt,name=language,proto3" json:"language,omitempty"`
	// Optional. Calculation type, true unblended or unblended
	DisplayCost string `protobuf:"bytes,12,opt,name=displayCost,proto3" json:"displayCost,omitempty"`
	// Optional. Exchange rate type, payer or billing group
	ExchangeRateType string `protobuf:"bytes,13,opt,name=exchangeRateType,proto3" json:"exchangeRateType,omitempty"`
	// Invoice settings
	Invoices *CreateBillingGroupRequestInvoice `protobuf:"bytes,14,opt,name=invoices,proto3" json:"invoices,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Billing.CreateBillingGroup rpc.

func (*CreateBillingGroupRequest) Descriptor deprecated added in v0.35.11

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

Deprecated: Use CreateBillingGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateBillingGroupRequest) GetAddress added in v0.35.11

func (x *CreateBillingGroupRequest) GetAddress() string

func (*CreateBillingGroupRequest) GetBillingGroupId added in v0.35.11

func (x *CreateBillingGroupRequest) GetBillingGroupId() string

func (*CreateBillingGroupRequest) GetBillingGroupName added in v0.35.11

func (x *CreateBillingGroupRequest) GetBillingGroupName() string

func (*CreateBillingGroupRequest) GetBillingTitle added in v0.35.11

func (x *CreateBillingGroupRequest) GetBillingTitle() string

func (*CreateBillingGroupRequest) GetCompanyName added in v0.35.11

func (x *CreateBillingGroupRequest) GetCompanyName() string

func (*CreateBillingGroupRequest) GetDisplayCost added in v0.35.11

func (x *CreateBillingGroupRequest) GetDisplayCost() string

func (*CreateBillingGroupRequest) GetExchangeRateType added in v0.35.11

func (x *CreateBillingGroupRequest) GetExchangeRateType() string

func (*CreateBillingGroupRequest) GetInvoices added in v0.35.13

func (*CreateBillingGroupRequest) GetLanguage added in v0.35.11

func (x *CreateBillingGroupRequest) GetLanguage() string

func (*CreateBillingGroupRequest) GetPersonal added in v0.35.11

func (x *CreateBillingGroupRequest) GetPersonal() string

func (*CreateBillingGroupRequest) GetPhoneNumber added in v0.35.11

func (x *CreateBillingGroupRequest) GetPhoneNumber() string

func (*CreateBillingGroupRequest) GetPostalCode added in v0.35.11

func (x *CreateBillingGroupRequest) GetPostalCode() string

func (*CreateBillingGroupRequest) GetProjectId added in v0.35.11

func (x *CreateBillingGroupRequest) GetProjectId() string

func (*CreateBillingGroupRequest) GetRemarks added in v0.35.11

func (x *CreateBillingGroupRequest) GetRemarks() string

func (*CreateBillingGroupRequest) ProtoMessage added in v0.35.11

func (*CreateBillingGroupRequest) ProtoMessage()

func (*CreateBillingGroupRequest) ProtoReflect added in v0.35.11

func (*CreateBillingGroupRequest) Reset added in v0.35.11

func (x *CreateBillingGroupRequest) Reset()

func (*CreateBillingGroupRequest) String added in v0.35.11

func (x *CreateBillingGroupRequest) String() string

type CreateBillingGroupRequestInvoice added in v0.35.13

type CreateBillingGroupRequestInvoice struct {

	// AWS invoice settings
	Aws *CreateBillingGroupRequestInvoiceVendor `protobuf:"bytes,1,opt,name=aws,proto3" json:"aws,omitempty"`
	// Azure invoice settings
	Azure *CreateBillingGroupRequestInvoiceVendor `protobuf:"bytes,2,opt,name=azure,proto3" json:"azure,omitempty"`
	// GCP invoice settings
	Gcp *CreateBillingGroupRequestInvoiceVendor `protobuf:"bytes,3,opt,name=gcp,proto3" json:"gcp,omitempty"`
	// contains filtered or unexported fields
}

Vendor invoice setttings

func (*CreateBillingGroupRequestInvoice) Descriptor deprecated added in v0.35.13

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

Deprecated: Use CreateBillingGroupRequestInvoice.ProtoReflect.Descriptor instead.

func (*CreateBillingGroupRequestInvoice) GetAws added in v0.35.13

func (*CreateBillingGroupRequestInvoice) GetAzure added in v0.35.13

func (*CreateBillingGroupRequestInvoice) GetGcp added in v0.35.13

func (*CreateBillingGroupRequestInvoice) ProtoMessage added in v0.35.13

func (*CreateBillingGroupRequestInvoice) ProtoMessage()

func (*CreateBillingGroupRequestInvoice) ProtoReflect added in v0.35.13

func (*CreateBillingGroupRequestInvoice) Reset added in v0.35.13

func (*CreateBillingGroupRequestInvoice) String added in v0.35.13

type CreateBillingGroupRequestInvoiceVendor added in v0.35.13

type CreateBillingGroupRequestInvoiceVendor struct {
	CalcType                   string  `protobuf:"bytes,1,opt,name=calcType,proto3" json:"calcType,omitempty"`
	DiscountRate               float64 `protobuf:"fixed64,2,opt,name=discountRate,proto3" json:"discountRate,omitempty"`
	SubstitutionFee            string  `protobuf:"bytes,3,opt,name=substitutionFee,proto3" json:"substitutionFee,omitempty"`
	SubstitutionFix            float64 `protobuf:"fixed64,4,opt,name=substitutionFix,proto3" json:"substitutionFix,omitempty"`
	SubstitutionRate           float64 `protobuf:"fixed64,5,opt,name=substitutionRate,proto3" json:"substitutionRate,omitempty"`
	SupportFee                 string  `protobuf:"bytes,6,opt,name=supportFee,proto3" json:"supportFee,omitempty"`
	SupportRate                float64 `protobuf:"fixed64,7,opt,name=supportRate,proto3" json:"supportRate,omitempty"`
	SupportFix                 float64 `protobuf:"fixed64,8,opt,name=supportFix,proto3" json:"supportFix,omitempty"`
	TaxRate                    float64 `protobuf:"fixed64,9,opt,name=taxRate,proto3" json:"taxRate,omitempty"`
	Currency                   string  `protobuf:"bytes,10,opt,name=currency,proto3" json:"currency,omitempty"`
	DiscountTargetUsage        string  `protobuf:"bytes,11,opt,name=discountTargetUsage,proto3" json:"discountTargetUsage,omitempty"`
	SubstitutionFeeTargetUsage string  `protobuf:"bytes,12,opt,name=substitutionFeeTargetUsage,proto3" json:"substitutionFeeTargetUsage,omitempty"`
	DiscountCalcLogic          string  `protobuf:"bytes,13,opt,name=discountCalcLogic,proto3" json:"discountCalcLogic,omitempty"`
	SubstitutionFeeCalcTarget  string  `protobuf:"bytes,14,opt,name=substitutionFeeCalcTarget,proto3" json:"substitutionFeeCalcTarget,omitempty"`
	SubstitutionFeeCalcType    string  `protobuf:"bytes,15,opt,name=substitutionFeeCalcType,proto3" json:"substitutionFeeCalcType,omitempty"`
	SupportAmountTarget        string  `protobuf:"bytes,16,opt,name=supportAmountTarget,proto3" json:"supportAmountTarget,omitempty"`
	SupportFeeCalcTarget       string  `protobuf:"bytes,17,opt,name=supportFeeCalcTarget,proto3" json:"supportFeeCalcTarget,omitempty"`
	// contains filtered or unexported fields
}

Specific settings per vendor

func (*CreateBillingGroupRequestInvoiceVendor) Descriptor deprecated added in v0.35.13

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

Deprecated: Use CreateBillingGroupRequestInvoiceVendor.ProtoReflect.Descriptor instead.

func (*CreateBillingGroupRequestInvoiceVendor) GetCalcType added in v0.35.13

func (*CreateBillingGroupRequestInvoiceVendor) GetCurrency added in v0.35.13

func (*CreateBillingGroupRequestInvoiceVendor) GetDiscountCalcLogic added in v0.35.13

func (x *CreateBillingGroupRequestInvoiceVendor) GetDiscountCalcLogic() string

func (*CreateBillingGroupRequestInvoiceVendor) GetDiscountRate added in v0.35.13

func (x *CreateBillingGroupRequestInvoiceVendor) GetDiscountRate() float64

func (*CreateBillingGroupRequestInvoiceVendor) GetDiscountTargetUsage added in v0.35.13

func (x *CreateBillingGroupRequestInvoiceVendor) GetDiscountTargetUsage() string

func (*CreateBillingGroupRequestInvoiceVendor) GetSubstitutionFee added in v0.35.13

func (x *CreateBillingGroupRequestInvoiceVendor) GetSubstitutionFee() string

func (*CreateBillingGroupRequestInvoiceVendor) GetSubstitutionFeeCalcTarget added in v0.35.13

func (x *CreateBillingGroupRequestInvoiceVendor) GetSubstitutionFeeCalcTarget() string

func (*CreateBillingGroupRequestInvoiceVendor) GetSubstitutionFeeCalcType added in v0.35.13

func (x *CreateBillingGroupRequestInvoiceVendor) GetSubstitutionFeeCalcType() string

func (*CreateBillingGroupRequestInvoiceVendor) GetSubstitutionFeeTargetUsage added in v0.35.13

func (x *CreateBillingGroupRequestInvoiceVendor) GetSubstitutionFeeTargetUsage() string

func (*CreateBillingGroupRequestInvoiceVendor) GetSubstitutionFix added in v0.35.13

func (x *CreateBillingGroupRequestInvoiceVendor) GetSubstitutionFix() float64

func (*CreateBillingGroupRequestInvoiceVendor) GetSubstitutionRate added in v0.35.13

func (x *CreateBillingGroupRequestInvoiceVendor) GetSubstitutionRate() float64

func (*CreateBillingGroupRequestInvoiceVendor) GetSupportAmountTarget added in v0.35.13

func (x *CreateBillingGroupRequestInvoiceVendor) GetSupportAmountTarget() string

func (*CreateBillingGroupRequestInvoiceVendor) GetSupportFee added in v0.35.13

func (*CreateBillingGroupRequestInvoiceVendor) GetSupportFeeCalcTarget added in v0.35.13

func (x *CreateBillingGroupRequestInvoiceVendor) GetSupportFeeCalcTarget() string

func (*CreateBillingGroupRequestInvoiceVendor) GetSupportFix added in v0.35.13

func (*CreateBillingGroupRequestInvoiceVendor) GetSupportRate added in v0.35.13

func (x *CreateBillingGroupRequestInvoiceVendor) GetSupportRate() float64

func (*CreateBillingGroupRequestInvoiceVendor) GetTaxRate added in v0.35.13

func (*CreateBillingGroupRequestInvoiceVendor) ProtoMessage added in v0.35.13

func (*CreateBillingGroupRequestInvoiceVendor) ProtoReflect added in v0.35.13

func (*CreateBillingGroupRequestInvoiceVendor) Reset added in v0.35.13

func (*CreateBillingGroupRequestInvoiceVendor) String added in v0.35.13

type CreateInvoiceRequest added in v0.64.38

type CreateInvoiceRequest struct {

	// Required. Month to get invoice. Format: `yyyymm`.
	Date string `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"`
	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Optional. You can set all billing groups.
	//
	// If this parameter is not set, The list set to `groups` is used.
	AllGroups bool `protobuf:"varint,2,opt,name=allGroups,proto3" json:"allGroups,omitempty"`
	// Optional. You can set it to a list of billing internal group id
	Groups []string `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"`
	// contains filtered or unexported fields
}

Request message for the CreateInvoice rpc.

func (*CreateInvoiceRequest) Descriptor deprecated added in v0.64.38

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

Deprecated: Use CreateInvoiceRequest.ProtoReflect.Descriptor instead.

func (*CreateInvoiceRequest) GetAllGroups added in v0.64.38

func (x *CreateInvoiceRequest) GetAllGroups() bool

func (*CreateInvoiceRequest) GetDate added in v0.64.38

func (x *CreateInvoiceRequest) GetDate() string

func (*CreateInvoiceRequest) GetGroups added in v0.64.38

func (x *CreateInvoiceRequest) GetGroups() []string

func (*CreateInvoiceRequest) GetVendor added in v0.64.38

func (x *CreateInvoiceRequest) GetVendor() string

func (*CreateInvoiceRequest) ProtoMessage added in v0.64.38

func (*CreateInvoiceRequest) ProtoMessage()

func (*CreateInvoiceRequest) ProtoReflect added in v0.64.38

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

func (*CreateInvoiceRequest) Reset added in v0.64.38

func (x *CreateInvoiceRequest) Reset()

func (*CreateInvoiceRequest) String added in v0.64.38

func (x *CreateInvoiceRequest) String() string

type DeleteAccountInvoiceServiceDiscountsRequest added in v0.64.24

type DeleteAccountInvoiceServiceDiscountsRequest struct {

	// Required.
	//
	// For Ripple, only billing internal ids are supported at the moment. You can set it to a single group
	//
	// Implied as the parent billing group for Wave(Pro) users.
	GroupId string `protobuf:"bytes,1,opt,name=groupId,proto3" json:"groupId,omitempty"`
	// contains filtered or unexported fields
}

Request message for the DeleteAccountInvoiceServiceDiscounts rpc.

func (*DeleteAccountInvoiceServiceDiscountsRequest) Descriptor deprecated added in v0.64.24

Deprecated: Use DeleteAccountInvoiceServiceDiscountsRequest.ProtoReflect.Descriptor instead.

func (*DeleteAccountInvoiceServiceDiscountsRequest) GetGroupId added in v0.64.24

func (*DeleteAccountInvoiceServiceDiscountsRequest) ProtoMessage added in v0.64.24

func (*DeleteAccountInvoiceServiceDiscountsRequest) ProtoReflect added in v0.64.24

func (*DeleteAccountInvoiceServiceDiscountsRequest) Reset added in v0.64.24

func (*DeleteAccountInvoiceServiceDiscountsRequest) String added in v0.64.24

type ExportInvoiceFileRequest added in v0.64.3

type ExportInvoiceFileRequest struct {

	// Required. Month to get invoice. Format: `yyyymm`.
	Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	// Optional.
	//
	// For Ripple, only billing internal ids are supported at the moment. You can set it to a single group or a comma-separated list of groups. ex) `group1,group2`. if want to set all group, set `*`.
	//
	// Implied as the parent billing group for Wave(Pro) users.
	GroupId string `protobuf:"bytes,2,opt,name=groupId,proto3" json:"groupId,omitempty"`
	// contains filtered or unexported fields
}

Request message for the ExportCostFiltersFile rpc.

func (*ExportInvoiceFileRequest) Descriptor deprecated added in v0.64.3

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

Deprecated: Use ExportInvoiceFileRequest.ProtoReflect.Descriptor instead.

func (*ExportInvoiceFileRequest) GetDate added in v0.64.3

func (x *ExportInvoiceFileRequest) GetDate() string

func (*ExportInvoiceFileRequest) GetGroupId added in v0.64.3

func (x *ExportInvoiceFileRequest) GetGroupId() string

func (*ExportInvoiceFileRequest) ProtoMessage added in v0.64.3

func (*ExportInvoiceFileRequest) ProtoMessage()

func (*ExportInvoiceFileRequest) ProtoReflect added in v0.64.3

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

func (*ExportInvoiceFileRequest) Reset added in v0.64.3

func (x *ExportInvoiceFileRequest) Reset()

func (*ExportInvoiceFileRequest) String added in v0.64.3

func (x *ExportInvoiceFileRequest) String() string

type ExportInvoiceFileResponse added in v0.64.3

type ExportInvoiceFileResponse struct {

	// Required. URL of exported file.
	//
	// csv columns set `group vendor resourceId resourceName type serviceName currency cost`
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

Response message for the ExportInvoiceFile rpc.

func (*ExportInvoiceFileResponse) Descriptor deprecated added in v0.64.3

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

Deprecated: Use ExportInvoiceFileResponse.ProtoReflect.Descriptor instead.

func (*ExportInvoiceFileResponse) GetUrl added in v0.64.3

func (x *ExportInvoiceFileResponse) GetUrl() string

func (*ExportInvoiceFileResponse) ProtoMessage added in v0.64.3

func (*ExportInvoiceFileResponse) ProtoMessage()

func (*ExportInvoiceFileResponse) ProtoReflect added in v0.64.3

func (*ExportInvoiceFileResponse) Reset added in v0.64.3

func (x *ExportInvoiceFileResponse) Reset()

func (*ExportInvoiceFileResponse) String added in v0.64.3

func (x *ExportInvoiceFileResponse) String() string

type GetAccessGroupRequest added in v0.51.8

type GetAccessGroupRequest struct {
	AccessGroupId string `protobuf:"bytes,1,opt,name=accessGroupId,proto3" json:"accessGroupId,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Billing.GetAccessGroup rpc.

func (*GetAccessGroupRequest) Descriptor deprecated added in v0.51.8

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

Deprecated: Use GetAccessGroupRequest.ProtoReflect.Descriptor instead.

func (*GetAccessGroupRequest) GetAccessGroupId added in v0.51.8

func (x *GetAccessGroupRequest) GetAccessGroupId() string

func (*GetAccessGroupRequest) ProtoMessage added in v0.51.8

func (*GetAccessGroupRequest) ProtoMessage()

func (*GetAccessGroupRequest) ProtoReflect added in v0.51.8

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

func (*GetAccessGroupRequest) Reset added in v0.51.8

func (x *GetAccessGroupRequest) Reset()

func (*GetAccessGroupRequest) String added in v0.51.8

func (x *GetAccessGroupRequest) String() string

type GetAccessGroupResponse added in v0.51.8

type GetAccessGroupResponse struct {
	AccessGroup *AccessGroup `protobuf:"bytes,1,opt,name=accessGroup,proto3" json:"accessGroup,omitempty"`
	// contains filtered or unexported fields
}

Response message for the Billing.GetAccessGroup rpc.

func (*GetAccessGroupResponse) Descriptor deprecated added in v0.51.8

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

Deprecated: Use GetAccessGroupResponse.ProtoReflect.Descriptor instead.

func (*GetAccessGroupResponse) GetAccessGroup added in v0.51.8

func (x *GetAccessGroupResponse) GetAccessGroup() *AccessGroup

func (*GetAccessGroupResponse) ProtoMessage added in v0.51.8

func (*GetAccessGroupResponse) ProtoMessage()

func (*GetAccessGroupResponse) ProtoReflect added in v0.51.8

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

func (*GetAccessGroupResponse) Reset added in v0.51.8

func (x *GetAccessGroupResponse) Reset()

func (*GetAccessGroupResponse) String added in v0.51.8

func (x *GetAccessGroupResponse) String() string

type GetBillingGroupRequest added in v0.36.3

type GetBillingGroupRequest struct {
	BillingInternalId string `protobuf:"bytes,1,opt,name=billingInternalId,proto3" json:"billingInternalId,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Billing.GetBillingGroup rpc.

func (*GetBillingGroupRequest) Descriptor deprecated added in v0.36.3

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

Deprecated: Use GetBillingGroupRequest.ProtoReflect.Descriptor instead.

func (*GetBillingGroupRequest) GetBillingInternalId added in v0.36.3

func (x *GetBillingGroupRequest) GetBillingInternalId() string

func (*GetBillingGroupRequest) ProtoMessage added in v0.36.3

func (*GetBillingGroupRequest) ProtoMessage()

func (*GetBillingGroupRequest) ProtoReflect added in v0.36.3

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

func (*GetBillingGroupRequest) Reset added in v0.36.3

func (x *GetBillingGroupRequest) Reset()

func (*GetBillingGroupRequest) String added in v0.36.3

func (x *GetBillingGroupRequest) String() string

type GetBillingGroupResponse added in v0.36.3

type GetBillingGroupResponse struct {
	BillingGroup *BillingGroup `protobuf:"bytes,1,opt,name=billingGroup,proto3" json:"billingGroup,omitempty"`
	// contains filtered or unexported fields
}

Response message for the Billing.GetBillingGroup rpc.

func (*GetBillingGroupResponse) Descriptor deprecated added in v0.36.3

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

Deprecated: Use GetBillingGroupResponse.ProtoReflect.Descriptor instead.

func (*GetBillingGroupResponse) GetBillingGroup added in v0.36.3

func (x *GetBillingGroupResponse) GetBillingGroup() *BillingGroup

func (*GetBillingGroupResponse) ProtoMessage added in v0.36.3

func (*GetBillingGroupResponse) ProtoMessage()

func (*GetBillingGroupResponse) ProtoReflect added in v0.36.3

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

func (*GetBillingGroupResponse) Reset added in v0.36.3

func (x *GetBillingGroupResponse) Reset()

func (*GetBillingGroupResponse) String added in v0.36.3

func (x *GetBillingGroupResponse) String() string

type GetInvoiceRequest added in v0.64.3

type GetInvoiceRequest struct {

	// Required. Month to get invoice. Format: `yyyymm`.
	Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	// Required.
	//
	// For Ripple, only billing internal ids are supported at the moment. You can set it to a single group
	//
	// Implied as the parent billing group for Wave(Pro) users.
	GroupId string `protobuf:"bytes,2,opt,name=groupId,proto3" json:"groupId,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Cost.GetInvoiceRequest rpc.

func (*GetInvoiceRequest) Descriptor deprecated added in v0.64.3

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

Deprecated: Use GetInvoiceRequest.ProtoReflect.Descriptor instead.

func (*GetInvoiceRequest) GetDate added in v0.64.3

func (x *GetInvoiceRequest) GetDate() string

func (*GetInvoiceRequest) GetGroupId added in v0.64.3

func (x *GetInvoiceRequest) GetGroupId() string

func (*GetInvoiceRequest) ProtoMessage added in v0.64.3

func (*GetInvoiceRequest) ProtoMessage()

func (*GetInvoiceRequest) ProtoReflect added in v0.64.3

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

func (*GetInvoiceRequest) Reset added in v0.64.3

func (x *GetInvoiceRequest) Reset()

func (*GetInvoiceRequest) String added in v0.64.3

func (x *GetInvoiceRequest) String() string

type GetInvoiceStatusRequest added in v0.65.4

type GetInvoiceStatusRequest struct {

	// Required. invoice generate request id.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for the GetInvoiceStatus rpc.

func (*GetInvoiceStatusRequest) Descriptor deprecated added in v0.65.4

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

Deprecated: Use GetInvoiceStatusRequest.ProtoReflect.Descriptor instead.

func (*GetInvoiceStatusRequest) GetId added in v0.65.4

func (x *GetInvoiceStatusRequest) GetId() string

func (*GetInvoiceStatusRequest) ProtoMessage added in v0.65.4

func (*GetInvoiceStatusRequest) ProtoMessage()

func (*GetInvoiceStatusRequest) ProtoReflect added in v0.65.4

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

func (*GetInvoiceStatusRequest) Reset added in v0.65.4

func (x *GetInvoiceStatusRequest) Reset()

func (*GetInvoiceStatusRequest) String added in v0.65.4

func (x *GetInvoiceStatusRequest) String() string

type GrpcClient

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

func NewClient

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

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

func (*GrpcClient) Close

func (c *GrpcClient) Close()

type InvoiceServiceDiscounts added in v0.64.22

type InvoiceServiceDiscounts struct {

	// Service discount id.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Service discount name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Service discount description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// create timestamp.
	Created string `protobuf:"bytes,4,opt,name=created,proto3" json:"created,omitempty"`
	// update timestamp.
	Updated string `protobuf:"bytes,5,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

Streaming response message for the InvoiceServiceDiscounts rpc.

func (*InvoiceServiceDiscounts) Descriptor deprecated added in v0.64.22

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

Deprecated: Use InvoiceServiceDiscounts.ProtoReflect.Descriptor instead.

func (*InvoiceServiceDiscounts) GetCreated added in v0.64.22

func (x *InvoiceServiceDiscounts) GetCreated() string

func (*InvoiceServiceDiscounts) GetDescription added in v0.64.22

func (x *InvoiceServiceDiscounts) GetDescription() string

func (*InvoiceServiceDiscounts) GetId added in v0.64.22

func (x *InvoiceServiceDiscounts) GetId() string

func (*InvoiceServiceDiscounts) GetName added in v0.64.22

func (x *InvoiceServiceDiscounts) GetName() string

func (*InvoiceServiceDiscounts) GetUpdated added in v0.64.22

func (x *InvoiceServiceDiscounts) GetUpdated() string

func (*InvoiceServiceDiscounts) ProtoMessage added in v0.64.22

func (*InvoiceServiceDiscounts) ProtoMessage()

func (*InvoiceServiceDiscounts) ProtoReflect added in v0.64.22

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

func (*InvoiceServiceDiscounts) Reset added in v0.64.22

func (x *InvoiceServiceDiscounts) Reset()

func (*InvoiceServiceDiscounts) String added in v0.64.22

func (x *InvoiceServiceDiscounts) String() string

type ListAccountInvoiceServiceDiscountsRequest added in v0.64.24

type ListAccountInvoiceServiceDiscountsRequest struct {

	// Required.
	//
	// For Ripple, only billing internal ids are supported at the moment. You can set it to a single group
	//
	// Implied as the parent billing group for Wave(Pro) users.
	GroupId string `protobuf:"bytes,1,opt,name=groupId,proto3" json:"groupId,omitempty"`
	// contains filtered or unexported fields
}

Request message for the ListAccountInvoiceServiceDiscounts rpc.

func (*ListAccountInvoiceServiceDiscountsRequest) Descriptor deprecated added in v0.64.24

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

Deprecated: Use ListAccountInvoiceServiceDiscountsRequest.ProtoReflect.Descriptor instead.

func (*ListAccountInvoiceServiceDiscountsRequest) GetGroupId added in v0.64.24

func (*ListAccountInvoiceServiceDiscountsRequest) ProtoMessage added in v0.64.24

func (*ListAccountInvoiceServiceDiscountsRequest) ProtoReflect added in v0.64.24

func (*ListAccountInvoiceServiceDiscountsRequest) Reset added in v0.64.24

func (*ListAccountInvoiceServiceDiscountsRequest) String added in v0.64.24

type ListAwsDailyRunHistoryRequest added in v0.62.7

type ListAwsDailyRunHistoryRequest struct {

	// Optional. If empty, defaults to current UTC month. Format: yyyymm.
	Month string `protobuf:"bytes,1,opt,name=month,proto3" json:"month,omitempty"`
	// Optional. If not empty, query for this group. At the moment, only `billingInternalId`s are supported.
	GroupId string `protobuf:"bytes,2,opt,name=groupId,proto3" json:"groupId,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Billing.ListAwsCalculationHistory rpc.

func (*ListAwsDailyRunHistoryRequest) Descriptor deprecated added in v0.62.7

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

Deprecated: Use ListAwsDailyRunHistoryRequest.ProtoReflect.Descriptor instead.

func (*ListAwsDailyRunHistoryRequest) GetGroupId added in v0.62.7

func (x *ListAwsDailyRunHistoryRequest) GetGroupId() string

func (*ListAwsDailyRunHistoryRequest) GetMonth added in v0.62.7

func (x *ListAwsDailyRunHistoryRequest) GetMonth() string

func (*ListAwsDailyRunHistoryRequest) ProtoMessage added in v0.62.7

func (*ListAwsDailyRunHistoryRequest) ProtoMessage()

func (*ListAwsDailyRunHistoryRequest) ProtoReflect added in v0.62.7

func (*ListAwsDailyRunHistoryRequest) Reset added in v0.62.7

func (x *ListAwsDailyRunHistoryRequest) Reset()

func (*ListAwsDailyRunHistoryRequest) String added in v0.62.7

type ListBillingGroupsRequest

type ListBillingGroupsRequest struct {

	// Optional. Get only the value that set fieldMask.
	//
	// see more info: https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/field_mask.proto
	FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Billing.ListBillingGroups rpc.

func (*ListBillingGroupsRequest) Descriptor deprecated

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

Deprecated: Use ListBillingGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListBillingGroupsRequest) GetFieldMask added in v0.65.2

func (x *ListBillingGroupsRequest) GetFieldMask() *fieldmaskpb.FieldMask

func (*ListBillingGroupsRequest) ProtoMessage

func (*ListBillingGroupsRequest) ProtoMessage()

func (*ListBillingGroupsRequest) ProtoReflect

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

func (*ListBillingGroupsRequest) Reset

func (x *ListBillingGroupsRequest) Reset()

func (*ListBillingGroupsRequest) String

func (x *ListBillingGroupsRequest) String() string

type ListInvoiceServiceDiscountsRequest added in v0.64.22

type ListInvoiceServiceDiscountsRequest struct {
	// contains filtered or unexported fields
}

Request message for the ListInvoiceServiceDiscounts rpc.

func (*ListInvoiceServiceDiscountsRequest) Descriptor deprecated added in v0.64.22

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

Deprecated: Use ListInvoiceServiceDiscountsRequest.ProtoReflect.Descriptor instead.

func (*ListInvoiceServiceDiscountsRequest) ProtoMessage added in v0.64.22

func (*ListInvoiceServiceDiscountsRequest) ProtoMessage()

func (*ListInvoiceServiceDiscountsRequest) ProtoReflect added in v0.64.22

func (*ListInvoiceServiceDiscountsRequest) Reset added in v0.64.22

func (*ListInvoiceServiceDiscountsRequest) String added in v0.64.22

type ListUsageCostsDriftRequest added in v0.58.0

type ListUsageCostsDriftRequest struct {

	// Required. At the moment, only `aws` is supported.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Optional. If empty, returns all billing groups.
	BillingInternalId string `protobuf:"bytes,2,opt,name=billingInternalId,proto3" json:"billingInternalId,omitempty"`
	// Optional. If empty, defaults to current UTC month. Format: yyyymm.
	Month string `protobuf:"bytes,3,opt,name=month,proto3" json:"month,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Billing.ListUsageCostsDrift rpc.

func (*ListUsageCostsDriftRequest) Descriptor deprecated added in v0.58.0

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

Deprecated: Use ListUsageCostsDriftRequest.ProtoReflect.Descriptor instead.

func (*ListUsageCostsDriftRequest) GetBillingInternalId added in v0.58.0

func (x *ListUsageCostsDriftRequest) GetBillingInternalId() string

func (*ListUsageCostsDriftRequest) GetMonth added in v0.58.0

func (x *ListUsageCostsDriftRequest) GetMonth() string

func (*ListUsageCostsDriftRequest) GetVendor added in v0.58.0

func (x *ListUsageCostsDriftRequest) GetVendor() string

func (*ListUsageCostsDriftRequest) ProtoMessage added in v0.58.0

func (*ListUsageCostsDriftRequest) ProtoMessage()

func (*ListUsageCostsDriftRequest) ProtoReflect added in v0.58.0

func (*ListUsageCostsDriftRequest) Reset added in v0.58.0

func (x *ListUsageCostsDriftRequest) Reset()

func (*ListUsageCostsDriftRequest) String added in v0.58.0

func (x *ListUsageCostsDriftRequest) String() string

type RemoveAccountInvoiceServiceDiscountsRequest added in v0.64.25

type RemoveAccountInvoiceServiceDiscountsRequest struct {

	// Required.
	//
	// For Ripple, only billing internal ids are supported at the moment. You can set it to a single group
	//
	// Implied as the parent billing group for Wave(Pro) users.
	GroupId string `protobuf:"bytes,1,opt,name=groupId,proto3" json:"groupId,omitempty"`
	// Required.
	Accounts []*AccountServiceDiscounts `protobuf:"bytes,4,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveAccountInvoiceServiceDiscountsRequest) Descriptor deprecated added in v0.64.25

Deprecated: Use RemoveAccountInvoiceServiceDiscountsRequest.ProtoReflect.Descriptor instead.

func (*RemoveAccountInvoiceServiceDiscountsRequest) GetAccounts added in v0.64.25

func (*RemoveAccountInvoiceServiceDiscountsRequest) GetGroupId added in v0.64.25

func (*RemoveAccountInvoiceServiceDiscountsRequest) ProtoMessage added in v0.64.25

func (*RemoveAccountInvoiceServiceDiscountsRequest) ProtoReflect added in v0.64.25

func (*RemoveAccountInvoiceServiceDiscountsRequest) Reset added in v0.64.25

func (*RemoveAccountInvoiceServiceDiscountsRequest) String added in v0.64.25

type UnimplementedBillingServer

type UnimplementedBillingServer struct {
}

UnimplementedBillingServer must be embedded to have forward compatible implementations.

func (UnimplementedBillingServer) CreateBillingGroup added in v0.35.11

func (UnimplementedBillingServer) CreateInvoice added in v0.64.38

func (UnimplementedBillingServer) DeleteAccountInvoiceServiceDiscounts added in v0.64.24

func (UnimplementedBillingServer) ExportInvoiceFile added in v0.64.3

func (UnimplementedBillingServer) GetAccessGroup added in v0.51.8

func (UnimplementedBillingServer) GetBillingGroup added in v0.36.3

func (UnimplementedBillingServer) GetInvoice added in v0.64.3

func (UnimplementedBillingServer) GetInvoiceStatus added in v0.65.4

func (UnimplementedBillingServer) ListAccountInvoiceServiceDiscounts added in v0.64.24

func (UnimplementedBillingServer) ListAwsDailyRunHistory added in v0.62.7

func (UnimplementedBillingServer) ListInvoiceServiceDiscounts added in v0.64.22

func (UnimplementedBillingServer) ListUsageCostsDrift added in v0.58.0

func (UnimplementedBillingServer) RemoveAccountInvoiceServiceDiscounts added in v0.64.25

func (UnimplementedBillingServer) UpdateInvoicePreviews added in v0.65.21

type UnsafeBillingServer

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

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

type UpdateAccountInvoiceServiceDiscountsRequest added in v0.64.24

type UpdateAccountInvoiceServiceDiscountsRequest struct {

	// Required.
	//
	// For Ripple, only billing internal ids are supported at the moment. You can set it to a single group
	//
	// Implied as the parent billing group for Wave(Pro) users.
	GroupId string `protobuf:"bytes,1,opt,name=groupId,proto3" json:"groupId,omitempty"`
	// Required.
	Accounts []*AccountServiceDiscounts `protobuf:"bytes,4,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

Request message for the UpdateAccountInvoiceServiceDiscounts rpc.

func (*UpdateAccountInvoiceServiceDiscountsRequest) Descriptor deprecated added in v0.64.24

Deprecated: Use UpdateAccountInvoiceServiceDiscountsRequest.ProtoReflect.Descriptor instead.

func (*UpdateAccountInvoiceServiceDiscountsRequest) GetAccounts added in v0.64.24

func (*UpdateAccountInvoiceServiceDiscountsRequest) GetGroupId added in v0.64.24

func (*UpdateAccountInvoiceServiceDiscountsRequest) ProtoMessage added in v0.64.24

func (*UpdateAccountInvoiceServiceDiscountsRequest) ProtoReflect added in v0.64.24

func (*UpdateAccountInvoiceServiceDiscountsRequest) Reset added in v0.64.24

func (*UpdateAccountInvoiceServiceDiscountsRequest) String added in v0.64.24

type UpdateAccountInvoiceServiceDiscountsResponse added in v0.64.24

type UpdateAccountInvoiceServiceDiscountsResponse struct {
	Accounts []*AccountServiceDiscounts `protobuf:"bytes,4,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

Response message for the UpdateAccountInvoiceServiceDiscounts rpc.

func (*UpdateAccountInvoiceServiceDiscountsResponse) Descriptor deprecated added in v0.64.24

Deprecated: Use UpdateAccountInvoiceServiceDiscountsResponse.ProtoReflect.Descriptor instead.

func (*UpdateAccountInvoiceServiceDiscountsResponse) GetAccounts added in v0.64.24

func (*UpdateAccountInvoiceServiceDiscountsResponse) ProtoMessage added in v0.64.24

func (*UpdateAccountInvoiceServiceDiscountsResponse) ProtoReflect added in v0.64.24

func (*UpdateAccountInvoiceServiceDiscountsResponse) Reset added in v0.64.24

func (*UpdateAccountInvoiceServiceDiscountsResponse) String added in v0.64.24

type UpdateInvoicePreviewsRequest added in v0.65.21

type UpdateInvoicePreviewsRequest struct {

	// Required. Month to get invoice. Format: `yyyymm`.
	Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	// Optional. You can set all billing groups.
	//
	// If this parameter is not set, The list set to `groups` is used.
	AllGroups bool `protobuf:"varint,2,opt,name=allGroups,proto3" json:"allGroups,omitempty"`
	// Optional. You can set it to a list of billing internal group id
	Groups []string `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"`
	// Required. You can set display or hiding.
	//
	// If true, Hiding Invoice. If false, Display Invoice.
	Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Request message for the UpdateInvoicePreviews rpc.

func (*UpdateInvoicePreviewsRequest) Descriptor deprecated added in v0.65.21

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

Deprecated: Use UpdateInvoicePreviewsRequest.ProtoReflect.Descriptor instead.

func (*UpdateInvoicePreviewsRequest) GetAllGroups added in v0.65.21

func (x *UpdateInvoicePreviewsRequest) GetAllGroups() bool

func (*UpdateInvoicePreviewsRequest) GetDate added in v0.65.21

func (x *UpdateInvoicePreviewsRequest) GetDate() string

func (*UpdateInvoicePreviewsRequest) GetEnabled added in v0.65.21

func (x *UpdateInvoicePreviewsRequest) GetEnabled() bool

func (*UpdateInvoicePreviewsRequest) GetGroups added in v0.65.21

func (x *UpdateInvoicePreviewsRequest) GetGroups() []string

func (*UpdateInvoicePreviewsRequest) ProtoMessage added in v0.65.21

func (*UpdateInvoicePreviewsRequest) ProtoMessage()

func (*UpdateInvoicePreviewsRequest) ProtoReflect added in v0.65.21

func (*UpdateInvoicePreviewsRequest) Reset added in v0.65.21

func (x *UpdateInvoicePreviewsRequest) Reset()

func (*UpdateInvoicePreviewsRequest) String added in v0.65.21

type UsageCostsDrift added in v0.58.0

type UsageCostsDrift struct {
	BillingInternalId string `protobuf:"bytes,1,opt,name=billingInternalId,proto3" json:"billingInternalId,omitempty"`
	BillingGroupId    string `protobuf:"bytes,2,opt,name=billingGroupId,proto3" json:"billingGroupId,omitempty"`
	Account           string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"`
	// The total costs saved in your invoice.
	Snapshot float64 `protobuf:"fixed64,4,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	// The current total costs.
	Current float64 `protobuf:"fixed64,5,opt,name=current,proto3" json:"current,omitempty"`
	Diff    float64 `protobuf:"fixed64,6,opt,name=diff,proto3" json:"diff,omitempty"`
	// contains filtered or unexported fields
}

Streaming response message for the Billing.ListUsageCostsDrift rpc.

func (*UsageCostsDrift) Descriptor deprecated added in v0.58.0

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

Deprecated: Use UsageCostsDrift.ProtoReflect.Descriptor instead.

func (*UsageCostsDrift) GetAccount added in v0.58.3

func (x *UsageCostsDrift) GetAccount() string

func (*UsageCostsDrift) GetBillingGroupId added in v0.58.0

func (x *UsageCostsDrift) GetBillingGroupId() string

func (*UsageCostsDrift) GetBillingInternalId added in v0.58.0

func (x *UsageCostsDrift) GetBillingInternalId() string

func (*UsageCostsDrift) GetCurrent added in v0.58.0

func (x *UsageCostsDrift) GetCurrent() float64

func (*UsageCostsDrift) GetDiff added in v0.58.2

func (x *UsageCostsDrift) GetDiff() float64

func (*UsageCostsDrift) GetSnapshot added in v0.58.0

func (x *UsageCostsDrift) GetSnapshot() float64

func (*UsageCostsDrift) ProtoMessage added in v0.58.0

func (*UsageCostsDrift) ProtoMessage()

func (*UsageCostsDrift) ProtoReflect added in v0.58.0

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

func (*UsageCostsDrift) Reset added in v0.58.0

func (x *UsageCostsDrift) Reset()

func (*UsageCostsDrift) String added in v0.58.0

func (x *UsageCostsDrift) String() string

Jump to

Keyboard shortcuts

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