It's A Dog's Life by John R. Erickson

A boastful ranch dog, self-appointed as head of security, recounts a series of comic misadventures on a Texas cattle ranch as he wrangles everyday “crises,” skirmishes with a crafty barn cat, faces down coyotes, and blunders his way through investigations with his trusty but timid sidekick; amid the bravado and bungles, he stumbles into small triumphs and learns a few humbling lessons about loyalty and courage.

Purchase from Bookshop.org