Show / Hide Table of Contents

Class EffectiveTag

An EffectiveTag represents a tag that applies to a resource during policy evaluation. Tags can be either directly bound to a resource or inherited from its ancestor. EffectiveTag contains the name and namespaced_name of the tag value and tag key, with additional fields of inherited to indicate the inheritance status of the effective tag.

Inheritance
object
EffectiveTag
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudResourceManager.v3.Data
Assembly: Google.Apis.CloudResourceManager.v3.dll
Syntax
public class EffectiveTag : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Inherited

Indicates the inheritance status of a tag value attached to the given resource. If the tag value is inherited from one of the resource's ancestors, inherited will be true. If false, then the tag value is directly attached to the resource, inherited will be false.

Declaration
[JsonProperty("inherited")]
public virtual bool? Inherited { get; set; }
Property Value
Type Description
bool?

NamespacedTagKey

The namespaced name of the TagKey. Can be in the form {organization_id}/{tag_key_short_name} or {project_id}/{tag_key_short_name} or {project_number}/{tag_key_short_name}.

Declaration
[JsonProperty("namespacedTagKey")]
public virtual string NamespacedTagKey { get; set; }
Property Value
Type Description
string

NamespacedTagValue

The namespaced name of the TagValue. Can be in the form {organization_id}/{tag_key_short_name}/{tag_value_short_name} or {project_id}/{tag_key_short_name}/{tag_value_short_name} or {project_number}/{tag_key_short_name}/{tag_value_short_name}.

Declaration
[JsonProperty("namespacedTagValue")]
public virtual string NamespacedTagValue { get; set; }
Property Value
Type Description
string

TagKey

The name of the TagKey, in the format tagKeys/{id}, such as tagKeys/123.

Declaration
[JsonProperty("tagKey")]
public virtual string TagKey { get; set; }
Property Value
Type Description
string

TagKeyParentName

The parent name of the tag key. Must be in the format organizations/{organization_id} or projects/{project_number}

Declaration
[JsonProperty("tagKeyParentName")]
public virtual string TagKeyParentName { get; set; }
Property Value
Type Description
string

TagValue

Resource name for TagValue in the format tagValues/456.

Declaration
[JsonProperty("tagValue")]
public virtual string TagValue { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX