Method: spaces.completeImport
בקשת HTTP
POST https://chat.googleapis.com/v1/{name=spaces/*}:completeImport
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
חובה. שם המשאב של המרחב במצב ייבוא. פורמט: spaces/{space}
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
הודעת תשובה לגבי השלמת תהליך הייבוא של מרחב משותף.
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל נתונים במבנה הבא:
ייצוג JSON |
{
"space": {
object (Space )
}
} |
שדות |
space |
object (Space )
המרחב המשותף במצב ייבוא.
|
היקפי ההרשאות
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/chat.import
מידע נוסף זמין במדריך להרשאות.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-22 (שעון UTC).
[null,null,["עדכון אחרון: 2024-08-22 (שעון UTC)."],[[["Completes the import process for a specified space and makes it visible to users, requiring app authentication and domain-wide delegation."],["Uses a POST HTTP request with the URL `https://chat.googleapis.com/v1/{name=spaces/*}:completeImport` and an empty request body."],["Requires the `https://www.googleapis.com/auth/chat.import` OAuth scope for authorization."],["If successful, the response body provides a JSON representation containing the imported space's details."]]],["This outlines how to finalize a space import using a `POST` request to `https://chat.googleapis.com/v1/{name=spaces/*}:completeImport`. The `name` parameter, representing the space's resource name, is required. The request body must be empty. A successful operation returns a response body containing the import mode `space` object. This process requires application authentication with domain-wide delegation and the `https://www.googleapis.com/auth/chat.import` OAuth scope. It's necessary to use the path parameters, complete a request body and handle the response body.\n"]]