Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Tool config. This config is shared for all tools provided in the request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ToolConfig

Returns a new instance of GoogleCloudAiplatformV1ToolConfig.



32551
32552
32553
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32551

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

Instance Attribute Details

#function_calling_configGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionCallingConfig

Function calling config. Corresponds to the JSON property functionCallingConfig



32549
32550
32551
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32549

def function_calling_config
  @function_calling_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32556
32557
32558
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32556

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