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:

$ 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

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

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 argument 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.

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 help for details.