Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#action_confirmation_requirement ⇒ Hash<String,String>
Corresponds to the JSON property
actionConfirmationRequirement. -
#connector_spec ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorTool
Corresponds to the JSON property
connectorSpec. -
#create_time ⇒ String
Corresponds to the JSON property
createTime. -
#description ⇒ String
Corresponds to the JSON property
description. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#extension_spec ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolExtensionTool
Corresponds to the JSON property
extensionSpec. -
#function_spec ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolFunctionTool
Corresponds to the JSON property
functionSpec. -
#name ⇒ String
Corresponds to the JSON property
name. -
#open_api_spec ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolOpenApiTool
Corresponds to the JSON property
openApiSpec. -
#satisfies_pzi ⇒ Boolean
(also: #satisfies_pzi?)
Corresponds to the JSON property
satisfiesPzi. -
#satisfies_pzs ⇒ Boolean
(also: #satisfies_pzs?)
Corresponds to the JSON property
satisfiesPzs. -
#tool_key ⇒ String
Corresponds to the JSON property
toolKey. -
#update_time ⇒ String
Corresponds to the JSON property
updateTime.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2Tool
constructor
A new instance of GoogleCloudDialogflowV2Tool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2Tool
Returns a new instance of GoogleCloudDialogflowV2Tool.
17228 17229 17230 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17228 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_confirmation_requirement ⇒ Hash<String,String>
Corresponds to the JSON property actionConfirmationRequirement
17164 17165 17166 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17164 def action_confirmation_requirement @action_confirmation_requirement end |
#connector_spec ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorTool
Corresponds to the JSON property connectorSpec
17169 17170 17171 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17169 def connector_spec @connector_spec end |
#create_time ⇒ String
Corresponds to the JSON property createTime
17174 17175 17176 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17174 def create_time @create_time end |
#description ⇒ String
Corresponds to the JSON property description
17179 17180 17181 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17179 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
17184 17185 17186 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17184 def display_name @display_name end |
#extension_spec ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolExtensionTool
Corresponds to the JSON property extensionSpec
17189 17190 17191 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17189 def extension_spec @extension_spec end |
#function_spec ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolFunctionTool
Corresponds to the JSON property functionSpec
17194 17195 17196 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17194 def function_spec @function_spec end |
#name ⇒ String
Corresponds to the JSON property name
17199 17200 17201 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17199 def name @name end |
#open_api_spec ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolOpenApiTool
Corresponds to the JSON property openApiSpec
17204 17205 17206 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17204 def open_api_spec @open_api_spec end |
#satisfies_pzi ⇒ Boolean Also known as: satisfies_pzi?
Corresponds to the JSON property satisfiesPzi
17209 17210 17211 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17209 def satisfies_pzi @satisfies_pzi end |
#satisfies_pzs ⇒ Boolean Also known as: satisfies_pzs?
Corresponds to the JSON property satisfiesPzs
17215 17216 17217 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17215 def satisfies_pzs @satisfies_pzs end |
#tool_key ⇒ String
Corresponds to the JSON property toolKey
17221 17222 17223 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17221 def tool_key @tool_key end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
17226 17227 17228 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17226 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17233 17234 17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17233 def update!(**args) @action_confirmation_requirement = args[:action_confirmation_requirement] if args.key?(:action_confirmation_requirement) @connector_spec = args[:connector_spec] if args.key?(:connector_spec) @create_time = args[:create_time] if args.key?(:create_time) @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) @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi) @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs) @tool_key = args[:tool_key] if args.key?(:tool_key) @update_time = args[:update_time] if args.key?(:update_time) end |