Method: properties.dataStreams.eventCreateRules.create
EventCreateRule oluşturur.
HTTP isteği
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
parent |
string
Zorunlu. Örnek biçim: özellikleri/123/dataStreams/456
|
İstek içeriği
İstek metni, EventCreateRule
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılı olursa yanıt gövdesi, yeni oluşturulan EventCreateRule
ö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: 2024-05-06 UTC.
[null,null,["Son güncelleme tarihi: 2024-05-06 UTC."],[[["Creates an EventCreateRule using an HTTP POST request to a specified URL with path parameters for parent resource."],["The request body should contain an instance of EventCreateRule, and a successful response will return the newly created EventCreateRule."],["Requires authorization with the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This document details how to create an EventCreateRule using a POST request. The request is sent to a specific URL with a required `parent` path parameter, formatted as `properties/*/dataStreams/*`. The request body must include an `EventCreateRule` instance. A successful request returns a new `EventCreateRule` instance in the response body. This action requires the `https://www.googleapis.com/auth/analytics.edit` authorization scope. Additional resources are: `gRPC Transcoding` and `EventCreateRule` page.\n"]]