Google Cloud Data Loss Prevention v2 API - Class DataProfileAction.Types.TagResources (4.14.0)

public sealed class DataProfileAction.Types.TagResources : IMessage<DataProfileAction.Types.TagResources>, IEquatable<DataProfileAction.Types.TagResources>, IDeepCloneable<DataProfileAction.Types.TagResources>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class DataProfileAction.Types.TagResources.

If set, attaches the tags provided to profiled resources. Tags support access control. You can conditionally grant or deny access to a resource based on whether the resource has a specific tag.

Inheritance

object > DataProfileAction.Types.TagResources

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

TagResources()

public TagResources()

TagResources(TagResources)

public TagResources(DataProfileAction.Types.TagResources other)
Parameter
Name Description
other DataProfileActionTypesTagResources

Properties

LowerDataRiskToLow

public bool LowerDataRiskToLow { get; set; }

Whether applying a tag to a resource should lower the risk of the profile for that resource. For example, in conjunction with an IAM deny policy, you can deny all principals a permission if a tag value is present, mitigating the risk of the resource. This also lowers the data risk of resources at the lower levels of the resource hierarchy. For example, reducing the data risk of a table data profile also reduces the data risk of the constituent column data profiles.

Property Value
Type Description
bool

ProfileGenerationsToTag

public RepeatedField<ProfileGeneration> ProfileGenerationsToTag { get; }

The profile generations for which the tag should be attached to resources. If you attach a tag to only new profiles, then if the sensitivity score of a profile subsequently changes, its tag doesn't change. By default, this field includes only new profiles. To include both new and updated profiles for tagging, this field should explicitly include both PROFILE_GENERATION_NEW and PROFILE_GENERATION_UPDATE.

Property Value
Type Description
RepeatedFieldProfileGeneration

TagConditions

public RepeatedField<DataProfileAction.Types.TagResources.Types.TagCondition> TagConditions { get; }

The tags to associate with different conditions.

Property Value
Type Description
RepeatedFieldDataProfileActionTypesTagResourcesTypesTagCondition