JobArgs

data class JobArgs(val config: Output<JobConfigArgs>? = null, val inputUri: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val mode: Output<JobMode>? = null, val name: Output<String>? = null, val outputUri: Output<String>? = null, val project: Output<String>? = null, val templateId: Output<String>? = null, val ttlAfterCompletionDays: Output<Int>? = null) : ConvertibleToJava<JobArgs>

Creates a job in the specified region.

Constructors

Link copied to clipboard
constructor(config: Output<JobConfigArgs>? = null, inputUri: Output<String>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, mode: Output<JobMode>? = null, name: Output<String>? = null, outputUri: Output<String>? = null, project: Output<String>? = null, templateId: Output<String>? = null, ttlAfterCompletionDays: Output<Int>? = null)

Properties

Link copied to clipboard
val config: Output<JobConfigArgs>? = null

The configuration for this job.

Link copied to clipboard
val inputUri: Output<String>? = null

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.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

The labels associated with this job. You can use these to organize and group your jobs.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val mode: Output<JobMode>? = null

The processing mode of the job. The default is PROCESSING_MODE_INTERACTIVE.

Link copied to clipboard
val name: Output<String>? = null

The resource name of the job. Format: projects/{project_number}/locations/{location}/jobs/{job}

Link copied to clipboard
val outputUri: Output<String>? = null

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.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val templateId: Output<String>? = null

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}

Link copied to clipboard
val ttlAfterCompletionDays: Output<Int>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): JobArgs