Method: properties.keyEvents.get
אחזור של אירוע מרכזי אחד.
בקשת HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/keyEvents/*}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
חובה. שם המשאב של האירוע המרכזי שיש לאחזר. פורמט: properties/{property}/keyEvents/{keyEvent} לדוגמה: "properties/123/keyEvents/456"
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה מכיל מופע של KeyEvent
.
היקפי הרשאות
נדרש אחד מהיקפי ההרשאות הבאים של OAuth:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-05-06 (שעון UTC).
[null,null,["עדכון אחרון: 2024-05-06 (שעון UTC)."],[[["Retrieve detailed information about a specific Key Event within a Google Analytics property."],["Access Key Event data using the provided HTTP request with necessary path parameters for property and event identification."],["The request body should be empty, while a successful response returns a KeyEvent object containing the event details."],["Proper authorization is required using specific OAuth scopes to retrieve the Key Event information."]]],["This describes retrieving a specific Key Event via a `GET` HTTP request to `https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/keyEvents/*}`. The `name` path parameter, formatted as `properties/{property}/keyEvents/{keyEvent}`, is mandatory. The request body must be empty. A successful response contains a `KeyEvent` instance. Authorization requires either `analytics.readonly` or `analytics.edit` OAuth scopes. This operation uses gRPC Transcoding.\n"]]