Reference documentation and code samples for the Google Cloud Asset V1 Client class EffectiveTagDetails.
The effective tags and the ancestor resources from which they were inherited.
Generated from protobuf message google.cloud.asset.v1.EffectiveTagDetails
Namespace
Google \ Cloud \ Asset \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ attached_resource
string
The full resource name of the ancestor from which an effective_tag is inherited, according to tag inheritance .
↳ effective_tags
array< Tag
>
The effective tags inherited from the attached_resource . Note that tags with the same key but different values may attach to resources at a different hierarchy levels. The lower hierarchy tag value will overwrite the higher hierarchy tag value of the same tag key. In this case, the tag value at the higher hierarchy level will be removed. For more information, see tag inheritance .
getAttachedResource
The full resource name of the ancestor from which an effective_tag is inherited, according to tag inheritance .
string
hasAttachedResource
clearAttachedResource
setAttachedResource
The full resource name of the ancestor from which an effective_tag is inherited, according to tag inheritance .
var
string
$this
getEffectiveTags
The effective tags inherited from the attached_resource .
Note that tags with the same key but different values may attach to resources at a different hierarchy levels. The lower hierarchy tag value will overwrite the higher hierarchy tag value of the same tag key. In this case, the tag value at the higher hierarchy level will be removed. For more information, see tag inheritance .
setEffectiveTags
The effective tags inherited from the attached_resource .
Note that tags with the same key but different values may attach to resources at a different hierarchy levels. The lower hierarchy tag value will overwrite the higher hierarchy tag value of the same tag key. In this case, the tag value at the higher hierarchy level will be removed. For more information, see tag inheritance .
$this