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 \ PinControlMetadataMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ product_id |
array
List of product ids which have associated pins. |
getProductId
List of product ids which have associated pins.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setProductId
List of product ids which have associated pins.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |