...

Package billing

import "google.golang.org/genproto/googleapis/cloud/billing/v1"
Overview
Index

Overview ▾

Package billing aliases all exported identifiers in package "cloud.google.com/go/billing/apiv1/billingpb".

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb. Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md for more details.

Constants

Deprecated: Please use consts in: cloud.google.com/go/billing/apiv1/billingpb

const (
    AggregationInfo_ACCOUNT                          = src.AggregationInfo_ACCOUNT
    AggregationInfo_AGGREGATION_INTERVAL_UNSPECIFIED = src.AggregationInfo_AGGREGATION_INTERVAL_UNSPECIFIED
    AggregationInfo_AGGREGATION_LEVEL_UNSPECIFIED    = src.AggregationInfo_AGGREGATION_LEVEL_UNSPECIFIED
    AggregationInfo_DAILY                            = src.AggregationInfo_DAILY
    AggregationInfo_MONTHLY                          = src.AggregationInfo_MONTHLY
    AggregationInfo_PROJECT                          = src.AggregationInfo_PROJECT
)

Variables

Deprecated: Please use vars in: cloud.google.com/go/billing/apiv1/billingpb

var (
    AggregationInfo_AggregationInterval_name         = src.AggregationInfo_AggregationInterval_name
    AggregationInfo_AggregationInterval_value        = src.AggregationInfo_AggregationInterval_value
    AggregationInfo_AggregationLevel_name            = src.AggregationInfo_AggregationLevel_name
    AggregationInfo_AggregationLevel_value           = src.AggregationInfo_AggregationLevel_value
    File_google_cloud_billing_v1_cloud_billing_proto = src.File_google_cloud_billing_v1_cloud_billing_proto
    File_google_cloud_billing_v1_cloud_catalog_proto = src.File_google_cloud_billing_v1_cloud_catalog_proto
)

func RegisterCloudBillingServer

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

Deprecated: Please use funcs in: cloud.google.com/go/billing/apiv1/billingpb

func RegisterCloudCatalogServer

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

Deprecated: Please use funcs in: cloud.google.com/go/billing/apiv1/billingpb

type AggregationInfo

Represents the aggregation level and interval for pricing of a single SKU.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type AggregationInfo = src.AggregationInfo

type AggregationInfo_AggregationInterval

The interval at which usage is aggregated to compute cost. Example: "MONTHLY" aggregation interval indicates that usage for tiered pricing is aggregated every month.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type AggregationInfo_AggregationInterval = src.AggregationInfo_AggregationInterval

type AggregationInfo_AggregationLevel

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.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type AggregationInfo_AggregationLevel = src.AggregationInfo_AggregationLevel

type BillingAccount

A billing account in [GCP Console](https://console.cloud.google.com/). You can assign a billing account to one or more projects.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type BillingAccount = src.BillingAccount

type Category

Represents the category hierarchy of a SKU.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type Category = src.Category

type CloudBillingClient

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.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type CloudBillingClient = src.CloudBillingClient

func NewCloudBillingClient

func NewCloudBillingClient(cc grpc.ClientConnInterface) CloudBillingClient

Deprecated: Please use funcs in: cloud.google.com/go/billing/apiv1/billingpb

type CloudBillingServer

CloudBillingServer is the server API for CloudBilling service.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type CloudBillingServer = src.CloudBillingServer

type CloudCatalogClient

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.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type CloudCatalogClient = src.CloudCatalogClient

func NewCloudCatalogClient

func NewCloudCatalogClient(cc grpc.ClientConnInterface) CloudCatalogClient

Deprecated: Please use funcs in: cloud.google.com/go/billing/apiv1/billingpb

type CloudCatalogServer

CloudCatalogServer is the server API for CloudCatalog service.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type CloudCatalogServer = src.CloudCatalogServer

type CreateBillingAccountRequest

Request message for `CreateBillingAccount`.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type CreateBillingAccountRequest = src.CreateBillingAccountRequest

type GetBillingAccountRequest

Request message for `GetBillingAccount`.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type GetBillingAccountRequest = src.GetBillingAccountRequest

type GetProjectBillingInfoRequest

Request message for `GetProjectBillingInfo`.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type GetProjectBillingInfoRequest = src.GetProjectBillingInfoRequest

type ListBillingAccountsRequest

Request message for `ListBillingAccounts`.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type ListBillingAccountsRequest = src.ListBillingAccountsRequest

type ListBillingAccountsResponse

Response message for `ListBillingAccounts`.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type ListBillingAccountsResponse = src.ListBillingAccountsResponse

type ListProjectBillingInfoRequest

Request message for `ListProjectBillingInfo`.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type ListProjectBillingInfoRequest = src.ListProjectBillingInfoRequest

type ListProjectBillingInfoResponse

Request message for `ListProjectBillingInfoResponse`.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type ListProjectBillingInfoResponse = src.ListProjectBillingInfoResponse

type ListServicesRequest

Request message for `ListServices`.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type ListServicesRequest = src.ListServicesRequest

type ListServicesResponse

Response message for `ListServices`.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type ListServicesResponse = src.ListServicesResponse

type ListSkusRequest

Request message for `ListSkus`.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type ListSkusRequest = src.ListSkusRequest

type ListSkusResponse

Response message for `ListSkus`.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type ListSkusResponse = src.ListSkusResponse

type PricingExpression

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.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type PricingExpression = src.PricingExpression

type PricingExpression_TierRate

The price rate indicating starting usage and its corresponding price.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type PricingExpression_TierRate = src.PricingExpression_TierRate

type PricingInfo

Represents the pricing information for a SKU at a single point of time.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type PricingInfo = src.PricingInfo

type ProjectBillingInfo

Encapsulation of billing information for a GCP Console project. A project has at most one associated billing account at a time (but a billing account can be assigned to multiple projects).

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type ProjectBillingInfo = src.ProjectBillingInfo

type Service

Encapsulates a single service in Google Cloud Platform.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type Service = src.Service

type Sku

Encapsulates a single SKU in Google Cloud Platform

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type Sku = src.Sku

type UnimplementedCloudBillingServer

UnimplementedCloudBillingServer can be embedded to have forward compatible implementations.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type UnimplementedCloudBillingServer = src.UnimplementedCloudBillingServer

type UnimplementedCloudCatalogServer

UnimplementedCloudCatalogServer can be embedded to have forward compatible implementations.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type UnimplementedCloudCatalogServer = src.UnimplementedCloudCatalogServer

type UpdateBillingAccountRequest

Request message for `UpdateBillingAccount`.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type UpdateBillingAccountRequest = src.UpdateBillingAccountRequest

type UpdateProjectBillingInfoRequest

Request message for `UpdateProjectBillingInfo`.

Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb

type UpdateProjectBillingInfoRequest = src.UpdateProjectBillingInfoRequest