Google Cloud Retail V2 Client - Class Tile (2.3.0)

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

This field specifies the tile information including an attribute key, attribute value. More fields will be added in the future, eg: product id or product counts, etc.

Generated from protobuf message google.cloud.retail.v2.Tile

Namespace

Google \ Cloud \ Retail \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ product_attribute_value
ProductAttributeValue

The product attribute key-value.

↳ product_attribute_interval
ProductAttributeInterval

The product attribute key-numeric interval.

↳ representative_product_id
string

The representative product id for this tile.

getProductAttributeValue

The product attribute key-value.

Returns
Type
Description

hasProductAttributeValue

setProductAttributeValue

The product attribute key-value.

Parameter
Name
Description
Returns
Type
Description
$this

getProductAttributeInterval

The product attribute key-numeric interval.

Returns
Type
Description

hasProductAttributeInterval

setProductAttributeInterval

The product attribute key-numeric interval.

Parameter
Name
Description
Returns
Type
Description
$this

getRepresentativeProductId

The representative product id for this tile.

Returns
Type
Description
string

setRepresentativeProductId

The representative product id for this tile.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getProductAttribute

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: