Job

Creates a job in the specified region.

Properties

Link copied to clipboard

The configuration for this job.

Link copied to clipboard
val createTime: Output<String>

The time the job was created.

Link copied to clipboard
val endTime: Output<String>

The time the transcoding finished.

Link copied to clipboard
val error: Output<StatusResponse>

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

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val inputUri: Output<String>

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.

Link copied to clipboard
val labels: Output<Map<String, String>>

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

Link copied to clipboard
val location: Output<String>
Link copied to clipboard
val mode: Output<String>

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

Link copied to clipboard
val name: Output<String>

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

Link copied to clipboard
val outputUri: Output<String>

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.

Link copied to clipboard
val project: Output<String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val startTime: Output<String>

The time the transcoding started.

Link copied to clipboard
val state: Output<String>

The current state of the job.

Link copied to clipboard
val templateId: Output<String>

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}

Link copied to clipboard

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.

Link copied to clipboard
val urn: Output<String>