Class SecretVersion
A secret version resource in the Secret Manager API.
Implements
Inherited Members
Namespace: Google.Apis.SecretManager.v1beta1.Data
Assembly: Google.Apis.SecretManager.v1beta1.dll
Syntax
public class SecretVersion : IDirectResponseSchema
Properties
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 |
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
The ETag of the item.
Declaration
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 |
State
Output only. The current state of the SecretVersion.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |