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.



12428
12429
12430
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12428

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



12420
12421
12422
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12420

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)


12426
12427
12428
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12426

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12433
12434
12435
12436
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12433

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