GetJobResult constructor
- required int batchModePriority,
- required JobConfigResponse config,
- required String createTime,
- required String endTime,
- required StatusResponse error,
- required String inputUri,
- required Map<
String, String> labels, - required String mode,
- required String name,
- required String optimization,
- required String outputUri,
- required String startTime,
- required String state,
- required String templateId,
- required int ttlAfterCompletionDays,
Creates a new GetJobResult.
batchModePriority 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 The configuration for this job.
createTime The time the job was created.
endTime The time the transcoding finished.
error An error object that describes the reason for the failure. This property is always present when ProcessingState is FAILED.
inputUri 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.
labels The labels associated with this job. You can use these to organize and group your jobs.
mode The processing mode of the job. The default is PROCESSING_MODE_INTERACTIVE.
name The resource name of the job. Format: projects/{project_number}/locations/{location}/jobs/{job}
optimization Optional. The optimization strategy of the job. The default is AUTODETECT.
outputUri 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.
startTime The time the transcoding started.
state The current state of the job.
templateId 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}
ttlAfterCompletionDays 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.
Implementation
const GetJobResult({
required this.batchModePriority,
required this.config,
required this.createTime,
required this.endTime,
required this.error,
required this.inputUri,
required this.labels,
required this.mode,
required this.name,
required this.optimization,
required this.outputUri,
required this.startTime,
required this.state,
required this.templateId,
required this.ttlAfterCompletionDays,
});