Class v1beta2.WorkflowTemplateServiceClient

The API interface for managing Workflow Templates in the Dataproc API. v1beta2

Package

@google-cloud/dataproc!

Constructors

(constructor)(opts)

constructor(opts?: ClientOptions);

Construct an instance of WorkflowTemplateServiceClient.

Parameter
TypeNameDescription
ClientOptionsopts

Properties

apiEndpoint

static get apiEndpoint(): string;

The DNS address for this API service - same as servicePath(), exists for compatibility reasons.

Property Value
TypeDescription
string

auth

auth: gax.GoogleAuth;
Property Value
TypeDescription
gax.GoogleAuth

descriptors

descriptors: Descriptors;
Property Value
TypeDescription
Descriptors

innerApiCalls

innerApiCalls: {
        [name: string]: Function;
    };
Property Value
TypeDescription
{ [name: string]: Function; }

operationsClient

operationsClient: gax.OperationsClient;
Property Value
TypeDescription
gax.OperationsClient

pathTemplates

pathTemplates: {
        [name: string]: gax.PathTemplate;
    };
Property Value
TypeDescription
{ [name: string]: gax.PathTemplate; }

port

static get port(): number;

The port for this API service.

Property Value
TypeDescription
number

scopes

static get scopes(): string[];

The scopes needed to make gRPC calls for every method defined in this service.

Property Value
TypeDescription
string[]

servicePath

static get servicePath(): string;

The DNS address for this API service.

Property Value
TypeDescription
string

warn

warn: (code: string, message: string, warnType?: string) => void;
Property Value
TypeDescription
(code: string, message: string, warnType?: string) => void

workflowTemplateServiceStub

workflowTemplateServiceStub?: Promise<{
        [name: string]: Function;
    }>;
Property Value
TypeDescription
Promise<{ [name: string]: Function; }>

Methods

checkInstantiateInlineWorkflowTemplateProgress(name)

checkInstantiateInlineWorkflowTemplateProgress(name: string): Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.dataproc.v1beta2.WorkflowMetadata>>;

Check the status of the long running operation returned by instantiateInlineWorkflowTemplate().

Parameter
TypeNameDescription
stringname

The operation name that will be passed.

Returns
TypeDescription
Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.dataproc.v1beta2.WorkflowMetadata>>

{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.

checkInstantiateWorkflowTemplateProgress(name)

checkInstantiateWorkflowTemplateProgress(name: string): Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.dataproc.v1beta2.WorkflowMetadata>>;

Check the status of the long running operation returned by instantiateWorkflowTemplate().

Parameter
TypeNameDescription
stringname

The operation name that will be passed.

Returns
TypeDescription
Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.dataproc.v1beta2.WorkflowMetadata>>

{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.

close()

close(): Promise<void>;

Terminate the gRPC channel and close the client.

The client will no longer be usable and all future behavior is undefined.

Returns
TypeDescription
Promise<void>

{Promise} A promise that resolves when the client is closed.

createWorkflowTemplate(request, options)

createWorkflowTemplate(request?: protos.google.cloud.dataproc.v1beta2.ICreateWorkflowTemplateRequest, options?: CallOptions): Promise<[protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate, (protos.google.cloud.dataproc.v1beta2.ICreateWorkflowTemplateRequest | undefined), {} | undefined]>;
Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.ICreateWorkflowTemplateRequestrequest
CallOptionsoptions
Returns
TypeDescription
Promise<[protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate, (protos.google.cloud.dataproc.v1beta2.ICreateWorkflowTemplateRequest | undefined), {} | undefined]>

createWorkflowTemplate(request, options, callback)

createWorkflowTemplate(request: protos.google.cloud.dataproc.v1beta2.ICreateWorkflowTemplateRequest, options: CallOptions, callback: Callback<protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate, protos.google.cloud.dataproc.v1beta2.ICreateWorkflowTemplateRequest | null | undefined, {} | null | undefined>): void;
Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.ICreateWorkflowTemplateRequestrequest
CallOptionsoptions
Callback<protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate, protos.google.cloud.dataproc.v1beta2.ICreateWorkflowTemplateRequest | null | undefined, {} | null | undefined>callback
Returns
TypeDescription
void

createWorkflowTemplate(request, callback)

createWorkflowTemplate(request: protos.google.cloud.dataproc.v1beta2.ICreateWorkflowTemplateRequest, callback: Callback<protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate, protos.google.cloud.dataproc.v1beta2.ICreateWorkflowTemplateRequest | null | undefined, {} | null | undefined>): void;
Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.ICreateWorkflowTemplateRequestrequest
Callback<protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate, protos.google.cloud.dataproc.v1beta2.ICreateWorkflowTemplateRequest | null | undefined, {} | null | undefined>callback
Returns
TypeDescription
void

deleteWorkflowTemplate(request, options)

deleteWorkflowTemplate(request?: protos.google.cloud.dataproc.v1beta2.IDeleteWorkflowTemplateRequest, options?: CallOptions): Promise<[protos.google.protobuf.IEmpty, (protos.google.cloud.dataproc.v1beta2.IDeleteWorkflowTemplateRequest | undefined), {} | undefined]>;
Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.IDeleteWorkflowTemplateRequestrequest
CallOptionsoptions
Returns
TypeDescription
Promise<[protos.google.protobuf.IEmpty, (protos.google.cloud.dataproc.v1beta2.IDeleteWorkflowTemplateRequest | undefined), {} | undefined]>

deleteWorkflowTemplate(request, options, callback)

deleteWorkflowTemplate(request: protos.google.cloud.dataproc.v1beta2.IDeleteWorkflowTemplateRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IDeleteWorkflowTemplateRequest | null | undefined, {} | null | undefined>): void;
Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.IDeleteWorkflowTemplateRequestrequest
CallOptionsoptions
Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IDeleteWorkflowTemplateRequest | null | undefined, {} | null | undefined>callback
Returns
TypeDescription
void

deleteWorkflowTemplate(request, callback)

deleteWorkflowTemplate(request: protos.google.cloud.dataproc.v1beta2.IDeleteWorkflowTemplateRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IDeleteWorkflowTemplateRequest | null | undefined, {} | null | undefined>): void;
Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.IDeleteWorkflowTemplateRequestrequest
Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IDeleteWorkflowTemplateRequest | null | undefined, {} | null | undefined>callback
Returns
TypeDescription
void

getProjectId()

getProjectId(): Promise<string>;
Returns
TypeDescription
Promise<string>

getProjectId(callback)

getProjectId(callback: Callback<string, undefined, undefined>): void;
Parameter
TypeNameDescription
Callback<string, undefined, undefined>callback
Returns
TypeDescription
void

getWorkflowTemplate(request, options)

getWorkflowTemplate(request?: protos.google.cloud.dataproc.v1beta2.IGetWorkflowTemplateRequest, options?: CallOptions): Promise<[protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate, (protos.google.cloud.dataproc.v1beta2.IGetWorkflowTemplateRequest | undefined), {} | undefined]>;
Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.IGetWorkflowTemplateRequestrequest
CallOptionsoptions
Returns
TypeDescription
Promise<[protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate, (protos.google.cloud.dataproc.v1beta2.IGetWorkflowTemplateRequest | undefined), {} | undefined]>

getWorkflowTemplate(request, options, callback)

getWorkflowTemplate(request: protos.google.cloud.dataproc.v1beta2.IGetWorkflowTemplateRequest, options: CallOptions, callback: Callback<protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate, protos.google.cloud.dataproc.v1beta2.IGetWorkflowTemplateRequest | null | undefined, {} | null | undefined>): void;
Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.IGetWorkflowTemplateRequestrequest
CallOptionsoptions
Callback<protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate, protos.google.cloud.dataproc.v1beta2.IGetWorkflowTemplateRequest | null | undefined, {} | null | undefined>callback
Returns
TypeDescription
void

getWorkflowTemplate(request, callback)

getWorkflowTemplate(request: protos.google.cloud.dataproc.v1beta2.IGetWorkflowTemplateRequest, callback: Callback<protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate, protos.google.cloud.dataproc.v1beta2.IGetWorkflowTemplateRequest | null | undefined, {} | null | undefined>): void;
Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.IGetWorkflowTemplateRequestrequest
Callback<protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate, protos.google.cloud.dataproc.v1beta2.IGetWorkflowTemplateRequest | null | undefined, {} | null | undefined>callback
Returns
TypeDescription
void

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
TypeDescription
Promise<{ [name: string]: Function; }>

{Promise} A promise that resolves to an authenticated service stub.

instantiateInlineWorkflowTemplate(request, options)

instantiateInlineWorkflowTemplate(request?: protos.google.cloud.dataproc.v1beta2.IInstantiateInlineWorkflowTemplateRequest, options?: CallOptions): Promise<[LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IWorkflowMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined]>;
Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.IInstantiateInlineWorkflowTemplateRequestrequest
CallOptionsoptions
Returns
TypeDescription
Promise<[LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IWorkflowMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined]>

instantiateInlineWorkflowTemplate(request, options, callback)

instantiateInlineWorkflowTemplate(request: protos.google.cloud.dataproc.v1beta2.IInstantiateInlineWorkflowTemplateRequest, options: CallOptions, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IWorkflowMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.IInstantiateInlineWorkflowTemplateRequestrequest
CallOptionsoptions
Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IWorkflowMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>callback
Returns
TypeDescription
void

instantiateInlineWorkflowTemplate(request, callback)

instantiateInlineWorkflowTemplate(request: protos.google.cloud.dataproc.v1beta2.IInstantiateInlineWorkflowTemplateRequest, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IWorkflowMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.IInstantiateInlineWorkflowTemplateRequestrequest
Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IWorkflowMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>callback
Returns
TypeDescription
void

instantiateWorkflowTemplate(request, options)

instantiateWorkflowTemplate(request?: protos.google.cloud.dataproc.v1beta2.IInstantiateWorkflowTemplateRequest, options?: CallOptions): Promise<[LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IWorkflowMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined]>;
Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.IInstantiateWorkflowTemplateRequestrequest
CallOptionsoptions
Returns
TypeDescription
Promise<[LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IWorkflowMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined]>

instantiateWorkflowTemplate(request, options, callback)

instantiateWorkflowTemplate(request: protos.google.cloud.dataproc.v1beta2.IInstantiateWorkflowTemplateRequest, options: CallOptions, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IWorkflowMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.IInstantiateWorkflowTemplateRequestrequest
CallOptionsoptions
Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IWorkflowMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>callback
Returns
TypeDescription
void

instantiateWorkflowTemplate(request, callback)

instantiateWorkflowTemplate(request: protos.google.cloud.dataproc.v1beta2.IInstantiateWorkflowTemplateRequest, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IWorkflowMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.IInstantiateWorkflowTemplateRequestrequest
Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IWorkflowMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>callback
Returns
TypeDescription
void

listWorkflowTemplates(request, options)

listWorkflowTemplates(request?: protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesRequest, options?: CallOptions): Promise<[protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate[], protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesRequest | null, protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesResponse]>;
Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesRequestrequest
CallOptionsoptions
Returns
TypeDescription
Promise<[protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate[], protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesRequest | null, protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesResponse]>

listWorkflowTemplates(request, options, callback)

listWorkflowTemplates(request: protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesRequest, protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesResponse | null | undefined, protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate>): void;
Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesRequestrequest
CallOptionsoptions
PaginationCallback<protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesRequest, protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesResponse | null | undefined, protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate>callback
Returns
TypeDescription
void

listWorkflowTemplates(request, callback)

listWorkflowTemplates(request: protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesRequest, callback: PaginationCallback<protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesRequest, protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesResponse | null | undefined, protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate>): void;
Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesRequestrequest
PaginationCallback<protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesRequest, protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesResponse | null | undefined, protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate>callback
Returns
TypeDescription
void

listWorkflowTemplatesAsync(request, options)

listWorkflowTemplatesAsync(request?: protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate>;

Equivalent to listWorkflowTemplates, but returns an iterable object.

for-await-of syntax is used with the iterable to get response elements on-demand.

Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesRequestrequest

The request object that will be sent.

CallOptionsoptions

Call options. See CallOptions for more details.

Returns
TypeDescription
AsyncIterable<protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate>

{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 [WorkflowTemplate]. 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.

listWorkflowTemplatesStream(request, options)

listWorkflowTemplatesStream(request?: protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesRequest, options?: CallOptions): Transform;

Equivalent to method.name.toCamelCase(), but returns a NodeJS Stream object.

Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.IListWorkflowTemplatesRequestrequest

The request object that will be sent.

CallOptionsoptions

Call options. See CallOptions for more details.

Returns
TypeDescription
Transform

{Stream} An object stream which emits an object representing [WorkflowTemplate] 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 listWorkflowTemplatesAsync() 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.

matchAutoscalingPolicyFromProjectLocationAutoscalingPolicyName(projectLocationAutoscalingPolicyName)

matchAutoscalingPolicyFromProjectLocationAutoscalingPolicyName(projectLocationAutoscalingPolicyName: string): string | number;

Parse the autoscaling_policy from ProjectLocationAutoscalingPolicy resource.

Parameter
TypeNameDescription
stringprojectLocationAutoscalingPolicyName

A fully-qualified path representing project_location_autoscaling_policy resource.

Returns
TypeDescription
string | number

{string} A string representing the autoscaling_policy.

matchAutoscalingPolicyFromProjectRegionAutoscalingPolicyName(projectRegionAutoscalingPolicyName)

matchAutoscalingPolicyFromProjectRegionAutoscalingPolicyName(projectRegionAutoscalingPolicyName: string): string | number;

Parse the autoscaling_policy from ProjectRegionAutoscalingPolicy resource.

Parameter
TypeNameDescription
stringprojectRegionAutoscalingPolicyName

A fully-qualified path representing project_region_autoscaling_policy resource.

Returns
TypeDescription
string | number

{string} A string representing the autoscaling_policy.

matchLocationFromProjectLocationAutoscalingPolicyName(projectLocationAutoscalingPolicyName)

matchLocationFromProjectLocationAutoscalingPolicyName(projectLocationAutoscalingPolicyName: string): string | number;

Parse the location from ProjectLocationAutoscalingPolicy resource.

Parameter
TypeNameDescription
stringprojectLocationAutoscalingPolicyName

A fully-qualified path representing project_location_autoscaling_policy resource.

Returns
TypeDescription
string | number

{string} A string representing the location.

matchLocationFromProjectLocationWorkflowTemplateName(projectLocationWorkflowTemplateName)

matchLocationFromProjectLocationWorkflowTemplateName(projectLocationWorkflowTemplateName: string): string | number;

Parse the location from ProjectLocationWorkflowTemplate resource.

Parameter
TypeNameDescription
stringprojectLocationWorkflowTemplateName

A fully-qualified path representing project_location_workflow_template resource.

Returns
TypeDescription
string | number

{string} A string representing the location.

matchProjectFromProjectLocationAutoscalingPolicyName(projectLocationAutoscalingPolicyName)

matchProjectFromProjectLocationAutoscalingPolicyName(projectLocationAutoscalingPolicyName: string): string | number;

Parse the project from ProjectLocationAutoscalingPolicy resource.

Parameter
TypeNameDescription
stringprojectLocationAutoscalingPolicyName

A fully-qualified path representing project_location_autoscaling_policy resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectLocationWorkflowTemplateName(projectLocationWorkflowTemplateName)

matchProjectFromProjectLocationWorkflowTemplateName(projectLocationWorkflowTemplateName: string): string | number;

Parse the project from ProjectLocationWorkflowTemplate resource.

Parameter
TypeNameDescription
stringprojectLocationWorkflowTemplateName

A fully-qualified path representing project_location_workflow_template resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectName(projectName)

matchProjectFromProjectName(projectName: string): string | number;

Parse the project from Project resource.

Parameter
TypeNameDescription
stringprojectName

A fully-qualified path representing Project resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectRegionAutoscalingPolicyName(projectRegionAutoscalingPolicyName)

matchProjectFromProjectRegionAutoscalingPolicyName(projectRegionAutoscalingPolicyName: string): string | number;

Parse the project from ProjectRegionAutoscalingPolicy resource.

Parameter
TypeNameDescription
stringprojectRegionAutoscalingPolicyName

A fully-qualified path representing project_region_autoscaling_policy resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectRegionWorkflowTemplateName(projectRegionWorkflowTemplateName)

matchProjectFromProjectRegionWorkflowTemplateName(projectRegionWorkflowTemplateName: string): string | number;

Parse the project from ProjectRegionWorkflowTemplate resource.

Parameter
TypeNameDescription
stringprojectRegionWorkflowTemplateName

A fully-qualified path representing project_region_workflow_template resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromRegionName(regionName)

matchProjectFromRegionName(regionName: string): string | number;

Parse the project from Region resource.

Parameter
TypeNameDescription
stringregionName

A fully-qualified path representing Region resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchRegionFromProjectRegionAutoscalingPolicyName(projectRegionAutoscalingPolicyName)

matchRegionFromProjectRegionAutoscalingPolicyName(projectRegionAutoscalingPolicyName: string): string | number;

Parse the region from ProjectRegionAutoscalingPolicy resource.

Parameter
TypeNameDescription
stringprojectRegionAutoscalingPolicyName

A fully-qualified path representing project_region_autoscaling_policy resource.

Returns
TypeDescription
string | number

{string} A string representing the region.

matchRegionFromProjectRegionWorkflowTemplateName(projectRegionWorkflowTemplateName)

matchRegionFromProjectRegionWorkflowTemplateName(projectRegionWorkflowTemplateName: string): string | number;

Parse the region from ProjectRegionWorkflowTemplate resource.

Parameter
TypeNameDescription
stringprojectRegionWorkflowTemplateName

A fully-qualified path representing project_region_workflow_template resource.

Returns
TypeDescription
string | number

{string} A string representing the region.

matchRegionFromRegionName(regionName)

matchRegionFromRegionName(regionName: string): string | number;

Parse the region from Region resource.

Parameter
TypeNameDescription
stringregionName

A fully-qualified path representing Region resource.

Returns
TypeDescription
string | number

{string} A string representing the region.

matchWorkflowTemplateFromProjectLocationWorkflowTemplateName(projectLocationWorkflowTemplateName)

matchWorkflowTemplateFromProjectLocationWorkflowTemplateName(projectLocationWorkflowTemplateName: string): string | number;

Parse the workflow_template from ProjectLocationWorkflowTemplate resource.

Parameter
TypeNameDescription
stringprojectLocationWorkflowTemplateName

A fully-qualified path representing project_location_workflow_template resource.

Returns
TypeDescription
string | number

{string} A string representing the workflow_template.

matchWorkflowTemplateFromProjectRegionWorkflowTemplateName(projectRegionWorkflowTemplateName)

matchWorkflowTemplateFromProjectRegionWorkflowTemplateName(projectRegionWorkflowTemplateName: string): string | number;

Parse the workflow_template from ProjectRegionWorkflowTemplate resource.

Parameter
TypeNameDescription
stringprojectRegionWorkflowTemplateName

A fully-qualified path representing project_region_workflow_template resource.

Returns
TypeDescription
string | number

{string} A string representing the workflow_template.

projectLocationAutoscalingPolicyPath(project, location, autoscalingPolicy)

projectLocationAutoscalingPolicyPath(project: string, location: string, autoscalingPolicy: string): string;

Return a fully-qualified projectLocationAutoscalingPolicy resource name string.

Parameters
TypeNameDescription
stringproject
stringlocation
stringautoscalingPolicy
Returns
TypeDescription
string

{string} Resource name string.

projectLocationWorkflowTemplatePath(project, location, workflowTemplate)

projectLocationWorkflowTemplatePath(project: string, location: string, workflowTemplate: string): string;

Return a fully-qualified projectLocationWorkflowTemplate resource name string.

Parameters
TypeNameDescription
stringproject
stringlocation
stringworkflowTemplate
Returns
TypeDescription
string

{string} Resource name string.

projectPath(project)

projectPath(project: string): string;

Return a fully-qualified project resource name string.

Parameter
TypeNameDescription
stringproject
Returns
TypeDescription
string

{string} Resource name string.

projectRegionAutoscalingPolicyPath(project, region, autoscalingPolicy)

projectRegionAutoscalingPolicyPath(project: string, region: string, autoscalingPolicy: string): string;

Return a fully-qualified projectRegionAutoscalingPolicy resource name string.

Parameters
TypeNameDescription
stringproject
stringregion
stringautoscalingPolicy
Returns
TypeDescription
string

{string} Resource name string.

projectRegionWorkflowTemplatePath(project, region, workflowTemplate)

projectRegionWorkflowTemplatePath(project: string, region: string, workflowTemplate: string): string;

Return a fully-qualified projectRegionWorkflowTemplate resource name string.

Parameters
TypeNameDescription
stringproject
stringregion
stringworkflowTemplate
Returns
TypeDescription
string

{string} Resource name string.

regionPath(project, region)

regionPath(project: string, region: string): string;

Return a fully-qualified region resource name string.

Parameters
TypeNameDescription
stringproject
stringregion
Returns
TypeDescription
string

{string} Resource name string.

updateWorkflowTemplate(request, options)

updateWorkflowTemplate(request?: protos.google.cloud.dataproc.v1beta2.IUpdateWorkflowTemplateRequest, options?: CallOptions): Promise<[protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate, (protos.google.cloud.dataproc.v1beta2.IUpdateWorkflowTemplateRequest | undefined), {} | undefined]>;
Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.IUpdateWorkflowTemplateRequestrequest
CallOptionsoptions
Returns
TypeDescription
Promise<[protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate, (protos.google.cloud.dataproc.v1beta2.IUpdateWorkflowTemplateRequest | undefined), {} | undefined]>

updateWorkflowTemplate(request, options, callback)

updateWorkflowTemplate(request: protos.google.cloud.dataproc.v1beta2.IUpdateWorkflowTemplateRequest, options: CallOptions, callback: Callback<protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate, protos.google.cloud.dataproc.v1beta2.IUpdateWorkflowTemplateRequest | null | undefined, {} | null | undefined>): void;
Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.IUpdateWorkflowTemplateRequestrequest
CallOptionsoptions
Callback<protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate, protos.google.cloud.dataproc.v1beta2.IUpdateWorkflowTemplateRequest | null | undefined, {} | null | undefined>callback
Returns
TypeDescription
void

updateWorkflowTemplate(request, callback)

updateWorkflowTemplate(request: protos.google.cloud.dataproc.v1beta2.IUpdateWorkflowTemplateRequest, callback: Callback<protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate, protos.google.cloud.dataproc.v1beta2.IUpdateWorkflowTemplateRequest | null | undefined, {} | null | undefined>): void;
Parameters
TypeNameDescription
protos.google.cloud.dataproc.v1beta2.IUpdateWorkflowTemplateRequestrequest
Callback<protos.google.cloud.dataproc.v1beta2.IWorkflowTemplate, protos.google.cloud.dataproc.v1beta2.IUpdateWorkflowTemplateRequest | null | undefined, {} | null | undefined>callback
Returns
TypeDescription
void