Dataproc Metastore v1 API - Class DataprocMetastoreFederation.DataprocMetastoreFederationBase (2.2.0)

[BindServiceMethod(typeof(DataprocMetastoreFederation), "BindService")]
public abstract class DataprocMetastoreFederationBase

Reference documentation and code samples for the Dataproc Metastore v1 API class DataprocMetastoreFederation.DataprocMetastoreFederationBase.

Base class for server-side implementations of DataprocMetastoreFederation

Inheritance

Object > DataprocMetastoreFederation.DataprocMetastoreFederationBase

Namespace

Google.Cloud.Metastore.V1

Assembly

Google.Cloud.Metastore.V1.dll

Methods

CreateFederation(CreateFederationRequest, ServerCallContext)

public virtual Task<Operation> CreateFederation(CreateFederationRequest request, ServerCallContext context)

Creates a metastore federation in a project and location.

Parameters
NameDescription
requestCreateFederationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

DeleteFederation(DeleteFederationRequest, ServerCallContext)

public virtual Task<Operation> DeleteFederation(DeleteFederationRequest request, ServerCallContext context)

Deletes a single federation.

Parameters
NameDescription
requestDeleteFederationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

GetFederation(GetFederationRequest, ServerCallContext)

public virtual Task<Federation> GetFederation(GetFederationRequest request, ServerCallContext context)

Gets the details of a single federation.

Parameters
NameDescription
requestGetFederationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Federation>

The response to send back to the client (wrapped by a task).

ListFederations(ListFederationsRequest, ServerCallContext)

public virtual Task<ListFederationsResponse> ListFederations(ListFederationsRequest request, ServerCallContext context)

Lists federations in a project and location.

Parameters
NameDescription
requestListFederationsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListFederationsResponse>

The response to send back to the client (wrapped by a task).

UpdateFederation(UpdateFederationRequest, ServerCallContext)

public virtual Task<Operation> UpdateFederation(UpdateFederationRequest request, ServerCallContext context)

Updates the fields of a federation.

Parameters
NameDescription
requestUpdateFederationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).