Class v1beta2.ClusterControllerClient (2.5.0)

The ClusterControllerService provides methods to manage clusters of Compute Engine instances. v1beta2

Package

@google-cloud/dataproc!

Constructors

(constructor)(opts)

constructor(opts?: ClientOptions);

Construct an instance of ClusterControllerClient.

Parameter
NameDescription
opts ClientOptions

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

clusterControllerStub

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

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

Methods

checkCreateClusterProgress(name)

checkCreateClusterProgress(name: string): Promise<LROperation<protos.google.cloud.dataproc.v1beta2.Cluster, protos.google.cloud.dataproc.v1beta2.ClusterOperationMetadata>>;

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

Parameter
NameDescription
name string

The operation name that will be passed.

Returns
TypeDescription
Promise<LROperation<protos.google.cloud.dataproc.v1beta2.Cluster, protos.google.cloud.dataproc.v1beta2.ClusterOperationMetadata>>

{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.

checkDeleteClusterProgress(name)

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

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

Parameter
NameDescription
name string

The operation name that will be passed.

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

{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.

checkDiagnoseClusterProgress(name)

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

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

Parameter
NameDescription
name string

The operation name that will be passed.

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

{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.

checkUpdateClusterProgress(name)

checkUpdateClusterProgress(name: string): Promise<LROperation<protos.google.cloud.dataproc.v1beta2.Cluster, protos.google.cloud.dataproc.v1beta2.ClusterOperationMetadata>>;

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

Parameter
NameDescription
name string

The operation name that will be passed.

Returns
TypeDescription
Promise<LROperation<protos.google.cloud.dataproc.v1beta2.Cluster, protos.google.cloud.dataproc.v1beta2.ClusterOperationMetadata>>

{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.

createCluster(request, options)

createCluster(request?: protos.google.cloud.dataproc.v1beta2.ICreateClusterRequest, options?: CallOptions): Promise<[LROperation<protos.google.cloud.dataproc.v1beta2.ICluster, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined]>;
Parameters
NameDescription
request protos.google.cloud.dataproc.v1beta2.ICreateClusterRequest
options CallOptions
Returns
TypeDescription
Promise<[LROperation<protos.google.cloud.dataproc.v1beta2.ICluster, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined]>

createCluster(request, options, callback)

createCluster(request: protos.google.cloud.dataproc.v1beta2.ICreateClusterRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.dataproc.v1beta2.ICluster, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dataproc.v1beta2.ICreateClusterRequest
options CallOptions
callback Callback<LROperation<protos.google.cloud.dataproc.v1beta2.ICluster, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

createCluster(request, callback)

createCluster(request: protos.google.cloud.dataproc.v1beta2.ICreateClusterRequest, callback: Callback<LROperation<protos.google.cloud.dataproc.v1beta2.ICluster, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dataproc.v1beta2.ICreateClusterRequest
callback Callback<LROperation<protos.google.cloud.dataproc.v1beta2.ICluster, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

deleteCluster(request, options)

deleteCluster(request?: protos.google.cloud.dataproc.v1beta2.IDeleteClusterRequest, options?: CallOptions): Promise<[LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined]>;
Parameters
NameDescription
request protos.google.cloud.dataproc.v1beta2.IDeleteClusterRequest
options CallOptions
Returns
TypeDescription
Promise<[LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined]>

deleteCluster(request, options, callback)

deleteCluster(request: protos.google.cloud.dataproc.v1beta2.IDeleteClusterRequest, options: CallOptions, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dataproc.v1beta2.IDeleteClusterRequest
options CallOptions
callback Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

deleteCluster(request, callback)

deleteCluster(request: protos.google.cloud.dataproc.v1beta2.IDeleteClusterRequest, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dataproc.v1beta2.IDeleteClusterRequest
callback Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

diagnoseCluster(request, options)

diagnoseCluster(request?: protos.google.cloud.dataproc.v1beta2.IDiagnoseClusterRequest, options?: CallOptions): Promise<[LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined]>;
Parameters
NameDescription
request protos.google.cloud.dataproc.v1beta2.IDiagnoseClusterRequest
options CallOptions
Returns
TypeDescription
Promise<[LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined]>

diagnoseCluster(request, options, callback)

diagnoseCluster(request: protos.google.cloud.dataproc.v1beta2.IDiagnoseClusterRequest, options: CallOptions, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dataproc.v1beta2.IDiagnoseClusterRequest
options CallOptions
callback Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

diagnoseCluster(request, callback)

diagnoseCluster(request: protos.google.cloud.dataproc.v1beta2.IDiagnoseClusterRequest, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dataproc.v1beta2.IDiagnoseClusterRequest
callback Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

getCluster(request, options)

getCluster(request?: protos.google.cloud.dataproc.v1beta2.IGetClusterRequest, options?: CallOptions): Promise<[protos.google.cloud.dataproc.v1beta2.ICluster, protos.google.cloud.dataproc.v1beta2.IGetClusterRequest | undefined, {} | undefined]>;
Parameters
NameDescription
request protos.google.cloud.dataproc.v1beta2.IGetClusterRequest
options CallOptions
Returns
TypeDescription
Promise<[protos.google.cloud.dataproc.v1beta2.ICluster, protos.google.cloud.dataproc.v1beta2.IGetClusterRequest | undefined, {} | undefined]>

getCluster(request, options, callback)

getCluster(request: protos.google.cloud.dataproc.v1beta2.IGetClusterRequest, options: CallOptions, callback: Callback<protos.google.cloud.dataproc.v1beta2.ICluster, protos.google.cloud.dataproc.v1beta2.IGetClusterRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dataproc.v1beta2.IGetClusterRequest
options CallOptions
callback Callback<protos.google.cloud.dataproc.v1beta2.ICluster, protos.google.cloud.dataproc.v1beta2.IGetClusterRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

getCluster(request, callback)

getCluster(request: protos.google.cloud.dataproc.v1beta2.IGetClusterRequest, callback: Callback<protos.google.cloud.dataproc.v1beta2.ICluster, protos.google.cloud.dataproc.v1beta2.IGetClusterRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dataproc.v1beta2.IGetClusterRequest
callback Callback<protos.google.cloud.dataproc.v1beta2.ICluster, protos.google.cloud.dataproc.v1beta2.IGetClusterRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

getProjectId()

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

getProjectId(callback)

getProjectId(callback: Callback<string, undefined, undefined>): void;
Parameter
NameDescription
callback Callback<string, undefined, undefined>
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.

listClusters(request, options)

listClusters(request?: protos.google.cloud.dataproc.v1beta2.IListClustersRequest, options?: CallOptions): Promise<[protos.google.cloud.dataproc.v1beta2.ICluster[], protos.google.cloud.dataproc.v1beta2.IListClustersRequest | null, protos.google.cloud.dataproc.v1beta2.IListClustersResponse]>;
Parameters
NameDescription
request protos.google.cloud.dataproc.v1beta2.IListClustersRequest
options CallOptions
Returns
TypeDescription
Promise<[protos.google.cloud.dataproc.v1beta2.ICluster[], protos.google.cloud.dataproc.v1beta2.IListClustersRequest | null, protos.google.cloud.dataproc.v1beta2.IListClustersResponse]>

listClusters(request, options, callback)

listClusters(request: protos.google.cloud.dataproc.v1beta2.IListClustersRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.dataproc.v1beta2.IListClustersRequest, protos.google.cloud.dataproc.v1beta2.IListClustersResponse | null | undefined, protos.google.cloud.dataproc.v1beta2.ICluster>): void;
Parameters
NameDescription
request protos.google.cloud.dataproc.v1beta2.IListClustersRequest
options CallOptions
callback PaginationCallback<protos.google.cloud.dataproc.v1beta2.IListClustersRequest, protos.google.cloud.dataproc.v1beta2.IListClustersResponse | null | undefined, protos.google.cloud.dataproc.v1beta2.ICluster>
Returns
TypeDescription
void

listClusters(request, callback)

listClusters(request: protos.google.cloud.dataproc.v1beta2.IListClustersRequest, callback: PaginationCallback<protos.google.cloud.dataproc.v1beta2.IListClustersRequest, protos.google.cloud.dataproc.v1beta2.IListClustersResponse | null | undefined, protos.google.cloud.dataproc.v1beta2.ICluster>): void;
Parameters
NameDescription
request protos.google.cloud.dataproc.v1beta2.IListClustersRequest
callback PaginationCallback<protos.google.cloud.dataproc.v1beta2.IListClustersRequest, protos.google.cloud.dataproc.v1beta2.IListClustersResponse | null | undefined, protos.google.cloud.dataproc.v1beta2.ICluster>
Returns
TypeDescription
void

listClustersAsync(request, options)

listClustersAsync(request?: protos.google.cloud.dataproc.v1beta2.IListClustersRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.dataproc.v1beta2.ICluster>;

Equivalent to listClusters, but returns an iterable object.

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

Parameters
NameDescription
request protos.google.cloud.dataproc.v1beta2.IListClustersRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

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

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

listClustersStream(request, options)

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

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

Parameters
NameDescription
request protos.google.cloud.dataproc.v1beta2.IListClustersRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
TypeDescription
Transform

{Stream} An object stream which emits an object representing [Cluster] 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 listClustersAsync() 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
NameDescription
projectLocationAutoscalingPolicyName string

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
NameDescription
projectRegionAutoscalingPolicyName string

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
NameDescription
projectLocationAutoscalingPolicyName string

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
NameDescription
projectLocationWorkflowTemplateName string

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
NameDescription
projectLocationAutoscalingPolicyName string

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
NameDescription
projectLocationWorkflowTemplateName string

A fully-qualified path representing project_location_workflow_template 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
NameDescription
projectRegionAutoscalingPolicyName string

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
NameDescription
projectRegionWorkflowTemplateName string

A fully-qualified path representing project_region_workflow_template 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
NameDescription
projectRegionAutoscalingPolicyName string

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
NameDescription
projectRegionWorkflowTemplateName string

A fully-qualified path representing project_region_workflow_template 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
NameDescription
projectLocationWorkflowTemplateName string

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
NameDescription
projectRegionWorkflowTemplateName string

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
NameDescription
project string
location string
autoscalingPolicy string
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
NameDescription
project string
location string
workflowTemplate string
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
NameDescription
project string
region string
autoscalingPolicy string
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
NameDescription
project string
region string
workflowTemplate string
Returns
TypeDescription
string

{string} Resource name string.

updateCluster(request, options)

updateCluster(request?: protos.google.cloud.dataproc.v1beta2.IUpdateClusterRequest, options?: CallOptions): Promise<[LROperation<protos.google.cloud.dataproc.v1beta2.ICluster, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined]>;
Parameters
NameDescription
request protos.google.cloud.dataproc.v1beta2.IUpdateClusterRequest
options CallOptions
Returns
TypeDescription
Promise<[LROperation<protos.google.cloud.dataproc.v1beta2.ICluster, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined]>

updateCluster(request, options, callback)

updateCluster(request: protos.google.cloud.dataproc.v1beta2.IUpdateClusterRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.dataproc.v1beta2.ICluster, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dataproc.v1beta2.IUpdateClusterRequest
options CallOptions
callback Callback<LROperation<protos.google.cloud.dataproc.v1beta2.ICluster, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

updateCluster(request, callback)

updateCluster(request: protos.google.cloud.dataproc.v1beta2.IUpdateClusterRequest, callback: Callback<LROperation<protos.google.cloud.dataproc.v1beta2.ICluster, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dataproc.v1beta2.IUpdateClusterRequest
callback Callback<LROperation<protos.google.cloud.dataproc.v1beta2.ICluster, protos.google.cloud.dataproc.v1beta2.IClusterOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void