Secret Manager v1 API - Class GetSecretRequest (2.5.0)

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].

Inheritance

object > GetSecretRequest

Namespace

Google.Cloud.SecretManager.V1

Assembly

Google.Cloud.SecretManager.V1.dll

Constructors

GetSecretRequest()

public GetSecretRequest()

GetSecretRequest(GetSecretRequest)

public GetSecretRequest(GetSecretRequest other)
Parameter
Name Description
other GetSecretRequest

Properties

Name

public string Name { get; set; }

Required. The resource name of the [Secret][google.cloud.secretmanager.v1.Secret], in the format projects/*/secrets/* or projects/*/locations/*/secrets/*.

Property Value
Type Description
string

SecretName

public SecretName SecretName { get; set; }

SecretName-typed view over the Name resource name property.

Property Value
Type Description
SecretName