Secret Manager v1beta2 API - Class GetSecretVersionRequest (1.0.0-beta02)

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

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

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

Inheritance

object > GetSecretVersionRequest

Namespace

Google.Cloud.SecretManager.V1Beta2

Assembly

Google.Cloud.SecretManager.V1Beta2.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.v1beta2.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.v1beta2.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