Transcoder v1 API - Class Job (2.8.0)

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

Reference documentation and code samples for the Transcoder v1 API class Job.

Transcoding job resource.

Inheritance

object > Job

Namespace

Google.Cloud.Video.Transcoder.V1

Assembly

Google.Cloud.Video.Transcoder.V1.dll

Constructors

Job()

public Job()

Job(Job)

public Job(Job other)
Parameter
NameDescription
otherJob

Properties

BatchModePriority

public int BatchModePriority { get; set; }

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.

Property Value
TypeDescription
int

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

Error

public Status Error { get; set; }

Output only. An error object that describes the reason for the failure. This property is always present when state is FAILED.

Property Value
TypeDescription
Status

HasTemplateId

public bool HasTemplateId { get; }

Gets whether the "template_id" field is set

Property Value
TypeDescription
bool

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). See Supported input and output formats.

Property Value
TypeDescription
string

JobConfigCase

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

JobName

public JobName JobName { get; set; }

JobName-typed view over the Name resource name property.

Property Value
TypeDescription
JobName

Labels

public MapField<string, string> Labels { get; }

The labels associated with this job. You can use these to organize and group your jobs.

Property Value
TypeDescription
MapFieldstringstring

Mode

public Job.Types.ProcessingMode Mode { get; set; }

The processing mode of the job. The default is PROCESSING_MODE_INTERACTIVE.

Property Value
TypeDescription
JobTypesProcessingMode

Name

public string Name { get; set; }

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

Property Value
TypeDescription
string

Optimization

public Job.Types.OptimizationStrategy Optimization { get; set; }

Optional. The optimization strategy of the job. The default is AUTODETECT.

Property Value
TypeDescription
JobTypesOptimizationStrategy

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/. See Supported input and output formats.

Property Value
TypeDescription
string

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
JobTypesProcessingState

TemplateId

public string TemplateId { get; set; }

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}

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
int