Documentation ¶
Overview ¶
Package billing is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterBillingHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterBillingHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BillingClient) error
- func RegisterBillingHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterBillingHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BillingServer) error
- func RegisterBillingServer(s grpc.ServiceRegistrar, srv BillingServer)
- type AccessGroup
- func (*AccessGroup) Descriptor() ([]byte, []int)deprecated
- func (x *AccessGroup) GetAccessGroupDescription() string
- func (x *AccessGroup) GetAccessGroupId() string
- func (x *AccessGroup) GetAccessGroupName() string
- func (x *AccessGroup) GetBillingGroups() []*BillingGroup
- func (*AccessGroup) ProtoMessage()
- func (x *AccessGroup) ProtoReflect() protoreflect.Message
- func (x *AccessGroup) Reset()
- func (x *AccessGroup) String() string
- type AccountInvoiceServiceDiscounts
- func (*AccountInvoiceServiceDiscounts) Descriptor() ([]byte, []int)deprecated
- func (x *AccountInvoiceServiceDiscounts) GetAccount() string
- func (x *AccountInvoiceServiceDiscounts) GetId() string
- func (*AccountInvoiceServiceDiscounts) ProtoMessage()
- func (x *AccountInvoiceServiceDiscounts) ProtoReflect() protoreflect.Message
- func (x *AccountInvoiceServiceDiscounts) Reset()
- func (x *AccountInvoiceServiceDiscounts) String() string
- type AccountServiceDiscounts
- func (*AccountServiceDiscounts) Descriptor() ([]byte, []int)deprecated
- func (x *AccountServiceDiscounts) GetAccountId() string
- func (x *AccountServiceDiscounts) GetId() string
- func (*AccountServiceDiscounts) ProtoMessage()
- func (x *AccountServiceDiscounts) ProtoReflect() protoreflect.Message
- func (x *AccountServiceDiscounts) Reset()
- func (x *AccountServiceDiscounts) String() string
- type AwsDailyRunHistory
- func (*AwsDailyRunHistory) Descriptor() ([]byte, []int)deprecated
- func (x *AwsDailyRunHistory) GetAccounts() []*AwsDailyRunHistory_Account
- func (x *AwsDailyRunHistory) GetBillingGroupId() string
- func (x *AwsDailyRunHistory) GetBillingInternalId() string
- func (x *AwsDailyRunHistory) GetMonth() string
- func (*AwsDailyRunHistory) ProtoMessage()
- func (x *AwsDailyRunHistory) ProtoReflect() protoreflect.Message
- func (x *AwsDailyRunHistory) Reset()
- func (x *AwsDailyRunHistory) String() string
- type AwsDailyRunHistory_Account
- func (*AwsDailyRunHistory_Account) Descriptor() ([]byte, []int)deprecated
- func (x *AwsDailyRunHistory_Account) GetAccountId() string
- func (x *AwsDailyRunHistory_Account) GetHistory() []*AwsDailyRunHistory_Account_History
- func (*AwsDailyRunHistory_Account) ProtoMessage()
- func (x *AwsDailyRunHistory_Account) ProtoReflect() protoreflect.Message
- func (x *AwsDailyRunHistory_Account) Reset()
- func (x *AwsDailyRunHistory_Account) String() string
- type AwsDailyRunHistory_Account_History
- func (*AwsDailyRunHistory_Account_History) Descriptor() ([]byte, []int)deprecated
- func (x *AwsDailyRunHistory_Account_History) GetTimestamp() string
- func (x *AwsDailyRunHistory_Account_History) GetTrigger() string
- func (*AwsDailyRunHistory_Account_History) ProtoMessage()
- func (x *AwsDailyRunHistory_Account_History) ProtoReflect() protoreflect.Message
- func (x *AwsDailyRunHistory_Account_History) Reset()
- func (x *AwsDailyRunHistory_Account_History) String() string
- type BillingClient
- type BillingGroup
- func (*BillingGroup) Descriptor() ([]byte, []int)deprecated
- func (x *BillingGroup) GetAccounts() []*api.AccountResource
- func (x *BillingGroup) GetBillingGroupId() string
- func (x *BillingGroup) GetBillingGroupName() string
- func (x *BillingGroup) GetBillingInternalId() string
- func (x *BillingGroup) GetInvoiceSettings() *BillingGroupInvoiceSettings
- func (*BillingGroup) ProtoMessage()
- func (x *BillingGroup) ProtoReflect() protoreflect.Message
- func (x *BillingGroup) Reset()
- func (x *BillingGroup) String() string
- type BillingGroupInvoiceSettings
- func (*BillingGroupInvoiceSettings) Descriptor() ([]byte, []int)deprecated
- func (x *BillingGroupInvoiceSettings) GetAws() *BillingGroupVendoredInvoiceSetting
- func (x *BillingGroupInvoiceSettings) GetAzure() *BillingGroupVendoredInvoiceSetting
- func (x *BillingGroupInvoiceSettings) GetGcp() *BillingGroupVendoredInvoiceSetting
- func (*BillingGroupInvoiceSettings) ProtoMessage()
- func (x *BillingGroupInvoiceSettings) ProtoReflect() protoreflect.Message
- func (x *BillingGroupInvoiceSettings) Reset()
- func (x *BillingGroupInvoiceSettings) String() string
- type BillingGroupVendoredInvoiceSetting
- func (*BillingGroupVendoredInvoiceSetting) Descriptor() ([]byte, []int)deprecated
- func (x *BillingGroupVendoredInvoiceSetting) GetCalcType() string
- func (x *BillingGroupVendoredInvoiceSetting) GetCurrency() string
- func (x *BillingGroupVendoredInvoiceSetting) GetDiscountCalcLogic() string
- func (x *BillingGroupVendoredInvoiceSetting) GetDiscountRate() float64
- func (x *BillingGroupVendoredInvoiceSetting) GetDiscountTargetUsage() string
- func (x *BillingGroupVendoredInvoiceSetting) GetSubstitutionFee() string
- func (x *BillingGroupVendoredInvoiceSetting) GetSubstitutionFeeCalcTarget() string
- func (x *BillingGroupVendoredInvoiceSetting) GetSubstitutionFeeCalcType() string
- func (x *BillingGroupVendoredInvoiceSetting) GetSubstitutionFeeTargetUsage() string
- func (x *BillingGroupVendoredInvoiceSetting) GetSubstitutionFix() float64
- func (x *BillingGroupVendoredInvoiceSetting) GetSubstitutionRate() float64
- func (x *BillingGroupVendoredInvoiceSetting) GetSupportAmountTarget() string
- func (x *BillingGroupVendoredInvoiceSetting) GetSupportFee() string
- func (x *BillingGroupVendoredInvoiceSetting) GetSupportFeeCalcTarget() string
- func (x *BillingGroupVendoredInvoiceSetting) GetSupportFix() float64
- func (x *BillingGroupVendoredInvoiceSetting) GetSupportRate() float64
- func (x *BillingGroupVendoredInvoiceSetting) GetTaxRate() float64
- func (*BillingGroupVendoredInvoiceSetting) ProtoMessage()
- func (x *BillingGroupVendoredInvoiceSetting) ProtoReflect() protoreflect.Message
- func (x *BillingGroupVendoredInvoiceSetting) Reset()
- func (x *BillingGroupVendoredInvoiceSetting) String() string
- type BillingServer
- type Billing_ListAccountInvoiceServiceDiscountsClient
- type Billing_ListAccountInvoiceServiceDiscountsServer
- type Billing_ListAwsDailyRunHistoryClient
- type Billing_ListAwsDailyRunHistoryServer
- type Billing_ListBillingGroupsClient
- type Billing_ListBillingGroupsServer
- type Billing_ListInvoiceServiceDiscountsClient
- type Billing_ListInvoiceServiceDiscountsServer
- type Billing_ListUsageCostsDriftClient
- type Billing_ListUsageCostsDriftServer
- type ClientOptions
- type CreateAccountInvoiceServiceDiscountsRequest
- func (*CreateAccountInvoiceServiceDiscountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountInvoiceServiceDiscountsRequest) GetAccounts() []*AccountServiceDiscounts
- func (x *CreateAccountInvoiceServiceDiscountsRequest) GetGroupId() string
- func (*CreateAccountInvoiceServiceDiscountsRequest) ProtoMessage()
- func (x *CreateAccountInvoiceServiceDiscountsRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAccountInvoiceServiceDiscountsRequest) Reset()
- func (x *CreateAccountInvoiceServiceDiscountsRequest) String() string
- type CreateAccountInvoiceServiceDiscountsResponse
- func (*CreateAccountInvoiceServiceDiscountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountInvoiceServiceDiscountsResponse) GetAccounts() []*AccountServiceDiscounts
- func (*CreateAccountInvoiceServiceDiscountsResponse) ProtoMessage()
- func (x *CreateAccountInvoiceServiceDiscountsResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAccountInvoiceServiceDiscountsResponse) Reset()
- func (x *CreateAccountInvoiceServiceDiscountsResponse) String() string
- type CreateBillingGroupRequest
- func (*CreateBillingGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBillingGroupRequest) GetAddress() string
- func (x *CreateBillingGroupRequest) GetBillingGroupId() string
- func (x *CreateBillingGroupRequest) GetBillingGroupName() string
- func (x *CreateBillingGroupRequest) GetBillingTitle() string
- func (x *CreateBillingGroupRequest) GetCompanyName() string
- func (x *CreateBillingGroupRequest) GetDisplayCost() string
- func (x *CreateBillingGroupRequest) GetExchangeRateType() string
- func (x *CreateBillingGroupRequest) GetInvoices() *CreateBillingGroupRequestInvoice
- func (x *CreateBillingGroupRequest) GetLanguage() string
- func (x *CreateBillingGroupRequest) GetPersonal() string
- func (x *CreateBillingGroupRequest) GetPhoneNumber() string
- func (x *CreateBillingGroupRequest) GetPostalCode() string
- func (x *CreateBillingGroupRequest) GetProjectId() string
- func (x *CreateBillingGroupRequest) GetRemarks() string
- func (*CreateBillingGroupRequest) ProtoMessage()
- func (x *CreateBillingGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBillingGroupRequest) Reset()
- func (x *CreateBillingGroupRequest) String() string
- type CreateBillingGroupRequestInvoice
- func (*CreateBillingGroupRequestInvoice) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBillingGroupRequestInvoice) GetAws() *CreateBillingGroupRequestInvoiceVendor
- func (x *CreateBillingGroupRequestInvoice) GetAzure() *CreateBillingGroupRequestInvoiceVendor
- func (x *CreateBillingGroupRequestInvoice) GetGcp() *CreateBillingGroupRequestInvoiceVendor
- func (*CreateBillingGroupRequestInvoice) ProtoMessage()
- func (x *CreateBillingGroupRequestInvoice) ProtoReflect() protoreflect.Message
- func (x *CreateBillingGroupRequestInvoice) Reset()
- func (x *CreateBillingGroupRequestInvoice) String() string
- type CreateBillingGroupRequestInvoiceVendor
- func (*CreateBillingGroupRequestInvoiceVendor) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBillingGroupRequestInvoiceVendor) GetCalcType() string
- func (x *CreateBillingGroupRequestInvoiceVendor) GetCurrency() string
- func (x *CreateBillingGroupRequestInvoiceVendor) GetDiscountCalcLogic() string
- func (x *CreateBillingGroupRequestInvoiceVendor) GetDiscountRate() float64
- func (x *CreateBillingGroupRequestInvoiceVendor) GetDiscountTargetUsage() string
- func (x *CreateBillingGroupRequestInvoiceVendor) GetSubstitutionFee() string
- func (x *CreateBillingGroupRequestInvoiceVendor) GetSubstitutionFeeCalcTarget() string
- func (x *CreateBillingGroupRequestInvoiceVendor) GetSubstitutionFeeCalcType() string
- func (x *CreateBillingGroupRequestInvoiceVendor) GetSubstitutionFeeTargetUsage() string
- func (x *CreateBillingGroupRequestInvoiceVendor) GetSubstitutionFix() float64
- func (x *CreateBillingGroupRequestInvoiceVendor) GetSubstitutionRate() float64
- func (x *CreateBillingGroupRequestInvoiceVendor) GetSupportAmountTarget() string
- func (x *CreateBillingGroupRequestInvoiceVendor) GetSupportFee() string
- func (x *CreateBillingGroupRequestInvoiceVendor) GetSupportFeeCalcTarget() string
- func (x *CreateBillingGroupRequestInvoiceVendor) GetSupportFix() float64
- func (x *CreateBillingGroupRequestInvoiceVendor) GetSupportRate() float64
- func (x *CreateBillingGroupRequestInvoiceVendor) GetTaxRate() float64
- func (*CreateBillingGroupRequestInvoiceVendor) ProtoMessage()
- func (x *CreateBillingGroupRequestInvoiceVendor) ProtoReflect() protoreflect.Message
- func (x *CreateBillingGroupRequestInvoiceVendor) Reset()
- func (x *CreateBillingGroupRequestInvoiceVendor) String() string
- type DeleteAccountInvoiceServiceDiscountsRequest
- func (*DeleteAccountInvoiceServiceDiscountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAccountInvoiceServiceDiscountsRequest) GetGroupId() string
- func (*DeleteAccountInvoiceServiceDiscountsRequest) ProtoMessage()
- func (x *DeleteAccountInvoiceServiceDiscountsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAccountInvoiceServiceDiscountsRequest) Reset()
- func (x *DeleteAccountInvoiceServiceDiscountsRequest) String() string
- type ExportInvoiceFileRequest
- func (*ExportInvoiceFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportInvoiceFileRequest) GetDate() string
- func (x *ExportInvoiceFileRequest) GetGroupId() string
- func (*ExportInvoiceFileRequest) ProtoMessage()
- func (x *ExportInvoiceFileRequest) ProtoReflect() protoreflect.Message
- func (x *ExportInvoiceFileRequest) Reset()
- func (x *ExportInvoiceFileRequest) String() string
- type ExportInvoiceFileResponse
- func (*ExportInvoiceFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExportInvoiceFileResponse) GetUrl() string
- func (*ExportInvoiceFileResponse) ProtoMessage()
- func (x *ExportInvoiceFileResponse) ProtoReflect() protoreflect.Message
- func (x *ExportInvoiceFileResponse) Reset()
- func (x *ExportInvoiceFileResponse) String() string
- type GetAccessGroupRequest
- func (*GetAccessGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccessGroupRequest) GetAccessGroupId() string
- func (*GetAccessGroupRequest) ProtoMessage()
- func (x *GetAccessGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccessGroupRequest) Reset()
- func (x *GetAccessGroupRequest) String() string
- type GetAccessGroupResponse
- func (*GetAccessGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccessGroupResponse) GetAccessGroup() *AccessGroup
- func (*GetAccessGroupResponse) ProtoMessage()
- func (x *GetAccessGroupResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccessGroupResponse) Reset()
- func (x *GetAccessGroupResponse) String() string
- type GetBillingGroupRequest
- func (*GetBillingGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBillingGroupRequest) GetBillingInternalId() string
- func (*GetBillingGroupRequest) ProtoMessage()
- func (x *GetBillingGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetBillingGroupRequest) Reset()
- func (x *GetBillingGroupRequest) String() string
- type GetBillingGroupResponse
- func (*GetBillingGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBillingGroupResponse) GetBillingGroup() *BillingGroup
- func (*GetBillingGroupResponse) ProtoMessage()
- func (x *GetBillingGroupResponse) ProtoReflect() protoreflect.Message
- func (x *GetBillingGroupResponse) Reset()
- func (x *GetBillingGroupResponse) String() string
- type GetInvoiceRequest
- func (*GetInvoiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetInvoiceRequest) GetDate() string
- func (x *GetInvoiceRequest) GetGroupId() string
- func (*GetInvoiceRequest) ProtoMessage()
- func (x *GetInvoiceRequest) ProtoReflect() protoreflect.Message
- func (x *GetInvoiceRequest) Reset()
- func (x *GetInvoiceRequest) String() string
- type GrpcClient
- type InvoiceServiceDiscounts
- func (*InvoiceServiceDiscounts) Descriptor() ([]byte, []int)deprecated
- func (x *InvoiceServiceDiscounts) GetCreated() string
- func (x *InvoiceServiceDiscounts) GetDescription() string
- func (x *InvoiceServiceDiscounts) GetId() string
- func (x *InvoiceServiceDiscounts) GetName() string
- func (x *InvoiceServiceDiscounts) GetUpdated() string
- func (*InvoiceServiceDiscounts) ProtoMessage()
- func (x *InvoiceServiceDiscounts) ProtoReflect() protoreflect.Message
- func (x *InvoiceServiceDiscounts) Reset()
- func (x *InvoiceServiceDiscounts) String() string
- type ListAccountInvoiceServiceDiscountsRequest
- func (*ListAccountInvoiceServiceDiscountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountInvoiceServiceDiscountsRequest) GetGroupId() string
- func (*ListAccountInvoiceServiceDiscountsRequest) ProtoMessage()
- func (x *ListAccountInvoiceServiceDiscountsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAccountInvoiceServiceDiscountsRequest) Reset()
- func (x *ListAccountInvoiceServiceDiscountsRequest) String() string
- type ListAwsDailyRunHistoryRequest
- func (*ListAwsDailyRunHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAwsDailyRunHistoryRequest) GetGroupId() string
- func (x *ListAwsDailyRunHistoryRequest) GetMonth() string
- func (*ListAwsDailyRunHistoryRequest) ProtoMessage()
- func (x *ListAwsDailyRunHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *ListAwsDailyRunHistoryRequest) Reset()
- func (x *ListAwsDailyRunHistoryRequest) String() string
- type ListBillingGroupsRequest
- type ListInvoiceServiceDiscountsRequest
- func (*ListInvoiceServiceDiscountsRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListInvoiceServiceDiscountsRequest) ProtoMessage()
- func (x *ListInvoiceServiceDiscountsRequest) ProtoReflect() protoreflect.Message
- func (x *ListInvoiceServiceDiscountsRequest) Reset()
- func (x *ListInvoiceServiceDiscountsRequest) String() string
- type ListUsageCostsDriftRequest
- func (*ListUsageCostsDriftRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsageCostsDriftRequest) GetBillingInternalId() string
- func (x *ListUsageCostsDriftRequest) GetMonth() string
- func (x *ListUsageCostsDriftRequest) GetVendor() string
- func (*ListUsageCostsDriftRequest) ProtoMessage()
- func (x *ListUsageCostsDriftRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsageCostsDriftRequest) Reset()
- func (x *ListUsageCostsDriftRequest) String() string
- type RemoveAccountInvoiceServiceDiscountsRequest
- func (*RemoveAccountInvoiceServiceDiscountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveAccountInvoiceServiceDiscountsRequest) GetAccounts() []*AccountServiceDiscounts
- func (x *RemoveAccountInvoiceServiceDiscountsRequest) GetGroupId() string
- func (*RemoveAccountInvoiceServiceDiscountsRequest) ProtoMessage()
- func (x *RemoveAccountInvoiceServiceDiscountsRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveAccountInvoiceServiceDiscountsRequest) Reset()
- func (x *RemoveAccountInvoiceServiceDiscountsRequest) String() string
- type UnimplementedBillingServer
- func (UnimplementedBillingServer) CreateAccountInvoiceServiceDiscounts(context.Context, *CreateAccountInvoiceServiceDiscountsRequest) (*CreateAccountInvoiceServiceDiscountsResponse, error)
- func (UnimplementedBillingServer) CreateBillingGroup(context.Context, *CreateBillingGroupRequest) (*BillingGroup, error)
- func (UnimplementedBillingServer) DeleteAccountInvoiceServiceDiscounts(context.Context, *DeleteAccountInvoiceServiceDiscountsRequest) (*emptypb.Empty, error)
- func (UnimplementedBillingServer) ExportInvoiceFile(context.Context, *ExportInvoiceFileRequest) (*ExportInvoiceFileResponse, error)
- func (UnimplementedBillingServer) GetAccessGroup(context.Context, *GetAccessGroupRequest) (*GetAccessGroupResponse, error)
- func (UnimplementedBillingServer) GetBillingGroup(context.Context, *GetBillingGroupRequest) (*GetBillingGroupResponse, error)
- func (UnimplementedBillingServer) GetInvoice(context.Context, *GetInvoiceRequest) (*api.Invoice, error)
- func (UnimplementedBillingServer) ListAccountInvoiceServiceDiscounts(*ListAccountInvoiceServiceDiscountsRequest, ...) error
- func (UnimplementedBillingServer) ListAwsDailyRunHistory(*ListAwsDailyRunHistoryRequest, Billing_ListAwsDailyRunHistoryServer) error
- func (UnimplementedBillingServer) ListBillingGroups(*ListBillingGroupsRequest, Billing_ListBillingGroupsServer) error
- func (UnimplementedBillingServer) ListInvoiceServiceDiscounts(*ListInvoiceServiceDiscountsRequest, Billing_ListInvoiceServiceDiscountsServer) error
- func (UnimplementedBillingServer) ListUsageCostsDrift(*ListUsageCostsDriftRequest, Billing_ListUsageCostsDriftServer) error
- func (UnimplementedBillingServer) RemoveAccountInvoiceServiceDiscounts(context.Context, *RemoveAccountInvoiceServiceDiscountsRequest) (*emptypb.Empty, error)
- func (UnimplementedBillingServer) UpdateAccountInvoiceServiceDiscounts(context.Context, *UpdateAccountInvoiceServiceDiscountsRequest) (*UpdateAccountInvoiceServiceDiscountsResponse, error)
- type UnsafeBillingServer
- type UpdateAccountInvoiceServiceDiscountsRequest
- func (*UpdateAccountInvoiceServiceDiscountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAccountInvoiceServiceDiscountsRequest) GetAccounts() []*AccountServiceDiscounts
- func (x *UpdateAccountInvoiceServiceDiscountsRequest) GetGroupId() string
- func (*UpdateAccountInvoiceServiceDiscountsRequest) ProtoMessage()
- func (x *UpdateAccountInvoiceServiceDiscountsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAccountInvoiceServiceDiscountsRequest) Reset()
- func (x *UpdateAccountInvoiceServiceDiscountsRequest) String() string
- type UpdateAccountInvoiceServiceDiscountsResponse
- func (*UpdateAccountInvoiceServiceDiscountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAccountInvoiceServiceDiscountsResponse) GetAccounts() []*AccountServiceDiscounts
- func (*UpdateAccountInvoiceServiceDiscountsResponse) ProtoMessage()
- func (x *UpdateAccountInvoiceServiceDiscountsResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateAccountInvoiceServiceDiscountsResponse) Reset()
- func (x *UpdateAccountInvoiceServiceDiscountsResponse) String() string
- type UsageCostsDrift
- func (*UsageCostsDrift) Descriptor() ([]byte, []int)deprecated
- func (x *UsageCostsDrift) GetAccount() string
- func (x *UsageCostsDrift) GetBillingGroupId() string
- func (x *UsageCostsDrift) GetBillingInternalId() string
- func (x *UsageCostsDrift) GetCurrent() float64
- func (x *UsageCostsDrift) GetDiff() float64
- func (x *UsageCostsDrift) GetSnapshot() float64
- func (*UsageCostsDrift) ProtoMessage()
- func (x *UsageCostsDrift) ProtoReflect() protoreflect.Message
- func (x *UsageCostsDrift) Reset()
- func (x *UsageCostsDrift) String() string
Constants ¶
This section is empty.
Variables ¶
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: "GetInvoice", Handler: _Billing_GetInvoice_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)
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 (x *AccountInvoiceServiceDiscounts) GetId() string
func (*AccountInvoiceServiceDiscounts) ProtoMessage ¶ added in v0.64.24
func (*AccountInvoiceServiceDiscounts) ProtoMessage()
func (*AccountInvoiceServiceDiscounts) ProtoReflect ¶ added in v0.64.24
func (x *AccountInvoiceServiceDiscounts) ProtoReflect() protoreflect.Message
func (*AccountInvoiceServiceDiscounts) Reset ¶ added in v0.64.24
func (x *AccountInvoiceServiceDiscounts) Reset()
func (*AccountInvoiceServiceDiscounts) String ¶ added in v0.64.24
func (x *AccountInvoiceServiceDiscounts) String() string
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 (x *AwsDailyRunHistory_Account) GetHistory() []*AwsDailyRunHistory_Account_History
func (*AwsDailyRunHistory_Account) ProtoMessage ¶ added in v0.62.7
func (*AwsDailyRunHistory_Account) ProtoMessage()
func (*AwsDailyRunHistory_Account) ProtoReflect ¶ added in v0.62.7
func (x *AwsDailyRunHistory_Account) ProtoReflect() protoreflect.Message
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 (x *AwsDailyRunHistory_Account_History) GetTrigger() string
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 (x *AwsDailyRunHistory_Account_History) ProtoReflect() protoreflect.Message
func (*AwsDailyRunHistory_Account_History) Reset ¶ added in v0.62.7
func (x *AwsDailyRunHistory_Account_History) Reset()
func (*AwsDailyRunHistory_Account_History) String ¶ added in v0.62.7
func (x *AwsDailyRunHistory_Account_History) String() string
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) // Gets an invoice. GetInvoice(ctx context.Context, in *GetInvoiceRequest, opts ...grpc.CallOption) (*api.Invoice, error) // Exports an invoice. ExportInvoiceFile(ctx context.Context, in *ExportInvoiceFileRequest, opts ...grpc.CallOption) (*ExportInvoiceFileResponse, error) // WORK-IN-PROGRESS: Reads the invoice service discounts. Only available in Ripple. ListInvoiceServiceDiscounts(ctx context.Context, in *ListInvoiceServiceDiscountsRequest, opts ...grpc.CallOption) (Billing_ListInvoiceServiceDiscountsClient, error) // WORK-IN-PROGRESS: Reads the account invoice service discounts. Only available in Ripple. ListAccountInvoiceServiceDiscounts(ctx context.Context, in *ListAccountInvoiceServiceDiscountsRequest, opts ...grpc.CallOption) (Billing_ListAccountInvoiceServiceDiscountsClient, error) // WORK-IN-PROGRESS: Registers the account invoice service discounts. Only available in Ripple. CreateAccountInvoiceServiceDiscounts(ctx context.Context, in *CreateAccountInvoiceServiceDiscountsRequest, opts ...grpc.CallOption) (*CreateAccountInvoiceServiceDiscountsResponse, error) // WORK-IN-PROGRESS: Updates the account invoice service discounts. Only available in Ripple. UpdateAccountInvoiceServiceDiscounts(ctx context.Context, in *UpdateAccountInvoiceServiceDiscountsRequest, opts ...grpc.CallOption) (*UpdateAccountInvoiceServiceDiscountsResponse, error) // WORK-IN-PROGRESS: Removes the account invoice service discounts. Only available in Ripple. RemoveAccountInvoiceServiceDiscounts(ctx context.Context, in *RemoveAccountInvoiceServiceDiscountsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // WORK-IN-PROGRESS: 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.AccountResource `protobuf:"bytes,4,rep,name=accounts,proto3" json:"accounts,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.AccountResource
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) 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 (x *BillingGroupInvoiceSettings) GetAws() *BillingGroupVendoredInvoiceSetting
func (*BillingGroupInvoiceSettings) GetAzure ¶ added in v0.57.3
func (x *BillingGroupInvoiceSettings) GetAzure() *BillingGroupVendoredInvoiceSetting
func (*BillingGroupInvoiceSettings) GetGcp ¶ added in v0.57.3
func (x *BillingGroupInvoiceSettings) GetGcp() *BillingGroupVendoredInvoiceSetting
func (*BillingGroupInvoiceSettings) ProtoMessage ¶ added in v0.57.3
func (*BillingGroupInvoiceSettings) ProtoMessage()
func (*BillingGroupInvoiceSettings) ProtoReflect ¶ added in v0.57.3
func (x *BillingGroupInvoiceSettings) ProtoReflect() protoreflect.Message
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 (x *BillingGroupVendoredInvoiceSetting) GetTaxRate() float64
func (*BillingGroupVendoredInvoiceSetting) ProtoMessage ¶ added in v0.57.3
func (*BillingGroupVendoredInvoiceSetting) ProtoMessage()
func (*BillingGroupVendoredInvoiceSetting) ProtoReflect ¶ added in v0.57.3
func (x *BillingGroupVendoredInvoiceSetting) ProtoReflect() protoreflect.Message
func (*BillingGroupVendoredInvoiceSetting) Reset ¶ added in v0.57.3
func (x *BillingGroupVendoredInvoiceSetting) Reset()
func (*BillingGroupVendoredInvoiceSetting) String ¶ added in v0.57.3
func (x *BillingGroupVendoredInvoiceSetting) String() string
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 // Gets an invoice. GetInvoice(context.Context, *GetInvoiceRequest) (*api.Invoice, error) // Exports an invoice. ExportInvoiceFile(context.Context, *ExportInvoiceFileRequest) (*ExportInvoiceFileResponse, error) // WORK-IN-PROGRESS: Reads the invoice service discounts. Only available in Ripple. ListInvoiceServiceDiscounts(*ListInvoiceServiceDiscountsRequest, Billing_ListInvoiceServiceDiscountsServer) error // WORK-IN-PROGRESS: Reads the account invoice service discounts. Only available in Ripple. ListAccountInvoiceServiceDiscounts(*ListAccountInvoiceServiceDiscountsRequest, Billing_ListAccountInvoiceServiceDiscountsServer) error // WORK-IN-PROGRESS: Registers the account invoice service discounts. Only available in Ripple. CreateAccountInvoiceServiceDiscounts(context.Context, *CreateAccountInvoiceServiceDiscountsRequest) (*CreateAccountInvoiceServiceDiscountsResponse, error) // WORK-IN-PROGRESS: Updates the account invoice service discounts. Only available in Ripple. UpdateAccountInvoiceServiceDiscounts(context.Context, *UpdateAccountInvoiceServiceDiscountsRequest) (*UpdateAccountInvoiceServiceDiscountsResponse, error) // WORK-IN-PROGRESS: Removes the account invoice service discounts. Only available in Ripple. RemoveAccountInvoiceServiceDiscounts(context.Context, *RemoveAccountInvoiceServiceDiscountsRequest) (*emptypb.Empty, error) // WORK-IN-PROGRESS: 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
func (*CreateAccountInvoiceServiceDiscountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountInvoiceServiceDiscountsRequest.ProtoReflect.Descriptor instead.
func (*CreateAccountInvoiceServiceDiscountsRequest) GetAccounts ¶ added in v0.64.24
func (x *CreateAccountInvoiceServiceDiscountsRequest) GetAccounts() []*AccountServiceDiscounts
func (*CreateAccountInvoiceServiceDiscountsRequest) GetGroupId ¶ added in v0.64.24
func (x *CreateAccountInvoiceServiceDiscountsRequest) GetGroupId() string
func (*CreateAccountInvoiceServiceDiscountsRequest) ProtoMessage ¶ added in v0.64.24
func (*CreateAccountInvoiceServiceDiscountsRequest) ProtoMessage()
func (*CreateAccountInvoiceServiceDiscountsRequest) ProtoReflect ¶ added in v0.64.24
func (x *CreateAccountInvoiceServiceDiscountsRequest) ProtoReflect() protoreflect.Message
func (*CreateAccountInvoiceServiceDiscountsRequest) Reset ¶ added in v0.64.24
func (x *CreateAccountInvoiceServiceDiscountsRequest) Reset()
func (*CreateAccountInvoiceServiceDiscountsRequest) String ¶ added in v0.64.24
func (x *CreateAccountInvoiceServiceDiscountsRequest) String() string
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
func (*CreateAccountInvoiceServiceDiscountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountInvoiceServiceDiscountsResponse.ProtoReflect.Descriptor instead.
func (*CreateAccountInvoiceServiceDiscountsResponse) GetAccounts ¶ added in v0.64.24
func (x *CreateAccountInvoiceServiceDiscountsResponse) GetAccounts() []*AccountServiceDiscounts
func (*CreateAccountInvoiceServiceDiscountsResponse) ProtoMessage ¶ added in v0.64.24
func (*CreateAccountInvoiceServiceDiscountsResponse) ProtoMessage()
func (*CreateAccountInvoiceServiceDiscountsResponse) ProtoReflect ¶ added in v0.64.24
func (x *CreateAccountInvoiceServiceDiscountsResponse) ProtoReflect() protoreflect.Message
func (*CreateAccountInvoiceServiceDiscountsResponse) Reset ¶ added in v0.64.24
func (x *CreateAccountInvoiceServiceDiscountsResponse) Reset()
func (*CreateAccountInvoiceServiceDiscountsResponse) String ¶ added in v0.64.24
func (x *CreateAccountInvoiceServiceDiscountsResponse) String() string
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 (x *CreateBillingGroupRequest) GetInvoices() *CreateBillingGroupRequestInvoice
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 (x *CreateBillingGroupRequest) ProtoReflect() protoreflect.Message
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 (x *CreateBillingGroupRequestInvoice) GetAws() *CreateBillingGroupRequestInvoiceVendor
func (*CreateBillingGroupRequestInvoice) GetAzure ¶ added in v0.35.13
func (x *CreateBillingGroupRequestInvoice) GetAzure() *CreateBillingGroupRequestInvoiceVendor
func (*CreateBillingGroupRequestInvoice) GetGcp ¶ added in v0.35.13
func (x *CreateBillingGroupRequestInvoice) GetGcp() *CreateBillingGroupRequestInvoiceVendor
func (*CreateBillingGroupRequestInvoice) ProtoMessage ¶ added in v0.35.13
func (*CreateBillingGroupRequestInvoice) ProtoMessage()
func (*CreateBillingGroupRequestInvoice) ProtoReflect ¶ added in v0.35.13
func (x *CreateBillingGroupRequestInvoice) ProtoReflect() protoreflect.Message
func (*CreateBillingGroupRequestInvoice) Reset ¶ added in v0.35.13
func (x *CreateBillingGroupRequestInvoice) Reset()
func (*CreateBillingGroupRequestInvoice) String ¶ added in v0.35.13
func (x *CreateBillingGroupRequestInvoice) String() string
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 (x *CreateBillingGroupRequestInvoiceVendor) GetCalcType() string
func (*CreateBillingGroupRequestInvoiceVendor) GetCurrency ¶ added in v0.35.13
func (x *CreateBillingGroupRequestInvoiceVendor) GetCurrency() string
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 (x *CreateBillingGroupRequestInvoiceVendor) GetSupportFee() string
func (*CreateBillingGroupRequestInvoiceVendor) GetSupportFeeCalcTarget ¶ added in v0.35.13
func (x *CreateBillingGroupRequestInvoiceVendor) GetSupportFeeCalcTarget() string
func (*CreateBillingGroupRequestInvoiceVendor) GetSupportFix ¶ added in v0.35.13
func (x *CreateBillingGroupRequestInvoiceVendor) GetSupportFix() float64
func (*CreateBillingGroupRequestInvoiceVendor) GetSupportRate ¶ added in v0.35.13
func (x *CreateBillingGroupRequestInvoiceVendor) GetSupportRate() float64
func (*CreateBillingGroupRequestInvoiceVendor) GetTaxRate ¶ added in v0.35.13
func (x *CreateBillingGroupRequestInvoiceVendor) GetTaxRate() float64
func (*CreateBillingGroupRequestInvoiceVendor) ProtoMessage ¶ added in v0.35.13
func (*CreateBillingGroupRequestInvoiceVendor) ProtoMessage()
func (*CreateBillingGroupRequestInvoiceVendor) ProtoReflect ¶ added in v0.35.13
func (x *CreateBillingGroupRequestInvoiceVendor) ProtoReflect() protoreflect.Message
func (*CreateBillingGroupRequestInvoiceVendor) Reset ¶ added in v0.35.13
func (x *CreateBillingGroupRequestInvoiceVendor) Reset()
func (*CreateBillingGroupRequestInvoiceVendor) String ¶ added in v0.35.13
func (x *CreateBillingGroupRequestInvoiceVendor) 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
func (*DeleteAccountInvoiceServiceDiscountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccountInvoiceServiceDiscountsRequest.ProtoReflect.Descriptor instead.
func (*DeleteAccountInvoiceServiceDiscountsRequest) GetGroupId ¶ added in v0.64.24
func (x *DeleteAccountInvoiceServiceDiscountsRequest) GetGroupId() string
func (*DeleteAccountInvoiceServiceDiscountsRequest) ProtoMessage ¶ added in v0.64.24
func (*DeleteAccountInvoiceServiceDiscountsRequest) ProtoMessage()
func (*DeleteAccountInvoiceServiceDiscountsRequest) ProtoReflect ¶ added in v0.64.24
func (x *DeleteAccountInvoiceServiceDiscountsRequest) ProtoReflect() protoreflect.Message
func (*DeleteAccountInvoiceServiceDiscountsRequest) Reset ¶ added in v0.64.24
func (x *DeleteAccountInvoiceServiceDiscountsRequest) Reset()
func (*DeleteAccountInvoiceServiceDiscountsRequest) String ¶ added in v0.64.24
func (x *DeleteAccountInvoiceServiceDiscountsRequest) String() string
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 (x *ExportInvoiceFileResponse) ProtoReflect() protoreflect.Message
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 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 (x *ListAccountInvoiceServiceDiscountsRequest) GetGroupId() string
func (*ListAccountInvoiceServiceDiscountsRequest) ProtoMessage ¶ added in v0.64.24
func (*ListAccountInvoiceServiceDiscountsRequest) ProtoMessage()
func (*ListAccountInvoiceServiceDiscountsRequest) ProtoReflect ¶ added in v0.64.24
func (x *ListAccountInvoiceServiceDiscountsRequest) ProtoReflect() protoreflect.Message
func (*ListAccountInvoiceServiceDiscountsRequest) Reset ¶ added in v0.64.24
func (x *ListAccountInvoiceServiceDiscountsRequest) Reset()
func (*ListAccountInvoiceServiceDiscountsRequest) String ¶ added in v0.64.24
func (x *ListAccountInvoiceServiceDiscountsRequest) String() string
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 (x *ListAwsDailyRunHistoryRequest) ProtoReflect() protoreflect.Message
func (*ListAwsDailyRunHistoryRequest) Reset ¶ added in v0.62.7
func (x *ListAwsDailyRunHistoryRequest) Reset()
func (*ListAwsDailyRunHistoryRequest) String ¶ added in v0.62.7
func (x *ListAwsDailyRunHistoryRequest) String() string
type ListBillingGroupsRequest ¶
type ListBillingGroupsRequest struct {
// 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) 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 (x *ListInvoiceServiceDiscountsRequest) ProtoReflect() protoreflect.Message
func (*ListInvoiceServiceDiscountsRequest) Reset ¶ added in v0.64.22
func (x *ListInvoiceServiceDiscountsRequest) Reset()
func (*ListInvoiceServiceDiscountsRequest) String ¶ added in v0.64.22
func (x *ListInvoiceServiceDiscountsRequest) String() string
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 (x *ListUsageCostsDriftRequest) ProtoReflect() protoreflect.Message
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
func (*RemoveAccountInvoiceServiceDiscountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveAccountInvoiceServiceDiscountsRequest.ProtoReflect.Descriptor instead.
func (*RemoveAccountInvoiceServiceDiscountsRequest) GetAccounts ¶ added in v0.64.25
func (x *RemoveAccountInvoiceServiceDiscountsRequest) GetAccounts() []*AccountServiceDiscounts
func (*RemoveAccountInvoiceServiceDiscountsRequest) GetGroupId ¶ added in v0.64.25
func (x *RemoveAccountInvoiceServiceDiscountsRequest) GetGroupId() string
func (*RemoveAccountInvoiceServiceDiscountsRequest) ProtoMessage ¶ added in v0.64.25
func (*RemoveAccountInvoiceServiceDiscountsRequest) ProtoMessage()
func (*RemoveAccountInvoiceServiceDiscountsRequest) ProtoReflect ¶ added in v0.64.25
func (x *RemoveAccountInvoiceServiceDiscountsRequest) ProtoReflect() protoreflect.Message
func (*RemoveAccountInvoiceServiceDiscountsRequest) Reset ¶ added in v0.64.25
func (x *RemoveAccountInvoiceServiceDiscountsRequest) Reset()
func (*RemoveAccountInvoiceServiceDiscountsRequest) String ¶ added in v0.64.25
func (x *RemoveAccountInvoiceServiceDiscountsRequest) String() string
type UnimplementedBillingServer ¶
type UnimplementedBillingServer struct { }
UnimplementedBillingServer must be embedded to have forward compatible implementations.
func (UnimplementedBillingServer) CreateAccountInvoiceServiceDiscounts ¶ added in v0.64.24
func (UnimplementedBillingServer) CreateAccountInvoiceServiceDiscounts(context.Context, *CreateAccountInvoiceServiceDiscountsRequest) (*CreateAccountInvoiceServiceDiscountsResponse, error)
func (UnimplementedBillingServer) CreateBillingGroup ¶ added in v0.35.11
func (UnimplementedBillingServer) CreateBillingGroup(context.Context, *CreateBillingGroupRequest) (*BillingGroup, error)
func (UnimplementedBillingServer) DeleteAccountInvoiceServiceDiscounts ¶ added in v0.64.24
func (UnimplementedBillingServer) DeleteAccountInvoiceServiceDiscounts(context.Context, *DeleteAccountInvoiceServiceDiscountsRequest) (*emptypb.Empty, error)
func (UnimplementedBillingServer) ExportInvoiceFile ¶ added in v0.64.3
func (UnimplementedBillingServer) ExportInvoiceFile(context.Context, *ExportInvoiceFileRequest) (*ExportInvoiceFileResponse, error)
func (UnimplementedBillingServer) GetAccessGroup ¶ added in v0.51.8
func (UnimplementedBillingServer) GetAccessGroup(context.Context, *GetAccessGroupRequest) (*GetAccessGroupResponse, error)
func (UnimplementedBillingServer) GetBillingGroup ¶ added in v0.36.3
func (UnimplementedBillingServer) GetBillingGroup(context.Context, *GetBillingGroupRequest) (*GetBillingGroupResponse, error)
func (UnimplementedBillingServer) GetInvoice ¶ added in v0.64.3
func (UnimplementedBillingServer) GetInvoice(context.Context, *GetInvoiceRequest) (*api.Invoice, error)
func (UnimplementedBillingServer) ListAccountInvoiceServiceDiscounts ¶ added in v0.64.24
func (UnimplementedBillingServer) ListAccountInvoiceServiceDiscounts(*ListAccountInvoiceServiceDiscountsRequest, Billing_ListAccountInvoiceServiceDiscountsServer) error
func (UnimplementedBillingServer) ListAwsDailyRunHistory ¶ added in v0.62.7
func (UnimplementedBillingServer) ListAwsDailyRunHistory(*ListAwsDailyRunHistoryRequest, Billing_ListAwsDailyRunHistoryServer) error
func (UnimplementedBillingServer) ListBillingGroups ¶
func (UnimplementedBillingServer) ListBillingGroups(*ListBillingGroupsRequest, Billing_ListBillingGroupsServer) error
func (UnimplementedBillingServer) ListInvoiceServiceDiscounts ¶ added in v0.64.22
func (UnimplementedBillingServer) ListInvoiceServiceDiscounts(*ListInvoiceServiceDiscountsRequest, Billing_ListInvoiceServiceDiscountsServer) error
func (UnimplementedBillingServer) ListUsageCostsDrift ¶ added in v0.58.0
func (UnimplementedBillingServer) ListUsageCostsDrift(*ListUsageCostsDriftRequest, Billing_ListUsageCostsDriftServer) error
func (UnimplementedBillingServer) RemoveAccountInvoiceServiceDiscounts ¶ added in v0.64.25
func (UnimplementedBillingServer) RemoveAccountInvoiceServiceDiscounts(context.Context, *RemoveAccountInvoiceServiceDiscountsRequest) (*emptypb.Empty, error)
func (UnimplementedBillingServer) UpdateAccountInvoiceServiceDiscounts ¶ added in v0.64.24
func (UnimplementedBillingServer) UpdateAccountInvoiceServiceDiscounts(context.Context, *UpdateAccountInvoiceServiceDiscountsRequest) (*UpdateAccountInvoiceServiceDiscountsResponse, error)
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
func (*UpdateAccountInvoiceServiceDiscountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAccountInvoiceServiceDiscountsRequest.ProtoReflect.Descriptor instead.
func (*UpdateAccountInvoiceServiceDiscountsRequest) GetAccounts ¶ added in v0.64.24
func (x *UpdateAccountInvoiceServiceDiscountsRequest) GetAccounts() []*AccountServiceDiscounts
func (*UpdateAccountInvoiceServiceDiscountsRequest) GetGroupId ¶ added in v0.64.24
func (x *UpdateAccountInvoiceServiceDiscountsRequest) GetGroupId() string
func (*UpdateAccountInvoiceServiceDiscountsRequest) ProtoMessage ¶ added in v0.64.24
func (*UpdateAccountInvoiceServiceDiscountsRequest) ProtoMessage()
func (*UpdateAccountInvoiceServiceDiscountsRequest) ProtoReflect ¶ added in v0.64.24
func (x *UpdateAccountInvoiceServiceDiscountsRequest) ProtoReflect() protoreflect.Message
func (*UpdateAccountInvoiceServiceDiscountsRequest) Reset ¶ added in v0.64.24
func (x *UpdateAccountInvoiceServiceDiscountsRequest) Reset()
func (*UpdateAccountInvoiceServiceDiscountsRequest) String ¶ added in v0.64.24
func (x *UpdateAccountInvoiceServiceDiscountsRequest) String() string
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
func (*UpdateAccountInvoiceServiceDiscountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAccountInvoiceServiceDiscountsResponse.ProtoReflect.Descriptor instead.
func (*UpdateAccountInvoiceServiceDiscountsResponse) GetAccounts ¶ added in v0.64.24
func (x *UpdateAccountInvoiceServiceDiscountsResponse) GetAccounts() []*AccountServiceDiscounts
func (*UpdateAccountInvoiceServiceDiscountsResponse) ProtoMessage ¶ added in v0.64.24
func (*UpdateAccountInvoiceServiceDiscountsResponse) ProtoMessage()
func (*UpdateAccountInvoiceServiceDiscountsResponse) ProtoReflect ¶ added in v0.64.24
func (x *UpdateAccountInvoiceServiceDiscountsResponse) ProtoReflect() protoreflect.Message
func (*UpdateAccountInvoiceServiceDiscountsResponse) Reset ¶ added in v0.64.24
func (x *UpdateAccountInvoiceServiceDiscountsResponse) Reset()
func (*UpdateAccountInvoiceServiceDiscountsResponse) String ¶ added in v0.64.24
func (x *UpdateAccountInvoiceServiceDiscountsResponse) String() string
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