Class: Google::Apis::PhotoslibraryV1::Video
- Inherits:
-
Object
- Object
- Google::Apis::PhotoslibraryV1::Video
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/photoslibrary_v1/classes.rb,
generated/google/apis/photoslibrary_v1/representations.rb,
generated/google/apis/photoslibrary_v1/representations.rb
Overview
Metadata that is specific to a video, for example, fps and processing status. Some of these fields may be null or not included.
Instance Attribute Summary collapse
-
#camera_make ⇒ String
Brand of the camera which took the video.
-
#camera_model ⇒ String
Model of the camera which took the video.
-
#fps ⇒ Float
Frame rate of the video.
-
#status ⇒ String
Processing status of the video.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Video
constructor
A new instance of Video.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Video
Returns a new instance of Video
1316 1317 1318 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 1316 def initialize(**args) update!(**args) end |
Instance Attribute Details
#camera_make ⇒ String
Brand of the camera which took the video.
Corresponds to the JSON property cameraMake
1299 1300 1301 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 1299 def camera_make @camera_make end |
#camera_model ⇒ String
Model of the camera which took the video.
Corresponds to the JSON property cameraModel
1304 1305 1306 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 1304 def camera_model @camera_model end |
#fps ⇒ Float
Frame rate of the video.
Corresponds to the JSON property fps
1309 1310 1311 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 1309 def fps @fps end |
#status ⇒ String
Processing status of the video.
Corresponds to the JSON property status
1314 1315 1316 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 1314 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1321 1322 1323 1324 1325 1326 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 1321 def update!(**args) @camera_make = args[:camera_make] if args.key?(:camera_make) @camera_model = args[:camera_model] if args.key?(:camera_model) @fps = args[:fps] if args.key?(:fps) @status = args[:status] if args.key?(:status) end |