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.



657
658
659
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 657

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


650
651
652
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 650

def args
  @args
end

#nameString

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

Returns:

  • (String)


655
656
657
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 655

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



662
663
664
665
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 662

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