Class: Google::Apis::TranscoderV1beta1::TextAtom
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1beta1::TextAtom
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/transcoder_v1beta1/classes.rb,
generated/google/apis/transcoder_v1beta1/representations.rb,
generated/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.
1440 1441 1442 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1440 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
1432 1433 1434 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1432 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
1438 1439 1440 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1438 def key @key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1445 1446 1447 1448 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1445 def update!(**args) @inputs = args[:inputs] if args.key?(:inputs) @key = args[:key] if args.key?(:key) end |