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 Details

    • getTagConditionsList

       The tags to associate with different conditions.
       
      repeated .google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition tag_conditions = 1;
    • getTagConditions

      DataProfileAction.TagResources.TagCondition getTagConditions(int index)
       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

      DataProfileAction.TagResources.TagConditionOrBuilder getTagConditionsOrBuilder(int index)
       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

      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;
      Parameters:
      index - The index of the element to return.
      Returns:
      The profileGenerationsToTag at the given index.
    • getProfileGenerationsToTagValueList

      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:
      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.