Google Cloud Billing V1 Client - Class UpdateBillingAccountRequest (1.9.8)

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 \ V1

Methods

__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 Google\Cloud\Billing\V1\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
Google\Cloud\Billing\V1\BillingAccount|null

hasAccount

clearAccount

setAccount

Required. The billing account resource to replace the resource on the server.

Parameter
Name Description
var Google\Cloud\Billing\V1\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 Google\Cloud\Billing\V1\CloudBillingClient::billingAccountName() for help formatting this field.

account Google\Cloud\Billing\V1\BillingAccount

Required. The billing account resource to replace the resource on the server.

Returns
Type Description
Google\Cloud\Billing\V1\UpdateBillingAccountRequest