Class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFunctionCall

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

Function call details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAiNlLlmProtoServiceFunctionCall

Returns a new instance of CloudAiNlLlmProtoServiceFunctionCall.



605
606
607
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 605

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

Instance Attribute Details

#argsHash<String,Object>

The function parameters and values in JSON format. Corresponds to the JSON property args

Returns:

  • (Hash<String,Object>)


598
599
600
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 598

def args
  @args
end

#nameString

Required. The name of the function to call. Corresponds to the JSON property name

Returns:

  • (String)


603
604
605
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 603

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



610
611
612
613
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 610

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