ServiceTemplate

data class ServiceTemplate(val metadata: ServiceTemplateMetadata? = null, val spec: ServiceTemplateSpec? = null)

Constructors

Link copied to clipboard
constructor(metadata: ServiceTemplateMetadata? = null, spec: ServiceTemplateSpec? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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. 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. Structure is documented below.

Link copied to clipboard

RevisionSpec holds the desired state of the Revision (from the client). Structure is documented below.