def list_notification_channels(project_name):
"""List alert notification channels in a project.
Arguments:
project_name (str): The Google Cloud Project to use. The project name
must be in the format - 'projects/<PROJECT_NAME>'.
"""
client = monitoring_v3.NotificationChannelServiceClient()
channels = client.list_notification_channels(name=project_name)
print(
tabulate.tabulate(
[(channel.name, channel.display_name) for channel in channels],
("name", "display_name"),
)
)