Class BillingAccount (0.1.0)

BillingAccount(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A billing account in GCP Console <https://console.cloud.google.com/>__. You can assign a billing account to one or more projects.

Attributes

NameDescription
name str
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.
open bool
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.
display_name str
The display name given to the billing account, such as My Billing Account. This name is displayed in the GCP Console.
master_billing_account str
If this account is a subaccount __, then this will be the resource name of the master billing account that it is being resold through. Otherwise this will be empty.

Methods

__delattr__

__delattr__(key)

Delete the value on the given field.

This is generally equivalent to setting a falsy value.

__eq__

__eq__(other)

Return True if the messages are equal, False otherwise.

__ne__

__ne__(other)

Return True if the messages are unequal, False otherwise.

__setattr__

__setattr__(key, value)

Set the value on the given field.

For well-known protocol buffer types which are marshalled, either the protocol buffer object or the Python equivalent is accepted.