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.



12733
12734
12735
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12733

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



12725
12726
12727
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12725

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)


12731
12732
12733
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12731

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12738
12739
12740
12741
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12738

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