You agreed to it: "We may review content to determine whether it is illegal or violates our Program Policies, and we may remove or refuse to display content that we reasonably believe violates our policies or the law." https://www.google.com/drive/terms-of-service/?hl=en
Their list of policy violations is quite long: https://support.google.com/docs/answer/148505#zippy=