ObjectList Event
Fires once for each object, object version, or multipart upload returned when listing such items.
Syntax
public open class DefaultGooglestorageEventListener : GooglestorageEventListener { ... public override fun objectList(e: GooglestorageObjectListEvent) {} ... } public class GooglestorageObjectListEvent { val objectName: String? val lastModified: String? val size: Long val eTag: String? val ownerId: String? val ownerName: String? val uploadId: String? val versionId: String? val latestVersion: Boolean val deleted: Boolean }
Remarks
This event fires once for each object, or object version, returned when GetObjectInfo, ListObjects, or ListVersions is called.
ObjectName reflects the name of the object.
LastModified reflects the last modified time of the object.
Size reflects the size, in bytes, of the object.
ETag reflects the object's ETag.
OwnerId and OwnerName reflect the Id and display name of the object's owner, respectively. Not applicable when GetObjectInfo is called.
VersionId reflects the Id of the object version (note that the string null is a valid version Id). Only applicable when ListVersions is called, or when GetObjectInfo is called while VersionId is non-empty; empty in all other cases.
LatestVersion indicates whether this is the latest object version. Only applicable when ListVersions is called; true in all other cases.
Deleted indicates whether this object version was deleted or overwritten. Only applicable when ListVersions is called; false in all other cases.