Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolExtensionTool

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

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) ⇒ GoogleCloudDialogflowV2beta1ToolExtensionTool

Returns a new instance of GoogleCloudDialogflowV2beta1ToolExtensionTool.



23917
23918
23919
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23917

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

Instance Attribute Details

#nameString

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

Returns:

  • (String)


23915
23916
23917
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23915

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23922
23923
23924
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23922

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