com.google.api.services.dlp.v2beta1.model.GooglePrivacyDlpV2beta1InspectConfig Maven / Gradle / Ivy
/*
* Copyright 2010 Google Inc.
*
* 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/google/apis-client-generator/
* (build: 2017-11-07 19:12:12 UTC)
* on 2018-01-18 at 22:50:57 UTC
* Modify at your own risk.
*/
package com.google.api.services.dlp.v2beta1.model;
/**
* Configuration description of the scanning process. When used with redactContent only info_types
* and min_likelihood are currently used.
*
* 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 DLP API. 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 GooglePrivacyDlpV2beta1InspectConfig extends com.google.api.client.json.GenericJson {
/**
* Custom info types provided by the user.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List customInfoTypes;
/**
* When true, excludes type information of the findings.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean excludeTypes;
/**
* When true, a contextual quote from the data that triggered a finding is included in the
* response; see Finding.quote.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean includeQuote;
/**
* Configuration of findings limit given for specified info types.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List infoTypeLimits;
/**
* Restricts what info_types to look for. The values must correspond to InfoType values returned
* by ListInfoTypes or found in documentation. Empty info_types runs all enabled detectors.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List infoTypes;
/**
* Limits the number of findings per content item or long running operation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer maxFindings;
/**
* Only returns findings equal or above this threshold.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String minLikelihood;
/**
* Custom info types provided by the user.
* @return value or {@code null} for none
*/
public java.util.List getCustomInfoTypes() {
return customInfoTypes;
}
/**
* Custom info types provided by the user.
* @param customInfoTypes customInfoTypes or {@code null} for none
*/
public GooglePrivacyDlpV2beta1InspectConfig setCustomInfoTypes(java.util.List customInfoTypes) {
this.customInfoTypes = customInfoTypes;
return this;
}
/**
* When true, excludes type information of the findings.
* @return value or {@code null} for none
*/
public java.lang.Boolean getExcludeTypes() {
return excludeTypes;
}
/**
* When true, excludes type information of the findings.
* @param excludeTypes excludeTypes or {@code null} for none
*/
public GooglePrivacyDlpV2beta1InspectConfig setExcludeTypes(java.lang.Boolean excludeTypes) {
this.excludeTypes = excludeTypes;
return this;
}
/**
* When true, a contextual quote from the data that triggered a finding is included in the
* response; see Finding.quote.
* @return value or {@code null} for none
*/
public java.lang.Boolean getIncludeQuote() {
return includeQuote;
}
/**
* When true, a contextual quote from the data that triggered a finding is included in the
* response; see Finding.quote.
* @param includeQuote includeQuote or {@code null} for none
*/
public GooglePrivacyDlpV2beta1InspectConfig setIncludeQuote(java.lang.Boolean includeQuote) {
this.includeQuote = includeQuote;
return this;
}
/**
* Configuration of findings limit given for specified info types.
* @return value or {@code null} for none
*/
public java.util.List getInfoTypeLimits() {
return infoTypeLimits;
}
/**
* Configuration of findings limit given for specified info types.
* @param infoTypeLimits infoTypeLimits or {@code null} for none
*/
public GooglePrivacyDlpV2beta1InspectConfig setInfoTypeLimits(java.util.List infoTypeLimits) {
this.infoTypeLimits = infoTypeLimits;
return this;
}
/**
* Restricts what info_types to look for. The values must correspond to InfoType values returned
* by ListInfoTypes or found in documentation. Empty info_types runs all enabled detectors.
* @return value or {@code null} for none
*/
public java.util.List getInfoTypes() {
return infoTypes;
}
/**
* Restricts what info_types to look for. The values must correspond to InfoType values returned
* by ListInfoTypes or found in documentation. Empty info_types runs all enabled detectors.
* @param infoTypes infoTypes or {@code null} for none
*/
public GooglePrivacyDlpV2beta1InspectConfig setInfoTypes(java.util.List infoTypes) {
this.infoTypes = infoTypes;
return this;
}
/**
* Limits the number of findings per content item or long running operation.
* @return value or {@code null} for none
*/
public java.lang.Integer getMaxFindings() {
return maxFindings;
}
/**
* Limits the number of findings per content item or long running operation.
* @param maxFindings maxFindings or {@code null} for none
*/
public GooglePrivacyDlpV2beta1InspectConfig setMaxFindings(java.lang.Integer maxFindings) {
this.maxFindings = maxFindings;
return this;
}
/**
* Only returns findings equal or above this threshold.
* @return value or {@code null} for none
*/
public java.lang.String getMinLikelihood() {
return minLikelihood;
}
/**
* Only returns findings equal or above this threshold.
* @param minLikelihood minLikelihood or {@code null} for none
*/
public GooglePrivacyDlpV2beta1InspectConfig setMinLikelihood(java.lang.String minLikelihood) {
this.minLikelihood = minLikelihood;
return this;
}
@Override
public GooglePrivacyDlpV2beta1InspectConfig set(String fieldName, Object value) {
return (GooglePrivacyDlpV2beta1InspectConfig) super.set(fieldName, value);
}
@Override
public GooglePrivacyDlpV2beta1InspectConfig clone() {
return (GooglePrivacyDlpV2beta1InspectConfig) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy