File: //snap/google-cloud-cli/394/help/man/man1/gcloud_transcoder_jobs_create.1
.TH "GCLOUD_TRANSCODER_JOBS_CREATE" 1
.SH "NAME"
.HP
gcloud transcoder jobs create \- create Transcoder jobs
.SH "SYNOPSIS"
.HP
\f5gcloud transcoder jobs create\fR [\fB\-\-batch\-mode\-priority\fR=\fIBATCH_MODE_PRIORITY\fR] [\fB\-\-input\-uri\fR=\fIINPUT_URI\fR] [\fB\-\-labels\fR=[\fIKEY\fR=\fIVALUE\fR,...]] [\fB\-\-location\fR=\fILOCATION\fR] [\fB\-\-mode\fR=\fIMODE\fR] [\fB\-\-optimization\fR=\fIOPTIMIZATION\fR] [\fB\-\-output\-uri\fR=\fIOUTPUT_URI\fR] [\fB\-\-file\fR=\fIFILE\fR\ |\ \fB\-\-json\fR=\fIJSON\fR\ |\ \fB\-\-template\-id\fR=\fITEMPLATE_ID\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Create Transcoder jobs.
.SH "EXAMPLES"
To create a transcoder job with default template, input URI, and output URI:
.RS 2m
$ gcloud transcoder jobs create \-\-location=us\-central1 \e
\-\-input\-uri="gs://bucket/input.mp4" \e
\-\-output\-uri="gs://bucket/output/"
.RE
To create a transcoder job with template id, input URI, and output URI:
.RS 2m
$ gcloud transcoder jobs create \-\-location=us\-central1 \e
\-\-input\-uri="gs://bucket/input.mp4" \e
\-\-output\-uri="gs://bucket/output/" \-\-template\-id=my\-template
.RE
To create a transcoder job with json format configuration:
.RS 2m
$ gcloud transcoder jobs create \-\-location=us\-central1 \e
\-\-json="config: json\-format"
.RE
To create a transcoder job with json format configuration file:
.RS 2m
$ gcloud transcoder jobs create \-\-location=us\-central1 \e
\-\-file="config.json"
.RE
To create a transcoder job with labels:
.RS 2m
$ gcloud transcoder jobs create \-\-location=us\-central1 \e
\-\-file="config.json" \-\-labels=key=value
.RE
To create a transcoder job in batch mode:
.RS 2m
$ gcloud transcoder jobs create \-\-location=us\-central1 \e
\-\-file="config.json" \-\-mode=PROCESSING_MODE_BATCH
.RE
To create a transcoder job in batch mode with priority:
.RS 2m
$ gcloud transcoder jobs create \-\-location=us\-central1 \e
\-\-file="config.json" \-\-mode=PROCESSING_MODE_BATCH \e
\-\-batch\-mode\-priority=3
.RE
To create a transcoder job with optimizations disabled:
.RS 2m
$ gcloud transcoder jobs create \-\-location=us\-central1 \e
\-\-file="config.json" \-\-optimization=DISABLED
.RE
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-batch\-mode\-priority\fR=\fIBATCH_MODE_PRIORITY\fR
Processing priority of a batch mode transcoder job. This value will override
batch mode priority in job config.
.TP 2m
\fB\-\-input\-uri\fR=\fIINPUT_URI\fR
Google Cloud Storage URI. This value will override input URI in job config.
.TP 2m
\fB\-\-labels\fR=[\fIKEY\fR=\fIVALUE\fR,...]
List of label KEY=VALUE pairs to add.
Keys must start with a lowercase character and contain only hyphens (\f5\-\fR),
underscores (\f5_\fR), lowercase characters, and numbers. Values must contain
only hyphens (\f5\-\fR), underscores (\f5_\fR), lowercase characters, and
numbers.
.TP 2m
Location resource \- Transcoder location This represents a Cloud resource.
(NOTE) Some attributes are not given arguments in this group but can be set in
other ways.
To set the \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5\-\-location\fR on the command line with a fully
specified name;
.IP "\(em" 2m
set the property \f5transcoder/location\fR with a fully specified name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
.RS 2m
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR
ID of the location or fully qualified identifier for the location.
To set the \f5location\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5\-\-location\fR on the command line;
.IP "\(bu" 2m
set the property \f5transcoder/location\fR.
.RE
.sp
.RE
.sp
.TP 2m
\fB\-\-mode\fR=\fIMODE\fR
Processing mode of transcode job. This value will override mode in job config.
\fIMODE\fR must be one of: \fBPROCESSING_MODE_INTERACTIVE\fR,
\fBPROCESSING_MODE_BATCH\fR.
.TP 2m
\fB\-\-optimization\fR=\fIOPTIMIZATION\fR
Optimization strategy of transcode job. This value will override optimization in
job config. \fIOPTIMIZATION\fR must be one of: \fBAUTODETECT\fR, \fBDISABLED\fR.
.TP 2m
\fB\-\-output\-uri\fR=\fIOUTPUT_URI\fR
Google Cloud Storage directory URI (followed by a trailing forward slash). This
value will override output URI in job config.
.TP 2m
At most one of these can be specified:
.RS 2m
.TP 2m
\fB\-\-file\fR=\fIFILE\fR
Path to job config.
.TP 2m
\fB\-\-json\fR=\fIJSON\fR
Job config in json format.
.TP 2m
\fB\-\-template\-id\fR=\fITEMPLATE_ID\fR
Job template id.
.RE
.RE
.sp
.SH "GCLOUD WIDE FLAGS"
These flags are available to all commands: \-\-access\-token\-file, \-\-account,
\-\-billing\-project, \-\-configuration, \-\-flags\-file, \-\-flatten,
\-\-format, \-\-help, \-\-impersonate\-service\-account, \-\-log\-http,
\-\-project, \-\-quiet, \-\-trace\-token, \-\-user\-output\-enabled,
\-\-verbosity.
Run \fB$ gcloud help\fR for details.