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.



11030
11031
11032
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11030

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)


11028
11029
11030
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11028

def dataset
  @dataset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11035
11036
11037
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11035

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