Dataproc Metastore v1beta API - Class DataprocMetastoreFederation.DataprocMetastoreFederationClient (2.0.0-beta11)

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

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

Client for DataprocMetastoreFederation

Inheritance

object > ClientBase > ClientBaseDataprocMetastoreFederationDataprocMetastoreFederationClient > DataprocMetastoreFederation.DataprocMetastoreFederationClient

Namespace

Google.Cloud.Metastore.V1Beta

Assembly

Google.Cloud.Metastore.V1Beta.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
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

DataprocMetastoreFederationClient(ChannelBase)

public DataprocMetastoreFederationClient(ChannelBase channel)

Creates a new client for DataprocMetastoreFederation

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

DataprocMetastoreFederationClient(ClientBaseConfiguration)

protected DataprocMetastoreFederationClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

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
Name Description
request CreateFederationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request CreateFederationRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Name Description
request CreateFederationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request CreateFederationRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
request DeleteFederationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DeleteFederationRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

DeleteFederationAsync(DeleteFederationRequest, CallOptions)

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

Deletes a single federation.

Parameters
Name Description
request DeleteFederationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DeleteFederationRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

GetFederation(GetFederationRequest, CallOptions)

public virtual Federation GetFederation(GetFederationRequest request, CallOptions options)

Gets the details of a single federation.

Parameters
Name Description
request GetFederationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetFederationRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Name Description
request GetFederationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetFederationRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallFederation

The call object.

ListFederations(ListFederationsRequest, CallOptions)

public virtual ListFederationsResponse ListFederations(ListFederationsRequest request, CallOptions options)

Lists federations in a project and location.

Parameters
Name Description
request ListFederationsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListFederationsRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Name Description
request ListFederationsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListFederationsRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListFederationsResponse

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
DataprocMetastoreFederationDataprocMetastoreFederationClient
Overrides

UpdateFederation(UpdateFederationRequest, CallOptions)

public virtual Operation UpdateFederation(UpdateFederationRequest request, CallOptions options)

Updates the fields of a federation.

Parameters
Name Description
request UpdateFederationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request UpdateFederationRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Name Description
request UpdateFederationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request UpdateFederationRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.