Class Job (0.3.1)

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

Transcoding job resource. .. attribute:: name

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

:type: str

Attributes

NameDescription
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. It must be 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_v1beta1.types.JobConfig
The configuration for this job.
priority int
Specify the priority of the job. Enter a value between 0 and 100, where 0 is the lowest priority and 100 is the highest priority. The default is 0.
origin_uri google.cloud.video.transcoder_v1beta1.types.Job.OriginUri
Output only. The origin URI.
state google.cloud.video.transcoder_v1beta1.types.Job.ProcessingState
Output only. The current state of the job.
progress google.cloud.video.transcoder_v1beta1.types.Progress
Output only. Estimated fractional progress, from 0 to 1 for each step.
failure_reason str
Output only. A description of the reason for the failure. This property is always present when state is FAILED.
failure_details Sequence[google.cloud.video.transcoder_v1beta1.types.FailureDetail]
Output only. List of failure details. This property may contain additional information about the failure when failure_reason is present.
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.

Classes

OriginUri

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

The origin URI. .. attribute:: hls

HLS master manifest URI. If multiple HLS master manifests are created only first one is listed.

:type: str

ProcessingState

ProcessingState(value)

The current state of the job.