GetJobResult

data class GetJobResult(val config: JobConfigResponse, val createTime: String, val endTime: String, val error: StatusResponse, val inputUri: String, val labels: Map<String, String>, val mode: String, val name: String, val outputUri: String, val startTime: String, val state: String, val templateId: String, val ttlAfterCompletionDays: Int)

Constructors

Link copied to clipboard
fun GetJobResult(config: JobConfigResponse, createTime: String, endTime: String, error: StatusResponse, inputUri: String, labels: Map<String, String>, mode: String, name: String, outputUri: String, startTime: String, state: String, templateId: String, ttlAfterCompletionDays: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The configuration for this job.

Link copied to clipboard

The time the job was created.

Link copied to clipboard

The time the transcoding finished.

Link copied to clipboard

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

Link copied to clipboard

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

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

The time the transcoding started.

Link copied to clipboard

The current state of the job.

Link copied to clipboard

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.