Class: Google::Apis::TranscoderV1beta1::TextAtom
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1beta1::TextAtom
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/transcoder_v1beta1/classes.rb,
lib/google/apis/transcoder_v1beta1/representations.rb,
lib/google/apis/transcoder_v1beta1/representations.rb
Overview
The mapping for the Job.edit_list
atoms with text EditAtom.inputs
.
Instance Attribute Summary collapse
-
#inputs ⇒ Array<Google::Apis::TranscoderV1beta1::TextInput>
List of
Job.inputs
that should be embedded in this atom. -
#key ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TextAtom
constructor
A new instance of TextAtom.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TextAtom
Returns a new instance of TextAtom.
1503 1504 1505 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1503 def initialize(**args) update!(**args) end |
Instance Attribute Details
#inputs ⇒ Array<Google::Apis::TranscoderV1beta1::TextInput>
List of Job.inputs
that should be embedded in this atom. Only one input is
supported.
Corresponds to the JSON property inputs
1495 1496 1497 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1495 def inputs @inputs end |
#key ⇒ String
Required. The EditAtom.key
that references atom with text inputs in the Job.
edit_list
.
Corresponds to the JSON property key
1501 1502 1503 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1501 def key @key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1508 1509 1510 1511 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1508 def update!(**args) @inputs = args[:inputs] if args.key?(:inputs) @key = args[:key] if args.key?(:key) end |