Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Tool
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Tool
- 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
-
#data_store_spec ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolDataStoreTool
Corresponds to the JSON property
dataStoreSpec. -
#description ⇒ String
Corresponds to the JSON property
description. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#function_spec ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolFunctionTool
Corresponds to the JSON property
functionSpec. -
#name ⇒ String
Corresponds to the JSON property
name. -
#open_api_spec ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolOpenApiTool
Corresponds to the JSON property
openApiSpec. -
#tool_type ⇒ String
Corresponds to the JSON property
toolType.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Tool
constructor
A new instance of GoogleCloudDialogflowCxV3Tool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Tool
Returns a new instance of GoogleCloudDialogflowCxV3Tool.
7910 7911 7912 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7910 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_store_spec ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolDataStoreTool
Corresponds to the JSON property dataStoreSpec
7878 7879 7880 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7878 def data_store_spec @data_store_spec end |
#description ⇒ String
Corresponds to the JSON property description
7883 7884 7885 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7883 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
7888 7889 7890 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7888 def display_name @display_name end |
#function_spec ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolFunctionTool
Corresponds to the JSON property functionSpec
7893 7894 7895 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7893 def function_spec @function_spec end |
#name ⇒ String
Corresponds to the JSON property name
7898 7899 7900 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7898 def name @name end |
#open_api_spec ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolOpenApiTool
Corresponds to the JSON property openApiSpec
7903 7904 7905 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7903 def open_api_spec @open_api_spec end |
#tool_type ⇒ String
Corresponds to the JSON property toolType
7908 7909 7910 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7908 def tool_type @tool_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7915 7916 7917 7918 7919 7920 7921 7922 7923 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7915 def update!(**args) @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) @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 |