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\u003eThis webpage details the \u003ccode\u003eSecretPayload\u003c/code\u003e class within the Google Cloud Secret Manager API's version 2.0.0, which represents a resource containing the sensitive secret data associated with a \u003ccode\u003eSecretVersion\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecretPayload\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, equality comparisons, deep cloning, and buffer message operations.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eSecretPayload\u003c/code\u003e class include \u003ccode\u003eData\u003c/code\u003e, which holds the actual secret as a \u003ccode\u003eByteString\u003c/code\u003e with a maximum size of 64KiB, and \u003ccode\u003eDataCrc32C\u003c/code\u003e, an optional integrity checksum used for validation during \u003ccode\u003eAddSecretVersion\u003c/code\u003e calls.\u003c/p\u003e\n"],["\u003cp\u003eThe document also includes a comprehensive list of all versions of this class, ranging from version 2.5.0 down to 1.3.0, allowing you to understand its progression.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecretPayload\u003c/code\u003e class offers two constructors, one for a default instance and another for creating a copy from an existing \u003ccode\u003eSecretPayload\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]