Google Cloud Video Transcoder V1 Client - Class JobTemplate (0.6.0)

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

Transcoding job template resource.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

The resource name of the job template. Format: projects/{project_number}/locations/{location}/jobTemplates/{job_template}

↳ config Google\Cloud\Video\Transcoder\V1\JobConfig

The configuration for this template.

↳ labels array|Google\Protobuf\Internal\MapField

The labels associated with this job template. You can use these to organize and group your job templates.

getName

The resource name of the job template.

Format: projects/{project_number}/locations/{location}/jobTemplates/{job_template}

Returns
TypeDescription
string

setName

The resource name of the job template.

Format: projects/{project_number}/locations/{location}/jobTemplates/{job_template}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConfig

The configuration for this template.

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

hasConfig

clearConfig

setConfig

The configuration for this template.

Parameter
NameDescription
var Google\Cloud\Video\Transcoder\V1\JobConfig
Returns
TypeDescription
$this

getLabels

The labels associated with this job template. You can use these to organize and group your job templates.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

The labels associated with this job template. You can use these to organize and group your job templates.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this