動態群組是指會自動管理成員資格的 Google 群組,這類群組會根據成員查詢或員工屬性 (例如職務或辦公建築物地點) 進行查詢。例如,成員查詢可以是「本機構中所有職稱為 Technical Writer 的使用者」。
您會提供查詢,做為群組定義的一部分,Google 系統會確保貴機構中所有符合條件的使用者都是群組成員。會員查詢是使用一般運算語言 (CEL) 編寫,這是用於編寫 Google Cloud API 運算式的標準語言。
雖然動態群組的建立和維護方式與 Google 網路論壇不同,但兩者用途相同。也就是說,動態群組可用於電子郵件群組 (傳送電子郵件給特定人員),以及管理 Identity and Access Management (IAM) 和 Google Workspace 政策。如要進一步瞭解 IAM 政策,請參閱「身分與存取權管理」。如要進一步瞭解 Google Workspace 政策,請參閱「使用存取權群組自訂 Google Workspace 服務的存取權」和「使用配置群組自訂服務設定」。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[[["\u003cp\u003eDynamic groups are Google Groups with memberships automatically managed by a query based on employee attributes, such as job role.\u003c/p\u003e\n"],["\u003cp\u003eThese groups use Common Expression Language (CEL) for membership queries and are used for email distribution and managing Identity and Access Management (IAM) and Google Workspace policies.\u003c/p\u003e\n"],["\u003cp\u003eDynamic groups are available only to certain Google Workspace and Cloud Identity premium accounts, with a default limit of 500 groups per customer.\u003c/p\u003e\n"],["\u003cp\u003eDynamic groups can be managed via REST API or client libraries but cannot be added as members of a regular Google Group.\u003c/p\u003e\n"],["\u003cp\u003eUsers can formulate and test membership queries and create dynamic groups as next steps.\u003c/p\u003e\n"]]],[],null,["# Dynamic groups overview\n=======================\n\nA *dynamic group* is a\nGoogle Group whose memberships are automatically managed using a membership\nquery or a query on employee attributes, such as job role or building location.\nFor example, a membership query might be \"all users whose job role is Technical\nWriter in my organization.\"\n| **Note:** Dynamic groups are only available to Google Workspace Enterprise Standard, Enterprise Plus, Enterprise for Education, and Cloud Identity premium accounts. You can create up to 500 dynamic groups per customer. This limit can be increased on a case-by-case basis---contact [Google Workspace Support](https://support.google.com/a/answer/1047213) with your specific use case to request an increase.\n\nAs part of the group's definition, you supply the query and Google systems\nensure that all matching users in your organization are members of the group.\nMembership queries are written using\n[*Common Expression Language (CEL)*](https://opensource.google.com/projects/cel)\nwhich is the standard language used to write expressions for Google Cloud\nAPIs.\n\nThough dynamic groups are created and maintained differently than Google Groups,\nthey are used for the same purposes. Namely, dynamic groups are used as email\ngroups (to send email to a specific set of people) and for managing\nIdentity and Access Management (IAM) and Google Workspace policies.\nFor further information on IAM policies, see\n[IAM](/iam).\nFor further information on Google Workspace policies, see\n[Customize access to Google Workspace services using access groups](https://support.google.com/a/answer/9050643)\nand [Customize service settings with configuration groups](https://support.google.com/a/answer/9224126).\n\nFor introductory information on policies, refer to\n[Understanding policies](/iam/docs/policies).\n| **Note:** You cannot add a dynamic group as a member of a regular Google Group.\n\nTechnologies used to create a dynamic group\n-------------------------------------------\n\nYou can create and manage dynamic groups using the REST API or client libraries.\n\nWhat's next\n-----------\n\nHere are a few next steps you might take:\n\n- [Formulate and test a membership query](/identity/docs/how-to/test-query-dynamic-groups).\n- [Create a dynamic group](/identity/docs/how-to/create-dynamic-groups)."]]