Class protos.google.cloud.dataplex.v1.MetadataService (1.0.0)

Represents a MetadataService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.dataplex.v1.MetadataService

Package

@google-cloud/dataplex

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new MetadataService service.

Parameters
NameDescription
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.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
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.

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

Returns
TypeDescription
void

getEntity(request)

public getEntity(request: google.cloud.dataplex.v1.IGetEntityRequest): Promise<google.cloud.dataplex.v1.Entity>;

Calls GetEntity.

Parameter
NameDescription
request google.cloud.dataplex.v1.IGetEntityRequest

GetEntityRequest message or plain object

Returns
TypeDescription
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.

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

Returns
TypeDescription
void

getPartition(request)

public getPartition(request: google.cloud.dataplex.v1.IGetPartitionRequest): Promise<google.cloud.dataplex.v1.Partition>;

Calls GetPartition.

Parameter
NameDescription
request IGetPartitionRequest

GetPartitionRequest message or plain object

Returns
TypeDescription
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.

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

Returns
TypeDescription
void

listEntities(request)

public listEntities(request: google.cloud.dataplex.v1.IListEntitiesRequest): Promise<google.cloud.dataplex.v1.ListEntitiesResponse>;

Calls ListEntities.

Parameter
NameDescription
request google.cloud.dataplex.v1.IListEntitiesRequest

ListEntitiesRequest message or plain object

Returns
TypeDescription
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.

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

Returns
TypeDescription
void

listPartitions(request)

public listPartitions(request: google.cloud.dataplex.v1.IListPartitionsRequest): Promise<google.cloud.dataplex.v1.ListPartitionsResponse>;

Calls ListPartitions.

Parameter
NameDescription
request IListPartitionsRequest

ListPartitionsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dataplex.v1.ListPartitionsResponse>

Promise