Reference documentation and code samples for the Google Cloud Billing V1 Client class UpdateBillingAccountRequest.
Request message for UpdateBillingAccount.
Generated from protobuf message google.cloud.billing.v1.UpdateBillingAccountRequest
Namespace
Google \ Cloud \ Billing \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The name of the billing account resource to be updated. |
↳ account |
BillingAccount
Required. The billing account resource to replace the resource on the server. |
↳ update_mask |
Google\Protobuf\FieldMask
The update mask applied to the resource. Only "display_name" is currently supported. |
getName
Required. The name of the billing account resource to be updated.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The name of the billing account resource to be updated.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAccount
Required. The billing account resource to replace the resource on the server.
| Returns | |
|---|---|
| Type | Description |
BillingAccount|null |
|
hasAccount
clearAccount
setAccount
Required. The billing account resource to replace the resource on the server.
| Parameter | |
|---|---|
| Name | Description |
var |
BillingAccount
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateMask
The update mask applied to the resource.
Only "display_name" is currently supported.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
The update mask applied to the resource.
Only "display_name" is currently supported.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
name |
string
Required. The name of the billing account resource to be updated. Please see CloudBillingClient::billingAccountName() for help formatting this field. |
account |
BillingAccount
Required. The billing account resource to replace the resource on the server. |
| Returns | |
|---|---|
| Type | Description |
UpdateBillingAccountRequest |
|