Class Job
Transcoding job resource.
Implements
Inherited Members
Namespace: Google.Apis.Transcoder.v1.Data
Assembly: Google.Apis.Transcoder.v1.dll
Syntax
public class Job : IDirectResponseSchema
Properties
BatchModePriority
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.
Declaration
[JsonProperty("batchModePriority")]
public virtual int? BatchModePriority { get; set; }
Property Value
Type | Description |
---|---|
int? |
Config
The configuration for this job.
Declaration
[JsonProperty("config")]
public virtual JobConfig Config { get; set; }
Property Value
Type | Description |
---|---|
JobConfig |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. The time the job was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EndTime
object representation of EndTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use EndTimeDateTimeOffset instead.")]
public virtual object EndTime { get; set; }
Property Value
Type | Description |
---|---|
object |
EndTimeDateTimeOffset
DateTimeOffset representation of EndTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? EndTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
EndTimeRaw
Output only. The time the transcoding finished.
Declaration
[JsonProperty("endTime")]
public virtual string EndTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Error
Output only. An error object that describes the reason for the failure. This property is always present when
ProcessingState is FAILED
.
Declaration
[JsonProperty("error")]
public virtual Status Error { get; set; }
Property Value
Type | Description |
---|---|
Status |
InputUri
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.
Declaration
[JsonProperty("inputUri")]
public virtual string InputUri { get; set; }
Property Value
Type | Description |
---|---|
string |
Labels
The labels associated with this job. You can use these to organize and group your jobs.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Mode
The processing mode of the job. The default is PROCESSING_MODE_INTERACTIVE
.
Declaration
[JsonProperty("mode")]
public virtual string Mode { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The resource name of the job. Format: projects/{project_number}/locations/{location}/jobs/{job}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Optimization
Optional. The optimization strategy of the job. The default is AUTODETECT
.
Declaration
[JsonProperty("optimization")]
public virtual string Optimization { get; set; }
Property Value
Type | Description |
---|---|
string |
OutputUri
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.
Declaration
[JsonProperty("outputUri")]
public virtual string OutputUri { get; set; }
Property Value
Type | Description |
---|---|
string |
StartTime
object representation of StartTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use StartTimeDateTimeOffset instead.")]
public virtual object StartTime { get; set; }
Property Value
Type | Description |
---|---|
object |
StartTimeDateTimeOffset
DateTimeOffset representation of StartTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? StartTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
StartTimeRaw
Output only. The time the transcoding started.
Declaration
[JsonProperty("startTime")]
public virtual string StartTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
State
Output only. The current state of the job.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
TemplateId
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}
Declaration
[JsonProperty("templateId")]
public virtual string TemplateId { get; set; }
Property Value
Type | Description |
---|---|
string |
TtlAfterCompletionDays
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.
Declaration
[JsonProperty("ttlAfterCompletionDays")]
public virtual int? TtlAfterCompletionDays { get; set; }
Property Value
Type | Description |
---|---|
int? |