Secret Manager v1 API - Class AccessSecretVersionRequest (2.5.0)

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

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

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

Inheritance

object > AccessSecretVersionRequest

Namespace

Google.Cloud.SecretManager.V1

Assembly

Google.Cloud.SecretManager.V1.dll

Constructors

AccessSecretVersionRequest()

public AccessSecretVersionRequest()

AccessSecretVersionRequest(AccessSecretVersionRequest)

public AccessSecretVersionRequest(AccessSecretVersionRequest other)
Parameter
Name Description
other AccessSecretVersionRequest

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