Secret Manager v1beta2 API - Class EnableSecretVersionRequest (1.0.0-beta01)

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

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

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

Inheritance

object > EnableSecretVersionRequest

Namespace

Google.Cloud.SecretManager.V1Beta2

Assembly

Google.Cloud.SecretManager.V1Beta2.dll

Constructors

EnableSecretVersionRequest()

public EnableSecretVersionRequest()

EnableSecretVersionRequest(EnableSecretVersionRequest)

public EnableSecretVersionRequest(EnableSecretVersionRequest other)
Parameter
NameDescription
otherEnableSecretVersionRequest

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
TypeDescription
string

Name

public string Name { get; set; }

Required. The resource name of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] to enable in the format projects/*/secrets/*/versions/* or projects/*/locations/*/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