Interface DataProfileAction.TagResourcesOrBuilder (3.58.0)

public static interface DataProfileAction.TagResourcesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLowerDataRiskToLow()

public abstract boolean getLowerDataRiskToLow()

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.

bool lower_data_risk_to_low = 3;

Returns
Type Description
boolean

The lowerDataRiskToLow.

getProfileGenerationsToTag(int index)

public abstract ProfileGeneration getProfileGenerationsToTag(int index)

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.

repeated .google.privacy.dlp.v2.ProfileGeneration profile_generations_to_tag = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
ProfileGeneration

The profileGenerationsToTag at the given index.

getProfileGenerationsToTagCount()

public abstract int getProfileGenerationsToTagCount()

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.

repeated .google.privacy.dlp.v2.ProfileGeneration profile_generations_to_tag = 2;

Returns
Type Description
int

The count of profileGenerationsToTag.

getProfileGenerationsToTagList()

public abstract List<ProfileGeneration> getProfileGenerationsToTagList()

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.

repeated .google.privacy.dlp.v2.ProfileGeneration profile_generations_to_tag = 2;

Returns
Type Description
List<ProfileGeneration>

A list containing the profileGenerationsToTag.

getProfileGenerationsToTagValue(int index)

public abstract int getProfileGenerationsToTagValue(int index)

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.

repeated .google.privacy.dlp.v2.ProfileGeneration profile_generations_to_tag = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of profileGenerationsToTag at the given index.

getProfileGenerationsToTagValueList()

public abstract List<Integer> getProfileGenerationsToTagValueList()

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.

repeated .google.privacy.dlp.v2.ProfileGeneration profile_generations_to_tag = 2;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for profileGenerationsToTag.

getTagConditions(int index)

public abstract DataProfileAction.TagResources.TagCondition getTagConditions(int index)

The tags to associate with different conditions.

repeated .google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition tag_conditions = 1;

Parameter
Name Description
index int
Returns
Type Description
DataProfileAction.TagResources.TagCondition

getTagConditionsCount()

public abstract int getTagConditionsCount()

The tags to associate with different conditions.

repeated .google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition tag_conditions = 1;

Returns
Type Description
int

getTagConditionsList()

public abstract List<DataProfileAction.TagResources.TagCondition> getTagConditionsList()

The tags to associate with different conditions.

repeated .google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition tag_conditions = 1;

Returns
Type Description
List<TagCondition>

getTagConditionsOrBuilder(int index)

public abstract DataProfileAction.TagResources.TagConditionOrBuilder getTagConditionsOrBuilder(int index)

The tags to associate with different conditions.

repeated .google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition tag_conditions = 1;

Parameter
Name Description
index int
Returns
Type Description
DataProfileAction.TagResources.TagConditionOrBuilder

getTagConditionsOrBuilderList()

public abstract List<? extends DataProfileAction.TagResources.TagConditionOrBuilder> getTagConditionsOrBuilderList()

The tags to associate with different conditions.

repeated .google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition tag_conditions = 1;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.DataProfileAction.TagResources.TagConditionOrBuilder>