Method: properties.customDimensions.patch
Bir mülkte ÖzelBoyut'u günceller.
HTTP isteği
PATCH https://analyticsadmin.googleapis.com/v1alpha/{customDimension.name=properties/*/customDimensions/*}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
customDimension.name |
string
Yalnızca çıkış. Bu CustomDimension kaynağının kaynak adı. Biçim: properties/{property}/customDimensions/{customDimension}
|
Sorgu parametreleri
Parametreler |
updateMask |
string (FieldMask format)
Zorunlu. Güncellenecek alanların listesi. Atlanan alanlar güncellenmez. Öğenin tamamını değiştirmek için tüm alanları eşleştirmek üzere "*" dizesiyle bir yol kullanın. Bu, alanların tam nitelikli adlarının virgülle ayrılmış bir listesidir. Örnek: "user.displayName,photo" .
|
İstek içeriği
İstek metni, CustomDimension
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılıysa yanıt metni, CustomDimension
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/analytics.edit
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-01-14 UTC.
[null,null,["Son güncelleme tarihi: 2025-01-14 UTC."],[[["Updates a specified CustomDimension on a Google Analytics 4 property using an HTTP PATCH request."],["The request should target a URL containing the property and CustomDimension identifiers, using gRPC Transcoding syntax."],["Users must provide an `updateMask` query parameter to specify the fields to update within the CustomDimension."],["The request body must contain a CustomDimension object with the desired changes and the response will contain the updated CustomDimension."],["Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope."]]],["This document details updating a CustomDimension on a property using a PATCH request. The endpoint is `https://analyticsadmin.googleapis.com/v1alpha/{customDimension.name=properties/*/customDimensions/*}`. Required parameters include the `customDimension.name` path parameter and the `updateMask` query parameter, which specifies fields to be updated. The request body contains a CustomDimension instance, and the successful response returns an updated CustomDimension instance. The process requires `https://www.googleapis.com/auth/analytics.edit` authorization scope.\n"]]