Class protos.google.cloud.metastore.v1beta.DataprocMetastoreFederation (4.1.0)

Represents a DataprocMetastoreFederation

Inheritance

$protobuf.rpc.Service > protos.google.cloud.metastore.v1beta.DataprocMetastoreFederation

Package

@google-cloud/dataproc-metastore

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new DataprocMetastoreFederation 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): DataprocMetastoreFederation;

Creates new DataprocMetastoreFederation 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
DataprocMetastoreFederation

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

createFederation(request, callback)

public createFederation(request: google.cloud.metastore.v1beta.ICreateFederationRequest, callback: google.cloud.metastore.v1beta.DataprocMetastoreFederation.CreateFederationCallback): void;

Calls CreateFederation.

Parameters
NameDescription
request ICreateFederationRequest

CreateFederationRequest message or plain object

callback CreateFederationCallback

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

Returns
TypeDescription
void

createFederation(request)

public createFederation(request: google.cloud.metastore.v1beta.ICreateFederationRequest): Promise<google.longrunning.Operation>;

Calls CreateFederation.

Parameter
NameDescription
request ICreateFederationRequest

CreateFederationRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteFederation(request, callback)

public deleteFederation(request: google.cloud.metastore.v1beta.IDeleteFederationRequest, callback: google.cloud.metastore.v1beta.DataprocMetastoreFederation.DeleteFederationCallback): void;

Calls DeleteFederation.

Parameters
NameDescription
request IDeleteFederationRequest

DeleteFederationRequest message or plain object

callback DeleteFederationCallback

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

Returns
TypeDescription
void

deleteFederation(request)

public deleteFederation(request: google.cloud.metastore.v1beta.IDeleteFederationRequest): Promise<google.longrunning.Operation>;

Calls DeleteFederation.

Parameter
NameDescription
request IDeleteFederationRequest

DeleteFederationRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getFederation(request, callback)

public getFederation(request: google.cloud.metastore.v1beta.IGetFederationRequest, callback: google.cloud.metastore.v1beta.DataprocMetastoreFederation.GetFederationCallback): void;

Calls GetFederation.

Parameters
NameDescription
request IGetFederationRequest

GetFederationRequest message or plain object

callback GetFederationCallback

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

Returns
TypeDescription
void

getFederation(request)

public getFederation(request: google.cloud.metastore.v1beta.IGetFederationRequest): Promise<google.cloud.metastore.v1beta.Federation>;

Calls GetFederation.

Parameter
NameDescription
request IGetFederationRequest

GetFederationRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.metastore.v1beta.Federation>

Promise

listFederations(request, callback)

public listFederations(request: google.cloud.metastore.v1beta.IListFederationsRequest, callback: google.cloud.metastore.v1beta.DataprocMetastoreFederation.ListFederationsCallback): void;

Calls ListFederations.

Parameters
NameDescription
request IListFederationsRequest

ListFederationsRequest message or plain object

callback ListFederationsCallback

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

Returns
TypeDescription
void

listFederations(request)

public listFederations(request: google.cloud.metastore.v1beta.IListFederationsRequest): Promise<google.cloud.metastore.v1beta.ListFederationsResponse>;

Calls ListFederations.

Parameter
NameDescription
request IListFederationsRequest

ListFederationsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.metastore.v1beta.ListFederationsResponse>

Promise

updateFederation(request, callback)

public updateFederation(request: google.cloud.metastore.v1beta.IUpdateFederationRequest, callback: google.cloud.metastore.v1beta.DataprocMetastoreFederation.UpdateFederationCallback): void;

Calls UpdateFederation.

Parameters
NameDescription
request IUpdateFederationRequest

UpdateFederationRequest message or plain object

callback UpdateFederationCallback

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

Returns
TypeDescription
void

updateFederation(request)

public updateFederation(request: google.cloud.metastore.v1beta.IUpdateFederationRequest): Promise<google.longrunning.Operation>;

Calls UpdateFederation.

Parameter
NameDescription
request IUpdateFederationRequest

UpdateFederationRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise