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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `CreateSecretRequest` class is used to create a request for the `SecretManagerService.CreateSecret` method within the Google Cloud Secret Manager API, specifically in the `v1beta1` version."],["This class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities for message handling, equality comparison, deep cloning, and buffer management."],["The `CreateSecretRequest` class requires specifying a `Parent` project name, a `Secret` object with initial field values, and a unique `SecretId` within the project."],["There are two constructors available: a default constructor and a constructor that accepts another `CreateSecretRequest` object for copying its properties."],["It contains the properties `Parent`, `ParentAsProjectName`, `Secret` and `SecretId` that are used to define which secret will be created and where it will be stored."]]],[]]