Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Tool
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Tool
- 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
-
#connector_spec ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolConnectorTool
Corresponds to the JSON property
connectorSpec. -
#data_store_spec ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolDataStoreTool
Corresponds to the JSON property
dataStoreSpec. -
#description ⇒ String
Corresponds to the JSON property
description. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#extension_spec ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolExtensionTool
Corresponds to the JSON property
extensionSpec. -
#function_spec ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolFunctionTool
Corresponds to the JSON property
functionSpec. -
#name ⇒ String
Corresponds to the JSON property
name. -
#open_api_spec ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolOpenApiTool
Corresponds to the JSON property
openApiSpec. -
#tool_type ⇒ String
Corresponds to the JSON property
toolType.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Tool
constructor
A new instance of GoogleCloudDialogflowCxV3beta1Tool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Tool
Returns a new instance of GoogleCloudDialogflowCxV3beta1Tool.
12443 12444 12445 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12443 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connector_spec ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolConnectorTool
Corresponds to the JSON property connectorSpec
12401 12402 12403 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12401 def connector_spec @connector_spec end |
#data_store_spec ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolDataStoreTool
Corresponds to the JSON property dataStoreSpec
12406 12407 12408 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12406 def data_store_spec @data_store_spec end |
#description ⇒ String
Corresponds to the JSON property description
12411 12412 12413 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12411 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
12416 12417 12418 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12416 def display_name @display_name end |
#extension_spec ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolExtensionTool
Corresponds to the JSON property extensionSpec
12421 12422 12423 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12421 def extension_spec @extension_spec end |
#function_spec ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolFunctionTool
Corresponds to the JSON property functionSpec
12426 12427 12428 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12426 def function_spec @function_spec end |
#name ⇒ String
Corresponds to the JSON property name
12431 12432 12433 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12431 def name @name end |
#open_api_spec ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolOpenApiTool
Corresponds to the JSON property openApiSpec
12436 12437 12438 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12436 def open_api_spec @open_api_spec end |
#tool_type ⇒ String
Corresponds to the JSON property toolType
12441 12442 12443 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12441 def tool_type @tool_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12448 def update!(**args) @connector_spec = args[:connector_spec] if args.key?(:connector_spec) @data_store_spec = args[:data_store_spec] if args.key?(:data_store_spec) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @extension_spec = args[:extension_spec] if args.key?(:extension_spec) @function_spec = args[:function_spec] if args.key?(:function_spec) @name = args[:name] if args.key?(:name) @open_api_spec = args[:open_api_spec] if args.key?(:open_api_spec) @tool_type = args[:tool_type] if args.key?(:tool_type) end |