Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListConversationModelEvaluationsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb

Overview

The response message for ConversationModels.ListConversationModelEvaluations

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ListConversationModelEvaluationsResponse

Returns a new instance of GoogleCloudDialogflowV2ListConversationModelEvaluationsResponse.



12498
12499
12500
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12498

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

Instance Attribute Details

#conversation_model_evaluationsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationModelEvaluation>

The list of evaluations to return. Corresponds to the JSON property conversationModelEvaluations



12490
12491
12492
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12490

def conversation_model_evaluations
  @conversation_model_evaluations
end

#next_page_tokenString

Token to retrieve the next page of results, or empty if there are no more results in the list. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


12496
12497
12498
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12496

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12503
12504
12505
12506
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12503

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