public class DataprocMetastoreFederationClient : ClientBase<DataprocMetastoreFederation.DataprocMetastoreFederationClient>
Reference documentation and code samples for the Dataproc Metastore v1 API class DataprocMetastoreFederation.DataprocMetastoreFederationClient.
Client for DataprocMetastoreFederation
Inheritance
Object > ClientBase > ClientBase<DataprocMetastoreFederation.DataprocMetastoreFederationClient> > DataprocMetastoreFederation.DataprocMetastoreFederationClientNamespace
Google.Cloud.Metastore.V1Assembly
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 | |
---|---|
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(ClientBase.ClientBaseConfiguration)
protected DataprocMetastoreFederationClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration 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, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateFederation(CreateFederationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
CreateFederationAsync(CreateFederationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateFederationAsync(CreateFederationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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 |
IAMPolicy.IAMPolicyClient | 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 |
Locations.LocationsClient | 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 |
Operations.OperationsClient | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation DeleteFederation(DeleteFederationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
DeleteFederationAsync(DeleteFederationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteFederationAsync(DeleteFederationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual Federation GetFederation(GetFederationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Federation> | The call object. |
GetFederationAsync(GetFederationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Federation> GetFederationAsync(GetFederationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Federation> | 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, Nullable<DateTime>, CancellationToken)
public virtual ListFederationsResponse ListFederations(ListFederationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<ListFederationsResponse> | The call object. |
ListFederationsAsync(ListFederationsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListFederationsResponse> ListFederationsAsync(ListFederationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<ListFederationsResponse> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override DataprocMetastoreFederation.DataprocMetastoreFederationClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
DataprocMetastoreFederation.DataprocMetastoreFederationClient |
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, Nullable<DateTime>, CancellationToken)
public virtual Operation UpdateFederation(UpdateFederationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
UpdateFederationAsync(UpdateFederationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateFederationAsync(UpdateFederationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |