Class protos.google.cloud.metastore.v1alpha.DataprocMetastoreFederation (3.5.0)

Represents a DataprocMetastoreFederation

Inheritance

$protobuf.rpc.Service > protos.google.cloud.metastore.v1alpha.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.v1alpha.ICreateFederationRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastoreFederation.CreateFederationCallback): void;

Calls CreateFederation.

Parameters
NameDescription
request ICreateFederationRequest

CreateFederationRequest message or plain object

callback google.cloud.metastore.v1alpha.DataprocMetastoreFederation.CreateFederationCallback

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

Returns
TypeDescription
void

createFederation(request)

public createFederation(request: google.cloud.metastore.v1alpha.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.v1alpha.IDeleteFederationRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastoreFederation.DeleteFederationCallback): void;

Calls DeleteFederation.

Parameters
NameDescription
request IDeleteFederationRequest

DeleteFederationRequest message or plain object

callback google.cloud.metastore.v1alpha.DataprocMetastoreFederation.DeleteFederationCallback

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

Returns
TypeDescription
void

deleteFederation(request)

public deleteFederation(request: google.cloud.metastore.v1alpha.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.v1alpha.IGetFederationRequest, callback: google.cloud.metastore.v1alpha.DataprocMetastoreFederation.GetFederationCallback): void;

Calls GetFederation.

Parameters
NameDescription
request IGetFederationRequest

GetFederationRequest message or plain object

callback google.cloud.metastore.v1alpha.DataprocMetastoreFederation.GetFederationCallback

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

Returns
TypeDescription
void

getFederation(request)

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

Calls GetFederation.

Parameter
NameDescription
request IGetFederationRequest

GetFederationRequest message or plain object

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

Promise

listFederations(request, callback)

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

Calls ListFederations.

Parameters
NameDescription
request IListFederationsRequest

ListFederationsRequest message or plain object

callback google.cloud.metastore.v1alpha.DataprocMetastoreFederation.ListFederationsCallback

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

Returns
TypeDescription
void

listFederations(request)

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

Calls ListFederations.

Parameter
NameDescription
request IListFederationsRequest

ListFederationsRequest message or plain object

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

Promise

updateFederation(request, callback)

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

Calls UpdateFederation.

Parameters
NameDescription
request IUpdateFederationRequest

UpdateFederationRequest message or plain object

callback google.cloud.metastore.v1alpha.DataprocMetastoreFederation.UpdateFederationCallback

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

Returns
TypeDescription
void

updateFederation(request)

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

Calls UpdateFederation.

Parameter
NameDescription
request IUpdateFederationRequest

UpdateFederationRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise