public sealed class MetadataServiceClientImpl : MetadataServiceClient
MetadataService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dataplex.V1Assembly
Google.Cloud.Dataplex.V1.dll
Remarks
Metadata service manages metadata resources such as tables, filesets and partitions.
Constructors
MetadataServiceClientImpl(MetadataService.MetadataServiceClient, MetadataServiceSettings)
public MetadataServiceClientImpl(MetadataService.MetadataServiceClient grpcClient, MetadataServiceSettings settings)
Constructs a client wrapper for the MetadataService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | MetadataService.MetadataServiceClient The underlying gRPC client. |
settings | MetadataServiceSettings The base MetadataServiceSettings used within this client. |
Properties
GrpcClient
public override MetadataService.MetadataServiceClient GrpcClient { get; }
The underlying gRPC MetadataService client
Property Value | |
---|---|
Type | Description |
MetadataService.MetadataServiceClient |
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. |
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 |
Task<Entity> | A Task containing the RPC response. |
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. |
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 |
Task<Partition> | A Task containing the RPC response. |
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. |
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. |
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. |
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. |
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. |
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 |
Task<Entity> | A Task containing the RPC response. |
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. |
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 |
Task<Partition> | A Task containing the RPC response. |
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 |
PagedEnumerable<ListEntitiesResponse, Entity> | A pageable sequence of Entity resources. |
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 |
PagedAsyncEnumerable<ListEntitiesResponse, Entity> | A pageable asynchronous sequence of Entity resources. |
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 |
PagedEnumerable<ListPartitionsResponse, Partition> | A pageable sequence of Partition resources. |
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 |
PagedAsyncEnumerable<ListPartitionsResponse, Partition> | A pageable asynchronous sequence of Partition resources. |
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. |
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 |
Task<Entity> | A Task containing the RPC response. |