StartEnvironmentFileUploadRequest: {
    api_version?: string;
    environment: string;
    extract?: boolean;
    overwrite?: boolean;
    path: string;
    "X-Goog-Upload-Command"?: "start";
    "X-Goog-Upload-Header-Content-Length": number;
    "X-Goog-Upload-Header-Content-Type": string;
    "X-Goog-Upload-Protocol"?: "resumable";
}

Type declaration

  • Optionalapi_version?: string

    API version for request routing.

  • environment: string

    The ID of the environment that owns the destination file.

  • Optionalextract?: boolean

    Optional. If true, treats the uploaded file as a tar/tar.gz archive and unpacks it into path.

  • Optionaloverwrite?: boolean

    Optional. Whether to overwrite the destination file if it already exists.

  • path: string

    The relative destination path inside the environment workspace.

  • OptionalX-Goog-Upload-Command?: "start"

    Command that starts the resumable upload session.

  • X-Goog-Upload-Header-Content-Length: number

    Total number of file bytes that will be uploaded to the session URL.

  • X-Goog-Upload-Header-Content-Type: string

    MIME type of the file that will be uploaded to the session URL.

  • OptionalX-Goog-Upload-Protocol?: "resumable"

    Resumable upload protocol selector.