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.
Namespace
Google.Cloud.Dataplex.V1Assembly
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 |
IAMPolicyClient
public override IAMPolicyClient IAMPolicyClient { get; }
The IAMPolicyClient associated with this client.
Property Value | |
---|---|
Type | Description |
IAMPolicyClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
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 |
TaskEntity | 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 |
TaskPartition | 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 |
TaskEntity | 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 |
TaskPartition | 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 |
PagedEnumerableListEntitiesResponseEntity | 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 |
PagedAsyncEnumerableListEntitiesResponseEntity | 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 |
PagedEnumerableListPartitionsResponsePartition | 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 |
PagedAsyncEnumerableListPartitionsResponsePartition | 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 |
TaskEntity | A Task containing the RPC response. |