Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRankResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRankResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Response message for RankService.Rank method.
Instance Attribute Summary collapse
-
#records ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRankingRecord>
A list of records sorted by descending score.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaRankResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1betaRankResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaRankResponse
Returns a new instance of GoogleCloudDiscoveryengineV1betaRankResponse.
10645 10646 10647 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10645 def initialize(**args) update!(**args) end |
Instance Attribute Details
#records ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRankingRecord>
A list of records sorted by descending score.
Corresponds to the JSON property records
10643 10644 10645 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10643 def records @records end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10650 10651 10652 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10650 def update!(**args) @records = args[:records] if args.key?(:records) end |