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.
712 713 714 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 712 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_data ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartFileData
Represents file data.
Corresponds to the JSON property fileData
685 686 687 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 685 def file_data @file_data end |
#function_call ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFunctionCall
Function call details.
Corresponds to the JSON property functionCall
690 691 692 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 690 def function_call @function_call end |
#function_response ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFunctionResponse
Function response details.
Corresponds to the JSON property functionResponse
695 696 697 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 695 def function_response @function_response end |
#inline_data ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartBlob
Represents arbitrary blob data input.
Corresponds to the JSON property inlineData
700 701 702 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 700 def inline_data @inline_data end |
#text ⇒ String
Text input.
Corresponds to the JSON property text
705 706 707 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 705 def text @text end |
#video_metadata ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartVideoMetadata
Metadata describes the input video content.
Corresponds to the JSON property videoMetadata
710 711 712 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 710 def @video_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
717 718 719 720 721 722 723 724 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 717 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 |