RewriteResponse

A rewrite response.

ArchivalBackupBlob StorageCloud StorageDataFile StorageGoogle CloudObject StorageStorage

Properties

Name Type Description
kind string The kind of item this is.
totalBytesRewritten string The total bytes rewritten so far.
objectSize string The total size of the object being copied.
done boolean Whether the rewrite is complete. If false, call the rewrite method again with the returned rewriteToken.
rewriteToken string A token to use in subsequent rewrite requests. Present only when the rewrite is not yet complete.
View JSON Schema on GitHub

JSON Schema

gcp-cloud-storage-json-rewrite-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "RewriteResponse",
  "type": "object",
  "description": "A rewrite response.",
  "properties": {
    "kind": {
      "type": "string",
      "description": "The kind of item this is."
    },
    "totalBytesRewritten": {
      "type": "string",
      "description": "The total bytes rewritten so far."
    },
    "objectSize": {
      "type": "string",
      "description": "The total size of the object being copied."
    },
    "done": {
      "type": "boolean",
      "description": "Whether the rewrite is complete. If false, call the rewrite method again with the returned rewriteToken."
    },
    "rewriteToken": {
      "type": "string",
      "description": "A token to use in subsequent rewrite requests. Present only when the rewrite is not yet complete."
    }
  }
}