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.
batchModePriorityThe 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.configThe configuration for this job.createTimeThe time the job was created.endTimeThe time the transcoding finished.errorAn error object that describes the reason for the failure. This property is always present when ProcessingState isFAILED.inputUriInput only. Specify theinput_urito populate emptyurifields in each element ofJob.config.inputsorJobTemplate.config.inputswhen 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.labelsThe labels associated with this job. You can use these to organize and group your jobs.modeThe processing mode of the job. The default isPROCESSING_MODE_INTERACTIVE.nameThe resource name of the job. Format:projects/{project_number}/locations/{location}/jobs/{job}optimizationOptional. The optimization strategy of the job. The default isAUTODETECT.outputUriInput only. Specify theoutput_urito populate an emptyJob.config.output.uriorJobTemplate.config.output.uriwhen using template. URI for the output file(s). For example,gs://my-bucket/outputs/. See Supported input and output formats.startTimeThe time the transcoding started.stateThe current state of the job.templateIdInput only. Specify thetemplate_idto use for populatingJob.config. The default ispreset/web-hd, which is the only supported preset. User defined JobTemplate:{job_template_id}ttlAfterCompletionDaysJob 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_urito populate emptyurifields in each element ofJob.config.inputsorJobTemplate.config.inputswhen 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_urito populate an emptyJob.config.output.uriorJobTemplate.config.output.uriwhen 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_idto use for populatingJob.config. The default ispreset/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