Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponse

Inherits:
Object
  • Object
show all
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 EvaluationService.ListEvaluationResults method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponse

Returns a new instance of GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponse.



12190
12191
12192
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12190

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#evaluation_resultsArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponseEvaluationResult>

The evaluation results for the SampleQuerys. Corresponds to the JSON property evaluationResults



12181
12182
12183
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12181

def evaluation_results
  @evaluation_results
end

#next_page_tokenString

A token that can be sent as ListEvaluationResultsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


12188
12189
12190
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12188

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12195
12196
12197
12198
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12195

def update!(**args)
  @evaluation_results = args[:evaluation_results] if args.key?(:evaluation_results)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end