Class protos.google.cloud.datafusion.v1.DataFusion (2.1.1)

Stay organized with collections Save and categorize content based on your preferences.

Represents a DataFusion

Inheritance

$protobuf.rpc.Service > protos.google.cloud.datafusion.v1.DataFusion

Package

@google-cloud/data-fusion

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new DataFusion service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): DataFusion;

Creates new DataFusion service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
DataFusion

RPC service. Useful where requests and/or responses are streamed.

createInstance(request, callback)

public createInstance(request: google.cloud.datafusion.v1.ICreateInstanceRequest, callback: google.cloud.datafusion.v1.DataFusion.CreateInstanceCallback): void;

Calls CreateInstance.

Parameters
NameDescription
request ICreateInstanceRequest

CreateInstanceRequest message or plain object

callback google.cloud.datafusion.v1.DataFusion.CreateInstanceCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createInstance(request)

public createInstance(request: google.cloud.datafusion.v1.ICreateInstanceRequest): Promise<google.longrunning.Operation>;

Calls CreateInstance.

Parameter
NameDescription
request ICreateInstanceRequest

CreateInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteInstance(request, callback)

public deleteInstance(request: google.cloud.datafusion.v1.IDeleteInstanceRequest, callback: google.cloud.datafusion.v1.DataFusion.DeleteInstanceCallback): void;

Calls DeleteInstance.

Parameters
NameDescription
request IDeleteInstanceRequest

DeleteInstanceRequest message or plain object

callback google.cloud.datafusion.v1.DataFusion.DeleteInstanceCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deleteInstance(request)

public deleteInstance(request: google.cloud.datafusion.v1.IDeleteInstanceRequest): Promise<google.longrunning.Operation>;

Calls DeleteInstance.

Parameter
NameDescription
request IDeleteInstanceRequest

DeleteInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getInstance(request, callback)

public getInstance(request: google.cloud.datafusion.v1.IGetInstanceRequest, callback: google.cloud.datafusion.v1.DataFusion.GetInstanceCallback): void;

Calls GetInstance.

Parameters
NameDescription
request google.cloud.datafusion.v1.IGetInstanceRequest

GetInstanceRequest message or plain object

callback google.cloud.datafusion.v1.DataFusion.GetInstanceCallback

Node-style callback called with the error, if any, and Instance

Returns
TypeDescription
void

getInstance(request)

public getInstance(request: google.cloud.datafusion.v1.IGetInstanceRequest): Promise<google.cloud.datafusion.v1.Instance>;

Calls GetInstance.

Parameter
NameDescription
request google.cloud.datafusion.v1.IGetInstanceRequest

GetInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datafusion.v1.Instance>

Promise

listAvailableVersions(request, callback)

public listAvailableVersions(request: google.cloud.datafusion.v1.IListAvailableVersionsRequest, callback: google.cloud.datafusion.v1.DataFusion.ListAvailableVersionsCallback): void;

Calls ListAvailableVersions.

Parameters
NameDescription
request IListAvailableVersionsRequest

ListAvailableVersionsRequest message or plain object

callback google.cloud.datafusion.v1.DataFusion.ListAvailableVersionsCallback

Node-style callback called with the error, if any, and ListAvailableVersionsResponse

Returns
TypeDescription
void

listAvailableVersions(request)

public listAvailableVersions(request: google.cloud.datafusion.v1.IListAvailableVersionsRequest): Promise<google.cloud.datafusion.v1.ListAvailableVersionsResponse>;

Calls ListAvailableVersions.

Parameter
NameDescription
request IListAvailableVersionsRequest

ListAvailableVersionsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datafusion.v1.ListAvailableVersionsResponse>

Promise

listInstances(request, callback)

public listInstances(request: google.cloud.datafusion.v1.IListInstancesRequest, callback: google.cloud.datafusion.v1.DataFusion.ListInstancesCallback): void;

Calls ListInstances.

Parameters
NameDescription
request IListInstancesRequest

ListInstancesRequest message or plain object

callback google.cloud.datafusion.v1.DataFusion.ListInstancesCallback

Node-style callback called with the error, if any, and ListInstancesResponse

Returns
TypeDescription
void

listInstances(request)

public listInstances(request: google.cloud.datafusion.v1.IListInstancesRequest): Promise<google.cloud.datafusion.v1.ListInstancesResponse>;

Calls ListInstances.

Parameter
NameDescription
request IListInstancesRequest

ListInstancesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datafusion.v1.ListInstancesResponse>

Promise

restartInstance(request, callback)

public restartInstance(request: google.cloud.datafusion.v1.IRestartInstanceRequest, callback: google.cloud.datafusion.v1.DataFusion.RestartInstanceCallback): void;

Calls RestartInstance.

Parameters
NameDescription
request IRestartInstanceRequest

RestartInstanceRequest message or plain object

callback google.cloud.datafusion.v1.DataFusion.RestartInstanceCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

restartInstance(request)

public restartInstance(request: google.cloud.datafusion.v1.IRestartInstanceRequest): Promise<google.longrunning.Operation>;

Calls RestartInstance.

Parameter
NameDescription
request IRestartInstanceRequest

RestartInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateInstance(request, callback)

public updateInstance(request: google.cloud.datafusion.v1.IUpdateInstanceRequest, callback: google.cloud.datafusion.v1.DataFusion.UpdateInstanceCallback): void;

Calls UpdateInstance.

Parameters
NameDescription
request IUpdateInstanceRequest

UpdateInstanceRequest message or plain object

callback google.cloud.datafusion.v1.DataFusion.UpdateInstanceCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

updateInstance(request)

public updateInstance(request: google.cloud.datafusion.v1.IUpdateInstanceRequest): Promise<google.longrunning.Operation>;

Calls UpdateInstance.

Parameter
NameDescription
request IUpdateInstanceRequest

UpdateInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise