# Video Stitcher V1 API - Class Google::Cloud::Video::Stitcher::V1::VodSessionAdBreak (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.10.0 0.9.0 0.8.2 0.7.0 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Video Stitcher V1 API class Google::Cloud::Video::Stitcher::V1::VodSessionAdBreak.

Metadata for an inserted ad break.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #ads

    def ads() -> ::Array<::Google::Cloud::Video::Stitcher::V1::VodSessionAd>

**Returns**

- (::Array\<[::Google::Cloud::Video::Stitcher::V1::VodSessionAd](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-VodSessionAd)\>) --- Ordered list of ads stitched into the ad break.

### #ads=

    def ads=(value) -> ::Array<::Google::Cloud::Video::Stitcher::V1::VodSessionAd>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Video::Stitcher::V1::VodSessionAd](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-VodSessionAd)\>) --- Ordered list of ads stitched into the ad break.
**Returns**

- (::Array\<[::Google::Cloud::Video::Stitcher::V1::VodSessionAd](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-VodSessionAd)\>) --- Ordered list of ads stitched into the ad break.

### #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-stitcher-v1/latest/Google-Protobuf-Duration)) --- Ad break end time in seconds relative to the start of the VOD asset.

### #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-stitcher-v1/latest/Google-Protobuf-Duration)) --- Ad break end time in seconds relative to the start of the VOD asset.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Protobuf-Duration)) --- Ad break end time in seconds relative to the start of the VOD asset.

### #progress_events

    def progress_events() -> ::Array<::Google::Cloud::Video::Stitcher::V1::ProgressEvent>

**Returns**

- (::Array\<[::Google::Cloud::Video::Stitcher::V1::ProgressEvent](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-ProgressEvent)\>) --- List of events that are expected to be triggered, ordered by time.

### #progress_events=

    def progress_events=(value) -> ::Array<::Google::Cloud::Video::Stitcher::V1::ProgressEvent>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Video::Stitcher::V1::ProgressEvent](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-ProgressEvent)\>) --- List of events that are expected to be triggered, ordered by time.
**Returns**

- (::Array\<[::Google::Cloud::Video::Stitcher::V1::ProgressEvent](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-ProgressEvent)\>) --- List of events that are expected to be triggered, ordered by time.

### #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-stitcher-v1/latest/Google-Protobuf-Duration)) --- Ad break start time in seconds relative to the start of the VOD asset.

### #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-stitcher-v1/latest/Google-Protobuf-Duration)) --- Ad break start time in seconds relative to the start of the VOD asset.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Protobuf-Duration)) --- Ad break start time in seconds relative to the start of the VOD asset.