Class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartBlob
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartBlob
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/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::AiplatformV1beta1::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.
863 864 865 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 863 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.
851 852 853 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 851 def data @data end |
#mime_type ⇒ String
The mime type corresponding to this input.
Corresponds to the JSON property mimeType
856 857 858 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 856 def mime_type @mime_type end |
#original_file_data ⇒ Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartFileData
Represents file data.
Corresponds to the JSON property originalFileData
861 862 863 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 861 def original_file_data @original_file_data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
868 869 870 871 872 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 868 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 |