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.



12055
12056
12057
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12055

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)


12053
12054
12055
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12053

def dataset
  @dataset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12060
12061
12062
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12060

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