public sealed class GetSecretRequest : IMessage<GetSecretRequest>, IEquatable<GetSecretRequest>, IDeepCloneable<GetSecretRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1 API class GetSecretRequest.
Request message for
[SecretManagerService.GetSecret][google.cloud.secretmanager.v1.SecretManagerService.GetSecret].
Required. The resource name of the
[Secret][google.cloud.secretmanager.v1.Secret], in the format
projects/*/secrets/* or projects/*/locations/*/secrets/*.
[[["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."],[[["This document provides reference documentation for the `GetSecretRequest` class within the Google Cloud Secret Manager v1 API, specifically for version 2.4.0."],["The `GetSecretRequest` class is used to request a secret from the Secret Manager service, implementing interfaces such as `IMessage`, `IEquatable`, and `IDeepCloneable`."],["The latest version available for the Secret Manager v1 API is 2.5.0, and the documentation outlines all versions going back to 1.3.0."],["Key properties of `GetSecretRequest` include `Name`, which specifies the secret's resource name, and `SecretName`, which offers a typed view over the `Name`."],["The `GetSecretRequest` class includes constructors to create new instances, either as a default or by copying an existing `GetSecretRequest` object."]]],[]]