Class: Google::Apis::TranscoderV1beta1::TextAtom

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TextAtom

Returns a new instance of TextAtom.



1562
1563
1564
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1562

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#inputsArray<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



1554
1555
1556
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1554

def inputs
  @inputs
end

#keyString

Required. The EditAtom.key that references atom with text inputs in the Job. edit_list. Corresponds to the JSON property key

Returns:

  • (String)


1560
1561
1562
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1560

def key
  @key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1567
1568
1569
1570
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1567

def update!(**args)
  @inputs = args[:inputs] if args.key?(:inputs)
  @key = args[:key] if args.key?(:key)
end