deleteSecret method
Deletes a Secret.
Throws a http.ClientException if there were problems communicating with
the API service. Throws a StatusException if the API failed with a
Status message. Throws a ServiceException for any other failure.
Implementation
Future<void> deleteSecret(DeleteSecretRequest request) async {
final url = Uri.https(_host, '/v1/${request.name}', {
if (request.etag case final $1 when $1.isNotDefault) 'etag': $1,
});
await _client.delete(url);
}