mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 18:45:13 +00:00
64 lines
2.3 KiB
Text
64 lines
2.3 KiB
Text
NAME
|
|
gcloud transcoder templates create - create Transcoder job templates
|
|
|
|
SYNOPSIS
|
|
gcloud transcoder templates create (TEMPLATE_ID : --location=LOCATION)
|
|
(--file=FILE | --json=JSON) [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Create Transcoder job templates.
|
|
|
|
EXAMPLES
|
|
To create a job template with json format configuration:
|
|
|
|
$ gcloud transcoder templates create TEMPLATE_ID \
|
|
--json="config: json-format" --location=us-central1
|
|
|
|
To create a job template with json format configuration file:
|
|
|
|
$ gcloud transcoder templates create TEMPLATE_ID \
|
|
--file="config.json" --location=us-central1
|
|
|
|
POSITIONAL ARGUMENTS
|
|
JobTemplate resource - Transcoder job template id The arguments in this
|
|
group can be used to specify the attributes of this 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 template_id on the command line with a fully
|
|
specified name;
|
|
◆ provide the argument --project on the command line;
|
|
◆ set the property core/project.
|
|
|
|
This must be specified.
|
|
|
|
TEMPLATE_ID
|
|
ID of the jobTemplate or fully qualified identifier for the
|
|
jobTemplate. To set the template_id attribute:
|
|
▸ provide the argument template_id on the command line.
|
|
|
|
This positional must be specified if any of the other arguments in
|
|
this group are specified.
|
|
|
|
--location=LOCATION
|
|
Transcoder location for resources To set the location attribute:
|
|
▸ provide the argument template_id on the command line with a fully
|
|
specified name;
|
|
▸ provide the argument --location on the command line;
|
|
▸ set the property transcoder/location.
|
|
|
|
REQUIRED FLAGS
|
|
Exactly one of these must be specified:
|
|
|
|
--file=FILE
|
|
Path to job template.
|
|
|
|
--json=JSON
|
|
Job template in json format.
|
|
|
|
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.
|