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.



33946
33947
33948
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33946

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

Instance Attribute Details

#function_calling_configGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionCallingConfig

Function calling config. Corresponds to the JSON property functionCallingConfig



33944
33945
33946
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33944

def function_calling_config
  @function_calling_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



33951
33952
33953
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33951

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