Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolExtensionTool
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolExtensionTool
- 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
Overview
An ExtensionTool is a way to use Vertex Extensions as a tool.
Instance Attribute Summary collapse
-
#name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolExtensionTool
constructor
A new instance of GoogleCloudDialogflowV2ToolExtensionTool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolExtensionTool
Returns a new instance of GoogleCloudDialogflowV2ToolExtensionTool.
19215 19216 19217 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19215 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Required. The full name of the referenced vertex extension. Format: projects/
project/locations/location/extensions/extension`
Corresponds to the JSON propertyname`
19213 19214 19215 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19213 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19220 19221 19222 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19220 def update!(**args) @name = args[:name] if args.key?(:name) end |