ActionType
枚举 |
ACTION_TYPE_UNSPECIFIED |
未指定操作类型。 |
DRIVE_BLOCK_EXTERNAL_SHARING |
禁止与外部人员共享文件。 |
DRIVE_WARN_ON_EXTERNAL_SHARING |
对外共享文件时显示警告消息。 |
DELETE_WEBPROTECT_EVIDENCE |
删除网络保护证据文件 |
ALERT |
发送提醒。 |
RULE_ACTIVATE |
启用规则操作 |
RULE_DEACTIVATE |
停用规则操作 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-22。
[null,null,["最后更新时间 (UTC):2024-08-22。"],[[["Rule actions define the response taken when a security rule is triggered, such as blocking external sharing, displaying warnings, deleting evidence, or sending alerts."],["Actions are categorized using specific enum values, like `DRIVE_BLOCK_EXTERNAL_SHARING` for blocking external file sharing and `ALERT` for triggering an alert."],["Rule actions also include options for activating or deactivating specific responses using enums `RULE_ACTIVATE` and `RULE_DEACTIVATE`."]]],[]]