Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::DataProfileAction::TagResources::TagCondition.
The tag to attach to profiles matching the condition. At most one
TagCondition
can be specified per sensitivity level.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#sensitivity_score
def sensitivity_score() -> ::Google::Cloud::Dlp::V2::SensitivityScore
Returns
- (::Google::Cloud::Dlp::V2::SensitivityScore) — Conditions attaching the tag to a resource on its profile having this sensitivity score.
#sensitivity_score=
def sensitivity_score=(value) -> ::Google::Cloud::Dlp::V2::SensitivityScore
Parameter
- value (::Google::Cloud::Dlp::V2::SensitivityScore) — Conditions attaching the tag to a resource on its profile having this sensitivity score.
Returns
- (::Google::Cloud::Dlp::V2::SensitivityScore) — Conditions attaching the tag to a resource on its profile having this sensitivity score.
#tag
def tag() -> ::Google::Cloud::Dlp::V2::DataProfileAction::TagResources::TagValue
Returns
- (::Google::Cloud::Dlp::V2::DataProfileAction::TagResources::TagValue) — The tag value to attach to resources.
#tag=
def tag=(value) -> ::Google::Cloud::Dlp::V2::DataProfileAction::TagResources::TagValue
Parameter
- value (::Google::Cloud::Dlp::V2::DataProfileAction::TagResources::TagValue) — The tag value to attach to resources.
Returns
- (::Google::Cloud::Dlp::V2::DataProfileAction::TagResources::TagValue) — The tag value to attach to resources.