Secret Manager V1 API - Class Google::Cloud::SecretManager::V1::DestroySecretVersionRequest (v0.21.0)

Reference documentation and code samples for the Secret Manager V1 API class Google::Cloud::SecretManager::V1::DestroySecretVersionRequest.

Request message for SecretManagerService.DestroySecretVersion.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#etag

def etag() -> ::String
Returns
  • (::String) — Optional. Etag of the SecretVersion. The request succeeds if it matches the etag of the currently stored secret version object. If the etag is omitted, the request succeeds.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — Optional. Etag of the SecretVersion. The request succeeds if it matches the etag of the currently stored secret version object. If the etag is omitted, the request succeeds.
Returns
  • (::String) — Optional. Etag of the SecretVersion. The request succeeds if it matches the etag of the currently stored secret version object. If the etag is omitted, the request succeeds.

#name

def name() -> ::String
Returns
  • (::String) — Required. The resource name of the SecretVersion to destroy in the format projects/*/secrets/*/versions/* or projects/*/locations/*/secrets/*/versions/*.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the SecretVersion to destroy in the format projects/*/secrets/*/versions/* or projects/*/locations/*/secrets/*/versions/*.
Returns
  • (::String) — Required. The resource name of the SecretVersion to destroy in the format projects/*/secrets/*/versions/* or projects/*/locations/*/secrets/*/versions/*.