You can use the Configuration Web Service to programmatically retrieve and set the merge policy in the GCR.