public sealed class SecretVersion : IMessage<SecretVersion>, IEquatable<SecretVersion>, IDeepCloneable<SecretVersion>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1 API class SecretVersion.
A secret version resource in the Secret Manager API.
Implements
IMessageSecretVersion, IEquatableSecretVersion, IDeepCloneableSecretVersion, IBufferMessage, IMessageNamespace
Google.Cloud.SecretManager.V1Assembly
Google.Cloud.SecretManager.V1.dll
Constructors
SecretVersion()
public SecretVersion()
SecretVersion(SecretVersion)
public SecretVersion(SecretVersion other)
Parameter | |
---|---|
Name | Description |
other | SecretVersion |
Properties
ClientSpecifiedPayloadChecksum
public bool ClientSpecifiedPayloadChecksum { get; set; }
Output only. True if payload checksum specified in [SecretPayload][google.cloud.secretmanager.v1.SecretPayload] object has been received by [SecretManagerService][google.cloud.secretmanager.v1.SecretManagerService] on [SecretManagerService.AddSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.AddSecretVersion].
Property Value | |
---|---|
Type | Description |
bool |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The time at which the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
DestroyTime
public Timestamp DestroyTime { get; set; }
Output only. The time this [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] was destroyed. Only present if [state][google.cloud.secretmanager.v1.SecretVersion.state] is [DESTROYED][google.cloud.secretmanager.v1.SecretVersion.State.DESTROYED].
Property Value | |
---|---|
Type | Description |
Timestamp |
Etag
public string Etag { get; set; }
Output only. Etag of the currently stored [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
Output only. The resource name of the
[SecretVersion][google.cloud.secretmanager.v1.SecretVersion] in the format
projects/*/secrets/*/versions/*
.
[SecretVersion][google.cloud.secretmanager.v1.SecretVersion] IDs in a [Secret][google.cloud.secretmanager.v1.Secret] start at 1 and are incremented for each subsequent version of the secret.
Property Value | |
---|---|
Type | Description |
string |
ReplicationStatus
public ReplicationStatus ReplicationStatus { get; set; }
The replication status of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
Property Value | |
---|---|
Type | Description |
ReplicationStatus |
SecretVersionName
public SecretVersionName SecretVersionName { get; set; }
SecretVersionName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
SecretVersionName |
State
public SecretVersion.Types.State State { get; set; }
Output only. The current state of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
Property Value | |
---|---|
Type | Description |
SecretVersionTypesState |