Class: Google::Apis::TranscoderV1beta1::Input
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1beta1::Input
- 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
Input asset.
Instance Attribute Summary collapse
-
#key ⇒ String
A unique key for this input.
-
#preprocessing_config ⇒ Google::Apis::TranscoderV1beta1::PreprocessingConfig
Preprocessing configurations.
-
#uri ⇒ String
URI of the media.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Input
constructor
A new instance of Input.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Input
Returns a new instance of Input.
701 702 703 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 701 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
A unique key for this input. Must be specified when using advanced mapping and
edit lists.
Corresponds to the JSON property key
688 689 690 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 688 def key @key end |
#preprocessing_config ⇒ Google::Apis::TranscoderV1beta1::PreprocessingConfig
Preprocessing configurations.
Corresponds to the JSON property preprocessingConfig
693 694 695 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 693 def preprocessing_config @preprocessing_config end |
#uri ⇒ String
URI of the media. It must be stored in Cloud Storage. Example gs://bucket/
inputs/file.mp4
. If empty the value will be populated from Job.input_uri
.
Corresponds to the JSON property uri
699 700 701 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 699 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
706 707 708 709 710 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 706 def update!(**args) @key = args[:key] if args.key?(:key) @preprocessing_config = args[:preprocessing_config] if args.key?(:preprocessing_config) @uri = args[:uri] if args.key?(:uri) end |