View Source GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoImageReference (google_api_content_warehouse v0.3.0)

A reference to a photo in either Photos Backend or SGI storage. This message should be treated as an opaque blob to avoid a dependency on a specific storage backend. This version of ImageReference is visible outside of SGBE. Do not add fields that should not be exposed outside of Profile Service and Image Service.

Attributes

  • contentVersion (type: String.t, default: nil) - Identifies the most recent version of this photo. Use this as a FIFE param (ie -iv12) to prevent reads of a stale version.
  • mediaId (type: String.t, default: nil) - Unique identifier for the photo. For now, this will always be a Photos Backend media key.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoImageReference{
  contentVersion: String.t() | nil,
  mediaId: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.