Package com.google.privacy.dlp.v2
Interface DataProfileAction.TagResourcesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataProfileAction.TagResources,DataProfileAction.TagResources.Builder
- Enclosing class:
- DataProfileAction
public static interface DataProfileAction.TagResourcesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether applying a tag to a resource should lower the risk of the profile for that resource.getProfileGenerationsToTag(int index) The profile generations for which the tag should be attached to resources.intThe profile generations for which the tag should be attached to resources.The profile generations for which the tag should be attached to resources.intgetProfileGenerationsToTagValue(int index) The profile generations for which the tag should be attached to resources.The profile generations for which the tag should be attached to resources.getTagConditions(int index) The tags to associate with different conditions.intThe tags to associate with different conditions.The tags to associate with different conditions.getTagConditionsOrBuilder(int index) The tags to associate with different conditions.The tags to associate with different conditions.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTagConditionsList
List<DataProfileAction.TagResources.TagCondition> getTagConditionsList()The tags to associate with different conditions.
repeated .google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition tag_conditions = 1; -
getTagConditions
The tags to associate with different conditions.
repeated .google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition tag_conditions = 1; -
getTagConditionsCount
int getTagConditionsCount()The tags to associate with different conditions.
repeated .google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition tag_conditions = 1; -
getTagConditionsOrBuilderList
List<? extends DataProfileAction.TagResources.TagConditionOrBuilder> getTagConditionsOrBuilderList()The tags to associate with different conditions.
repeated .google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition tag_conditions = 1; -
getTagConditionsOrBuilder
The tags to associate with different conditions.
repeated .google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition tag_conditions = 1; -
getProfileGenerationsToTagList
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:
- A list containing the profileGenerationsToTag.
-
getProfileGenerationsToTagCount
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:
- The count of profileGenerationsToTag.
-
getProfileGenerationsToTag
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;- Parameters:
index- The index of the element to return.- Returns:
- The profileGenerationsToTag at the given index.
-
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:
- A list containing the enum numeric values on the wire for profileGenerationsToTag.
-
getProfileGenerationsToTagValue
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;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of profileGenerationsToTag at the given index.
-
getLowerDataRiskToLow
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](https://cloud.google.com/iam/docs/deny-overview), 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:
- The lowerDataRiskToLow.
-