Method: projects.locations.jobTemplates.create

Creates a job template in the specified region.

HTTP request

POST https://transcoder.googleapis.com/v1/{parent=projects/*/locations/*}/jobTemplates

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent location to create this job template. Format: projects/{project}/locations/{location}

Authorization requires the following IAM permission on the specified resource parent:

  • transcoder.jobTemplates.create

Query parameters

Parameters
jobTemplateId

string

Required. The ID to use for the job template, which will become the final component of the job template's resource name.

This value should be 4-63 characters, and valid characters must match the regular expression [a-zA-Z][a-zA-Z0-9_-]*.

Request body

The request body contains an instance of JobTemplate.

Response body

If successful, the response body contains a newly created instance of JobTemplate.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.