Google Cloud Billing V1 Client - Class UpdateBillingAccountRequest (1.8.0)

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
NameDescription
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
TypeDescription
string

setName

Required. The name of the billing account resource to be updated.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAccount

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

Returns
TypeDescription
Google\Cloud\Billing\V1\BillingAccount|null

hasAccount

clearAccount

setAccount

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

Parameter
NameDescription
var Google\Cloud\Billing\V1\BillingAccount
Returns
TypeDescription
$this

getUpdateMask

The update mask applied to the resource.

Only "display_name" is currently supported.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The update mask applied to the resource.

Only "display_name" is currently supported.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\Billing\V1\UpdateBillingAccountRequest