Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaImageDataItem
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaImageDataItem
- 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
Payload of Image DataItem.
Instance Attribute Summary collapse
-
#gcs_uri ⇒ String
Required.
-
#mime_type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaImageDataItem
constructor
A new instance of GoogleCloudAiplatformV1SchemaImageDataItem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaImageDataItem
Returns a new instance of GoogleCloudAiplatformV1SchemaImageDataItem.
19388 19389 19390 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19388 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcs_uri ⇒ String
Required. Google Cloud Storage URI points to the original image in user's
bucket. The image is up to 30MB in size.
Corresponds to the JSON property gcsUri
19379 19380 19381 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19379 def gcs_uri @gcs_uri end |
#mime_type ⇒ String
Output only. The mime type of the content of the image. Only the images in
below listed mime types are supported. - image/jpeg - image/gif - image/png -
image/webp - image/bmp - image/tiff - image/vnd.microsoft.icon
Corresponds to the JSON property mimeType
19386 19387 19388 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19386 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19393 19394 19395 19396 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19393 def update!(**args) @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri) @mime_type = args[:mime_type] if args.key?(:mime_type) end |