Class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartBlob

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

Represents arbitrary blob data input.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAiNlLlmProtoServicePartBlob

Returns a new instance of CloudAiNlLlmProtoServicePartBlob.



851
852
853
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 851

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

Instance Attribute Details

#dataString

Inline data. Corresponds to the JSON property data NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


839
840
841
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 839

def data
  @data
end

#mime_typeString

The mime type corresponding to this input. Corresponds to the JSON property mimeType

Returns:

  • (String)


844
845
846
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 844

def mime_type
  @mime_type
end

#original_file_dataGoogle::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartFileData

Represents file data. Corresponds to the JSON property originalFileData



849
850
851
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 849

def original_file_data
  @original_file_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



856
857
858
859
860
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 856

def update!(**args)
  @data = args[:data] if args.key?(:data)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
  @original_file_data = args[:original_file_data] if args.key?(:original_file_data)
end