Regardless of what you think of Google or this case specifically, this is an argument for authoritarianism: that it is legitimate for the government to "punish" any company at will, based only on them falling into political disfavor.
> ... the only punishment Google would have to bear from this trial would come after the government won its case, when the judge decided on a punishment (the term of art is "remedy") for Google.
Yes, this is called the rule of law. Punishment comes through the courts, after a guilty verdict. The government has to actually win the argument as to what remedies would be proportionate under the law. In this case the judge didn't buy it. It's fine to disagree with his reasoning (or with the law), but the fantasizing about extrajudicial punishment here is frankly un-American.
Who can know how appropriate or not the remedy was when the evidence is hidden?
For full disclosure: I'm neither a google employee nor a US citizen.
Suppose the government charges you with murder, searches your house, and finds your sex toy collection. At trial they present some elaborate thesis about how you used a sex toy to kill someone, but do not convince the jury, so you're found not guilty. The public has a legitimate interest in judging that the trial was handled with integrity and that the correct verdict was reached. They do not have a legitimate interest in judging you based on whatever private information presented at trial might in some way embarrass you (eg, photos of your sex toy collection). On balance, it could be that the public-record interest does in fact justify making public the evidence of the sex toys, but you have to justify it on those terms. The transparency is not itself intended to be punitive.
There is a definite public interest in understanding how Google conducts itself given the reach and impact it has.
There is no way for the public to have confidence in the trial process if it is conducted in secret, and given the outcome every reason to question the process.
I'm surprised anybody objective would defend this.