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"]],[["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 latest version of the `CreateSecretRequest` is 2.5.0, with various other versions available, spanning from 2.4.0 down to 1.3.0."],["`CreateSecretRequest` is a request message used for creating a secret in the Secret Manager Service, and it inherits from the `Object` class, implementing several interfaces, such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["This class is located within the `Google.Cloud.SecretManager.V1` namespace and is part of the `Google.Cloud.SecretManager.V1.dll` assembly."],["The `CreateSecretRequest` class requires three properties to be set: `Parent`, the project name associated with the secret, `Secret`, the initial field values of the secret, and `SecretId`, a unique identifier within the project for the secret."],["There are two constructors available: a default parameterless constructor and another one that takes another `CreateSecretRequest` object as the argument."]]],[]]