Secret Manager v1 API - Class DisableSecretVersionRequest (2.3.0)

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

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

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

Inheritance

object > DisableSecretVersionRequest

Namespace

Google.Cloud.SecretManager.V1

Assembly

Google.Cloud.SecretManager.V1.dll

Constructors

DisableSecretVersionRequest()

public DisableSecretVersionRequest()

DisableSecretVersionRequest(DisableSecretVersionRequest)

public DisableSecretVersionRequest(DisableSecretVersionRequest other)
Parameter
NameDescription
otherDisableSecretVersionRequest

Properties

Etag

public string Etag { get; set; }

Optional. Etag of the [SecretVersion][google.cloud.secretmanager.v1.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
TypeDescription
string

Name

public string Name { get; set; }

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

Property Value
TypeDescription
string

SecretVersionName

public SecretVersionName SecretVersionName { get; set; }

SecretVersionName-typed view over the Name resource name property.

Property Value
TypeDescription
SecretVersionName