GoogleCloudRunV2Revision class
A Revision is an immutable snapshot of code and configuration.
A Revision references a container image. Revisions are only created by updates to its parent Service.
Constructors
-
GoogleCloudRunV2Revision({Map<
String, String> ? annotations, List<GoogleCloudRunV2Condition> ? conditions, List<GoogleCloudRunV2Container> ? containers, String? createTime, String? deleteTime, String? encryptionKey, String? encryptionKeyRevocationAction, String? encryptionKeyShutdownDuration, String? etag, String? executionEnvironment, String? expireTime, String? generation, Map<String, String> ? labels, String? launchStage, String? logUri, int? maxInstanceRequestConcurrency, String? name, String? observedGeneration, bool? reconciling, bool? satisfiesPzs, GoogleCloudRunV2RevisionScaling? scaling, GoogleCloudRunV2RevisionScalingStatus? scalingStatus, String? service, String? serviceAccount, bool? sessionAffinity, String? timeout, String? uid, String? updateTime, List<GoogleCloudRunV2Volume> ? volumes, GoogleCloudRunV2VpcAccess? vpcAccess}) - GoogleCloudRunV2Revision.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
-
conditions
↔ List<
GoogleCloudRunV2Condition> ? -
The Condition of this Revision, containing its readiness status, and
detailed error information in case it did not reach a serving state.
getter/setter pair
-
containers
↔ List<
GoogleCloudRunV2Container> ? -
Holds the single container that defines the unit of execution for this
Revision.
getter/setter pair
- createTime ↔ String?
-
The creation time.
getter/setter pair
- deleteTime ↔ String?
-
For a deleted resource, the deletion time.
getter/setter pair
- encryptionKey ↔ String?
-
A reference to a customer managed encryption key (CMEK) to use to encrypt
this container image.
getter/setter pair
- encryptionKeyRevocationAction ↔ String?
-
The action to take if the encryption key is revoked.
Possible string values are:
getter/setter pair
- encryptionKeyShutdownDuration ↔ String?
-
If encryption_key_revocation_action is SHUTDOWN, the duration before
shutting down all instances.
getter/setter pair
- etag ↔ String?
-
A system-generated fingerprint for this version of the resource.
getter/setter pair
- executionEnvironment ↔ String?
-
The execution environment being used to host this Revision.
Possible string values are:
getter/setter pair
- expireTime ↔ String?
-
For a deleted resource, the time after which it will be permamently
deleted.
getter/setter pair
- generation ↔ String?
-
A number that monotonically increases every time the user modifies the
desired state.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
↔ Map<
String, String> ? -
Unstructured key value map that can be used to organize and categorize
objects.
getter/setter pair
- launchStage ↔ String?
-
The least stable launch stage needed to create this resource, as defined
by
Google Cloud Platform Launch Stages.
getter/setter pair
- logUri ↔ String?
-
The Google Console URI to obtain logs for the Revision.
getter/setter pair
- maxInstanceRequestConcurrency ↔ int?
-
Sets the maximum number of requests that each serving instance can
receive.
getter/setter pair
- name ↔ String?
-
The unique name of this Revision.
getter/setter pair
- observedGeneration ↔ String?
-
The generation of this Revision currently serving traffic.
getter/setter pair
- reconciling ↔ bool?
-
Indicates whether the resource's reconciliation is still in progress.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- satisfiesPzs ↔ bool?
-
Reserved for future use.
getter/setter pair
- scaling ↔ GoogleCloudRunV2RevisionScaling?
-
Scaling settings for this revision.
getter/setter pair
- scalingStatus ↔ GoogleCloudRunV2RevisionScalingStatus?
-
The current effective scaling settings for the revision.
getter/setter pair
- service ↔ String?
-
The name of the parent service.
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
- uid ↔ String?
-
Server assigned unique identifier for the Revision.
getter/setter pair
- updateTime ↔ String?
-
The last-modified time.
getter/setter pair
-
volumes
↔ List<
GoogleCloudRunV2Volume> ? -
A list of Volumes to make available to containers.
getter/setter pair
- vpcAccess ↔ GoogleCloudRunV2VpcAccess?
-
VPC Access configuration 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