Cloud Video Intelligence V1beta2 API - Class Google::Cloud::VideoIntelligence::V1beta2::VideoSegment (v0.8.0)

Reference documentation and code samples for the Cloud Video Intelligence V1beta2 API class Google::Cloud::VideoIntelligence::V1beta2::VideoSegment.

Video segment.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#end_time_offset

def end_time_offset() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).

#end_time_offset=

def end_time_offset=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).
Returns
  • (::Google::Protobuf::Duration) — Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).

#start_time_offset

def start_time_offset() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).

#start_time_offset=

def start_time_offset=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).
Returns
  • (::Google::Protobuf::Duration) — Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).