Interface ProjectBillingInfoOrBuilder (2.4.0)

public interface ProjectBillingInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBillingAccountName()

public abstract String getBillingAccountName()

The resource name of the billing account associated with the project, if any. For example, billingAccounts/012345-567890-ABCDEF.

string billing_account_name = 3;

Returns
TypeDescription
String

The billingAccountName.

getBillingAccountNameBytes()

public abstract ByteString getBillingAccountNameBytes()

The resource name of the billing account associated with the project, if any. For example, billingAccounts/012345-567890-ABCDEF.

string billing_account_name = 3;

Returns
TypeDescription
ByteString

The bytes for billingAccountName.

getBillingEnabled()

public abstract boolean getBillingEnabled()

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.

bool billing_enabled = 4;

Returns
TypeDescription
boolean

The billingEnabled.

getName()

public abstract String getName()

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.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getProjectId()

public abstract String getProjectId()

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.

string project_id = 2;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

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.

string project_id = 2;

Returns
TypeDescription
ByteString

The bytes for projectId.