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.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ billing_account |
Google\Cloud\Billing\V1\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. |
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.
Returns | |
---|---|
Type | Description |
Google\Cloud\Billing\V1\BillingAccount|null |
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.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Billing\V1\BillingAccount
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
billingAccount |
Google\Cloud\Billing\V1\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. |
Returns | |
---|---|
Type | Description |
Google\Cloud\Billing\V1\CreateBillingAccountRequest |