Google Shopping Merchant Accounts V1beta Client - Class LocationIdSet (0.1.0)

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

A list of location ID sets. Must be non-empty. Can only be set if all other fields are not set.

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

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ location_ids array

Required. A non-empty list of location IDs. They must all be of the same location type (For example, state).

getLocationIds

Required. A non-empty list of location IDs.

They must all be of the same location type (For example, state).

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setLocationIds

Required. A non-empty list of location IDs.

They must all be of the same location type (For example, state).

Parameter
Name Description
var string[]
Returns
Type Description
$this