Drupal 8 Block machine name

How can I get the name of the $ block_id block machine programmatically in Drupal 8?

$ block_id = computer_name_to_determine & # 39 ;;

$ block_config = Drupal block Entity Block :: load ($ block_id);