Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListConversationModelsResponse

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.ListConversationModels

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ListConversationModelsResponse

Returns a new instance of GoogleCloudDialogflowV2ListConversationModelsResponse.



13715
13716
13717
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13715

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

Instance Attribute Details

#conversation_modelsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationModel>

The list of models to return. Corresponds to the JSON property conversationModels



13707
13708
13709
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13707

def conversation_models
  @conversation_models
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)


13713
13714
13715
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13713

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13720
13721
13722
13723
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13720

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