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.



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

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)


775
776
777
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 775

def data
  @data
end

#mime_typeString

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

Returns:

  • (String)


780
781
782
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 780

def mime_type
  @mime_type
end

#original_file_dataGoogle::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartFileData

Represents file data. Corresponds to the JSON property originalFileData



785
786
787
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 785

def original_file_data
  @original_file_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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