Reference documentation and code samples for the Secret Manager V1BETA2 API class Google::Cloud::SecretManager::V1beta2::DeleteSecretRequest.
Request message for SecretManagerService.DeleteSecret.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#etag
def etag() -> ::String
Returns
- (::String) — Optional. Etag of the Secret. The request succeeds if it matches the etag of the currently stored secret object. If the etag is omitted, the request succeeds.
#etag=
def etag=(value) -> ::String
Parameter
- value (::String) — Optional. Etag of the Secret. The request succeeds if it matches the etag of the currently stored secret object. If the etag is omitted, the request succeeds.
Returns
- (::String) — Optional. Etag of the Secret. The request succeeds if it matches the etag of the currently stored secret object. If the etag is omitted, the request succeeds.
#name
def name() -> ::String
Returns
-
(::String) — Required. The resource name of the
Secret to delete in the format
projects/*/secrets/*
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the
Secret to delete in the format
projects/*/secrets/*
.
Returns
-
(::String) — Required. The resource name of the
Secret to delete in the format
projects/*/secrets/*
.