View Source GoogleApi.Run.V1.Model.Revision (google_api_run v0.26.1)

Revision is an immutable snapshot of code and configuration. A revision references a container image. Revisions are created by updates to a Configuration. See also:


  • apiVersion (type: String.t, default: nil) - The API version for this call such as "".
  • kind (type: String.t, default: nil) - The kind of this resource, in this case "Revision".
  • metadata (type: GoogleApi.Run.V1.Model.ObjectMeta.t, default: nil) - Metadata associated with this Revision, including name, namespace, labels, and annotations.
  • spec (type: GoogleApi.Run.V1.Model.RevisionSpec.t, default: nil) - Spec holds the desired state of the Revision (from the client).
  • status (type: GoogleApi.Run.V1.Model.RevisionStatus.t, default: nil) - Status communicates the observed state of the Revision (from the controller).

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Run.V1.Model.Revision{
  apiVersion: String.t() | nil,
  kind: String.t() | nil,
  metadata: GoogleApi.Run.V1.Model.ObjectMeta.t() | nil,
  spec: GoogleApi.Run.V1.Model.RevisionSpec.t() | nil,
  status: GoogleApi.Run.V1.Model.RevisionStatus.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.