Class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartFileData
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartFileData
- 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 file data.
Instance Attribute Summary collapse
-
#file_uri ⇒ String
Inline data.
-
#mime_type ⇒ String
The mime type corresponding to this input.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAiNlLlmProtoServicePartFileData
constructor
A new instance of CloudAiNlLlmProtoServicePartFileData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudAiNlLlmProtoServicePartFileData
Returns a new instance of CloudAiNlLlmProtoServicePartFileData.
903 904 905 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 903 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_uri ⇒ String
Inline data.
Corresponds to the JSON property fileUri
896 897 898 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 896 def file_uri @file_uri end |
#mime_type ⇒ String
The mime type corresponding to this input.
Corresponds to the JSON property mimeType
901 902 903 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 901 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
908 909 910 911 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 908 def update!(**args) @file_uri = args[:file_uri] if args.key?(:file_uri) @mime_type = args[:mime_type] if args.key?(:mime_type) end |