SecretVersion class final
A secret version resource in the Secret Manager API.
- Inheritance
-
- Object
- ProtoMessage
- SecretVersion
Constructors
- SecretVersion({String name = '', Timestamp? createTime, Timestamp? destroyTime, SecretVersion_State state = SecretVersion_State.$default, ReplicationStatus? replicationStatus, String etag = '', bool clientSpecifiedPayloadChecksum = false, Timestamp? scheduledDestroyTime, CustomerManagedEncryptionStatus? customerManagedEncryption})
- SecretVersion.fromJson(Object? j)
-
factory
Properties
- clientSpecifiedPayloadChecksum → bool
-
Output only. True if payload checksum specified in
SecretPayloadobject has been received bySecretManagerServiceonSecretManagerService.AddSecretVersion.final - createTime → Timestamp?
-
Output only. The time at which the
SecretVersionwas created.final - customerManagedEncryption → CustomerManagedEncryptionStatus?
-
Output only. The customer-managed encryption status of the
SecretVersion. Only populated if customer-managed encryption is used andSecretis a regionalized secret.final - destroyTime → Timestamp?
-
Output only. The time this
SecretVersionwas destroyed. Only present ifstateisDESTROYED.final - etag → String
-
Output only. Etag of the currently stored
SecretVersion.final - hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Output only. The resource name of the
SecretVersionin the formatprojects/*/secrets/*/versions/*.final - qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - replicationStatus → ReplicationStatus?
-
The replication status of the
SecretVersion.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheduledDestroyTime → Timestamp?
-
Optional. Output only. Scheduled destroy time for secret version.
This is a part of the Delayed secret version destroy feature. For a
Secret with a valid version destroy TTL, when a secert version is
destroyed, version is moved to disabled state and it is scheduled for
destruction Version is destroyed only after the scheduled_destroy_time.
final
- state → SecretVersion_State
-
Output only. The current state of the
SecretVersion.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String