GoogleApi.WalletObjects.V1.Model.Blobstore2Info (google_api_wallet_objects v0.12.0)

View Source

Information to read/write to blobstore2.

Attributes

  • blobGeneration (type: String.t, default: nil) - The blob generation id.
  • blobId (type: String.t, default: nil) - The blob id, e.g., /blobstore/prod/playground/scotty
  • downloadReadHandle (type: String.t, default: nil) - Read handle passed from Bigstore -> Scotty for a GCS download. This is a signed, serialized blobstore2.ReadHandle proto which must never be set outside of Bigstore, and is not applicable to non-GCS media downloads.
  • readToken (type: String.t, default: nil) - The blob read token. Needed to read blobs that have not been replicated. Might not be available until the final call.
  • uploadMetadataContainer (type: String.t, default: nil) - Metadata passed from Blobstore -> Scotty for a new GCS upload. This is a signed, serialized blobstore2.BlobMetadataContainer proto which must never be consumed outside of Bigstore, and is not applicable to non-GCS media uploads.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.Blobstore2Info{
  blobGeneration: String.t() | nil,
  blobId: String.t() | nil,
  downloadReadHandle: String.t() | nil,
  readToken: String.t() | nil,
  uploadMetadataContainer: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.