Class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePart

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

A single part of a message.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAiNlLlmProtoServicePart

Returns a new instance of CloudAiNlLlmProtoServicePart.



810
811
812
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 810

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

Instance Attribute Details

#file_dataGoogle::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartFileData

Represents file data. Corresponds to the JSON property fileData



783
784
785
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 783

def file_data
  @file_data
end

#function_callGoogle::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFunctionCall

Function call details. Corresponds to the JSON property functionCall



788
789
790
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 788

def function_call
  @function_call
end

#function_responseGoogle::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFunctionResponse

Function response details. Corresponds to the JSON property functionResponse



793
794
795
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 793

def function_response
  @function_response
end

#inline_dataGoogle::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartBlob

Represents arbitrary blob data input. Corresponds to the JSON property inlineData



798
799
800
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 798

def inline_data
  @inline_data
end

#textString

Text input. Corresponds to the JSON property text

Returns:

  • (String)


803
804
805
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 803

def text
  @text
end

#video_metadataGoogle::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartVideoMetadata

Metadata describes the input video content. Corresponds to the JSON property videoMetadata



808
809
810
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 808

def 
  @video_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



815
816
817
818
819
820
821
822
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 815

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