Cloud Dataplex v1 API - Class MetadataServiceClientImpl (3.1.0)

public sealed class MetadataServiceClientImpl : MetadataServiceClient

Reference documentation and code samples for the Cloud Dataplex v1 API class MetadataServiceClientImpl.

MetadataService client wrapper implementation, for convenient use.

Inheritance

object > MetadataServiceClient > MetadataServiceClientImpl

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Remarks

Metadata service manages metadata resources such as tables, filesets and partitions.

Constructors

MetadataServiceClientImpl(MetadataServiceClient, MetadataServiceSettings, ILogger)

public MetadataServiceClientImpl(MetadataService.MetadataServiceClient grpcClient, MetadataServiceSettings settings, ILogger logger)

Constructs a client wrapper for the MetadataService service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient MetadataServiceMetadataServiceClient

The underlying gRPC client.

settings MetadataServiceSettings

The base MetadataServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override MetadataService.MetadataServiceClient GrpcClient { get; }

The underlying gRPC MetadataService client

Property Value
Type Description
MetadataServiceMetadataServiceClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

CreateEntity(CreateEntityRequest, CallSettings)

public override Entity CreateEntity(CreateEntityRequest request, CallSettings callSettings = null)

Create a metadata entity.

Parameters
Name Description
request CreateEntityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Entity

The RPC response.

Overrides

CreateEntityAsync(CreateEntityRequest, CallSettings)

public override Task<Entity> CreateEntityAsync(CreateEntityRequest request, CallSettings callSettings = null)

Create a metadata entity.

Parameters
Name Description
request CreateEntityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskEntity

A Task containing the RPC response.

Overrides

CreatePartition(CreatePartitionRequest, CallSettings)

public override Partition CreatePartition(CreatePartitionRequest request, CallSettings callSettings = null)

Create a metadata partition.

Parameters
Name Description
request CreatePartitionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Partition

The RPC response.

Overrides

CreatePartitionAsync(CreatePartitionRequest, CallSettings)

public override Task<Partition> CreatePartitionAsync(CreatePartitionRequest request, CallSettings callSettings = null)

Create a metadata partition.

Parameters
Name Description
request CreatePartitionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPartition

A Task containing the RPC response.

Overrides

DeleteEntity(DeleteEntityRequest, CallSettings)

public override void DeleteEntity(DeleteEntityRequest request, CallSettings callSettings = null)

Delete a metadata entity.

Parameters
Name Description
request DeleteEntityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteEntityAsync(DeleteEntityRequest, CallSettings)

public override Task DeleteEntityAsync(DeleteEntityRequest request, CallSettings callSettings = null)

Delete a metadata entity.

Parameters
Name Description
request DeleteEntityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides

DeletePartition(DeletePartitionRequest, CallSettings)

public override void DeletePartition(DeletePartitionRequest request, CallSettings callSettings = null)

Delete a metadata partition.

Parameters
Name Description
request DeletePartitionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeletePartitionAsync(DeletePartitionRequest, CallSettings)

public override Task DeletePartitionAsync(DeletePartitionRequest request, CallSettings callSettings = null)

Delete a metadata partition.

Parameters
Name Description
request DeletePartitionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides

GetEntity(GetEntityRequest, CallSettings)

public override Entity GetEntity(GetEntityRequest request, CallSettings callSettings = null)

Get a metadata entity.

Parameters
Name Description
request GetEntityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Entity

The RPC response.

Overrides

GetEntityAsync(GetEntityRequest, CallSettings)

public override Task<Entity> GetEntityAsync(GetEntityRequest request, CallSettings callSettings = null)

Get a metadata entity.

Parameters
Name Description
request GetEntityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskEntity

A Task containing the RPC response.

Overrides

GetPartition(GetPartitionRequest, CallSettings)

public override Partition GetPartition(GetPartitionRequest request, CallSettings callSettings = null)

Get a metadata partition of an entity.

Parameters
Name Description
request GetPartitionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Partition

The RPC response.

Overrides

GetPartitionAsync(GetPartitionRequest, CallSettings)

public override Task<Partition> GetPartitionAsync(GetPartitionRequest request, CallSettings callSettings = null)

Get a metadata partition of an entity.

Parameters
Name Description
request GetPartitionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPartition

A Task containing the RPC response.

Overrides

ListEntities(ListEntitiesRequest, CallSettings)

public override PagedEnumerable<ListEntitiesResponse, Entity> ListEntities(ListEntitiesRequest request, CallSettings callSettings = null)

List metadata entities in a zone.

Parameters
Name Description
request ListEntitiesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListEntitiesResponseEntity

A pageable sequence of Entity resources.

Overrides

ListEntitiesAsync(ListEntitiesRequest, CallSettings)

public override PagedAsyncEnumerable<ListEntitiesResponse, Entity> ListEntitiesAsync(ListEntitiesRequest request, CallSettings callSettings = null)

List metadata entities in a zone.

Parameters
Name Description
request ListEntitiesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListEntitiesResponseEntity

A pageable asynchronous sequence of Entity resources.

Overrides

ListPartitions(ListPartitionsRequest, CallSettings)

public override PagedEnumerable<ListPartitionsResponse, Partition> ListPartitions(ListPartitionsRequest request, CallSettings callSettings = null)

List metadata partitions of an entity.

Parameters
Name Description
request ListPartitionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListPartitionsResponsePartition

A pageable sequence of Partition resources.

Overrides

ListPartitionsAsync(ListPartitionsRequest, CallSettings)

public override PagedAsyncEnumerable<ListPartitionsResponse, Partition> ListPartitionsAsync(ListPartitionsRequest request, CallSettings callSettings = null)

List metadata partitions of an entity.

Parameters
Name Description
request ListPartitionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListPartitionsResponsePartition

A pageable asynchronous sequence of Partition resources.

Overrides

UpdateEntity(UpdateEntityRequest, CallSettings)

public override Entity UpdateEntity(UpdateEntityRequest request, CallSettings callSettings = null)

Update a metadata entity. Only supports full resource update.

Parameters
Name Description
request UpdateEntityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Entity

The RPC response.

Overrides

UpdateEntityAsync(UpdateEntityRequest, CallSettings)

public override Task<Entity> UpdateEntityAsync(UpdateEntityRequest request, CallSettings callSettings = null)

Update a metadata entity. Only supports full resource update.

Parameters
Name Description
request UpdateEntityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskEntity

A Task containing the RPC response.

Overrides