Constants
CloudBilling_GetBillingAccount_FullMethodName, CloudBilling_ListBillingAccounts_FullMethodName, CloudBilling_UpdateBillingAccount_FullMethodName, CloudBilling_CreateBillingAccount_FullMethodName, CloudBilling_ListProjectBillingInfo_FullMethodName, CloudBilling_GetProjectBillingInfo_FullMethodName, CloudBilling_UpdateProjectBillingInfo_FullMethodName, CloudBilling_GetIamPolicy_FullMethodName, CloudBilling_SetIamPolicy_FullMethodName, CloudBilling_TestIamPermissions_FullMethodName, CloudBilling_MoveBillingAccount_FullMethodName
const (
CloudBilling_GetBillingAccount_FullMethodName = "/google.cloud.billing.v1.CloudBilling/GetBillingAccount"
CloudBilling_ListBillingAccounts_FullMethodName = "/google.cloud.billing.v1.CloudBilling/ListBillingAccounts"
CloudBilling_UpdateBillingAccount_FullMethodName = "/google.cloud.billing.v1.CloudBilling/UpdateBillingAccount"
CloudBilling_CreateBillingAccount_FullMethodName = "/google.cloud.billing.v1.CloudBilling/CreateBillingAccount"
CloudBilling_ListProjectBillingInfo_FullMethodName = "/google.cloud.billing.v1.CloudBilling/ListProjectBillingInfo"
CloudBilling_GetProjectBillingInfo_FullMethodName = "/google.cloud.billing.v1.CloudBilling/GetProjectBillingInfo"
CloudBilling_UpdateProjectBillingInfo_FullMethodName = "/google.cloud.billing.v1.CloudBilling/UpdateProjectBillingInfo"
CloudBilling_GetIamPolicy_FullMethodName = "/google.cloud.billing.v1.CloudBilling/GetIamPolicy"
CloudBilling_SetIamPolicy_FullMethodName = "/google.cloud.billing.v1.CloudBilling/SetIamPolicy"
CloudBilling_TestIamPermissions_FullMethodName = "/google.cloud.billing.v1.CloudBilling/TestIamPermissions"
CloudBilling_MoveBillingAccount_FullMethodName = "/google.cloud.billing.v1.CloudBilling/MoveBillingAccount"
)CloudCatalog_ListServices_FullMethodName, CloudCatalog_ListSkus_FullMethodName
const (
CloudCatalog_ListServices_FullMethodName = "/google.cloud.billing.v1.CloudCatalog/ListServices"
CloudCatalog_ListSkus_FullMethodName = "/google.cloud.billing.v1.CloudCatalog/ListSkus"
)Variables
AggregationInfo_AggregationLevel_name, AggregationInfo_AggregationLevel_value
var (
AggregationInfo_AggregationLevel_name = map[int32]string{
0: "AGGREGATION_LEVEL_UNSPECIFIED",
1: "ACCOUNT",
2: "PROJECT",
}
AggregationInfo_AggregationLevel_value = map[string]int32{
"AGGREGATION_LEVEL_UNSPECIFIED": 0,
"ACCOUNT": 1,
"PROJECT": 2,
}
)Enum value maps for AggregationInfo_AggregationLevel.
AggregationInfo_AggregationInterval_name, AggregationInfo_AggregationInterval_value
var (
AggregationInfo_AggregationInterval_name = map[int32]string{
0: "AGGREGATION_INTERVAL_UNSPECIFIED",
1: "DAILY",
2: "MONTHLY",
}
AggregationInfo_AggregationInterval_value = map[string]int32{
"AGGREGATION_INTERVAL_UNSPECIFIED": 0,
"DAILY": 1,
"MONTHLY": 2,
}
)Enum value maps for AggregationInfo_AggregationInterval.
GeoTaxonomy_Type_name, GeoTaxonomy_Type_value
var (
GeoTaxonomy_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "GLOBAL",
2: "REGIONAL",
3: "MULTI_REGIONAL",
}
GeoTaxonomy_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"GLOBAL": 1,
"REGIONAL": 2,
"MULTI_REGIONAL": 3,
}
)Enum value maps for GeoTaxonomy_Type.
CloudBilling_ServiceDesc
var CloudBilling_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.billing.v1.CloudBilling",
HandlerType: (*CloudBillingServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetBillingAccount",
Handler: _CloudBilling_GetBillingAccount_Handler,
},
{
MethodName: "ListBillingAccounts",
Handler: _CloudBilling_ListBillingAccounts_Handler,
},
{
MethodName: "UpdateBillingAccount",
Handler: _CloudBilling_UpdateBillingAccount_Handler,
},
{
MethodName: "CreateBillingAccount",
Handler: _CloudBilling_CreateBillingAccount_Handler,
},
{
MethodName: "ListProjectBillingInfo",
Handler: _CloudBilling_ListProjectBillingInfo_Handler,
},
{
MethodName: "GetProjectBillingInfo",
Handler: _CloudBilling_GetProjectBillingInfo_Handler,
},
{
MethodName: "UpdateProjectBillingInfo",
Handler: _CloudBilling_UpdateProjectBillingInfo_Handler,
},
{
MethodName: "GetIamPolicy",
Handler: _CloudBilling_GetIamPolicy_Handler,
},
{
MethodName: "SetIamPolicy",
Handler: _CloudBilling_SetIamPolicy_Handler,
},
{
MethodName: "TestIamPermissions",
Handler: _CloudBilling_TestIamPermissions_Handler,
},
{
MethodName: "MoveBillingAccount",
Handler: _CloudBilling_MoveBillingAccount_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/billing/v1/cloud_billing.proto",
}CloudBilling_ServiceDesc is the grpc.ServiceDesc for CloudBilling service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
CloudCatalog_ServiceDesc
var CloudCatalog_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.billing.v1.CloudCatalog",
HandlerType: (*CloudCatalogServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListServices",
Handler: _CloudCatalog_ListServices_Handler,
},
{
MethodName: "ListSkus",
Handler: _CloudCatalog_ListSkus_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/billing/v1/cloud_catalog.proto",
}CloudCatalog_ServiceDesc is the grpc.ServiceDesc for CloudCatalog service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_cloud_billing_v1_cloud_billing_proto
var File_google_cloud_billing_v1_cloud_billing_proto protoreflect.FileDescriptorFile_google_cloud_billing_v1_cloud_catalog_proto
var File_google_cloud_billing_v1_cloud_catalog_proto protoreflect.FileDescriptorFunctions
func RegisterCloudBillingServer
func RegisterCloudBillingServer(s grpc.ServiceRegistrar, srv CloudBillingServer)func RegisterCloudCatalogServer
func RegisterCloudCatalogServer(s grpc.ServiceRegistrar, srv CloudCatalogServer)AggregationInfo
type AggregationInfo struct {
AggregationLevel AggregationInfo_AggregationLevel `protobuf:"varint,1,opt,name=aggregation_level,json=aggregationLevel,proto3,enum=google.cloud.billing.v1.AggregationInfo_AggregationLevel" json:"aggregation_level,omitempty"`
AggregationInterval AggregationInfo_AggregationInterval `protobuf:"varint,2,opt,name=aggregation_interval,json=aggregationInterval,proto3,enum=google.cloud.billing.v1.AggregationInfo_AggregationInterval" json:"aggregation_interval,omitempty"`
// The number of intervals to aggregate over.
// Example: If aggregation_level is "DAILY" and aggregation_count is 14,
// aggregation will be over 14 days.
AggregationCount int32 `protobuf:"varint,3,opt,name=aggregation_count,json=aggregationCount,proto3" json:"aggregation_count,omitempty"`
// contains filtered or unexported fields
}Represents the aggregation level and interval for pricing of a single SKU.
func (*AggregationInfo) Descriptor
func (*AggregationInfo) Descriptor() ([]byte, []int)Deprecated: Use AggregationInfo.ProtoReflect.Descriptor instead.
func (*AggregationInfo) GetAggregationCount
func (x *AggregationInfo) GetAggregationCount() int32func (*AggregationInfo) GetAggregationInterval
func (x *AggregationInfo) GetAggregationInterval() AggregationInfo_AggregationIntervalfunc (*AggregationInfo) GetAggregationLevel
func (x *AggregationInfo) GetAggregationLevel() AggregationInfo_AggregationLevelfunc (*AggregationInfo) ProtoMessage
func (*AggregationInfo) ProtoMessage()func (*AggregationInfo) ProtoReflect
func (x *AggregationInfo) ProtoReflect() protoreflect.Messagefunc (*AggregationInfo) Reset
func (x *AggregationInfo) Reset()func (*AggregationInfo) String
func (x *AggregationInfo) String() stringAggregationInfo_AggregationInterval
type AggregationInfo_AggregationInterval int32The interval at which usage is aggregated to compute cost. Example: "MONTHLY" aggregation interval indicates that usage for tiered pricing is aggregated every month.
AggregationInfo_AGGREGATION_INTERVAL_UNSPECIFIED, AggregationInfo_DAILY, AggregationInfo_MONTHLY
const (
AggregationInfo_AGGREGATION_INTERVAL_UNSPECIFIED AggregationInfo_AggregationInterval = 0
AggregationInfo_DAILY AggregationInfo_AggregationInterval = 1
AggregationInfo_MONTHLY AggregationInfo_AggregationInterval = 2
)func (AggregationInfo_AggregationInterval) Descriptor
func (AggregationInfo_AggregationInterval) Descriptor() protoreflect.EnumDescriptorfunc (AggregationInfo_AggregationInterval) Enum
func (x AggregationInfo_AggregationInterval) Enum() *AggregationInfo_AggregationIntervalfunc (AggregationInfo_AggregationInterval) EnumDescriptor
func (AggregationInfo_AggregationInterval) EnumDescriptor() ([]byte, []int)Deprecated: Use AggregationInfo_AggregationInterval.Descriptor instead.
func (AggregationInfo_AggregationInterval) Number
func (x AggregationInfo_AggregationInterval) Number() protoreflect.EnumNumberfunc (AggregationInfo_AggregationInterval) String
func (x AggregationInfo_AggregationInterval) String() stringfunc (AggregationInfo_AggregationInterval) Type
func (AggregationInfo_AggregationInterval) Type() protoreflect.EnumTypeAggregationInfo_AggregationLevel
type AggregationInfo_AggregationLevel int32The level at which usage is aggregated to compute cost. Example: "ACCOUNT" aggregation level indicates that usage for tiered pricing is aggregated across all projects in a single account.
AggregationInfo_AGGREGATION_LEVEL_UNSPECIFIED, AggregationInfo_ACCOUNT, AggregationInfo_PROJECT
const (
AggregationInfo_AGGREGATION_LEVEL_UNSPECIFIED AggregationInfo_AggregationLevel = 0
AggregationInfo_ACCOUNT AggregationInfo_AggregationLevel = 1
AggregationInfo_PROJECT AggregationInfo_AggregationLevel = 2
)func (AggregationInfo_AggregationLevel) Descriptor
func (AggregationInfo_AggregationLevel) Descriptor() protoreflect.EnumDescriptorfunc (AggregationInfo_AggregationLevel) Enum
func (x AggregationInfo_AggregationLevel) Enum() *AggregationInfo_AggregationLevelfunc (AggregationInfo_AggregationLevel) EnumDescriptor
func (AggregationInfo_AggregationLevel) EnumDescriptor() ([]byte, []int)Deprecated: Use AggregationInfo_AggregationLevel.Descriptor instead.
func (AggregationInfo_AggregationLevel) Number
func (x AggregationInfo_AggregationLevel) Number() protoreflect.EnumNumberfunc (AggregationInfo_AggregationLevel) String
func (x AggregationInfo_AggregationLevel) String() stringfunc (AggregationInfo_AggregationLevel) Type
func (AggregationInfo_AggregationLevel) Type() protoreflect.EnumTypeBillingAccount
type BillingAccount struct {
// Output only. The resource name of the billing account. The resource name
// has the form `billingAccounts/{billing_account_id}`. For example,
// `billingAccounts/012345-567890-ABCDEF` would be the resource name for
// billing account `012345-567890-ABCDEF`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. True if the billing account is open, and will therefore be
// charged for any usage on associated projects. False if the billing account
// is closed, and therefore projects associated with it are unable to use paid
// services.
Open bool `protobuf:"varint,2,opt,name=open,proto3" json:"open,omitempty"`
// The display name given to the billing account, such as `My Billing
// Account`. This name is displayed in the Google Cloud Console.
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// If this account is a
// [subaccount](https://cloud.google.com/billing/docs/concepts), then this
// will be the resource name of the parent billing account that it is being
// resold through.
// Otherwise this will be empty.
MasterBillingAccount string `protobuf:"bytes,4,opt,name=master_billing_account,json=masterBillingAccount,proto3" json:"master_billing_account,omitempty"`
// Output only. The billing account's parent resource identifier.
// Use the `MoveBillingAccount` method to update the account's parent resource
// if it is a organization.
// Format:
// - `organizations/{organization_id}`, for example,
// `organizations/12345678`
// - `billingAccounts/{billing_account_id}`, for example,
// `billingAccounts/012345-567890-ABCDEF`
Parent string `protobuf:"bytes,6,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The currency in which the billing account is billed and charged,
// represented as an ISO 4217 code such as `USD`.
//
// Billing account currency is determined at the time of billing account
// creation and cannot be updated subsequently, so this field should not be
// set on update requests. In addition, a subaccount always matches the
// currency of its parent billing account, so this field should not be set on
// subaccount creation requests. Clients can read this field to determine the
// currency of an existing billing account.
CurrencyCode string `protobuf:"bytes,7,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
// contains filtered or unexported fields
}A billing account in the Google Cloud Console. You can assign a billing account to one or more projects.
func (*BillingAccount) Descriptor
func (*BillingAccount) Descriptor() ([]byte, []int)Deprecated: Use BillingAccount.ProtoReflect.Descriptor instead.
func (*BillingAccount) GetCurrencyCode
func (x *BillingAccount) GetCurrencyCode() stringfunc (*BillingAccount) GetDisplayName
func (x *BillingAccount) GetDisplayName() stringfunc (*BillingAccount) GetMasterBillingAccount
func (x *BillingAccount) GetMasterBillingAccount() stringfunc (*BillingAccount) GetName
func (x *BillingAccount) GetName() stringfunc (*BillingAccount) GetOpen
func (x *BillingAccount) GetOpen() boolfunc (*BillingAccount) GetParent
func (x *BillingAccount) GetParent() stringfunc (*BillingAccount) ProtoMessage
func (*BillingAccount) ProtoMessage()func (*BillingAccount) ProtoReflect
func (x *BillingAccount) ProtoReflect() protoreflect.Messagefunc (*BillingAccount) Reset
func (x *BillingAccount) Reset()func (*BillingAccount) String
func (x *BillingAccount) String() stringCategory
type Category struct {
// The display name of the service this SKU belongs to.
ServiceDisplayName string `protobuf:"bytes,1,opt,name=service_display_name,json=serviceDisplayName,proto3" json:"service_display_name,omitempty"`
// The type of product the SKU refers to.
// Example: "Compute", "Storage", "Network", "ApplicationServices" etc.
ResourceFamily string `protobuf:"bytes,2,opt,name=resource_family,json=resourceFamily,proto3" json:"resource_family,omitempty"`
// A group classification for related SKUs.
// Example: "RAM", "GPU", "Prediction", "Ops", "GoogleEgress" etc.
ResourceGroup string `protobuf:"bytes,3,opt,name=resource_group,json=resourceGroup,proto3" json:"resource_group,omitempty"`
// Represents how the SKU is consumed.
// Example: "OnDemand", "Preemptible", "Commit1Mo", "Commit1Yr" etc.
UsageType string `protobuf:"bytes,4,opt,name=usage_type,json=usageType,proto3" json:"usage_type,omitempty"`
// contains filtered or unexported fields
}Represents the category hierarchy of a SKU.
func (*Category) Descriptor
Deprecated: Use Category.ProtoReflect.Descriptor instead.
func (*Category) GetResourceFamily
func (*Category) GetResourceGroup
func (*Category) GetServiceDisplayName
func (*Category) GetUsageType
func (*Category) ProtoMessage
func (*Category) ProtoMessage()func (*Category) ProtoReflect
func (x *Category) ProtoReflect() protoreflect.Messagefunc (*Category) Reset
func (x *Category) Reset()func (*Category) String
CloudBillingClient
type CloudBillingClient interface {
// Gets information about a billing account. The current authenticated user
// must be a [viewer of the billing
// account](https://cloud.google.com/billing/docs/how-to/billing-access).
GetBillingAccount(ctx context.Context, in *GetBillingAccountRequest, opts ...grpc.CallOption) (*BillingAccount, error)
// Lists the billing accounts that the current authenticated user has
// permission to
// [view](https://cloud.google.com/billing/docs/how-to/billing-access).
ListBillingAccounts(ctx context.Context, in *ListBillingAccountsRequest, opts ...grpc.CallOption) (*ListBillingAccountsResponse, error)
// Updates a billing account's fields.
// Currently the only field that can be edited is `display_name`.
// The current authenticated user must have the `billing.accounts.update`
// IAM permission, which is typically given to the
// [administrator](https://cloud.google.com/billing/docs/how-to/billing-access)
// of the billing account.
UpdateBillingAccount(ctx context.Context, in *UpdateBillingAccountRequest, opts ...grpc.CallOption) (*BillingAccount, error)
// This method creates [billing
// subaccounts](https://cloud.google.com/billing/docs/concepts#subaccounts).
//
// Google Cloud resellers should use the
// Channel Services APIs,
// [accounts.customers.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers/create)
// and
// [accounts.customers.entitlements.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers.entitlements/create).
//
// When creating a subaccount, the current authenticated user must have the
// `billing.accounts.update` IAM permission on the parent account, which is
// typically given to billing account
// [administrators](https://cloud.google.com/billing/docs/how-to/billing-access).
// This method will return an error if the parent account has not been
// provisioned for subaccounts.
CreateBillingAccount(ctx context.Context, in *CreateBillingAccountRequest, opts ...grpc.CallOption) (*BillingAccount, error)
// Lists the projects associated with a billing account. The current
// authenticated user must have the `billing.resourceAssociations.list` IAM
// permission, which is often given to billing account
// [viewers](https://cloud.google.com/billing/docs/how-to/billing-access).
ListProjectBillingInfo(ctx context.Context, in *ListProjectBillingInfoRequest, opts ...grpc.CallOption) (*ListProjectBillingInfoResponse, error)
// Gets the billing information for a project. The current authenticated user
// must have the `resourcemanager.projects.get` permission for the project,
// which can be granted by assigning the [Project
// Viewer](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles)
// role.
GetProjectBillingInfo(ctx context.Context, in *GetProjectBillingInfoRequest, opts ...grpc.CallOption) (*ProjectBillingInfo, error)
// Sets or updates the billing account associated with a project. You specify
// the new billing account by setting the `billing_account_name` in the
// `ProjectBillingInfo` resource to the resource name of a billing account.
// Associating a project with an open billing account enables billing on the
// project and allows charges for resource usage. If the project already had a
// billing account, this method changes the billing account used for resource
// usage charges.
//
// *Note:* Incurred charges that have not yet been reported in the transaction
// history of the Google Cloud Console might be billed to the new billing
// account, even if the charge occurred before the new billing account was
// assigned to the project.
//
// The current authenticated user must have ownership privileges for both
// the
// [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo
// ) and the [billing
// account](https://cloud.google.com/billing/docs/how-to/billing-access).
//
// You can disable billing on the project by setting the
// `billing_account_name` field to empty. This action disassociates the
// current billing account from the project. Any billable activity of your
// in-use services will stop, and your application could stop functioning as
// expected. Any unbilled charges to date will be billed to the previously
// associated account. The current authenticated user must be either an owner
// of the project or an owner of the billing account for the project.
//
// Note that associating a project with a *closed* billing account will have
// much the same effect as disabling billing on the project: any paid
// resources used by the project will be shut down. Thus, unless you wish to
// disable billing, you should always call this method with the name of an
// *open* billing account.
UpdateProjectBillingInfo(ctx context.Context, in *UpdateProjectBillingInfoRequest, opts ...grpc.CallOption) (*ProjectBillingInfo, error)
// Gets the access control policy for a billing account.
// The caller must have the `billing.accounts.getIamPolicy` permission on the
// account, which is often given to billing account
// [viewers](https://cloud.google.com/billing/docs/how-to/billing-access).
GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
// Sets the access control policy for a billing account. Replaces any existing
// policy.
// The caller must have the `billing.accounts.setIamPolicy` permission on the
// account, which is often given to billing account
// [administrators](https://cloud.google.com/billing/docs/how-to/billing-access).
SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
// Tests the access control policy for a billing account. This method takes
// the resource and a set of permissions as input and returns the subset of
// the input permissions that the caller is allowed for that resource.
TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error)
// Changes which parent organization a billing account belongs to.
MoveBillingAccount(ctx context.Context, in *MoveBillingAccountRequest, opts ...grpc.CallOption) (*BillingAccount, error)
}CloudBillingClient is the client API for CloudBilling service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCloudBillingClient
func NewCloudBillingClient(cc grpc.ClientConnInterface) CloudBillingClientCloudBillingServer
type CloudBillingServer interface {
// Gets information about a billing account. The current authenticated user
// must be a [viewer of the billing
// account](https://cloud.google.com/billing/docs/how-to/billing-access).
GetBillingAccount(context.Context, *GetBillingAccountRequest) (*BillingAccount, error)
// Lists the billing accounts that the current authenticated user has
// permission to
// [view](https://cloud.google.com/billing/docs/how-to/billing-access).
ListBillingAccounts(context.Context, *ListBillingAccountsRequest) (*ListBillingAccountsResponse, error)
// Updates a billing account's fields.
// Currently the only field that can be edited is `display_name`.
// The current authenticated user must have the `billing.accounts.update`
// IAM permission, which is typically given to the
// [administrator](https://cloud.google.com/billing/docs/how-to/billing-access)
// of the billing account.
UpdateBillingAccount(context.Context, *UpdateBillingAccountRequest) (*BillingAccount, error)
// This method creates [billing
// subaccounts](https://cloud.google.com/billing/docs/concepts#subaccounts).
//
// Google Cloud resellers should use the
// Channel Services APIs,
// [accounts.customers.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers/create)
// and
// [accounts.customers.entitlements.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers.entitlements/create).
//
// When creating a subaccount, the current authenticated user must have the
// `billing.accounts.update` IAM permission on the parent account, which is
// typically given to billing account
// [administrators](https://cloud.google.com/billing/docs/how-to/billing-access).
// This method will return an error if the parent account has not been
// provisioned for subaccounts.
CreateBillingAccount(context.Context, *CreateBillingAccountRequest) (*BillingAccount, error)
// Lists the projects associated with a billing account. The current
// authenticated user must have the `billing.resourceAssociations.list` IAM
// permission, which is often given to billing account
// [viewers](https://cloud.google.com/billing/docs/how-to/billing-access).
ListProjectBillingInfo(context.Context, *ListProjectBillingInfoRequest) (*ListProjectBillingInfoResponse, error)
// Gets the billing information for a project. The current authenticated user
// must have the `resourcemanager.projects.get` permission for the project,
// which can be granted by assigning the [Project
// Viewer](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles)
// role.
GetProjectBillingInfo(context.Context, *GetProjectBillingInfoRequest) (*ProjectBillingInfo, error)
// Sets or updates the billing account associated with a project. You specify
// the new billing account by setting the `billing_account_name` in the
// `ProjectBillingInfo` resource to the resource name of a billing account.
// Associating a project with an open billing account enables billing on the
// project and allows charges for resource usage. If the project already had a
// billing account, this method changes the billing account used for resource
// usage charges.
//
// *Note:* Incurred charges that have not yet been reported in the transaction
// history of the Google Cloud Console might be billed to the new billing
// account, even if the charge occurred before the new billing account was
// assigned to the project.
//
// The current authenticated user must have ownership privileges for both
// the
// [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo
// ) and the [billing
// account](https://cloud.google.com/billing/docs/how-to/billing-access).
//
// You can disable billing on the project by setting the
// `billing_account_name` field to empty. This action disassociates the
// current billing account from the project. Any billable activity of your
// in-use services will stop, and your application could stop functioning as
// expected. Any unbilled charges to date will be billed to the previously
// associated account. The current authenticated user must be either an owner
// of the project or an owner of the billing account for the project.
//
// Note that associating a project with a *closed* billing account will have
// much the same effect as disabling billing on the project: any paid
// resources used by the project will be shut down. Thus, unless you wish to
// disable billing, you should always call this method with the name of an
// *open* billing account.
UpdateProjectBillingInfo(context.Context, *UpdateProjectBillingInfoRequest) (*ProjectBillingInfo, error)
// Gets the access control policy for a billing account.
// The caller must have the `billing.accounts.getIamPolicy` permission on the
// account, which is often given to billing account
// [viewers](https://cloud.google.com/billing/docs/how-to/billing-access).
GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
// Sets the access control policy for a billing account. Replaces any existing
// policy.
// The caller must have the `billing.accounts.setIamPolicy` permission on the
// account, which is often given to billing account
// [administrators](https://cloud.google.com/billing/docs/how-to/billing-access).
SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
// Tests the access control policy for a billing account. This method takes
// the resource and a set of permissions as input and returns the subset of
// the input permissions that the caller is allowed for that resource.
TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
// Changes which parent organization a billing account belongs to.
MoveBillingAccount(context.Context, *MoveBillingAccountRequest) (*BillingAccount, error)
}CloudBillingServer is the server API for CloudBilling service. All implementations should embed UnimplementedCloudBillingServer for forward compatibility
CloudCatalogClient
type CloudCatalogClient interface {
// Lists all public cloud services.
ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error)
// Lists all publicly available SKUs for a given cloud service.
ListSkus(ctx context.Context, in *ListSkusRequest, opts ...grpc.CallOption) (*ListSkusResponse, error)
}CloudCatalogClient is the client API for CloudCatalog service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCloudCatalogClient
func NewCloudCatalogClient(cc grpc.ClientConnInterface) CloudCatalogClientCloudCatalogServer
type CloudCatalogServer interface {
// Lists all public cloud services.
ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
// Lists all publicly available SKUs for a given cloud service.
ListSkus(context.Context, *ListSkusRequest) (*ListSkusResponse, error)
}CloudCatalogServer is the server API for CloudCatalog service. All implementations should embed UnimplementedCloudCatalogServer for forward compatibility
CreateBillingAccountRequest
type CreateBillingAccountRequest struct {
// Required. The billing account resource to create.
// Currently CreateBillingAccount only supports subaccount creation, so
// any created billing accounts must be under a provided parent billing
// account.
BillingAccount *BillingAccount `protobuf:"bytes,1,opt,name=billing_account,json=billingAccount,proto3" json:"billing_account,omitempty"`
// Optional. The parent to create a billing account from.
// Format:
// - `billingAccounts/{billing_account_id}`, for example,
// `billingAccounts/012345-567890-ABCDEF`
Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
// contains filtered or unexported fields
}Request message for CreateBillingAccount.
func (*CreateBillingAccountRequest) Descriptor
func (*CreateBillingAccountRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateBillingAccountRequest.ProtoReflect.Descriptor instead.
func (*CreateBillingAccountRequest) GetBillingAccount
func (x *CreateBillingAccountRequest) GetBillingAccount() *BillingAccountfunc (*CreateBillingAccountRequest) GetParent
func (x *CreateBillingAccountRequest) GetParent() stringfunc (*CreateBillingAccountRequest) ProtoMessage
func (*CreateBillingAccountRequest) ProtoMessage()func (*CreateBillingAccountRequest) ProtoReflect
func (x *CreateBillingAccountRequest) ProtoReflect() protoreflect.Messagefunc (*CreateBillingAccountRequest) Reset
func (x *CreateBillingAccountRequest) Reset()func (*CreateBillingAccountRequest) String
func (x *CreateBillingAccountRequest) String() stringGeoTaxonomy
type GeoTaxonomy struct {
// The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.
Type GeoTaxonomy_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.billing.v1.GeoTaxonomy_Type" json:"type,omitempty"`
// The list of regions associated with a sku. Empty for Global skus, which are
// associated with all Google Cloud regions.
Regions []string `protobuf:"bytes,2,rep,name=regions,proto3" json:"regions,omitempty"`
// contains filtered or unexported fields
}Encapsulates the geographic taxonomy data for a sku.
func (*GeoTaxonomy) Descriptor
func (*GeoTaxonomy) Descriptor() ([]byte, []int)Deprecated: Use GeoTaxonomy.ProtoReflect.Descriptor instead.
func (*GeoTaxonomy) GetRegions
func (x *GeoTaxonomy) GetRegions() []stringfunc (*GeoTaxonomy) GetType
func (x *GeoTaxonomy) GetType() GeoTaxonomy_Typefunc (*GeoTaxonomy) ProtoMessage
func (*GeoTaxonomy) ProtoMessage()func (*GeoTaxonomy) ProtoReflect
func (x *GeoTaxonomy) ProtoReflect() protoreflect.Messagefunc (*GeoTaxonomy) Reset
func (x *GeoTaxonomy) Reset()func (*GeoTaxonomy) String
func (x *GeoTaxonomy) String() stringGeoTaxonomy_Type
type GeoTaxonomy_Type int32The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.
GeoTaxonomy_TYPE_UNSPECIFIED, GeoTaxonomy_GLOBAL, GeoTaxonomy_REGIONAL, GeoTaxonomy_MULTI_REGIONAL
const (
// The type is not specified.
GeoTaxonomy_TYPE_UNSPECIFIED GeoTaxonomy_Type = 0
// The sku is global in nature, e.g. a license sku. Global skus are
// available in all regions, and so have an empty region list.
GeoTaxonomy_GLOBAL GeoTaxonomy_Type = 1
// The sku is available in a specific region, e.g. "us-west2".
GeoTaxonomy_REGIONAL GeoTaxonomy_Type = 2
// The sku is associated with multiple regions, e.g. "us-west2" and
// "us-east1".
GeoTaxonomy_MULTI_REGIONAL GeoTaxonomy_Type = 3
)func (GeoTaxonomy_Type) Descriptor
func (GeoTaxonomy_Type) Descriptor() protoreflect.EnumDescriptorfunc (GeoTaxonomy_Type) Enum
func (x GeoTaxonomy_Type) Enum() *GeoTaxonomy_Typefunc (GeoTaxonomy_Type) EnumDescriptor
func (GeoTaxonomy_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use GeoTaxonomy_Type.Descriptor instead.
func (GeoTaxonomy_Type) Number
func (x GeoTaxonomy_Type) Number() protoreflect.EnumNumberfunc (GeoTaxonomy_Type) String
func (x GeoTaxonomy_Type) String() stringfunc (GeoTaxonomy_Type) Type
func (GeoTaxonomy_Type) Type() protoreflect.EnumTypeGetBillingAccountRequest
type GetBillingAccountRequest struct {
// Required. The resource name of the billing account to retrieve. For
// example, `billingAccounts/012345-567890-ABCDEF`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for GetBillingAccount.
func (*GetBillingAccountRequest) Descriptor
func (*GetBillingAccountRequest) Descriptor() ([]byte, []int)Deprecated: Use GetBillingAccountRequest.ProtoReflect.Descriptor instead.
func (*GetBillingAccountRequest) GetName
func (x *GetBillingAccountRequest) GetName() stringfunc (*GetBillingAccountRequest) ProtoMessage
func (*GetBillingAccountRequest) ProtoMessage()func (*GetBillingAccountRequest) ProtoReflect
func (x *GetBillingAccountRequest) ProtoReflect() protoreflect.Messagefunc (*GetBillingAccountRequest) Reset
func (x *GetBillingAccountRequest) Reset()func (*GetBillingAccountRequest) String
func (x *GetBillingAccountRequest) String() stringGetProjectBillingInfoRequest
type GetProjectBillingInfoRequest struct {
// Required. The resource name of the project for which billing information is
// retrieved. For example, `projects/tokyo-rain-123`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for GetProjectBillingInfo.
func (*GetProjectBillingInfoRequest) Descriptor
func (*GetProjectBillingInfoRequest) Descriptor() ([]byte, []int)Deprecated: Use GetProjectBillingInfoRequest.ProtoReflect.Descriptor instead.
func (*GetProjectBillingInfoRequest) GetName
func (x *GetProjectBillingInfoRequest) GetName() stringfunc (*GetProjectBillingInfoRequest) ProtoMessage
func (*GetProjectBillingInfoRequest) ProtoMessage()func (*GetProjectBillingInfoRequest) ProtoReflect
func (x *GetProjectBillingInfoRequest) ProtoReflect() protoreflect.Messagefunc (*GetProjectBillingInfoRequest) Reset
func (x *GetProjectBillingInfoRequest) Reset()func (*GetProjectBillingInfoRequest) String
func (x *GetProjectBillingInfoRequest) String() stringListBillingAccountsRequest
type ListBillingAccountsRequest struct {
// Requested page size. The maximum page size is 100; this is also the
// default.
PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results to return. This should be a
// `next_page_token` value returned from a previous `ListBillingAccounts`
// call. If unspecified, the first page of results is returned.
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Options for how to filter the returned billing accounts.
// This only supports filtering for
// [subaccounts](https://cloud.google.com/billing/docs/concepts) under a
// single provided parent billing account.
// (for example,
// `master_billing_account=billingAccounts/012345-678901-ABCDEF`).
// Boolean algebra and other fields are not currently supported.
Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. The parent resource to list billing accounts from.
// Format:
// - `organizations/{organization_id}`, for example,
// `organizations/12345678`
// - `billingAccounts/{billing_account_id}`, for example,
// `billingAccounts/012345-567890-ABCDEF`
Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
// contains filtered or unexported fields
}Request message for ListBillingAccounts.
func (*ListBillingAccountsRequest) Descriptor
func (*ListBillingAccountsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListBillingAccountsRequest.ProtoReflect.Descriptor instead.
func (*ListBillingAccountsRequest) GetFilter
func (x *ListBillingAccountsRequest) GetFilter() stringfunc (*ListBillingAccountsRequest) GetPageSize
func (x *ListBillingAccountsRequest) GetPageSize() int32func (*ListBillingAccountsRequest) GetPageToken
func (x *ListBillingAccountsRequest) GetPageToken() stringfunc (*ListBillingAccountsRequest) GetParent
func (x *ListBillingAccountsRequest) GetParent() stringfunc (*ListBillingAccountsRequest) ProtoMessage
func (*ListBillingAccountsRequest) ProtoMessage()func (*ListBillingAccountsRequest) ProtoReflect
func (x *ListBillingAccountsRequest) ProtoReflect() protoreflect.Messagefunc (*ListBillingAccountsRequest) Reset
func (x *ListBillingAccountsRequest) Reset()func (*ListBillingAccountsRequest) String
func (x *ListBillingAccountsRequest) String() stringListBillingAccountsResponse
type ListBillingAccountsResponse struct {
// A list of billing accounts.
BillingAccounts []*BillingAccount `protobuf:"bytes,1,rep,name=billing_accounts,json=billingAccounts,proto3" json:"billing_accounts,omitempty"`
// A token to retrieve the next page of results. To retrieve the next page,
// call `ListBillingAccounts` again with the `page_token` field set to this
// value. This field is empty if there are no more results to retrieve.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for ListBillingAccounts.
func (*ListBillingAccountsResponse) Descriptor
func (*ListBillingAccountsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListBillingAccountsResponse.ProtoReflect.Descriptor instead.
func (*ListBillingAccountsResponse) GetBillingAccounts
func (x *ListBillingAccountsResponse) GetBillingAccounts() []*BillingAccountfunc (*ListBillingAccountsResponse) GetNextPageToken
func (x *ListBillingAccountsResponse) GetNextPageToken() stringfunc (*ListBillingAccountsResponse) ProtoMessage
func (*ListBillingAccountsResponse) ProtoMessage()func (*ListBillingAccountsResponse) ProtoReflect
func (x *ListBillingAccountsResponse) ProtoReflect() protoreflect.Messagefunc (*ListBillingAccountsResponse) Reset
func (x *ListBillingAccountsResponse) Reset()func (*ListBillingAccountsResponse) String
func (x *ListBillingAccountsResponse) String() stringListProjectBillingInfoRequest
type ListProjectBillingInfoRequest struct {
// Required. The resource name of the billing account associated with the
// projects that you want to list. For example,
// `billingAccounts/012345-567890-ABCDEF`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Requested page size. The maximum page size is 100; this is also the
// default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results to be returned. This should be a
// `next_page_token` value returned from a previous `ListProjectBillingInfo`
// call. If unspecified, the first page of results is returned.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for ListProjectBillingInfo.
func (*ListProjectBillingInfoRequest) Descriptor
func (*ListProjectBillingInfoRequest) Descriptor() ([]byte, []int)Deprecated: Use ListProjectBillingInfoRequest.ProtoReflect.Descriptor instead.
func (*ListProjectBillingInfoRequest) GetName
func (x *ListProjectBillingInfoRequest) GetName() stringfunc (*ListProjectBillingInfoRequest) GetPageSize
func (x *ListProjectBillingInfoRequest) GetPageSize() int32func (*ListProjectBillingInfoRequest) GetPageToken
func (x *ListProjectBillingInfoRequest) GetPageToken() stringfunc (*ListProjectBillingInfoRequest) ProtoMessage
func (*ListProjectBillingInfoRequest) ProtoMessage()func (*ListProjectBillingInfoRequest) ProtoReflect
func (x *ListProjectBillingInfoRequest) ProtoReflect() protoreflect.Messagefunc (*ListProjectBillingInfoRequest) Reset
func (x *ListProjectBillingInfoRequest) Reset()func (*ListProjectBillingInfoRequest) String
func (x *ListProjectBillingInfoRequest) String() stringListProjectBillingInfoResponse
type ListProjectBillingInfoResponse struct {
// A list of `ProjectBillingInfo` resources representing the projects
// associated with the billing account.
ProjectBillingInfo []*ProjectBillingInfo `protobuf:"bytes,1,rep,name=project_billing_info,json=projectBillingInfo,proto3" json:"project_billing_info,omitempty"`
// A token to retrieve the next page of results. To retrieve the next page,
// call `ListProjectBillingInfo` again with the `page_token` field set to this
// value. This field is empty if there are no more results to retrieve.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Request message for ListProjectBillingInfoResponse.
func (*ListProjectBillingInfoResponse) Descriptor
func (*ListProjectBillingInfoResponse) Descriptor() ([]byte, []int)Deprecated: Use ListProjectBillingInfoResponse.ProtoReflect.Descriptor instead.
func (*ListProjectBillingInfoResponse) GetNextPageToken
func (x *ListProjectBillingInfoResponse) GetNextPageToken() stringfunc (*ListProjectBillingInfoResponse) GetProjectBillingInfo
func (x *ListProjectBillingInfoResponse) GetProjectBillingInfo() []*ProjectBillingInfofunc (*ListProjectBillingInfoResponse) ProtoMessage
func (*ListProjectBillingInfoResponse) ProtoMessage()func (*ListProjectBillingInfoResponse) ProtoReflect
func (x *ListProjectBillingInfoResponse) ProtoReflect() protoreflect.Messagefunc (*ListProjectBillingInfoResponse) Reset
func (x *ListProjectBillingInfoResponse) Reset()func (*ListProjectBillingInfoResponse) String
func (x *ListProjectBillingInfoResponse) String() stringListServicesRequest
type ListServicesRequest struct {
// Requested page size. Defaults to 5000.
PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results to return. This should be a
// `next_page_token` value returned from a previous `ListServices`
// call. If unspecified, the first page of results is returned.
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for ListServices.
func (*ListServicesRequest) Descriptor
func (*ListServicesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListServicesRequest.ProtoReflect.Descriptor instead.
func (*ListServicesRequest) GetPageSize
func (x *ListServicesRequest) GetPageSize() int32func (*ListServicesRequest) GetPageToken
func (x *ListServicesRequest) GetPageToken() stringfunc (*ListServicesRequest) ProtoMessage
func (*ListServicesRequest) ProtoMessage()func (*ListServicesRequest) ProtoReflect
func (x *ListServicesRequest) ProtoReflect() protoreflect.Messagefunc (*ListServicesRequest) Reset
func (x *ListServicesRequest) Reset()func (*ListServicesRequest) String
func (x *ListServicesRequest) String() stringListServicesResponse
type ListServicesResponse struct {
// A list of services.
Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
// A token to retrieve the next page of results. To retrieve the next page,
// call `ListServices` again with the `page_token` field set to this
// value. This field is empty if there are no more results to retrieve.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for ListServices.
func (*ListServicesResponse) Descriptor
func (*ListServicesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListServicesResponse.ProtoReflect.Descriptor instead.
func (*ListServicesResponse) GetNextPageToken
func (x *ListServicesResponse) GetNextPageToken() stringfunc (*ListServicesResponse) GetServices
func (x *ListServicesResponse) GetServices() []*Servicefunc (*ListServicesResponse) ProtoMessage
func (*ListServicesResponse) ProtoMessage()func (*ListServicesResponse) ProtoReflect
func (x *ListServicesResponse) ProtoReflect() protoreflect.Messagefunc (*ListServicesResponse) Reset
func (x *ListServicesResponse) Reset()func (*ListServicesResponse) String
func (x *ListServicesResponse) String() stringListSkusRequest
type ListSkusRequest struct {
// Required. The name of the service.
// Example: "services/6F81-5844-456A"
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional inclusive start time of the time range for which the pricing
// versions will be returned. Timestamps in the future are not allowed.
// The time range has to be within a single calendar month in
// America/Los_Angeles timezone. Time range as a whole is optional. If not
// specified, the latest pricing will be returned (up to 12 hours old at
// most).
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Optional exclusive end time of the time range for which the pricing
// versions will be returned. Timestamps in the future are not allowed.
// The time range has to be within a single calendar month in
// America/Los_Angeles timezone. Time range as a whole is optional. If not
// specified, the latest pricing will be returned (up to 12 hours old at
// most).
EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// The ISO 4217 currency code for the pricing info in the response proto.
// Will use the conversion rate as of start_time.
// Optional. If not specified USD will be used.
CurrencyCode string `protobuf:"bytes,4,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
// Requested page size. Defaults to 5000.
PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results to return. This should be a
// `next_page_token` value returned from a previous `ListSkus`
// call. If unspecified, the first page of results is returned.
PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for ListSkus.
func (*ListSkusRequest) Descriptor
func (*ListSkusRequest) Descriptor() ([]byte, []int)Deprecated: Use ListSkusRequest.ProtoReflect.Descriptor instead.
func (*ListSkusRequest) GetCurrencyCode
func (x *ListSkusRequest) GetCurrencyCode() stringfunc (*ListSkusRequest) GetEndTime
func (x *ListSkusRequest) GetEndTime() *timestamppb.Timestampfunc (*ListSkusRequest) GetPageSize
func (x *ListSkusRequest) GetPageSize() int32func (*ListSkusRequest) GetPageToken
func (x *ListSkusRequest) GetPageToken() stringfunc (*ListSkusRequest) GetParent
func (x *ListSkusRequest) GetParent() stringfunc (*ListSkusRequest) GetStartTime
func (x *ListSkusRequest) GetStartTime() *timestamppb.Timestampfunc (*ListSkusRequest) ProtoMessage
func (*ListSkusRequest) ProtoMessage()func (*ListSkusRequest) ProtoReflect
func (x *ListSkusRequest) ProtoReflect() protoreflect.Messagefunc (*ListSkusRequest) Reset
func (x *ListSkusRequest) Reset()func (*ListSkusRequest) String
func (x *ListSkusRequest) String() stringListSkusResponse
type ListSkusResponse struct {
// The list of public SKUs of the given service.
Skus []*Sku `protobuf:"bytes,1,rep,name=skus,proto3" json:"skus,omitempty"`
// A token to retrieve the next page of results. To retrieve the next page,
// call `ListSkus` again with the `page_token` field set to this
// value. This field is empty if there are no more results to retrieve.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for ListSkus.
func (*ListSkusResponse) Descriptor
func (*ListSkusResponse) Descriptor() ([]byte, []int)Deprecated: Use ListSkusResponse.ProtoReflect.Descriptor instead.
func (*ListSkusResponse) GetNextPageToken
func (x *ListSkusResponse) GetNextPageToken() stringfunc (*ListSkusResponse) GetSkus
func (x *ListSkusResponse) GetSkus() []*Skufunc (*ListSkusResponse) ProtoMessage
func (*ListSkusResponse) ProtoMessage()func (*ListSkusResponse) ProtoReflect
func (x *ListSkusResponse) ProtoReflect() protoreflect.Messagefunc (*ListSkusResponse) Reset
func (x *ListSkusResponse) Reset()func (*ListSkusResponse) String
func (x *ListSkusResponse) String() stringMoveBillingAccountRequest
type MoveBillingAccountRequest struct {
// Required. The resource name of the billing account to move.
// Must be of the form `billingAccounts/{billing_account_id}`.
// The specified billing account cannot be a subaccount, since a subaccount
// always belongs to the same organization as its parent account.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The resource name of the Organization to move
// the billing account under.
// Must be of the form `organizations/{organization_id}`.
DestinationParent string `protobuf:"bytes,2,opt,name=destination_parent,json=destinationParent,proto3" json:"destination_parent,omitempty"`
// contains filtered or unexported fields
}Request message for MoveBillingAccount RPC.
func (*MoveBillingAccountRequest) Descriptor
func (*MoveBillingAccountRequest) Descriptor() ([]byte, []int)Deprecated: Use MoveBillingAccountRequest.ProtoReflect.Descriptor instead.
func (*MoveBillingAccountRequest) GetDestinationParent
func (x *MoveBillingAccountRequest) GetDestinationParent() stringfunc (*MoveBillingAccountRequest) GetName
func (x *MoveBillingAccountRequest) GetName() stringfunc (*MoveBillingAccountRequest) ProtoMessage
func (*MoveBillingAccountRequest) ProtoMessage()func (*MoveBillingAccountRequest) ProtoReflect
func (x *MoveBillingAccountRequest) ProtoReflect() protoreflect.Messagefunc (*MoveBillingAccountRequest) Reset
func (x *MoveBillingAccountRequest) Reset()func (*MoveBillingAccountRequest) String
func (x *MoveBillingAccountRequest) String() stringPricingExpression
type PricingExpression struct {
// The short hand for unit of usage this pricing is specified in.
// Example: usage_unit of "GiBy" means that usage is specified in "Gibi Byte".
UsageUnit string `protobuf:"bytes,1,opt,name=usage_unit,json=usageUnit,proto3" json:"usage_unit,omitempty"`
// The recommended quantity of units for displaying pricing info. When
// displaying pricing info it is recommended to display:
// (unit_price * display_quantity) per display_quantity usage_unit.
// This field does not affect the pricing formula and is for display purposes
// only.
// Example: If the unit_price is "0.0001 USD", the usage_unit is "GB" and
// the display_quantity is "1000" then the recommended way of displaying the
// pricing info is "0.10 USD per 1000 GB"
DisplayQuantity float64 `protobuf:"fixed64,2,opt,name=display_quantity,json=displayQuantity,proto3" json:"display_quantity,omitempty"`
// The list of tiered rates for this pricing. The total cost is computed by
// applying each of the tiered rates on usage. This repeated list is sorted
// by ascending order of start_usage_amount.
TieredRates []*PricingExpression_TierRate `protobuf:"bytes,3,rep,name=tiered_rates,json=tieredRates,proto3" json:"tiered_rates,omitempty"`
// The unit of usage in human readable form.
// Example: "gibi byte".
UsageUnitDescription string `protobuf:"bytes,4,opt,name=usage_unit_description,json=usageUnitDescription,proto3" json:"usage_unit_description,omitempty"`
// The base unit for the SKU which is the unit used in usage exports.
// Example: "By"
BaseUnit string `protobuf:"bytes,5,opt,name=base_unit,json=baseUnit,proto3" json:"base_unit,omitempty"`
// The base unit in human readable form.
// Example: "byte".
BaseUnitDescription string `protobuf:"bytes,6,opt,name=base_unit_description,json=baseUnitDescription,proto3" json:"base_unit_description,omitempty"`
// Conversion factor for converting from price per usage_unit to price per
// base_unit, and start_usage_amount to start_usage_amount in base_unit.
// unit_price / base_unit_conversion_factor = price per base_unit.
// start_usage_amount * base_unit_conversion_factor = start_usage_amount in
// base_unit.
BaseUnitConversionFactor float64 `protobuf:"fixed64,7,opt,name=base_unit_conversion_factor,json=baseUnitConversionFactor,proto3" json:"base_unit_conversion_factor,omitempty"`
// contains filtered or unexported fields
}Expresses a mathematical pricing formula. For Example:-
usage_unit: GBy
tiered_rates:
`[start_usage_amount: 20, unit_price: $10]`
`[start_usage_amount: 100, unit_price: $5]`
The above expresses a pricing formula where the first 20GB is free, the next 80GB is priced at $10 per GB followed by $5 per GB for additional usage.
func (*PricingExpression) Descriptor
func (*PricingExpression) Descriptor() ([]byte, []int)Deprecated: Use PricingExpression.ProtoReflect.Descriptor instead.
func (*PricingExpression) GetBaseUnit
func (x *PricingExpression) GetBaseUnit() stringfunc (*PricingExpression) GetBaseUnitConversionFactor
func (x *PricingExpression) GetBaseUnitConversionFactor() float64func (*PricingExpression) GetBaseUnitDescription
func (x *PricingExpression) GetBaseUnitDescription() stringfunc (*PricingExpression) GetDisplayQuantity
func (x *PricingExpression) GetDisplayQuantity() float64func (*PricingExpression) GetTieredRates
func (x *PricingExpression) GetTieredRates() []*PricingExpression_TierRatefunc (*PricingExpression) GetUsageUnit
func (x *PricingExpression) GetUsageUnit() stringfunc (*PricingExpression) GetUsageUnitDescription
func (x *PricingExpression) GetUsageUnitDescription() stringfunc (*PricingExpression) ProtoMessage
func (*PricingExpression) ProtoMessage()func (*PricingExpression) ProtoReflect
func (x *PricingExpression) ProtoReflect() protoreflect.Messagefunc (*PricingExpression) Reset
func (x *PricingExpression) Reset()func (*PricingExpression) String
func (x *PricingExpression) String() stringPricingExpression_TierRate
type PricingExpression_TierRate struct {
// Usage is priced at this rate only after this amount.
// Example: start_usage_amount of 10 indicates that the usage will be priced
// at the unit_price after the first 10 usage_units.
StartUsageAmount float64 `protobuf:"fixed64,1,opt,name=start_usage_amount,json=startUsageAmount,proto3" json:"start_usage_amount,omitempty"`
// The price per unit of usage.
// Example: unit_price of amount $10 indicates that each unit will cost $10.
UnitPrice *money.Money `protobuf:"bytes,2,opt,name=unit_price,json=unitPrice,proto3" json:"unit_price,omitempty"`
// contains filtered or unexported fields
}The price rate indicating starting usage and its corresponding price.
func (*PricingExpression_TierRate) Descriptor
func (*PricingExpression_TierRate) Descriptor() ([]byte, []int)Deprecated: Use PricingExpression_TierRate.ProtoReflect.Descriptor instead.
func (*PricingExpression_TierRate) GetStartUsageAmount
func (x *PricingExpression_TierRate) GetStartUsageAmount() float64func (*PricingExpression_TierRate) GetUnitPrice
func (x *PricingExpression_TierRate) GetUnitPrice() *money.Moneyfunc (*PricingExpression_TierRate) ProtoMessage
func (*PricingExpression_TierRate) ProtoMessage()func (*PricingExpression_TierRate) ProtoReflect
func (x *PricingExpression_TierRate) ProtoReflect() protoreflect.Messagefunc (*PricingExpression_TierRate) Reset
func (x *PricingExpression_TierRate) Reset()func (*PricingExpression_TierRate) String
func (x *PricingExpression_TierRate) String() stringPricingInfo
type PricingInfo struct {
// The timestamp from which this pricing was effective within the requested
// time range. This is guaranteed to be greater than or equal to the
// start_time field in the request and less than the end_time field in the
// request. If a time range was not specified in the request this field will
// be equivalent to a time within the last 12 hours, indicating the latest
// pricing info.
EffectiveTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=effective_time,json=effectiveTime,proto3" json:"effective_time,omitempty"`
// An optional human readable summary of the pricing information, has a
// maximum length of 256 characters.
Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
// Expresses the pricing formula. See `PricingExpression` for an example.
PricingExpression *PricingExpression `protobuf:"bytes,3,opt,name=pricing_expression,json=pricingExpression,proto3" json:"pricing_expression,omitempty"`
// Aggregation Info. This can be left unspecified if the pricing expression
// doesn't require aggregation.
AggregationInfo *AggregationInfo `protobuf:"bytes,4,opt,name=aggregation_info,json=aggregationInfo,proto3" json:"aggregation_info,omitempty"`
// Conversion rate used for currency conversion, from USD to the currency
// specified in the request. This includes any surcharge collected for billing
// in non USD currency. If a currency is not specified in the request this
// defaults to 1.0.
// Example: USD * currency_conversion_rate = JPY
CurrencyConversionRate float64 `protobuf:"fixed64,5,opt,name=currency_conversion_rate,json=currencyConversionRate,proto3" json:"currency_conversion_rate,omitempty"`
// contains filtered or unexported fields
}Represents the pricing information for a SKU at a single point of time.
func (*PricingInfo) Descriptor
func (*PricingInfo) Descriptor() ([]byte, []int)Deprecated: Use PricingInfo.ProtoReflect.Descriptor instead.
func (*PricingInfo) GetAggregationInfo
func (x *PricingInfo) GetAggregationInfo() *AggregationInfofunc (*PricingInfo) GetCurrencyConversionRate
func (x *PricingInfo) GetCurrencyConversionRate() float64func (*PricingInfo) GetEffectiveTime
func (x *PricingInfo) GetEffectiveTime() *timestamppb.Timestampfunc (*PricingInfo) GetPricingExpression
func (x *PricingInfo) GetPricingExpression() *PricingExpressionfunc (*PricingInfo) GetSummary
func (x *PricingInfo) GetSummary() stringfunc (*PricingInfo) ProtoMessage
func (*PricingInfo) ProtoMessage()func (*PricingInfo) ProtoReflect
func (x *PricingInfo) ProtoReflect() protoreflect.Messagefunc (*PricingInfo) Reset
func (x *PricingInfo) Reset()func (*PricingInfo) String
func (x *PricingInfo) String() stringProjectBillingInfo
type ProjectBillingInfo struct {
// Output only. The resource name for the `ProjectBillingInfo`; has the form
// `projects/{project_id}/billingInfo`. For example, the resource name for the
// billing information for project `tokyo-rain-123` would be
// `projects/tokyo-rain-123/billingInfo`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The ID of the project that this `ProjectBillingInfo`
// represents, such as `tokyo-rain-123`. This is a convenience field so that
// you don't need to parse the `name` field to obtain a project ID.
ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// The resource name of the billing account associated with the project, if
// any. For example, `billingAccounts/012345-567890-ABCDEF`.
BillingAccountName string `protobuf:"bytes,3,opt,name=billing_account_name,json=billingAccountName,proto3" json:"billing_account_name,omitempty"`
// Output only. True if the project is associated with an open billing
// account, to which usage on the project is charged. False if the project is
// associated with a closed billing account, or no billing account at all, and
// therefore cannot use paid services.
BillingEnabled bool `protobuf:"varint,4,opt,name=billing_enabled,json=billingEnabled,proto3" json:"billing_enabled,omitempty"`
// contains filtered or unexported fields
}Encapsulation of billing information for a Google Cloud Console project. A project has at most one associated billing account at a time (but a billing account can be assigned to multiple projects).
func (*ProjectBillingInfo) Descriptor
func (*ProjectBillingInfo) Descriptor() ([]byte, []int)Deprecated: Use ProjectBillingInfo.ProtoReflect.Descriptor instead.
func (*ProjectBillingInfo) GetBillingAccountName
func (x *ProjectBillingInfo) GetBillingAccountName() stringfunc (*ProjectBillingInfo) GetBillingEnabled
func (x *ProjectBillingInfo) GetBillingEnabled() boolfunc (*ProjectBillingInfo) GetName
func (x *ProjectBillingInfo) GetName() stringfunc (*ProjectBillingInfo) GetProjectId
func (x *ProjectBillingInfo) GetProjectId() stringfunc (*ProjectBillingInfo) ProtoMessage
func (*ProjectBillingInfo) ProtoMessage()func (*ProjectBillingInfo) ProtoReflect
func (x *ProjectBillingInfo) ProtoReflect() protoreflect.Messagefunc (*ProjectBillingInfo) Reset
func (x *ProjectBillingInfo) Reset()func (*ProjectBillingInfo) String
func (x *ProjectBillingInfo) String() stringService
type Service struct {
// The resource name for the service.
// Example: "services/6F81-5844-456A"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The identifier for the service.
// Example: "6F81-5844-456A"
ServiceId string `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
// A human readable display name for this service.
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The business under which the service is offered.
// Ex. "businessEntities/GCP", "businessEntities/Maps"
BusinessEntityName string `protobuf:"bytes,4,opt,name=business_entity_name,json=businessEntityName,proto3" json:"business_entity_name,omitempty"`
// contains filtered or unexported fields
}Encapsulates a single service in Google Cloud Platform.
func (*Service) Descriptor
Deprecated: Use Service.ProtoReflect.Descriptor instead.
func (*Service) GetBusinessEntityName
func (*Service) GetDisplayName
func (*Service) GetName
func (*Service) GetServiceId
func (*Service) ProtoMessage
func (*Service) ProtoMessage()func (*Service) ProtoReflect
func (x *Service) ProtoReflect() protoreflect.Messagefunc (*Service) Reset
func (x *Service) Reset()func (*Service) String
Sku
type Sku struct {
// The resource name for the SKU.
// Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The identifier for the SKU.
// Example: "D041-B8A1-6E0B"
SkuId string `protobuf:"bytes,2,opt,name=sku_id,json=skuId,proto3" json:"sku_id,omitempty"`
// A human readable description of the SKU, has a maximum length of 256
// characters.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// The category hierarchy of this SKU, purely for organizational purpose.
Category *Category `protobuf:"bytes,4,opt,name=category,proto3" json:"category,omitempty"`
// List of service regions this SKU is offered at.
// Example: "asia-east1"
// Service regions can be found at https://cloud.google.com/about/locations/
ServiceRegions []string `protobuf:"bytes,5,rep,name=service_regions,json=serviceRegions,proto3" json:"service_regions,omitempty"`
// A timeline of pricing info for this SKU in chronological order.
PricingInfo []*PricingInfo `protobuf:"bytes,6,rep,name=pricing_info,json=pricingInfo,proto3" json:"pricing_info,omitempty"`
// Identifies the service provider.
// This is 'Google' for first party services in Google Cloud Platform.
ServiceProviderName string `protobuf:"bytes,7,opt,name=service_provider_name,json=serviceProviderName,proto3" json:"service_provider_name,omitempty"`
// The geographic taxonomy for this sku.
GeoTaxonomy *GeoTaxonomy `protobuf:"bytes,8,opt,name=geo_taxonomy,json=geoTaxonomy,proto3" json:"geo_taxonomy,omitempty"`
// contains filtered or unexported fields
}Encapsulates a single SKU in Google Cloud
func (*Sku) Descriptor
Deprecated: Use Sku.ProtoReflect.Descriptor instead.
func (*Sku) GetCategory
func (*Sku) GetDescription
func (*Sku) GetGeoTaxonomy
func (x *Sku) GetGeoTaxonomy() *GeoTaxonomyfunc (*Sku) GetName
func (*Sku) GetPricingInfo
func (x *Sku) GetPricingInfo() []*PricingInfofunc (*Sku) GetServiceProviderName
func (*Sku) GetServiceRegions
func (*Sku) GetSkuId
func (*Sku) ProtoMessage
func (*Sku) ProtoMessage()func (*Sku) ProtoReflect
func (x *Sku) ProtoReflect() protoreflect.Messagefunc (*Sku) Reset
func (x *Sku) Reset()func (*Sku) String
UnimplementedCloudBillingServer
type UnimplementedCloudBillingServer struct {
}UnimplementedCloudBillingServer should be embedded to have forward compatible implementations.
func (UnimplementedCloudBillingServer) CreateBillingAccount
func (UnimplementedCloudBillingServer) CreateBillingAccount(context.Context, *CreateBillingAccountRequest) (*BillingAccount, error)func (UnimplementedCloudBillingServer) GetBillingAccount
func (UnimplementedCloudBillingServer) GetBillingAccount(context.Context, *GetBillingAccountRequest) (*BillingAccount, error)func (UnimplementedCloudBillingServer) GetIamPolicy
func (UnimplementedCloudBillingServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)func (UnimplementedCloudBillingServer) GetProjectBillingInfo
func (UnimplementedCloudBillingServer) GetProjectBillingInfo(context.Context, *GetProjectBillingInfoRequest) (*ProjectBillingInfo, error)func (UnimplementedCloudBillingServer) ListBillingAccounts
func (UnimplementedCloudBillingServer) ListBillingAccounts(context.Context, *ListBillingAccountsRequest) (*ListBillingAccountsResponse, error)func (UnimplementedCloudBillingServer) ListProjectBillingInfo
func (UnimplementedCloudBillingServer) ListProjectBillingInfo(context.Context, *ListProjectBillingInfoRequest) (*ListProjectBillingInfoResponse, error)func (UnimplementedCloudBillingServer) MoveBillingAccount
func (UnimplementedCloudBillingServer) MoveBillingAccount(context.Context, *MoveBillingAccountRequest) (*BillingAccount, error)func (UnimplementedCloudBillingServer) SetIamPolicy
func (UnimplementedCloudBillingServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)func (UnimplementedCloudBillingServer) TestIamPermissions
func (UnimplementedCloudBillingServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)func (UnimplementedCloudBillingServer) UpdateBillingAccount
func (UnimplementedCloudBillingServer) UpdateBillingAccount(context.Context, *UpdateBillingAccountRequest) (*BillingAccount, error)func (UnimplementedCloudBillingServer) UpdateProjectBillingInfo
func (UnimplementedCloudBillingServer) UpdateProjectBillingInfo(context.Context, *UpdateProjectBillingInfoRequest) (*ProjectBillingInfo, error)UnimplementedCloudCatalogServer
type UnimplementedCloudCatalogServer struct {
}UnimplementedCloudCatalogServer should be embedded to have forward compatible implementations.
func (UnimplementedCloudCatalogServer) ListServices
func (UnimplementedCloudCatalogServer) ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)func (UnimplementedCloudCatalogServer) ListSkus
func (UnimplementedCloudCatalogServer) ListSkus(context.Context, *ListSkusRequest) (*ListSkusResponse, error)UnsafeCloudBillingServer
type UnsafeCloudBillingServer interface {
// contains filtered or unexported methods
}UnsafeCloudBillingServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CloudBillingServer will result in compilation errors.
UnsafeCloudCatalogServer
type UnsafeCloudCatalogServer interface {
// contains filtered or unexported methods
}UnsafeCloudCatalogServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CloudCatalogServer will result in compilation errors.
UpdateBillingAccountRequest
type UpdateBillingAccountRequest struct {
// Required. The name of the billing account resource to be updated.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The billing account resource to replace the resource on the
// server.
Account *BillingAccount `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
// The update mask applied to the resource.
// Only "display_name" is currently supported.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}Request message for UpdateBillingAccount.
func (*UpdateBillingAccountRequest) Descriptor
func (*UpdateBillingAccountRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateBillingAccountRequest.ProtoReflect.Descriptor instead.
func (*UpdateBillingAccountRequest) GetAccount
func (x *UpdateBillingAccountRequest) GetAccount() *BillingAccountfunc (*UpdateBillingAccountRequest) GetName
func (x *UpdateBillingAccountRequest) GetName() stringfunc (*UpdateBillingAccountRequest) GetUpdateMask
func (x *UpdateBillingAccountRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateBillingAccountRequest) ProtoMessage
func (*UpdateBillingAccountRequest) ProtoMessage()func (*UpdateBillingAccountRequest) ProtoReflect
func (x *UpdateBillingAccountRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateBillingAccountRequest) Reset
func (x *UpdateBillingAccountRequest) Reset()func (*UpdateBillingAccountRequest) String
func (x *UpdateBillingAccountRequest) String() stringUpdateProjectBillingInfoRequest
type UpdateProjectBillingInfoRequest struct {
// Required. The resource name of the project associated with the billing
// information that you want to update. For example,
// `projects/tokyo-rain-123`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The new billing information for the project. Output-only fields are
// ignored; thus, you can leave empty all fields except
// `billing_account_name`.
ProjectBillingInfo *ProjectBillingInfo `protobuf:"bytes,2,opt,name=project_billing_info,json=projectBillingInfo,proto3" json:"project_billing_info,omitempty"`
// contains filtered or unexported fields
}Request message for UpdateProjectBillingInfo.
func (*UpdateProjectBillingInfoRequest) Descriptor
func (*UpdateProjectBillingInfoRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateProjectBillingInfoRequest.ProtoReflect.Descriptor instead.
func (*UpdateProjectBillingInfoRequest) GetName
func (x *UpdateProjectBillingInfoRequest) GetName() stringfunc (*UpdateProjectBillingInfoRequest) GetProjectBillingInfo
func (x *UpdateProjectBillingInfoRequest) GetProjectBillingInfo() *ProjectBillingInfofunc (*UpdateProjectBillingInfoRequest) ProtoMessage
func (*UpdateProjectBillingInfoRequest) ProtoMessage()func (*UpdateProjectBillingInfoRequest) ProtoReflect
func (x *UpdateProjectBillingInfoRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateProjectBillingInfoRequest) Reset
func (x *UpdateProjectBillingInfoRequest) Reset()func (*UpdateProjectBillingInfoRequest) String
func (x *UpdateProjectBillingInfoRequest) String() string