Send feedback
Class v1.TranscoderServiceClient (1.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.5.0 keyboard_arrow_down
Using the Transcoder API, you can queue asynchronous jobs for transcoding media into various output formats. Output formats may include different streaming standards such as HTTP Live Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can also customize jobs using advanced features such as Digital Rights Management (DRM), audio equalization, content concatenation, and digital ad-stitch ready content generation. v1
Package
@google-cloud/video-transcoder!
Constructors
(constructor)(opts)
constructor ( opts ?: ClientOptions );
Construct an instance of TranscoderServiceClient.
Parameter
Name Description opts
ClientOptions
Properties
apiEndpoint
static get apiEndpoint () : string ;
The DNS address for this API service - same as servicePath(), exists for compatibility reasons.
Property Value
auth
Property Value
Type Description gax.GoogleAuth
descriptors
descriptors : Descriptors ;
Property Value
Type Description Descriptors
innerApiCalls
innerApiCalls : {
[ name : string ] : Function ;
};
Property Value
Type Description {
[name: string]: Function ;
}
pathTemplates
pathTemplates : {
[ name : string ] : gax . PathTemplate ;
};
Property Value
Type Description {
[name: string]: gax.PathTemplate ;
}
port
static get port () : number ;
The port for this API service.
Property Value
scopes
static get scopes () : string [];
The scopes needed to make gRPC calls for every method defined in this service.
Property Value
servicePath
static get servicePath () : string ;
The DNS address for this API service.
Property Value
transcoderServiceStub
transcoderServiceStub ?: Promise <{
[ name : string ] : Function ;
}>;
Property Value
Type Description Promise <{
[name: string]: Function ;
}>
warn
warn : ( code : string , message : string , warnType ?: string ) = > void ;
Property Value
Type Description (code: string, message: string, warnType?: string) => void
Methods
close()
Terminate the gRPC channel and close the client.
The client will no longer be usable and all future behavior is undefined.
Returns
Type Description Promise <void>{Promise} A promise that resolves when the client is closed.
createJob(request, options)
createJob ( request ?: protos . google . cloud . video . transcoder . v1 . ICreateJobRequest , options ?: CallOptions ) : Promise <[ protos . google . cloud . video . transcoder . v1 . IJob , protos . google . cloud . video . transcoder . v1 . ICreateJobRequest | undefined , {} | undefined ]>;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.ICreateJobRequest
options
CallOptions
Returns
Type Description Promise <[protos.google.cloud.video.transcoder.v1.IJob , protos.google.cloud.video.transcoder.v1.ICreateJobRequest | undefined, {} | undefined]>
createJob(request, options, callback)
createJob ( request : protos . google . cloud . video . transcoder . v1 . ICreateJobRequest , options : CallOptions , callback : Callback<protos . google . cloud . video . transcoder . v1 . IJob , protos . google . cloud . video . transcoder . v1 . ICreateJobRequest | null | undefined , {} | null | undefined >) : void ;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.ICreateJobRequest
options
CallOptions
callback
Callback <protos.google.cloud.video.transcoder.v1.IJob , protos.google.cloud.video.transcoder.v1.ICreateJobRequest | null | undefined, {} | null | undefined>
Returns
createJob(request, callback)
createJob ( request : protos . google . cloud . video . transcoder . v1 . ICreateJobRequest , callback : Callback<protos . google . cloud . video . transcoder . v1 . IJob , protos . google . cloud . video . transcoder . v1 . ICreateJobRequest | null | undefined , {} | null | undefined >) : void ;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.ICreateJobRequest
callback
Callback <protos.google.cloud.video.transcoder.v1.IJob , protos.google.cloud.video.transcoder.v1.ICreateJobRequest | null | undefined, {} | null | undefined>
Returns
createJobTemplate(request, options)
createJobTemplate ( request ?: protos . google . cloud . video . transcoder . v1 . ICreateJobTemplateRequest , options ?: CallOptions ) : Promise <[ protos . google . cloud . video . transcoder . v1 . IJobTemplate , ( protos . google . cloud . video . transcoder . v1 . ICreateJobTemplateRequest | undefined ), {} | undefined ]>;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.ICreateJobTemplateRequest
options
CallOptions
Returns
Type Description Promise <[protos.google.cloud.video.transcoder.v1.IJobTemplate , (protos.google.cloud.video.transcoder.v1.ICreateJobTemplateRequest | undefined), {} | undefined]>
createJobTemplate(request, options, callback)
createJobTemplate ( request : protos . google . cloud . video . transcoder . v1 . ICreateJobTemplateRequest , options : CallOptions , callback : Callback<protos . google . cloud . video . transcoder . v1 . IJobTemplate , protos . google . cloud . video . transcoder . v1 . ICreateJobTemplateRequest | null | undefined , {} | null | undefined >) : void ;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.ICreateJobTemplateRequest
options
CallOptions
callback
Callback <protos.google.cloud.video.transcoder.v1.IJobTemplate , protos.google.cloud.video.transcoder.v1.ICreateJobTemplateRequest | null | undefined, {} | null | undefined>
Returns
createJobTemplate(request, callback)
createJobTemplate ( request : protos . google . cloud . video . transcoder . v1 . ICreateJobTemplateRequest , callback : Callback<protos . google . cloud . video . transcoder . v1 . IJobTemplate , protos . google . cloud . video . transcoder . v1 . ICreateJobTemplateRequest | null | undefined , {} | null | undefined >) : void ;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.ICreateJobTemplateRequest
callback
Callback <protos.google.cloud.video.transcoder.v1.IJobTemplate , protos.google.cloud.video.transcoder.v1.ICreateJobTemplateRequest | null | undefined, {} | null | undefined>
Returns
deleteJob(request, options)
deleteJob ( request ?: protos . google . cloud . video . transcoder . v1 . IDeleteJobRequest , options ?: CallOptions ) : Promise <[ protos . google . protobuf . IEmpty , protos . google . cloud . video . transcoder . v1 . IDeleteJobRequest | undefined , {} | undefined ]>;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IDeleteJobRequest
options
CallOptions
Returns
Type Description Promise <[protos.google.protobuf.IEmpty , protos.google.cloud.video.transcoder.v1.IDeleteJobRequest | undefined, {} | undefined]>
deleteJob(request, options, callback)
deleteJob ( request : protos . google . cloud . video . transcoder . v1 . IDeleteJobRequest , options : CallOptions , callback : Callback<protos . google . protobuf . IEmpty , protos . google . cloud . video . transcoder . v1 . IDeleteJobRequest | null | undefined , {} | null | undefined >) : void ;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IDeleteJobRequest
options
CallOptions
callback
Callback <protos.google.protobuf.IEmpty , protos.google.cloud.video.transcoder.v1.IDeleteJobRequest | null | undefined, {} | null | undefined>
Returns
deleteJob(request, callback)
deleteJob ( request : protos . google . cloud . video . transcoder . v1 . IDeleteJobRequest , callback : Callback<protos . google . protobuf . IEmpty , protos . google . cloud . video . transcoder . v1 . IDeleteJobRequest | null | undefined , {} | null | undefined >) : void ;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IDeleteJobRequest
callback
Callback <protos.google.protobuf.IEmpty , protos.google.cloud.video.transcoder.v1.IDeleteJobRequest | null | undefined, {} | null | undefined>
Returns
deleteJobTemplate(request, options)
deleteJobTemplate ( request ?: protos . google . cloud . video . transcoder . v1 . IDeleteJobTemplateRequest , options ?: CallOptions ) : Promise <[ protos . google . protobuf . IEmpty , ( protos . google . cloud . video . transcoder . v1 . IDeleteJobTemplateRequest | undefined ), {} | undefined ]>;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IDeleteJobTemplateRequest
options
CallOptions
Returns
Type Description Promise <[protos.google.protobuf.IEmpty , (protos.google.cloud.video.transcoder.v1.IDeleteJobTemplateRequest | undefined), {} | undefined]>
deleteJobTemplate(request, options, callback)
deleteJobTemplate ( request : protos . google . cloud . video . transcoder . v1 . IDeleteJobTemplateRequest , options : CallOptions , callback : Callback<protos . google . protobuf . IEmpty , protos . google . cloud . video . transcoder . v1 . IDeleteJobTemplateRequest | null | undefined , {} | null | undefined >) : void ;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IDeleteJobTemplateRequest
options
CallOptions
callback
Callback <protos.google.protobuf.IEmpty , protos.google.cloud.video.transcoder.v1.IDeleteJobTemplateRequest | null | undefined, {} | null | undefined>
Returns
deleteJobTemplate(request, callback)
deleteJobTemplate ( request : protos . google . cloud . video . transcoder . v1 . IDeleteJobTemplateRequest , callback : Callback<protos . google . protobuf . IEmpty , protos . google . cloud . video . transcoder . v1 . IDeleteJobTemplateRequest | null | undefined , {} | null | undefined >) : void ;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IDeleteJobTemplateRequest
callback
Callback <protos.google.protobuf.IEmpty , protos.google.cloud.video.transcoder.v1.IDeleteJobTemplateRequest | null | undefined, {} | null | undefined>
Returns
getJob(request, options)
getJob ( request ?: protos . google . cloud . video . transcoder . v1 . IGetJobRequest , options ?: CallOptions ) : Promise <[ protos . google . cloud . video . transcoder . v1 . IJob , protos . google . cloud . video . transcoder . v1 . IGetJobRequest | undefined , {} | undefined ]>;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IGetJobRequest
options
CallOptions
Returns
Type Description Promise <[protos.google.cloud.video.transcoder.v1.IJob , protos.google.cloud.video.transcoder.v1.IGetJobRequest | undefined, {} | undefined]>
getJob(request, options, callback)
getJob ( request : protos . google . cloud . video . transcoder . v1 . IGetJobRequest , options : CallOptions , callback : Callback<protos . google . cloud . video . transcoder . v1 . IJob , protos . google . cloud . video . transcoder . v1 . IGetJobRequest | null | undefined , {} | null | undefined >) : void ;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IGetJobRequest
options
CallOptions
callback
Callback <protos.google.cloud.video.transcoder.v1.IJob , protos.google.cloud.video.transcoder.v1.IGetJobRequest | null | undefined, {} | null | undefined>
Returns
getJob(request, callback)
getJob ( request : protos . google . cloud . video . transcoder . v1 . IGetJobRequest , callback : Callback<protos . google . cloud . video . transcoder . v1 . IJob , protos . google . cloud . video . transcoder . v1 . IGetJobRequest | null | undefined , {} | null | undefined >) : void ;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IGetJobRequest
callback
Callback <protos.google.cloud.video.transcoder.v1.IJob , protos.google.cloud.video.transcoder.v1.IGetJobRequest | null | undefined, {} | null | undefined>
Returns
getJobTemplate(request, options)
getJobTemplate ( request ?: protos . google . cloud . video . transcoder . v1 . IGetJobTemplateRequest , options ?: CallOptions ) : Promise <[ protos . google . cloud . video . transcoder . v1 . IJobTemplate , ( protos . google . cloud . video . transcoder . v1 . IGetJobTemplateRequest | undefined ), {} | undefined ]>;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IGetJobTemplateRequest
options
CallOptions
Returns
Type Description Promise <[protos.google.cloud.video.transcoder.v1.IJobTemplate , (protos.google.cloud.video.transcoder.v1.IGetJobTemplateRequest | undefined), {} | undefined]>
getJobTemplate(request, options, callback)
getJobTemplate ( request : protos . google . cloud . video . transcoder . v1 . IGetJobTemplateRequest , options : CallOptions , callback : Callback<protos . google . cloud . video . transcoder . v1 . IJobTemplate , protos . google . cloud . video . transcoder . v1 . IGetJobTemplateRequest | null | undefined , {} | null | undefined >) : void ;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IGetJobTemplateRequest
options
CallOptions
callback
Callback <protos.google.cloud.video.transcoder.v1.IJobTemplate , protos.google.cloud.video.transcoder.v1.IGetJobTemplateRequest | null | undefined, {} | null | undefined>
Returns
getJobTemplate(request, callback)
getJobTemplate ( request : protos . google . cloud . video . transcoder . v1 . IGetJobTemplateRequest , callback : Callback<protos . google . cloud . video . transcoder . v1 . IJobTemplate , protos . google . cloud . video . transcoder . v1 . IGetJobTemplateRequest | null | undefined , {} | null | undefined >) : void ;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IGetJobTemplateRequest
callback
Callback <protos.google.cloud.video.transcoder.v1.IJobTemplate , protos.google.cloud.video.transcoder.v1.IGetJobTemplateRequest | null | undefined, {} | null | undefined>
Returns
getProjectId()
getProjectId () : Promise<string> ;
Returns
Type Description Promise <string>
getProjectId(callback)
getProjectId ( callback : Callback<string , undefined , undefined >) : void ;
Parameter
Name Description callback
Callback <string, undefined, undefined>
Returns
initialize()
initialize () : Promise <{
[ name : string ] : Function ;
}>;
Initialize the client. Performs asynchronous operations (such as authentication) and prepares the client. This function will be called automatically when any class method is called for the first time, but if you need to initialize it before calling an actual method, feel free to call initialize() directly.
You can await on this method if you want to make sure the client is initialized.
Returns
Type Description Promise <{
[name: string]: Function ;
}>{Promise} A promise that resolves to an authenticated service stub.
jobPath(project, location, job)
jobPath ( project : string , location : string , job : string ) : string ;
Return a fully-qualified job resource name string.
Parameters
Name Description project
string
location
string
job
string
Returns
Type Description string {string} Resource name string.
jobTemplatePath(project, location, jobTemplate)
jobTemplatePath ( project : string , location : string , jobTemplate : string ) : string ;
Return a fully-qualified jobTemplate resource name string.
Parameters
Name Description project
string
location
string
jobTemplate
string
Returns
Type Description string {string} Resource name string.
listJobs(request, options)
listJobs ( request ?: protos . google . cloud . video . transcoder . v1 . IListJobsRequest , options ?: CallOptions ) : Promise <[ protos . google . cloud . video . transcoder . v1 . IJob [], protos . google . cloud . video . transcoder . v1 . IListJobsRequest | null , protos . google . cloud . video . transcoder . v1 . IListJobsResponse ]>;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IListJobsRequest
options
CallOptions
Returns
Type Description Promise <[protos.google.cloud.video.transcoder.v1.IJob [], protos.google.cloud.video.transcoder.v1.IListJobsRequest | null, protos.google.cloud.video.transcoder.v1.IListJobsResponse ]>
listJobs(request, options, callback)
listJobs ( request : protos . google . cloud . video . transcoder . v1 . IListJobsRequest , options : CallOptions , callback : PaginationCallback<protos . google . cloud . video . transcoder . v1 . IListJobsRequest , protos . google . cloud . video . transcoder . v1 . IListJobsResponse | null | undefined , protos . google . cloud . video . transcoder . v1 . IJob >) : void ;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IListJobsRequest
options
CallOptions
callback
PaginationCallback <protos.google.cloud.video.transcoder.v1.IListJobsRequest , protos.google.cloud.video.transcoder.v1.IListJobsResponse | null | undefined, protos.google.cloud.video.transcoder.v1.IJob >
Returns
listJobs(request, callback)
listJobs ( request : protos . google . cloud . video . transcoder . v1 . IListJobsRequest , callback : PaginationCallback<protos . google . cloud . video . transcoder . v1 . IListJobsRequest , protos . google . cloud . video . transcoder . v1 . IListJobsResponse | null | undefined , protos . google . cloud . video . transcoder . v1 . IJob >) : void ;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IListJobsRequest
callback
PaginationCallback <protos.google.cloud.video.transcoder.v1.IListJobsRequest , protos.google.cloud.video.transcoder.v1.IListJobsResponse | null | undefined, protos.google.cloud.video.transcoder.v1.IJob >
Returns
listJobsAsync(request, options)
listJobsAsync ( request ?: protos . google . cloud . video . transcoder . v1 . IListJobsRequest , options ?: CallOptions ) : AsyncIterable<protos . google . cloud . video . transcoder . v1 . IJob >;
Equivalent to listJobs
, but returns an iterable object.
for
-await
-of
syntax is used with the iterable to get response elements on-demand.
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IListJobsRequest
The request object that will be sent.
options
CallOptions
Call options. See CallOptions for more details.
Returns
Type Description AsyncIterable <protos.google.cloud.video.transcoder.v1.IJob >{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [Job]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
listJobsStream(request, options)
listJobsStream ( request ?: protos . google . cloud . video . transcoder . v1 . IListJobsRequest , options ?: CallOptions ) : Transform ;
Equivalent to method.name.toCamelCase()
, but returns a NodeJS Stream object.
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IListJobsRequest
The request object that will be sent.
options
CallOptions
Call options. See CallOptions for more details.
Returns
Type Description Transform {Stream} An object stream which emits an object representing [Job] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listJobsAsync()
method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
listJobTemplates(request, options)
listJobTemplates ( request ?: protos . google . cloud . video . transcoder . v1 . IListJobTemplatesRequest , options ?: CallOptions ) : Promise <[ protos . google . cloud . video . transcoder . v1 . IJobTemplate [], protos . google . cloud . video . transcoder . v1 . IListJobTemplatesRequest | null , protos . google . cloud . video . transcoder . v1 . IListJobTemplatesResponse ]>;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IListJobTemplatesRequest
options
CallOptions
Returns
Type Description Promise <[protos.google.cloud.video.transcoder.v1.IJobTemplate [], protos.google.cloud.video.transcoder.v1.IListJobTemplatesRequest | null, protos.google.cloud.video.transcoder.v1.IListJobTemplatesResponse ]>
listJobTemplates(request, options, callback)
listJobTemplates ( request : protos . google . cloud . video . transcoder . v1 . IListJobTemplatesRequest , options : CallOptions , callback : PaginationCallback<protos . google . cloud . video . transcoder . v1 . IListJobTemplatesRequest , protos . google . cloud . video . transcoder . v1 . IListJobTemplatesResponse | null | undefined , protos . google . cloud . video . transcoder . v1 . IJobTemplate >) : void ;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IListJobTemplatesRequest
options
CallOptions
callback
PaginationCallback <protos.google.cloud.video.transcoder.v1.IListJobTemplatesRequest , protos.google.cloud.video.transcoder.v1.IListJobTemplatesResponse | null | undefined, protos.google.cloud.video.transcoder.v1.IJobTemplate >
Returns
listJobTemplates(request, callback)
listJobTemplates ( request : protos . google . cloud . video . transcoder . v1 . IListJobTemplatesRequest , callback : PaginationCallback<protos . google . cloud . video . transcoder . v1 . IListJobTemplatesRequest , protos . google . cloud . video . transcoder . v1 . IListJobTemplatesResponse | null | undefined , protos . google . cloud . video . transcoder . v1 . IJobTemplate >) : void ;
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IListJobTemplatesRequest
callback
PaginationCallback <protos.google.cloud.video.transcoder.v1.IListJobTemplatesRequest , protos.google.cloud.video.transcoder.v1.IListJobTemplatesResponse | null | undefined, protos.google.cloud.video.transcoder.v1.IJobTemplate >
Returns
listJobTemplatesAsync(request, options)
listJobTemplatesAsync ( request ?: protos . google . cloud . video . transcoder . v1 . IListJobTemplatesRequest , options ?: CallOptions ) : AsyncIterable<protos . google . cloud . video . transcoder . v1 . IJobTemplate >;
Equivalent to listJobTemplates
, but returns an iterable object.
for
-await
-of
syntax is used with the iterable to get response elements on-demand.
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IListJobTemplatesRequest
The request object that will be sent.
options
CallOptions
Call options. See CallOptions for more details.
Returns
Type Description AsyncIterable <protos.google.cloud.video.transcoder.v1.IJobTemplate >{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [JobTemplate]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
listJobTemplatesStream(request, options)
listJobTemplatesStream ( request ?: protos . google . cloud . video . transcoder . v1 . IListJobTemplatesRequest , options ?: CallOptions ) : Transform ;
Equivalent to method.name.toCamelCase()
, but returns a NodeJS Stream object.
Parameters
Name Description request
protos.google.cloud.video.transcoder.v1.IListJobTemplatesRequest
The request object that will be sent.
options
CallOptions
Call options. See CallOptions for more details.
Returns
Type Description Transform {Stream} An object stream which emits an object representing [JobTemplate] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listJobTemplatesAsync()
method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
locationPath(project, location)
locationPath ( project : string , location : string ) : string ;
Return a fully-qualified location resource name string.
Parameters
Name Description project
string
location
string
Returns
Type Description string {string} Resource name string.
matchJobFromJobName(jobName)
matchJobFromJobName ( jobName : string ) : string | number ;
Parse the job from Job resource.
Parameter
Name Description jobName
string
A fully-qualified path representing Job resource.
Returns
Type Description string | number {string} A string representing the job.
matchJobTemplateFromJobTemplateName(jobTemplateName)
matchJobTemplateFromJobTemplateName ( jobTemplateName : string ) : string | number ;
Parse the job_template from JobTemplate resource.
Parameter
Name Description jobTemplateName
string
A fully-qualified path representing JobTemplate resource.
Returns
Type Description string | number {string} A string representing the job_template.
matchLocationFromJobName(jobName)
matchLocationFromJobName ( jobName : string ) : string | number ;
Parse the location from Job resource.
Parameter
Name Description jobName
string
A fully-qualified path representing Job resource.
Returns
Type Description string | number {string} A string representing the location.
matchLocationFromJobTemplateName(jobTemplateName)
matchLocationFromJobTemplateName ( jobTemplateName : string ) : string | number ;
Parse the location from JobTemplate resource.
Parameter
Name Description jobTemplateName
string
A fully-qualified path representing JobTemplate resource.
Returns
Type Description string | number {string} A string representing the location.
matchLocationFromLocationName(locationName)
matchLocationFromLocationName ( locationName : string ) : string | number ;
Parse the location from Location resource.
Parameter
Name Description locationName
string
A fully-qualified path representing Location resource.
Returns
Type Description string | number {string} A string representing the location.
matchProjectFromJobName(jobName)
matchProjectFromJobName ( jobName : string ) : string | number ;
Parse the project from Job resource.
Parameter
Name Description jobName
string
A fully-qualified path representing Job resource.
Returns
Type Description string | number {string} A string representing the project.
matchProjectFromJobTemplateName(jobTemplateName)
matchProjectFromJobTemplateName ( jobTemplateName : string ) : string | number ;
Parse the project from JobTemplate resource.
Parameter
Name Description jobTemplateName
string
A fully-qualified path representing JobTemplate resource.
Returns
Type Description string | number {string} A string representing the project.
matchProjectFromLocationName(locationName)
matchProjectFromLocationName ( locationName : string ) : string | number ;
Parse the project from Location resource.
Parameter
Name Description locationName
string
A fully-qualified path representing Location resource.
Returns
Type Description string | number {string} A string representing the project.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]