Interface ProjectBillingInfoOrBuilder (2.48.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
Type Description
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
Type Description
ByteString

The bytes for billingAccountName.

getBillingEnabled()

public abstract boolean getBillingEnabled()

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

bool billing_enabled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The billingEnabled.

getName()

public abstract String getName()

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

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getProjectId()

public abstract String getProjectId()

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

string project_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

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

string project_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for projectId.