Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::ProjectDataProfile.
An aggregated profile for this project, based on the resources profiled within it.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#data_risk_level
def data_risk_level() -> ::Google::Cloud::Dlp::V2::DataRiskLevel
Returns
- (::Google::Cloud::Dlp::V2::DataRiskLevel) — The data risk level of this project.
#data_risk_level=
def data_risk_level=(value) -> ::Google::Cloud::Dlp::V2::DataRiskLevel
Parameter
- value (::Google::Cloud::Dlp::V2::DataRiskLevel) — The data risk level of this project.
Returns
- (::Google::Cloud::Dlp::V2::DataRiskLevel) — The data risk level of this project.
#name
def name() -> ::String
Returns
- (::String) — The resource name of the profile.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The resource name of the profile.
Returns
- (::String) — The resource name of the profile.
#profile_last_generated
def profile_last_generated() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The last time the profile was generated.
#profile_last_generated=
def profile_last_generated=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The last time the profile was generated.
Returns
- (::Google::Protobuf::Timestamp) — The last time the profile was generated.
#profile_status
def profile_status() -> ::Google::Cloud::Dlp::V2::ProfileStatus
Returns
- (::Google::Cloud::Dlp::V2::ProfileStatus) — Success or error status of the last attempt to profile the project.
#profile_status=
def profile_status=(value) -> ::Google::Cloud::Dlp::V2::ProfileStatus
Parameter
- value (::Google::Cloud::Dlp::V2::ProfileStatus) — Success or error status of the last attempt to profile the project.
Returns
- (::Google::Cloud::Dlp::V2::ProfileStatus) — Success or error status of the last attempt to profile the project.
#project_id
def project_id() -> ::String
Returns
- (::String) — Project ID that was profiled.
#project_id=
def project_id=(value) -> ::String
Parameter
- value (::String) — Project ID that was profiled.
Returns
- (::String) — Project ID that was profiled.
#sensitivity_score
def sensitivity_score() -> ::Google::Cloud::Dlp::V2::SensitivityScore
Returns
- (::Google::Cloud::Dlp::V2::SensitivityScore) — The sensitivity score of this project.
#sensitivity_score=
def sensitivity_score=(value) -> ::Google::Cloud::Dlp::V2::SensitivityScore
Parameter
- value (::Google::Cloud::Dlp::V2::SensitivityScore) — The sensitivity score of this project.
Returns
- (::Google::Cloud::Dlp::V2::SensitivityScore) — The sensitivity score of this project.