Reference documentation and code samples for the Google Cloud Retail V2 Client class AttributeResult.
Resource that represents attribute results.
Generated from protobuf message google.cloud.retail.v2.CompleteQueryResponse.AttributeResult
Namespace
Google \ Cloud \ Retail \ V2 \ CompleteQueryResponseMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ suggestions |
array
The list of suggestions for the attribute. |
getSuggestions
The list of suggestions for the attribute.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setSuggestions
The list of suggestions for the attribute.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|