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.v1.IExportTaxonomiesRequest |
ExportTaxonomiesRequest message or plain object |
callback |
google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomiesCallback |
Node-style callback called with the error, if any, and ExportTaxonomiesResponse |
Returns:
Type | Description |
---|---|
undefined |
exportTaxonomies(request) → {Promise.<google.cloud.datacatalog.v1.ExportTaxonomiesResponse>}
Calls ExportTaxonomies.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datacatalog.v1.IExportTaxonomiesRequest |
ExportTaxonomiesRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datacatalog.v1.ExportTaxonomiesResponse> |
Promise |
importTaxonomies(request, callback) → {undefined}
Calls ImportTaxonomies.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datacatalog.v1.IImportTaxonomiesRequest |
ImportTaxonomiesRequest message or plain object |
callback |
google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomiesCallback |
Node-style callback called with the error, if any, and ImportTaxonomiesResponse |
Returns:
Type | Description |
---|---|
undefined |
importTaxonomies(request) → {Promise.<google.cloud.datacatalog.v1.ImportTaxonomiesResponse>}
Calls ImportTaxonomies.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datacatalog.v1.IImportTaxonomiesRequest |
ImportTaxonomiesRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datacatalog.v1.ImportTaxonomiesResponse> |
Promise |
replaceTaxonomy(request, callback) → {undefined}
Calls ReplaceTaxonomy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datacatalog.v1.IReplaceTaxonomyRequest |
ReplaceTaxonomyRequest message or plain object |
callback |
google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ReplaceTaxonomyCallback |
Node-style callback called with the error, if any, and Taxonomy |
Returns:
Type | Description |
---|---|
undefined |
replaceTaxonomy(request) → {Promise.<google.cloud.datacatalog.v1.Taxonomy>}
Calls ReplaceTaxonomy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datacatalog.v1.IReplaceTaxonomyRequest |
ReplaceTaxonomyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datacatalog.v1.Taxonomy> |
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.v1.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.v1.ImportTaxonomiesResponse |
<optional> |
ImportTaxonomiesResponse |
ReplaceTaxonomyCallback(error, responseopt)
Callback as used by replaceTaxonomy.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datacatalog.v1.Taxonomy |
<optional> |
Taxonomy |