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.



11971
11972
11973
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11971

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)


11969
11970
11971
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11969

def dataset
  @dataset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11976
11977
11978
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11976

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