Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolDataStoreTool

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ToolDataStoreTool

Returns a new instance of GoogleCloudDialogflowCxV3ToolDataStoreTool.



8219
8220
8221
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8219

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

Instance Attribute Details

#data_store_connectionsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnection>

Corresponds to the JSON property dataStoreConnections



8212
8213
8214
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8212

def data_store_connections
  @data_store_connections
end

#fallback_promptGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolDataStoreToolFallbackPrompt

Corresponds to the JSON property fallbackPrompt



8217
8218
8219
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8217

def fallback_prompt
  @fallback_prompt
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8224
8225
8226
8227
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8224

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