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.



13073
13074
13075
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13073

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)


13071
13072
13073
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13071

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13078
13079
13080
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13078

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