GoogleCloudRunV2RevisionTemplate class
RevisionTemplate describes the data a revision should have when created from a template.
Constructors
-
GoogleCloudRunV2RevisionTemplate({Map<
String, String> ? annotations, List<GoogleCloudRunV2Container> ? containers, String? encryptionKey, String? executionEnvironment, bool? healthCheckDisabled, Map<String, String> ? labels, int? maxInstanceRequestConcurrency, GoogleCloudRunV2NodeSelector? nodeSelector, String? revision, GoogleCloudRunV2RevisionScaling? scaling, String? serviceAccount, bool? sessionAffinity, String? timeout, List<GoogleCloudRunV2Volume> ? volumes, GoogleCloudRunV2VpcAccess? vpcAccess}) - GoogleCloudRunV2RevisionTemplate.fromJson(Map json_)
Properties
-
annotations
↔ Map<
String, String> ? -
Unstructured key value map that may be set by external tools to store and
arbitrary metadata.
getter/setter pair
-
containers
↔ List<
GoogleCloudRunV2Container> ? -
Holds the single container that defines the unit of execution for this
Revision.
getter/setter pair
- encryptionKey ↔ String?
-
A reference to a customer managed encryption key (CMEK) to use to encrypt
this container image.
getter/setter pair
- executionEnvironment ↔ String?
-
The sandbox environment to host this Revision.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- healthCheckDisabled ↔ bool?
-
Disables health checking containers during deployment.
getter/setter pair
-
labels
↔ Map<
String, String> ? -
Unstructured key value map that can be used to organize and categorize
objects.
getter/setter pair
- maxInstanceRequestConcurrency ↔ int?
-
Sets the maximum number of requests that each serving instance can
receive.
getter/setter pair
- nodeSelector ↔ GoogleCloudRunV2NodeSelector?
-
The node selector for the revision template.
getter/setter pair
- revision ↔ String?
-
The unique name for the revision.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaling ↔ GoogleCloudRunV2RevisionScaling?
-
Scaling settings for this Revision.
getter/setter pair
- serviceAccount ↔ String?
-
Email address of the IAM service account associated with the revision of
the service.
getter/setter pair
- sessionAffinity ↔ bool?
-
Enable session affinity.
getter/setter pair
- timeout ↔ String?
-
Max allowed time for an instance to respond to a request.
getter/setter pair
-
volumes
↔ List<
GoogleCloudRunV2Volume> ? -
A list of Volumes to make available to containers.
getter/setter pair
- vpcAccess ↔ GoogleCloudRunV2VpcAccess?
-
VPC Access configuration to use for this Revision.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited