Method: updateSettings
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Müşteri düzeyindeki ayarları günceller.
HTTP isteği
PATCH https://alertcenter.googleapis.com/v1beta1/settings
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Sorgu parametreleri
Parametreler |
customerId |
string
İsteğe bağlı. Uyarı ayarlarının ilişkili olduğu müşterinin Google Workspace hesabının benzersiz tanımlayıcısıdır. customerId öğesinden "C" harfi kaldırılmalıdır (örneğin, 046psxkn ). Sağlanmazsa arayan kimliğinden çıkarılır. Müşteri kimliğinizi bulun.
|
İstek içeriği
İstek metni, Settings
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılıysa yanıt metni, Settings
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/apps.alerts
Daha fazla bilgi için Yetkilendirme kılavuzuna bakın.
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-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[],[],null,["# Method: updateSettings\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n\nUpdates the customer-level settings.\n\n### HTTP request\n\n`PATCH https://alertcenter.googleapis.com/v1beta1/settings`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n| Parameters ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `customerId` | `string` Optional. The unique identifier of the Google Workspace account of the customer the alert settings are associated with. The `customerId` must have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793). |\n\n### Request body\n\nThe request body contains an instance of [Settings](/workspace/admin/alertcenter/reference/rest/v1beta1/Settings).\n\n### Response body\n\nIf successful, the response body contains an instance of [Settings](/workspace/admin/alertcenter/reference/rest/v1beta1/Settings).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/apps.alerts`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]