Instead of the collectionId string, pass a VariableCollection object.
collectionId
VariableCollection