com.google.api.services.dlp.v2.model.GooglePrivacyDlpV2ProjectDataProfile Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.dlp.v2.model;
/**
* An aggregated profile for this project, based on the resources profiled within it.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Sensitive Data Protection (DLP). For a detailed
* explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GooglePrivacyDlpV2ProjectDataProfile extends com.google.api.client.json.GenericJson {
/**
* The data risk level of this project.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GooglePrivacyDlpV2DataRiskLevel dataRiskLevel;
/**
* The resource name of the profile.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
* The last time the profile was generated.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String profileLastGenerated;
/**
* Success or error status of the last attempt to profile the project.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GooglePrivacyDlpV2ProfileStatus profileStatus;
/**
* Project ID that was profiled.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String projectId;
/**
* The sensitivity score of this project.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GooglePrivacyDlpV2SensitivityScore sensitivityScore;
/**
* The data risk level of this project.
* @return value or {@code null} for none
*/
public GooglePrivacyDlpV2DataRiskLevel getDataRiskLevel() {
return dataRiskLevel;
}
/**
* The data risk level of this project.
* @param dataRiskLevel dataRiskLevel or {@code null} for none
*/
public GooglePrivacyDlpV2ProjectDataProfile setDataRiskLevel(GooglePrivacyDlpV2DataRiskLevel dataRiskLevel) {
this.dataRiskLevel = dataRiskLevel;
return this;
}
/**
* The resource name of the profile.
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}
/**
* The resource name of the profile.
* @param name name or {@code null} for none
*/
public GooglePrivacyDlpV2ProjectDataProfile setName(java.lang.String name) {
this.name = name;
return this;
}
/**
* The last time the profile was generated.
* @return value or {@code null} for none
*/
public String getProfileLastGenerated() {
return profileLastGenerated;
}
/**
* The last time the profile was generated.
* @param profileLastGenerated profileLastGenerated or {@code null} for none
*/
public GooglePrivacyDlpV2ProjectDataProfile setProfileLastGenerated(String profileLastGenerated) {
this.profileLastGenerated = profileLastGenerated;
return this;
}
/**
* Success or error status of the last attempt to profile the project.
* @return value or {@code null} for none
*/
public GooglePrivacyDlpV2ProfileStatus getProfileStatus() {
return profileStatus;
}
/**
* Success or error status of the last attempt to profile the project.
* @param profileStatus profileStatus or {@code null} for none
*/
public GooglePrivacyDlpV2ProjectDataProfile setProfileStatus(GooglePrivacyDlpV2ProfileStatus profileStatus) {
this.profileStatus = profileStatus;
return this;
}
/**
* Project ID that was profiled.
* @return value or {@code null} for none
*/
public java.lang.String getProjectId() {
return projectId;
}
/**
* Project ID that was profiled.
* @param projectId projectId or {@code null} for none
*/
public GooglePrivacyDlpV2ProjectDataProfile setProjectId(java.lang.String projectId) {
this.projectId = projectId;
return this;
}
/**
* The sensitivity score of this project.
* @return value or {@code null} for none
*/
public GooglePrivacyDlpV2SensitivityScore getSensitivityScore() {
return sensitivityScore;
}
/**
* The sensitivity score of this project.
* @param sensitivityScore sensitivityScore or {@code null} for none
*/
public GooglePrivacyDlpV2ProjectDataProfile setSensitivityScore(GooglePrivacyDlpV2SensitivityScore sensitivityScore) {
this.sensitivityScore = sensitivityScore;
return this;
}
@Override
public GooglePrivacyDlpV2ProjectDataProfile set(String fieldName, Object value) {
return (GooglePrivacyDlpV2ProjectDataProfile) super.set(fieldName, value);
}
@Override
public GooglePrivacyDlpV2ProjectDataProfile clone() {
return (GooglePrivacyDlpV2ProjectDataProfile) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy