cloudbilling
v1
|
#include <project_billing_info.h>
Public Member Functions | |
ProjectBillingInfo (const Json::Value &storage) | |
ProjectBillingInfo (Json::Value *storage) | |
virtual | ~ProjectBillingInfo () |
const StringPiece | GetTypeName () const |
bool | has_billing_account_name () const |
void | clear_billing_account_name () |
const StringPiece | get_billing_account_name () const |
void | set_billing_account_name (const StringPiece &value) |
bool | has_billing_enabled () const |
void | clear_billing_enabled () |
bool | get_billing_enabled () const |
void | set_billing_enabled (bool value) |
bool | has_name () const |
void | clear_name () |
const StringPiece | get_name () const |
void | set_name (const StringPiece &value) |
bool | has_project_id () const |
void | clear_project_id () |
const StringPiece | get_project_id () const |
void | set_project_id (const StringPiece &value) |
Static Public Member Functions | |
static ProjectBillingInfo * | New () |
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).
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'billingAccountName
' attribute.
|
inline |
Clears the 'billingEnabled
' attribute.
|
inline |
Clears the 'name
' attribute.
|
inline |
Clears the 'projectId
' attribute.
|
inline |
Get the value of the 'billingAccountName
' attribute.
|
inline |
Get the value of the 'billingEnabled
' attribute.
|
inline |
Get the value of the 'name
' attribute.
|
inline |
Get the value of the 'projectId
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'billingAccountName
' attribute was set.
billingAccountName
' attribute was set.
|
inline |
Determine if the 'billingEnabled
' attribute was set.
billingEnabled
' attribute was set.
|
inline |
Determine if the 'name
' attribute was set.
name
' attribute was set.
|
inline |
Determine if the 'projectId
' attribute was set.
projectId
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'billingAccountName
' attribute.
The resource name of the billing account associated with the project, if any. For example, billingAccounts/012345-567890-ABCDEF
.
[in] | value | The new value. |
|
inline |
Change the 'billingEnabled
' attribute.
True if the project is associated with an open billing account, to which usage on the project is charged. False if the project is associated with a closed billing account, or no billing account at all, and therefore cannot use paid services. This field is read-only.
[in] | value | The new value. |
|
inline |
Change the 'name
' attribute.
The resource name for the ProjectBillingInfo
; has the form projects/{project_id}/billingInfo
. For example, the resource name for the billing information for project tokyo-rain-123
would be projects/tokyo-rain-123/billingInfo
. This field is read-only.
[in] | value | The new value. |
|
inline |
Change the 'projectId
' attribute.
The ID of the project that this ProjectBillingInfo
represents, such as tokyo-rain-123
. This is a convenience field so that you don't need to parse the name
field to obtain a project ID. This field is read-only.
[in] | value | The new value. |