Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class RankResponse.
Response message for RankService.Rank method.
Generated from protobuf message google.cloud.discoveryengine.v1beta.RankResponse
Namespace
Google \ Cloud \ DiscoveryEngine \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ records |
array<Google\Cloud\DiscoveryEngine\V1beta\RankingRecord>
A list of records sorted by descending score. |
getRecords
A list of records sorted by descending score.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setRecords
A list of records sorted by descending score.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\DiscoveryEngine\V1beta\RankingRecord>
|
Returns | |
---|---|
Type | Description |
$this |