def METHOD_NAME(creds=None):
    """Build monitoring service."""
    service = discovery.build(_MONITORING_SERVICE_NAME,
                              _MONITORING_SERVICE_API_VERSION,
                              credentials=creds,
                              cache=_MemoryCache())
    return service