Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterBillingAccountServiceServer(s grpc.ServiceRegistrar, srv BillingAccountServiceServer)
- func RegisterBudgetServiceServer(s grpc.ServiceRegistrar, srv BudgetServiceServer)
- func RegisterCustomerServiceServer(s grpc.ServiceRegistrar, srv CustomerServiceServer)
- func RegisterServiceServiceServer(s grpc.ServiceRegistrar, srv ServiceServiceServer)
- func RegisterSkuServiceServer(s grpc.ServiceRegistrar, srv SkuServiceServer)
- type ActivateCustomerRequest
- func (*ActivateCustomerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ActivateCustomerRequest) GetCustomerId() string
- func (*ActivateCustomerRequest) ProtoMessage()
- func (x *ActivateCustomerRequest) ProtoReflect() protoreflect.Message
- func (x *ActivateCustomerRequest) Reset()
- func (m *ActivateCustomerRequest) SetCustomerId(v string)
- func (x *ActivateCustomerRequest) String() string
- type BalanceBudgetSpec
- func (*BalanceBudgetSpec) Descriptor() ([]byte, []int)deprecated
- func (x *BalanceBudgetSpec) GetAmount() string
- func (x *BalanceBudgetSpec) GetEndDate() string
- func (x *BalanceBudgetSpec) GetNotificationUserAccountIds() []string
- func (x *BalanceBudgetSpec) GetStartDate() string
- func (x *BalanceBudgetSpec) GetThresholdRules() []*ThresholdRule
- func (*BalanceBudgetSpec) ProtoMessage()
- func (x *BalanceBudgetSpec) ProtoReflect() protoreflect.Message
- func (x *BalanceBudgetSpec) Reset()
- func (m *BalanceBudgetSpec) SetAmount(v string)
- func (m *BalanceBudgetSpec) SetEndDate(v string)
- func (m *BalanceBudgetSpec) SetNotificationUserAccountIds(v []string)
- func (m *BalanceBudgetSpec) SetStartDate(v string)
- func (m *BalanceBudgetSpec) SetThresholdRules(v []*ThresholdRule)
- func (x *BalanceBudgetSpec) String() string
- type BillableObject
- func (*BillableObject) Descriptor() ([]byte, []int)deprecated
- func (x *BillableObject) GetId() string
- func (x *BillableObject) GetType() string
- func (*BillableObject) ProtoMessage()
- func (x *BillableObject) ProtoReflect() protoreflect.Message
- func (x *BillableObject) Reset()
- func (m *BillableObject) SetId(v string)
- func (m *BillableObject) SetType(v string)
- func (x *BillableObject) String() string
- type BillableObjectBinding
- func (*BillableObjectBinding) Descriptor() ([]byte, []int)deprecated
- func (x *BillableObjectBinding) GetBillableObject() *BillableObject
- func (x *BillableObjectBinding) GetEffectiveTime() *timestamppb.Timestamp
- func (*BillableObjectBinding) ProtoMessage()
- func (x *BillableObjectBinding) ProtoReflect() protoreflect.Message
- func (x *BillableObjectBinding) Reset()
- func (m *BillableObjectBinding) SetBillableObject(v *BillableObject)
- func (m *BillableObjectBinding) SetEffectiveTime(v *timestamppb.Timestamp)
- func (x *BillableObjectBinding) String() string
- type BillingAccount
- func (*BillingAccount) Descriptor() ([]byte, []int)deprecated
- func (x *BillingAccount) GetActive() bool
- func (x *BillingAccount) GetBalance() string
- func (x *BillingAccount) GetCountryCode() string
- func (x *BillingAccount) GetCreatedAt() *timestamppb.Timestamp
- func (x *BillingAccount) GetCurrency() string
- func (x *BillingAccount) GetId() string
- func (x *BillingAccount) GetName() string
- func (*BillingAccount) ProtoMessage()
- func (x *BillingAccount) ProtoReflect() protoreflect.Message
- func (x *BillingAccount) Reset()
- func (m *BillingAccount) SetActive(v bool)
- func (m *BillingAccount) SetBalance(v string)
- func (m *BillingAccount) SetCountryCode(v string)
- func (m *BillingAccount) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *BillingAccount) SetCurrency(v string)
- func (m *BillingAccount) SetId(v string)
- func (m *BillingAccount) SetName(v string)
- func (x *BillingAccount) String() string
- type BillingAccountServiceClient
- type BillingAccountServiceServer
- type BindBillableObjectMetadata
- func (*BindBillableObjectMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *BindBillableObjectMetadata) GetBillableObjectId() string
- func (*BindBillableObjectMetadata) ProtoMessage()
- func (x *BindBillableObjectMetadata) ProtoReflect() protoreflect.Message
- func (x *BindBillableObjectMetadata) Reset()
- func (m *BindBillableObjectMetadata) SetBillableObjectId(v string)
- func (x *BindBillableObjectMetadata) String() string
- type BindBillableObjectRequest
- func (*BindBillableObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BindBillableObjectRequest) GetBillableObject() *BillableObject
- func (x *BindBillableObjectRequest) GetBillingAccountId() string
- func (*BindBillableObjectRequest) ProtoMessage()
- func (x *BindBillableObjectRequest) ProtoReflect() protoreflect.Message
- func (x *BindBillableObjectRequest) Reset()
- func (m *BindBillableObjectRequest) SetBillableObject(v *BillableObject)
- func (m *BindBillableObjectRequest) SetBillingAccountId(v string)
- func (x *BindBillableObjectRequest) String() string
- type Budget
- func (*Budget) Descriptor() ([]byte, []int)deprecated
- func (x *Budget) GetBalanceBudget() *BalanceBudgetSpec
- func (x *Budget) GetBillingAccountId() string
- func (m *Budget) GetBudgetSpec() isBudget_BudgetSpec
- func (x *Budget) GetCostBudget() *CostBudgetSpec
- func (x *Budget) GetCreatedAt() *timestamppb.Timestamp
- func (x *Budget) GetExpenseBudget() *ExpenseBudgetSpec
- func (x *Budget) GetId() string
- func (x *Budget) GetName() string
- func (x *Budget) GetStatus() BudgetStatus
- func (*Budget) ProtoMessage()
- func (x *Budget) ProtoReflect() protoreflect.Message
- func (x *Budget) Reset()
- func (m *Budget) SetBalanceBudget(v *BalanceBudgetSpec)
- func (m *Budget) SetBillingAccountId(v string)
- func (m *Budget) SetBudgetSpec(v Budget_BudgetSpec)
- func (m *Budget) SetCostBudget(v *CostBudgetSpec)
- func (m *Budget) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Budget) SetExpenseBudget(v *ExpenseBudgetSpec)
- func (m *Budget) SetId(v string)
- func (m *Budget) SetName(v string)
- func (m *Budget) SetStatus(v BudgetStatus)
- func (x *Budget) String() string
- type BudgetServiceClient
- type BudgetServiceServer
- type BudgetStatus
- func (BudgetStatus) Descriptor() protoreflect.EnumDescriptor
- func (x BudgetStatus) Enum() *BudgetStatus
- func (BudgetStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x BudgetStatus) Number() protoreflect.EnumNumber
- func (x BudgetStatus) String() string
- func (BudgetStatus) Type() protoreflect.EnumType
- type Budget_BalanceBudget
- type Budget_BudgetSpec
- type Budget_CostBudget
- type Budget_ExpenseBudget
- type CloudFoldersConsumptionFilter
- func (*CloudFoldersConsumptionFilter) Descriptor() ([]byte, []int)deprecated
- func (x *CloudFoldersConsumptionFilter) GetCloudId() string
- func (x *CloudFoldersConsumptionFilter) GetFolderIds() []string
- func (*CloudFoldersConsumptionFilter) ProtoMessage()
- func (x *CloudFoldersConsumptionFilter) ProtoReflect() protoreflect.Message
- func (x *CloudFoldersConsumptionFilter) Reset()
- func (m *CloudFoldersConsumptionFilter) SetCloudId(v string)
- func (m *CloudFoldersConsumptionFilter) SetFolderIds(v []string)
- func (x *CloudFoldersConsumptionFilter) String() string
- type ConsumptionFilter
- func (*ConsumptionFilter) Descriptor() ([]byte, []int)deprecated
- func (x *ConsumptionFilter) GetCloudFoldersFilters() []*CloudFoldersConsumptionFilter
- func (x *ConsumptionFilter) GetServiceIds() []string
- func (*ConsumptionFilter) ProtoMessage()
- func (x *ConsumptionFilter) ProtoReflect() protoreflect.Message
- func (x *ConsumptionFilter) Reset()
- func (m *ConsumptionFilter) SetCloudFoldersFilters(v []*CloudFoldersConsumptionFilter)
- func (m *ConsumptionFilter) SetServiceIds(v []string)
- func (x *ConsumptionFilter) String() string
- type CostBudgetSpec
- func (*CostBudgetSpec) Descriptor() ([]byte, []int)deprecated
- func (x *CostBudgetSpec) GetAmount() string
- func (x *CostBudgetSpec) GetEndDate() string
- func (x *CostBudgetSpec) GetFilter() *ConsumptionFilter
- func (x *CostBudgetSpec) GetNotificationUserAccountIds() []string
- func (x *CostBudgetSpec) GetResetPeriod() ResetPeriodType
- func (x *CostBudgetSpec) GetStartDate() string
- func (m *CostBudgetSpec) GetStartType() isCostBudgetSpec_StartType
- func (x *CostBudgetSpec) GetThresholdRules() []*ThresholdRule
- func (*CostBudgetSpec) ProtoMessage()
- func (x *CostBudgetSpec) ProtoReflect() protoreflect.Message
- func (x *CostBudgetSpec) Reset()
- func (m *CostBudgetSpec) SetAmount(v string)
- func (m *CostBudgetSpec) SetEndDate(v string)
- func (m *CostBudgetSpec) SetFilter(v *ConsumptionFilter)
- func (m *CostBudgetSpec) SetNotificationUserAccountIds(v []string)
- func (m *CostBudgetSpec) SetResetPeriod(v ResetPeriodType)
- func (m *CostBudgetSpec) SetStartDate(v string)
- func (m *CostBudgetSpec) SetStartType(v CostBudgetSpec_StartType)
- func (m *CostBudgetSpec) SetThresholdRules(v []*ThresholdRule)
- func (x *CostBudgetSpec) String() string
- type CostBudgetSpec_ResetPeriod
- type CostBudgetSpec_StartDate
- type CostBudgetSpec_StartType
- type CreateBudgetMetadata
- func (*CreateBudgetMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBudgetMetadata) GetBudgetId() string
- func (*CreateBudgetMetadata) ProtoMessage()
- func (x *CreateBudgetMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateBudgetMetadata) Reset()
- func (m *CreateBudgetMetadata) SetBudgetId(v string)
- func (x *CreateBudgetMetadata) String() string
- type CreateBudgetRequest
- func (*CreateBudgetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBudgetRequest) GetBalanceBudgetSpec() *BalanceBudgetSpec
- func (x *CreateBudgetRequest) GetBillingAccountId() string
- func (m *CreateBudgetRequest) GetBudgetSpec() isCreateBudgetRequest_BudgetSpec
- func (x *CreateBudgetRequest) GetCostBudgetSpec() *CostBudgetSpec
- func (x *CreateBudgetRequest) GetExpenseBudgetSpec() *ExpenseBudgetSpec
- func (x *CreateBudgetRequest) GetName() string
- func (*CreateBudgetRequest) ProtoMessage()
- func (x *CreateBudgetRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBudgetRequest) Reset()
- func (m *CreateBudgetRequest) SetBalanceBudgetSpec(v *BalanceBudgetSpec)
- func (m *CreateBudgetRequest) SetBillingAccountId(v string)
- func (m *CreateBudgetRequest) SetBudgetSpec(v CreateBudgetRequest_BudgetSpec)
- func (m *CreateBudgetRequest) SetCostBudgetSpec(v *CostBudgetSpec)
- func (m *CreateBudgetRequest) SetExpenseBudgetSpec(v *ExpenseBudgetSpec)
- func (m *CreateBudgetRequest) SetName(v string)
- func (x *CreateBudgetRequest) String() string
- type CreateBudgetRequest_BalanceBudgetSpec
- type CreateBudgetRequest_BudgetSpec
- type CreateBudgetRequest_CostBudgetSpec
- type CreateBudgetRequest_ExpenseBudgetSpec
- type CreateResellerServedCustomerRequest
- func (*CreateResellerServedCustomerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResellerServedCustomerRequest) GetName() string
- func (x *CreateResellerServedCustomerRequest) GetPerson() *CustomerPerson
- func (x *CreateResellerServedCustomerRequest) GetResellerId() string
- func (*CreateResellerServedCustomerRequest) ProtoMessage()
- func (x *CreateResellerServedCustomerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateResellerServedCustomerRequest) Reset()
- func (m *CreateResellerServedCustomerRequest) SetName(v string)
- func (m *CreateResellerServedCustomerRequest) SetPerson(v *CustomerPerson)
- func (m *CreateResellerServedCustomerRequest) SetResellerId(v string)
- func (x *CreateResellerServedCustomerRequest) String() string
- type Customer
- func (*Customer) Descriptor() ([]byte, []int)deprecated
- func (x *Customer) GetBillingAccountId() string
- func (x *Customer) GetId() string
- func (*Customer) ProtoMessage()
- func (x *Customer) ProtoReflect() protoreflect.Message
- func (x *Customer) Reset()
- func (m *Customer) SetBillingAccountId(v string)
- func (m *Customer) SetId(v string)
- func (x *Customer) String() string
- type CustomerMetadata
- func (*CustomerMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CustomerMetadata) GetCustomerId() string
- func (x *CustomerMetadata) GetResellerId() string
- func (*CustomerMetadata) ProtoMessage()
- func (x *CustomerMetadata) ProtoReflect() protoreflect.Message
- func (x *CustomerMetadata) Reset()
- func (m *CustomerMetadata) SetCustomerId(v string)
- func (m *CustomerMetadata) SetResellerId(v string)
- func (x *CustomerMetadata) String() string
- type CustomerPerson
- func (*CustomerPerson) Descriptor() ([]byte, []int)deprecated
- func (x *CustomerPerson) GetEmail() string
- func (x *CustomerPerson) GetLegalAddress() string
- func (x *CustomerPerson) GetLongname() string
- func (x *CustomerPerson) GetName() string
- func (x *CustomerPerson) GetPhone() string
- func (x *CustomerPerson) GetPostAddress() string
- func (x *CustomerPerson) GetPostCode() string
- func (x *CustomerPerson) GetTin() string
- func (*CustomerPerson) ProtoMessage()
- func (x *CustomerPerson) ProtoReflect() protoreflect.Message
- func (x *CustomerPerson) Reset()
- func (m *CustomerPerson) SetEmail(v string)
- func (m *CustomerPerson) SetLegalAddress(v string)
- func (m *CustomerPerson) SetLongname(v string)
- func (m *CustomerPerson) SetName(v string)
- func (m *CustomerPerson) SetPhone(v string)
- func (m *CustomerPerson) SetPostAddress(v string)
- func (m *CustomerPerson) SetPostCode(v string)
- func (m *CustomerPerson) SetTin(v string)
- func (x *CustomerPerson) String() string
- type CustomerServiceClient
- type CustomerServiceServer
- type ExpenseBudgetSpec
- func (*ExpenseBudgetSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ExpenseBudgetSpec) GetAmount() string
- func (x *ExpenseBudgetSpec) GetEndDate() string
- func (x *ExpenseBudgetSpec) GetFilter() *ConsumptionFilter
- func (x *ExpenseBudgetSpec) GetNotificationUserAccountIds() []string
- func (x *ExpenseBudgetSpec) GetResetPeriod() ResetPeriodType
- func (x *ExpenseBudgetSpec) GetStartDate() string
- func (m *ExpenseBudgetSpec) GetStartType() isExpenseBudgetSpec_StartType
- func (x *ExpenseBudgetSpec) GetThresholdRules() []*ThresholdRule
- func (*ExpenseBudgetSpec) ProtoMessage()
- func (x *ExpenseBudgetSpec) ProtoReflect() protoreflect.Message
- func (x *ExpenseBudgetSpec) Reset()
- func (m *ExpenseBudgetSpec) SetAmount(v string)
- func (m *ExpenseBudgetSpec) SetEndDate(v string)
- func (m *ExpenseBudgetSpec) SetFilter(v *ConsumptionFilter)
- func (m *ExpenseBudgetSpec) SetNotificationUserAccountIds(v []string)
- func (m *ExpenseBudgetSpec) SetResetPeriod(v ResetPeriodType)
- func (m *ExpenseBudgetSpec) SetStartDate(v string)
- func (m *ExpenseBudgetSpec) SetStartType(v ExpenseBudgetSpec_StartType)
- func (m *ExpenseBudgetSpec) SetThresholdRules(v []*ThresholdRule)
- func (x *ExpenseBudgetSpec) String() string
- type ExpenseBudgetSpec_ResetPeriod
- type ExpenseBudgetSpec_StartDate
- type ExpenseBudgetSpec_StartType
- type GetBillingAccountRequest
- func (*GetBillingAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBillingAccountRequest) GetId() string
- func (*GetBillingAccountRequest) ProtoMessage()
- func (x *GetBillingAccountRequest) ProtoReflect() protoreflect.Message
- func (x *GetBillingAccountRequest) Reset()
- func (m *GetBillingAccountRequest) SetId(v string)
- func (x *GetBillingAccountRequest) String() string
- type GetBudgetRequest
- func (*GetBudgetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBudgetRequest) GetId() string
- func (*GetBudgetRequest) ProtoMessage()
- func (x *GetBudgetRequest) ProtoReflect() protoreflect.Message
- func (x *GetBudgetRequest) Reset()
- func (m *GetBudgetRequest) SetId(v string)
- func (x *GetBudgetRequest) String() string
- type GetServiceRequest
- func (*GetServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetServiceRequest) GetId() string
- func (*GetServiceRequest) ProtoMessage()
- func (x *GetServiceRequest) ProtoReflect() protoreflect.Message
- func (x *GetServiceRequest) Reset()
- func (m *GetServiceRequest) SetId(v string)
- func (x *GetServiceRequest) String() string
- type GetSkuRequest
- func (*GetSkuRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSkuRequest) GetBillingAccountId() string
- func (x *GetSkuRequest) GetCurrency() string
- func (x *GetSkuRequest) GetId() string
- func (*GetSkuRequest) ProtoMessage()
- func (x *GetSkuRequest) ProtoReflect() protoreflect.Message
- func (x *GetSkuRequest) Reset()
- func (m *GetSkuRequest) SetBillingAccountId(v string)
- func (m *GetSkuRequest) SetCurrency(v string)
- func (m *GetSkuRequest) SetId(v string)
- func (x *GetSkuRequest) String() string
- type InviteCustomerRequest
- func (*InviteCustomerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InviteCustomerRequest) GetInvitationEmail() string
- func (x *InviteCustomerRequest) GetName() string
- func (x *InviteCustomerRequest) GetPerson() *CustomerPerson
- func (x *InviteCustomerRequest) GetResellerId() string
- func (*InviteCustomerRequest) ProtoMessage()
- func (x *InviteCustomerRequest) ProtoReflect() protoreflect.Message
- func (x *InviteCustomerRequest) Reset()
- func (m *InviteCustomerRequest) SetInvitationEmail(v string)
- func (m *InviteCustomerRequest) SetName(v string)
- func (m *InviteCustomerRequest) SetPerson(v *CustomerPerson)
- func (m *InviteCustomerRequest) SetResellerId(v string)
- func (x *InviteCustomerRequest) String() string
- type ListBillableObjectBindingsRequest
- func (*ListBillableObjectBindingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBillableObjectBindingsRequest) GetBillingAccountId() string
- func (x *ListBillableObjectBindingsRequest) GetPageSize() int64
- func (x *ListBillableObjectBindingsRequest) GetPageToken() string
- func (*ListBillableObjectBindingsRequest) ProtoMessage()
- func (x *ListBillableObjectBindingsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBillableObjectBindingsRequest) Reset()
- func (m *ListBillableObjectBindingsRequest) SetBillingAccountId(v string)
- func (m *ListBillableObjectBindingsRequest) SetPageSize(v int64)
- func (m *ListBillableObjectBindingsRequest) SetPageToken(v string)
- func (x *ListBillableObjectBindingsRequest) String() string
- type ListBillableObjectBindingsResponse
- func (*ListBillableObjectBindingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBillableObjectBindingsResponse) GetBillableObjectBindings() []*BillableObjectBinding
- func (x *ListBillableObjectBindingsResponse) GetNextPageToken() string
- func (*ListBillableObjectBindingsResponse) ProtoMessage()
- func (x *ListBillableObjectBindingsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBillableObjectBindingsResponse) Reset()
- func (m *ListBillableObjectBindingsResponse) SetBillableObjectBindings(v []*BillableObjectBinding)
- func (m *ListBillableObjectBindingsResponse) SetNextPageToken(v string)
- func (x *ListBillableObjectBindingsResponse) String() string
- type ListBillingAccountsRequest
- func (*ListBillingAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBillingAccountsRequest) GetPageSize() int64
- func (x *ListBillingAccountsRequest) GetPageToken() string
- func (*ListBillingAccountsRequest) ProtoMessage()
- func (x *ListBillingAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBillingAccountsRequest) Reset()
- func (m *ListBillingAccountsRequest) SetPageSize(v int64)
- func (m *ListBillingAccountsRequest) SetPageToken(v string)
- func (x *ListBillingAccountsRequest) String() string
- type ListBillingAccountsResponse
- func (*ListBillingAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBillingAccountsResponse) GetBillingAccounts() []*BillingAccount
- func (x *ListBillingAccountsResponse) GetNextPageToken() string
- func (*ListBillingAccountsResponse) ProtoMessage()
- func (x *ListBillingAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBillingAccountsResponse) Reset()
- func (m *ListBillingAccountsResponse) SetBillingAccounts(v []*BillingAccount)
- func (m *ListBillingAccountsResponse) SetNextPageToken(v string)
- func (x *ListBillingAccountsResponse) String() string
- type ListBudgetsRequest
- func (*ListBudgetsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBudgetsRequest) GetBillingAccountId() string
- func (x *ListBudgetsRequest) GetPageSize() int64
- func (x *ListBudgetsRequest) GetPageToken() string
- func (*ListBudgetsRequest) ProtoMessage()
- func (x *ListBudgetsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBudgetsRequest) Reset()
- func (m *ListBudgetsRequest) SetBillingAccountId(v string)
- func (m *ListBudgetsRequest) SetPageSize(v int64)
- func (m *ListBudgetsRequest) SetPageToken(v string)
- func (x *ListBudgetsRequest) String() string
- type ListBudgetsResponse
- func (*ListBudgetsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBudgetsResponse) GetBudgets() []*Budget
- func (x *ListBudgetsResponse) GetNextPageToken() string
- func (*ListBudgetsResponse) ProtoMessage()
- func (x *ListBudgetsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBudgetsResponse) Reset()
- func (m *ListBudgetsResponse) SetBudgets(v []*Budget)
- func (m *ListBudgetsResponse) SetNextPageToken(v string)
- func (x *ListBudgetsResponse) String() string
- type ListCustomersRequest
- func (*ListCustomersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCustomersRequest) GetPageSize() int64
- func (x *ListCustomersRequest) GetPageToken() string
- func (x *ListCustomersRequest) GetResellerId() string
- func (*ListCustomersRequest) ProtoMessage()
- func (x *ListCustomersRequest) ProtoReflect() protoreflect.Message
- func (x *ListCustomersRequest) Reset()
- func (m *ListCustomersRequest) SetPageSize(v int64)
- func (m *ListCustomersRequest) SetPageToken(v string)
- func (m *ListCustomersRequest) SetResellerId(v string)
- func (x *ListCustomersRequest) String() string
- type ListCustomersResponse
- func (*ListCustomersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCustomersResponse) GetCustomers() []*Customer
- func (x *ListCustomersResponse) GetNextPageToken() string
- func (*ListCustomersResponse) ProtoMessage()
- func (x *ListCustomersResponse) ProtoReflect() protoreflect.Message
- func (x *ListCustomersResponse) Reset()
- func (m *ListCustomersResponse) SetCustomers(v []*Customer)
- func (m *ListCustomersResponse) SetNextPageToken(v string)
- func (x *ListCustomersResponse) String() string
- type ListServicesRequest
- func (*ListServicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListServicesRequest) GetFilter() string
- func (x *ListServicesRequest) GetPageSize() int64
- func (x *ListServicesRequest) GetPageToken() string
- func (*ListServicesRequest) ProtoMessage()
- func (x *ListServicesRequest) ProtoReflect() protoreflect.Message
- func (x *ListServicesRequest) Reset()
- func (m *ListServicesRequest) SetFilter(v string)
- func (m *ListServicesRequest) SetPageSize(v int64)
- func (m *ListServicesRequest) SetPageToken(v string)
- func (x *ListServicesRequest) String() string
- type ListServicesResponse
- func (*ListServicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListServicesResponse) GetNextPageToken() string
- func (x *ListServicesResponse) GetServices() []*Service
- func (*ListServicesResponse) ProtoMessage()
- func (x *ListServicesResponse) ProtoReflect() protoreflect.Message
- func (x *ListServicesResponse) Reset()
- func (m *ListServicesResponse) SetNextPageToken(v string)
- func (m *ListServicesResponse) SetServices(v []*Service)
- func (x *ListServicesResponse) String() string
- type ListSkusRequest
- func (*ListSkusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSkusRequest) GetBillingAccountId() string
- func (x *ListSkusRequest) GetCurrency() string
- func (x *ListSkusRequest) GetFilter() string
- func (x *ListSkusRequest) GetPageSize() int64
- func (x *ListSkusRequest) GetPageToken() string
- func (*ListSkusRequest) ProtoMessage()
- func (x *ListSkusRequest) ProtoReflect() protoreflect.Message
- func (x *ListSkusRequest) Reset()
- func (m *ListSkusRequest) SetBillingAccountId(v string)
- func (m *ListSkusRequest) SetCurrency(v string)
- func (m *ListSkusRequest) SetFilter(v string)
- func (m *ListSkusRequest) SetPageSize(v int64)
- func (m *ListSkusRequest) SetPageToken(v string)
- func (x *ListSkusRequest) String() string
- type ListSkusResponse
- func (*ListSkusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSkusResponse) GetNextPageToken() string
- func (x *ListSkusResponse) GetSkus() []*Sku
- func (*ListSkusResponse) ProtoMessage()
- func (x *ListSkusResponse) ProtoReflect() protoreflect.Message
- func (x *ListSkusResponse) Reset()
- func (m *ListSkusResponse) SetNextPageToken(v string)
- func (m *ListSkusResponse) SetSkus(v []*Sku)
- func (x *ListSkusResponse) String() string
- type PricingExpression
- func (*PricingExpression) Descriptor() ([]byte, []int)deprecated
- func (x *PricingExpression) GetRates() []*Rate
- func (*PricingExpression) ProtoMessage()
- func (x *PricingExpression) ProtoReflect() protoreflect.Message
- func (x *PricingExpression) Reset()
- func (m *PricingExpression) SetRates(v []*Rate)
- func (x *PricingExpression) String() string
- type PricingVersion
- func (*PricingVersion) Descriptor() ([]byte, []int)deprecated
- func (x *PricingVersion) GetEffectiveTime() *timestamppb.Timestamp
- func (x *PricingVersion) GetPricingExpressions() []*PricingExpression
- func (x *PricingVersion) GetType() PricingVersionType
- func (*PricingVersion) ProtoMessage()
- func (x *PricingVersion) ProtoReflect() protoreflect.Message
- func (x *PricingVersion) Reset()
- func (m *PricingVersion) SetEffectiveTime(v *timestamppb.Timestamp)
- func (m *PricingVersion) SetPricingExpressions(v []*PricingExpression)
- func (m *PricingVersion) SetType(v PricingVersionType)
- func (x *PricingVersion) String() string
- type PricingVersionType
- func (PricingVersionType) Descriptor() protoreflect.EnumDescriptor
- func (x PricingVersionType) Enum() *PricingVersionType
- func (PricingVersionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PricingVersionType) Number() protoreflect.EnumNumber
- func (x PricingVersionType) String() string
- func (PricingVersionType) Type() protoreflect.EnumType
- type Rate
- func (*Rate) Descriptor() ([]byte, []int)deprecated
- func (x *Rate) GetCurrency() string
- func (x *Rate) GetStartPricingQuantity() string
- func (x *Rate) GetUnitPrice() string
- func (*Rate) ProtoMessage()
- func (x *Rate) ProtoReflect() protoreflect.Message
- func (x *Rate) Reset()
- func (m *Rate) SetCurrency(v string)
- func (m *Rate) SetStartPricingQuantity(v string)
- func (m *Rate) SetUnitPrice(v string)
- func (x *Rate) String() string
- type ResetPeriodType
- func (ResetPeriodType) Descriptor() protoreflect.EnumDescriptor
- func (x ResetPeriodType) Enum() *ResetPeriodType
- func (ResetPeriodType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResetPeriodType) Number() protoreflect.EnumNumber
- func (x ResetPeriodType) String() string
- func (ResetPeriodType) Type() protoreflect.EnumType
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetDescription() string
- func (x *Service) GetId() string
- func (x *Service) GetName() string
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (m *Service) SetDescription(v string)
- func (m *Service) SetId(v string)
- func (m *Service) SetName(v string)
- func (x *Service) String() string
- type ServiceServiceClient
- type ServiceServiceServer
- type Sku
- func (*Sku) Descriptor() ([]byte, []int)deprecated
- func (x *Sku) GetDescription() string
- func (x *Sku) GetId() string
- func (x *Sku) GetName() string
- func (x *Sku) GetPricingUnit() string
- func (x *Sku) GetPricingVersions() []*PricingVersion
- func (x *Sku) GetServiceId() string
- func (*Sku) ProtoMessage()
- func (x *Sku) ProtoReflect() protoreflect.Message
- func (x *Sku) Reset()
- func (m *Sku) SetDescription(v string)
- func (m *Sku) SetId(v string)
- func (m *Sku) SetName(v string)
- func (m *Sku) SetPricingUnit(v string)
- func (m *Sku) SetPricingVersions(v []*PricingVersion)
- func (m *Sku) SetServiceId(v string)
- func (x *Sku) String() string
- type SkuServiceClient
- type SkuServiceServer
- type SuspendCustomerRequest
- func (*SuspendCustomerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SuspendCustomerRequest) GetCustomerId() string
- func (*SuspendCustomerRequest) ProtoMessage()
- func (x *SuspendCustomerRequest) ProtoReflect() protoreflect.Message
- func (x *SuspendCustomerRequest) Reset()
- func (m *SuspendCustomerRequest) SetCustomerId(v string)
- func (x *SuspendCustomerRequest) String() string
- type ThresholdRule
- func (*ThresholdRule) Descriptor() ([]byte, []int)deprecated
- func (x *ThresholdRule) GetAmount() string
- func (x *ThresholdRule) GetNotificationUserAccountIds() []string
- func (x *ThresholdRule) GetType() ThresholdType
- func (*ThresholdRule) ProtoMessage()
- func (x *ThresholdRule) ProtoReflect() protoreflect.Message
- func (x *ThresholdRule) Reset()
- func (m *ThresholdRule) SetAmount(v string)
- func (m *ThresholdRule) SetNotificationUserAccountIds(v []string)
- func (m *ThresholdRule) SetType(v ThresholdType)
- func (x *ThresholdRule) String() string
- type ThresholdType
- func (ThresholdType) Descriptor() protoreflect.EnumDescriptor
- func (x ThresholdType) Enum() *ThresholdType
- func (ThresholdType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ThresholdType) Number() protoreflect.EnumNumber
- func (x ThresholdType) String() string
- func (ThresholdType) Type() protoreflect.EnumType
- type UnimplementedBillingAccountServiceServer
- func (UnimplementedBillingAccountServiceServer) BindBillableObject(context.Context, *BindBillableObjectRequest) (*operation.Operation, error)
- func (UnimplementedBillingAccountServiceServer) Get(context.Context, *GetBillingAccountRequest) (*BillingAccount, error)
- func (UnimplementedBillingAccountServiceServer) List(context.Context, *ListBillingAccountsRequest) (*ListBillingAccountsResponse, error)
- func (UnimplementedBillingAccountServiceServer) ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
- func (UnimplementedBillingAccountServiceServer) ListBillableObjectBindings(context.Context, *ListBillableObjectBindingsRequest) (*ListBillableObjectBindingsResponse, error)
- func (UnimplementedBillingAccountServiceServer) UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
- type UnimplementedBudgetServiceServer
- func (UnimplementedBudgetServiceServer) Create(context.Context, *CreateBudgetRequest) (*operation.Operation, error)
- func (UnimplementedBudgetServiceServer) Get(context.Context, *GetBudgetRequest) (*Budget, error)
- func (UnimplementedBudgetServiceServer) List(context.Context, *ListBudgetsRequest) (*ListBudgetsResponse, error)
- type UnimplementedCustomerServiceServer
- func (UnimplementedCustomerServiceServer) Activate(context.Context, *ActivateCustomerRequest) (*operation.Operation, error)
- func (UnimplementedCustomerServiceServer) CreateResellerServed(context.Context, *CreateResellerServedCustomerRequest) (*operation.Operation, error)
- func (UnimplementedCustomerServiceServer) Invite(context.Context, *InviteCustomerRequest) (*operation.Operation, error)
- func (UnimplementedCustomerServiceServer) List(context.Context, *ListCustomersRequest) (*ListCustomersResponse, error)
- func (UnimplementedCustomerServiceServer) Suspend(context.Context, *SuspendCustomerRequest) (*operation.Operation, error)
- type UnimplementedServiceServiceServer
- type UnimplementedSkuServiceServer
- type UnsafeBillingAccountServiceServer
- type UnsafeBudgetServiceServer
- type UnsafeCustomerServiceServer
- type UnsafeServiceServiceServer
- type UnsafeSkuServiceServer
Constants ¶
const ( BillingAccountService_Get_FullMethodName = "/yandex.cloud.billing.v1.BillingAccountService/Get" BillingAccountService_List_FullMethodName = "/yandex.cloud.billing.v1.BillingAccountService/List" BillingAccountService_ListBillableObjectBindings_FullMethodName = "/yandex.cloud.billing.v1.BillingAccountService/ListBillableObjectBindings" BillingAccountService_BindBillableObject_FullMethodName = "/yandex.cloud.billing.v1.BillingAccountService/BindBillableObject" BillingAccountService_ListAccessBindings_FullMethodName = "/yandex.cloud.billing.v1.BillingAccountService/ListAccessBindings" BillingAccountService_UpdateAccessBindings_FullMethodName = "/yandex.cloud.billing.v1.BillingAccountService/UpdateAccessBindings" )
const ( BudgetService_Get_FullMethodName = "/yandex.cloud.billing.v1.BudgetService/Get" BudgetService_List_FullMethodName = "/yandex.cloud.billing.v1.BudgetService/List" BudgetService_Create_FullMethodName = "/yandex.cloud.billing.v1.BudgetService/Create" )
const ( CustomerService_List_FullMethodName = "/yandex.cloud.billing.v1.CustomerService/List" CustomerService_Invite_FullMethodName = "/yandex.cloud.billing.v1.CustomerService/Invite" CustomerService_CreateResellerServed_FullMethodName = "/yandex.cloud.billing.v1.CustomerService/CreateResellerServed" CustomerService_Activate_FullMethodName = "/yandex.cloud.billing.v1.CustomerService/Activate" CustomerService_Suspend_FullMethodName = "/yandex.cloud.billing.v1.CustomerService/Suspend" )
const ( ServiceService_Get_FullMethodName = "/yandex.cloud.billing.v1.ServiceService/Get" ServiceService_List_FullMethodName = "/yandex.cloud.billing.v1.ServiceService/List" )
const ( SkuService_Get_FullMethodName = "/yandex.cloud.billing.v1.SkuService/Get" SkuService_List_FullMethodName = "/yandex.cloud.billing.v1.SkuService/List" )
Variables ¶
var ( BudgetStatus_name = map[int32]string{ 0: "BUDGET_STATUS_UNSPECIFIED", 1: "CREATING", 2: "ACTIVE", 3: "FINISHED", } BudgetStatus_value = map[string]int32{ "BUDGET_STATUS_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "FINISHED": 3, } )
Enum value maps for BudgetStatus.
var ( ResetPeriodType_name = map[int32]string{ 0: "RESET_PERIOD_TYPE_UNSPECIFIED", 1: "MONTHLY", 2: "QUARTER", 3: "ANNUALLY", } ResetPeriodType_value = map[string]int32{ "RESET_PERIOD_TYPE_UNSPECIFIED": 0, "MONTHLY": 1, "QUARTER": 2, "ANNUALLY": 3, } )
Enum value maps for ResetPeriodType.
var ( ThresholdType_name = map[int32]string{ 0: "THRESHOLD_TYPE_UNSPECIFIED", 1: "PERCENT", 2: "AMOUNT", } ThresholdType_value = map[string]int32{ "THRESHOLD_TYPE_UNSPECIFIED": 0, "PERCENT": 1, "AMOUNT": 2, } )
Enum value maps for ThresholdType.
var ( PricingVersionType_name = map[int32]string{ 0: "PRICING_VERSION_TYPE_UNSPECIFIED", 1: "STREET_PRICE", 2: "CONTRACT_PRICE", } PricingVersionType_value = map[string]int32{ "PRICING_VERSION_TYPE_UNSPECIFIED": 0, "STREET_PRICE": 1, "CONTRACT_PRICE": 2, } )
Enum value maps for PricingVersionType.
var BillingAccountService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.billing.v1.BillingAccountService", HandlerType: (*BillingAccountServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _BillingAccountService_Get_Handler, }, { MethodName: "List", Handler: _BillingAccountService_List_Handler, }, { MethodName: "ListBillableObjectBindings", Handler: _BillingAccountService_ListBillableObjectBindings_Handler, }, { MethodName: "BindBillableObject", Handler: _BillingAccountService_BindBillableObject_Handler, }, { MethodName: "ListAccessBindings", Handler: _BillingAccountService_ListAccessBindings_Handler, }, { MethodName: "UpdateAccessBindings", Handler: _BillingAccountService_UpdateAccessBindings_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/billing/v1/billing_account_service.proto", }
BillingAccountService_ServiceDesc is the grpc.ServiceDesc for BillingAccountService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var BudgetService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.billing.v1.BudgetService", HandlerType: (*BudgetServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _BudgetService_Get_Handler, }, { MethodName: "List", Handler: _BudgetService_List_Handler, }, { MethodName: "Create", Handler: _BudgetService_Create_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/billing/v1/budget_service.proto", }
BudgetService_ServiceDesc is the grpc.ServiceDesc for BudgetService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CustomerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.billing.v1.CustomerService", HandlerType: (*CustomerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _CustomerService_List_Handler, }, { MethodName: "Invite", Handler: _CustomerService_Invite_Handler, }, { MethodName: "CreateResellerServed", Handler: _CustomerService_CreateResellerServed_Handler, }, { MethodName: "Activate", Handler: _CustomerService_Activate_Handler, }, { MethodName: "Suspend", Handler: _CustomerService_Suspend_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/billing/v1/customer_service.proto", }
CustomerService_ServiceDesc is the grpc.ServiceDesc for CustomerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_yandex_cloud_billing_v1_billable_object_proto protoreflect.FileDescriptor
var File_yandex_cloud_billing_v1_billing_account_proto protoreflect.FileDescriptor
var File_yandex_cloud_billing_v1_billing_account_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_billing_v1_budget_proto protoreflect.FileDescriptor
var File_yandex_cloud_billing_v1_budget_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_billing_v1_customer_proto protoreflect.FileDescriptor
var File_yandex_cloud_billing_v1_customer_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_billing_v1_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_billing_v1_service_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_billing_v1_sku_proto protoreflect.FileDescriptor
var File_yandex_cloud_billing_v1_sku_service_proto protoreflect.FileDescriptor
var ServiceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.billing.v1.ServiceService", HandlerType: (*ServiceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _ServiceService_Get_Handler, }, { MethodName: "List", Handler: _ServiceService_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/billing/v1/service_service.proto", }
ServiceService_ServiceDesc is the grpc.ServiceDesc for ServiceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SkuService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.billing.v1.SkuService", HandlerType: (*SkuServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _SkuService_Get_Handler, }, { MethodName: "List", Handler: _SkuService_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/billing/v1/sku_service.proto", }
SkuService_ServiceDesc is the grpc.ServiceDesc for SkuService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterBillingAccountServiceServer ¶
func RegisterBillingAccountServiceServer(s grpc.ServiceRegistrar, srv BillingAccountServiceServer)
func RegisterBudgetServiceServer ¶
func RegisterBudgetServiceServer(s grpc.ServiceRegistrar, srv BudgetServiceServer)
func RegisterCustomerServiceServer ¶
func RegisterCustomerServiceServer(s grpc.ServiceRegistrar, srv CustomerServiceServer)
func RegisterServiceServiceServer ¶
func RegisterServiceServiceServer(s grpc.ServiceRegistrar, srv ServiceServiceServer)
func RegisterSkuServiceServer ¶
func RegisterSkuServiceServer(s grpc.ServiceRegistrar, srv SkuServiceServer)
Types ¶
type ActivateCustomerRequest ¶
type ActivateCustomerRequest struct { // ID of the customer. // To get the customer ID, use [CustomerService.List] request. CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` // contains filtered or unexported fields }
func (*ActivateCustomerRequest) Descriptor
deprecated
func (*ActivateCustomerRequest) Descriptor() ([]byte, []int)
Deprecated: Use ActivateCustomerRequest.ProtoReflect.Descriptor instead.
func (*ActivateCustomerRequest) GetCustomerId ¶
func (x *ActivateCustomerRequest) GetCustomerId() string
func (*ActivateCustomerRequest) ProtoMessage ¶
func (*ActivateCustomerRequest) ProtoMessage()
func (*ActivateCustomerRequest) ProtoReflect ¶
func (x *ActivateCustomerRequest) ProtoReflect() protoreflect.Message
func (*ActivateCustomerRequest) Reset ¶
func (x *ActivateCustomerRequest) Reset()
func (*ActivateCustomerRequest) SetCustomerId ¶
func (m *ActivateCustomerRequest) SetCustomerId(v string)
func (*ActivateCustomerRequest) String ¶
func (x *ActivateCustomerRequest) String() string
type BalanceBudgetSpec ¶
type BalanceBudgetSpec struct { // Max balance threshold of the budget. Amount currency is the same as corresponding [yandex.cloud.billing.v1.BillingAccount.currency]. Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` // IDs of the [yandex.cloud.iam.v1.UserAccount]. // Specified users will be be notified if the budget exceeds. NotificationUserAccountIds []string `` /* 143-byte string literal not displayed */ // List of the [ThresholdRule]. // Rules define intermediate balance thresholds of the budget. ThresholdRules []*ThresholdRule `protobuf:"bytes,3,rep,name=threshold_rules,json=thresholdRules,proto3" json:"threshold_rules,omitempty"` // Start_date of the budget. // Must be the first day of a month and must be formatted like YYYY-MM-DD. StartDate string `protobuf:"bytes,4,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` // End date of the budget. // Must be the last day of a month and must be formatted like YYYY-MM-DD. EndDate string `protobuf:"bytes,5,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` // contains filtered or unexported fields }
Balance budget specification describes budget that can be used to control [yandex.cloud.billing.v1.BillingAccount.balance].
func (*BalanceBudgetSpec) Descriptor
deprecated
func (*BalanceBudgetSpec) Descriptor() ([]byte, []int)
Deprecated: Use BalanceBudgetSpec.ProtoReflect.Descriptor instead.
func (*BalanceBudgetSpec) GetAmount ¶
func (x *BalanceBudgetSpec) GetAmount() string
func (*BalanceBudgetSpec) GetEndDate ¶
func (x *BalanceBudgetSpec) GetEndDate() string
func (*BalanceBudgetSpec) GetNotificationUserAccountIds ¶
func (x *BalanceBudgetSpec) GetNotificationUserAccountIds() []string
func (*BalanceBudgetSpec) GetStartDate ¶
func (x *BalanceBudgetSpec) GetStartDate() string
func (*BalanceBudgetSpec) GetThresholdRules ¶
func (x *BalanceBudgetSpec) GetThresholdRules() []*ThresholdRule
func (*BalanceBudgetSpec) ProtoMessage ¶
func (*BalanceBudgetSpec) ProtoMessage()
func (*BalanceBudgetSpec) ProtoReflect ¶
func (x *BalanceBudgetSpec) ProtoReflect() protoreflect.Message
func (*BalanceBudgetSpec) Reset ¶
func (x *BalanceBudgetSpec) Reset()
func (*BalanceBudgetSpec) SetAmount ¶
func (m *BalanceBudgetSpec) SetAmount(v string)
func (*BalanceBudgetSpec) SetEndDate ¶
func (m *BalanceBudgetSpec) SetEndDate(v string)
func (*BalanceBudgetSpec) SetNotificationUserAccountIds ¶
func (m *BalanceBudgetSpec) SetNotificationUserAccountIds(v []string)
func (*BalanceBudgetSpec) SetStartDate ¶
func (m *BalanceBudgetSpec) SetStartDate(v string)
func (*BalanceBudgetSpec) SetThresholdRules ¶
func (m *BalanceBudgetSpec) SetThresholdRules(v []*ThresholdRule)
func (*BalanceBudgetSpec) String ¶
func (x *BalanceBudgetSpec) String() string
type BillableObject ¶
type BillableObject struct { // ID of the object in other service. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Billable object type. Can be one of the following: // * `cloud` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
Represents a link to an object in other service. This object is being billed in the scope of a billing account.
func (*BillableObject) Descriptor
deprecated
func (*BillableObject) Descriptor() ([]byte, []int)
Deprecated: Use BillableObject.ProtoReflect.Descriptor instead.
func (*BillableObject) GetId ¶
func (x *BillableObject) GetId() string
func (*BillableObject) GetType ¶
func (x *BillableObject) GetType() string
func (*BillableObject) ProtoMessage ¶
func (*BillableObject) ProtoMessage()
func (*BillableObject) ProtoReflect ¶
func (x *BillableObject) ProtoReflect() protoreflect.Message
func (*BillableObject) Reset ¶
func (x *BillableObject) Reset()
func (*BillableObject) SetId ¶
func (m *BillableObject) SetId(v string)
func (*BillableObject) SetType ¶
func (m *BillableObject) SetType(v string)
func (*BillableObject) String ¶
func (x *BillableObject) String() string
type BillableObjectBinding ¶
type BillableObjectBinding struct { // Timestamp when binding was created. EffectiveTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=effective_time,json=effectiveTime,proto3" json:"effective_time,omitempty"` // Object that is bound to billing account. BillableObject *BillableObject `protobuf:"bytes,2,opt,name=billable_object,json=billableObject,proto3" json:"billable_object,omitempty"` // contains filtered or unexported fields }
Represents a binding of the BillableObject to a BillingAccount.
func (*BillableObjectBinding) Descriptor
deprecated
func (*BillableObjectBinding) Descriptor() ([]byte, []int)
Deprecated: Use BillableObjectBinding.ProtoReflect.Descriptor instead.
func (*BillableObjectBinding) GetBillableObject ¶
func (x *BillableObjectBinding) GetBillableObject() *BillableObject
func (*BillableObjectBinding) GetEffectiveTime ¶
func (x *BillableObjectBinding) GetEffectiveTime() *timestamppb.Timestamp
func (*BillableObjectBinding) ProtoMessage ¶
func (*BillableObjectBinding) ProtoMessage()
func (*BillableObjectBinding) ProtoReflect ¶
func (x *BillableObjectBinding) ProtoReflect() protoreflect.Message
func (*BillableObjectBinding) Reset ¶
func (x *BillableObjectBinding) Reset()
func (*BillableObjectBinding) SetBillableObject ¶
func (m *BillableObjectBinding) SetBillableObject(v *BillableObject)
func (*BillableObjectBinding) SetEffectiveTime ¶
func (m *BillableObjectBinding) SetEffectiveTime(v *timestamppb.Timestamp)
func (*BillableObjectBinding) String ¶
func (x *BillableObjectBinding) String() string
type BillingAccount ¶
type BillingAccount struct { // ID of the billing account. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name of the billing account. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Creation timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // ISO 3166-1 alpha-2 country code of the billing account. CountryCode string `protobuf:"bytes,4,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` // Currency of the billing account. // Can be one of the following: // * `RUB` // * `USD` // * `KZT` Currency string `protobuf:"bytes,5,opt,name=currency,proto3" json:"currency,omitempty"` // Represents whether corresponding billable objects can be used or not. Active bool `protobuf:"varint,6,opt,name=active,proto3" json:"active,omitempty"` // Current balance of the billing account. Balance string `protobuf:"bytes,7,opt,name=balance,proto3" json:"balance,omitempty"` // contains filtered or unexported fields }
A BillingAccount resource. For more information, see BillingAccount(/docs/billing/concepts/billing-account).
func (*BillingAccount) Descriptor
deprecated
func (*BillingAccount) Descriptor() ([]byte, []int)
Deprecated: Use BillingAccount.ProtoReflect.Descriptor instead.
func (*BillingAccount) GetActive ¶
func (x *BillingAccount) GetActive() bool
func (*BillingAccount) GetBalance ¶
func (x *BillingAccount) GetBalance() string
func (*BillingAccount) GetCountryCode ¶
func (x *BillingAccount) GetCountryCode() string
func (*BillingAccount) GetCreatedAt ¶
func (x *BillingAccount) GetCreatedAt() *timestamppb.Timestamp
func (*BillingAccount) GetCurrency ¶
func (x *BillingAccount) GetCurrency() string
func (*BillingAccount) GetId ¶
func (x *BillingAccount) GetId() string
func (*BillingAccount) GetName ¶
func (x *BillingAccount) GetName() string
func (*BillingAccount) ProtoMessage ¶
func (*BillingAccount) ProtoMessage()
func (*BillingAccount) ProtoReflect ¶
func (x *BillingAccount) ProtoReflect() protoreflect.Message
func (*BillingAccount) Reset ¶
func (x *BillingAccount) Reset()
func (*BillingAccount) SetActive ¶
func (m *BillingAccount) SetActive(v bool)
func (*BillingAccount) SetBalance ¶
func (m *BillingAccount) SetBalance(v string)
func (*BillingAccount) SetCountryCode ¶
func (m *BillingAccount) SetCountryCode(v string)
func (*BillingAccount) SetCreatedAt ¶
func (m *BillingAccount) SetCreatedAt(v *timestamppb.Timestamp)
func (*BillingAccount) SetCurrency ¶
func (m *BillingAccount) SetCurrency(v string)
func (*BillingAccount) SetId ¶
func (m *BillingAccount) SetId(v string)
func (*BillingAccount) SetName ¶
func (m *BillingAccount) SetName(v string)
func (*BillingAccount) String ¶
func (x *BillingAccount) String() string
type BillingAccountServiceClient ¶
type BillingAccountServiceClient interface { // Returns the specified billing account. Get(ctx context.Context, in *GetBillingAccountRequest, opts ...grpc.CallOption) (*BillingAccount, error) // Retrieves the list of billing accounts available for current user. List(ctx context.Context, in *ListBillingAccountsRequest, opts ...grpc.CallOption) (*ListBillingAccountsResponse, error) // Retrieves the list of billable object bindings associated with the specified billing account. ListBillableObjectBindings(ctx context.Context, in *ListBillableObjectBindingsRequest, opts ...grpc.CallOption) (*ListBillableObjectBindingsResponse, error) // Binds billable object to the specified billing account. BindBillableObject(ctx context.Context, in *BindBillableObjectRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Lists access bindings for the specified billing account. ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, opts ...grpc.CallOption) (*access.ListAccessBindingsResponse, error) // Updates access bindings for the specified billing account. UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error) }
BillingAccountServiceClient is the client API for BillingAccountService 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.
A set of methods for managing BillingAccount resources.
func NewBillingAccountServiceClient ¶
func NewBillingAccountServiceClient(cc grpc.ClientConnInterface) BillingAccountServiceClient
type BillingAccountServiceServer ¶
type BillingAccountServiceServer interface { // Returns the specified billing account. Get(context.Context, *GetBillingAccountRequest) (*BillingAccount, error) // Retrieves the list of billing accounts available for current user. List(context.Context, *ListBillingAccountsRequest) (*ListBillingAccountsResponse, error) // Retrieves the list of billable object bindings associated with the specified billing account. ListBillableObjectBindings(context.Context, *ListBillableObjectBindingsRequest) (*ListBillableObjectBindingsResponse, error) // Binds billable object to the specified billing account. BindBillableObject(context.Context, *BindBillableObjectRequest) (*operation.Operation, error) // Lists access bindings for the specified billing account. ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error) // Updates access bindings for the specified billing account. UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error) }
BillingAccountServiceServer is the server API for BillingAccountService service. All implementations should embed UnimplementedBillingAccountServiceServer for forward compatibility.
A set of methods for managing BillingAccount resources.
type BindBillableObjectMetadata ¶
type BindBillableObjectMetadata struct { // ID of the [yandex.cloud.billing.v1.BillableObject] that was bound to billing account. BillableObjectId string `protobuf:"bytes,1,opt,name=billable_object_id,json=billableObjectId,proto3" json:"billable_object_id,omitempty"` // contains filtered or unexported fields }
func (*BindBillableObjectMetadata) Descriptor
deprecated
func (*BindBillableObjectMetadata) Descriptor() ([]byte, []int)
Deprecated: Use BindBillableObjectMetadata.ProtoReflect.Descriptor instead.
func (*BindBillableObjectMetadata) GetBillableObjectId ¶
func (x *BindBillableObjectMetadata) GetBillableObjectId() string
func (*BindBillableObjectMetadata) ProtoMessage ¶
func (*BindBillableObjectMetadata) ProtoMessage()
func (*BindBillableObjectMetadata) ProtoReflect ¶
func (x *BindBillableObjectMetadata) ProtoReflect() protoreflect.Message
func (*BindBillableObjectMetadata) Reset ¶
func (x *BindBillableObjectMetadata) Reset()
func (*BindBillableObjectMetadata) SetBillableObjectId ¶
func (m *BindBillableObjectMetadata) SetBillableObjectId(v string)
func (*BindBillableObjectMetadata) String ¶
func (x *BindBillableObjectMetadata) String() string
type BindBillableObjectRequest ¶
type BindBillableObjectRequest struct { // ID of the billing account to bind billable object. // To get the billing account ID, use [BillingAccountService.List] request. BillingAccountId string `protobuf:"bytes,1,opt,name=billing_account_id,json=billingAccountId,proto3" json:"billing_account_id,omitempty"` // [yandex.cloud.billing.v1.BillableObject] to bind with billing account. BillableObject *BillableObject `protobuf:"bytes,2,opt,name=billable_object,json=billableObject,proto3" json:"billable_object,omitempty"` // contains filtered or unexported fields }
func (*BindBillableObjectRequest) Descriptor
deprecated
func (*BindBillableObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use BindBillableObjectRequest.ProtoReflect.Descriptor instead.
func (*BindBillableObjectRequest) GetBillableObject ¶
func (x *BindBillableObjectRequest) GetBillableObject() *BillableObject
func (*BindBillableObjectRequest) GetBillingAccountId ¶
func (x *BindBillableObjectRequest) GetBillingAccountId() string
func (*BindBillableObjectRequest) ProtoMessage ¶
func (*BindBillableObjectRequest) ProtoMessage()
func (*BindBillableObjectRequest) ProtoReflect ¶
func (x *BindBillableObjectRequest) ProtoReflect() protoreflect.Message
func (*BindBillableObjectRequest) Reset ¶
func (x *BindBillableObjectRequest) Reset()
func (*BindBillableObjectRequest) SetBillableObject ¶
func (m *BindBillableObjectRequest) SetBillableObject(v *BillableObject)
func (*BindBillableObjectRequest) SetBillingAccountId ¶
func (m *BindBillableObjectRequest) SetBillingAccountId(v string)
func (*BindBillableObjectRequest) String ¶
func (x *BindBillableObjectRequest) String() string
type Budget ¶
type Budget struct { // ID of the budget. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name of the budget. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Creation timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // ID of the billing account that the budget belongs to. BillingAccountId string `protobuf:"bytes,4,opt,name=billing_account_id,json=billingAccountId,proto3" json:"billing_account_id,omitempty"` // Status of the budget. Status BudgetStatus `protobuf:"varint,5,opt,name=status,proto3,enum=yandex.cloud.billing.v1.BudgetStatus" json:"status,omitempty"` // Specification of the budget. // // Types that are assignable to BudgetSpec: // // *Budget_CostBudget // *Budget_ExpenseBudget // *Budget_BalanceBudget BudgetSpec isBudget_BudgetSpec `protobuf_oneof:"budget_spec"` // contains filtered or unexported fields }
A Budget resource. For more information, see [/docs/billing/concepts/budget].
func (*Budget) Descriptor
deprecated
func (*Budget) GetBalanceBudget ¶
func (x *Budget) GetBalanceBudget() *BalanceBudgetSpec
func (*Budget) GetBillingAccountId ¶
func (*Budget) GetBudgetSpec ¶
func (m *Budget) GetBudgetSpec() isBudget_BudgetSpec
func (*Budget) GetCostBudget ¶
func (x *Budget) GetCostBudget() *CostBudgetSpec
func (*Budget) GetCreatedAt ¶
func (x *Budget) GetCreatedAt() *timestamppb.Timestamp
func (*Budget) GetExpenseBudget ¶
func (x *Budget) GetExpenseBudget() *ExpenseBudgetSpec
func (*Budget) GetStatus ¶
func (x *Budget) GetStatus() BudgetStatus
func (*Budget) ProtoMessage ¶
func (*Budget) ProtoMessage()
func (*Budget) ProtoReflect ¶
func (x *Budget) ProtoReflect() protoreflect.Message
func (*Budget) SetBalanceBudget ¶
func (m *Budget) SetBalanceBudget(v *BalanceBudgetSpec)
func (*Budget) SetBillingAccountId ¶
func (*Budget) SetBudgetSpec ¶
func (m *Budget) SetBudgetSpec(v Budget_BudgetSpec)
func (*Budget) SetCostBudget ¶
func (m *Budget) SetCostBudget(v *CostBudgetSpec)
func (*Budget) SetCreatedAt ¶
func (m *Budget) SetCreatedAt(v *timestamppb.Timestamp)
func (*Budget) SetExpenseBudget ¶
func (m *Budget) SetExpenseBudget(v *ExpenseBudgetSpec)
func (*Budget) SetStatus ¶
func (m *Budget) SetStatus(v BudgetStatus)
type BudgetServiceClient ¶
type BudgetServiceClient interface { // Returns the specified budget. Get(ctx context.Context, in *GetBudgetRequest, opts ...grpc.CallOption) (*Budget, error) // Retrieves the list of budgets corresponding to the specified billing account. List(ctx context.Context, in *ListBudgetsRequest, opts ...grpc.CallOption) (*ListBudgetsResponse, error) // Creates a budget for the specified billing account. Create(ctx context.Context, in *CreateBudgetRequest, opts ...grpc.CallOption) (*operation.Operation, error) }
BudgetServiceClient is the client API for BudgetService 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.
A set of methods for managing Budget resources.
func NewBudgetServiceClient ¶
func NewBudgetServiceClient(cc grpc.ClientConnInterface) BudgetServiceClient
type BudgetServiceServer ¶
type BudgetServiceServer interface { // Returns the specified budget. Get(context.Context, *GetBudgetRequest) (*Budget, error) // Retrieves the list of budgets corresponding to the specified billing account. List(context.Context, *ListBudgetsRequest) (*ListBudgetsResponse, error) // Creates a budget for the specified billing account. Create(context.Context, *CreateBudgetRequest) (*operation.Operation, error) }
BudgetServiceServer is the server API for BudgetService service. All implementations should embed UnimplementedBudgetServiceServer for forward compatibility.
A set of methods for managing Budget resources.
type BudgetStatus ¶
type BudgetStatus int32
const ( BudgetStatus_BUDGET_STATUS_UNSPECIFIED BudgetStatus = 0 // The budget is being created. BudgetStatus_CREATING BudgetStatus = 1 // The budget is active. BudgetStatus_ACTIVE BudgetStatus = 2 // The budget is finished. BudgetStatus_FINISHED BudgetStatus = 3 )
func (BudgetStatus) Descriptor ¶
func (BudgetStatus) Descriptor() protoreflect.EnumDescriptor
func (BudgetStatus) Enum ¶
func (x BudgetStatus) Enum() *BudgetStatus
func (BudgetStatus) EnumDescriptor
deprecated
func (BudgetStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use BudgetStatus.Descriptor instead.
func (BudgetStatus) Number ¶
func (x BudgetStatus) Number() protoreflect.EnumNumber
func (BudgetStatus) String ¶
func (x BudgetStatus) String() string
func (BudgetStatus) Type ¶
func (BudgetStatus) Type() protoreflect.EnumType
type Budget_BalanceBudget ¶
type Budget_BalanceBudget struct { // Balance budget specification. BalanceBudget *BalanceBudgetSpec `protobuf:"bytes,8,opt,name=balance_budget,json=balanceBudget,proto3,oneof"` }
type Budget_BudgetSpec ¶
type Budget_BudgetSpec = isBudget_BudgetSpec
type Budget_CostBudget ¶
type Budget_CostBudget struct { // Cost budget specification. CostBudget *CostBudgetSpec `protobuf:"bytes,6,opt,name=cost_budget,json=costBudget,proto3,oneof"` }
type Budget_ExpenseBudget ¶
type Budget_ExpenseBudget struct { // Expense budget specification. ExpenseBudget *ExpenseBudgetSpec `protobuf:"bytes,7,opt,name=expense_budget,json=expenseBudget,proto3,oneof"` }
type CloudFoldersConsumptionFilter ¶
type CloudFoldersConsumptionFilter struct { // ID of the [yandex.cloud.resourcemanager.v1.Cloud]. // Only consumption within specified cloud is used for the budget calculation. CloudId string `protobuf:"bytes,1,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"` // IDs of the [yandex.cloud.resourcemanager.v1.Folder]. // Only consumption within specified folders of the given cloud is used for the budget calculation. // Empty sequence means no folders filters and the whole cloud consumption will be used. FolderIds []string `protobuf:"bytes,2,rep,name=folder_ids,json=folderIds,proto3" json:"folder_ids,omitempty"` // contains filtered or unexported fields }
Filter that can be used for specific cloud and its folders selection.
func (*CloudFoldersConsumptionFilter) Descriptor
deprecated
func (*CloudFoldersConsumptionFilter) Descriptor() ([]byte, []int)
Deprecated: Use CloudFoldersConsumptionFilter.ProtoReflect.Descriptor instead.
func (*CloudFoldersConsumptionFilter) GetCloudId ¶
func (x *CloudFoldersConsumptionFilter) GetCloudId() string
func (*CloudFoldersConsumptionFilter) GetFolderIds ¶
func (x *CloudFoldersConsumptionFilter) GetFolderIds() []string
func (*CloudFoldersConsumptionFilter) ProtoMessage ¶
func (*CloudFoldersConsumptionFilter) ProtoMessage()
func (*CloudFoldersConsumptionFilter) ProtoReflect ¶
func (x *CloudFoldersConsumptionFilter) ProtoReflect() protoreflect.Message
func (*CloudFoldersConsumptionFilter) Reset ¶
func (x *CloudFoldersConsumptionFilter) Reset()
func (*CloudFoldersConsumptionFilter) SetCloudId ¶
func (m *CloudFoldersConsumptionFilter) SetCloudId(v string)
func (*CloudFoldersConsumptionFilter) SetFolderIds ¶
func (m *CloudFoldersConsumptionFilter) SetFolderIds(v []string)
func (*CloudFoldersConsumptionFilter) String ¶
func (x *CloudFoldersConsumptionFilter) String() string
type ConsumptionFilter ¶
type ConsumptionFilter struct { // IDs of the [yandex.cloud.billing.v1.Service]. // Only consumption of resources corresponding to the given services is used for the budget calculation. // Empty sequence means no services filters. ServiceIds []string `protobuf:"bytes,1,rep,name=service_ids,json=serviceIds,proto3" json:"service_ids,omitempty"` // Cloud and folders consumption filter. // Only consumption within specified clouds and folders is used for the budget calculation. // Empty sequence means no cloud and folders filters. CloudFoldersFilters []*CloudFoldersConsumptionFilter `protobuf:"bytes,2,rep,name=cloud_folders_filters,json=cloudFoldersFilters,proto3" json:"cloud_folders_filters,omitempty"` // contains filtered or unexported fields }
Filter that can be used for specific resources selection.
func (*ConsumptionFilter) Descriptor
deprecated
func (*ConsumptionFilter) Descriptor() ([]byte, []int)
Deprecated: Use ConsumptionFilter.ProtoReflect.Descriptor instead.
func (*ConsumptionFilter) GetCloudFoldersFilters ¶
func (x *ConsumptionFilter) GetCloudFoldersFilters() []*CloudFoldersConsumptionFilter
func (*ConsumptionFilter) GetServiceIds ¶
func (x *ConsumptionFilter) GetServiceIds() []string
func (*ConsumptionFilter) ProtoMessage ¶
func (*ConsumptionFilter) ProtoMessage()
func (*ConsumptionFilter) ProtoReflect ¶
func (x *ConsumptionFilter) ProtoReflect() protoreflect.Message
func (*ConsumptionFilter) Reset ¶
func (x *ConsumptionFilter) Reset()
func (*ConsumptionFilter) SetCloudFoldersFilters ¶
func (m *ConsumptionFilter) SetCloudFoldersFilters(v []*CloudFoldersConsumptionFilter)
func (*ConsumptionFilter) SetServiceIds ¶
func (m *ConsumptionFilter) SetServiceIds(v []string)
func (*ConsumptionFilter) String ¶
func (x *ConsumptionFilter) String() string
type CostBudgetSpec ¶
type CostBudgetSpec struct { // Max cost threshold of the budget. Amount currency is the same as corresponding [yandex.cloud.billing.v1.BillingAccount.currency]. Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` // IDs of the [yandex.cloud.iam.v1.UserAccount]. // Specified users will be be notified if the budget exceeds. NotificationUserAccountIds []string `` /* 143-byte string literal not displayed */ // List of the [ThresholdRule]. // Rules define intermediate cost thresholds of the budget. ThresholdRules []*ThresholdRule `protobuf:"bytes,3,rep,name=threshold_rules,json=thresholdRules,proto3" json:"threshold_rules,omitempty"` // Filter that can be used for specific resources selection. Only consumption cost of selected resources are used for the budget calculation. Filter *ConsumptionFilter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Start type of the budget. // // Types that are assignable to StartType: // // *CostBudgetSpec_ResetPeriod // *CostBudgetSpec_StartDate StartType isCostBudgetSpec_StartType `protobuf_oneof:"start_type"` // End date of the budget. // Must be the last day of a month and must be formatted like YYYY-MM-DD. EndDate string `protobuf:"bytes,7,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` // contains filtered or unexported fields }
Cost budget specification describes budget that can be used to control cost of cloud resources usage.
func (*CostBudgetSpec) Descriptor
deprecated
func (*CostBudgetSpec) Descriptor() ([]byte, []int)
Deprecated: Use CostBudgetSpec.ProtoReflect.Descriptor instead.
func (*CostBudgetSpec) GetAmount ¶
func (x *CostBudgetSpec) GetAmount() string
func (*CostBudgetSpec) GetEndDate ¶
func (x *CostBudgetSpec) GetEndDate() string
func (*CostBudgetSpec) GetFilter ¶
func (x *CostBudgetSpec) GetFilter() *ConsumptionFilter
func (*CostBudgetSpec) GetNotificationUserAccountIds ¶
func (x *CostBudgetSpec) GetNotificationUserAccountIds() []string
func (*CostBudgetSpec) GetResetPeriod ¶
func (x *CostBudgetSpec) GetResetPeriod() ResetPeriodType
func (*CostBudgetSpec) GetStartDate ¶
func (x *CostBudgetSpec) GetStartDate() string
func (*CostBudgetSpec) GetStartType ¶
func (m *CostBudgetSpec) GetStartType() isCostBudgetSpec_StartType
func (*CostBudgetSpec) GetThresholdRules ¶
func (x *CostBudgetSpec) GetThresholdRules() []*ThresholdRule
func (*CostBudgetSpec) ProtoMessage ¶
func (*CostBudgetSpec) ProtoMessage()
func (*CostBudgetSpec) ProtoReflect ¶
func (x *CostBudgetSpec) ProtoReflect() protoreflect.Message
func (*CostBudgetSpec) Reset ¶
func (x *CostBudgetSpec) Reset()
func (*CostBudgetSpec) SetAmount ¶
func (m *CostBudgetSpec) SetAmount(v string)
func (*CostBudgetSpec) SetEndDate ¶
func (m *CostBudgetSpec) SetEndDate(v string)
func (*CostBudgetSpec) SetFilter ¶
func (m *CostBudgetSpec) SetFilter(v *ConsumptionFilter)
func (*CostBudgetSpec) SetNotificationUserAccountIds ¶
func (m *CostBudgetSpec) SetNotificationUserAccountIds(v []string)
func (*CostBudgetSpec) SetResetPeriod ¶
func (m *CostBudgetSpec) SetResetPeriod(v ResetPeriodType)
func (*CostBudgetSpec) SetStartDate ¶
func (m *CostBudgetSpec) SetStartDate(v string)
func (*CostBudgetSpec) SetStartType ¶
func (m *CostBudgetSpec) SetStartType(v CostBudgetSpec_StartType)
func (*CostBudgetSpec) SetThresholdRules ¶
func (m *CostBudgetSpec) SetThresholdRules(v []*ThresholdRule)
func (*CostBudgetSpec) String ¶
func (x *CostBudgetSpec) String() string
type CostBudgetSpec_ResetPeriod ¶
type CostBudgetSpec_ResetPeriod struct { // Periodic start type that resets budget after specified period is finished. // First time budget is calculated in the current period, i.e. current month, quarter or year. ResetPeriod ResetPeriodType `protobuf:"varint,5,opt,name=reset_period,json=resetPeriod,proto3,enum=yandex.cloud.billing.v1.ResetPeriodType,oneof"` }
type CostBudgetSpec_StartDate ¶
type CostBudgetSpec_StartDate struct { // Custom start date of the budget. // Must be the first day of a month and must be formatted like YYYY-MM-DD. StartDate string `protobuf:"bytes,6,opt,name=start_date,json=startDate,proto3,oneof"` }
type CostBudgetSpec_StartType ¶
type CostBudgetSpec_StartType = isCostBudgetSpec_StartType
type CreateBudgetMetadata ¶
type CreateBudgetMetadata struct { // ID of the budget. BudgetId string `protobuf:"bytes,1,opt,name=budget_id,json=budgetId,proto3" json:"budget_id,omitempty"` // contains filtered or unexported fields }
func (*CreateBudgetMetadata) Descriptor
deprecated
func (*CreateBudgetMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateBudgetMetadata.ProtoReflect.Descriptor instead.
func (*CreateBudgetMetadata) GetBudgetId ¶
func (x *CreateBudgetMetadata) GetBudgetId() string
func (*CreateBudgetMetadata) ProtoMessage ¶
func (*CreateBudgetMetadata) ProtoMessage()
func (*CreateBudgetMetadata) ProtoReflect ¶
func (x *CreateBudgetMetadata) ProtoReflect() protoreflect.Message
func (*CreateBudgetMetadata) Reset ¶
func (x *CreateBudgetMetadata) Reset()
func (*CreateBudgetMetadata) SetBudgetId ¶
func (m *CreateBudgetMetadata) SetBudgetId(v string)
func (*CreateBudgetMetadata) String ¶
func (x *CreateBudgetMetadata) String() string
type CreateBudgetRequest ¶
type CreateBudgetRequest struct { // ID of the billing account to list budgets corresponding to. // To get the billing account ID, use [yandex.cloud.billing.v1.BillingAccountService.List] request. BillingAccountId string `protobuf:"bytes,1,opt,name=billing_account_id,json=billingAccountId,proto3" json:"billing_account_id,omitempty"` // Name of the budget. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Specification of the budget. // // Types that are assignable to BudgetSpec: // // *CreateBudgetRequest_CostBudgetSpec // *CreateBudgetRequest_ExpenseBudgetSpec // *CreateBudgetRequest_BalanceBudgetSpec BudgetSpec isCreateBudgetRequest_BudgetSpec `protobuf_oneof:"budget_spec"` // contains filtered or unexported fields }
func (*CreateBudgetRequest) Descriptor
deprecated
func (*CreateBudgetRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBudgetRequest.ProtoReflect.Descriptor instead.
func (*CreateBudgetRequest) GetBalanceBudgetSpec ¶
func (x *CreateBudgetRequest) GetBalanceBudgetSpec() *BalanceBudgetSpec
func (*CreateBudgetRequest) GetBillingAccountId ¶
func (x *CreateBudgetRequest) GetBillingAccountId() string
func (*CreateBudgetRequest) GetBudgetSpec ¶
func (m *CreateBudgetRequest) GetBudgetSpec() isCreateBudgetRequest_BudgetSpec
func (*CreateBudgetRequest) GetCostBudgetSpec ¶
func (x *CreateBudgetRequest) GetCostBudgetSpec() *CostBudgetSpec
func (*CreateBudgetRequest) GetExpenseBudgetSpec ¶
func (x *CreateBudgetRequest) GetExpenseBudgetSpec() *ExpenseBudgetSpec
func (*CreateBudgetRequest) GetName ¶
func (x *CreateBudgetRequest) GetName() string
func (*CreateBudgetRequest) ProtoMessage ¶
func (*CreateBudgetRequest) ProtoMessage()
func (*CreateBudgetRequest) ProtoReflect ¶
func (x *CreateBudgetRequest) ProtoReflect() protoreflect.Message
func (*CreateBudgetRequest) Reset ¶
func (x *CreateBudgetRequest) Reset()
func (*CreateBudgetRequest) SetBalanceBudgetSpec ¶
func (m *CreateBudgetRequest) SetBalanceBudgetSpec(v *BalanceBudgetSpec)
func (*CreateBudgetRequest) SetBillingAccountId ¶
func (m *CreateBudgetRequest) SetBillingAccountId(v string)
func (*CreateBudgetRequest) SetBudgetSpec ¶
func (m *CreateBudgetRequest) SetBudgetSpec(v CreateBudgetRequest_BudgetSpec)
func (*CreateBudgetRequest) SetCostBudgetSpec ¶
func (m *CreateBudgetRequest) SetCostBudgetSpec(v *CostBudgetSpec)
func (*CreateBudgetRequest) SetExpenseBudgetSpec ¶
func (m *CreateBudgetRequest) SetExpenseBudgetSpec(v *ExpenseBudgetSpec)
func (*CreateBudgetRequest) SetName ¶
func (m *CreateBudgetRequest) SetName(v string)
func (*CreateBudgetRequest) String ¶
func (x *CreateBudgetRequest) String() string
type CreateBudgetRequest_BalanceBudgetSpec ¶
type CreateBudgetRequest_BalanceBudgetSpec struct { // Balance budget specification. BalanceBudgetSpec *BalanceBudgetSpec `protobuf:"bytes,5,opt,name=balance_budget_spec,json=balanceBudgetSpec,proto3,oneof"` }
type CreateBudgetRequest_BudgetSpec ¶
type CreateBudgetRequest_BudgetSpec = isCreateBudgetRequest_BudgetSpec
type CreateBudgetRequest_CostBudgetSpec ¶
type CreateBudgetRequest_CostBudgetSpec struct { // Cost budget specification. CostBudgetSpec *CostBudgetSpec `protobuf:"bytes,3,opt,name=cost_budget_spec,json=costBudgetSpec,proto3,oneof"` }
type CreateBudgetRequest_ExpenseBudgetSpec ¶
type CreateBudgetRequest_ExpenseBudgetSpec struct { // Expense budget specification. ExpenseBudgetSpec *ExpenseBudgetSpec `protobuf:"bytes,4,opt,name=expense_budget_spec,json=expenseBudgetSpec,proto3,oneof"` }
type CreateResellerServedCustomerRequest ¶
type CreateResellerServedCustomerRequest struct { // ID of the reseller that customer will be associated with.</br> // // Value must match either one of the three regular expressions: // </br>- `^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$` // </br>- `^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{32})$` // </br>- `^[a-z][-a-zA-Z0-9.]{0,48}[a-zA-Z0-9]$` ResellerId string `protobuf:"bytes,1,opt,name=reseller_id,json=resellerId,proto3" json:"reseller_id,omitempty"` // Name of the customer. // // String length is not limited. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Person of the customer. Person *CustomerPerson `protobuf:"bytes,3,opt,name=person,proto3" json:"person,omitempty"` // contains filtered or unexported fields }
func (*CreateResellerServedCustomerRequest) Descriptor
deprecated
func (*CreateResellerServedCustomerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateResellerServedCustomerRequest.ProtoReflect.Descriptor instead.
func (*CreateResellerServedCustomerRequest) GetName ¶
func (x *CreateResellerServedCustomerRequest) GetName() string
func (*CreateResellerServedCustomerRequest) GetPerson ¶
func (x *CreateResellerServedCustomerRequest) GetPerson() *CustomerPerson
func (*CreateResellerServedCustomerRequest) GetResellerId ¶
func (x *CreateResellerServedCustomerRequest) GetResellerId() string
func (*CreateResellerServedCustomerRequest) ProtoMessage ¶
func (*CreateResellerServedCustomerRequest) ProtoMessage()
func (*CreateResellerServedCustomerRequest) ProtoReflect ¶
func (x *CreateResellerServedCustomerRequest) ProtoReflect() protoreflect.Message
func (*CreateResellerServedCustomerRequest) Reset ¶
func (x *CreateResellerServedCustomerRequest) Reset()
func (*CreateResellerServedCustomerRequest) SetName ¶
func (m *CreateResellerServedCustomerRequest) SetName(v string)
func (*CreateResellerServedCustomerRequest) SetPerson ¶
func (m *CreateResellerServedCustomerRequest) SetPerson(v *CustomerPerson)
func (*CreateResellerServedCustomerRequest) SetResellerId ¶
func (m *CreateResellerServedCustomerRequest) SetResellerId(v string)
func (*CreateResellerServedCustomerRequest) String ¶
func (x *CreateResellerServedCustomerRequest) String() string
type Customer ¶
type Customer struct { // ID of the customer. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the [yandex.cloud.billing.v1.BillingAccount] assigned to the customer. BillingAccountId string `protobuf:"bytes,2,opt,name=billing_account_id,json=billingAccountId,proto3" json:"billing_account_id,omitempty"` // contains filtered or unexported fields }
A Customer resource.
func (*Customer) Descriptor
deprecated
func (*Customer) GetBillingAccountId ¶
func (*Customer) ProtoMessage ¶
func (*Customer) ProtoMessage()
func (*Customer) ProtoReflect ¶
func (x *Customer) ProtoReflect() protoreflect.Message
func (*Customer) SetBillingAccountId ¶
type CustomerMetadata ¶
type CustomerMetadata struct { // ID of the reseller. ResellerId string `protobuf:"bytes,1,opt,name=reseller_id,json=resellerId,proto3" json:"reseller_id,omitempty"` // ID of the customer. CustomerId string `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` // contains filtered or unexported fields }
func (*CustomerMetadata) Descriptor
deprecated
func (*CustomerMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CustomerMetadata.ProtoReflect.Descriptor instead.
func (*CustomerMetadata) GetCustomerId ¶
func (x *CustomerMetadata) GetCustomerId() string
func (*CustomerMetadata) GetResellerId ¶
func (x *CustomerMetadata) GetResellerId() string
func (*CustomerMetadata) ProtoMessage ¶
func (*CustomerMetadata) ProtoMessage()
func (*CustomerMetadata) ProtoReflect ¶
func (x *CustomerMetadata) ProtoReflect() protoreflect.Message
func (*CustomerMetadata) Reset ¶
func (x *CustomerMetadata) Reset()
func (*CustomerMetadata) SetCustomerId ¶
func (m *CustomerMetadata) SetCustomerId(v string)
func (*CustomerMetadata) SetResellerId ¶
func (m *CustomerMetadata) SetResellerId(v string)
func (*CustomerMetadata) String ¶
func (x *CustomerMetadata) String() string
type CustomerPerson ¶
type CustomerPerson struct { // Optional. Name of the person. // // String length is not limited. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. Long name of the person. // // String length is not limited. Longname string `protobuf:"bytes,2,opt,name=longname,proto3" json:"longname,omitempty"` // Optional. Phone of the person. // // Must be a valid telephone number or a valid [phoneword](https://en.m.wikipedia.org/wiki/Phoneword). Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` // Optional. Email of the person. // // Must be a valid [email address](https://en.wikipedia.org/wiki/Email_address). Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` // Optional. Post code of the person. // // String length is not limited. PostCode string `protobuf:"bytes,5,opt,name=post_code,json=postCode,proto3" json:"post_code,omitempty"` // Optional. Post address of the person. // // String length is not limited. PostAddress string `protobuf:"bytes,6,opt,name=post_address,json=postAddress,proto3" json:"post_address,omitempty"` // Optional. Legal address of the person. // // String length is not limited. LegalAddress string `protobuf:"bytes,7,opt,name=legal_address,json=legalAddress,proto3" json:"legal_address,omitempty"` // Optional. Tax identification number of the person. // // String length is not limited. Tin string `protobuf:"bytes,8,opt,name=tin,proto3" json:"tin,omitempty"` // contains filtered or unexported fields }
Person of the customer. Contains legal information.
func (*CustomerPerson) Descriptor
deprecated
func (*CustomerPerson) Descriptor() ([]byte, []int)
Deprecated: Use CustomerPerson.ProtoReflect.Descriptor instead.
func (*CustomerPerson) GetEmail ¶
func (x *CustomerPerson) GetEmail() string
func (*CustomerPerson) GetLegalAddress ¶
func (x *CustomerPerson) GetLegalAddress() string
func (*CustomerPerson) GetLongname ¶
func (x *CustomerPerson) GetLongname() string
func (*CustomerPerson) GetName ¶
func (x *CustomerPerson) GetName() string
func (*CustomerPerson) GetPhone ¶
func (x *CustomerPerson) GetPhone() string
func (*CustomerPerson) GetPostAddress ¶
func (x *CustomerPerson) GetPostAddress() string
func (*CustomerPerson) GetPostCode ¶
func (x *CustomerPerson) GetPostCode() string
func (*CustomerPerson) GetTin ¶
func (x *CustomerPerson) GetTin() string
func (*CustomerPerson) ProtoMessage ¶
func (*CustomerPerson) ProtoMessage()
func (*CustomerPerson) ProtoReflect ¶
func (x *CustomerPerson) ProtoReflect() protoreflect.Message
func (*CustomerPerson) Reset ¶
func (x *CustomerPerson) Reset()
func (*CustomerPerson) SetEmail ¶
func (m *CustomerPerson) SetEmail(v string)
func (*CustomerPerson) SetLegalAddress ¶
func (m *CustomerPerson) SetLegalAddress(v string)
func (*CustomerPerson) SetLongname ¶
func (m *CustomerPerson) SetLongname(v string)
func (*CustomerPerson) SetName ¶
func (m *CustomerPerson) SetName(v string)
func (*CustomerPerson) SetPhone ¶
func (m *CustomerPerson) SetPhone(v string)
func (*CustomerPerson) SetPostAddress ¶
func (m *CustomerPerson) SetPostAddress(v string)
func (*CustomerPerson) SetPostCode ¶
func (m *CustomerPerson) SetPostCode(v string)
func (*CustomerPerson) SetTin ¶
func (m *CustomerPerson) SetTin(v string)
func (*CustomerPerson) String ¶
func (x *CustomerPerson) String() string
type CustomerServiceClient ¶
type CustomerServiceClient interface { // Retrieves the list of customers associated with the specified reseller. List(ctx context.Context, in *ListCustomersRequest, opts ...grpc.CallOption) (*ListCustomersResponse, error) // Invites customer to the specified reseller. Invite(ctx context.Context, in *InviteCustomerRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Creates new reseller-served customer. CreateResellerServed(ctx context.Context, in *CreateResellerServedCustomerRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Activates specified customer. After customer is activated, he can use resources associated with his billing account. Activate(ctx context.Context, in *ActivateCustomerRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Suspend specified customer. After customer is suspended, he can't use resources associated with his billing account. Suspend(ctx context.Context, in *SuspendCustomerRequest, opts ...grpc.CallOption) (*operation.Operation, error) }
CustomerServiceClient is the client API for CustomerService 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.
A set of methods for managing Customer resources.
func NewCustomerServiceClient ¶
func NewCustomerServiceClient(cc grpc.ClientConnInterface) CustomerServiceClient
type CustomerServiceServer ¶
type CustomerServiceServer interface { // Retrieves the list of customers associated with the specified reseller. List(context.Context, *ListCustomersRequest) (*ListCustomersResponse, error) // Invites customer to the specified reseller. Invite(context.Context, *InviteCustomerRequest) (*operation.Operation, error) // Creates new reseller-served customer. CreateResellerServed(context.Context, *CreateResellerServedCustomerRequest) (*operation.Operation, error) // Activates specified customer. After customer is activated, he can use resources associated with his billing account. Activate(context.Context, *ActivateCustomerRequest) (*operation.Operation, error) // Suspend specified customer. After customer is suspended, he can't use resources associated with his billing account. Suspend(context.Context, *SuspendCustomerRequest) (*operation.Operation, error) }
CustomerServiceServer is the server API for CustomerService service. All implementations should embed UnimplementedCustomerServiceServer for forward compatibility.
A set of methods for managing Customer resources.
type ExpenseBudgetSpec ¶
type ExpenseBudgetSpec struct { // Max expense threshold of the budget. Amount currency is the same as corresponding [yandex.cloud.billing.v1.BillingAccount.currency]. Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` // IDs of the [yandex.cloud.iam.v1.UserAccount]. // Specified users will be be notified if the budget exceeds. NotificationUserAccountIds []string `` /* 143-byte string literal not displayed */ // List of the [ThresholdRule]. // Rules define intermediate expense thresholds of the budget. ThresholdRules []*ThresholdRule `protobuf:"bytes,3,rep,name=threshold_rules,json=thresholdRules,proto3" json:"threshold_rules,omitempty"` // Filter that can be used for specific resources selection. Only consumption expense of selected resources are used for the budget calculation. Filter *ConsumptionFilter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Start type of the budget. // // Types that are assignable to StartType: // // *ExpenseBudgetSpec_ResetPeriod // *ExpenseBudgetSpec_StartDate StartType isExpenseBudgetSpec_StartType `protobuf_oneof:"start_type"` // End date of the budget. // Must be the last day of a month and must be formatted like YYYY-MM-DD. EndDate string `protobuf:"bytes,7,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` // contains filtered or unexported fields }
Expense budget specification describes budget that can be used to control expense of cloud resources usage.
func (*ExpenseBudgetSpec) Descriptor
deprecated
func (*ExpenseBudgetSpec) Descriptor() ([]byte, []int)
Deprecated: Use ExpenseBudgetSpec.ProtoReflect.Descriptor instead.
func (*ExpenseBudgetSpec) GetAmount ¶
func (x *ExpenseBudgetSpec) GetAmount() string
func (*ExpenseBudgetSpec) GetEndDate ¶
func (x *ExpenseBudgetSpec) GetEndDate() string
func (*ExpenseBudgetSpec) GetFilter ¶
func (x *ExpenseBudgetSpec) GetFilter() *ConsumptionFilter
func (*ExpenseBudgetSpec) GetNotificationUserAccountIds ¶
func (x *ExpenseBudgetSpec) GetNotificationUserAccountIds() []string
func (*ExpenseBudgetSpec) GetResetPeriod ¶
func (x *ExpenseBudgetSpec) GetResetPeriod() ResetPeriodType
func (*ExpenseBudgetSpec) GetStartDate ¶
func (x *ExpenseBudgetSpec) GetStartDate() string
func (*ExpenseBudgetSpec) GetStartType ¶
func (m *ExpenseBudgetSpec) GetStartType() isExpenseBudgetSpec_StartType
func (*ExpenseBudgetSpec) GetThresholdRules ¶
func (x *ExpenseBudgetSpec) GetThresholdRules() []*ThresholdRule
func (*ExpenseBudgetSpec) ProtoMessage ¶
func (*ExpenseBudgetSpec) ProtoMessage()
func (*ExpenseBudgetSpec) ProtoReflect ¶
func (x *ExpenseBudgetSpec) ProtoReflect() protoreflect.Message
func (*ExpenseBudgetSpec) Reset ¶
func (x *ExpenseBudgetSpec) Reset()
func (*ExpenseBudgetSpec) SetAmount ¶
func (m *ExpenseBudgetSpec) SetAmount(v string)
func (*ExpenseBudgetSpec) SetEndDate ¶
func (m *ExpenseBudgetSpec) SetEndDate(v string)
func (*ExpenseBudgetSpec) SetFilter ¶
func (m *ExpenseBudgetSpec) SetFilter(v *ConsumptionFilter)
func (*ExpenseBudgetSpec) SetNotificationUserAccountIds ¶
func (m *ExpenseBudgetSpec) SetNotificationUserAccountIds(v []string)
func (*ExpenseBudgetSpec) SetResetPeriod ¶
func (m *ExpenseBudgetSpec) SetResetPeriod(v ResetPeriodType)
func (*ExpenseBudgetSpec) SetStartDate ¶
func (m *ExpenseBudgetSpec) SetStartDate(v string)
func (*ExpenseBudgetSpec) SetStartType ¶
func (m *ExpenseBudgetSpec) SetStartType(v ExpenseBudgetSpec_StartType)
func (*ExpenseBudgetSpec) SetThresholdRules ¶
func (m *ExpenseBudgetSpec) SetThresholdRules(v []*ThresholdRule)
func (*ExpenseBudgetSpec) String ¶
func (x *ExpenseBudgetSpec) String() string
type ExpenseBudgetSpec_ResetPeriod ¶
type ExpenseBudgetSpec_ResetPeriod struct { // Periodic start type that resets budget after specified period is finished. // First time budget is calculated in the current period, i.e. current month, quarter or year. ResetPeriod ResetPeriodType `protobuf:"varint,5,opt,name=reset_period,json=resetPeriod,proto3,enum=yandex.cloud.billing.v1.ResetPeriodType,oneof"` }
type ExpenseBudgetSpec_StartDate ¶
type ExpenseBudgetSpec_StartDate struct { // Custom start date of the budget. // Must be the first day of a month and must be formatted like YYYY-MM-DD. StartDate string `protobuf:"bytes,6,opt,name=start_date,json=startDate,proto3,oneof"` }
type ExpenseBudgetSpec_StartType ¶
type ExpenseBudgetSpec_StartType = isExpenseBudgetSpec_StartType
type GetBillingAccountRequest ¶
type GetBillingAccountRequest struct { // ID of the billing account to return. // To get the billing account ID, use [BillingAccountService.List] request. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetBillingAccountRequest) Descriptor
deprecated
func (*GetBillingAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBillingAccountRequest.ProtoReflect.Descriptor instead.
func (*GetBillingAccountRequest) GetId ¶
func (x *GetBillingAccountRequest) GetId() string
func (*GetBillingAccountRequest) ProtoMessage ¶
func (*GetBillingAccountRequest) ProtoMessage()
func (*GetBillingAccountRequest) ProtoReflect ¶
func (x *GetBillingAccountRequest) ProtoReflect() protoreflect.Message
func (*GetBillingAccountRequest) Reset ¶
func (x *GetBillingAccountRequest) Reset()
func (*GetBillingAccountRequest) SetId ¶
func (m *GetBillingAccountRequest) SetId(v string)
func (*GetBillingAccountRequest) String ¶
func (x *GetBillingAccountRequest) String() string
type GetBudgetRequest ¶
type GetBudgetRequest struct { // ID of the budget to return. // To get the budget ID, use [BudgetService.List] request. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetBudgetRequest) Descriptor
deprecated
func (*GetBudgetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBudgetRequest.ProtoReflect.Descriptor instead.
func (*GetBudgetRequest) GetId ¶
func (x *GetBudgetRequest) GetId() string
func (*GetBudgetRequest) ProtoMessage ¶
func (*GetBudgetRequest) ProtoMessage()
func (*GetBudgetRequest) ProtoReflect ¶
func (x *GetBudgetRequest) ProtoReflect() protoreflect.Message
func (*GetBudgetRequest) Reset ¶
func (x *GetBudgetRequest) Reset()
func (*GetBudgetRequest) SetId ¶
func (m *GetBudgetRequest) SetId(v string)
func (*GetBudgetRequest) String ¶
func (x *GetBudgetRequest) String() string
type GetServiceRequest ¶
type GetServiceRequest struct { // ID of the service to return. // To get the service ID, use [ServiceService.List] request. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetServiceRequest) Descriptor
deprecated
func (*GetServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead.
func (*GetServiceRequest) GetId ¶
func (x *GetServiceRequest) GetId() string
func (*GetServiceRequest) ProtoMessage ¶
func (*GetServiceRequest) ProtoMessage()
func (*GetServiceRequest) ProtoReflect ¶
func (x *GetServiceRequest) ProtoReflect() protoreflect.Message
func (*GetServiceRequest) Reset ¶
func (x *GetServiceRequest) Reset()
func (*GetServiceRequest) SetId ¶
func (m *GetServiceRequest) SetId(v string)
func (*GetServiceRequest) String ¶
func (x *GetServiceRequest) String() string
type GetSkuRequest ¶
type GetSkuRequest struct { // ID of the SKU to return. // To get the SKU ID, use [SkuService.List] request. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Currency of the SKU. // Can be one of the following: // * `RUB` // * `USD` // * `KZT` Currency string `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"` // Optional ID of the billing account. // If specified, contract prices for a particular billing account are included in the response. // To get the billing account ID, use [BillingAccountService.List] request. BillingAccountId string `protobuf:"bytes,3,opt,name=billing_account_id,json=billingAccountId,proto3" json:"billing_account_id,omitempty"` // contains filtered or unexported fields }
func (*GetSkuRequest) Descriptor
deprecated
func (*GetSkuRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSkuRequest.ProtoReflect.Descriptor instead.
func (*GetSkuRequest) GetBillingAccountId ¶
func (x *GetSkuRequest) GetBillingAccountId() string
func (*GetSkuRequest) GetCurrency ¶
func (x *GetSkuRequest) GetCurrency() string
func (*GetSkuRequest) GetId ¶
func (x *GetSkuRequest) GetId() string
func (*GetSkuRequest) ProtoMessage ¶
func (*GetSkuRequest) ProtoMessage()
func (*GetSkuRequest) ProtoReflect ¶
func (x *GetSkuRequest) ProtoReflect() protoreflect.Message
func (*GetSkuRequest) Reset ¶
func (x *GetSkuRequest) Reset()
func (*GetSkuRequest) SetBillingAccountId ¶
func (m *GetSkuRequest) SetBillingAccountId(v string)
func (*GetSkuRequest) SetCurrency ¶
func (m *GetSkuRequest) SetCurrency(v string)
func (*GetSkuRequest) SetId ¶
func (m *GetSkuRequest) SetId(v string)
func (*GetSkuRequest) String ¶
func (x *GetSkuRequest) String() string
type InviteCustomerRequest ¶
type InviteCustomerRequest struct { // Billing account ID of the reseller that the customer will be associated with. ResellerId string `protobuf:"bytes,1,opt,name=reseller_id,json=resellerId,proto3" json:"reseller_id,omitempty"` // Name of the customer. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Customer email to send invitation to. InvitationEmail string `protobuf:"bytes,3,opt,name=invitation_email,json=invitationEmail,proto3" json:"invitation_email,omitempty"` // Person of the customer. Person *CustomerPerson `protobuf:"bytes,4,opt,name=person,proto3" json:"person,omitempty"` // contains filtered or unexported fields }
func (*InviteCustomerRequest) Descriptor
deprecated
func (*InviteCustomerRequest) Descriptor() ([]byte, []int)
Deprecated: Use InviteCustomerRequest.ProtoReflect.Descriptor instead.
func (*InviteCustomerRequest) GetInvitationEmail ¶
func (x *InviteCustomerRequest) GetInvitationEmail() string
func (*InviteCustomerRequest) GetName ¶
func (x *InviteCustomerRequest) GetName() string
func (*InviteCustomerRequest) GetPerson ¶
func (x *InviteCustomerRequest) GetPerson() *CustomerPerson
func (*InviteCustomerRequest) GetResellerId ¶
func (x *InviteCustomerRequest) GetResellerId() string
func (*InviteCustomerRequest) ProtoMessage ¶
func (*InviteCustomerRequest) ProtoMessage()
func (*InviteCustomerRequest) ProtoReflect ¶
func (x *InviteCustomerRequest) ProtoReflect() protoreflect.Message
func (*InviteCustomerRequest) Reset ¶
func (x *InviteCustomerRequest) Reset()
func (*InviteCustomerRequest) SetInvitationEmail ¶
func (m *InviteCustomerRequest) SetInvitationEmail(v string)
func (*InviteCustomerRequest) SetName ¶
func (m *InviteCustomerRequest) SetName(v string)
func (*InviteCustomerRequest) SetPerson ¶
func (m *InviteCustomerRequest) SetPerson(v *CustomerPerson)
func (*InviteCustomerRequest) SetResellerId ¶
func (m *InviteCustomerRequest) SetResellerId(v string)
func (*InviteCustomerRequest) String ¶
func (x *InviteCustomerRequest) String() string
type ListBillableObjectBindingsRequest ¶
type ListBillableObjectBindingsRequest struct { // ID of the billing account to list associated billable object bindings. // To get the billing account ID, use [BillingAccountService.List] request. BillingAccountId string `protobuf:"bytes,1,opt,name=billing_account_id,json=billingAccountId,proto3" json:"billing_account_id,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than [page_size], // the service returns a [ListBillableObjectBindingsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, // set [page_token] to the [ListBillableObjectBindingsResponse.next_page_token] // returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListBillableObjectBindingsRequest) Descriptor
deprecated
func (*ListBillableObjectBindingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBillableObjectBindingsRequest.ProtoReflect.Descriptor instead.
func (*ListBillableObjectBindingsRequest) GetBillingAccountId ¶
func (x *ListBillableObjectBindingsRequest) GetBillingAccountId() string
func (*ListBillableObjectBindingsRequest) GetPageSize ¶
func (x *ListBillableObjectBindingsRequest) GetPageSize() int64
func (*ListBillableObjectBindingsRequest) GetPageToken ¶
func (x *ListBillableObjectBindingsRequest) GetPageToken() string
func (*ListBillableObjectBindingsRequest) ProtoMessage ¶
func (*ListBillableObjectBindingsRequest) ProtoMessage()
func (*ListBillableObjectBindingsRequest) ProtoReflect ¶
func (x *ListBillableObjectBindingsRequest) ProtoReflect() protoreflect.Message
func (*ListBillableObjectBindingsRequest) Reset ¶
func (x *ListBillableObjectBindingsRequest) Reset()
func (*ListBillableObjectBindingsRequest) SetBillingAccountId ¶
func (m *ListBillableObjectBindingsRequest) SetBillingAccountId(v string)
func (*ListBillableObjectBindingsRequest) SetPageSize ¶
func (m *ListBillableObjectBindingsRequest) SetPageSize(v int64)
func (*ListBillableObjectBindingsRequest) SetPageToken ¶
func (m *ListBillableObjectBindingsRequest) SetPageToken(v string)
func (*ListBillableObjectBindingsRequest) String ¶
func (x *ListBillableObjectBindingsRequest) String() string
type ListBillableObjectBindingsResponse ¶
type ListBillableObjectBindingsResponse struct { // List of billable object bindings. BillableObjectBindings []*BillableObjectBinding `` /* 129-byte string literal not displayed */ // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListBillableObjectBindingsRequest.page_size], use // [next_page_token] as the value // for the [ListBillableObjectBindingsRequest.page_token] query parameter // in the next list request. Each subsequent list request will have its own // [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListBillableObjectBindingsResponse) Descriptor
deprecated
func (*ListBillableObjectBindingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBillableObjectBindingsResponse.ProtoReflect.Descriptor instead.
func (*ListBillableObjectBindingsResponse) GetBillableObjectBindings ¶
func (x *ListBillableObjectBindingsResponse) GetBillableObjectBindings() []*BillableObjectBinding
func (*ListBillableObjectBindingsResponse) GetNextPageToken ¶
func (x *ListBillableObjectBindingsResponse) GetNextPageToken() string
func (*ListBillableObjectBindingsResponse) ProtoMessage ¶
func (*ListBillableObjectBindingsResponse) ProtoMessage()
func (*ListBillableObjectBindingsResponse) ProtoReflect ¶
func (x *ListBillableObjectBindingsResponse) ProtoReflect() protoreflect.Message
func (*ListBillableObjectBindingsResponse) Reset ¶
func (x *ListBillableObjectBindingsResponse) Reset()
func (*ListBillableObjectBindingsResponse) SetBillableObjectBindings ¶
func (m *ListBillableObjectBindingsResponse) SetBillableObjectBindings(v []*BillableObjectBinding)
func (*ListBillableObjectBindingsResponse) SetNextPageToken ¶
func (m *ListBillableObjectBindingsResponse) SetNextPageToken(v string)
func (*ListBillableObjectBindingsResponse) String ¶
func (x *ListBillableObjectBindingsResponse) String() string
type ListBillingAccountsRequest ¶
type ListBillingAccountsRequest struct { // The maximum number of results per page to return. If the number of available // results is larger than [page_size], // the service returns a [ListBillingAccountsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, // set [page_token] to the [ListBillingAccountsResponse.next_page_token] // returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListBillingAccountsRequest) Descriptor
deprecated
func (*ListBillingAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBillingAccountsRequest.ProtoReflect.Descriptor instead.
func (*ListBillingAccountsRequest) GetPageSize ¶
func (x *ListBillingAccountsRequest) GetPageSize() int64
func (*ListBillingAccountsRequest) GetPageToken ¶
func (x *ListBillingAccountsRequest) GetPageToken() string
func (*ListBillingAccountsRequest) ProtoMessage ¶
func (*ListBillingAccountsRequest) ProtoMessage()
func (*ListBillingAccountsRequest) ProtoReflect ¶
func (x *ListBillingAccountsRequest) ProtoReflect() protoreflect.Message
func (*ListBillingAccountsRequest) Reset ¶
func (x *ListBillingAccountsRequest) Reset()
func (*ListBillingAccountsRequest) SetPageSize ¶
func (m *ListBillingAccountsRequest) SetPageSize(v int64)
func (*ListBillingAccountsRequest) SetPageToken ¶
func (m *ListBillingAccountsRequest) SetPageToken(v string)
func (*ListBillingAccountsRequest) String ¶
func (x *ListBillingAccountsRequest) String() string
type ListBillingAccountsResponse ¶
type ListBillingAccountsResponse struct { // List of billing accounts. BillingAccounts []*BillingAccount `protobuf:"bytes,1,rep,name=billing_accounts,json=billingAccounts,proto3" json:"billing_accounts,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListBillingAccountsRequest.page_size], use // [next_page_token] as the value // for the [ListBillingAccountsRequest.page_token] query parameter // in the next list request. Each subsequent list request will have its own // [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListBillingAccountsResponse) Descriptor
deprecated
func (*ListBillingAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBillingAccountsResponse.ProtoReflect.Descriptor instead.
func (*ListBillingAccountsResponse) GetBillingAccounts ¶
func (x *ListBillingAccountsResponse) GetBillingAccounts() []*BillingAccount
func (*ListBillingAccountsResponse) GetNextPageToken ¶
func (x *ListBillingAccountsResponse) GetNextPageToken() string
func (*ListBillingAccountsResponse) ProtoMessage ¶
func (*ListBillingAccountsResponse) ProtoMessage()
func (*ListBillingAccountsResponse) ProtoReflect ¶
func (x *ListBillingAccountsResponse) ProtoReflect() protoreflect.Message
func (*ListBillingAccountsResponse) Reset ¶
func (x *ListBillingAccountsResponse) Reset()
func (*ListBillingAccountsResponse) SetBillingAccounts ¶
func (m *ListBillingAccountsResponse) SetBillingAccounts(v []*BillingAccount)
func (*ListBillingAccountsResponse) SetNextPageToken ¶
func (m *ListBillingAccountsResponse) SetNextPageToken(v string)
func (*ListBillingAccountsResponse) String ¶
func (x *ListBillingAccountsResponse) String() string
type ListBudgetsRequest ¶
type ListBudgetsRequest struct { // ID of the billing account to list budgets corresponding to. // To get the billing account ID, use [BillingAccountService.List] request. BillingAccountId string `protobuf:"bytes,1,opt,name=billing_account_id,json=billingAccountId,proto3" json:"billing_account_id,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than [page_size], // the service returns a [ListBudgetsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, // set [page_token] to the [ListBudgetsResponse.next_page_token] // returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListBudgetsRequest) Descriptor
deprecated
func (*ListBudgetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBudgetsRequest.ProtoReflect.Descriptor instead.
func (*ListBudgetsRequest) GetBillingAccountId ¶
func (x *ListBudgetsRequest) GetBillingAccountId() string
func (*ListBudgetsRequest) GetPageSize ¶
func (x *ListBudgetsRequest) GetPageSize() int64
func (*ListBudgetsRequest) GetPageToken ¶
func (x *ListBudgetsRequest) GetPageToken() string
func (*ListBudgetsRequest) ProtoMessage ¶
func (*ListBudgetsRequest) ProtoMessage()
func (*ListBudgetsRequest) ProtoReflect ¶
func (x *ListBudgetsRequest) ProtoReflect() protoreflect.Message
func (*ListBudgetsRequest) Reset ¶
func (x *ListBudgetsRequest) Reset()
func (*ListBudgetsRequest) SetBillingAccountId ¶
func (m *ListBudgetsRequest) SetBillingAccountId(v string)
func (*ListBudgetsRequest) SetPageSize ¶
func (m *ListBudgetsRequest) SetPageSize(v int64)
func (*ListBudgetsRequest) SetPageToken ¶
func (m *ListBudgetsRequest) SetPageToken(v string)
func (*ListBudgetsRequest) String ¶
func (x *ListBudgetsRequest) String() string
type ListBudgetsResponse ¶
type ListBudgetsResponse struct { // List of budgets. Budgets []*Budget `protobuf:"bytes,1,rep,name=budgets,proto3" json:"budgets,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListBudgetsRequest.page_size], use // [next_page_token] as the value // for the [ListBudgetsRequest.page_token] query parameter // in the next list request. Each subsequent list request will have its own // [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListBudgetsResponse) Descriptor
deprecated
func (*ListBudgetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBudgetsResponse.ProtoReflect.Descriptor instead.
func (*ListBudgetsResponse) GetBudgets ¶
func (x *ListBudgetsResponse) GetBudgets() []*Budget
func (*ListBudgetsResponse) GetNextPageToken ¶
func (x *ListBudgetsResponse) GetNextPageToken() string
func (*ListBudgetsResponse) ProtoMessage ¶
func (*ListBudgetsResponse) ProtoMessage()
func (*ListBudgetsResponse) ProtoReflect ¶
func (x *ListBudgetsResponse) ProtoReflect() protoreflect.Message
func (*ListBudgetsResponse) Reset ¶
func (x *ListBudgetsResponse) Reset()
func (*ListBudgetsResponse) SetBudgets ¶
func (m *ListBudgetsResponse) SetBudgets(v []*Budget)
func (*ListBudgetsResponse) SetNextPageToken ¶
func (m *ListBudgetsResponse) SetNextPageToken(v string)
func (*ListBudgetsResponse) String ¶
func (x *ListBudgetsResponse) String() string
type ListCustomersRequest ¶
type ListCustomersRequest struct { // ID of the reseller. ResellerId string `protobuf:"bytes,1,opt,name=reseller_id,json=resellerId,proto3" json:"reseller_id,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than [page_size], // the service returns a [ListCustomersResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, // set [page_token] to the [ListCustomersResponse.next_page_token] // returned by a previous list request. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListCustomersRequest) Descriptor
deprecated
func (*ListCustomersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCustomersRequest.ProtoReflect.Descriptor instead.
func (*ListCustomersRequest) GetPageSize ¶
func (x *ListCustomersRequest) GetPageSize() int64
func (*ListCustomersRequest) GetPageToken ¶
func (x *ListCustomersRequest) GetPageToken() string
func (*ListCustomersRequest) GetResellerId ¶
func (x *ListCustomersRequest) GetResellerId() string
func (*ListCustomersRequest) ProtoMessage ¶
func (*ListCustomersRequest) ProtoMessage()
func (*ListCustomersRequest) ProtoReflect ¶
func (x *ListCustomersRequest) ProtoReflect() protoreflect.Message
func (*ListCustomersRequest) Reset ¶
func (x *ListCustomersRequest) Reset()
func (*ListCustomersRequest) SetPageSize ¶
func (m *ListCustomersRequest) SetPageSize(v int64)
func (*ListCustomersRequest) SetPageToken ¶
func (m *ListCustomersRequest) SetPageToken(v string)
func (*ListCustomersRequest) SetResellerId ¶
func (m *ListCustomersRequest) SetResellerId(v string)
func (*ListCustomersRequest) String ¶
func (x *ListCustomersRequest) String() string
type ListCustomersResponse ¶
type ListCustomersResponse struct { // List of customers. Customers []*Customer `protobuf:"bytes,1,rep,name=customers,proto3" json:"customers,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListCustomersRequest.page_size], use // [next_page_token] as the value // for the [ListCustomersRequest.page_token] query parameter // in the next list request. Each subsequent list request will have its own // [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListCustomersResponse) Descriptor
deprecated
func (*ListCustomersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCustomersResponse.ProtoReflect.Descriptor instead.
func (*ListCustomersResponse) GetCustomers ¶
func (x *ListCustomersResponse) GetCustomers() []*Customer
func (*ListCustomersResponse) GetNextPageToken ¶
func (x *ListCustomersResponse) GetNextPageToken() string
func (*ListCustomersResponse) ProtoMessage ¶
func (*ListCustomersResponse) ProtoMessage()
func (*ListCustomersResponse) ProtoReflect ¶
func (x *ListCustomersResponse) ProtoReflect() protoreflect.Message
func (*ListCustomersResponse) Reset ¶
func (x *ListCustomersResponse) Reset()
func (*ListCustomersResponse) SetCustomers ¶
func (m *ListCustomersResponse) SetCustomers(v []*Customer)
func (*ListCustomersResponse) SetNextPageToken ¶
func (m *ListCustomersResponse) SetNextPageToken(v string)
func (*ListCustomersResponse) String ¶
func (x *ListCustomersResponse) String() string
type ListServicesRequest ¶
type ListServicesRequest struct { // A filter expression that filters resources listed in the response. // The expression must specify: // 1. The field name. Currently you can use filtering only on the [yandex.cloud.billing.v1.Service.id] field. // 2. An `=` operator. // 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`. Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than [page_size], // the service returns a [ListServicesResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, // set [page_token] to the [ListServicesResponse.next_page_token] // returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListServicesRequest) Descriptor
deprecated
func (*ListServicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListServicesRequest.ProtoReflect.Descriptor instead.
func (*ListServicesRequest) GetFilter ¶
func (x *ListServicesRequest) GetFilter() string
func (*ListServicesRequest) GetPageSize ¶
func (x *ListServicesRequest) GetPageSize() int64
func (*ListServicesRequest) GetPageToken ¶
func (x *ListServicesRequest) GetPageToken() string
func (*ListServicesRequest) ProtoMessage ¶
func (*ListServicesRequest) ProtoMessage()
func (*ListServicesRequest) ProtoReflect ¶
func (x *ListServicesRequest) ProtoReflect() protoreflect.Message
func (*ListServicesRequest) Reset ¶
func (x *ListServicesRequest) Reset()
func (*ListServicesRequest) SetFilter ¶
func (m *ListServicesRequest) SetFilter(v string)
func (*ListServicesRequest) SetPageSize ¶
func (m *ListServicesRequest) SetPageSize(v int64)
func (*ListServicesRequest) SetPageToken ¶
func (m *ListServicesRequest) SetPageToken(v string)
func (*ListServicesRequest) String ¶
func (x *ListServicesRequest) String() string
type ListServicesResponse ¶
type ListServicesResponse struct { // List of services. Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListServicesRequest.page_size], use // [next_page_token] as the value // for the [ListServicesRequest.page_token] query parameter // in the next list request. Each subsequent list request will have its own // [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListServicesResponse) Descriptor
deprecated
func (*ListServicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListServicesResponse.ProtoReflect.Descriptor instead.
func (*ListServicesResponse) GetNextPageToken ¶
func (x *ListServicesResponse) GetNextPageToken() string
func (*ListServicesResponse) GetServices ¶
func (x *ListServicesResponse) GetServices() []*Service
func (*ListServicesResponse) ProtoMessage ¶
func (*ListServicesResponse) ProtoMessage()
func (*ListServicesResponse) ProtoReflect ¶
func (x *ListServicesResponse) ProtoReflect() protoreflect.Message
func (*ListServicesResponse) Reset ¶
func (x *ListServicesResponse) Reset()
func (*ListServicesResponse) SetNextPageToken ¶
func (m *ListServicesResponse) SetNextPageToken(v string)
func (*ListServicesResponse) SetServices ¶
func (m *ListServicesResponse) SetServices(v []*Service)
func (*ListServicesResponse) String ¶
func (x *ListServicesResponse) String() string
type ListSkusRequest ¶
type ListSkusRequest struct { // Currency of the prices. // Can be one of the following: // * `RUB` // * `USD` // * `KZT` Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"` // Optional ID of the billing account. // If specified, contract prices for a particular billing account are included in the response. // To get the billing account ID, use [BillingAccountService.List] request. BillingAccountId string `protobuf:"bytes,2,opt,name=billing_account_id,json=billingAccountId,proto3" json:"billing_account_id,omitempty"` // A filter expression that filters resources listed in the response. // The expression must specify: // 1. The field name. Currently you can use filtering only on the [yandex.cloud.billing.v1.Sku.id] and [yandex.cloud.billing.v1.Sku.service_id] field. // 2. An `=` operator. // 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`. // E.g. `filter=serviceId="dn28hpu6268356q0j8mk"`. Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than [page_size], // the service returns a [ListSkusResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. PageSize int64 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, // set [page_token] to the [ListSkusResponse.next_page_token] // returned by a previous list request. PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListSkusRequest) Descriptor
deprecated
func (*ListSkusRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSkusRequest.ProtoReflect.Descriptor instead.
func (*ListSkusRequest) GetBillingAccountId ¶
func (x *ListSkusRequest) GetBillingAccountId() string
func (*ListSkusRequest) GetCurrency ¶
func (x *ListSkusRequest) GetCurrency() string
func (*ListSkusRequest) GetFilter ¶
func (x *ListSkusRequest) GetFilter() string
func (*ListSkusRequest) GetPageSize ¶
func (x *ListSkusRequest) GetPageSize() int64
func (*ListSkusRequest) GetPageToken ¶
func (x *ListSkusRequest) GetPageToken() string
func (*ListSkusRequest) ProtoMessage ¶
func (*ListSkusRequest) ProtoMessage()
func (*ListSkusRequest) ProtoReflect ¶
func (x *ListSkusRequest) ProtoReflect() protoreflect.Message
func (*ListSkusRequest) Reset ¶
func (x *ListSkusRequest) Reset()
func (*ListSkusRequest) SetBillingAccountId ¶
func (m *ListSkusRequest) SetBillingAccountId(v string)
func (*ListSkusRequest) SetCurrency ¶
func (m *ListSkusRequest) SetCurrency(v string)
func (*ListSkusRequest) SetFilter ¶
func (m *ListSkusRequest) SetFilter(v string)
func (*ListSkusRequest) SetPageSize ¶
func (m *ListSkusRequest) SetPageSize(v int64)
func (*ListSkusRequest) SetPageToken ¶
func (m *ListSkusRequest) SetPageToken(v string)
func (*ListSkusRequest) String ¶
func (x *ListSkusRequest) String() string
type ListSkusResponse ¶
type ListSkusResponse struct { // List of skus. Skus []*Sku `protobuf:"bytes,1,rep,name=skus,proto3" json:"skus,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListSkusRequest.page_size], use // [next_page_token] as the value // for the [ListSkusRequest.page_token] query parameter // in the next list request. Each subsequent list request will have its own // [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListSkusResponse) Descriptor
deprecated
func (*ListSkusResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSkusResponse.ProtoReflect.Descriptor instead.
func (*ListSkusResponse) GetNextPageToken ¶
func (x *ListSkusResponse) GetNextPageToken() string
func (*ListSkusResponse) GetSkus ¶
func (x *ListSkusResponse) GetSkus() []*Sku
func (*ListSkusResponse) ProtoMessage ¶
func (*ListSkusResponse) ProtoMessage()
func (*ListSkusResponse) ProtoReflect ¶
func (x *ListSkusResponse) ProtoReflect() protoreflect.Message
func (*ListSkusResponse) Reset ¶
func (x *ListSkusResponse) Reset()
func (*ListSkusResponse) SetNextPageToken ¶
func (m *ListSkusResponse) SetNextPageToken(v string)
func (*ListSkusResponse) SetSkus ¶
func (m *ListSkusResponse) SetSkus(v []*Sku)
func (*ListSkusResponse) String ¶
func (x *ListSkusResponse) String() string
type PricingExpression ¶
type PricingExpression struct { // List of rates. Rates []*Rate `protobuf:"bytes,2,rep,name=rates,proto3" json:"rates,omitempty"` // contains filtered or unexported fields }
Pricing expression of the pricing version. Defines price for the sku.
func (*PricingExpression) Descriptor
deprecated
func (*PricingExpression) Descriptor() ([]byte, []int)
Deprecated: Use PricingExpression.ProtoReflect.Descriptor instead.
func (*PricingExpression) GetRates ¶
func (x *PricingExpression) GetRates() []*Rate
func (*PricingExpression) ProtoMessage ¶
func (*PricingExpression) ProtoMessage()
func (*PricingExpression) ProtoReflect ¶
func (x *PricingExpression) ProtoReflect() protoreflect.Message
func (*PricingExpression) Reset ¶
func (x *PricingExpression) Reset()
func (*PricingExpression) SetRates ¶
func (m *PricingExpression) SetRates(v []*Rate)
func (*PricingExpression) String ¶
func (x *PricingExpression) String() string
type PricingVersion ¶
type PricingVersion struct { // Type of the pricing version. Type PricingVersionType `protobuf:"varint,1,opt,name=type,proto3,enum=yandex.cloud.billing.v1.PricingVersionType" json:"type,omitempty"` // Timestamp pricing version is active since inclusive. // The pricing version is active until next pricing version effective time exclusive. EffectiveTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=effective_time,json=effectiveTime,proto3" json:"effective_time,omitempty"` // List of pricing expressions. PricingExpressions []*PricingExpression `protobuf:"bytes,3,rep,name=pricing_expressions,json=pricingExpressions,proto3" json:"pricing_expressions,omitempty"` // contains filtered or unexported fields }
Pricing version of the SKU. Defines current and past prices for the sku.
func (*PricingVersion) Descriptor
deprecated
func (*PricingVersion) Descriptor() ([]byte, []int)
Deprecated: Use PricingVersion.ProtoReflect.Descriptor instead.
func (*PricingVersion) GetEffectiveTime ¶
func (x *PricingVersion) GetEffectiveTime() *timestamppb.Timestamp
func (*PricingVersion) GetPricingExpressions ¶
func (x *PricingVersion) GetPricingExpressions() []*PricingExpression
func (*PricingVersion) GetType ¶
func (x *PricingVersion) GetType() PricingVersionType
func (*PricingVersion) ProtoMessage ¶
func (*PricingVersion) ProtoMessage()
func (*PricingVersion) ProtoReflect ¶
func (x *PricingVersion) ProtoReflect() protoreflect.Message
func (*PricingVersion) Reset ¶
func (x *PricingVersion) Reset()
func (*PricingVersion) SetEffectiveTime ¶
func (m *PricingVersion) SetEffectiveTime(v *timestamppb.Timestamp)
func (*PricingVersion) SetPricingExpressions ¶
func (m *PricingVersion) SetPricingExpressions(v []*PricingExpression)
func (*PricingVersion) SetType ¶
func (m *PricingVersion) SetType(v PricingVersionType)
func (*PricingVersion) String ¶
func (x *PricingVersion) String() string
type PricingVersionType ¶
type PricingVersionType int32
Type of the pricing version.
const ( PricingVersionType_PRICING_VERSION_TYPE_UNSPECIFIED PricingVersionType = 0 // Regular price. PricingVersionType_STREET_PRICE PricingVersionType = 1 // Price is overridden by a contract. Defined in the scope of a billing account. PricingVersionType_CONTRACT_PRICE PricingVersionType = 2 )
func (PricingVersionType) Descriptor ¶
func (PricingVersionType) Descriptor() protoreflect.EnumDescriptor
func (PricingVersionType) Enum ¶
func (x PricingVersionType) Enum() *PricingVersionType
func (PricingVersionType) EnumDescriptor
deprecated
func (PricingVersionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PricingVersionType.Descriptor instead.
func (PricingVersionType) Number ¶
func (x PricingVersionType) Number() protoreflect.EnumNumber
func (PricingVersionType) String ¶
func (x PricingVersionType) String() string
func (PricingVersionType) Type ¶
func (PricingVersionType) Type() protoreflect.EnumType
type Rate ¶
type Rate struct { // Start of the pricing quantity interval. The end of the interval is the start pricing quantity of the next rate. StartPricingQuantity string `protobuf:"bytes,1,opt,name=start_pricing_quantity,json=startPricingQuantity,proto3" json:"start_pricing_quantity,omitempty"` // Unit price for the pricing quantity interval. UnitPrice string `protobuf:"bytes,2,opt,name=unit_price,json=unitPrice,proto3" json:"unit_price,omitempty"` // Currency of the unit price. // Can be one of the following: // * `RUB` // * `USD` // * `KZT` Currency string `protobuf:"bytes,3,opt,name=currency,proto3" json:"currency,omitempty"` // contains filtered or unexported fields }
Rate of the pricing expression. Define unit price for pricing quantity interval.
func (*Rate) Descriptor
deprecated
func (*Rate) GetCurrency ¶
func (*Rate) GetStartPricingQuantity ¶
func (*Rate) GetUnitPrice ¶
func (*Rate) ProtoMessage ¶
func (*Rate) ProtoMessage()
func (*Rate) ProtoReflect ¶
func (x *Rate) ProtoReflect() protoreflect.Message
func (*Rate) SetCurrency ¶
func (*Rate) SetStartPricingQuantity ¶
func (*Rate) SetUnitPrice ¶
type ResetPeriodType ¶
type ResetPeriodType int32
const ( ResetPeriodType_RESET_PERIOD_TYPE_UNSPECIFIED ResetPeriodType = 0 // Reset budget every month. ResetPeriodType_MONTHLY ResetPeriodType = 1 // Reset budget every quarter. ResetPeriodType_QUARTER ResetPeriodType = 2 // Reset budget every year. ResetPeriodType_ANNUALLY ResetPeriodType = 3 )
func (ResetPeriodType) Descriptor ¶
func (ResetPeriodType) Descriptor() protoreflect.EnumDescriptor
func (ResetPeriodType) Enum ¶
func (x ResetPeriodType) Enum() *ResetPeriodType
func (ResetPeriodType) EnumDescriptor
deprecated
func (ResetPeriodType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResetPeriodType.Descriptor instead.
func (ResetPeriodType) Number ¶
func (x ResetPeriodType) Number() protoreflect.EnumNumber
func (ResetPeriodType) String ¶
func (x ResetPeriodType) String() string
func (ResetPeriodType) Type ¶
func (ResetPeriodType) Type() protoreflect.EnumType
type Service ¶
type Service struct { // ID of the service. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name of the service, e.g. `Compute Cloud`, `VPC`. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Description of the service. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
A Service resource.
func (*Service) Descriptor
deprecated
func (*Service) GetDescription ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
func (*Service) SetDescription ¶
type ServiceServiceClient ¶
type ServiceServiceClient interface { // Returns the specified service. Get(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error) // Retrieves the list of services. List(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error) }
ServiceServiceClient is the client API for ServiceService 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.
A set of methods for managing Service resources.
func NewServiceServiceClient ¶
func NewServiceServiceClient(cc grpc.ClientConnInterface) ServiceServiceClient
type ServiceServiceServer ¶
type ServiceServiceServer interface { // Returns the specified service. Get(context.Context, *GetServiceRequest) (*Service, error) // Retrieves the list of services. List(context.Context, *ListServicesRequest) (*ListServicesResponse, error) }
ServiceServiceServer is the server API for ServiceService service. All implementations should embed UnimplementedServiceServiceServer for forward compatibility.
A set of methods for managing Service resources.
type Sku ¶
type Sku struct { // ID of the SKU. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name of the SKU. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Description of the sku. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // ID of the service that sku belongs to. ServiceId string `protobuf:"bytes,4,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Pricing unit of the SKU, e.g. `core*hour`, `gbyte*hour`. PricingUnit string `protobuf:"bytes,5,opt,name=pricing_unit,json=pricingUnit,proto3" json:"pricing_unit,omitempty"` // List of pricing versions. PricingVersions []*PricingVersion `protobuf:"bytes,6,rep,name=pricing_versions,json=pricingVersions,proto3" json:"pricing_versions,omitempty"` // contains filtered or unexported fields }
A Stock keeping unit resource.
func (*Sku) Descriptor
deprecated
func (*Sku) GetDescription ¶
func (*Sku) GetPricingUnit ¶
func (*Sku) GetPricingVersions ¶
func (x *Sku) GetPricingVersions() []*PricingVersion
func (*Sku) GetServiceId ¶
func (*Sku) ProtoMessage ¶
func (*Sku) ProtoMessage()
func (*Sku) ProtoReflect ¶
func (x *Sku) ProtoReflect() protoreflect.Message
func (*Sku) SetDescription ¶
func (*Sku) SetPricingUnit ¶
func (*Sku) SetPricingVersions ¶
func (m *Sku) SetPricingVersions(v []*PricingVersion)
func (*Sku) SetServiceId ¶
type SkuServiceClient ¶
type SkuServiceClient interface { // Returns the specified SKU. Get(ctx context.Context, in *GetSkuRequest, opts ...grpc.CallOption) (*Sku, error) // Retrieves the list of SKUs. List(ctx context.Context, in *ListSkusRequest, opts ...grpc.CallOption) (*ListSkusResponse, error) }
SkuServiceClient is the client API for SkuService 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.
A set of methods for managing Sku resources.
func NewSkuServiceClient ¶
func NewSkuServiceClient(cc grpc.ClientConnInterface) SkuServiceClient
type SkuServiceServer ¶
type SkuServiceServer interface { // Returns the specified SKU. Get(context.Context, *GetSkuRequest) (*Sku, error) // Retrieves the list of SKUs. List(context.Context, *ListSkusRequest) (*ListSkusResponse, error) }
SkuServiceServer is the server API for SkuService service. All implementations should embed UnimplementedSkuServiceServer for forward compatibility.
A set of methods for managing Sku resources.
type SuspendCustomerRequest ¶
type SuspendCustomerRequest struct { // ID of the customer. // To get the customer ID, use [CustomerService.List] request. CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` // contains filtered or unexported fields }
func (*SuspendCustomerRequest) Descriptor
deprecated
func (*SuspendCustomerRequest) Descriptor() ([]byte, []int)
Deprecated: Use SuspendCustomerRequest.ProtoReflect.Descriptor instead.
func (*SuspendCustomerRequest) GetCustomerId ¶
func (x *SuspendCustomerRequest) GetCustomerId() string
func (*SuspendCustomerRequest) ProtoMessage ¶
func (*SuspendCustomerRequest) ProtoMessage()
func (*SuspendCustomerRequest) ProtoReflect ¶
func (x *SuspendCustomerRequest) ProtoReflect() protoreflect.Message
func (*SuspendCustomerRequest) Reset ¶
func (x *SuspendCustomerRequest) Reset()
func (*SuspendCustomerRequest) SetCustomerId ¶
func (m *SuspendCustomerRequest) SetCustomerId(v string)
func (*SuspendCustomerRequest) String ¶
func (x *SuspendCustomerRequest) String() string
type ThresholdRule ¶
type ThresholdRule struct { // Type of the rule. Type ThresholdType `protobuf:"varint,1,opt,name=type,proto3,enum=yandex.cloud.billing.v1.ThresholdType" json:"type,omitempty"` // Amount of the rule. // - Must be less than 100 if type is PERCENT. // - Must be less than budget's amount if type is AMOUNT. Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // IDs of the [yandex.cloud.iam.v1.UserAccount]. // Specified users will be be notified if the threshold exceeds. NotificationUserAccountIds []string `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
Rules that define intermediate cost thresholds of the budget.
func (*ThresholdRule) Descriptor
deprecated
func (*ThresholdRule) Descriptor() ([]byte, []int)
Deprecated: Use ThresholdRule.ProtoReflect.Descriptor instead.
func (*ThresholdRule) GetAmount ¶
func (x *ThresholdRule) GetAmount() string
func (*ThresholdRule) GetNotificationUserAccountIds ¶
func (x *ThresholdRule) GetNotificationUserAccountIds() []string
func (*ThresholdRule) GetType ¶
func (x *ThresholdRule) GetType() ThresholdType
func (*ThresholdRule) ProtoMessage ¶
func (*ThresholdRule) ProtoMessage()
func (*ThresholdRule) ProtoReflect ¶
func (x *ThresholdRule) ProtoReflect() protoreflect.Message
func (*ThresholdRule) Reset ¶
func (x *ThresholdRule) Reset()
func (*ThresholdRule) SetAmount ¶
func (m *ThresholdRule) SetAmount(v string)
func (*ThresholdRule) SetNotificationUserAccountIds ¶
func (m *ThresholdRule) SetNotificationUserAccountIds(v []string)
func (*ThresholdRule) SetType ¶
func (m *ThresholdRule) SetType(v ThresholdType)
func (*ThresholdRule) String ¶
func (x *ThresholdRule) String() string
type ThresholdType ¶
type ThresholdType int32
Define the unit of the [ThesholdRule.amount].
const ( ThresholdType_THRESHOLD_TYPE_UNSPECIFIED ThresholdType = 0 // Percent. ThresholdType_PERCENT ThresholdType = 1 // The same as budget amount. ThresholdType_AMOUNT ThresholdType = 2 )
func (ThresholdType) Descriptor ¶
func (ThresholdType) Descriptor() protoreflect.EnumDescriptor
func (ThresholdType) Enum ¶
func (x ThresholdType) Enum() *ThresholdType
func (ThresholdType) EnumDescriptor
deprecated
func (ThresholdType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ThresholdType.Descriptor instead.
func (ThresholdType) Number ¶
func (x ThresholdType) Number() protoreflect.EnumNumber
func (ThresholdType) String ¶
func (x ThresholdType) String() string
func (ThresholdType) Type ¶
func (ThresholdType) Type() protoreflect.EnumType
type UnimplementedBillingAccountServiceServer ¶
type UnimplementedBillingAccountServiceServer struct{}
UnimplementedBillingAccountServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedBillingAccountServiceServer) BindBillableObject ¶
func (UnimplementedBillingAccountServiceServer) BindBillableObject(context.Context, *BindBillableObjectRequest) (*operation.Operation, error)
func (UnimplementedBillingAccountServiceServer) ListAccessBindings ¶
func (UnimplementedBillingAccountServiceServer) ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
func (UnimplementedBillingAccountServiceServer) ListBillableObjectBindings ¶
func (UnimplementedBillingAccountServiceServer) ListBillableObjectBindings(context.Context, *ListBillableObjectBindingsRequest) (*ListBillableObjectBindingsResponse, error)
func (UnimplementedBillingAccountServiceServer) UpdateAccessBindings ¶
func (UnimplementedBillingAccountServiceServer) UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
type UnimplementedBudgetServiceServer ¶
type UnimplementedBudgetServiceServer struct{}
UnimplementedBudgetServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedBudgetServiceServer) Create ¶
func (UnimplementedBudgetServiceServer) Create(context.Context, *CreateBudgetRequest) (*operation.Operation, error)
func (UnimplementedBudgetServiceServer) Get ¶
func (UnimplementedBudgetServiceServer) Get(context.Context, *GetBudgetRequest) (*Budget, error)
func (UnimplementedBudgetServiceServer) List ¶
func (UnimplementedBudgetServiceServer) List(context.Context, *ListBudgetsRequest) (*ListBudgetsResponse, error)
type UnimplementedCustomerServiceServer ¶
type UnimplementedCustomerServiceServer struct{}
UnimplementedCustomerServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedCustomerServiceServer) Activate ¶
func (UnimplementedCustomerServiceServer) Activate(context.Context, *ActivateCustomerRequest) (*operation.Operation, error)
func (UnimplementedCustomerServiceServer) CreateResellerServed ¶
func (UnimplementedCustomerServiceServer) CreateResellerServed(context.Context, *CreateResellerServedCustomerRequest) (*operation.Operation, error)
func (UnimplementedCustomerServiceServer) Invite ¶
func (UnimplementedCustomerServiceServer) Invite(context.Context, *InviteCustomerRequest) (*operation.Operation, error)
func (UnimplementedCustomerServiceServer) List ¶
func (UnimplementedCustomerServiceServer) List(context.Context, *ListCustomersRequest) (*ListCustomersResponse, error)
func (UnimplementedCustomerServiceServer) Suspend ¶
func (UnimplementedCustomerServiceServer) Suspend(context.Context, *SuspendCustomerRequest) (*operation.Operation, error)
type UnimplementedServiceServiceServer ¶
type UnimplementedServiceServiceServer struct{}
UnimplementedServiceServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedServiceServiceServer) Get ¶
func (UnimplementedServiceServiceServer) Get(context.Context, *GetServiceRequest) (*Service, error)
func (UnimplementedServiceServiceServer) List ¶
func (UnimplementedServiceServiceServer) List(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
type UnimplementedSkuServiceServer ¶
type UnimplementedSkuServiceServer struct{}
UnimplementedSkuServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedSkuServiceServer) Get ¶
func (UnimplementedSkuServiceServer) Get(context.Context, *GetSkuRequest) (*Sku, error)
func (UnimplementedSkuServiceServer) List ¶
func (UnimplementedSkuServiceServer) List(context.Context, *ListSkusRequest) (*ListSkusResponse, error)
type UnsafeBillingAccountServiceServer ¶
type UnsafeBillingAccountServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBillingAccountServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BillingAccountServiceServer will result in compilation errors.
type UnsafeBudgetServiceServer ¶
type UnsafeBudgetServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBudgetServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BudgetServiceServer will result in compilation errors.
type UnsafeCustomerServiceServer ¶
type UnsafeCustomerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCustomerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CustomerServiceServer will result in compilation errors.
type UnsafeServiceServiceServer ¶
type UnsafeServiceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServiceServer will result in compilation errors.
type UnsafeSkuServiceServer ¶
type UnsafeSkuServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSkuServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SkuServiceServer will result in compilation errors.
Source Files ¶
- billable_object.pb.go
- billable_object.pbext.go
- billing_account.pb.go
- billing_account.pbext.go
- billing_account_service.pb.go
- billing_account_service.pbext.go
- billing_account_service_grpc.pb.go
- budget.pb.go
- budget.pbext.go
- budget_service.pb.go
- budget_service.pbext.go
- budget_service_grpc.pb.go
- customer.pb.go
- customer.pbext.go
- customer_service.pb.go
- customer_service.pbext.go
- customer_service_grpc.pb.go
- service.pb.go
- service.pbext.go
- service_service.pb.go
- service_service.pbext.go
- service_service_grpc.pb.go
- sku.pb.go
- sku.pbext.go
- sku_service.pb.go
- sku_service.pbext.go
- sku_service_grpc.pb.go