Package cloud.google.com/go/billing/apiv1/billingpb (v1.13.1)

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.

File_google_cloud_billing_v1_cloud_billing_proto

var File_google_cloud_billing_v1_cloud_billing_proto protoreflect.FileDescriptor

File_google_cloud_billing_v1_cloud_catalog_proto

var File_google_cloud_billing_v1_cloud_catalog_proto protoreflect.FileDescriptor

Functions

func RegisterCloudBillingServer

func RegisterCloudBillingServer(s *grpc.Server, srv CloudBillingServer)

func RegisterCloudCatalogServer

func RegisterCloudCatalogServer(s *grpc.Server, srv CloudCatalogServer)

AggregationInfo

type AggregationInfo struct {
	AggregationLevel    AggregationInfo_AggregationLevel    "" /* 172 byte string literal not displayed */
	AggregationInterval AggregationInfo_AggregationInterval "" /* 184 byte string literal not displayed */

	AggregationCount int32 `protobuf:"varint,3,opt,name=aggregation_count,json=aggregationCount,proto3" json:"aggregation_count,omitempty"`

}

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() int32

func (*AggregationInfo) GetAggregationInterval

func (x *AggregationInfo) GetAggregationInterval() AggregationInfo_AggregationInterval

func (*AggregationInfo) GetAggregationLevel

func (x *AggregationInfo) GetAggregationLevel() AggregationInfo_AggregationLevel

func (*AggregationInfo) ProtoMessage

func (*AggregationInfo) ProtoMessage()

func (*AggregationInfo) ProtoReflect

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

func (*AggregationInfo) Reset

func (x *AggregationInfo) Reset()

func (*AggregationInfo) String

func (x *AggregationInfo) String() string

AggregationInfo_AggregationInterval

type AggregationInfo_AggregationInterval int32

The 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) Enum

func (AggregationInfo_AggregationInterval) EnumDescriptor

func (AggregationInfo_AggregationInterval) EnumDescriptor() ([]byte, []int)

Deprecated: Use AggregationInfo_AggregationInterval.Descriptor instead.

func (AggregationInfo_AggregationInterval) Number

func (AggregationInfo_AggregationInterval) String

func (AggregationInfo_AggregationInterval) Type

AggregationInfo_AggregationLevel

type AggregationInfo_AggregationLevel int32

The 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) Enum

func (AggregationInfo_AggregationLevel) EnumDescriptor

func (AggregationInfo_AggregationLevel) EnumDescriptor() ([]byte, []int)

Deprecated: Use AggregationInfo_AggregationLevel.Descriptor instead.

func (AggregationInfo_AggregationLevel) Number

func (AggregationInfo_AggregationLevel) String

func (AggregationInfo_AggregationLevel) Type

BillingAccount

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 will be 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"`
	// 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) GetDisplayName

func (x *BillingAccount) GetDisplayName() string

func (*BillingAccount) GetMasterBillingAccount

func (x *BillingAccount) GetMasterBillingAccount() string

func (*BillingAccount) GetName

func (x *BillingAccount) GetName() string

func (*BillingAccount) GetOpen

func (x *BillingAccount) GetOpen() bool

func (*BillingAccount) ProtoMessage

func (*BillingAccount) ProtoMessage()

func (*BillingAccount) ProtoReflect

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

func (*BillingAccount) Reset

func (x *BillingAccount) Reset()

func (*BillingAccount) String

func (x *BillingAccount) String() string

Category

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

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

Deprecated: Use Category.ProtoReflect.Descriptor instead.

func (*Category) GetResourceFamily

func (x *Category) GetResourceFamily() string

func (*Category) GetResourceGroup

func (x *Category) GetResourceGroup() string

func (*Category) GetServiceDisplayName

func (x *Category) GetServiceDisplayName() string

func (*Category) GetUsageType

func (x *Category) GetUsageType() string

func (*Category) ProtoMessage

func (*Category) ProtoMessage()

func (*Category) ProtoReflect

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

func (*Category) Reset

func (x *Category) Reset()

func (*Category) String

func (x *Category) String() 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 as a reseller account.
	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)
}

CloudBillingClient is the client API for CloudBilling service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCloudBillingClient

func NewCloudBillingClient(cc grpc.ClientConnInterface) CloudBillingClient

CloudBillingServer

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 as a reseller account.
	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)
}

CloudBillingServer is the server API for CloudBilling service.

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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCloudCatalogClient

func NewCloudCatalogClient(cc grpc.ClientConnInterface) CloudCatalogClient

CloudCatalogServer

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.

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"`
	// 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() *BillingAccount

func (*CreateBillingAccountRequest) ProtoMessage

func (*CreateBillingAccountRequest) ProtoMessage()

func (*CreateBillingAccountRequest) ProtoReflect

func (*CreateBillingAccountRequest) Reset

func (x *CreateBillingAccountRequest) Reset()

func (*CreateBillingAccountRequest) String

func (x *CreateBillingAccountRequest) String() string

GeoTaxonomy

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() []string

func (*GeoTaxonomy) GetType

func (x *GeoTaxonomy) GetType() GeoTaxonomy_Type

func (*GeoTaxonomy) ProtoMessage

func (*GeoTaxonomy) ProtoMessage()

func (*GeoTaxonomy) ProtoReflect

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

func (*GeoTaxonomy) Reset

func (x *GeoTaxonomy) Reset()

func (*GeoTaxonomy) String

func (x *GeoTaxonomy) String() string

GeoTaxonomy_Type

type GeoTaxonomy_Type int32

The 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) Enum

func (GeoTaxonomy_Type) EnumDescriptor

func (GeoTaxonomy_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use GeoTaxonomy_Type.Descriptor instead.

func (GeoTaxonomy_Type) Number

func (GeoTaxonomy_Type) String

func (x GeoTaxonomy_Type) String() string

func (GeoTaxonomy_Type) Type

GetBillingAccountRequest

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() 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) String

func (x *GetBillingAccountRequest) String() string

GetProjectBillingInfoRequest

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() string

func (*GetProjectBillingInfoRequest) ProtoMessage

func (*GetProjectBillingInfoRequest) ProtoMessage()

func (*GetProjectBillingInfoRequest) ProtoReflect

func (*GetProjectBillingInfoRequest) Reset

func (x *GetProjectBillingInfoRequest) Reset()

func (*GetProjectBillingInfoRequest) String

ListBillingAccountsRequest

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.
	// Currently this only supports filtering for
	// [subaccounts](https://cloud.google.com/billing/docs/concepts) under a
	// single provided reseller billing account.
	// (e.g. "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"`
	// 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() string

func (*ListBillingAccountsRequest) GetPageSize

func (x *ListBillingAccountsRequest) GetPageSize() int32

func (*ListBillingAccountsRequest) GetPageToken

func (x *ListBillingAccountsRequest) GetPageToken() string

func (*ListBillingAccountsRequest) ProtoMessage

func (*ListBillingAccountsRequest) ProtoMessage()

func (*ListBillingAccountsRequest) ProtoReflect

func (*ListBillingAccountsRequest) Reset

func (x *ListBillingAccountsRequest) Reset()

func (*ListBillingAccountsRequest) String

func (x *ListBillingAccountsRequest) String() string

ListBillingAccountsResponse

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() []*BillingAccount

func (*ListBillingAccountsResponse) GetNextPageToken

func (x *ListBillingAccountsResponse) GetNextPageToken() string

func (*ListBillingAccountsResponse) ProtoMessage

func (*ListBillingAccountsResponse) ProtoMessage()

func (*ListBillingAccountsResponse) ProtoReflect

func (*ListBillingAccountsResponse) Reset

func (x *ListBillingAccountsResponse) Reset()

func (*ListBillingAccountsResponse) String

func (x *ListBillingAccountsResponse) String() string

ListProjectBillingInfoRequest

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 (*ListProjectBillingInfoRequest) GetPageSize

func (x *ListProjectBillingInfoRequest) GetPageSize() int32

func (*ListProjectBillingInfoRequest) GetPageToken

func (x *ListProjectBillingInfoRequest) GetPageToken() string

func (*ListProjectBillingInfoRequest) ProtoMessage

func (*ListProjectBillingInfoRequest) ProtoMessage()

func (*ListProjectBillingInfoRequest) ProtoReflect

func (*ListProjectBillingInfoRequest) Reset

func (x *ListProjectBillingInfoRequest) Reset()

func (*ListProjectBillingInfoRequest) String

ListProjectBillingInfoResponse

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() string

func (*ListProjectBillingInfoResponse) GetProjectBillingInfo

func (x *ListProjectBillingInfoResponse) GetProjectBillingInfo() []*ProjectBillingInfo

func (*ListProjectBillingInfoResponse) ProtoMessage

func (*ListProjectBillingInfoResponse) ProtoMessage()

func (*ListProjectBillingInfoResponse) ProtoReflect

func (*ListProjectBillingInfoResponse) Reset

func (x *ListProjectBillingInfoResponse) Reset()

func (*ListProjectBillingInfoResponse) String

ListServicesRequest

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() int32

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) String

func (x *ListServicesRequest) String() string

ListServicesResponse

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() 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) String

func (x *ListServicesResponse) String() string

ListSkusRequest

type ListSkusRequest struct {

	// Required. The name of the service.
	// Example: "services/DA34-426B-A397"
	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() string

func (*ListSkusRequest) GetEndTime

func (x *ListSkusRequest) GetEndTime() *timestamppb.Timestamp

func (*ListSkusRequest) GetPageSize

func (x *ListSkusRequest) GetPageSize() int32

func (*ListSkusRequest) GetPageToken

func (x *ListSkusRequest) GetPageToken() string

func (*ListSkusRequest) GetParent

func (x *ListSkusRequest) GetParent() string

func (*ListSkusRequest) GetStartTime

func (x *ListSkusRequest) GetStartTime() *timestamppb.Timestamp

func (*ListSkusRequest) ProtoMessage

func (*ListSkusRequest) ProtoMessage()

func (*ListSkusRequest) ProtoReflect

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

func (*ListSkusRequest) Reset

func (x *ListSkusRequest) Reset()

func (*ListSkusRequest) String

func (x *ListSkusRequest) String() string

ListSkusResponse

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() 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) String

func (x *ListSkusResponse) String() string

PricingExpression

type PricingExpression struct {
	UsageUnit string `protobuf:"bytes,1,opt,name=usage_unit,json=usageUnit,proto3" json:"usage_unit,omitempty"`

	DisplayQuantity float64 `protobuf:"fixed64,2,opt,name=display_quantity,json=displayQuantity,proto3" json:"display_quantity,omitempty"`

	TieredRates []*PricingExpression_TierRate `protobuf:"bytes,3,rep,name=tiered_rates,json=tieredRates,proto3" json:"tiered_rates,omitempty"`

	UsageUnitDescription string `protobuf:"bytes,4,opt,name=usage_unit_description,json=usageUnitDescription,proto3" json:"usage_unit_description,omitempty"`

	BaseUnit string `protobuf:"bytes,5,opt,name=base_unit,json=baseUnit,proto3" json:"base_unit,omitempty"`

	BaseUnitDescription string `protobuf:"bytes,6,opt,name=base_unit_description,json=baseUnitDescription,proto3" json:"base_unit_description,omitempty"`

	BaseUnitConversionFactor float64 "" /* 139 byte string literal not displayed */

}

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() string

func (*PricingExpression) GetBaseUnitConversionFactor

func (x *PricingExpression) GetBaseUnitConversionFactor() float64

func (*PricingExpression) GetBaseUnitDescription

func (x *PricingExpression) GetBaseUnitDescription() string

func (*PricingExpression) GetDisplayQuantity

func (x *PricingExpression) GetDisplayQuantity() float64

func (*PricingExpression) GetTieredRates

func (x *PricingExpression) GetTieredRates() []*PricingExpression_TierRate

func (*PricingExpression) GetUsageUnit

func (x *PricingExpression) GetUsageUnit() string

func (*PricingExpression) GetUsageUnitDescription

func (x *PricingExpression) GetUsageUnitDescription() string

func (*PricingExpression) ProtoMessage

func (*PricingExpression) ProtoMessage()

func (*PricingExpression) ProtoReflect

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

func (*PricingExpression) Reset

func (x *PricingExpression) Reset()

func (*PricingExpression) String

func (x *PricingExpression) String() string

PricingExpression_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() float64

func (*PricingExpression_TierRate) GetUnitPrice

func (x *PricingExpression_TierRate) GetUnitPrice() *money.Money

func (*PricingExpression_TierRate) ProtoMessage

func (*PricingExpression_TierRate) ProtoMessage()

func (*PricingExpression_TierRate) ProtoReflect

func (*PricingExpression_TierRate) Reset

func (x *PricingExpression_TierRate) Reset()

func (*PricingExpression_TierRate) String

func (x *PricingExpression_TierRate) String() string

PricingInfo

type PricingInfo struct {
	EffectiveTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=effective_time,json=effectiveTime,proto3" json:"effective_time,omitempty"`

	Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`

	PricingExpression *PricingExpression `protobuf:"bytes,3,opt,name=pricing_expression,json=pricingExpression,proto3" json:"pricing_expression,omitempty"`

	AggregationInfo *AggregationInfo `protobuf:"bytes,4,opt,name=aggregation_info,json=aggregationInfo,proto3" json:"aggregation_info,omitempty"`

	CurrencyConversionRate float64 "" /* 131 byte string literal not displayed */

}

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() *AggregationInfo

func (*PricingInfo) GetCurrencyConversionRate

func (x *PricingInfo) GetCurrencyConversionRate() float64

func (*PricingInfo) GetEffectiveTime

func (x *PricingInfo) GetEffectiveTime() *timestamppb.Timestamp

func (*PricingInfo) GetPricingExpression

func (x *PricingInfo) GetPricingExpression() *PricingExpression

func (*PricingInfo) GetSummary

func (x *PricingInfo) GetSummary() string

func (*PricingInfo) ProtoMessage

func (*PricingInfo) ProtoMessage()

func (*PricingInfo) ProtoReflect

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

func (*PricingInfo) Reset

func (x *PricingInfo) Reset()

func (*PricingInfo) String

func (x *PricingInfo) String() string

ProjectBillingInfo

type ProjectBillingInfo struct {

	// 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`. This field is read-only.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// 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. This field is read-only.
	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"`
	// 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. This field is read-only.
	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() string

func (*ProjectBillingInfo) GetBillingEnabled

func (x *ProjectBillingInfo) GetBillingEnabled() bool

func (*ProjectBillingInfo) GetName

func (x *ProjectBillingInfo) GetName() string

func (*ProjectBillingInfo) GetProjectId

func (x *ProjectBillingInfo) GetProjectId() string

func (*ProjectBillingInfo) ProtoMessage

func (*ProjectBillingInfo) ProtoMessage()

func (*ProjectBillingInfo) ProtoReflect

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

func (*ProjectBillingInfo) Reset

func (x *ProjectBillingInfo) Reset()

func (*ProjectBillingInfo) String

func (x *ProjectBillingInfo) String() string

Service

type Service struct {

	// The resource name for the service.
	// Example: "services/DA34-426B-A397"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The identifier for the service.
	// Example: "DA34-426B-A397"
	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

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetBusinessEntityName

func (x *Service) GetBusinessEntityName() string

func (*Service) GetDisplayName

func (x *Service) GetDisplayName() string

func (*Service) GetName

func (x *Service) GetName() string

func (*Service) GetServiceId

func (x *Service) GetServiceId() string

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

Sku

type Sku struct {

	// The resource name for the SKU.
	// Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The identifier for the SKU.
	// Example: "AA95-CD31-42FE"
	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 Platform

func (*Sku) Descriptor

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

Deprecated: Use Sku.ProtoReflect.Descriptor instead.

func (*Sku) GetCategory

func (x *Sku) GetCategory() *Category

func (*Sku) GetDescription

func (x *Sku) GetDescription() string

func (*Sku) GetGeoTaxonomy

func (x *Sku) GetGeoTaxonomy() *GeoTaxonomy

func (*Sku) GetName

func (x *Sku) GetName() string

func (*Sku) GetPricingInfo

func (x *Sku) GetPricingInfo() []*PricingInfo

func (*Sku) GetServiceProviderName

func (x *Sku) GetServiceProviderName() string

func (*Sku) GetServiceRegions

func (x *Sku) GetServiceRegions() []string

func (*Sku) GetSkuId

func (x *Sku) GetSkuId() string

func (*Sku) ProtoMessage

func (*Sku) ProtoMessage()

func (*Sku) ProtoReflect

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

func (*Sku) Reset

func (x *Sku) Reset()

func (*Sku) String

func (x *Sku) String() string

UnimplementedCloudBillingServer

type UnimplementedCloudBillingServer struct {
}

UnimplementedCloudBillingServer can be embedded to have forward compatible implementations.

func (*UnimplementedCloudBillingServer) CreateBillingAccount

func (*UnimplementedCloudBillingServer) GetBillingAccount

func (*UnimplementedCloudBillingServer) GetIamPolicy

func (*UnimplementedCloudBillingServer) GetProjectBillingInfo

func (*UnimplementedCloudBillingServer) ListBillingAccounts

func (*UnimplementedCloudBillingServer) ListProjectBillingInfo

func (*UnimplementedCloudBillingServer) SetIamPolicy

func (*UnimplementedCloudBillingServer) TestIamPermissions

func (*UnimplementedCloudBillingServer) UpdateBillingAccount

func (*UnimplementedCloudBillingServer) UpdateProjectBillingInfo

UnimplementedCloudCatalogServer

type UnimplementedCloudCatalogServer struct {
}

UnimplementedCloudCatalogServer can be embedded to have forward compatible implementations.

func (*UnimplementedCloudCatalogServer) ListServices

func (*UnimplementedCloudCatalogServer) ListSkus

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 (*UpdateBillingAccountRequest) GetName

func (x *UpdateBillingAccountRequest) GetName() string

func (*UpdateBillingAccountRequest) GetUpdateMask

func (*UpdateBillingAccountRequest) ProtoMessage

func (*UpdateBillingAccountRequest) ProtoMessage()

func (*UpdateBillingAccountRequest) ProtoReflect

func (*UpdateBillingAccountRequest) Reset

func (x *UpdateBillingAccountRequest) Reset()

func (*UpdateBillingAccountRequest) String

func (x *UpdateBillingAccountRequest) String() string

UpdateProjectBillingInfoRequest

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. Read-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 (*UpdateProjectBillingInfoRequest) GetProjectBillingInfo

func (x *UpdateProjectBillingInfoRequest) GetProjectBillingInfo() *ProjectBillingInfo

func (*UpdateProjectBillingInfoRequest) ProtoMessage

func (*UpdateProjectBillingInfoRequest) ProtoMessage()

func (*UpdateProjectBillingInfoRequest) ProtoReflect

func (*UpdateProjectBillingInfoRequest) Reset

func (*UpdateProjectBillingInfoRequest) String