gcloud transcoder templates create
Stay organized with collections
Save and categorize content based on your preferences.
- NAME
-
- gcloud transcoder templates create - create Transcoder job templates
- SYNOPSIS
-
-
gcloud transcoder templates create(TEMPLATE_ID:--location=LOCATION) (--file=FILE|--json=JSON) [--labels=[KEY=VALUE,…]] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Create Transcoder job templates.
- EXAMPLES
-
To create a job template with json format configuration:
gcloudtranscodertemplatescreateTEMPLATE_ID--json="config: json-format"--location=us-central1To create a job template with json format configuration file:
gcloudtranscodertemplatescreateTEMPLATE_ID--file="config.json"--location=us-central1To create a job template with json format configuration and labels
gcloudtranscodertemplatescreateTEMPLATE_ID--file="config.json"--location=us-central1--labels=key=value - 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
projectattribute:-
provide the argument
template_idon the command line with a fully specified name; -
provide the argument
--projecton 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_idattribute:-
provide the argument
template_idon the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--location=LOCATION-
Transcoder location for resources
To set the
locationattribute:-
provide the argument
template_idon the command line with a fully specified name; -
provide the argument
--locationon the command line; -
set the property
transcoder/location.
-
provide the argument
-
provide the argument
-
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.
- REQUIRED FLAGS
-
-
Exactly one of these must be specified:
--file=FILE- Path to job template.
--json=JSON- Job template in json format.
-
Exactly one of these must be specified:
- OPTIONAL FLAGS
-
--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.
- 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 helpfor details.