Interface CreateBillingAccountRequestOrBuilder (2.55.0)

public interface CreateBillingAccountRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBillingAccount()

public abstract BillingAccount getBillingAccount()

Required. The billing account resource to create. Currently CreateBillingAccount only supports subaccount creation, so any created billing accounts must be under a provided parent billing account.

.google.cloud.billing.v1.BillingAccount billing_account = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BillingAccount

The billingAccount.

getBillingAccountOrBuilder()

public abstract BillingAccountOrBuilder getBillingAccountOrBuilder()

Required. The billing account resource to create. Currently CreateBillingAccount only supports subaccount creation, so any created billing accounts must be under a provided parent billing account.

.google.cloud.billing.v1.BillingAccount billing_account = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BillingAccountOrBuilder

getParent()

public abstract String getParent()

Optional. The parent to create a billing account from. Format:

  • billingAccounts/{billing_account_id}, for example, billingAccounts/012345-567890-ABCDEF

string parent = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Optional. The parent to create a billing account from. Format:

  • billingAccounts/{billing_account_id}, for example, billingAccounts/012345-567890-ABCDEF

string parent = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for parent.

hasBillingAccount()

public abstract boolean hasBillingAccount()

Required. The billing account resource to create. Currently CreateBillingAccount only supports subaccount creation, so any created billing accounts must be under a provided parent billing account.

.google.cloud.billing.v1.BillingAccount billing_account = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the billingAccount field is set.