Class SecretVersion
A secret version resource in the Secret Manager API.
Implements
Inherited Members
Namespace: Google.Apis.SecretManager.v1.Data
Assembly: Google.Apis.SecretManager.v1.dll
Syntax
public class SecretVersion : IDirectResponseSchema
Properties
ClientSpecifiedPayloadChecksum
Output only. True if payload checksum specified in SecretPayload object has been received by SecretManagerService on SecretManagerService.AddSecretVersion.
Declaration
[JsonProperty("clientSpecifiedPayloadChecksum")]
public virtual bool? ClientSpecifiedPayloadChecksum { get; set; }
Property Value
Type | Description |
---|---|
bool? |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. The time at which the SecretVersion was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
CustomerManagedEncryption
Output only. The customer-managed encryption status of the SecretVersion. Only populated if customer-managed encryption is used and Secret is a regionalized secret.
Declaration
[JsonProperty("customerManagedEncryption")]
public virtual CustomerManagedEncryptionStatus CustomerManagedEncryption { get; set; }
Property Value
Type | Description |
---|---|
CustomerManagedEncryptionStatus |
DestroyTime
object representation of DestroyTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use DestroyTimeDateTimeOffset instead.")]
public virtual object DestroyTime { get; set; }
Property Value
Type | Description |
---|---|
object |
DestroyTimeDateTimeOffset
DateTimeOffset representation of DestroyTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? DestroyTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
DestroyTimeRaw
Output only. The time this SecretVersion was destroyed. Only present if state is DESTROYED.
Declaration
[JsonProperty("destroyTime")]
public virtual string DestroyTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
Output only. Etag of the currently stored SecretVersion.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
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.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ReplicationStatus
The replication status of the SecretVersion.
Declaration
[JsonProperty("replicationStatus")]
public virtual ReplicationStatus ReplicationStatus { get; set; }
Property Value
Type | Description |
---|---|
ReplicationStatus |
ScheduledDestroyTime
object representation of ScheduledDestroyTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ScheduledDestroyTimeDateTimeOffset instead.")]
public virtual object ScheduledDestroyTime { get; set; }
Property Value
Type | Description |
---|---|
object |
ScheduledDestroyTimeDateTimeOffset
DateTimeOffset representation of ScheduledDestroyTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ScheduledDestroyTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
ScheduledDestroyTimeRaw
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.
Declaration
[JsonProperty("scheduledDestroyTime")]
public virtual string ScheduledDestroyTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
State
Output only. The current state of the SecretVersion.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |