Secret Manager v1beta1 API - Class SecretVersion (3.0.0-beta04)

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

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

A secret version resource in the Secret Manager API.

Inheritance

object > SecretVersion

Namespace

Google.Cloud.SecretManager.V1Beta1

Assembly

Google.Cloud.SecretManager.V1Beta1.dll

Constructors

SecretVersion()

public SecretVersion()

SecretVersion(SecretVersion)

public SecretVersion(SecretVersion other)
Parameter
NameDescription
otherSecretVersion

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time at which the [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion] was created.

Property Value
TypeDescription
Timestamp

DestroyTime

public Timestamp DestroyTime { get; set; }

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

Property Value
TypeDescription
Timestamp

Name

public string Name { get; set; }

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

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

Property Value
TypeDescription
string

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.secrets.v1beta1.SecretVersion].

Property Value
TypeDescription
SecretVersionTypesState