public sealed class CreateSecretRequest : IMessage<CreateSecretRequest>, IEquatable<CreateSecretRequest>, IDeepCloneable<CreateSecretRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1beta1 API class CreateSecretRequest.
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 v1beta1 API."],["This class implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities for message manipulation, equality checking, deep cloning, and buffer message handling."],["The `CreateSecretRequest` class requires the `Parent`, which is the project name, and `Secret`, a Secret object, and `SecretId`, which is a string under 255 characters for the unique secret identifier, as properties when creating a secret."],["There are two constructors for creating an instance of the `CreateSecretRequest` class: one default constructor `CreateSecretRequest()` and another `CreateSecretRequest(CreateSecretRequest other)` that can copy the properties of another `CreateSecretRequest` instance."],["The latest version of this class available is 3.0.0-beta05, although it is currently under version 3.0.0-beta04, the documentation is within the `Google.Cloud.SecretManager.V1Beta1` namespace, and is contained within the `Google.Cloud.SecretManager.V1Beta1.dll` assembly."]]],[]]