DirectoryEntry

Represents a single entry in a directory.

JSON representation
{
  "metadata": {
    object (FilesystemEntryMetadata)
  },

  // Union field entry can be only one of the following:
  "file": string,
  "directory": string
  // End of list of possible types for union field entry.
}
Fields
metadata

object (FilesystemEntryMetadata)

Entry with metadata.

Union field entry. The entry's contents. entry can be only one of the following:
file

string

A file in the directory.

directory

string

A child directory in the directory.

FilesystemEntryMetadata

Represents metadata for a single entry in a filesystem.

JSON representation
{
  "sizeBytes": string,
  "updateTime": string
}
Fields
sizeBytes

string (int64 format)

Output only. Provides the size of the entry in bytes. For directories, this will be 0.

updateTime

string (Timestamp format)

Output only. Represents the time of the last modification of the entry.

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: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".