Class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFunctionResponse
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFunctionResponse
- 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
-
#name ⇒ String
Required.
-
#response ⇒ Hash<String,Object>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAiNlLlmProtoServiceFunctionResponse
constructor
A new instance of CloudAiNlLlmProtoServiceFunctionResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#name ⇒ String
Required. The name of the function to call.
Corresponds to the JSON property name
623 624 625 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 623 def name @name end |
#response ⇒ Hash<String,Object>
Required. The function response in JSON object format.
Corresponds to the JSON property response
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 |