public sealed class TagHold : IMessage<TagHold>, IEquatable<TagHold>, IDeepCloneable<TagHold>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Resource Manager v3 API class TagHold.
A TagHold represents the use of a TagValue that is not captured by
TagBindings. If a TagValue has any TagHolds, deletion will be blocked.
This resource is intended to be created in the same cloud location as the
holder.
Optional. A URL where an end user can learn more about removing this hold.
E.g.
https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
Required. The name of the resource where the TagValue is being used. Must
be less than 200 characters. E.g.
//compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group
Output only. The resource name of a TagHold. This is a String of the form:
tagValues/{tag-value-id}/tagHolds/{tag-hold-id}
(e.g. tagValues/123/tagHolds/456). This resource name is generated by
the server.
Optional. An optional string representing the origin of this request. This
field should include human-understandable information to distinguish
origins from each other. Must be less than 200 characters. E.g.
migs-35678234
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eTagHold\u003c/code\u003e class in the Google Cloud Resource Manager v3 API represents a use of a \u003ccode\u003eTagValue\u003c/code\u003e that is not covered by \u003ccode\u003eTagBindings\u003c/code\u003e, preventing the deletion of said \u003ccode\u003eTagValue\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eTagHold\u003c/code\u003e class is 2.5.0, with several previous versions also documented, ranging down to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTagHold\u003c/code\u003e objects can be created and viewed through their resource name, which is server-generated and follows the format \u003ccode\u003etagValues/{tag-value-id}/tagHolds/{tag-hold-id}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTagHold\u003c/code\u003e class includes properties such as \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eHelpLink\u003c/code\u003e, \u003ccode\u003eHolder\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eOrigin\u003c/code\u003e, and \u003ccode\u003eTagHoldName\u003c/code\u003e, providing details about when and where the \u003ccode\u003eTagValue\u003c/code\u003e is being held, as well as any additional information.\u003c/p\u003e\n"],["\u003cp\u003eInstances of the TagHold class implement multiple interfaces, including IMessage, IEquatable, and IDeepCloneable, enabling functionality for message handling, equality checks, and deep cloning.\u003c/p\u003e\n"]]],[],null,[]]