For Edith Williams, from the advocacy group Idaho for Non Lethal Canine Encounter Training, the seeds of that happy ending were planted a year earlier.
In 2014, she attended a canine encounter class in Boise, Idaho, offered by Jim Osorio of Canine Encounters Law Enforcement Training. A lieutenant from the Meridian Police Department was also in that class.
"He took what he learned there, and taught all their officers, and a year later, this incident that is now going viral happened," she tells the Dodo. "This is a story that has come full circle."
The incident provides a refreshing contrast to a spate of police and dog encounters ending fatally for the dogs.
Instead of resulting in a police officer villainized on social media - and a police department facing a potential lawsuit - this incident is being hailed as a model for police and dog relations.
"It's almost like there is a sense of hope in this environment of anti-law enforcement that is on a national platform right now," says Williams, who unearthed the video through a public information request. "This video reaches a lot further than animal advocacy - it reaches the public."
And no dogs were harmed in the making of it.
"I don't think I was anywhere close to drawing my weapon," Gomez says.
Indeed, he says, he still had so many ways at his disposal to control those dogs: "I still have a boot. I have a taser. I still have lots of brainpower to go along with it."
If you would like to help Idaho for Non Lethal Canine Encounter Training in its mission to teach safe dog encounter training for law enforcement officers and agencies across the state, consider making a donation here.
Watch the full video below.