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.



1503
1504
1505
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1503

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



1495
1496
1497
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1495

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)


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