public sealed class TagHold : IMessage<TagHold>, IEquatable<TagHold>, IDeepCloneable<TagHold>, IBufferMessage, IMessageReference 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.
Namespace
Google.Cloud.ResourceManager.V3Assembly
Google.Cloud.ResourceManager.V3.dll
Constructors
TagHold()
public TagHold()TagHold(TagHold)
public TagHold(TagHold other)| Parameter | |
|---|---|
| Name | Description |
other |
TagHold |
Properties
CreateTime
public Timestamp CreateTime { get; set; }Output only. The time this TagHold was created.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
HelpLink
public string HelpLink { get; set; }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
| Property Value | |
|---|---|
| Type | Description |
string |
|
Holder
public string Holder { get; set; }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
| Property Value | |
|---|---|
| Type | Description |
string |
|
Name
public string Name { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Origin
public string Origin { get; set; }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
| Property Value | |
|---|---|
| Type | Description |
string |
|
TagHoldName
public TagHoldName TagHoldName { get; set; }TagHoldName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
TagHoldName |
|