google_api_storage v0.7.0 GoogleApi.Storage.V1.Model.RewriteResponse View Source

A rewrite response.

Attributes

  • done (boolean()): true if the copy is finished; otherwise, false if the copy is in progress. This property is always present in the response. Defaults to: null.
  • kind (String.t): The kind of item this is. Defaults to: null.
  • objectSize (String.t): The total size of the object being copied in bytes. This property is always present in the response. Defaults to: null.
  • resource (Object): A resource containing the metadata for the copied-to object. This property is present in the response only when copying completes. Defaults to: null.
  • rewriteToken (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. Defaults to: null.
  • totalBytesRewritten (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. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Storage.V1.Model.RewriteResponse{
  done: any(),
  kind: any(),
  objectSize: any(),
  resource: GoogleApi.Storage.V1.Model.Object.t(),
  rewriteToken: any(),
  totalBytesRewritten: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.