def get_network_name_from_url(network_url):
    """Given a network URL, return the name of the network.

    Args:
      network_url: str - the fully qualified network url, such as
        (https://www.googleapis.com/compute/v1/projects/'
        'my-proj/global/networks/my-network')

    Returns:
      str - the network name, my-network in the previous example
    """
    return network_url.split('/')[-1]