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, 'filestore') return auth.list(link, return_if_object, array_name='instances')
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='keyRings')
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, 'cloudscheduler') return auth.list(link, return_if_object, array_name='jobs')
def fetch_list(module, link): auth = GcpSession(module, 'bigquery') return auth.list(link, return_if_object, array_name='tables')
def fetch_list(module, link): auth = GcpSession(module, 'serviceusage') return auth.list(link, return_if_object, array_name='services')
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, 'runtimeconfig') return auth.list(link, return_if_object, array_name='variables')
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, 'resourcemanager') return auth.list(link, return_if_object, array_name='projects')
def fetch_list(module, link): auth = GcpSession(module, 'cloudfunctions') return auth.list(link, return_if_object, array_name='functions')
def fetch_list(module, link): auth = GcpSession(module, 'logging') return auth.list(link, return_if_object, array_name='metrics')
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, 'sql') return auth.list(link, return_if_object, array_name='items')
def fetch_list(module, link): auth = GcpSession(module, 'pubsub') return auth.list(link, return_if_object, array_name='subscriptions')
def fetch_list(module, link): auth = GcpSession(module, 'iam') return auth.list(link, return_if_object, array_name='roles')
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, 'cloudbuild') return auth.list(link, return_if_object, array_name='triggers')