GoogleApi.Transcoder.V1.Model.Job (google_api_transcoder v0.4.2)
View SourceTranscoding job resource.
Attributes
-
batchModePriority
(type:integer()
, default:nil
) - 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. -
config
(type:GoogleApi.Transcoder.V1.Model.JobConfig.t
, default:nil
) - The configuration for this job. -
createTime
(type:DateTime.t
, default:nil
) - Output only. The time the job was created. -
endTime
(type:DateTime.t
, default:nil
) - Output only. The time the transcoding finished. -
error
(type:GoogleApi.Transcoder.V1.Model.Status.t
, default:nil
) - Output only. An error object that describes the reason for the failure. This property is always present when ProcessingState isFAILED
. -
inputUri
(type:String.t
, default:nil
) - Input only. Specify theinput_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
). See Supported input and output formats. -
labels
(type:map()
, default:nil
) - The labels associated with this job. You can use these to organize and group your jobs. -
mode
(type:String.t
, default:nil
) - The processing mode of the job. The default isPROCESSING_MODE_INTERACTIVE
. -
name
(type:String.t
, default:nil
) - The resource name of the job. Format:projects/{project_number}/locations/{location}/jobs/{job}
-
optimization
(type:String.t
, default:nil
) - Optional. The optimization strategy of the job. The default isAUTODETECT
. -
outputUri
(type:String.t
, default:nil
) - Input only. Specify theoutput_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/
. See Supported input and output formats. -
startTime
(type:DateTime.t
, default:nil
) - Output only. The time the transcoding started. -
state
(type:String.t
, default:nil
) - Output only. The current state of the job. -
templateId
(type:String.t
, default:nil
) - Input only. Specify thetemplate_id
to use for populatingJob.config
. The default ispreset/web-hd
, which is the only supported preset. User defined JobTemplate:{job_template_id}
-
ttlAfterCompletionDays
(type:integer()
, default:nil
) - 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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Transcoder.V1.Model.Job{ batchModePriority: integer() | nil, config: GoogleApi.Transcoder.V1.Model.JobConfig.t() | nil, createTime: DateTime.t() | nil, endTime: DateTime.t() | nil, error: GoogleApi.Transcoder.V1.Model.Status.t() | nil, inputUri: String.t() | nil, labels: map() | nil, mode: String.t() | nil, name: String.t() | nil, optimization: String.t() | nil, outputUri: String.t() | nil, startTime: DateTime.t() | nil, state: String.t() | nil, templateId: String.t() | nil, ttlAfterCompletionDays: integer() | nil }