EnvironmentFile: {
    created?: string;
    mime_type?: string;
    modified?: string;
    name?: string;
    path?: string;
    size_bytes?: string;
    type?: EnvironmentFileType;
}

Metadata for a file or directory within an environment.

Type declaration

  • Optionalcreated?: string

    Output only. The creation time of the file/directory.

  • Optionalmime_type?: string

    Output only. The MIME type of the file (e.g., "text/python", "image/png").

    Empty for directories.

  • Optionalmodified?: string

    Output only. The modification time of the file/directory.

  • Optionalname?: string

    Output only. The name of the file or directory (e.g., "main.py" or "src").

  • Optionalpath?: string

    Output only. The full relative path within the environment

    (e.g., "workspace/src/main.py").

  • Optionalsize_bytes?: string

    Output only. The size of the file/directory in bytes.

  • Optionaltype?: EnvironmentFileType

    Output only. The type of the entry.