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

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 Google\Cloud\Video\Transcoder\V1\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
Google\Cloud\Video\Transcoder\V1\JobTemplate|null

hasJobTemplate

clearJobTemplate

setJobTemplate

Required. Parameters for creating job template.

Parameter
Name Description
var Google\Cloud\Video\Transcoder\V1\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 Google\Cloud\Video\Transcoder\V1\TranscoderServiceClient::locationName() for help formatting this field.

jobTemplate Google\Cloud\Video\Transcoder\V1\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
Google\Cloud\Video\Transcoder\V1\CreateJobTemplateRequest