Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListConversationDatasetsResponse

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 ConversationDatasets.ListConversationDatasets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ListConversationDatasetsResponse

Returns a new instance of GoogleCloudDialogflowV2ListConversationDatasetsResponse.



13663
13664
13665
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13663

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

Instance Attribute Details

#conversation_datasetsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationDataset>

The list of datasets to return. Corresponds to the JSON property conversationDatasets



13655
13656
13657
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13655

def conversation_datasets
  @conversation_datasets
end

#next_page_tokenString

The token to use 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)


13661
13662
13663
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13661

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13668
13669
13670
13671
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13668

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