public sealed class CreateSecretRequest : IMessage<CreateSecretRequest>, IEquatable<CreateSecretRequest>, IDeepCloneable<CreateSecretRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1 API class CreateSecretRequest.
Request message for [SecretManagerService.CreateSecret][google.cloud.secretmanager.v1.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\u003eThis document provides reference information for the \u003ccode\u003eCreateSecretRequest\u003c/code\u003e class within the Google Cloud Secret Manager v1 API, specifically version 2.3.0, for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateSecretRequest\u003c/code\u003e class is used to send requests to the \u003ccode\u003eSecretManagerService.CreateSecret\u003c/code\u003e method, and it inherits from several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateSecretRequest\u003c/code\u003e class includes properties such as \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsProjectName\u003c/code\u003e, \u003ccode\u003eSecret\u003c/code\u003e, and \u003ccode\u003eSecretId\u003c/code\u003e, which are essential for defining the project, and the secret to create.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists the different versions available for the CreateSecretRequest, starting at 1.3.0 and goes up to 2.5.0, with the latest being 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eIt contains the constructor information for the \u003ccode\u003eCreateSecretRequest\u003c/code\u003e, as well as a brief description of the \u003ccode\u003eother\u003c/code\u003e parameter and its type in one of the constructors.\u003c/p\u003e\n"]]],[],null,[]]