View Source GoogleApi.Storage.V1.Model.RewriteResponse (google_api_storage v0.37.0)

A rewrite response.

Attributes

  • done (type: boolean(), default: nil) - 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, default: storage#rewriteResponse) - The kind of item this is.
  • objectSize (type: String.t, default: nil) - The total size of the object being copied in bytes. This property is always present in the response.
  • resource (type: GoogleApi.Storage.V1.Model.Object.t, default: nil) - A resource containing the metadata for the copied-to object. This property is present in the response only when copying completes.
  • rewriteToken (type: String.t, default: nil) - 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.
  • totalBytesRewritten (type: String.t, default: nil) - 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

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Storage.V1.Model.RewriteResponse{
  done: boolean() | nil,
  kind: String.t() | nil,
  objectSize: String.t() | nil,
  resource: GoogleApi.Storage.V1.Model.Object.t() | nil,
  rewriteToken: String.t() | nil,
  totalBytesRewritten: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.