Dataproc Metastore v1 API - Class DataprocMetastoreFederation.DataprocMetastoreFederationClient (2.6.0)

public class DataprocMetastoreFederation.DataprocMetastoreFederationClient : ClientBase<DataprocMetastoreFederation.DataprocMetastoreFederationClient>

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

Client for DataprocMetastoreFederation

Inheritance

object > ClientBase > ClientBaseDataprocMetastoreFederationDataprocMetastoreFederationClient > DataprocMetastoreFederation.DataprocMetastoreFederationClient

Namespace

Google.Cloud.Metastore.V1

Assembly

Google.Cloud.Metastore.V1.dll

Constructors

DataprocMetastoreFederationClient()

protected DataprocMetastoreFederationClient()

Protected parameterless constructor to allow creation of test doubles.

DataprocMetastoreFederationClient(CallInvoker)

public DataprocMetastoreFederationClient(CallInvoker callInvoker)

Creates a new client for DataprocMetastoreFederation that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

DataprocMetastoreFederationClient(ChannelBase)

public DataprocMetastoreFederationClient(ChannelBase channel)

Creates a new client for DataprocMetastoreFederation

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

DataprocMetastoreFederationClient(ClientBaseConfiguration)

protected DataprocMetastoreFederationClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateFederation(CreateFederationRequest, CallOptions)

public virtual Operation CreateFederation(CreateFederationRequest request, CallOptions options)

Creates a metastore federation in a project and location.

Parameters
NameDescription
requestCreateFederationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateFederation(CreateFederationRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateFederation(CreateFederationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a metastore federation in a project and location.

Parameters
NameDescription
requestCreateFederationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateFederationAsync(CreateFederationRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateFederationAsync(CreateFederationRequest request, CallOptions options)

Creates a metastore federation in a project and location.

Parameters
NameDescription
requestCreateFederationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateFederationAsync(CreateFederationRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateFederationAsync(CreateFederationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a metastore federation in a project and location.

Parameters
NameDescription
requestCreateFederationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateIAMPolicyClient()

public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.

Returns
TypeDescription
IAMPolicyIAMPolicyClient

A new IAMPolicy.IAMPolicyClient for the same target as this client.

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
TypeDescription
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
TypeDescription
OperationsOperationsClient

A new Operations client for the same target as this client.

DeleteFederation(DeleteFederationRequest, CallOptions)

public virtual Operation DeleteFederation(DeleteFederationRequest request, CallOptions options)

Deletes a single federation.

Parameters
NameDescription
requestDeleteFederationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteFederation(DeleteFederationRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteFederation(DeleteFederationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single federation.

Parameters
NameDescription
requestDeleteFederationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteFederationAsync(DeleteFederationRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteFederationAsync(DeleteFederationRequest request, CallOptions options)

Deletes a single federation.

Parameters
NameDescription
requestDeleteFederationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteFederationAsync(DeleteFederationRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteFederationAsync(DeleteFederationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single federation.

Parameters
NameDescription
requestDeleteFederationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

GetFederation(GetFederationRequest, CallOptions)

public virtual Federation GetFederation(GetFederationRequest request, CallOptions options)

Gets the details of a single federation.

Parameters
NameDescription
requestGetFederationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Federation

The response received from the server.

GetFederation(GetFederationRequest, Metadata, DateTime?, CancellationToken)

public virtual Federation GetFederation(GetFederationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the details of a single federation.

Parameters
NameDescription
requestGetFederationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Federation

The response received from the server.

GetFederationAsync(GetFederationRequest, CallOptions)

public virtual AsyncUnaryCall<Federation> GetFederationAsync(GetFederationRequest request, CallOptions options)

Gets the details of a single federation.

Parameters
NameDescription
requestGetFederationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallFederation

The call object.

GetFederationAsync(GetFederationRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Federation> GetFederationAsync(GetFederationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the details of a single federation.

Parameters
NameDescription
requestGetFederationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallFederation

The call object.

ListFederations(ListFederationsRequest, CallOptions)

public virtual ListFederationsResponse ListFederations(ListFederationsRequest request, CallOptions options)

Lists federations in a project and location.

Parameters
NameDescription
requestListFederationsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListFederationsResponse

The response received from the server.

ListFederations(ListFederationsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListFederationsResponse ListFederations(ListFederationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists federations in a project and location.

Parameters
NameDescription
requestListFederationsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListFederationsResponse

The response received from the server.

ListFederationsAsync(ListFederationsRequest, CallOptions)

public virtual AsyncUnaryCall<ListFederationsResponse> ListFederationsAsync(ListFederationsRequest request, CallOptions options)

Lists federations in a project and location.

Parameters
NameDescription
requestListFederationsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListFederationsResponse

The call object.

ListFederationsAsync(ListFederationsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListFederationsResponse> ListFederationsAsync(ListFederationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists federations in a project and location.

Parameters
NameDescription
requestListFederationsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListFederationsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override DataprocMetastoreFederation.DataprocMetastoreFederationClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
DataprocMetastoreFederationDataprocMetastoreFederationClient
Overrides

UpdateFederation(UpdateFederationRequest, CallOptions)

public virtual Operation UpdateFederation(UpdateFederationRequest request, CallOptions options)

Updates the fields of a federation.

Parameters
NameDescription
requestUpdateFederationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateFederation(UpdateFederationRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation UpdateFederation(UpdateFederationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the fields of a federation.

Parameters
NameDescription
requestUpdateFederationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateFederationAsync(UpdateFederationRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateFederationAsync(UpdateFederationRequest request, CallOptions options)

Updates the fields of a federation.

Parameters
NameDescription
requestUpdateFederationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateFederationAsync(UpdateFederationRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateFederationAsync(UpdateFederationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the fields of a federation.

Parameters
NameDescription
requestUpdateFederationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.