Represents a DataprocMetastoreFederation
Inheritance
$protobuf.rpc.Service > protos.google.cloud.metastore.v1.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.v1.ICreateFederationRequest, callback: google.cloud.metastore.v1.DataprocMetastoreFederation.CreateFederationCallback): void;Calls CreateFederation.
| Parameters | |
|---|---|
| Name | Description |
request |
ICreateFederationRequest
CreateFederationRequest message or plain object |
callback |
CreateFederationCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
createFederation(request)
public createFederation(request: google.cloud.metastore.v1.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.v1.IDeleteFederationRequest, callback: google.cloud.metastore.v1.DataprocMetastoreFederation.DeleteFederationCallback): void;Calls DeleteFederation.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteFederationRequest
DeleteFederationRequest message or plain object |
callback |
DeleteFederationCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteFederation(request)
public deleteFederation(request: google.cloud.metastore.v1.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.v1.IGetFederationRequest, callback: google.cloud.metastore.v1.DataprocMetastoreFederation.GetFederationCallback): void;Calls GetFederation.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetFederationRequest
GetFederationRequest message or plain object |
callback |
GetFederationCallback
Node-style callback called with the error, if any, and Federation |
| Returns | |
|---|---|
| Type | Description |
void |
|
getFederation(request)
public getFederation(request: google.cloud.metastore.v1.IGetFederationRequest): Promise<google.cloud.metastore.v1.Federation>;Calls GetFederation.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetFederationRequest
GetFederationRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.metastore.v1.Federation> |
Promise |
listFederations(request, callback)
public listFederations(request: google.cloud.metastore.v1.IListFederationsRequest, callback: google.cloud.metastore.v1.DataprocMetastoreFederation.ListFederationsCallback): void;Calls ListFederations.
| Parameters | |
|---|---|
| Name | Description |
request |
IListFederationsRequest
ListFederationsRequest message or plain object |
callback |
ListFederationsCallback
Node-style callback called with the error, if any, and ListFederationsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listFederations(request)
public listFederations(request: google.cloud.metastore.v1.IListFederationsRequest): Promise<google.cloud.metastore.v1.ListFederationsResponse>;Calls ListFederations.
| Parameter | |
|---|---|
| Name | Description |
request |
IListFederationsRequest
ListFederationsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.metastore.v1.ListFederationsResponse> |
Promise |
updateFederation(request, callback)
public updateFederation(request: google.cloud.metastore.v1.IUpdateFederationRequest, callback: google.cloud.metastore.v1.DataprocMetastoreFederation.UpdateFederationCallback): void;Calls UpdateFederation.
| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateFederationRequest
UpdateFederationRequest message or plain object |
callback |
UpdateFederationCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
updateFederation(request)
public updateFederation(request: google.cloud.metastore.v1.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 |