Two Santa Clara County Sheriff's deputies were injured and a suspect died Tuesday after authorities responded to a report of a suicidal man at an office park in Saratoga.

In an afternoon tweet, the sheriff's office reported the injuries at Saratoga and McFarland avenues.

A police spokesperson said the call came in around noon as a report of a suicidal male. Deputies arrived on scene and shots were subsequently fired when the man attacked a deputy with a blunt, metal object.

Officials said the deputy, fearing for his life, fired his gun once and struck the suspect in the chest.

After being shot, the man continued to be combative and had to be restrained before he could receive medical attention. The man was transported to a hospital, where he died.

The deputies' injuries were said to be non-life threatening. Neither officer was shot.

Consumer electronics company Roku, best known for its subscription-based video streaming services, has an office nearby. "We are aware of an incident, but are not commenting,” the company said in a statement.

Shootings are rare in Saratoga, a small, affluent city of about 30,000 people in the western part of Silicon Valley. SafeWise ranked Saratoga as the No. 1safest city in California in 2013.

This is the second officer-involved shooting for the sheriff's department in less than a month.

On Nov. 16, Deputy Jennifer Galan shot and killed Andrea Naharro-Gionet, 61, of San Jose, who deputies say wouldn't drop her knife on Cleveland Avenue in unincorporated San Jose. Sgt. Kurtis Stenderup said Naharro-Gionet was advancing on Galan, who along with her two colleagues, were yelling at her to drop her weapon - commands that the deputies said were ignored.