# Copyright (c) 2022 CloudZero - ALL RIGHTS RESERVED - PROPRIETARY AND CONFIDENTIAL
# Unauthorized copying of this file and/or project, via any medium is strictly prohibited.
# Direct all questions to legal@cloudzero.com

import os

from czc.internal_api import client

GCP_CONNECTIONS_IAPI = {
    'namespace': lambda _: os.environ['NAMESPACE'],
    'feature': 'connections-gcp',
    'account_id': lambda: os.environ.get('CORE_ACCOUNT_ID')
}


@client.invoked(**GCP_CONNECTIONS_IAPI, api='get_all')
def get_all(organization_id: str):
    pass

