@Generated("by gapic-generator-java")
Package com.google.cloud.billing.v1
A client to Cloud Billing API
The interfaces provided are listed below, along with usage samples.
======================= CloudBillingClient =======================
Service Description: Retrieves the Google Cloud Console billing accounts and associates them with projects.
Sample for CloudBillingClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudBillingClient cloudBillingClient = CloudBillingClient.create()) {
BillingAccountName name = BillingAccountName.of("[BILLING_ACCOUNT]");
BillingAccount response = cloudBillingClient.getBillingAccount(name);
}
======================= CloudCatalogClient =======================
Service Description: A catalog of Google Cloud Platform services and SKUs. Provides pricing information and metadata on Google Cloud Platform services and SKUs.
Sample for CloudCatalogClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudCatalogClient cloudCatalogClient = CloudCatalogClient.create()) {
for (Service element : cloudCatalogClient.listServices().iterateAll()) {
// doThingsWith(element);
}
}
-
Interface Summary Interface Description AggregationInfoOrBuilder BillingAccountOrBuilder CategoryOrBuilder CloudBillingGrpc.AsyncService Retrieves the Google Cloud Console billing accounts and associates them with projects.CloudCatalogGrpc.AsyncService A catalog of Google Cloud Platform services and SKUs.CreateBillingAccountRequestOrBuilder GeoTaxonomyOrBuilder GetBillingAccountRequestOrBuilder GetProjectBillingInfoRequestOrBuilder ListBillingAccountsRequestOrBuilder ListBillingAccountsResponseOrBuilder ListProjectBillingInfoRequestOrBuilder ListProjectBillingInfoResponseOrBuilder ListServicesRequestOrBuilder ListServicesResponseOrBuilder ListSkusRequestOrBuilder ListSkusResponseOrBuilder PricingExpression.TierRateOrBuilder PricingExpressionOrBuilder PricingInfoOrBuilder ProjectBillingInfoOrBuilder ServiceOrBuilder SkuOrBuilder UpdateBillingAccountRequestOrBuilder UpdateProjectBillingInfoRequestOrBuilder -
Class Summary Class Description AggregationInfo Represents the aggregation level and interval for pricing of a single SKU.AggregationInfo.Builder Represents the aggregation level and interval for pricing of a single SKU.BillingAccount A billing account in the [Google Cloud Console](https://console.cloud.google.com/).BillingAccount.Builder A billing account in the [Google Cloud Console](https://console.cloud.google.com/).BillingAccountName BillingAccountName.Builder Builder for billingAccounts/{billing_account}.Category Represents the category hierarchy of a SKU.Category.Builder Represents the category hierarchy of a SKU.CloudBillingClient Service Description: Retrieves the Google Cloud Console billing accounts and associates them with projects.CloudBillingClient.ListBillingAccountsFixedSizeCollection CloudBillingClient.ListBillingAccountsPage CloudBillingClient.ListBillingAccountsPagedResponse CloudBillingClient.ListProjectBillingInfoFixedSizeCollection CloudBillingClient.ListProjectBillingInfoPage CloudBillingClient.ListProjectBillingInfoPagedResponse CloudBillingGrpc Retrieves the Google Cloud Console billing accounts and associates them with projects.CloudBillingGrpc.CloudBillingBlockingStub A stub to allow clients to do synchronous rpc calls to service CloudBilling.CloudBillingGrpc.CloudBillingFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service CloudBilling.CloudBillingGrpc.CloudBillingImplBase Base class for the server implementation of the service CloudBilling.CloudBillingGrpc.CloudBillingStub A stub to allow clients to do asynchronous rpc calls to service CloudBilling.CloudBillingProto CloudBillingSettings Settings class to configure an instance ofCloudBillingClient
.CloudBillingSettings.Builder Builder for CloudBillingSettings.CloudCatalogClient Service Description: A catalog of Google Cloud Platform services and SKUs.CloudCatalogClient.ListServicesFixedSizeCollection CloudCatalogClient.ListServicesPage CloudCatalogClient.ListServicesPagedResponse CloudCatalogClient.ListSkusFixedSizeCollection CloudCatalogClient.ListSkusPage CloudCatalogClient.ListSkusPagedResponse CloudCatalogGrpc A catalog of Google Cloud Platform services and SKUs.CloudCatalogGrpc.CloudCatalogBlockingStub A stub to allow clients to do synchronous rpc calls to service CloudCatalog.CloudCatalogGrpc.CloudCatalogFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service CloudCatalog.CloudCatalogGrpc.CloudCatalogImplBase Base class for the server implementation of the service CloudCatalog.CloudCatalogGrpc.CloudCatalogStub A stub to allow clients to do asynchronous rpc calls to service CloudCatalog.CloudCatalogProto CloudCatalogSettings Settings class to configure an instance ofCloudCatalogClient
.CloudCatalogSettings.Builder Builder for CloudCatalogSettings.CreateBillingAccountRequest Request message for `CreateBillingAccount`.CreateBillingAccountRequest.Builder Request message for `CreateBillingAccount`.GeoTaxonomy Encapsulates the geographic taxonomy data for a sku.GeoTaxonomy.Builder Encapsulates the geographic taxonomy data for a sku.GetBillingAccountRequest Request message for `GetBillingAccount`.GetBillingAccountRequest.Builder Request message for `GetBillingAccount`.GetProjectBillingInfoRequest Request message for `GetProjectBillingInfo`.GetProjectBillingInfoRequest.Builder Request message for `GetProjectBillingInfo`.ListBillingAccountsRequest Request message for `ListBillingAccounts`.ListBillingAccountsRequest.Builder Request message for `ListBillingAccounts`.ListBillingAccountsResponse Response message for `ListBillingAccounts`.ListBillingAccountsResponse.Builder Response message for `ListBillingAccounts`.ListProjectBillingInfoRequest Request message for `ListProjectBillingInfo`.ListProjectBillingInfoRequest.Builder Request message for `ListProjectBillingInfo`.ListProjectBillingInfoResponse Request message for `ListProjectBillingInfoResponse`.ListProjectBillingInfoResponse.Builder Request message for `ListProjectBillingInfoResponse`.ListServicesRequest Request message for `ListServices`.ListServicesRequest.Builder Request message for `ListServices`.ListServicesResponse Response message for `ListServices`.ListServicesResponse.Builder Response message for `ListServices`.ListSkusRequest Request message for `ListSkus`.ListSkusRequest.Builder Request message for `ListSkus`.ListSkusResponse Response message for `ListSkus`.ListSkusResponse.Builder Response message for `ListSkus`.PricingExpression Expresses a mathematical pricing formula.PricingExpression.Builder Expresses a mathematical pricing formula.PricingExpression.TierRate The price rate indicating starting usage and its corresponding price.PricingExpression.TierRate.Builder The price rate indicating starting usage and its corresponding price.PricingInfo Represents the pricing information for a SKU at a single point of time.PricingInfo.Builder Represents the pricing information for a SKU at a single point of time.ProjectBillingInfo Encapsulation of billing information for a Google Cloud Console project.ProjectBillingInfo.Builder Encapsulation of billing information for a Google Cloud Console project.ProjectName ProjectName.Builder Builder for projects/{project}.Service Encapsulates a single service in Google Cloud Platform.Service.Builder Encapsulates a single service in Google Cloud Platform.ServiceName ServiceName.Builder Builder for services/{service}.Sku Encapsulates a single SKU in Google Cloud PlatformSku.Builder Encapsulates a single SKU in Google Cloud PlatformUpdateBillingAccountRequest Request message for `UpdateBillingAccount`.UpdateBillingAccountRequest.Builder Request message for `UpdateBillingAccount`.UpdateProjectBillingInfoRequest Request message for `UpdateProjectBillingInfo`.UpdateProjectBillingInfoRequest.Builder Request message for `UpdateProjectBillingInfo`. -
Enum Summary Enum Description AggregationInfo.AggregationInterval The interval at which usage is aggregated to compute cost.AggregationInfo.AggregationLevel The level at which usage is aggregated to compute cost.GeoTaxonomy.Type The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.