Method: properties.customDimensions.archive
Lưu trữ một Phương diện tuỳ chỉnh trên một tài sản.
Yêu cầu HTTP
POST https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/customDimensions/*}:archive
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
name |
string
Bắt buộc. Tên của Phương diện tuỳ chỉnh cần lưu trữ. Định dạng ví dụ: properties/1234/customDimensions/5678
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ là một đối tượng JSON trống.
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/analytics.edit
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-01-14 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-01-14 UTC."],[[["Archives a specified CustomDimension associated with a Google Analytics 4 property."],["Requires an HTTP POST request to the designated endpoint with the CustomDimension's resource name."],["The request body should be empty, and upon successful completion, the response body will also be empty."],["Users need to have the `analytics.edit` OAuth scope to perform this action."]]],["Archives a CustomDimension on a property using a POST request to the specified URL. The URL includes a required path parameter, `name`, representing the CustomDimension to archive (e.g., `properties/1234/customDimensions/5678`). The request body must be empty. A successful operation returns an empty JSON object. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope. The provided `try it` section is available for interactive testing.\n"]]