Represents a DataprocMetastoreFederation
Inheritance
$protobuf.rpc.Service > protos.google.cloud.metastore.v1alpha.DataprocMetastoreFederationPackage
@google-cloud/dataproc-metastoreConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new DataprocMetastoreFederation service.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
createFederation(request)
public createFederation(request: google.cloud.metastore.v1alpha.ICreateFederationRequest): Promise<google.longrunning.Operation>;
Calls CreateFederation.
Parameter | |
---|---|
Name | Description |
request |
ICreateFederationRequest
CreateFederationRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
deleteFederation(request)
public deleteFederation(request: google.cloud.metastore.v1alpha.IDeleteFederationRequest): Promise<google.longrunning.Operation>;
Calls DeleteFederation.
Parameter | |
---|---|
Name | Description |
request |
IDeleteFederationRequest
DeleteFederationRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
getFederation(request)
public getFederation(request: google.cloud.metastore.v1alpha.IGetFederationRequest): Promise<google.cloud.metastore.v1alpha.Federation>;
Calls GetFederation.
Parameter | |
---|---|
Name | Description |
request |
IGetFederationRequest
GetFederationRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
listFederations(request)
public listFederations(request: google.cloud.metastore.v1alpha.IListFederationsRequest): Promise<google.cloud.metastore.v1alpha.ListFederationsResponse>;
Calls ListFederations.
Parameter | |
---|---|
Name | Description |
request |
IListFederationsRequest
ListFederationsRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
updateFederation(request)
public updateFederation(request: google.cloud.metastore.v1alpha.IUpdateFederationRequest): Promise<google.longrunning.Operation>;
Calls UpdateFederation.
Parameter | |
---|---|
Name | Description |
request |
IUpdateFederationRequest
UpdateFederationRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |