class Cloudbilling extends Service (View source)

Service definition for Cloudbilling (v1).

Allows developers to manage billing for their Google Cloud Platform projects programmatically.

For more information about this service, see the API Documentation

Constants

CLOUD_BILLING

View and manage your Google Cloud Platform billing accounts.

CLOUD_BILLING_READONLY

View your Google Cloud Platform billing accounts.

CLOUD_PLATFORM

See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.

.

Properties

$billingAccounts
$billingAccounts_projects
$billingAccounts_subAccounts
$organizations_billingAccounts
$projects
$services
$services_skus
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Cloudbilling service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Cloudbilling service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.