Method: accounts.provisionAccountTicket
בקשת HTTP
POST https://analyticsadmin.googleapis.com/v1beta/accounts:provisionAccountTicket
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
גוף הבקשה
גוף הבקשה מכיל נתונים במבנה הבא:
ייצוג ב-JSON |
{
"account": {
object (Account )
},
"redirectUri": string
} |
שדות |
account |
object (Account )
החשבון שיצרתם.
|
redirectUri |
string
URI להפניה אוטומטית שאליו המשתמש יועבר אחרי אישור התנאים וההגבלות. צריך להגדיר אותו במסוף Cloud כ-URI להפניה אוטומטית.
|
גוף התשובה
הודעת התגובה של RPC מסוג accounts.provisionAccountTicket.
אם הפעולה מצליחה, גוף התגובה מכיל נתונים במבנה הבא:
ייצוג ב-JSON |
{
"accountTicketId": string
} |
שדות |
accountTicketId |
string
הפרמטר שיישלח בקישור לתנאים ולהגבלות.
|
היקפי הרשאה
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/analytics.edit
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-01-14 (שעון UTC).
[null,null,["עדכון אחרון: 2025-01-14 (שעון UTC)."],[[["Requests a ticket for creating a new Google Analytics 4 account."],["The request body includes the account details and a redirect URI for user consent."],["Upon successful request, the response provides an account ticket ID for accessing the Terms of Service."],["Requires authorization with the `https://www.googleapis.com/auth/analytics.edit` scope to provision accounts."]]],["The content outlines how to request a ticket for account creation using a POST request to `https://analyticsadmin.googleapis.com/v1beta/accounts:provisionAccountTicket`. The request body must include an `account` object and a `redirectUri`. A successful response returns an `accountTicketId`. The process requires `https://www.googleapis.com/auth/analytics.edit` authorization scope, and the `redirectUri` must be pre-configured. This process is used to accept terms of service for new accounts.\n"]]