Google Shopping Merchant Accounts V1 Client - Class BatchDeleteRegionsRequest (1.1.0)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class BatchDeleteRegionsRequest.

Request message for the BatchDeleteRegions method.

Generated from protobuf message google.shopping.merchant.accounts.v1.BatchDeleteRegionsRequest

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The account to delete one or more regions from. Format: accounts/{account}

↳ requests array<DeleteRegionRequest>

Required. The names of the regions to delete. A maximum of 100 regions can be deleted in a batch.

getParent

Required. The account to delete one or more regions from.

Format: accounts/{account}

Returns
Type Description
string

setParent

Required. The account to delete one or more regions from.

Format: accounts/{account}

Parameter
Name Description
var string
Returns
Type Description
$this

getRequests

Required. The names of the regions to delete.

A maximum of 100 regions can be deleted in a batch.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRequests

Required. The names of the regions to delete.

A maximum of 100 regions can be deleted in a batch.

Parameter
Name Description
var array<DeleteRegionRequest>
Returns
Type Description
$this