FilesystemService

(-- api-linter: core::0131::synonyms=disabled aip.dev/not-precedent: StatFile is a custom method on a singleton resource, not a standard Get method. The "stat" verb follows Unix convention and is appropriate for metadata retrieval. --) Gets metadata about a file or directory (similar to Unix stat). If the path is a symbolic link, returns metadata about the target file (symlink is followed).

Authorization: Only the creator of the parent SandboxEngine is allowed to call this method.

get/v1/{name}/filesystem:statFile

Request

Path parameters

namestring required

Required. The name of the sandbox engine. Format: workspaces/{workspace}/sandboxEngines/{sandbox_engine}

Query parameters

pathstring required

Required. The path to the file or directory. All paths are rooted at the sandbox filesystem root. Must start with a forward slash (e.g., "/app.js", "/workspace/data"). If the path is a symbolic link, metadata about the target file is returned (symlink is followed).

Response

A successful response.

Changes

No recorded changes to this operation across all 1 revision of this API.