def METHOD_NAME() -> Response:
    with util.scoped_state_sync() as state_sync:
        environments = state_sync.METHOD_NAME()
    return _success(common.EnvironmentsResponse(environments=environments))