Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/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) ⇒ GoogleCloudAiplatformV1beta1ToolConfig

Returns a new instance of GoogleCloudAiplatformV1beta1ToolConfig.



34566
34567
34568
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34566

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

Instance Attribute Details

#function_calling_configGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionCallingConfig

Function calling config. Corresponds to the JSON property functionCallingConfig



34564
34565
34566
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34564

def function_calling_config
  @function_calling_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34571
34572
34573
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34571

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