Groups Settings API'ye genel bakış
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Groups Settings API, mevcut bir Google grubunun ayarlarını günceller ve alır. API aracılığıyla şunları yapabilirsiniz:
- Bir grubun dahili ve harici grup erişimi ayarlarını değiştirebilirsiniz.
- Grubun bildirimlerini düzenleyin.
- Tartışma arşivleme ve mesaj denetleme özelliklerini yapılandırın.
- Hesabınızdaki kullanıcı gruplarını özelleştirin.
Google Gruplar ile çalışmanın veya diğer grup türlerini yönetmenin daha fazla yolu için Cloud Identity belgelerine bakın.
Groups Settings API veri modeli
Groups Settings API, bir hesaptaki kullanıcıların diğer kullanıcı gruplarıyla nasıl iletişim kurduğunu ve birlikte çalıştığını gösteren bir Groups
kaynağında çalışır. Her grup, grubun e-posta adresiyle tanımlanır.
API veri modeli, hesabın gruplarının Groups
koleksiyonuna dayanır. Her grubun benzersiz bir yapılandırma ayarları grubu vardır.
Groups Settings API işlemleri
Aşağıdaki tabloda açıklandığı şekilde Groups Settings API'deki grup ayarları yöntemlerini çağırabilirsiniz:
İşlem |
Açıklama |
REST HTTP eşlemeleri |
get |
Bir müşterinin hesabı için grubun ayarlarını alır. Tüm alma işlemlerinin, kimliği doğrulanmış bir kullanıcı tarafından yetkilendirilmesi gerekir. |
GET değerini ekleyin. |
update |
Bir müşteri hesabına ilişkin grubun ayarlarını günceller. Tüm güncelleme işlemlerinin, kimliği doğrulanmış bir kullanıcı tarafından yetkilendirilmesi gerekir. |
Grup URI'sinde PUT . |
Groups Settings API varsayılan olarak verileri JSON biçiminde döndürür. Atom gösterimi, alternatif bir veri biçimidir. Hem JSON hem de Atom veri biçimleri tam okuma ve yazma özelliklerini destekler.
JSON, rastgele veri yapılarını temsil etmenin bir yöntemini sunan yaygın bir internet biçimidir. json.org adresine göre JSON tamamen dilden bağımsız olan bir metin biçimidir. Ancak C, C++, C#, Java, JavaScript, Perl ve Python gibi C-aile dillerinin programcılarının aşina olduğu kuralları kullanır.
API'nin veri biçimini değiştirmek için isteğinizin URI'sine alt
sorgu dizesini ekleyin. Örneğin:
JSON
GET https://www.googleapis.com/groups/v1/groups/salesgroup@example.com?alt=json
Atom
GET https://www.googleapis.com/groups/v1/groups/salesgroup@example.com?alt=atom
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-08-29 UTC.
[null,null,["Son güncelleme tarihi: 2025-08-29 UTC."],[],[],null,["# Groups Settings API overview\n\nThe Groups Settings API updates and retrieves settings for an existing\n[Google Group](https://support.google.com/a/topic/25838?&ref_topic=9197). Through\nthe API, you can do the following:\n\n- Modify a group's settings for internal and external group access.\n- Edit the group's notifications.\n- Configure discussion archiving and message moderation.\n- Customize your account's user groups.\n\nFor more ways to work with Google Groups, or manage other types of groups, see the\n[Cloud Identity documentation](https://cloud.google.com/identity/docs).\n\n### Groups Settings API data model\n\nThe Groups Settings API operates on a `Groups` resource which represents how users\nwithin an account communicate and collaborate with groups of other people. Each group is identified\nby the group's email address.\n\nThe API data model is based on the `Groups` collection of the account's groups. Each\ngroup has a unique set of configuration settings.\n\n### Groups Settings API operations\n\nYou can call group settings methods in the Groups Settings API, as described in the following\ntable:\n\n| Operation | Description | REST HTTP mappings |\n|-----------|------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------|\n| `get` | Gets a group's settings for a customer's account. All get operations must be authorized by an [authenticated](/workspace/guides/auth-overview) user. | `GET` on a group URI. |\n| `update` | Updates a group's settings for a customer's account. All update operations must be authorized by an [authenticated](/workspace/guides/auth-overview) user. | `PUT` on a group URI. |\n\nJSON and Atom data formats\n--------------------------\n\nBy default, the Groups Settings API returns data in JSON format. The Atom notation is an alternate\ndata format. Both the JSON and Atom data formats support full read-write capabilities.\n\nJSON is a common\ninternet format that provides a method of representing arbitrary data structures. According to\n[json.org](http://www.json.org), JSON is a text format\nthat is completely language-independent but uses conventions that are familiar to programmers of\nthe C-family of languages, including C, C++, C#, Java, JavaScript, Perl, and Python.\n\n\u003cbr /\u003e\n\nTo change the API's data format, include the `alt` query string in your request's\nURI---for example:\n\n### JSON\n\n```\nGET https://www.googleapis.com/groups/v1/groups/salesgroup@example.com?alt=json\n```\n\n### Atom\n\n```\nGET https://www.googleapis.com/groups/v1/groups/salesgroup@example.com?alt=atom\n```"]]