Class: Google::Cloud::Video::Transcoder::V1::Job
- Inherits:
-
Object
- Object
- Google::Cloud::Video::Transcoder::V1::Job
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/video/transcoder/v1/resources.rb
Overview
Transcoding job resource.
Defined Under Namespace
Modules: OptimizationStrategy, ProcessingMode, ProcessingState Classes: LabelsEntry
Instance Attribute Summary collapse
-
#batch_mode_priority ⇒ ::Integer
The processing priority of a batch job.
-
#config ⇒ ::Google::Cloud::Video::Transcoder::V1::JobConfig
The configuration for this job.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#end_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#error ⇒ ::Google::Rpc::Status
readonly
Output only.
-
#input_uri ⇒ ::String
Input only.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
The labels associated with this job.
-
#mode ⇒ ::Google::Cloud::Video::Transcoder::V1::Job::ProcessingMode
The processing mode of the job.
-
#name ⇒ ::String
The resource name of the job.
-
#optimization ⇒ ::Google::Cloud::Video::Transcoder::V1::Job::OptimizationStrategy
Optional.
-
#output_uri ⇒ ::String
Input only.
-
#start_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#state ⇒ ::Google::Cloud::Video::Transcoder::V1::Job::ProcessingState
readonly
Output only.
-
#template_id ⇒ ::String
Input only.
-
#ttl_after_completion_days ⇒ ::Integer
Job time to live value in days, which will be effective after job completion.
Instance Attribute Details
#batch_mode_priority ⇒ ::Integer
Returns The processing priority of a batch job. This field can only be set for batch mode jobs. The default value is 0. This value cannot be negative. Higher values correspond to higher priorities for the job.
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 93 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current state of the job. module ProcessingState # The processing state is not specified. PROCESSING_STATE_UNSPECIFIED = 0 # The job is enqueued and will be picked up for processing soon. PENDING = 1 # The job is being processed. RUNNING = 2 # The job has been completed successfully. SUCCEEDED = 3 # The job has failed. For additional information, see `failure_reason` and # `failure_details` FAILED = 4 end # The processing mode of the job. module ProcessingMode # The job processing mode is not specified. PROCESSING_MODE_UNSPECIFIED = 0 # The job processing mode is interactive mode. # Interactive job will either be ran or rejected if quota does not allow # for it. PROCESSING_MODE_INTERACTIVE = 1 # The job processing mode is batch mode. # Batch mode allows queuing of jobs. PROCESSING_MODE_BATCH = 2 end # The optimization strategy of the job. The default is `AUTODETECT`. module OptimizationStrategy # The optimization strategy is not specified. OPTIMIZATION_STRATEGY_UNSPECIFIED = 0 # Prioritize job processing speed. AUTODETECT = 1 # Disable all optimizations. DISABLED = 2 end end |
#config ⇒ ::Google::Cloud::Video::Transcoder::V1::JobConfig
Returns The configuration for this job.
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 93 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current state of the job. module ProcessingState # The processing state is not specified. PROCESSING_STATE_UNSPECIFIED = 0 # The job is enqueued and will be picked up for processing soon. PENDING = 1 # The job is being processed. RUNNING = 2 # The job has been completed successfully. SUCCEEDED = 3 # The job has failed. For additional information, see `failure_reason` and # `failure_details` FAILED = 4 end # The processing mode of the job. module ProcessingMode # The job processing mode is not specified. PROCESSING_MODE_UNSPECIFIED = 0 # The job processing mode is interactive mode. # Interactive job will either be ran or rejected if quota does not allow # for it. PROCESSING_MODE_INTERACTIVE = 1 # The job processing mode is batch mode. # Batch mode allows queuing of jobs. PROCESSING_MODE_BATCH = 2 end # The optimization strategy of the job. The default is `AUTODETECT`. module OptimizationStrategy # The optimization strategy is not specified. OPTIMIZATION_STRATEGY_UNSPECIFIED = 0 # Prioritize job processing speed. AUTODETECT = 1 # Disable all optimizations. DISABLED = 2 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time the job was created.
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 93 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current state of the job. module ProcessingState # The processing state is not specified. PROCESSING_STATE_UNSPECIFIED = 0 # The job is enqueued and will be picked up for processing soon. PENDING = 1 # The job is being processed. RUNNING = 2 # The job has been completed successfully. SUCCEEDED = 3 # The job has failed. For additional information, see `failure_reason` and # `failure_details` FAILED = 4 end # The processing mode of the job. module ProcessingMode # The job processing mode is not specified. PROCESSING_MODE_UNSPECIFIED = 0 # The job processing mode is interactive mode. # Interactive job will either be ran or rejected if quota does not allow # for it. PROCESSING_MODE_INTERACTIVE = 1 # The job processing mode is batch mode. # Batch mode allows queuing of jobs. PROCESSING_MODE_BATCH = 2 end # The optimization strategy of the job. The default is `AUTODETECT`. module OptimizationStrategy # The optimization strategy is not specified. OPTIMIZATION_STRATEGY_UNSPECIFIED = 0 # Prioritize job processing speed. AUTODETECT = 1 # Disable all optimizations. DISABLED = 2 end end |
#end_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time the transcoding finished.
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 93 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current state of the job. module ProcessingState # The processing state is not specified. PROCESSING_STATE_UNSPECIFIED = 0 # The job is enqueued and will be picked up for processing soon. PENDING = 1 # The job is being processed. RUNNING = 2 # The job has been completed successfully. SUCCEEDED = 3 # The job has failed. For additional information, see `failure_reason` and # `failure_details` FAILED = 4 end # The processing mode of the job. module ProcessingMode # The job processing mode is not specified. PROCESSING_MODE_UNSPECIFIED = 0 # The job processing mode is interactive mode. # Interactive job will either be ran or rejected if quota does not allow # for it. PROCESSING_MODE_INTERACTIVE = 1 # The job processing mode is batch mode. # Batch mode allows queuing of jobs. PROCESSING_MODE_BATCH = 2 end # The optimization strategy of the job. The default is `AUTODETECT`. module OptimizationStrategy # The optimization strategy is not specified. OPTIMIZATION_STRATEGY_UNSPECIFIED = 0 # Prioritize job processing speed. AUTODETECT = 1 # Disable all optimizations. DISABLED = 2 end end |
#error ⇒ ::Google::Rpc::Status (readonly)
Returns Output only. An error object that describes the reason for the failure.
This property is always present when state
is FAILED
.
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 93 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current state of the job. module ProcessingState # The processing state is not specified. PROCESSING_STATE_UNSPECIFIED = 0 # The job is enqueued and will be picked up for processing soon. PENDING = 1 # The job is being processed. RUNNING = 2 # The job has been completed successfully. SUCCEEDED = 3 # The job has failed. For additional information, see `failure_reason` and # `failure_details` FAILED = 4 end # The processing mode of the job. module ProcessingMode # The job processing mode is not specified. PROCESSING_MODE_UNSPECIFIED = 0 # The job processing mode is interactive mode. # Interactive job will either be ran or rejected if quota does not allow # for it. PROCESSING_MODE_INTERACTIVE = 1 # The job processing mode is batch mode. # Batch mode allows queuing of jobs. PROCESSING_MODE_BATCH = 2 end # The optimization strategy of the job. The default is `AUTODETECT`. module OptimizationStrategy # The optimization strategy is not specified. OPTIMIZATION_STRATEGY_UNSPECIFIED = 0 # Prioritize job processing speed. AUTODETECT = 1 # Disable all optimizations. DISABLED = 2 end end |
#input_uri ⇒ ::String
Returns Input only. Specify the input_uri
to populate empty uri
fields in each
element of Job.config.inputs
or JobTemplate.config.inputs
when using
template. URI of the media. Input files must be at least 5 seconds in
duration and stored in Cloud Storage (for example,
gs://bucket/inputs/file.mp4
). See Supported input and output
formats.
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 93 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current state of the job. module ProcessingState # The processing state is not specified. PROCESSING_STATE_UNSPECIFIED = 0 # The job is enqueued and will be picked up for processing soon. PENDING = 1 # The job is being processed. RUNNING = 2 # The job has been completed successfully. SUCCEEDED = 3 # The job has failed. For additional information, see `failure_reason` and # `failure_details` FAILED = 4 end # The processing mode of the job. module ProcessingMode # The job processing mode is not specified. PROCESSING_MODE_UNSPECIFIED = 0 # The job processing mode is interactive mode. # Interactive job will either be ran or rejected if quota does not allow # for it. PROCESSING_MODE_INTERACTIVE = 1 # The job processing mode is batch mode. # Batch mode allows queuing of jobs. PROCESSING_MODE_BATCH = 2 end # The optimization strategy of the job. The default is `AUTODETECT`. module OptimizationStrategy # The optimization strategy is not specified. OPTIMIZATION_STRATEGY_UNSPECIFIED = 0 # Prioritize job processing speed. AUTODETECT = 1 # Disable all optimizations. DISABLED = 2 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns The labels associated with this job. You can use these to organize and group your jobs.
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 93 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current state of the job. module ProcessingState # The processing state is not specified. PROCESSING_STATE_UNSPECIFIED = 0 # The job is enqueued and will be picked up for processing soon. PENDING = 1 # The job is being processed. RUNNING = 2 # The job has been completed successfully. SUCCEEDED = 3 # The job has failed. For additional information, see `failure_reason` and # `failure_details` FAILED = 4 end # The processing mode of the job. module ProcessingMode # The job processing mode is not specified. PROCESSING_MODE_UNSPECIFIED = 0 # The job processing mode is interactive mode. # Interactive job will either be ran or rejected if quota does not allow # for it. PROCESSING_MODE_INTERACTIVE = 1 # The job processing mode is batch mode. # Batch mode allows queuing of jobs. PROCESSING_MODE_BATCH = 2 end # The optimization strategy of the job. The default is `AUTODETECT`. module OptimizationStrategy # The optimization strategy is not specified. OPTIMIZATION_STRATEGY_UNSPECIFIED = 0 # Prioritize job processing speed. AUTODETECT = 1 # Disable all optimizations. DISABLED = 2 end end |
#mode ⇒ ::Google::Cloud::Video::Transcoder::V1::Job::ProcessingMode
Returns The processing mode of the job.
The default is PROCESSING_MODE_INTERACTIVE
.
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 93 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current state of the job. module ProcessingState # The processing state is not specified. PROCESSING_STATE_UNSPECIFIED = 0 # The job is enqueued and will be picked up for processing soon. PENDING = 1 # The job is being processed. RUNNING = 2 # The job has been completed successfully. SUCCEEDED = 3 # The job has failed. For additional information, see `failure_reason` and # `failure_details` FAILED = 4 end # The processing mode of the job. module ProcessingMode # The job processing mode is not specified. PROCESSING_MODE_UNSPECIFIED = 0 # The job processing mode is interactive mode. # Interactive job will either be ran or rejected if quota does not allow # for it. PROCESSING_MODE_INTERACTIVE = 1 # The job processing mode is batch mode. # Batch mode allows queuing of jobs. PROCESSING_MODE_BATCH = 2 end # The optimization strategy of the job. The default is `AUTODETECT`. module OptimizationStrategy # The optimization strategy is not specified. OPTIMIZATION_STRATEGY_UNSPECIFIED = 0 # Prioritize job processing speed. AUTODETECT = 1 # Disable all optimizations. DISABLED = 2 end end |
#name ⇒ ::String
Returns The resource name of the job.
Format: projects/{project_number}/locations/{location}/jobs/{job}
.
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 93 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current state of the job. module ProcessingState # The processing state is not specified. PROCESSING_STATE_UNSPECIFIED = 0 # The job is enqueued and will be picked up for processing soon. PENDING = 1 # The job is being processed. RUNNING = 2 # The job has been completed successfully. SUCCEEDED = 3 # The job has failed. For additional information, see `failure_reason` and # `failure_details` FAILED = 4 end # The processing mode of the job. module ProcessingMode # The job processing mode is not specified. PROCESSING_MODE_UNSPECIFIED = 0 # The job processing mode is interactive mode. # Interactive job will either be ran or rejected if quota does not allow # for it. PROCESSING_MODE_INTERACTIVE = 1 # The job processing mode is batch mode. # Batch mode allows queuing of jobs. PROCESSING_MODE_BATCH = 2 end # The optimization strategy of the job. The default is `AUTODETECT`. module OptimizationStrategy # The optimization strategy is not specified. OPTIMIZATION_STRATEGY_UNSPECIFIED = 0 # Prioritize job processing speed. AUTODETECT = 1 # Disable all optimizations. DISABLED = 2 end end |
#optimization ⇒ ::Google::Cloud::Video::Transcoder::V1::Job::OptimizationStrategy
Returns Optional. The optimization strategy of the job. The default is
AUTODETECT
.
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 93 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current state of the job. module ProcessingState # The processing state is not specified. PROCESSING_STATE_UNSPECIFIED = 0 # The job is enqueued and will be picked up for processing soon. PENDING = 1 # The job is being processed. RUNNING = 2 # The job has been completed successfully. SUCCEEDED = 3 # The job has failed. For additional information, see `failure_reason` and # `failure_details` FAILED = 4 end # The processing mode of the job. module ProcessingMode # The job processing mode is not specified. PROCESSING_MODE_UNSPECIFIED = 0 # The job processing mode is interactive mode. # Interactive job will either be ran or rejected if quota does not allow # for it. PROCESSING_MODE_INTERACTIVE = 1 # The job processing mode is batch mode. # Batch mode allows queuing of jobs. PROCESSING_MODE_BATCH = 2 end # The optimization strategy of the job. The default is `AUTODETECT`. module OptimizationStrategy # The optimization strategy is not specified. OPTIMIZATION_STRATEGY_UNSPECIFIED = 0 # Prioritize job processing speed. AUTODETECT = 1 # Disable all optimizations. DISABLED = 2 end end |
#output_uri ⇒ ::String
Returns Input only. Specify the output_uri
to populate an empty
Job.config.output.uri
or JobTemplate.config.output.uri
when using
template. URI for the output file(s). For example,
gs://my-bucket/outputs/
. See Supported input and output
formats.
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 93 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current state of the job. module ProcessingState # The processing state is not specified. PROCESSING_STATE_UNSPECIFIED = 0 # The job is enqueued and will be picked up for processing soon. PENDING = 1 # The job is being processed. RUNNING = 2 # The job has been completed successfully. SUCCEEDED = 3 # The job has failed. For additional information, see `failure_reason` and # `failure_details` FAILED = 4 end # The processing mode of the job. module ProcessingMode # The job processing mode is not specified. PROCESSING_MODE_UNSPECIFIED = 0 # The job processing mode is interactive mode. # Interactive job will either be ran or rejected if quota does not allow # for it. PROCESSING_MODE_INTERACTIVE = 1 # The job processing mode is batch mode. # Batch mode allows queuing of jobs. PROCESSING_MODE_BATCH = 2 end # The optimization strategy of the job. The default is `AUTODETECT`. module OptimizationStrategy # The optimization strategy is not specified. OPTIMIZATION_STRATEGY_UNSPECIFIED = 0 # Prioritize job processing speed. AUTODETECT = 1 # Disable all optimizations. DISABLED = 2 end end |
#start_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time the transcoding started.
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 93 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current state of the job. module ProcessingState # The processing state is not specified. PROCESSING_STATE_UNSPECIFIED = 0 # The job is enqueued and will be picked up for processing soon. PENDING = 1 # The job is being processed. RUNNING = 2 # The job has been completed successfully. SUCCEEDED = 3 # The job has failed. For additional information, see `failure_reason` and # `failure_details` FAILED = 4 end # The processing mode of the job. module ProcessingMode # The job processing mode is not specified. PROCESSING_MODE_UNSPECIFIED = 0 # The job processing mode is interactive mode. # Interactive job will either be ran or rejected if quota does not allow # for it. PROCESSING_MODE_INTERACTIVE = 1 # The job processing mode is batch mode. # Batch mode allows queuing of jobs. PROCESSING_MODE_BATCH = 2 end # The optimization strategy of the job. The default is `AUTODETECT`. module OptimizationStrategy # The optimization strategy is not specified. OPTIMIZATION_STRATEGY_UNSPECIFIED = 0 # Prioritize job processing speed. AUTODETECT = 1 # Disable all optimizations. DISABLED = 2 end end |
#state ⇒ ::Google::Cloud::Video::Transcoder::V1::Job::ProcessingState (readonly)
Returns Output only. The current state of the job.
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 93 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current state of the job. module ProcessingState # The processing state is not specified. PROCESSING_STATE_UNSPECIFIED = 0 # The job is enqueued and will be picked up for processing soon. PENDING = 1 # The job is being processed. RUNNING = 2 # The job has been completed successfully. SUCCEEDED = 3 # The job has failed. For additional information, see `failure_reason` and # `failure_details` FAILED = 4 end # The processing mode of the job. module ProcessingMode # The job processing mode is not specified. PROCESSING_MODE_UNSPECIFIED = 0 # The job processing mode is interactive mode. # Interactive job will either be ran or rejected if quota does not allow # for it. PROCESSING_MODE_INTERACTIVE = 1 # The job processing mode is batch mode. # Batch mode allows queuing of jobs. PROCESSING_MODE_BATCH = 2 end # The optimization strategy of the job. The default is `AUTODETECT`. module OptimizationStrategy # The optimization strategy is not specified. OPTIMIZATION_STRATEGY_UNSPECIFIED = 0 # Prioritize job processing speed. AUTODETECT = 1 # Disable all optimizations. DISABLED = 2 end end |
#template_id ⇒ ::String
Returns Input only. Specify the template_id
to use for populating Job.config
.
The default is preset/web-hd
, which is the only supported preset.
User defined JobTemplate: {job_template_id}
.
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 93 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current state of the job. module ProcessingState # The processing state is not specified. PROCESSING_STATE_UNSPECIFIED = 0 # The job is enqueued and will be picked up for processing soon. PENDING = 1 # The job is being processed. RUNNING = 2 # The job has been completed successfully. SUCCEEDED = 3 # The job has failed. For additional information, see `failure_reason` and # `failure_details` FAILED = 4 end # The processing mode of the job. module ProcessingMode # The job processing mode is not specified. PROCESSING_MODE_UNSPECIFIED = 0 # The job processing mode is interactive mode. # Interactive job will either be ran or rejected if quota does not allow # for it. PROCESSING_MODE_INTERACTIVE = 1 # The job processing mode is batch mode. # Batch mode allows queuing of jobs. PROCESSING_MODE_BATCH = 2 end # The optimization strategy of the job. The default is `AUTODETECT`. module OptimizationStrategy # The optimization strategy is not specified. OPTIMIZATION_STRATEGY_UNSPECIFIED = 0 # Prioritize job processing speed. AUTODETECT = 1 # Disable all optimizations. DISABLED = 2 end end |
#ttl_after_completion_days ⇒ ::Integer
Returns Job time to live value in days, which will be effective after job completion. Job should be deleted automatically after the given TTL. Enter a value between 1 and 90. The default is 30.
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 93 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current state of the job. module ProcessingState # The processing state is not specified. PROCESSING_STATE_UNSPECIFIED = 0 # The job is enqueued and will be picked up for processing soon. PENDING = 1 # The job is being processed. RUNNING = 2 # The job has been completed successfully. SUCCEEDED = 3 # The job has failed. For additional information, see `failure_reason` and # `failure_details` FAILED = 4 end # The processing mode of the job. module ProcessingMode # The job processing mode is not specified. PROCESSING_MODE_UNSPECIFIED = 0 # The job processing mode is interactive mode. # Interactive job will either be ran or rejected if quota does not allow # for it. PROCESSING_MODE_INTERACTIVE = 1 # The job processing mode is batch mode. # Batch mode allows queuing of jobs. PROCESSING_MODE_BATCH = 2 end # The optimization strategy of the job. The default is `AUTODETECT`. module OptimizationStrategy # The optimization strategy is not specified. OPTIMIZATION_STRATEGY_UNSPECIFIED = 0 # Prioritize job processing speed. AUTODETECT = 1 # Disable all optimizations. DISABLED = 2 end end |