public sealed class UpdateSecretRequest : IMessage<UpdateSecretRequest>, IEquatable<UpdateSecretRequest>, IDeepCloneable<UpdateSecretRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1 API class UpdateSecretRequest.
Request message for [SecretManagerService.UpdateSecret][google.cloud.secretmanager.v1.SecretManagerService.UpdateSecret].
[[["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 page provides documentation for the \u003ccode\u003eUpdateSecretRequest\u003c/code\u003e class within the Google Cloud Secret Manager v1 API, specifically for version 2.2.0, with links to other versions as well.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateSecretRequest\u003c/code\u003e is used to send requests to update a secret, using the \u003ccode\u003eSecretManagerService.UpdateSecret\u003c/code\u003e function.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateSecretRequest\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, showing its support for different capabilities.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, a default constructor and a copy constructor to create a new instance from another \u003ccode\u003eUpdateSecretRequest\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eSecret\u003c/code\u003e to specify the secret with updated fields and \u003ccode\u003eUpdateMask\u003c/code\u003e to specify which fields should be updated.\u003c/p\u003e\n"]]],[],null,[]]