Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolExtensionTool
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolExtensionTool
- 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
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) ⇒ GoogleCloudDialogflowCxV3beta1ToolExtensionTool
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ToolExtensionTool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolExtensionTool
Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolExtensionTool.
12967 12968 12969 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12967 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Required. The full name of the referenced vertex extension. Formats: projects/
project/locations/
location/extensions/
extension`
Corresponds to the JSON property
name`
12965 12966 12967 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12965 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12972 12973 12974 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12972 def update!(**args) @name = args[:name] if args.key?(:name) end |