Class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartBlob
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartBlob
- 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
-
#data ⇒ String
Inline data.
-
#mime_type ⇒ String
The mime type corresponding to this input.
-
#original_file_data ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartFileData
Represents file data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAiNlLlmProtoServicePartBlob
constructor
A new instance of CloudAiNlLlmProtoServicePartBlob.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#data ⇒ String
Inline data.
Corresponds to the JSON property data
NOTE: Values are automatically base64 encoded/decoded in the client library.
775 776 777 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 775 def data @data end |
#mime_type ⇒ String
The mime type corresponding to this input.
Corresponds to the JSON property mimeType
780 781 782 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 780 def mime_type @mime_type end |
#original_file_data ⇒ Google::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 |