public sealed class DestroySecretVersionRequest : IMessage<DestroySecretVersionRequest>, IEquatable<DestroySecretVersionRequest>, IDeepCloneable<DestroySecretVersionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1beta2 API class DestroySecretVersionRequest.
Request message for [SecretManagerService.DestroySecretVersion][google.cloud.secretmanager.v1beta2.SecretManagerService.DestroySecretVersion].
Implements
IMessageDestroySecretVersionRequest, IEquatableDestroySecretVersionRequest, IDeepCloneableDestroySecretVersionRequest, IBufferMessage, IMessageNamespace
Google.Cloud.SecretManager.V1Beta2Assembly
Google.Cloud.SecretManager.V1Beta2.dll
Constructors
DestroySecretVersionRequest()
public DestroySecretVersionRequest()
DestroySecretVersionRequest(DestroySecretVersionRequest)
public DestroySecretVersionRequest(DestroySecretVersionRequest other)
Parameter | |
---|---|
Name | Description |
other | DestroySecretVersionRequest |
Properties
Etag
public string Etag { get; set; }
Optional. Etag of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion]. The request succeeds if it matches the etag of the currently stored secret version object. If the etag is omitted, the request succeeds.
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
Required. The resource name of the
[SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] to
destroy in the format projects/*/secrets/*/versions/*
or
projects/*/locations/*/secrets/*/versions/*
.
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 |