Class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePart
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePart
- 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
A single part of a message.
Instance Attribute Summary collapse
-
#file_data ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartFileData
Represents file data.
-
#function_call ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFunctionCall
Function call details.
-
#function_response ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFunctionResponse
Function response details.
-
#inline_data ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartBlob
Represents arbitrary blob data input.
-
#text ⇒ String
Text input.
-
#video_metadata ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartVideoMetadata
Metadata describes the input video content.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAiNlLlmProtoServicePart
constructor
A new instance of CloudAiNlLlmProtoServicePart.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudAiNlLlmProtoServicePart
Returns a new instance of CloudAiNlLlmProtoServicePart.
752 753 754 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 752 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_data ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartFileData
Represents file data.
Corresponds to the JSON property fileData
725 726 727 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 725 def file_data @file_data end |
#function_call ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFunctionCall
Function call details.
Corresponds to the JSON property functionCall
730 731 732 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 730 def function_call @function_call end |
#function_response ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFunctionResponse
Function response details.
Corresponds to the JSON property functionResponse
735 736 737 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 735 def function_response @function_response end |
#inline_data ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartBlob
Represents arbitrary blob data input.
Corresponds to the JSON property inlineData
740 741 742 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 740 def inline_data @inline_data end |
#text ⇒ String
Text input.
Corresponds to the JSON property text
745 746 747 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 745 def text @text end |
#video_metadata ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartVideoMetadata
Metadata describes the input video content.
Corresponds to the JSON property videoMetadata
750 751 752 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 750 def @video_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
757 758 759 760 761 762 763 764 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 757 def update!(**args) @file_data = args[:file_data] if args.key?(:file_data) @function_call = args[:function_call] if args.key?(:function_call) @function_response = args[:function_response] if args.key?(:function_response) @inline_data = args[:inline_data] if args.key?(:inline_data) @text = args[:text] if args.key?(:text) @video_metadata = args[:video_metadata] if args.key?(:video_metadata) end |