Googly.CloudStorage.Model.RewriteResponse (googly_cloud_storage v0.1.0)

Copy Markdown View Source

A rewrite response.

Attributes

  • done (type: boolean()) - true if the copy is finished; otherwise, false if the copy is in progress. This property is always present in the response.
  • kind (type: String.t()) - The kind of item this is.
  • object_size (type: String.t()) - The total size of the object being copied in bytes. This property is always present in the response.
  • resource (type: Googly.CloudStorage.Model.Object.t()) - A resource containing the metadata for the copied-to object. This property is present in the response only when copying completes.
  • rewrite_token (type: String.t()) - A token to use in subsequent requests to continue copying data. This token is present in the response only when there is more data to copy.
  • total_bytes_rewritten (type: String.t()) - The total bytes written so far, which can be used to provide a waiting user with a progress indicator. This property is always present in the response.

Summary

Types

t()

@type t() :: %Googly.CloudStorage.Model.RewriteResponse{
  done: boolean() | nil,
  kind: String.t() | nil,
  object_size: String.t() | nil,
  resource: Googly.CloudStorage.Model.Object.t() | nil,
  rewrite_token: String.t() | nil,
  total_bytes_rewritten: String.t() | nil
}