# Data Catalog v1 API - Class PolicyTagManagerSerialization.PolicyTagManagerSerializationClient (2.17.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.17.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [2.16.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.16.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [2.15.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.15.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [2.14.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.14.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [2.13.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.13.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [2.12.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.12.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [2.11.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.11.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [2.10.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.10.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [2.9.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.9.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [2.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.8.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.7.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.6.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.5.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.4.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.3.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.2.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.1.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.0.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [1.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.8.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [1.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.7.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [1.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.6.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [1.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.5.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.4.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.3.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.2.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient)

    public class PolicyTagManagerSerialization.PolicyTagManagerSerializationClient : ClientBase<PolicyTagManagerSerialization.PolicyTagManagerSerializationClient>

Reference documentation and code samples for the Data Catalog v1 API class PolicyTagManagerSerialization.PolicyTagManagerSerializationClient.

Client for PolicyTagManagerSerialization

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ClientBase](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.html) \> [ClientBase](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.html)[PolicyTagManagerSerialization](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization)[PolicyTagManagerSerializationClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient) \> PolicyTagManagerSerialization.PolicyTagManagerSerializationClient

## Inherited Members

[ClientBase\<PolicyTagManagerSerialization.PolicyTagManagerSerializationClient\>.WithHost(string)](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.html#Grpc_Core_ClientBase_1_WithHost_System_String_) [ClientBase.CallInvoker](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.html#Grpc_Core_ClientBase_CallInvoker) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DataCatalog.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1)

## Assembly

Google.Cloud.DataCatalog.V1.dll

## Constructors

### PolicyTagManagerSerializationClient()

    protected PolicyTagManagerSerializationClient()

Protected parameterless constructor to allow creation of test doubles.

### PolicyTagManagerSerializationClient(CallInvoker)

    public PolicyTagManagerSerializationClient(CallInvoker callInvoker)

Creates a new client for PolicyTagManagerSerialization that uses a custom `CallInvoker`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `callInvoker` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.CallInvoker.html` The callInvoker to use to make remote calls. |

### PolicyTagManagerSerializationClient(ChannelBase)

    public PolicyTagManagerSerializationClient(ChannelBase channel)

Creates a new client for PolicyTagManagerSerialization

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `channel` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ChannelBase.html` The channel to use to make remote calls. |

### PolicyTagManagerSerializationClient(ClientBaseConfiguration)

    protected PolicyTagManagerSerializationClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.htmlhttps://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.ClientBaseConfiguration.html` The client configuration. |

## Methods

### CreateIAMPolicyClient()

    public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of [IAMPolicy.IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicy.IAMPolicyClient.html) using the same call invoker as
this client.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicy.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicy.IAMPolicyClient.html` | A new [IAMPolicy.IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicy.IAMPolicyClient.html) for the same target as this client. |

### ExportTaxonomies(ExportTaxonomiesRequest, CallOptions)

    public virtual ExportTaxonomiesResponse ExportTaxonomies(ExportTaxonomiesRequest request, CallOptions options)

Exports taxonomies in the requested type and returns them,
including their policy tags. The requested taxonomies must belong to the
same project.

This method generates `SerializedTaxonomy` protocol buffers with nested
policy tags that can be used as input for `ImportTaxonomies` calls.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ExportTaxonomiesRequest` The request to send to the server. |
| `options` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.CallOptions.html` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ExportTaxonomiesResponse` | The response received from the server. |

### ExportTaxonomies(ExportTaxonomiesRequest, Metadata, DateTime?, CancellationToken)

    public virtual ExportTaxonomiesResponse ExportTaxonomies(ExportTaxonomiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Exports taxonomies in the requested type and returns them,
including their policy tags. The requested taxonomies must belong to the
same project.

This method generates `SerializedTaxonomy` protocol buffers with nested
policy tags that can be used as input for `ImportTaxonomies` calls.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ExportTaxonomiesRequest` The request to send to the server. |
| `headers` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.Metadata.html` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ExportTaxonomiesResponse` | The response received from the server. |

### ExportTaxonomiesAsync(ExportTaxonomiesRequest, CallOptions)

    public virtual AsyncUnaryCall<ExportTaxonomiesResponse> ExportTaxonomiesAsync(ExportTaxonomiesRequest request, CallOptions options)

Exports taxonomies in the requested type and returns them,
including their policy tags. The requested taxonomies must belong to the
same project.

This method generates `SerializedTaxonomy` protocol buffers with nested
policy tags that can be used as input for `ImportTaxonomies` calls.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ExportTaxonomiesRequest` The request to send to the server. |
| `options` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.CallOptions.html` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.AsyncUnaryCall-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ExportTaxonomiesResponse` | The call object. |

### ExportTaxonomiesAsync(ExportTaxonomiesRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ExportTaxonomiesResponse> ExportTaxonomiesAsync(ExportTaxonomiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Exports taxonomies in the requested type and returns them,
including their policy tags. The requested taxonomies must belong to the
same project.

This method generates `SerializedTaxonomy` protocol buffers with nested
policy tags that can be used as input for `ImportTaxonomies` calls.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ExportTaxonomiesRequest` The request to send to the server. |
| `headers` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.Metadata.html` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.AsyncUnaryCall-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ExportTaxonomiesResponse` | The call object. |

### ImportTaxonomies(ImportTaxonomiesRequest, CallOptions)

    public virtual ImportTaxonomiesResponse ImportTaxonomies(ImportTaxonomiesRequest request, CallOptions options)

Creates new taxonomies (including their policy tags) in a given project
by importing from inlined or cross-regional sources.

For a cross-regional source, new taxonomies are created by copying
from a source in another region.

For an inlined source, taxonomies and policy tags are created in bulk using
nested protocol buffer structures.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ImportTaxonomiesRequest` The request to send to the server. |
| `options` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.CallOptions.html` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ImportTaxonomiesResponse` | The response received from the server. |

### ImportTaxonomies(ImportTaxonomiesRequest, Metadata, DateTime?, CancellationToken)

    public virtual ImportTaxonomiesResponse ImportTaxonomies(ImportTaxonomiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates new taxonomies (including their policy tags) in a given project
by importing from inlined or cross-regional sources.

For a cross-regional source, new taxonomies are created by copying
from a source in another region.

For an inlined source, taxonomies and policy tags are created in bulk using
nested protocol buffer structures.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ImportTaxonomiesRequest` The request to send to the server. |
| `headers` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.Metadata.html` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ImportTaxonomiesResponse` | The response received from the server. |

### ImportTaxonomiesAsync(ImportTaxonomiesRequest, CallOptions)

    public virtual AsyncUnaryCall<ImportTaxonomiesResponse> ImportTaxonomiesAsync(ImportTaxonomiesRequest request, CallOptions options)

Creates new taxonomies (including their policy tags) in a given project
by importing from inlined or cross-regional sources.

For a cross-regional source, new taxonomies are created by copying
from a source in another region.

For an inlined source, taxonomies and policy tags are created in bulk using
nested protocol buffer structures.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ImportTaxonomiesRequest` The request to send to the server. |
| `options` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.CallOptions.html` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.AsyncUnaryCall-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ImportTaxonomiesResponse` | The call object. |

### ImportTaxonomiesAsync(ImportTaxonomiesRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ImportTaxonomiesResponse> ImportTaxonomiesAsync(ImportTaxonomiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates new taxonomies (including their policy tags) in a given project
by importing from inlined or cross-regional sources.

For a cross-regional source, new taxonomies are created by copying
from a source in another region.

For an inlined source, taxonomies and policy tags are created in bulk using
nested protocol buffer structures.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ImportTaxonomiesRequest` The request to send to the server. |
| `headers` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.Metadata.html` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.AsyncUnaryCall-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ImportTaxonomiesResponse` | The call object. |

### NewInstance(ClientBaseConfiguration)

    protected override PolicyTagManagerSerialization.PolicyTagManagerSerializationClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given `ClientBaseConfiguration`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.htmlhttps://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.ClientBaseConfiguration.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerializationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient` |   |

**Overrides** Grpc.Core.ClientBase\<Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationClient\>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

### ReplaceTaxonomy(ReplaceTaxonomyRequest, CallOptions)

    public virtual Taxonomy ReplaceTaxonomy(ReplaceTaxonomyRequest request, CallOptions options)

Replaces (updates) a taxonomy and all its policy tags.

The taxonomy and its entire hierarchy of policy tags must be
represented literally by `SerializedTaxonomy` and the nested
`SerializedPolicyTag` messages.

This operation automatically does the following:

- Deletes the existing policy tags that are missing from the `SerializedPolicyTag`.
- Creates policy tags that don't have resource names. They are considered new.
- Updates policy tags with valid resources names accordingly.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ReplaceTaxonomyRequest` The request to send to the server. |
| `options` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.CallOptions.html` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.Taxonomy` | The response received from the server. |

### ReplaceTaxonomy(ReplaceTaxonomyRequest, Metadata, DateTime?, CancellationToken)

    public virtual Taxonomy ReplaceTaxonomy(ReplaceTaxonomyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Replaces (updates) a taxonomy and all its policy tags.

The taxonomy and its entire hierarchy of policy tags must be
represented literally by `SerializedTaxonomy` and the nested
`SerializedPolicyTag` messages.

This operation automatically does the following:

- Deletes the existing policy tags that are missing from the `SerializedPolicyTag`.
- Creates policy tags that don't have resource names. They are considered new.
- Updates policy tags with valid resources names accordingly.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ReplaceTaxonomyRequest` The request to send to the server. |
| `headers` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.Metadata.html` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.Taxonomy` | The response received from the server. |

### ReplaceTaxonomyAsync(ReplaceTaxonomyRequest, CallOptions)

    public virtual AsyncUnaryCall<Taxonomy> ReplaceTaxonomyAsync(ReplaceTaxonomyRequest request, CallOptions options)

Replaces (updates) a taxonomy and all its policy tags.

The taxonomy and its entire hierarchy of policy tags must be
represented literally by `SerializedTaxonomy` and the nested
`SerializedPolicyTag` messages.

This operation automatically does the following:

- Deletes the existing policy tags that are missing from the `SerializedPolicyTag`.
- Creates policy tags that don't have resource names. They are considered new.
- Updates policy tags with valid resources names accordingly.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ReplaceTaxonomyRequest` The request to send to the server. |
| `options` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.CallOptions.html` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.AsyncUnaryCall-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.Taxonomy` | The call object. |

### ReplaceTaxonomyAsync(ReplaceTaxonomyRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Taxonomy> ReplaceTaxonomyAsync(ReplaceTaxonomyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Replaces (updates) a taxonomy and all its policy tags.

The taxonomy and its entire hierarchy of policy tags must be
represented literally by `SerializedTaxonomy` and the nested
`SerializedPolicyTag` messages.

This operation automatically does the following:

- Deletes the existing policy tags that are missing from the `SerializedPolicyTag`.
- Creates policy tags that don't have resource names. They are considered new.
- Updates policy tags with valid resources names accordingly.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ReplaceTaxonomyRequest` The request to send to the server. |
| `headers` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.Metadata.html` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.AsyncUnaryCall-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.Taxonomy` | The call object. |