"Representation matters. So every time there's another Latino on this Walk of Fame, it's another win for a whole community," the 43-year-old actress from a Texas family tracing its roots to Mexico told AFP.
Longoria received the honour in the presence of her husband, former Televisa chairman Jose Baston. They are expecting their first child in May.
Celebrities such as Ricky Martin, Victoria Beckham and actresses Felicity Huffman and Anna Faris also attended the ceremony.
"It's really important for me to be here, for people to come and see the star, and know that you can do it with a lot of hard work," said Longoria..