Reference documentation and code samples for the Data Loss Prevention V2 Client class TagValue.
A value of a tag.
Generated from protobuf message google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue
Namespace
Google \ Cloud \ Dlp \ V2 \ DataProfileAction \ TagResourcesMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ namespaced_value |
string
The namespaced name for the tag value to attach to resources. Must be in the format |
getNamespacedValue
The namespaced name for the tag value to attach to resources. Must be
in the format {parent_id}/{tag_key_short_name}/{short_name}
, for
example, "123456/environment/prod".
Returns | |
---|---|
Type | Description |
string |
hasNamespacedValue
setNamespacedValue
The namespaced name for the tag value to attach to resources. Must be
in the format {parent_id}/{tag_key_short_name}/{short_name}
, for
example, "123456/environment/prod".
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getFormat
Returns | |
---|---|
Type | Description |
string |