# Cloud Video Intelligence V1p3beta1 API - Class Google::Cloud::VideoIntelligence::V1p3beta1::VideoSegment (v0.14.0)

0.14.0 (latest) 0.13.0 0.12.1 0.11.0 0.10.0 0.9.1 0.8.0 0.7.2 0.6.2 0.5.0 0.4.1 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the Cloud Video Intelligence V1p3beta1 API class Google::Cloud::VideoIntelligence::V1p3beta1::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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Protobuf-Duration)) --- Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Protobuf-Duration)) --- Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Protobuf-Duration)) --- Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).