Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class EditAtom.
Edit atom.
Generated from protobuf message google.cloud.video.transcoder.v1.EditAtom
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ key |
string
A unique key for this atom. Must be specified when using advanced mapping. |
↳ inputs |
array
List of |
↳ end_time_offset |
Google\Protobuf\Duration
End time in seconds for the atom, relative to the input file timeline. When |
↳ start_time_offset |
Google\Protobuf\Duration
Start time in seconds for the atom, relative to the input file timeline. The default is |
getKey
A unique key for this atom. Must be specified when using advanced mapping.
| Returns | |
|---|---|
| Type | Description |
string |
|
setKey
A unique key for this atom. Must be specified when using advanced mapping.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInputs
List of Input.keys identifying files that should be used in this atom.
The listed inputs must have the same timeline.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setInputs
List of Input.keys identifying files that should be used in this atom.
The listed inputs must have the same timeline.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEndTimeOffset
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 | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasEndTimeOffset
clearEndTimeOffset
setEndTimeOffset
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.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStartTimeOffset
Start time in seconds for the atom, relative to the input file timeline.
The default is 0s.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasStartTimeOffset
clearStartTimeOffset
setStartTimeOffset
Start time in seconds for the atom, relative to the input file timeline.
The default is 0s.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|