Reference documentation and code samples for the Transcoder V1beta1 API class Google::Cloud::Video::Transcoder::V1beta1::Job.
Transcoding job resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#config
def config() -> ::Google::Cloud::Video::Transcoder::V1beta1::JobConfig
- (::Google::Cloud::Video::Transcoder::V1beta1::JobConfig) — The configuration for this job.
#config=
def config=(value) -> ::Google::Cloud::Video::Transcoder::V1beta1::JobConfig
- value (::Google::Cloud::Video::Transcoder::V1beta1::JobConfig) — The configuration for this job.
- (::Google::Cloud::Video::Transcoder::V1beta1::JobConfig) — The configuration for this job.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time the job was created.
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time the transcoding finished.
#failure_details
def failure_details() -> ::Array<::Google::Cloud::Video::Transcoder::V1beta1::FailureDetail>
-
(::Array<::Google::Cloud::Video::Transcoder::V1beta1::FailureDetail>) —
Output only. List of failure details. This property may contain additional information about the failure when
failure_reason
is present.
#failure_reason
def failure_reason() -> ::String
-
(::String) — Output only. A description of the reason for the failure. This property is
always present when
state
isFAILED
.
#input_uri
def input_uri() -> ::String
-
(::String) — Input only. Specify the
input_uri
to populate emptyuri
fields in each element ofJob.config.inputs
orJobTemplate.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
).
#input_uri=
def input_uri=(value) -> ::String
-
value (::String) — Input only. Specify the
input_uri
to populate emptyuri
fields in each element ofJob.config.inputs
orJobTemplate.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
).
-
(::String) — Input only. Specify the
input_uri
to populate emptyuri
fields in each element ofJob.config.inputs
orJobTemplate.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
).
#name
def name() -> ::String
-
(::String) — The resource name of the job.
Format:
projects/{project}/locations/{location}/jobs/{job}
#name=
def name=(value) -> ::String
-
value (::String) — The resource name of the job.
Format:
projects/{project}/locations/{location}/jobs/{job}
-
(::String) — The resource name of the job.
Format:
projects/{project}/locations/{location}/jobs/{job}
#origin_uri
def origin_uri() -> ::Google::Cloud::Video::Transcoder::V1beta1::Job::OriginUri
-
(::Google::Cloud::Video::Transcoder::V1beta1::Job::OriginUri) —
Output only. The origin URI.
#output_uri
def output_uri() -> ::String
-
(::String) — Input only. Specify the
output_uri
to populate an emptyJob.config.output.uri
orJobTemplate.config.output.uri
when using template. URI for the output file(s). For example,gs://my-bucket/outputs/
.
#output_uri=
def output_uri=(value) -> ::String
-
value (::String) — Input only. Specify the
output_uri
to populate an emptyJob.config.output.uri
orJobTemplate.config.output.uri
when using template. URI for the output file(s). For example,gs://my-bucket/outputs/
.
-
(::String) — Input only. Specify the
output_uri
to populate an emptyJob.config.output.uri
orJobTemplate.config.output.uri
when using template. URI for the output file(s). For example,gs://my-bucket/outputs/
.
#priority
def priority() -> ::Integer
- (::Integer) — Specify the priority of the job. Enter a value between 0 and 100, where 0 is the lowest priority and 100 is the highest priority. The default is 0.
#priority=
def priority=(value) -> ::Integer
- value (::Integer) — Specify the priority of the job. Enter a value between 0 and 100, where 0 is the lowest priority and 100 is the highest priority. The default is 0.
- (::Integer) — Specify the priority of the job. Enter a value between 0 and 100, where 0 is the lowest priority and 100 is the highest priority. The default is 0.
#progress
def progress() -> ::Google::Cloud::Video::Transcoder::V1beta1::Progress
-
(::Google::Cloud::Video::Transcoder::V1beta1::Progress) —
Output only. Estimated fractional progress, from
0
to1
for each step.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time the transcoding started.
#state
def state() -> ::Google::Cloud::Video::Transcoder::V1beta1::Job::ProcessingState
- (::Google::Cloud::Video::Transcoder::V1beta1::Job::ProcessingState) — Output only. The current state of the job.
#template_id
def template_id() -> ::String
-
(::String) —
Input only. Specify the
template_id
to use for populatingJob.config
. The default ispreset/web-hd
.Preset Transcoder templates:
preset/{preset_id}
User defined JobTemplate:
{job_template_id}
#template_id=
def template_id=(value) -> ::String
-
value (::String) —
Input only. Specify the
template_id
to use for populatingJob.config
. The default ispreset/web-hd
.Preset Transcoder templates:
preset/{preset_id}
User defined JobTemplate:
{job_template_id}
-
(::String) —
Input only. Specify the
template_id
to use for populatingJob.config
. The default ispreset/web-hd
.Preset Transcoder templates:
preset/{preset_id}
User defined JobTemplate:
{job_template_id}
#ttl_after_completion_days
def ttl_after_completion_days() -> ::Integer
- (::Integer) — 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.
#ttl_after_completion_days=
def ttl_after_completion_days=(value) -> ::Integer
- value (::Integer) — 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.
- (::Integer) — 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.