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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ListConversationModelsResponse

Returns a new instance of GoogleCloudDialogflowV2ListConversationModelsResponse.



13598
13599
13600
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13598

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

Instance Attribute Details

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

Corresponds to the JSON property conversationModels



13591
13592
13593
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13591

def conversation_models
  @conversation_models
end

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


13596
13597
13598
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13596

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13603
13604
13605
13606
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13603

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