Google Cloud Channel V1 Client - Class GetCustomerRequest (1.6.0)

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

Request message for CloudChannelService.GetCustomer.

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

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the customer to retrieve. Name uses the format: accounts/{account_id}/customers/{customer_id}

getName

Required. The resource name of the customer to retrieve.

Name uses the format: accounts/{account_id}/customers/{customer_id}

Returns
TypeDescription
string

setName

Required. The resource name of the customer to retrieve.

Name uses the format: accounts/{account_id}/customers/{customer_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The resource name of the customer to retrieve. Name uses the format: accounts/{account_id}/customers/{customer_id} Please see Google\Cloud\Channel\V1\CloudChannelServiceClient::customerName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Channel\V1\GetCustomerRequest