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.



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

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)


833
834
835
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 833

def data
  @data
end

#mime_typeString

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

Returns:

  • (String)


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

def mime_type
  @mime_type
end

#original_file_dataGoogle::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartFileData

Represents file data. Corresponds to the JSON property originalFileData



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

def original_file_data
  @original_file_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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