Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::RankResponse.
Response message for RankService.Rank method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#records
def records() -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::RankingRecord>
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1beta::RankingRecord>) — A list of records sorted by descending score.
#records=
def records=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::RankingRecord>
Parameter
- value (::Array<::Google::Cloud::DiscoveryEngine::V1beta::RankingRecord>) — A list of records sorted by descending score.
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1beta::RankingRecord>) — A list of records sorted by descending score.