public static final class DataProfileAction.TagResources extends GeneratedMessageV3 implements DataProfileAction.TagResourcesOrBuilder
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.
Protobuf type google.privacy.dlp.v2.DataProfileAction.TagResources
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
LOWER_DATA_RISK_TO_LOW_FIELD_NUMBER
public static final int LOWER_DATA_RISK_TO_LOW_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PROFILE_GENERATIONS_TO_TAG_FIELD_NUMBER
public static final int PROFILE_GENERATIONS_TO_TAG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TAG_CONDITIONS_FIELD_NUMBER
public static final int TAG_CONDITIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DataProfileAction.TagResources getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DataProfileAction.TagResources.Builder newBuilder()
newBuilder(DataProfileAction.TagResources prototype)
public static DataProfileAction.TagResources.Builder newBuilder(DataProfileAction.TagResources prototype)
public static DataProfileAction.TagResources parseDelimitedFrom(InputStream input)
public static DataProfileAction.TagResources parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DataProfileAction.TagResources parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataProfileAction.TagResources parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DataProfileAction.TagResources parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataProfileAction.TagResources parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataProfileAction.TagResources parseFrom(CodedInputStream input)
public static DataProfileAction.TagResources parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataProfileAction.TagResources parseFrom(InputStream input)
public static DataProfileAction.TagResources parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DataProfileAction.TagResources parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataProfileAction.TagResources parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DataProfileAction.TagResources> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public DataProfileAction.TagResources getDefaultInstanceForType()
getLowerDataRiskToLow()
public 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.
|
getParserForType()
public Parser<DataProfileAction.TagResources> getParserForType()
Overrides
getProfileGenerationsToTag(int index)
public 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 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 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;
getProfileGenerationsToTagValue(int index)
public 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 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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTagConditions(int index)
public 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
|
getTagConditionsCount()
public 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 List<DataProfileAction.TagResources.TagCondition> getTagConditionsList()
The tags to associate with different conditions.
repeated .google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition tag_conditions = 1;
getTagConditionsOrBuilder(int index)
public 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
|
getTagConditionsOrBuilderList()
public 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> |
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DataProfileAction.TagResources.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataProfileAction.TagResources.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DataProfileAction.TagResources.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides