Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaVideoDataItem

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaVideoDataItem

Returns a new instance of GoogleCloudAiplatformV1SchemaVideoDataItem.



28146
28147
28148
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28146

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#gcs_uriString

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

Returns:

  • (String)


28137
28138
28139
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28137

def gcs_uri
  @gcs_uri
end

#mime_typeString

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

Returns:

  • (String)


28144
28145
28146
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28144

def mime_type
  @mime_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28151
28152
28153
28154
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28151

def update!(**args)
  @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
end