Reference documentation and code samples for the Google Cloud Billing V1 Client class CreateBillingAccountRequest.
Request message for CreateBillingAccount
.
Generated from protobuf message google.cloud.billing.v1.CreateBillingAccountRequest
Namespace
Google \ Cloud \ Billing \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ billing_account
BillingAccount
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.
↳ parent
string
Optional. The parent to create a billing account from. Format: - billingAccounts/{billing_account_id}
, for example, billingAccounts/012345-567890-ABCDEF
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.
hasBillingAccount
clearBillingAccount
setBillingAccount
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.
$this
getParent
Optional. The parent to create a billing account from.
Format:
-
billingAccounts/{billing_account_id}
, for example,billingAccounts/012345-567890-ABCDEF
string
setParent
Optional. The parent to create a billing account from.
Format:
-
billingAccounts/{billing_account_id}
, for example,billingAccounts/012345-567890-ABCDEF
var
string
$this
static::build
billingAccount
BillingAccount
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.
static::buildFromBillingAccountParent
billingAccount
BillingAccount
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.
parent
string
Optional. The parent to create a billing account from. Format:
-
billingAccounts/{billing_account_id}
, for example,billingAccounts/012345-567890-ABCDEF