Google Cloud Discovery Engine V1beta Client - Class RankResponse (0.11.3)

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 \ V1beta

Methods

__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

setRecords

A list of records sorted by descending score.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: