Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoPayload
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoPayload
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datalabeling_v1beta1/classes.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb
Overview
Container of information of a video.
Instance Attribute Summary collapse
-
#frame_rate ⇒ Float
FPS of the video.
-
#mime_type ⇒ String
Video format.
-
#signed_uri ⇒ String
Signed uri of the video file in the service bucket.
-
#video_thumbnails ⇒ Array<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoThumbnail>
The list of video thumbnails.
-
#video_uri ⇒ String
Video uri from the user bucket.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1VideoPayload
constructor
A new instance of GoogleCloudDatalabelingV1beta1VideoPayload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1VideoPayload
Returns a new instance of GoogleCloudDatalabelingV1beta1VideoPayload.
4592 4593 4594 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 4592 def initialize(**args) update!(**args) end |
Instance Attribute Details
#frame_rate ⇒ Float
FPS of the video.
Corresponds to the JSON property frameRate
4570 4571 4572 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 4570 def frame_rate @frame_rate end |
#mime_type ⇒ String
Video format.
Corresponds to the JSON property mimeType
4575 4576 4577 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 4575 def mime_type @mime_type end |
#signed_uri ⇒ String
Signed uri of the video file in the service bucket.
Corresponds to the JSON property signedUri
4580 4581 4582 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 4580 def signed_uri @signed_uri end |
#video_thumbnails ⇒ Array<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoThumbnail>
The list of video thumbnails.
Corresponds to the JSON property videoThumbnails
4585 4586 4587 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 4585 def video_thumbnails @video_thumbnails end |
#video_uri ⇒ String
Video uri from the user bucket.
Corresponds to the JSON property videoUri
4590 4591 4592 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 4590 def video_uri @video_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4597 4598 4599 4600 4601 4602 4603 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 4597 def update!(**args) @frame_rate = args[:frame_rate] if args.key?(:frame_rate) @mime_type = args[:mime_type] if args.key?(:mime_type) @signed_uri = args[:signed_uri] if args.key?(:signed_uri) @video_thumbnails = args[:video_thumbnails] if args.key?(:video_thumbnails) @video_uri = args[:video_uri] if args.key?(:video_uri) end |