[BindServiceMethod(typeof(PolicyTagManagerSerialization), "BindService")]
public abstract class PolicyTagManagerSerializationBase
Base class for server-side implementations of PolicyTagManagerSerialization
Namespace
Google.Cloud.DataCatalog.V1Assembly
Google.Cloud.DataCatalog.V1.dll
Methods
ExportTaxonomies(ExportTaxonomiesRequest, ServerCallContext)
public virtual Task<ExportTaxonomiesResponse> ExportTaxonomies(ExportTaxonomiesRequest request, ServerCallContext context)
Exports taxonomies as the requested type and returns the taxonomies including their policy tags. The requested taxonomies must belong to one project.
SerializedTaxonomy protos with nested policy tags that are generated by this method can be used as input for future ImportTaxonomies calls.
Parameters | |
---|---|
Name | Description |
request | ExportTaxonomiesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ExportTaxonomiesResponse> | The response to send back to the client (wrapped by a task). |
ImportTaxonomies(ImportTaxonomiesRequest, ServerCallContext)
public virtual Task<ImportTaxonomiesResponse> ImportTaxonomies(ImportTaxonomiesRequest request, ServerCallContext context)
Creates new taxonomies (including their policy tags) by importing from inlined source or cross-regional source. New taxonomies will be created in a given parent project.
If using the cross-regional source, a new taxonomy is created by copying from a source in another region.
If using the inlined source, this method provides a way to bulk create taxonomies and policy tags using nested proto structure.
Parameters | |
---|---|
Name | Description |
request | ImportTaxonomiesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ImportTaxonomiesResponse> | The response to send back to the client (wrapped by a task). |