Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolExtensionTool

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolExtensionTool

Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolExtensionTool.



12995
12996
12997
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12995

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nameString

Required. The full name of the referenced vertex extension. Formats: projects/ project/locations/location/extensions/extension` Corresponds to the JSON propertyname`

Returns:

  • (String)


12993
12994
12995
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12993

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13000
13001
13002
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13000

def update!(**args)
  @name = args[:name] if args.key?(:name)
end