PolicyTagManagerSerialization

google.cloud.datacatalog.v1beta1. PolicyTagManagerSerialization

Represents a PolicyTagManagerSerialization

Constructor

new PolicyTagManagerSerialization(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new PolicyTagManagerSerialization service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

exportTaxonomies(request, callback) → {undefined}

Calls ExportTaxonomies.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.IExportTaxonomiesRequest

ExportTaxonomiesRequest message or plain object

callback google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ExportTaxonomiesCallback

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

Returns:
Type Description
undefined

exportTaxonomies(request) → {Promise.<google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse>}

Calls ExportTaxonomies.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.IExportTaxonomiesRequest

ExportTaxonomiesRequest message or plain object

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

Promise

importTaxonomies(request, callback) → {undefined}

Calls ImportTaxonomies.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.IImportTaxonomiesRequest

ImportTaxonomiesRequest message or plain object

callback google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomiesCallback

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

Returns:
Type Description
undefined

importTaxonomies(request) → {Promise.<google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse>}

Calls ImportTaxonomies.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.IImportTaxonomiesRequest

ImportTaxonomiesRequest message or plain object

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

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {PolicyTagManagerSerialization}

Creates new PolicyTagManagerSerialization service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
PolicyTagManagerSerialization

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

Type Definitions

ExportTaxonomiesCallback(error, responseopt)

Callback as used by exportTaxonomies.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse <optional>

ExportTaxonomiesResponse

ImportTaxonomiesCallback(error, responseopt)

Callback as used by importTaxonomies.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse <optional>

ImportTaxonomiesResponse