#include <billing_account.h>
A billing account in GCP Console. You can assign a billing account to one or more projects.
◆ BillingAccount() [1/2]
google_cloudbilling_api::BillingAccount::BillingAccount |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ BillingAccount() [2/2]
google_cloudbilling_api::BillingAccount::BillingAccount |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~BillingAccount()
google_cloudbilling_api::BillingAccount::~BillingAccount |
( |
| ) |
|
|
virtual |
◆ clear_display_name()
void google_cloudbilling_api::BillingAccount::clear_display_name |
( |
| ) |
|
|
inline |
Clears the 'displayName
' attribute.
◆ clear_master_billing_account()
void google_cloudbilling_api::BillingAccount::clear_master_billing_account |
( |
| ) |
|
|
inline |
Clears the 'masterBillingAccount
' attribute.
◆ clear_name()
void google_cloudbilling_api::BillingAccount::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name
' attribute.
◆ clear_open()
void google_cloudbilling_api::BillingAccount::clear_open |
( |
| ) |
|
|
inline |
Clears the 'open
' attribute.
◆ get_display_name()
const StringPiece google_cloudbilling_api::BillingAccount::get_display_name |
( |
| ) |
const |
|
inline |
Get the value of the 'displayName
' attribute.
◆ get_master_billing_account()
const StringPiece google_cloudbilling_api::BillingAccount::get_master_billing_account |
( |
| ) |
const |
|
inline |
Get the value of the 'masterBillingAccount
' attribute.
◆ get_name()
const StringPiece google_cloudbilling_api::BillingAccount::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name
' attribute.
◆ get_open()
bool google_cloudbilling_api::BillingAccount::get_open |
( |
| ) |
const |
|
inline |
Get the value of the 'open
' attribute.
◆ GetTypeName()
const StringPiece google_cloudbilling_api::BillingAccount::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_display_name()
bool google_cloudbilling_api::BillingAccount::has_display_name |
( |
| ) |
const |
|
inline |
Determine if the 'displayName
' attribute was set.
- Returns
- true if the '
displayName
' attribute was set.
◆ has_master_billing_account()
bool google_cloudbilling_api::BillingAccount::has_master_billing_account |
( |
| ) |
const |
|
inline |
Determine if the 'masterBillingAccount
' attribute was set.
- Returns
- true if the '
masterBillingAccount
' attribute was set.
◆ has_name()
bool google_cloudbilling_api::BillingAccount::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name
' attribute was set.
- Returns
- true if the '
name
' attribute was set.
◆ has_open()
bool google_cloudbilling_api::BillingAccount::has_open |
( |
| ) |
const |
|
inline |
Determine if the 'open
' attribute was set.
- Returns
- true if the '
open
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_display_name()
void google_cloudbilling_api::BillingAccount::set_display_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'displayName
' attribute.
The display name given to the billing account, such as My Billing Account
. This name is displayed in the GCP Console.
- Parameters
-
◆ set_master_billing_account()
void google_cloudbilling_api::BillingAccount::set_master_billing_account |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'masterBillingAccount
' attribute.
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.
- Parameters
-
◆ set_name()
void google_cloudbilling_api::BillingAccount::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name
' attribute.
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
.
- Parameters
-
◆ set_open()
void google_cloudbilling_api::BillingAccount::set_open |
( |
bool |
value | ) |
|
|
inline |
Change the 'open
' attribute.
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.
- Parameters
-
The documentation for this class was generated from the following files: