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.



8512
8513
8514
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8512

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

Instance Attribute Details

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

The EvaluationResults. Corresponds to the JSON property evaluationResults



8503
8504
8505
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8503

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)


8510
8511
8512
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8510

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8517
8518
8519
8520
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8517

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