Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VideoMetadata
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VideoMetadata
- 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
Metadata describes the input video content.
Instance Attribute Summary collapse
-
#end_offset ⇒ String
Optional.
-
#start_offset ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1VideoMetadata
constructor
A new instance of GoogleCloudAiplatformV1VideoMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1VideoMetadata
Returns a new instance of GoogleCloudAiplatformV1VideoMetadata.
40247 40248 40249 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 40247 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_offset ⇒ String
Optional. The end offset of the video.
Corresponds to the JSON property endOffset
40240 40241 40242 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 40240 def end_offset @end_offset end |
#start_offset ⇒ String
Optional. The start offset of the video.
Corresponds to the JSON property startOffset
40245 40246 40247 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 40245 def start_offset @start_offset end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40252 40253 40254 40255 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 40252 def update!(**args) @end_offset = args[:end_offset] if args.key?(:end_offset) @start_offset = args[:start_offset] if args.key?(:start_offset) end |