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< ? labels, Input<String, String> >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.
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.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.locationOptional.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.projectOptional.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 -
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_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
→ 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_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 -
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_idto use for populatingJob.config. The default ispreset/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