Reference documentation and code samples for the Secret Manager V1BETA2 API class Google::Cloud::SecretManager::V1beta2::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/*orprojects/*/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/*orprojects/*/locations/*/secrets/*/versions/*.
    Returns
    
- 
        (::String) — Required. The resource name of the
SecretVersion to
destroy in the format projects/*/secrets/*/versions/*orprojects/*/locations/*/secrets/*/versions/*.