public sealed class CreateSecretRequest : IMessage<CreateSecretRequest>, IEquatable<CreateSecretRequest>, IDeepCloneable<CreateSecretRequest>, IBufferMessage, IMessage
Request message for [SecretManagerService.CreateSecret][google.cloud.secrets.v1beta1.SecretManagerService.CreateSecret].
A secret ID is a string with a maximum length of 255 characters and can
contain uppercase and lowercase letters, numerals, and the hyphen (-) and
underscore (_) characters.
[[["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\u003eCreateSecretRequest\u003c/code\u003e class is used to create a request for the \u003ccode\u003eSecretManagerService.CreateSecret\u003c/code\u003e method within the Google Cloud Secret Manager API, specifically in the \u003ccode\u003ev1beta1\u003c/code\u003e version.\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, providing functionalities for message handling, equality comparison, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateSecretRequest\u003c/code\u003e class requires specifying a \u003ccode\u003eParent\u003c/code\u003e project name, a \u003ccode\u003eSecret\u003c/code\u003e object with initial field values, and a unique \u003ccode\u003eSecretId\u003c/code\u003e within the project.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available: a default constructor and a constructor that accepts another \u003ccode\u003eCreateSecretRequest\u003c/code\u003e object for copying its properties.\u003c/p\u003e\n"],["\u003cp\u003eIt contains the properties \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsProjectName\u003c/code\u003e, \u003ccode\u003eSecret\u003c/code\u003e and \u003ccode\u003eSecretId\u003c/code\u003e that are used to define which secret will be created and where it will be stored.\u003c/p\u003e\n"]]],[],null,[]]