Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InputDataset

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

InputDataset used to create model or do evaluation. NextID:5

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2InputDataset

Returns a new instance of GoogleCloudDialogflowV2InputDataset.



10921
10922
10923
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10921

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

Instance Attribute Details

#datasetString

Required. ConversationDataset resource name. Format: projects//locations// conversationDatasets/ Corresponds to the JSON property dataset

Returns:

  • (String)


10919
10920
10921
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10919

def dataset
  @dataset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10926
10927
10928
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10926

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