Class: Google::Apis::TranscoderV1beta1::TextInput

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

Identifies which input file and track should be used.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TextInput

Returns a new instance of TextInput.



1465
1466
1467
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1465

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

Instance Attribute Details

#keyString

Required. The Input.key that identifies the input file. Corresponds to the JSON property key

Returns:

  • (String)


1458
1459
1460
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1458

def key
  @key
end

#trackFixnum

Required. The zero-based index of the track in the input file. Corresponds to the JSON property track

Returns:

  • (Fixnum)


1463
1464
1465
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1463

def track
  @track
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1470
1471
1472
1473
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1470

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