JobArgs class

The set of arguments for Job. The set of arguments for Job.

Constructors

JobArgs({Input<int>? batchModePriority, Input<JobConfig>? config, Input<String>? inputUri, Input<Map<String, String>>? labels, Input<String>? location, Input<JobMode>? mode, Input<String>? name, Input<JobOptimization>? optimization, Input<String>? outputUri, Input<String>? project, Input<String>? templateId, Input<int>? ttlAfterCompletionDays})
Creates a new JobArgs. 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. 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. location Optional. 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. project Optional. 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
JobArgs.fromMap(Map<String, dynamic> map)
factory

Properties

batchModePriority → Input<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 → Input<JobConfig>?
The configuration for this job.
final
hashCode → int
The hash code for this object.
no setterinherited
inputUri → Input<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 → Input<Map<String, String>>?
The labels associated with this job. You can use these to organize and group your jobs.
final
location → Input<String>?
final
mode → Input<JobMode>?
The processing mode of the job. The default is PROCESSING_MODE_INTERACTIVE.
final
name → Input<String>?
The resource name of the job. Format: projects/{project_number}/locations/{location}/jobs/{job}
final
optimization → Input<JobOptimization>?
Optional. The optimization strategy of the job. The default is AUTODETECT.
final
outputUri → Input<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
project → Input<String>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
templateId → Input<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 → Input<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