def list_subscriptions(client, args):
    next_page_token = None
    while True:
        if args.topic is None:
            resp = client.projects().subscriptions().list(
                project='projects/{}'.format(args.project_name),
                pageToken=next_page_token).execute(num_retries=NUM_RETRIES)
        else:
            topic = get_full_topic_name(args.project_name, args.topic)
            resp = client.projects().topics().subscriptions().list(
                topic=topic,
                pageToken=next_page_token).execute(num_retries=NUM_RETRIES)
        for subscription in resp['subscriptions']:
            print json.dumps(subscription, indent=1)
        next_page_token = resp.get('nextPageToken')
        if not next_page_token:
            break
The identifier of the target node.
dataset/ETHPy150Open GoogleCloudPlatform/cloud-pubsub-samples-python/cmdline-pull/pubsub_sample.py/list_subscriptions--crossover with--dataset/ETHPy150Open scipy/scipy/scipy/cluster/hierarchy.py/ClusterNode.get_id