A secret payload resource in the Secret Manager API. This contains the
sensitive secret payload that is associated with a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
Optional. If specified, [SecretManagerService][google.cloud.secretmanager.v1.SecretManagerService] will verify the integrity of the
received [data][google.cloud.secretmanager.v1.SecretPayload.data] on [SecretManagerService.AddSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.AddSecretVersion] calls using
the crc32c checksum and store it to include in future
[SecretManagerService.AccessSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.AccessSecretVersion] responses. If a checksum is
not provided in the [SecretManagerService.AddSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.AddSecretVersion] request, the
[SecretManagerService][google.cloud.secretmanager.v1.SecretManagerService] will generate and store one for you.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSecretPayload\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.SecretManager.V1\u003c/code\u003e namespace, represents a resource in the Secret Manager API containing sensitive secret data.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing it to be used within the Google Cloud Protobuf library and for comparison, cloning, and buffering purposes.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSecretPayload\u003c/code\u003e includes a \u003ccode\u003eData\u003c/code\u003e property of type \u003ccode\u003eByteString\u003c/code\u003e, which stores the actual secret data, and this data must not exceed 64KiB in size.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDataCrc32C\u003c/code\u003e property can be optionally used to store an Int64 encoded crc32c checksum of the secret data, for integrity checks on \u003ccode\u003eSecretManagerService.AddSecretVersion\u003c/code\u003e calls.\u003c/p\u003e\n"],["\u003cp\u003eThe Latest version available is 2.5.0, while 1.9.0 is the current version of the presented documentation, it is one of multiple previous versions, which go as far back as 1.3.0.\u003c/p\u003e\n"]]],[],null,[]]