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
-
#document_metadata ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartDocumentMetadata
Metadata describes the original input document content.
-
#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.
815 816 817 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 815 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document_metadata ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartDocumentMetadata
Metadata describes the original input document content.
Corresponds to the JSON property documentMetadata
783 784 785 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 783 def @document_metadata end |
#file_data ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartFileData
Represents file data.
Corresponds to the JSON property fileData
788 789 790 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 788 def file_data @file_data end |
#function_call ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFunctionCall
Function call details.
Corresponds to the JSON property functionCall
793 794 795 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 793 def function_call @function_call end |
#function_response ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFunctionResponse
Function response details.
Corresponds to the JSON property functionResponse
798 799 800 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 798 def function_response @function_response end |
#inline_data ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartBlob
Represents arbitrary blob data input.
Corresponds to the JSON property inlineData
803 804 805 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 803 def inline_data @inline_data end |
#text ⇒ String
Text input.
Corresponds to the JSON property text
808 809 810 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 808 def text @text end |
#video_metadata ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartVideoMetadata
Metadata describes the input video content.
Corresponds to the JSON property videoMetadata
813 814 815 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 813 def @video_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
820 821 822 823 824 825 826 827 828 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 820 def update!(**args) @document_metadata = args[:document_metadata] if args.key?(:document_metadata) @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 |