Class SecretVersion (2.12.4)

Stay organized with collections Save and categorize content based on your preferences.
SecretVersion(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A secret version resource in the Secret Manager API.

Attributes

NameDescription
name str
Output only. The resource name of the SecretVersion in the format ``projects/*/secrets/*/versions/*``. SecretVersion IDs in a Secret start at 1 and are incremented for each subsequent version of the secret.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which the SecretVersion was created.
destroy_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time this SecretVersion was destroyed. Only present if state is DESTROYED.
state google.cloud.secretmanager_v1.types.SecretVersion.State
Output only. The current state of the SecretVersion.
replication_status google.cloud.secretmanager_v1.types.ReplicationStatus
The replication status of the SecretVersion.
etag str
Output only. Etag of the currently stored SecretVersion.
client_specified_payload_checksum bool
Output only. True if payload checksum specified in SecretPayload object has been received by SecretManagerService on SecretManagerService.AddSecretVersion.

Inheritance

builtins.object > proto.message.Message > SecretVersion

Classes

State

State(value)

The state of a SecretVersion, indicating if it can be accessed.