def fetch_list(module, link): auth = GcpSession(module, 'dns') return auth.list(link, return_if_object, array_name='rrsets')
def fetch_list(module, link): auth = GcpSession(module, 'spanner') return auth.list(link, return_if_object, array_name='databases')
def fetch_list(module, link): auth = GcpSession(module, 'pubsub') return auth.list(link, return_if_object, array_name='topics')
def fetch_list(module, link): auth = GcpSession(module, 'redis') return auth.list(link, return_if_object, array_name='instances')
def fetch_list(module, link): auth = GcpSession(module, 'sourcerepo') return auth.list(link, return_if_object, array_name='repos')
def fetch_list(module, link): auth = GcpSession(module, 'sql') return auth.list(link, return_if_object, array_name='items')
def fetch_list(module, link): auth = GcpSession(module, 'cloudtasks') return auth.list(link, return_if_object, array_name='queues')
def fetch_list(module, link): auth = GcpSession(module, 'bigquery') return auth.list(link, return_if_object, array_name='datasets')
def fetch_list(module, link): auth = GcpSession(module, 'cloudbuild') return auth.list(link, return_if_object, array_name='triggers')
def fetch_list(module, link): auth = GcpSession(module, 'iam') return auth.list(link, return_if_object, array_name='accounts')
def fetch_list(module, link): auth = GcpSession(module, 'tpu') return auth.list(link, return_if_object, array_name='nodes')
def fetch_list(module, link): auth = GcpSession(module, 'container') return auth.list(link, return_if_object, array_name='clusters')
def fetch_list(module, link): auth = GcpSession(module, 'resourcemanager') return auth.list(link, return_if_object, array_name='projects')
def fetch_list(module, link): auth = GcpSession(module, 'cloudscheduler') return auth.list(link, return_if_object, array_name='jobs')
def fetch_list(module, link, query): auth = GcpSession(module, 'dns') return auth.list(link, return_if_object, array_name='managedZones', params={'dnsName': query})
def fetch_list(module, link): auth = GcpSession(module, 'appengine') return auth.list(link, return_if_object, array_name='ingressRules')
def fetch_list(module, link): auth = GcpSession(module, 'kms') return auth.list(link, return_if_object, array_name='cryptoKeys')
def fetch_list(module, link): auth = GcpSession(module, 'mlengine') return auth.list(link, return_if_object, array_name='versions')
def fetch_list(module, link, query): auth = GcpSession(module, 'compute') return auth.list(link, return_if_object, array_name='items', params={'filter': query})
def fetch_list(module, link): auth = GcpSession(module, 'cloudfunctions') return auth.list(link, return_if_object, array_name='functions')