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

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: https://github.com/knative/specs/blob/main/specs/serving/overview.md#revision

Attributes

  • apiVersion (type: String.t, default: nil) - The API version for this call such as "serving.knative.dev/v1".
  • 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).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type 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
}

Functions

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

Unwrap a decoded JSON object into its complex fields.