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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setParent

Required. The parent location to create this job template.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getJobTemplate

Required. Parameters for creating job template.

Returns
TypeDescription
Google\Cloud\Video\Transcoder\V1\JobTemplate|null

hasJobTemplate

clearJobTemplate

setJobTemplate

Required. Parameters for creating job template.

Parameter
NameDescription
var Google\Cloud\Video\Transcoder\V1\JobTemplate
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this