Google Shopping Merchant Accounts V1beta Client - Class GetRegionRequest (0.3.0)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class GetRegionRequest.

Request message for the GetRegion method.

Generated from protobuf message google.shopping.merchant.accounts.v1beta.GetRegionRequest

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the region to retrieve. Format: accounts/{account}/regions/{region}

getName

Required. The name of the region to retrieve.

Format: accounts/{account}/regions/{region}

Returns
Type Description
string

setName

Required. The name of the region to retrieve.

Format: accounts/{account}/regions/{region}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the region to retrieve. Format: accounts/{account}/regions/{region} Please see Google\Shopping\Merchant\Accounts\V1beta\RegionsServiceClient::regionName() for help formatting this field.

Returns
Type Description
Google\Shopping\Merchant\Accounts\V1beta\GetRegionRequest