Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRankResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRankResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Response message for RankService.Rank method.
Instance Attribute Summary collapse
-
#records ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRankingRecord>
A list of records sorted by descending score.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaRankResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaRankResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaRankResponse
Returns a new instance of GoogleCloudDiscoveryengineV1alphaRankResponse.
9651 9652 9653 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9651 def initialize(**args) update!(**args) end |
Instance Attribute Details
#records ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRankingRecord>
A list of records sorted by descending score.
Corresponds to the JSON property records
9649 9650 9651 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9649 def records @records end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9656 9657 9658 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9656 def update!(**args) @records = args[:records] if args.key?(:records) end |