Class: Google::Apis::CloudsearchV1::VideoInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::VideoInfo
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Next tag: 2
Instance Attribute Summary collapse
-
#duration ⇒ Fixnum
Duration of the video in milliseconds.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VideoInfo
constructor
A new instance of VideoInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VideoInfo
Returns a new instance of VideoInfo.
21830 21831 21832 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21830 def initialize(**args) update!(**args) end |
Instance Attribute Details
#duration ⇒ Fixnum
Duration of the video in milliseconds. This field can be absent for recently
uploaded video or inaccurate sometimes.
Corresponds to the JSON property duration
21828 21829 21830 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21828 def duration @duration end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21835 21836 21837 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21835 def update!(**args) @duration = args[:duration] if args.key?(:duration) end |