com.google.api.services.securitycenter.v1.model.Exfiltration 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.securitycenter.v1.model;
/**
* Exfiltration represents a data exfiltration attempt from one or more sources to one or more
* targets. The `sources` attribute lists the sources of the exfiltrated data. The `targets`
* attribute lists the destinations the data was copied to.
*
* 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 Security Command Center 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 Exfiltration extends com.google.api.client.json.GenericJson {
/**
* If there are multiple sources, then the data is considered "joined" between them. For instance,
* BigQuery can join multiple tables, and each table would be considered a source.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List sources;
static {
// hack to force ProGuard to consider ExfilResource used, since otherwise it would be stripped out
// see https://github.com/google/google-api-java-client/issues/543
com.google.api.client.util.Data.nullOf(ExfilResource.class);
}
/**
* If there are multiple targets, each target would get a complete copy of the "joined" source
* data.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List targets;
static {
// hack to force ProGuard to consider ExfilResource used, since otherwise it would be stripped out
// see https://github.com/google/google-api-java-client/issues/543
com.google.api.client.util.Data.nullOf(ExfilResource.class);
}
/**
* Total exfiltrated bytes processed for the entire job.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long totalExfiltratedBytes;
/**
* If there are multiple sources, then the data is considered "joined" between them. For instance,
* BigQuery can join multiple tables, and each table would be considered a source.
* @return value or {@code null} for none
*/
public java.util.List getSources() {
return sources;
}
/**
* If there are multiple sources, then the data is considered "joined" between them. For instance,
* BigQuery can join multiple tables, and each table would be considered a source.
* @param sources sources or {@code null} for none
*/
public Exfiltration setSources(java.util.List sources) {
this.sources = sources;
return this;
}
/**
* If there are multiple targets, each target would get a complete copy of the "joined" source
* data.
* @return value or {@code null} for none
*/
public java.util.List getTargets() {
return targets;
}
/**
* If there are multiple targets, each target would get a complete copy of the "joined" source
* data.
* @param targets targets or {@code null} for none
*/
public Exfiltration setTargets(java.util.List targets) {
this.targets = targets;
return this;
}
/**
* Total exfiltrated bytes processed for the entire job.
* @return value or {@code null} for none
*/
public java.lang.Long getTotalExfiltratedBytes() {
return totalExfiltratedBytes;
}
/**
* Total exfiltrated bytes processed for the entire job.
* @param totalExfiltratedBytes totalExfiltratedBytes or {@code null} for none
*/
public Exfiltration setTotalExfiltratedBytes(java.lang.Long totalExfiltratedBytes) {
this.totalExfiltratedBytes = totalExfiltratedBytes;
return this;
}
@Override
public Exfiltration set(String fieldName, Object value) {
return (Exfiltration) super.set(fieldName, value);
}
@Override
public Exfiltration clone() {
return (Exfiltration) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy