gcloud transcoder templates create

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-central1

To create a job template with json format configuration file:

gcloudtranscodertemplatescreateTEMPLATE_ID--file="config.json"--location=us-central1

To 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 groupcan be used to specify the attributes of this resource. (NOTE) Some attributesare not given arguments in this group but can be set in other ways.

To set theproject attribute:

  • provide the argumenttemplate_id on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

TEMPLATE_ID
ID of the jobTemplate or fully qualified identifier for the jobTemplate.

To set thetemplate_id attribute:

  • provide the argumenttemplate_id on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--location=LOCATION
Transcoder location for resources

To set thelocation attribute:

  • provide the argumenttemplate_id on the command line with a fullyspecified name;
  • provide the argument--location on the command line;
  • set the propertytranscoder/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, andnumbers. 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.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.