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.
12455 12456 12457 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12455 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connector_spec ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolConnectorTool
Corresponds to the JSON property connectorSpec
12413 12414 12415 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12413 def connector_spec @connector_spec end |
#data_store_spec ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolDataStoreTool
Corresponds to the JSON property dataStoreSpec
12418 12419 12420 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12418 def data_store_spec @data_store_spec end |
#description ⇒ String
Corresponds to the JSON property description
12423 12424 12425 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12423 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
12428 12429 12430 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12428 def display_name @display_name end |
#extension_spec ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolExtensionTool
Corresponds to the JSON property extensionSpec
12433 12434 12435 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12433 def extension_spec @extension_spec end |
#function_spec ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolFunctionTool
Corresponds to the JSON property functionSpec
12438 12439 12440 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12438 def function_spec @function_spec end |
#name ⇒ String
Corresponds to the JSON property name
12443 12444 12445 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12443 def name @name end |
#open_api_spec ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolOpenApiTool
Corresponds to the JSON property openApiSpec
12448 12449 12450 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12448 def open_api_spec @open_api_spec end |
#tool_type ⇒ String
Corresponds to the JSON property toolType
12453 12454 12455 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12453 def tool_type @tool_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12460 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 |