Secret Manager v1beta2 API - Class SecretVersion (1.0.0-beta01)

public sealed class SecretVersion : IMessage<SecretVersion>, IEquatable<SecretVersion>, IDeepCloneable<SecretVersion>, IBufferMessage, IMessage

Reference documentation and code samples for the Secret Manager v1beta2 API class SecretVersion.

A secret version resource in the Secret Manager API.

Inheritance

object > SecretVersion

Namespace

Google.Cloud.SecretManager.V1Beta2

Assembly

Google.Cloud.SecretManager.V1Beta2.dll

Constructors

SecretVersion()

public SecretVersion()

SecretVersion(SecretVersion)

public SecretVersion(SecretVersion other)
Parameter
NameDescription
otherSecretVersion

Properties

ClientSpecifiedPayloadChecksum

public bool ClientSpecifiedPayloadChecksum { get; set; }

Output only. True if payload checksum specified in [SecretPayload][google.cloud.secretmanager.v1beta2.SecretPayload] object has been received by [SecretManagerService][google.cloud.secretmanager.v1beta2.SecretManagerService] on [SecretManagerService.AddSecretVersion][google.cloud.secretmanager.v1beta2.SecretManagerService.AddSecretVersion].

Property Value
TypeDescription
bool

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time at which the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] was created.

Property Value
TypeDescription
Timestamp

CustomerManagedEncryption

public CustomerManagedEncryptionStatus CustomerManagedEncryption { get; set; }

Output only. The customer-managed encryption status of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion]. Only populated if customer-managed encryption is used and [Secret][google.cloud.secretmanager.v1beta2.Secret] is a Regionalised Secret.

Property Value
TypeDescription
CustomerManagedEncryptionStatus

DestroyTime

public Timestamp DestroyTime { get; set; }

Output only. The time this [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] was destroyed. Only present if [state][google.cloud.secretmanager.v1beta2.SecretVersion.state] is [DESTROYED][google.cloud.secretmanager.v1beta2.SecretVersion.State.DESTROYED].

Property Value
TypeDescription
Timestamp

Etag

public string Etag { get; set; }

Output only. Etag of the currently stored [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].

Property Value
TypeDescription
string

Name

public string Name { get; set; }

Output only. The resource name of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] in the format projects/*/secrets/*/versions/*.

[SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] IDs in a [Secret][google.cloud.secretmanager.v1beta2.Secret] start at 1 and are incremented for each subsequent version of the secret.

Property Value
TypeDescription
string

ReplicationStatus

public ReplicationStatus ReplicationStatus { get; set; }

The replication status of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].

Property Value
TypeDescription
ReplicationStatus

ScheduledDestroyTime

public Timestamp ScheduledDestroyTime { get; set; }

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.

Property Value
TypeDescription
Timestamp

SecretVersionName

public SecretVersionName SecretVersionName { get; set; }

SecretVersionName-typed view over the Name resource name property.

Property Value
TypeDescription
SecretVersionName

State

public SecretVersion.Types.State State { get; set; }

Output only. The current state of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].

Property Value
TypeDescription
SecretVersionTypesState