Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class CreateRegionRequest.
Request message for the CreateRegion
method.
Generated from protobuf message google.shopping.merchant.accounts.v1.CreateRegionRequest
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The account to create a region for. Format: accounts/{account}
↳ region_id
string
Required. The identifier for the region, unique over all regions of the same account.
↳ region
getParent
Required. The account to create a region for.
Format: accounts/{account}
string
setParent
Required. The account to create a region for.
Format: accounts/{account}
var
string
$this
getRegionId
Required. The identifier for the region, unique over all regions of the same account.
string
setRegionId
Required. The identifier for the region, unique over all regions of the same account.
var
string
$this
getRegion
Required. The region to create.
hasRegion
clearRegion
setRegion
Required. The region to create.
$this
static::build
parent
string
Required. The account to create a region for.
Format: accounts/{account}
Please see RegionsServiceClient::accountName()
for help formatting this field.
region
regionId
string
Required. The identifier for the region, unique over all regions of the same account.