public sealed class PolicyTagManagerSerializationClientImpl : PolicyTagManagerSerializationClient
PolicyTagManagerSerialization client wrapper implementation, for convenient use.
Namespace
Google.Cloud.DataCatalog.V1Assembly
Google.Cloud.DataCatalog.V1.dll
Remarks
Policy Tag Manager serialization API service allows clients to manipulate their policy tags and taxonomies in serialized format, where taxonomy is a hierarchical group of policy tags.
Constructors
PolicyTagManagerSerializationClientImpl(PolicyTagManagerSerialization.PolicyTagManagerSerializationClient, PolicyTagManagerSerializationSettings)
public PolicyTagManagerSerializationClientImpl(PolicyTagManagerSerialization.PolicyTagManagerSerializationClient grpcClient, PolicyTagManagerSerializationSettings settings)
Constructs a client wrapper for the PolicyTagManagerSerialization service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | PolicyTagManagerSerialization.PolicyTagManagerSerializationClient The underlying gRPC client. |
settings | PolicyTagManagerSerializationSettings The base PolicyTagManagerSerializationSettings used within this client. |
Properties
GrpcClient
public override PolicyTagManagerSerialization.PolicyTagManagerSerializationClient GrpcClient { get; }
The underlying gRPC PolicyTagManagerSerialization client
Property Value | |
---|---|
Type | Description |
PolicyTagManagerSerialization.PolicyTagManagerSerializationClient |
Methods
ExportTaxonomies(ExportTaxonomiesRequest, CallSettings)
public override ExportTaxonomiesResponse ExportTaxonomies(ExportTaxonomiesRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ExportTaxonomiesResponse | The RPC response. |
ExportTaxonomiesAsync(ExportTaxonomiesRequest, CallSettings)
public override Task<ExportTaxonomiesResponse> ExportTaxonomiesAsync(ExportTaxonomiesRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<ExportTaxonomiesResponse> | A Task containing the RPC response. |
ImportTaxonomies(ImportTaxonomiesRequest, CallSettings)
public override ImportTaxonomiesResponse ImportTaxonomies(ImportTaxonomiesRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ImportTaxonomiesResponse | The RPC response. |
ImportTaxonomiesAsync(ImportTaxonomiesRequest, CallSettings)
public override Task<ImportTaxonomiesResponse> ImportTaxonomiesAsync(ImportTaxonomiesRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<ImportTaxonomiesResponse> | A Task containing the RPC response. |