public sealed class CreateSecretRequest : IMessage<CreateSecretRequest>, IEquatable<CreateSecretRequest>, IDeepCloneable<CreateSecretRequest>, IBufferMessage, IMessage
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 outlines the \u003ccode\u003eCreateSecretRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.SecretManager.V1\u003c/code\u003e namespace, used for creating secrets in the Google Cloud Secret Manager.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateSecretRequest\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, and inherits from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eCreateSecretRequest\u003c/code\u003e available, ranging from version 1.3.0 to the latest version 2.5.0, all located under their respective paths, where it is currently being accessed at version 2.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class requires parameters such as \u003ccode\u003eParent\u003c/code\u003e (project name), \u003ccode\u003eSecret\u003c/code\u003e (initial secret values), and \u003ccode\u003eSecretId\u003c/code\u003e (unique identifier within the project).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecretId\u003c/code\u003e must be a string of up to 255 characters and contain uppercase and lowercase letters, numerals, hyphens (\u003ccode\u003e-\u003c/code\u003e) and underscores (\u003ccode\u003e_\u003c/code\u003e).\u003c/p\u003e\n"]]],[],null,[]]