com.google.api.services.dlp.v2.model.GooglePrivacyDlpV2StorageConfig 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;
/**
* Shared message indicating Cloud storage type.
*
* 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 GooglePrivacyDlpV2StorageConfig extends com.google.api.client.json.GenericJson {
/**
* BigQuery options.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GooglePrivacyDlpV2BigQueryOptions bigQueryOptions;
/**
* Cloud Storage options.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GooglePrivacyDlpV2CloudStorageOptions cloudStorageOptions;
/**
* Google Cloud Datastore options.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GooglePrivacyDlpV2DatastoreOptions datastoreOptions;
/**
* Hybrid inspection options.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GooglePrivacyDlpV2HybridOptions hybridOptions;
/**
* Configuration of the timespan of the items to include in scanning.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GooglePrivacyDlpV2TimespanConfig timespanConfig;
/**
* BigQuery options.
* @return value or {@code null} for none
*/
public GooglePrivacyDlpV2BigQueryOptions getBigQueryOptions() {
return bigQueryOptions;
}
/**
* BigQuery options.
* @param bigQueryOptions bigQueryOptions or {@code null} for none
*/
public GooglePrivacyDlpV2StorageConfig setBigQueryOptions(GooglePrivacyDlpV2BigQueryOptions bigQueryOptions) {
this.bigQueryOptions = bigQueryOptions;
return this;
}
/**
* Cloud Storage options.
* @return value or {@code null} for none
*/
public GooglePrivacyDlpV2CloudStorageOptions getCloudStorageOptions() {
return cloudStorageOptions;
}
/**
* Cloud Storage options.
* @param cloudStorageOptions cloudStorageOptions or {@code null} for none
*/
public GooglePrivacyDlpV2StorageConfig setCloudStorageOptions(GooglePrivacyDlpV2CloudStorageOptions cloudStorageOptions) {
this.cloudStorageOptions = cloudStorageOptions;
return this;
}
/**
* Google Cloud Datastore options.
* @return value or {@code null} for none
*/
public GooglePrivacyDlpV2DatastoreOptions getDatastoreOptions() {
return datastoreOptions;
}
/**
* Google Cloud Datastore options.
* @param datastoreOptions datastoreOptions or {@code null} for none
*/
public GooglePrivacyDlpV2StorageConfig setDatastoreOptions(GooglePrivacyDlpV2DatastoreOptions datastoreOptions) {
this.datastoreOptions = datastoreOptions;
return this;
}
/**
* Hybrid inspection options.
* @return value or {@code null} for none
*/
public GooglePrivacyDlpV2HybridOptions getHybridOptions() {
return hybridOptions;
}
/**
* Hybrid inspection options.
* @param hybridOptions hybridOptions or {@code null} for none
*/
public GooglePrivacyDlpV2StorageConfig setHybridOptions(GooglePrivacyDlpV2HybridOptions hybridOptions) {
this.hybridOptions = hybridOptions;
return this;
}
/**
* Configuration of the timespan of the items to include in scanning.
* @return value or {@code null} for none
*/
public GooglePrivacyDlpV2TimespanConfig getTimespanConfig() {
return timespanConfig;
}
/**
* Configuration of the timespan of the items to include in scanning.
* @param timespanConfig timespanConfig or {@code null} for none
*/
public GooglePrivacyDlpV2StorageConfig setTimespanConfig(GooglePrivacyDlpV2TimespanConfig timespanConfig) {
this.timespanConfig = timespanConfig;
return this;
}
@Override
public GooglePrivacyDlpV2StorageConfig set(String fieldName, Object value) {
return (GooglePrivacyDlpV2StorageConfig) super.set(fieldName, value);
}
@Override
public GooglePrivacyDlpV2StorageConfig clone() {
return (GooglePrivacyDlpV2StorageConfig) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy