Google Cloud Retail V2 Client - Class ProductPins (2.5.3)

Reference documentation and code samples for the Google Cloud Retail V2 Client class ProductPins.

List of product ids which have associated pins.

Generated from protobuf message google.cloud.retail.v2.PinControlMetadata.ProductPins

Namespace

Google \ Cloud \ Retail \ V2 \ PinControlMetadata

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ product_id string[]

List of product ids which have associated pins.

getProductId

List of product ids which have associated pins.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setProductId

List of product ids which have associated pins.

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