Class: Google::Apis::TranscoderV1beta1::JobTemplate
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1beta1::JobTemplate
- 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
Transcoding job template resource.
Instance Attribute Summary collapse
-
#config ⇒ Google::Apis::TranscoderV1beta1::JobConfig
Job configuration Corresponds to the JSON property
config
. -
#name ⇒ String
The resource name of the job template.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JobTemplate
constructor
A new instance of JobTemplate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ JobTemplate
Returns a new instance of JobTemplate.
920 921 922 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 920 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config ⇒ Google::Apis::TranscoderV1beta1::JobConfig
Job configuration
Corresponds to the JSON property config
912 913 914 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 912 def config @config end |
#name ⇒ String
The resource name of the job template. Format: projects/
project/locations/
location/jobTemplates/
job_template`
Corresponds to the JSON property
name`
918 919 920 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 918 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
925 926 927 928 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 925 def update!(**args) @config = args[:config] if args.key?(:config) @name = args[:name] if args.key?(:name) end |