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.



869
870
871
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 869

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)


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

def data
  @data
end

#mime_typeString

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

Returns:

  • (String)


862
863
864
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 862

def mime_type
  @mime_type
end

#original_file_dataGoogle::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartFileData

Represents file data. Corresponds to the JSON property originalFileData



867
868
869
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 867

def original_file_data
  @original_file_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



874
875
876
877
878
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 874

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