Class protos.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization (4.7.0)

Represents a PolicyTagManagerSerialization

Inheritance

$protobuf.rpc.Service > protos.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization

Package

@google-cloud/datacatalog

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new PolicyTagManagerSerialization service.

Parameters
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): PolicyTagManagerSerialization;

Creates new PolicyTagManagerSerialization service using the specified rpc implementation.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
Type Description
PolicyTagManagerSerialization

RPC service. Useful where requests and/or responses are streamed.

exportTaxonomies(request, callback)

public exportTaxonomies(request: google.cloud.datacatalog.v1beta1.IExportTaxonomiesRequest, callback: google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ExportTaxonomiesCallback): void;

Calls ExportTaxonomies.

Parameters
Name Description
request IExportTaxonomiesRequest

ExportTaxonomiesRequest message or plain object

callback ExportTaxonomiesCallback

Node-style callback called with the error, if any, and ExportTaxonomiesResponse

Returns
Type Description
void

exportTaxonomies(request)

public exportTaxonomies(request: google.cloud.datacatalog.v1beta1.IExportTaxonomiesRequest): Promise<google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse>;

Calls ExportTaxonomies.

Parameter
Name Description
request IExportTaxonomiesRequest

ExportTaxonomiesRequest message or plain object

Returns
Type Description
Promise<google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse>

Promise

importTaxonomies(request, callback)

public importTaxonomies(request: google.cloud.datacatalog.v1beta1.IImportTaxonomiesRequest, callback: google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomiesCallback): void;

Calls ImportTaxonomies.

Parameters
Name Description
request IImportTaxonomiesRequest

ImportTaxonomiesRequest message or plain object

callback ImportTaxonomiesCallback

Node-style callback called with the error, if any, and ImportTaxonomiesResponse

Returns
Type Description
void

importTaxonomies(request)

public importTaxonomies(request: google.cloud.datacatalog.v1beta1.IImportTaxonomiesRequest): Promise<google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse>;

Calls ImportTaxonomies.

Parameter
Name Description
request IImportTaxonomiesRequest

ImportTaxonomiesRequest message or plain object

Returns
Type Description
Promise<google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse>

Promise