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/templates/create

86 lines
2.9 KiB
Text
Raw Normal View History

2022-03-01 04:29:52 +00:00
NAME
gcloud transcoder templates create - create Transcoder job templates
SYNOPSIS
gcloud transcoder templates create (TEMPLATE_ID : --location=LOCATION)
2022-07-13 09:59:38 +00:00
(--file=FILE | --json=JSON) [--labels=[KEY=VALUE,...]]
[GCLOUD_WIDE_FLAG ...]
2022-03-01 04:29:52 +00:00
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
2022-07-13 09:59:38 +00:00
To create a job template with json format configuration and labels
$ gcloud transcoder templates create TEMPLATE_ID \
--file="config.json" --location=us-central1 --labels=key=value
2022-03-01 04:29:52 +00:00
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
2023-05-04 10:43:54 +00:00
ways.
To set the project attribute:
2022-03-01 04:29:52 +00:00
◆ 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
2023-05-04 10:43:54 +00:00
jobTemplate.
To set the template_id attribute:
2022-03-01 04:29:52 +00:00
▸ provide the argument template_id on the command line.
2022-08-10 08:48:58 +00:00
This positional argument must be specified if any of the other
arguments in this group are specified.
2022-03-01 04:29:52 +00:00
--location=LOCATION
2023-05-04 10:43:54 +00:00
Transcoder location for resources
To set the location attribute:
2022-03-01 04:29:52 +00:00
▸ 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.
2022-07-13 09:59:38 +00:00
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.
2022-03-01 04:29:52 +00:00
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.