Class MetadataService.MetadataServiceClient (2.0.0)

public class MetadataServiceClient : ClientBase<MetadataService.MetadataServiceClient>

Client for MetadataService

Inheritance

Object > ClientBase > ClientBase<MetadataService.MetadataServiceClient> > MetadataService.MetadataServiceClient

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Constructors

MetadataServiceClient()

protected MetadataServiceClient()

Protected parameterless constructor to allow creation of test doubles.

MetadataServiceClient(CallInvoker)

public MetadataServiceClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

MetadataServiceClient(ChannelBase)

public MetadataServiceClient(ChannelBase channel)

Creates a new client for MetadataService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

MetadataServiceClient(ClientBase.ClientBaseConfiguration)

protected MetadataServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateEntity(CreateEntityRequest, CallOptions)

public virtual Entity CreateEntity(CreateEntityRequest request, CallOptions options)

Create a metadata entity.

Parameters
NameDescription
requestCreateEntityRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Entity

The response received from the server.

CreateEntity(CreateEntityRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Entity CreateEntity(CreateEntityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Create a metadata entity.

Parameters
NameDescription
requestCreateEntityRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Entity

The response received from the server.

CreateEntityAsync(CreateEntityRequest, CallOptions)

public virtual AsyncUnaryCall<Entity> CreateEntityAsync(CreateEntityRequest request, CallOptions options)

Create a metadata entity.

Parameters
NameDescription
requestCreateEntityRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Entity>

The call object.

CreateEntityAsync(CreateEntityRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Entity> CreateEntityAsync(CreateEntityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Create a metadata entity.

Parameters
NameDescription
requestCreateEntityRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Entity>

The call object.

CreatePartition(CreatePartitionRequest, CallOptions)

public virtual Partition CreatePartition(CreatePartitionRequest request, CallOptions options)

Create a metadata partition.

Parameters
NameDescription
requestCreatePartitionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Partition

The response received from the server.

CreatePartition(CreatePartitionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Partition CreatePartition(CreatePartitionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Create a metadata partition.

Parameters
NameDescription
requestCreatePartitionRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Partition

The response received from the server.

CreatePartitionAsync(CreatePartitionRequest, CallOptions)

public virtual AsyncUnaryCall<Partition> CreatePartitionAsync(CreatePartitionRequest request, CallOptions options)

Create a metadata partition.

Parameters
NameDescription
requestCreatePartitionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Partition>

The call object.

CreatePartitionAsync(CreatePartitionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Partition> CreatePartitionAsync(CreatePartitionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Create a metadata partition.

Parameters
NameDescription
requestCreatePartitionRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Partition>

The call object.

DeleteEntity(DeleteEntityRequest, CallOptions)

public virtual Empty DeleteEntity(DeleteEntityRequest request, CallOptions options)

Delete a metadata entity.

Parameters
NameDescription
requestDeleteEntityRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteEntity(DeleteEntityRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteEntity(DeleteEntityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Delete a metadata entity.

Parameters
NameDescription
requestDeleteEntityRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Empty

The response received from the server.

DeleteEntityAsync(DeleteEntityRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteEntityAsync(DeleteEntityRequest request, CallOptions options)

Delete a metadata entity.

Parameters
NameDescription
requestDeleteEntityRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteEntityAsync(DeleteEntityRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteEntityAsync(DeleteEntityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Delete a metadata entity.

Parameters
NameDescription
requestDeleteEntityRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

The call object.

DeletePartition(DeletePartitionRequest, CallOptions)

public virtual Empty DeletePartition(DeletePartitionRequest request, CallOptions options)

Delete a metadata partition.

Parameters
NameDescription
requestDeletePartitionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeletePartition(DeletePartitionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeletePartition(DeletePartitionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Delete a metadata partition.

Parameters
NameDescription
requestDeletePartitionRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Empty

The response received from the server.

DeletePartitionAsync(DeletePartitionRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeletePartitionAsync(DeletePartitionRequest request, CallOptions options)

Delete a metadata partition.

Parameters
NameDescription
requestDeletePartitionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeletePartitionAsync(DeletePartitionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeletePartitionAsync(DeletePartitionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Delete a metadata partition.

Parameters
NameDescription
requestDeletePartitionRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

The call object.

GetEntity(GetEntityRequest, CallOptions)

public virtual Entity GetEntity(GetEntityRequest request, CallOptions options)

Get a metadata entity.

Parameters
NameDescription
requestGetEntityRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Entity

The response received from the server.

GetEntity(GetEntityRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Entity GetEntity(GetEntityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Get a metadata entity.

Parameters
NameDescription
requestGetEntityRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Entity

The response received from the server.

GetEntityAsync(GetEntityRequest, CallOptions)

public virtual AsyncUnaryCall<Entity> GetEntityAsync(GetEntityRequest request, CallOptions options)

Get a metadata entity.

Parameters
NameDescription
requestGetEntityRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Entity>

The call object.

GetEntityAsync(GetEntityRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Entity> GetEntityAsync(GetEntityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Get a metadata entity.

Parameters
NameDescription
requestGetEntityRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Entity>

The call object.

GetPartition(GetPartitionRequest, CallOptions)

public virtual Partition GetPartition(GetPartitionRequest request, CallOptions options)

Get a metadata partition of an entity.

Parameters
NameDescription
requestGetPartitionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Partition

The response received from the server.

GetPartition(GetPartitionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Partition GetPartition(GetPartitionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Get a metadata partition of an entity.

Parameters
NameDescription
requestGetPartitionRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Partition

The response received from the server.

GetPartitionAsync(GetPartitionRequest, CallOptions)

public virtual AsyncUnaryCall<Partition> GetPartitionAsync(GetPartitionRequest request, CallOptions options)

Get a metadata partition of an entity.

Parameters
NameDescription
requestGetPartitionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Partition>

The call object.

GetPartitionAsync(GetPartitionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Partition> GetPartitionAsync(GetPartitionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Get a metadata partition of an entity.

Parameters
NameDescription
requestGetPartitionRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Partition>

The call object.

ListEntities(ListEntitiesRequest, CallOptions)

public virtual ListEntitiesResponse ListEntities(ListEntitiesRequest request, CallOptions options)

List metadata entities in a zone.

Parameters
NameDescription
requestListEntitiesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListEntitiesResponse

The response received from the server.

ListEntities(ListEntitiesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListEntitiesResponse ListEntities(ListEntitiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

List metadata entities in a zone.

Parameters
NameDescription
requestListEntitiesRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
ListEntitiesResponse

The response received from the server.

ListEntitiesAsync(ListEntitiesRequest, CallOptions)

public virtual AsyncUnaryCall<ListEntitiesResponse> ListEntitiesAsync(ListEntitiesRequest request, CallOptions options)

List metadata entities in a zone.

Parameters
NameDescription
requestListEntitiesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListEntitiesResponse>

The call object.

ListEntitiesAsync(ListEntitiesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListEntitiesResponse> ListEntitiesAsync(ListEntitiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

List metadata entities in a zone.

Parameters
NameDescription
requestListEntitiesRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListEntitiesResponse>

The call object.

ListPartitions(ListPartitionsRequest, CallOptions)

public virtual ListPartitionsResponse ListPartitions(ListPartitionsRequest request, CallOptions options)

List metadata partitions of an entity.

Parameters
NameDescription
requestListPartitionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListPartitionsResponse

The response received from the server.

ListPartitions(ListPartitionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListPartitionsResponse ListPartitions(ListPartitionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

List metadata partitions of an entity.

Parameters
NameDescription
requestListPartitionsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
ListPartitionsResponse

The response received from the server.

ListPartitionsAsync(ListPartitionsRequest, CallOptions)

public virtual AsyncUnaryCall<ListPartitionsResponse> ListPartitionsAsync(ListPartitionsRequest request, CallOptions options)

List metadata partitions of an entity.

Parameters
NameDescription
requestListPartitionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListPartitionsResponse>

The call object.

ListPartitionsAsync(ListPartitionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListPartitionsResponse> ListPartitionsAsync(ListPartitionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

List metadata partitions of an entity.

Parameters
NameDescription
requestListPartitionsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListPartitionsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override MetadataService.MetadataServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
MetadataService.MetadataServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Dataplex.V1.MetadataService.MetadataServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateEntity(UpdateEntityRequest, CallOptions)

public virtual Entity UpdateEntity(UpdateEntityRequest request, CallOptions options)

Update a metadata entity. Only supports full resource update.

Parameters
NameDescription
requestUpdateEntityRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Entity

The response received from the server.

UpdateEntity(UpdateEntityRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Entity UpdateEntity(UpdateEntityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Update a metadata entity. Only supports full resource update.

Parameters
NameDescription
requestUpdateEntityRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Entity

The response received from the server.

UpdateEntityAsync(UpdateEntityRequest, CallOptions)

public virtual AsyncUnaryCall<Entity> UpdateEntityAsync(UpdateEntityRequest request, CallOptions options)

Update a metadata entity. Only supports full resource update.

Parameters
NameDescription
requestUpdateEntityRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Entity>

The call object.

UpdateEntityAsync(UpdateEntityRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Entity> UpdateEntityAsync(UpdateEntityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Update a metadata entity. Only supports full resource update.

Parameters
NameDescription
requestUpdateEntityRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Entity>

The call object.