GStorageObject Type
An object.
Remarks
This type represents an object.
Fields
deleted Bool |
Whether this object version was deleted or overwritten. This property indicates whether this object version was deleted or overwritten. Only applicable when ListVersions is called; in all other cases. |
eTag String |
The ETag of the object. This property reflects the ETag of the object. An object's ETag is an MD5 hash of its contents, and as such can be used to determine if its contents have been modified. |
lastModified String |
The last modified time of the object. This property reflects the last modified time of the object. |
latestVersion Bool |
Whether this is the latest object version. This property indicates whether this object version is the latest version available. Only applicable when ListVersions is called; in all other cases. |
name String |
The name (key) of the object. This property specifies the name (key) of the object. |
ownerDisplayName String |
The display name of the object's owner. This property reflects the display name of the object's owner. Not applicable when GetObjectInfo is called. |
ownerId String |
The Id of the object's owner. This property reflects the Id of the object's owner. Not applicable when GetObjectInfo is called. |
size Int64 |
The size of the object. This property reflects the size of the object, in bytes. |
storageClass String |
The storage class of the object. This property reflects the storage class of the object. |
versionId String |
The Id of the object version. This property 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. |
Constructors
public init()
public init(name: String)
public init(name: String, lastModified: String, size: Int64, storageClass: String, eTag: String, ownerId: String, ownerDisplayName: String)