ServiceTemplate class

Constructors

ServiceTemplate({Input<ServiceTemplateMetadata?>? metadata, Input<ServiceTemplateSpec?>? spec})
Creates a new ServiceTemplate. metadata Optional metadata for this Revision, including labels and annotations. spec RevisionSpec holds the desired state of the Revision (from the client).
const
ServiceTemplate.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
metadata → Input<ServiceTemplateMetadata?>?
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spec → Input<ServiceTemplateSpec?>?
RevisionSpec holds the desired state of the Revision (from the client). Structure is documented below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited