Class Job (1.1.0)

Job(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Transcoding job resource.

Attributes

NameDescription
name str
The resource name of the job. Format: projects/{project_number}/locations/{location}/jobs/{job}
input_uri str
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).
output_uri str
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/.
template_id str
Input only. Specify the template_id to use for populating Job.config. The default is preset/web-hd. Preset Transcoder templates: - preset/{preset_id} - User defined JobTemplate: {job_template_id}
config google.cloud.video.transcoder_v1.types.JobConfig
The configuration for this job.
state google.cloud.video.transcoder_v1.types.Job.ProcessingState
Output only. The current state of the job.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time the job was created.
start_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time the transcoding started.
end_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time the transcoding finished.
ttl_after_completion_days int
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.
error google.rpc.status_pb2.Status
Output only. An error object that describes the reason for the failure. This property is always present when state is FAILED.

Classes

ProcessingState

ProcessingState(value)

The current state of the job.