#NEWLINE# def delete( filename , retry_params = None , _account_id = None ) : #NEWLINE# #INDENT# "Delete a Google Cloud Storage file.\n\n  Args:\n    filename: A Google Cloud Storage filename of form '/bucket/filename'.\n    retry_params: An api_utils.RetryParams for this call to GCS. If None,\n      the default one is used.\n    _account_id: Internal-use only.\n\n  Raises:\n    errors.NotFoundError: if the file doesn't exist prior to deletion.\n  " #NEWLINE# api = storage_api . _get_storage_api ( retry_params = retry_params , account_id = _account_id ) #NEWLINE# common . validate_file_path ( filename ) #NEWLINE# filename = api_utils . _quote_filename ( filename ) #NEWLINE# ( status , resp_headers , content ) = api . delete_object ( filename ) #NEWLINE# errors . check_status ( retry_params , [ 204 ] , filename , resp_headers = resp_headers , body = content )