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 | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ parent | stringRequired. The parent location to create this job template. Format:  | 
| ↳ job_template | Google\Cloud\Video\Transcoder\V1\JobTemplateRequired. Parameters for creating job template. | 
| ↳ job_template_id | stringRequired. 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  | 
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 | |