Represents a PolicyTagManagerSerialization
Inheritance
$protobuf.rpc.Service > protos.google.cloud.datacatalog.v1.PolicyTagManagerSerializationPackage
@google-cloud/datacatalogConstructors
(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.v1.IExportTaxonomiesRequest, callback: google.cloud.datacatalog.v1.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.v1.IExportTaxonomiesRequest): Promise<google.cloud.datacatalog.v1.ExportTaxonomiesResponse>;
Calls ExportTaxonomies.
Parameter | |
---|---|
Name | Description |
request |
IExportTaxonomiesRequest
ExportTaxonomiesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.datacatalog.v1.ExportTaxonomiesResponse> |
Promise |
importTaxonomies(request, callback)
public importTaxonomies(request: google.cloud.datacatalog.v1.IImportTaxonomiesRequest, callback: google.cloud.datacatalog.v1.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.v1.IImportTaxonomiesRequest): Promise<google.cloud.datacatalog.v1.ImportTaxonomiesResponse>;
Calls ImportTaxonomies.
Parameter | |
---|---|
Name | Description |
request |
IImportTaxonomiesRequest
ImportTaxonomiesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.datacatalog.v1.ImportTaxonomiesResponse> |
Promise |
replaceTaxonomy(request, callback)
public replaceTaxonomy(request: google.cloud.datacatalog.v1.IReplaceTaxonomyRequest, callback: google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ReplaceTaxonomyCallback): void;
Calls ReplaceTaxonomy.
Parameters | |
---|---|
Name | Description |
request |
IReplaceTaxonomyRequest
ReplaceTaxonomyRequest message or plain object |
callback |
ReplaceTaxonomyCallback
Node-style callback called with the error, if any, and Taxonomy |
Returns | |
---|---|
Type | Description |
void |
replaceTaxonomy(request)
public replaceTaxonomy(request: google.cloud.datacatalog.v1.IReplaceTaxonomyRequest): Promise<google.cloud.datacatalog.v1.Taxonomy>;
Calls ReplaceTaxonomy.
Parameter | |
---|---|
Name | Description |
request |
IReplaceTaxonomyRequest
ReplaceTaxonomyRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.datacatalog.v1.Taxonomy> |
Promise |