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 `CreateSecretRequest` class is used to create a request for the `SecretManagerService.CreateSecret` method within the Google Cloud Secret Manager API, and it's a message type."],["The class is part of the `Google.Cloud.SecretManager.V1` namespace and is implemented in the `Google.Cloud.SecretManager.V1.dll` assembly, with version 1.7.0."],["This class implements multiple interfaces, including `IMessage`, `IEquatable\u003cCreateSecretRequest\u003e`, `IDeepCloneable\u003cCreateSecretRequest\u003e`, and `IBufferMessage`, and inherits members from the `Object` class."],["The `CreateSecretRequest` has properties for setting the `Parent` project, the `Secret` object, and the `SecretId`, all of which are required for creating the secret."],["The `SecretId` property is a unique identifier for the secret within the project, limited to 255 characters, allowing uppercase and lowercase letters, numbers, hyphens, and underscores."]]],[]]