Class SecretVersion (2.12.4)

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_v1beta1.types.SecretVersion.State
Output only. The current state of the SecretVersion.

Inheritance

builtins.object > proto.message.Message > SecretVersion

Classes

State

State(value)

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