Interface CreateBillingAccountRequestOrBuilder (2.40.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the billingAccount field is set.