def __get_image(conn, vm_):
    img = config.get_cloud_config_value(
        'image', vm_, __opts__, default='debian-7', search_global=False)
    return conn.ex_get_image(img)
The get_image for GCE allows partial name matching and returns a
dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/gce.py/__get_image