GetJobResult class

Result data returned by getJob.

Constructors

GetJobResult({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.
const
GetJobResult.fromMap(Map<String, dynamic> map)
factory

Properties

batchModePriority → int
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.
final
config → JobConfigResponse
The configuration for this job.
final
createTime → String
The time the job was created.
final
endTime → String
The time the transcoding finished.
final
error → StatusResponse
An error object that describes the reason for the failure. This property is always present when ProcessingState is FAILED.
final
hashCode → int
The hash code for this object.
no setterinherited
inputUri → 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.
final
labels → Map<String, String>
The labels associated with this job. You can use these to organize and group your jobs.
final
mode → String
The processing mode of the job. The default is PROCESSING_MODE_INTERACTIVE.
final
name → String
The resource name of the job. Format: projects/{project_number}/locations/{location}/jobs/{job}
final
optimization → String
Optional. The optimization strategy of the job. The default is AUTODETECT.
final
outputUri → 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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startTime → String
The time the transcoding started.
final
state → String
The current state of the job.
final
templateId → 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}
final
ttlAfterCompletionDays → 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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited