Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolDataStoreTool

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolDataStoreTool

Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolDataStoreTool.



12859
12860
12861
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12859

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

Instance Attribute Details

#data_store_connectionsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnection>

Corresponds to the JSON property dataStoreConnections



12852
12853
12854
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12852

def data_store_connections
  @data_store_connections
end

#fallback_promptGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolDataStoreToolFallbackPrompt

Corresponds to the JSON property fallbackPrompt



12857
12858
12859
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12857

def fallback_prompt
  @fallback_prompt
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12864
12865
12866
12867
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12864

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