Reference documentation and code samples for the Secret Manager v1beta1 API class SecretPayload.
A secret payload resource in the Secret Manager API. This contains the
sensitive secret data that is associated with a
[SecretVersion][google.cloud.secrets.v1beta1.SecretVersion].
[[["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 represents a resource within the Secret Manager v1beta1 API, encapsulating the sensitive data associated with a specific secret version.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSecretPayload\u003c/code\u003e is a sealed class that implements interfaces for message handling, equality comparison, deep cloning, and buffer messaging.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides constructors for default instantiation and for creating a copy from an existing \u003ccode\u003eSecretPayload\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eData\u003c/code\u003e property of \u003ccode\u003eSecretPayload\u003c/code\u003e, which is of type \u003ccode\u003eByteString\u003c/code\u003e, stores the actual secret data and is limited to a maximum size of 64KiB.\u003c/p\u003e\n"]]],[],null,[]]