CategoryView
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThe \u003ccode\u003eCategoryView\u003c/code\u003e enum controls the amount of category data returned by the server to improve efficiency.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBASIC\u003c/code\u003e view provides minimal data like display name, ID, and language, omitting service details.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFULL\u003c/code\u003e view returns all available category data fields.\u003c/p\u003e\n"],["\u003cp\u003eUsing \u003ccode\u003eCATEGORY_VIEW_UNSPECIFIED\u003c/code\u003e defaults to \u003ccode\u003eCATEGORY_METADATA_ONLY\u003c/code\u003e, providing basic category information.\u003c/p\u003e\n"]]],[],null,["# CategoryView\n\nAn enum to help limit the amount of data returned by the server.\n\n| Enums ||\n|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|\n| `CATEGORY_VIEW_UNSPECIFIED` | Not specified, equivalent to CATEGORY_METADATA_ONLY. |\n| `BASIC` | The server response will only include Category fields displayName, category_id and languageCode. It omits any service type metadata related fields. |\n| `FULL` | Returns all the fields in the response. |"]]