public final class ObjectConditions
extends com.google.api.client.json.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 Storage Transfer API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
ObjectConditions() |
Modifier and Type | Method and Description |
---|---|
ObjectConditions |
clone() |
java.util.List<java.lang.String> |
getExcludePrefixes()
`exclude_prefixes` must follow the requirements described for include_prefixes.
|
java.util.List<java.lang.String> |
getIncludePrefixes()
If `include_prefixes` is specified, objects that satisfy the object conditions must have names
that start with one of the `include_prefixes` and that do not start with any of the
exclude_prefixes.
|
java.lang.String |
getLastModifiedBefore()
If specified, only objects with a "last modification time" before this timestamp and objects
that don't have a "last modification time" will be transferred.
|
java.lang.String |
getLastModifiedSince()
If specified, only objects with a "last modification time" on or after this timestamp and
objects that don't have a "last modification time" are transferred.
|
java.lang.String |
getMaxTimeElapsedSinceLastModification()
If specified, only objects with a "last modification time" on or after `NOW` -
`max_time_elapsed_since_last_modification` and objects that don't have a "last modification
time" are transferred.
|
java.lang.String |
getMinTimeElapsedSinceLastModification()
If specified, only objects with a "last modification time" before `NOW` -
`min_time_elapsed_since_last_modification` and objects that don't have a "last modification
time" are transferred.
|
ObjectConditions |
set(java.lang.String fieldName,
java.lang.Object value) |
ObjectConditions |
setExcludePrefixes(java.util.List<java.lang.String> excludePrefixes)
`exclude_prefixes` must follow the requirements described for include_prefixes.
|
ObjectConditions |
setIncludePrefixes(java.util.List<java.lang.String> includePrefixes)
If `include_prefixes` is specified, objects that satisfy the object conditions must have names
that start with one of the `include_prefixes` and that do not start with any of the
exclude_prefixes.
|
ObjectConditions |
setLastModifiedBefore(java.lang.String lastModifiedBefore)
If specified, only objects with a "last modification time" before this timestamp and objects
that don't have a "last modification time" will be transferred.
|
ObjectConditions |
setLastModifiedSince(java.lang.String lastModifiedSince)
If specified, only objects with a "last modification time" on or after this timestamp and
objects that don't have a "last modification time" are transferred.
|
ObjectConditions |
setMaxTimeElapsedSinceLastModification(java.lang.String maxTimeElapsedSinceLastModification)
If specified, only objects with a "last modification time" on or after `NOW` -
`max_time_elapsed_since_last_modification` and objects that don't have a "last modification
time" are transferred.
|
ObjectConditions |
setMinTimeElapsedSinceLastModification(java.lang.String minTimeElapsedSinceLastModification)
If specified, only objects with a "last modification time" before `NOW` -
`min_time_elapsed_since_last_modification` and objects that don't have a "last modification
time" are transferred.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<java.lang.String> getExcludePrefixes()
null
for nonepublic ObjectConditions setExcludePrefixes(java.util.List<java.lang.String> excludePrefixes)
excludePrefixes
- excludePrefixes or null
for nonepublic java.util.List<java.lang.String> getIncludePrefixes()
null
for nonepublic ObjectConditions setIncludePrefixes(java.util.List<java.lang.String> includePrefixes)
includePrefixes
- includePrefixes or null
for nonepublic java.lang.String getLastModifiedBefore()
null
for nonepublic ObjectConditions setLastModifiedBefore(java.lang.String lastModifiedBefore)
lastModifiedBefore
- lastModifiedBefore or null
for nonepublic java.lang.String getLastModifiedSince()
null
for nonepublic ObjectConditions setLastModifiedSince(java.lang.String lastModifiedSince)
lastModifiedSince
- lastModifiedSince or null
for nonepublic java.lang.String getMaxTimeElapsedSinceLastModification()
null
for nonepublic ObjectConditions setMaxTimeElapsedSinceLastModification(java.lang.String maxTimeElapsedSinceLastModification)
maxTimeElapsedSinceLastModification
- maxTimeElapsedSinceLastModification or null
for nonepublic java.lang.String getMinTimeElapsedSinceLastModification()
null
for nonepublic ObjectConditions setMinTimeElapsedSinceLastModification(java.lang.String minTimeElapsedSinceLastModification)
minTimeElapsedSinceLastModification
- minTimeElapsedSinceLastModification or null
for nonepublic ObjectConditions set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ObjectConditions clone()
clone
in class com.google.api.client.json.GenericJson