Interface BillingAccountOrBuilder (2.8.0)

public interface BillingAccountOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisplayName()

public abstract String getDisplayName()

The display name given to the billing account, such as My Billing Account. This name is displayed in the Google Cloud Console.

string display_name = 3;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

The display name given to the billing account, such as My Billing Account. This name is displayed in the Google Cloud Console.

string display_name = 3;

Returns
TypeDescription
ByteString

The bytes for displayName.

getMasterBillingAccount()

public abstract String getMasterBillingAccount()

If this account is a subaccount, then this will be the resource name of the parent billing account that it is being resold through. Otherwise this will be empty.

string master_billing_account = 4;

Returns
TypeDescription
String

The masterBillingAccount.

getMasterBillingAccountBytes()

public abstract ByteString getMasterBillingAccountBytes()

If this account is a subaccount, then this will be the resource name of the parent billing account that it is being resold through. Otherwise this will be empty.

string master_billing_account = 4;

Returns
TypeDescription
ByteString

The bytes for masterBillingAccount.

getName()

public abstract String getName()

Output only. 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.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. 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.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getOpen()

public abstract boolean getOpen()

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.

bool open = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

The open.