def avail_sizes(conn=None):
    if not conn:
        conn = get_conn()
    raw_sizes = conn.list_sizes('all')  # get *all* the machine types!
    sizes = []
    for size in raw_sizes:
        zone = size.extra['zone']
        size.extra['zone'] = {}
        size.extra['zone'].update(zone.__dict__)
        mtype = {}
        mtype.update(size.__dict__)
        sizes.append(mtype)
    return sizes
Sends a tar to an output stream.
dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/gce.py/avail_sizes--crossover with--dataset/ETHPy150Open google/lab_device_proxy/lab_device_proxy_client.py/SendTar