Class Job (1.0.0-beta04)

public sealed class Job : IMessage<Job>, IEquatable<Job>, IDeepCloneable<Job>, IBufferMessage, IMessage

Transcoding job resource.

Inheritance

Object > Job

Namespace

Google.Cloud.Video.Transcoder.V1Beta1

Assembly

Google.Cloud.Video.Transcoder.V1Beta1.dll

Constructors

Job()

public Job()

Job(Job)

public Job(Job other)
Parameter
NameDescription
otherJob

Properties

Config

public JobConfig Config { get; set; }

The configuration for this job.

Property Value
TypeDescription
JobConfig

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time the job was created.

Property Value
TypeDescription
Timestamp

EndTime

public Timestamp EndTime { get; set; }

Output only. The time the transcoding finished.

Property Value
TypeDescription
Timestamp

FailureDetails

public RepeatedField<FailureDetail> FailureDetails { get; }

Output only. List of failure details. This property may contain additional information about the failure when failure_reason is present. <aside class="note"><b>Note</b>: This feature is not yet available.</aside>

Property Value
TypeDescription
RepeatedField<FailureDetail>

FailureReason

public string FailureReason { get; set; }

Output only. A description of the reason for the failure. This property is always present when state is FAILED.

Property Value
TypeDescription
String

InputUri

public string InputUri { get; set; }

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).

Property Value
TypeDescription
String

JobConfigCase

public Job.JobConfigOneofCase JobConfigCase { get; }
Property Value
TypeDescription
Job.JobConfigOneofCase

JobName

public JobName JobName { get; set; }

JobName-typed view over the Name resource name property.

Property Value
TypeDescription
JobName

Name

public string Name { get; set; }

The resource name of the job. Format: projects/{project}/locations/{location}/jobs/{job}

Property Value
TypeDescription
String

OriginUri

public Job.Types.OriginUri OriginUri { get; set; }

Output only. The origin URI. <aside class="note"><b>Note</b>: This feature is not yet available.</aside>

Property Value
TypeDescription
Job.Types.OriginUri

OutputUri

public string OutputUri { get; set; }

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/.

Property Value
TypeDescription
String

Priority

public int Priority { get; set; }

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.

Property Value
TypeDescription
Int32

Progress

public Progress Progress { get; set; }

Output only. Estimated fractional progress, from 0 to 1 for each step. <aside class="note"><b>Note</b>: This feature is not yet available.</aside>

Property Value
TypeDescription
Progress

StartTime

public Timestamp StartTime { get; set; }

Output only. The time the transcoding started.

Property Value
TypeDescription
Timestamp

State

public Job.Types.ProcessingState State { get; set; }

Output only. The current state of the job.

Property Value
TypeDescription
Job.Types.ProcessingState

TemplateId

public string TemplateId { get; set; }

Input only. Specify the template_id to use for populating Job.config. The default is preset/web-hd.

Preset Transcoder templates:

  • preset/{preset_id}

  • User defined JobTemplate: {job_template_id}

Property Value
TypeDescription
String

TtlAfterCompletionDays

public int TtlAfterCompletionDays { get; set; }

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.

Property Value
TypeDescription
Int32