1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00
gcloud-help/gcloud/transcoder/jobs/create
2022-07-13 09:59:38 +00:00

92 lines
3.3 KiB
Text

NAME
gcloud transcoder jobs create - create Transcoder jobs
SYNOPSIS
gcloud transcoder jobs create [--input-uri=INPUT_URI]
[--labels=[KEY=VALUE,...]] [--location=LOCATION]
[--output-uri=OUTPUT_URI]
[--file=FILE | --json=JSON | --template-id=TEMPLATE_ID]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Create Transcoder jobs.
EXAMPLES
To create a transcoder job with default template, input URI, and output
URI:
$ gcloud transcoder jobs create --location=us-central1 \
--input-uri="gs://bucket/input.mp4" \
--output-uri="gs://bucket/output/"
To create a transcoder job with template id, input URI, and output URI:
$ gcloud transcoder jobs create --location=us-central1 \
--input-uri="gs://bucket/input.mp4" \
--output-uri="gs://bucket/output/" --template-id=my-template
To create a transcoder job with json format configuration:
$ gcloud transcoder jobs create --location=us-central1 \
--json="config: json-format"
To create a transcoder job with json format configuration file:
$ gcloud transcoder jobs create --location=us-central1 \
--file="config.json"
To Create a transcoder job with labels:
$ gcloud transcoder jobs create --location=us-central1 \
--file="config.json" --labels=key=value
FLAGS
--input-uri=INPUT_URI
Google Cloud Storage URI. If inputs URI exists in job config, this
value will be ignored
--labels=[KEY=VALUE,...]
List of label KEY=VALUE pairs to add.
Keys must start with a lowercase character and contain only hyphens
(-), underscores (_), lowercase characters, and numbers. Values must
contain only hyphens (-), underscores (_), lowercase characters, and
numbers.
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 project attribute:
◆ provide the argument --location on the command line with a fully
specified name;
◆ set the property transcoder/location with a fully specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
--location=LOCATION
ID of the location or fully qualified identifier for the location. To
set the location attribute:
▸ provide the argument --location on the command line;
▸ set the property transcoder/location.
--output-uri=OUTPUT_URI
Google Cloud Storage directory URI (followed by a trailing forward
slash). If output URIexists in job config, this value will be ignored.
At most one of these can be specified:
--file=FILE
Path to job config.
--json=JSON
Job config in json format.
--template-id=TEMPLATE_ID
Job template id.
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 $ gcloud help for details.