Represents a MetadataService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.dataplex.v1.MetadataServicePackage
@google-cloud/dataplexConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new MetadataService service.
| Name | Description |
| rpcImpl |
$protobuf.RPCImpl
RPC implementation |
| requestDelimited |
boolean
Whether requests are length-delimited |
| responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): MetadataService;Creates new MetadataService service using the specified rpc implementation.
| Name | Description |
| rpcImpl |
$protobuf.RPCImpl
RPC implementation |
| requestDelimited |
boolean
Whether requests are length-delimited |
| responseDelimited |
boolean
Whether responses are length-delimited |
| Type | Description |
| MetadataService | RPC service. Useful where requests and/or responses are streamed. |
getEntity(request, callback)
public getEntity(request: google.cloud.dataplex.v1.IGetEntityRequest, callback: google.cloud.dataplex.v1.MetadataService.GetEntityCallback): void;Calls GetEntity.
| Name | Description |
| request |
google.cloud.dataplex.v1.IGetEntityRequest
GetEntityRequest message or plain object |
| callback |
google.cloud.dataplex.v1.MetadataService.GetEntityCallback
Node-style callback called with the error, if any, and Entity |
| Type | Description |
| void |
getEntity(request)
public getEntity(request: google.cloud.dataplex.v1.IGetEntityRequest): Promise<google.cloud.dataplex.v1.Entity>;Calls GetEntity.
| Name | Description |
| request |
google.cloud.dataplex.v1.IGetEntityRequest
GetEntityRequest message or plain object |
| Type | Description |
| Promise<google.cloud.dataplex.v1.Entity> | Promise |
getPartition(request, callback)
public getPartition(request: google.cloud.dataplex.v1.IGetPartitionRequest, callback: google.cloud.dataplex.v1.MetadataService.GetPartitionCallback): void;Calls GetPartition.
| Name | Description |
| request |
IGetPartitionRequest
GetPartitionRequest message or plain object |
| callback |
google.cloud.dataplex.v1.MetadataService.GetPartitionCallback
Node-style callback called with the error, if any, and Partition |
| Type | Description |
| void |
getPartition(request)
public getPartition(request: google.cloud.dataplex.v1.IGetPartitionRequest): Promise<google.cloud.dataplex.v1.Partition>;Calls GetPartition.
| Name | Description |
| request |
IGetPartitionRequest
GetPartitionRequest message or plain object |
| Type | Description |
| Promise<google.cloud.dataplex.v1.Partition> | Promise |
listEntities(request, callback)
public listEntities(request: google.cloud.dataplex.v1.IListEntitiesRequest, callback: google.cloud.dataplex.v1.MetadataService.ListEntitiesCallback): void;Calls ListEntities.
| Name | Description |
| request |
google.cloud.dataplex.v1.IListEntitiesRequest
ListEntitiesRequest message or plain object |
| callback |
google.cloud.dataplex.v1.MetadataService.ListEntitiesCallback
Node-style callback called with the error, if any, and ListEntitiesResponse |
| Type | Description |
| void |
listEntities(request)
public listEntities(request: google.cloud.dataplex.v1.IListEntitiesRequest): Promise<google.cloud.dataplex.v1.ListEntitiesResponse>;Calls ListEntities.
| Name | Description |
| request |
google.cloud.dataplex.v1.IListEntitiesRequest
ListEntitiesRequest message or plain object |
| Type | Description |
| Promise<google.cloud.dataplex.v1.ListEntitiesResponse> | Promise |
listPartitions(request, callback)
public listPartitions(request: google.cloud.dataplex.v1.IListPartitionsRequest, callback: google.cloud.dataplex.v1.MetadataService.ListPartitionsCallback): void;Calls ListPartitions.
| Name | Description |
| request |
IListPartitionsRequest
ListPartitionsRequest message or plain object |
| callback |
google.cloud.dataplex.v1.MetadataService.ListPartitionsCallback
Node-style callback called with the error, if any, and ListPartitionsResponse |
| Type | Description |
| void |
listPartitions(request)
public listPartitions(request: google.cloud.dataplex.v1.IListPartitionsRequest): Promise<google.cloud.dataplex.v1.ListPartitionsResponse>;Calls ListPartitions.
| Name | Description |
| request |
IListPartitionsRequest
ListPartitionsRequest message or plain object |
| Type | Description |
| Promise<google.cloud.dataplex.v1.ListPartitionsResponse> | Promise |