Class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFunctionResponse

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 response details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAiNlLlmProtoServiceFunctionResponse

Returns a new instance of CloudAiNlLlmProtoServiceFunctionResponse.



630
631
632
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 630

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

Instance Attribute Details

#nameString

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

Returns:

  • (String)


623
624
625
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 623

def name
  @name
end

#responseHash<String,Object>

Required. The function response in JSON object format. Corresponds to the JSON property response

Returns:

  • (Hash<String,Object>)


628
629
630
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 628

def response
  @response
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



635
636
637
638
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 635

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