Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Tool
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Tool
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Instance Attribute Summary collapse
-
#action_confirmation_requirement ⇒ Hash<String,String>
Corresponds to the JSON property
actionConfirmationRequirement. -
#connector_spec ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorTool
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::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolExtensionTool
Corresponds to the JSON property
extensionSpec. -
#function_spec ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolFunctionTool
Corresponds to the JSON property
functionSpec. -
#name ⇒ String
Corresponds to the JSON property
name. -
#open_api_spec ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolOpenApiTool
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) ⇒ GoogleCloudDialogflowV2beta1Tool
constructor
A new instance of GoogleCloudDialogflowV2beta1Tool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Tool
Returns a new instance of GoogleCloudDialogflowV2beta1Tool.
21314 21315 21316 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21314 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_confirmation_requirement ⇒ Hash<String,String>
Corresponds to the JSON property actionConfirmationRequirement
21250 21251 21252 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21250 def action_confirmation_requirement @action_confirmation_requirement end |
#connector_spec ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorTool
Corresponds to the JSON property connectorSpec
21255 21256 21257 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21255 def connector_spec @connector_spec end |
#create_time ⇒ String
Corresponds to the JSON property createTime
21260 21261 21262 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21260 def create_time @create_time end |
#description ⇒ String
Corresponds to the JSON property description
21265 21266 21267 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21265 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
21270 21271 21272 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21270 def display_name @display_name end |
#extension_spec ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolExtensionTool
Corresponds to the JSON property extensionSpec
21275 21276 21277 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21275 def extension_spec @extension_spec end |
#function_spec ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolFunctionTool
Corresponds to the JSON property functionSpec
21280 21281 21282 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21280 def function_spec @function_spec end |
#name ⇒ String
Corresponds to the JSON property name
21285 21286 21287 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21285 def name @name end |
#open_api_spec ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolOpenApiTool
Corresponds to the JSON property openApiSpec
21290 21291 21292 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21290 def open_api_spec @open_api_spec end |
#satisfies_pzi ⇒ Boolean Also known as: satisfies_pzi?
Corresponds to the JSON property satisfiesPzi
21295 21296 21297 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21295 def satisfies_pzi @satisfies_pzi end |
#satisfies_pzs ⇒ Boolean Also known as: satisfies_pzs?
Corresponds to the JSON property satisfiesPzs
21301 21302 21303 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21301 def satisfies_pzs @satisfies_pzs end |
#tool_key ⇒ String
Corresponds to the JSON property toolKey
21307 21308 21309 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21307 def tool_key @tool_key end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
21312 21313 21314 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21312 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21319 21320 21321 21322 21323 21324 21325 21326 21327 21328 21329 21330 21331 21332 21333 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21319 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 |