GoogleApi.CloudRun.V1alpha1.Model.RevisionTemplate (google_api_cloud_run v0.42.0) View Source

RevisionTemplateSpec describes the data a revision should have when created from a template. Based on: https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190

Attributes

  • metadata (type: GoogleApi.CloudRun.V1alpha1.Model.ObjectMeta.t, default: nil) - Optional metadata for this Revision, including labels and annotations. Name will be generated by the Configuration. To set minimum instances for this revision, use the "autoscaling.knative.dev/minScale" annotation key. (Cloud Run on GKE only). To set maximum instances for this revision, use the "autoscaling.knative.dev/maxScale" annotation key. To set Cloud SQL connections for the revision, use the "run.googleapis.com/cloudsql-instances" annotation key. Values should be comma separated.
  • spec (type: GoogleApi.CloudRun.V1alpha1.Model.RevisionSpec.t, default: nil) - RevisionSpec holds the desired state of the Revision (from the client).

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudRun.V1alpha1.Model.RevisionTemplate{
  metadata: GoogleApi.CloudRun.V1alpha1.Model.ObjectMeta.t(),
  spec: GoogleApi.CloudRun.V1alpha1.Model.RevisionSpec.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.