Method: schemas.patch
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
HTTP isteği
PATCH https://admin.googleapis.com/admin/directory/v1/customer/{customerId}/schemas/{schemaKey}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
customerId |
string
Google Workspace hesabının değişmeyen kimliği.
|
schemaKey |
string
Şemanın adı veya sabit kimliği.
|
İstek içeriği
İstek metni, Schema
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılıysa yanıt metni, Schema
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/admin.directory.userschema
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: schemas.patch\n\nPatches a schema.\n\n### HTTP request\n\n`PATCH https://admin.googleapis.com/admin/directory/v1/customer/{customerId}/schemas/{schemaKey}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------|--------------------------------------------------------|\n| `customerId` | `string` Immutable ID of the Google Workspace account. |\n| `schemaKey` | `string` Name or immutable ID of the schema. |\n\n### Request body\n\nThe request body contains an instance of [Schema](/workspace/admin/directory/reference/rest/v1/schemas#Schema).\n\n### Response body\n\nIf successful, the response body contains an instance of [Schema](/workspace/admin/directory/reference/rest/v1/schemas#Schema).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/admin.directory.userschema`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]