Google Cloud Asset V1 Client - Class EffectiveTagDetails (2.2.3)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ attached_resource
string

The full resource name of the ancestor from which effective_tags are 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 effective_tags are inherited, according to tag inheritance .

Returns
Type
Description
string

hasAttachedResource

clearAttachedResource

setAttachedResource

The full resource name of the ancestor from which effective_tags are inherited, according to tag inheritance .

Parameter
Name
Description
var
string
Returns
Type
Description
$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 .

Returns
Type
Description

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 .

Parameter
Name
Description
var
array< Tag >
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: