Google Cloud Channel V1 Client - Class UpdateCustomerRequest (1.0.1)

Reference documentation and code samples for the Google Cloud Channel V1 Client class UpdateCustomerRequest.

Request message for CloudChannelService.UpdateCustomer.

Generated from protobuf message google.cloud.channel.v1.UpdateCustomerRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ customer Google\Cloud\Channel\V1\Customer

Required. New contents of the customer.

↳ update_mask Google\Protobuf\FieldMask

The update mask that applies to the resource. Optional.

getCustomer

Required. New contents of the customer.

Generated from protobuf field .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Google\Cloud\Channel\V1\Customer|null

hasCustomer

clearCustomer

setCustomer

Required. New contents of the customer.

Generated from protobuf field .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var Google\Cloud\Channel\V1\Customer
Returns
TypeDescription
$this

getUpdateMask

The update mask that applies to the resource.

Optional.

Generated from protobuf field .google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The update mask that applies to the resource.

Optional.

Generated from protobuf field .google.protobuf.FieldMask update_mask = 3;

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