Method: properties.get
Yêu cầu HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*}
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 thuộc tính cần tra cứu. Định dạng: properties/{property_id} Ví dụ: "properties/1000"
|
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ẽ chứa một phiên bản của Property
.
Phạm vi uỷ quyền
Yêu cầu một trong các phạm vi OAuth sau:
https://www.googleapis.com/auth/analytics.readonly
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."],[[["This document explains how to retrieve a single Google Analytics 4 property using the Google Analytics Admin API."],["You will need to make an HTTP GET request to the specified endpoint, providing the property ID as a path parameter."],["The request body should be empty, and a successful response will contain the details of the requested property."],["Authorization is required using one of the specified OAuth scopes: `https://www.googleapis.com/auth/analytics.readonly` or `https://www.googleapis.com/auth/analytics.edit`."]]],["The core content describes how to retrieve a single Google Analytics property using a `GET` request to the specified URL (`https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*}`). The `name` parameter (e.g., \"properties/1000\") within the URL path is required to identify the specific property. The request body must be empty. A successful request returns a `Property` instance in the response body. Authorization requires either `analytics.readonly` or `analytics.edit` OAuth scopes.\n"]]