Properly set resource name via DatasetBuilder and support userEmail Grant