Class PolicyTagManagerSerializationClientImpl (1.2.0)

public sealed class PolicyTagManagerSerializationClientImpl : PolicyTagManagerSerializationClient

PolicyTagManagerSerialization client wrapper implementation, for convenient use.

Inheritance

Object > PolicyTagManagerSerializationClient > PolicyTagManagerSerializationClientImpl

Namespace

Google.Cloud.DataCatalog.V1

Assembly

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
NameDescription
grpcClientPolicyTagManagerSerialization.PolicyTagManagerSerializationClient

The underlying gRPC client.

settingsPolicyTagManagerSerializationSettings

The base PolicyTagManagerSerializationSettings used within this client.

Properties

GrpcClient

public override PolicyTagManagerSerialization.PolicyTagManagerSerializationClient GrpcClient { get; }

The underlying gRPC PolicyTagManagerSerialization client

Property Value
TypeDescription
PolicyTagManagerSerialization.PolicyTagManagerSerializationClient
Overrides

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
NameDescription
requestExportTaxonomiesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ExportTaxonomiesResponse

The RPC response.

Overrides

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
NameDescription
requestExportTaxonomiesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ExportTaxonomiesResponse>

A Task containing the RPC response.

Overrides

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
NameDescription
requestImportTaxonomiesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ImportTaxonomiesResponse

The RPC response.

Overrides

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
NameDescription
requestImportTaxonomiesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ImportTaxonomiesResponse>

A Task containing the RPC response.

Overrides