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].
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.
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].
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eSecretVersion\u003c/code\u003e class within the Secret Manager v1beta2 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSecretVersion\u003c/code\u003e is a class representing a secret version resource and it inherits from the object class, and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecretVersion\u003c/code\u003e class has several output-only properties, including \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eDestroyTime\u003c/code\u003e, \u003ccode\u003eEtag\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eScheduledDestroyTime\u003c/code\u003e, and \u003ccode\u003eState\u003c/code\u003e, indicating read-only data related to the version's lifecycle and status.\u003c/p\u003e\n"],["\u003cp\u003eConstructors for the \u003ccode\u003eSecretVersion\u003c/code\u003e class allow for the creation of a new instance, and the ability to copy another \u003ccode\u003eSecretVersion\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThere are several properties that are associated with different actions, such as \u003ccode\u003eClientSpecifiedPayloadChecksum\u003c/code\u003e which indicates whether a checksum was received, and \u003ccode\u003eReplicationStatus\u003c/code\u003e that details the replication status of the version.\u003c/p\u003e\n"]]],[],null,["# Secret Manager v1beta2 API - Class SecretVersion (1.0.0-beta03)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta03 (latest)](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.SecretVersion)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/1.0.0-beta02/Google.Cloud.SecretManager.V1Beta2.SecretVersion) \n\n public sealed class SecretVersion : IMessage\u003cSecretVersion\u003e, IEquatable\u003cSecretVersion\u003e, IDeepCloneable\u003cSecretVersion\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Secret Manager v1beta2 API class SecretVersion.\n\nA secret version resource in the Secret Manager API. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SecretVersion \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SecretVersion](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.SecretVersion), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SecretVersion](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.SecretVersion), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SecretVersion](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.SecretVersion), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.SecretManager.V1Beta2](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2)\n\nAssembly\n--------\n\nGoogle.Cloud.SecretManager.V1Beta2.dll\n\nConstructors\n------------\n\n### SecretVersion()\n\n public SecretVersion()\n\n### SecretVersion(SecretVersion)\n\n public SecretVersion(SecretVersion other)\n\nProperties\n----------\n\n### ClientSpecifiedPayloadChecksum\n\n public bool ClientSpecifiedPayloadChecksum { get; set; }\n\nOutput only. True if payload checksum specified in\n\\[SecretPayload\\]\\[google.cloud.secretmanager.v1beta2.SecretPayload\\] object\nhas been received by\n\\[SecretManagerService\\]\\[google.cloud.secretmanager.v1beta2.SecretManagerService\\]\non\n\\[SecretManagerService.AddSecretVersion\\]\\[google.cloud.secretmanager.v1beta2.SecretManagerService.AddSecretVersion\\].\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The time at which the\n\\[SecretVersion\\]\\[google.cloud.secretmanager.v1beta2.SecretVersion\\] was\ncreated.\n\n### CustomerManagedEncryption\n\n public CustomerManagedEncryptionStatus CustomerManagedEncryption { get; set; }\n\nOutput only. The customer-managed encryption status of the\n\\[SecretVersion\\]\\[google.cloud.secretmanager.v1beta2.SecretVersion\\]. Only\npopulated if customer-managed encryption is used and\n\\[Secret\\]\\[google.cloud.secretmanager.v1beta2.Secret\\] is a Regionalised\nSecret.\n\n### DestroyTime\n\n public Timestamp DestroyTime { get; set; }\n\nOutput only. The time this\n\\[SecretVersion\\]\\[google.cloud.secretmanager.v1beta2.SecretVersion\\] was\ndestroyed. Only present if\n\\[state\\]\\[google.cloud.secretmanager.v1beta2.SecretVersion.state\\] is\n\\[DESTROYED\\]\\[google.cloud.secretmanager.v1beta2.SecretVersion.State.DESTROYED\\].\n\n### Etag\n\n public string Etag { get; set; }\n\nOutput only. Etag of the currently stored\n\\[SecretVersion\\]\\[google.cloud.secretmanager.v1beta2.SecretVersion\\].\n\n### Name\n\n public string Name { get; set; }\n\nOutput only. The resource name of the\n\\[SecretVersion\\]\\[google.cloud.secretmanager.v1beta2.SecretVersion\\] in the\nformat `projects/*/secrets/*/versions/*`.\n\n\\[SecretVersion\\]\\[google.cloud.secretmanager.v1beta2.SecretVersion\\] IDs in a\n\\[Secret\\]\\[google.cloud.secretmanager.v1beta2.Secret\\] start at 1 and are\nincremented for each subsequent version of the secret.\n\n### ReplicationStatus\n\n public ReplicationStatus ReplicationStatus { get; set; }\n\nThe replication status of the\n\\[SecretVersion\\]\\[google.cloud.secretmanager.v1beta2.SecretVersion\\].\n\n### ScheduledDestroyTime\n\n public Timestamp ScheduledDestroyTime { get; set; }\n\nOptional. Output only. Scheduled destroy time for secret version.\nThis is a part of the Delayed secret version destroy feature. For a\nSecret with a valid version destroy TTL, when a secert version is\ndestroyed, version is moved to disabled state and it is scheduled for\ndestruction Version is destroyed only after the scheduled_destroy_time.\n\n### SecretVersionName\n\n public SecretVersionName SecretVersionName { get; set; }\n\n[SecretVersionName](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.SecretVersionName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.SecretVersion#Google_Cloud_SecretManager_V1Beta2_SecretVersion_Name) resource name property.\n\n### State\n\n public SecretVersion.Types.State State { get; set; }\n\nOutput only. The current state of the\n\\[SecretVersion\\]\\[google.cloud.secretmanager.v1beta2.SecretVersion\\]."]]