ErrorCode
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
ERROR_CODE_UNSPECIFIED |
缺少错误代码。 |
SHARES_PUBSUB_TOPIC_MESSAGE_ACROSS_VERSIONS |
此 API 的其他版本正在使用“updateNotificationSetting”RPC 中提供的 Pub/Sub 主题名称。请提供新的主题名称以缓解此问题。 |
PUBLISH_PERMISSIONS_MISSING_FOR_PUBSUB_TOPIC |
为更新通知设置提供的 Pub/Sub 主题名称没有该用户的发布权限。 |
INVALID_PUBSUB_TOPIC |
为更新通知设置提供的 Pub/Sub 主题名称无效。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThe API uses specific error codes to indicate issues, including unspecified errors, topic name conflicts, and permission or validation problems with the pub/sub topic.\u003c/p\u003e\n"],["\u003cp\u003eIf the 'updateNotificationSetting' request uses a pub/sub topic name that's already in use by other API versions, provide a new topic name.\u003c/p\u003e\n"],["\u003cp\u003eEnsure the user has publish permissions for the specified pub/sub topic to avoid errors related to permissions.\u003c/p\u003e\n"],["\u003cp\u003eThe pub/sub topic name provided in the request must be valid to prevent invalid topic errors.\u003c/p\u003e\n"]]],["The document outlines API error codes. `ERROR_CODE_UNSPECIFIED` indicates a missing error code. `SHARES_PUBSUB_TOPIC_MESSAGE_ACROSS_VERSIONS` means a provided pub/sub topic name is already in use by other API versions, requiring a new topic name. `PUBLISH_PERMISSIONS_MISSING_FOR_PUBSUB_TOPIC` signals that the user lacks publish permissions for the provided pub/sub topic. Finally, `INVALID_PUBSUB_TOPIC` denotes that the supplied pub/sub topic name is not valid.\n"],null,["# ErrorCode\n\nAll errors codes returned by the API.\n\n| Enums ||\n|------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ERROR_CODE_UNSPECIFIED` | Missing error code. |\n| `SHARES_PUBSUB_TOPIC_MESSAGE_ACROSS_VERSIONS` | The pub/sub topic name provided in the 'updateNotificationSetting' rpc is being used by other versions of this API. Please supply a new topic name to mitigate this issue. |\n| `PUBLISH_PERMISSIONS_MISSING_FOR_PUBSUB_TOPIC` | The pub/sub topic name supplied for update notification setting doesn't have publish permissions for the user. |\n| `INVALID_PUBSUB_TOPIC` | The pub/sub topic name supplied for update notification setting is invalid. |"]]