Method: properties.customMetrics.archive
أرشفة "مقياس مخصّص" على موقع
طلب HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/customMetrics/*}:archive
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المعلمات |
name |
string
مطلوب. اسم CustomMetric المطلوب أرشفته. مثال على التنسيق: properties/1234/customMetrics/5678
|
نص الطلب
يجب أن يكون نص الطلب فارغًا.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يكون نص الاستجابة هو عنصر JSON فارغ.
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/analytics.edit
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-01-14 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-01-14 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Archives a specified CustomMetric associated with a Google Analytics 4 property."],["Requires an HTTP POST request to a specific endpoint with the CustomMetric's resource name."],["The request body should be empty, and upon success, the response body will also be empty."],["To authorize, you need the `https://www.googleapis.com/auth/analytics.edit` OAuth scope."]]],["The core action is archiving a CustomMetric, specified by its `name` via a `POST` request to a URL using gRPC Transcoding. The `name`, a string representing the CustomMetric's identifier, is required as a path parameter. The request body must be empty. A successful response returns an empty JSON object. Authorization for this action requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope. The action uses `POST` HTTP request.\n"]]