Conditions that determine which objects are transferred. Applies only to Cloud Data Sources such as S3, Azure, and Cloud Storage.
The "last modification time" refers to the time of the last change to the object's content or metadata — specifically, this is the updated property of Cloud Storage objects, the LastModified field of S3 objects, and the Last-Modified header of Azure blobs.
For S3 objects, the LastModified value is the time the object begins uploading. If the object meets your "last modification time" criteria, but has not finished uploading, the object is not transferred. See Transfer from Amazon S3 to Cloud Storage for more information.
Transfers with a PosixFilesystem source or destination don't support ObjectConditions.
| JSON representation |
|---|
{ "minTimeElapsedSinceLastModification": string, "maxTimeElapsedSinceLastModification": string, "includePrefixes": [ string ], "excludePrefixes": [ string ], "lastModifiedSince": string, "lastModifiedBefore": string, "matchGlob": string, "includeStorageClasses": [ string ] } |
| Fields | |
|---|---|
minTimeElapsedSinceLastModification |
Ensures that objects are not transferred until a specific minimum time has elapsed after the "last modification time". When a A duration in seconds with up to nine fractional digits, ending with ' |
maxTimeElapsedSinceLastModification |
Ensures that objects are not transferred if a specific maximum time has elapsed since the "last modification time". When a A duration in seconds with up to nine fractional digits, ending with ' |
includePrefixes[] |
If you specify The following are requirements of
The max size of For more information, see Filtering objects from transfers. |
excludePrefixes[] |
If you specify The following are requirements of
The max size of For more information, see Filtering objects from transfers. |
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. The
Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
lastModifiedBefore |
If specified, only objects with a "last modification time" before this timestamp and objects that don't have a "last modification time" are transferred. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
matchGlob |
Optional. If specified, only objects matching this glob are transferred. |
includeStorageClasses[] |
Optional. If specified, objects in the source matching any of the storage classes in this field will be transferred. Objects in storage classes not included in this field will be skipped. If empty, the default behavior regarding the storage classes is applied. This includes all storage classes except "GLACIER" as per default behavior. Currently, this field only supports S3 data source. For the list of valid Amazon S3 storage classnames, please refer to the AWS documentation: https://docs.aws.amazon.com/AmazonS3/latest/userguide/sc-howtoset.html |