public final class GooglePrivacyDlpV2CloudStorageOptions extends GenericJson
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 Cloud Data Loss Prevention (DLP) API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GooglePrivacyDlpV2CloudStorageOptions() |
| Modifier and Type | Method and Description |
|---|---|
GooglePrivacyDlpV2CloudStorageOptions |
clone() |
Long |
getBytesLimitPerFile()
Max number of bytes to scan from a file.
|
Integer |
getBytesLimitPerFilePercent()
Max percentage of bytes to scan from a file.
|
GooglePrivacyDlpV2FileSet |
getFileSet()
The set of one or more files to scan.
|
Integer |
getFilesLimitPercent()
Limits the number of files to scan to this percentage of the input FileSet.
|
List<String> |
getFileTypes()
List of file type groups to include in the scan.
|
String |
getSampleMethod() |
GooglePrivacyDlpV2CloudStorageOptions |
set(String fieldName,
Object value) |
GooglePrivacyDlpV2CloudStorageOptions |
setBytesLimitPerFile(Long bytesLimitPerFile)
Max number of bytes to scan from a file.
|
GooglePrivacyDlpV2CloudStorageOptions |
setBytesLimitPerFilePercent(Integer bytesLimitPerFilePercent)
Max percentage of bytes to scan from a file.
|
GooglePrivacyDlpV2CloudStorageOptions |
setFileSet(GooglePrivacyDlpV2FileSet fileSet)
The set of one or more files to scan.
|
GooglePrivacyDlpV2CloudStorageOptions |
setFilesLimitPercent(Integer filesLimitPercent)
Limits the number of files to scan to this percentage of the input FileSet.
|
GooglePrivacyDlpV2CloudStorageOptions |
setFileTypes(List<String> fileTypes)
List of file type groups to include in the scan.
|
GooglePrivacyDlpV2CloudStorageOptions |
setSampleMethod(String sampleMethod) |
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic GooglePrivacyDlpV2CloudStorageOptions()
public Long getBytesLimitPerFile()
null for nonepublic GooglePrivacyDlpV2CloudStorageOptions setBytesLimitPerFile(Long bytesLimitPerFile)
bytesLimitPerFile - bytesLimitPerFile or null for nonepublic Integer getBytesLimitPerFilePercent()
null for nonepublic GooglePrivacyDlpV2CloudStorageOptions setBytesLimitPerFilePercent(Integer bytesLimitPerFilePercent)
bytesLimitPerFilePercent - bytesLimitPerFilePercent or null for nonepublic GooglePrivacyDlpV2FileSet getFileSet()
null for nonepublic GooglePrivacyDlpV2CloudStorageOptions setFileSet(GooglePrivacyDlpV2FileSet fileSet)
fileSet - fileSet or null for nonepublic List<String> getFileTypes()
null for nonepublic GooglePrivacyDlpV2CloudStorageOptions setFileTypes(List<String> fileTypes)
fileTypes - fileTypes or null for nonepublic Integer getFilesLimitPercent()
null for nonepublic GooglePrivacyDlpV2CloudStorageOptions setFilesLimitPercent(Integer filesLimitPercent)
filesLimitPercent - filesLimitPercent or null for nonepublic String getSampleMethod()
null for nonepublic GooglePrivacyDlpV2CloudStorageOptions setSampleMethod(String sampleMethod)
sampleMethod - sampleMethod or null for nonepublic GooglePrivacyDlpV2CloudStorageOptions set(String fieldName, Object value)
set in class GenericJsonpublic GooglePrivacyDlpV2CloudStorageOptions clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.