GoogleApi.Run.V1.Model.RevisionTemplate (google_api_run v0.24.5) View Source

RevisionTemplateSpec describes the data a revision should have when created from a template. Based on:


  • metadata (type: GoogleApi.Run.V1.Model.ObjectMeta.t, default: nil) - Optional metadata for this Revision, including labels and annotations. Name will be generated by the Configuration. The following annotation keys set properties of the created revision: sets the minimum number of instances. sets the maximum number of instances. sets Cloud SQL connections. Multiple values should be comma separated. sets a Serverless VPC Access connector. * sets VPC egress. Supported values are all-traffic, all (deprecated), and private-ranges-only. all-traffic and all provide the same functionality. all is deprecated but will continue to be supported. Prefer all-traffic.
  • spec (type: GoogleApi.Run.V1.Model.RevisionSpec.t, default: nil) - RevisionSpec holds the desired state of the Revision (from the client).

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Run.V1.Model.RevisionTemplate{
  metadata: GoogleApi.Run.V1.Model.ObjectMeta.t() | nil,
  spec: GoogleApi.Run.V1.Model.RevisionSpec.t() | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.