Cloud Dataplex v1 API - Class MetadataServiceClientImpl (2.11.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
NameDescription
grpcClientMetadataServiceMetadataServiceClient

The underlying gRPC client.

settingsMetadataServiceSettings

The base MetadataServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override MetadataService.MetadataServiceClient GrpcClient { get; }

The underlying gRPC MetadataService client

Property Value
TypeDescription
MetadataServiceMetadataServiceClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
TypeDescription
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

Methods

CreateEntity(CreateEntityRequest, CallSettings)

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

Create a metadata entity.

Parameters
NameDescription
requestCreateEntityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Entity

The RPC response.

Overrides

CreateEntityAsync(CreateEntityRequest, CallSettings)

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

Create a metadata entity.

Parameters
NameDescription
requestCreateEntityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreatePartitionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Partition

The RPC response.

Overrides

CreatePartitionAsync(CreatePartitionRequest, CallSettings)

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

Create a metadata partition.

Parameters
NameDescription
requestCreatePartitionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteEntityRequest

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

callSettingsCallSettings

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
NameDescription
requestDeleteEntityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeletePartitionRequest

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

callSettingsCallSettings

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
NameDescription
requestDeletePartitionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetEntityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Entity

The RPC response.

Overrides

GetEntityAsync(GetEntityRequest, CallSettings)

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

Get a metadata entity.

Parameters
NameDescription
requestGetEntityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetPartitionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetPartitionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListEntitiesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListEntitiesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListPartitionsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListPartitionsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateEntityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateEntityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskEntity

A Task containing the RPC response.

Overrides