IPWorks Cloud 2020 Android Edition

Questions / Feedback?

ObjectList Event

Fires once for each object, object version, or multipart upload returned when listing such items.

Syntax

public class DefaultGooglestorageEventListener implements GooglestorageEventListener {
  ...
  public void objectList(GooglestorageObjectListEvent e) {}
  ...
}

public class GooglestorageObjectListEvent {
  public String objectName;
  public String lastModified;
  public long size;
  public String ETag;
  public String ownerId;
  public String ownerName;
  public String uploadId;
  public String versionId;
  public boolean latestVersion;
  public boolean deleted;
}

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Android Edition - Version 20.0 [Build 8265]