2.6.0 (latest) 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0

    public static class TagHolds

Reference documentation and code samples for the Cloud Resource Manager v3 API class TagHolds.

Allow users to create and manage TagHolds for TagValues. TagHolds represent
the use of a Tag Value that is not captured by TagBindings but
should still block TagValue deletion (such as a reference in a policy
condition). This service provides isolated failure domains by cloud location
so that TagHolds can be managed in the same location as their usage.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> TagHolds

## Inherited Members

[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.ResourceManager.V3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ResourceManager.V3/latest/Google.Cloud.ResourceManager.V3.md.txt)

## Assembly

Google.Cloud.ResourceManager.V3.dll

## Methods

### BindService(TagHoldsBase)

    public static ServerServiceDefinition BindService(TagHolds.TagHoldsBase serviceImpl)

Creates service definition that can be registered with a server

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `serviceImpl` | `TagHoldsTagHoldsBase` An object implementing the server-side handling logic. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ServerServiceDefinition` |   |

### BindService(ServiceBinderBase, TagHoldsBase)

    public static void BindService(ServiceBinderBase serviceBinder, TagHolds.TagHoldsBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `serviceBinder` | `ServiceBinderBase` Service methods will be bound by calling `AddMethod` on this object. |
| `serviceImpl` | `TagHoldsTagHoldsBase` An object implementing the server-side handling logic. |