Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaVideoDataItem
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaVideoDataItem
- 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 Video DataItem.
Instance Attribute Summary collapse
-
#gcs_uri ⇒ String
Required.
-
#mime_type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaVideoDataItem
constructor
A new instance of GoogleCloudAiplatformV1SchemaVideoDataItem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaVideoDataItem
Returns a new instance of GoogleCloudAiplatformV1SchemaVideoDataItem.
21829 21830 21831 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21829 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcs_uri ⇒ String
Required. Google Cloud Storage URI points to the original video in user's
bucket. The video is up to 50 GB in size and up to 3 hour in duration.
Corresponds to the JSON property gcsUri
21820 21821 21822 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21820 def gcs_uri @gcs_uri end |
#mime_type ⇒ String
Output only. The mime type of the content of the video. Only the videos in
below listed mime types are supported. Supported mime_type: - video/mp4 -
video/avi - video/quicktime
Corresponds to the JSON property mimeType
21827 21828 21829 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21827 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21834 21835 21836 21837 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21834 def update!(**args) @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri) @mime_type = args[:mime_type] if args.key?(:mime_type) end |