# Transcoder V1 API - Class Google::Cloud::Video::Transcoder::V1::EditAtom (v2.6.0)

2.6.0 (latest) 2.5.0 2.4.1 2.3.0 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.13.0 0.12.2 0.11.0 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.2 Reference documentation and code samples for the Transcoder V1 API class Google::Cloud::Video::Transcoder::V1::EditAtom.

Edit atom.

## 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-transcoder-v1/latest/Google-Protobuf-Duration)) --- End time in seconds for the atom, relative to the input file timeline. When `end_time_offset` is not specified, the `inputs` are used until the end of the atom.

### #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-transcoder-v1/latest/Google-Protobuf-Duration)) --- End time in seconds for the atom, relative to the input file timeline. When `end_time_offset` is not specified, the `inputs` are used until the end of the atom.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Protobuf-Duration)) --- End time in seconds for the atom, relative to the input file timeline. When `end_time_offset` is not specified, the `inputs` are used until the end of the atom.

### #inputs

    def inputs() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- List of [Input.key](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-Input#Google__Cloud__Video__Transcoder__V1__Input_key_instance_ "Google::Cloud::Video::Transcoder::V1::Input#key (method)") values identifying files that should be used in this atom. The listed `inputs` must have the same timeline.

### #inputs=

    def inputs=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- List of [Input.key](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-Input#Google__Cloud__Video__Transcoder__V1__Input_key_instance_ "Google::Cloud::Video::Transcoder::V1::Input#key (method)") values identifying files that should be used in this atom. The listed `inputs` must have the same timeline.
**Returns**

- (::Array\<::String\>) --- List of [Input.key](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-Input#Google__Cloud__Video__Transcoder__V1__Input_key_instance_ "Google::Cloud::Video::Transcoder::V1::Input#key (method)") values identifying files that should be used in this atom. The listed `inputs` must have the same timeline.

### #key

    def key() -> ::String

**Returns**

- (::String) --- A unique key for this atom. Must be specified when using advanced mapping.

### #key=

    def key=(value) -> ::String

**Parameter**

- **value** (::String) --- A unique key for this atom. Must be specified when using advanced mapping.
**Returns**

- (::String) --- A unique key for this atom. Must be specified when using advanced mapping.

### #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-transcoder-v1/latest/Google-Protobuf-Duration)) --- Start time in seconds for the atom, relative to the input file timeline. The default is `0s`.

### #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-transcoder-v1/latest/Google-Protobuf-Duration)) --- Start time in seconds for the atom, relative to the input file timeline. The default is `0s`.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Protobuf-Duration)) --- Start time in seconds for the atom, relative to the input file timeline. The default is `0s`.