Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Blob
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Blob
- 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
Content blob.
Instance Attribute Summary collapse
-
#data ⇒ String
Required.
-
#mime_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1Blob
constructor
A new instance of GoogleCloudAiplatformV1Blob.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1Blob
Returns a new instance of GoogleCloudAiplatformV1Blob.
1690 1691 1692 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1690 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ String
Required. Data.
Corresponds to the JSON property data
NOTE: Values are automatically base64 encoded/decoded in the client library.
1683 1684 1685 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1683 def data @data end |
#mime_type ⇒ String
Required. Mime type of the data.
Corresponds to the JSON property mimeType
1688 1689 1690 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1688 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1695 1696 1697 1698 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1695 def update!(**args) @data = args[:data] if args.key?(:data) @mime_type = args[:mime_type] if args.key?(:mime_type) end |