Google Cloud Video Transcoder V1 Client - Class CreateJobTemplateRequest (1.0.2)

Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class CreateJobTemplateRequest.

Request message for TranscoderService.CreateJobTemplate.

Generated from protobuf message google.cloud.video.transcoder.v1.CreateJobTemplateRequest

Namespace

Google \ Cloud \ Video \ Transcoder \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ job_template JobTemplate

Required. Parameters for creating job template.

↳ job_template_id 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_-]*.

getParent

Required. The parent location to create this job template.

Format: projects/{project}/locations/{location}

Returns
Type Description
string

setParent

Required. The parent location to create this job template.

Format: projects/{project}/locations/{location}

Parameter
Name Description
var string
Returns
Type Description
$this

getJobTemplate

Required. Parameters for creating job template.

Returns
Type Description
JobTemplate|null

hasJobTemplate

clearJobTemplate

setJobTemplate

Required. Parameters for creating job template.

Parameter
Name Description
var JobTemplate
Returns
Type Description
$this

getJobTemplateId

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_-]*.

Returns
Type Description
string

setJobTemplateId

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_-]*.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent location to create this job template. Format: projects/{project}/locations/{location} Please see TranscoderServiceClient::locationName() for help formatting this field.

jobTemplate JobTemplate

Required. Parameters for creating job template.

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_-]*.

Returns
Type Description
CreateJobTemplateRequest