Secret Manager v1 API - Class GetSecretVersionRequest (2.5.0)

public sealed class GetSecretVersionRequest : IMessage<GetSecretVersionRequest>, IEquatable<GetSecretVersionRequest>, IDeepCloneable<GetSecretVersionRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Secret Manager v1 API class GetSecretVersionRequest.

Request message for [SecretManagerService.GetSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.GetSecretVersion].

Inheritance

object > GetSecretVersionRequest

Namespace

Google.Cloud.SecretManager.V1

Assembly

Google.Cloud.SecretManager.V1.dll

Constructors

GetSecretVersionRequest()

public GetSecretVersionRequest()

GetSecretVersionRequest(GetSecretVersionRequest)

public GetSecretVersionRequest(GetSecretVersionRequest other)
Parameter
Name Description
other GetSecretVersionRequest

Properties

Name

public string Name { get; set; }

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

projects/*/secrets/*/versions/latest or projects/*/locations/*/secrets/*/versions/latest is an alias to the most recently created [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].

Property Value
Type Description
string

SecretVersionName

public SecretVersionName SecretVersionName { get; set; }

SecretVersionName-typed view over the Name resource name property.

Property Value
Type Description
SecretVersionName