Google Cloud Retail V2 Client - Class AttributeResult (2.1.2)

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

Resource that represents attribute results.

The list of suggestions for the attribute.

Generated from protobuf message google.cloud.retail.v2.CompleteQueryResponse.AttributeResult

Namespace

Google \ Cloud \ Retail \ V2 \ CompleteQueryResponse

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ suggestions array

getSuggestions

Generated from protobuf field repeated string suggestions = 1;

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSuggestions

Generated from protobuf field repeated string suggestions = 1;

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