Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponse

Returns a new instance of GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponse.



17436
17437
17438
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 17436

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

Instance Attribute Details

#evaluation_resultsArray<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponseEvaluationResult>

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



17427
17428
17429
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 17427

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)


17434
17435
17436
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 17434

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17441
17442
17443
17444
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 17441

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