RevisionTemplateResponse class
RevisionTemplateSpec describes the data a revision should have when created from a template.
Constructors
-
RevisionTemplateResponse({required Input<
ObjectMetaResponse> metadata, required Input<RevisionSpecResponse> spec}) -
Creates a new RevisionTemplateResponse.
metadataOptional 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: *autoscaling.knative.dev/minScalesets the minimum number of instances. *autoscaling.knative.dev/maxScalesets the maximum number of instances. *run.googleapis.com/cloudsql-instancessets Cloud SQL connections. Multiple values should be comma separated. *run.googleapis.com/vpc-access-connectorsets a Serverless VPC Access connector. *run.googleapis.com/vpc-access-egresssets VPC egress. Supported values areall-traffic,all(deprecated), andprivate-ranges-only.all-trafficandallprovide the same functionality.allis deprecated but will continue to be supported. Preferall-traffic.specRevisionSpec holds the desired state of the Revision (from the client).const -
RevisionTemplateResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
→ Input<
ObjectMetaResponse> -
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: *
autoscaling.knative.dev/minScalesets the minimum number of instances. *autoscaling.knative.dev/maxScalesets the maximum number of instances. *run.googleapis.com/cloudsql-instancessets Cloud SQL connections. Multiple values should be comma separated. *run.googleapis.com/vpc-access-connectorsets a Serverless VPC Access connector. *run.googleapis.com/vpc-access-egresssets VPC egress. Supported values areall-traffic,all(deprecated), andprivate-ranges-only.all-trafficandallprovide the same functionality.allis deprecated but will continue to be supported. Preferall-traffic.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
spec
→ Input<
RevisionSpecResponse> -
RevisionSpec holds the desired state of the Revision (from the client).
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