Method: settings.updateCustomer
מעדכנים את הגדרות הלקוח.
הערה: כדי להפעיל את ה-API הזה, נדרש חשבון אדמין.
בקשת HTTP
PATCH https://cloudsearch.googleapis.com/v1/settings/customer
בכתובת ה-URL נעשה שימוש בתחביר המרת gRPC.
פרמטרים של שאילתה
פרמטרים |
updateMask |
string (FieldMask format)
כדי לקבוע אילו שדות יעודכנו, צריך לעדכן את המסכה. אם תציינו שדה ב-updateMask אבל לא תציינו את הערך שלו כאן, השדה הזה יימחק. אם המסיכה לא מופיעה או ריקה, כל השדות יעודכנו. נתיבי השדות הנתמכים בשלב זה: vpcSettings ו-AuditLoggingSettings זוהי רשימה של שמות שדות מלאים, שמופרדים בפסיקים. דוגמה: "user.displayName,photo"
|
גוף הבקשה
גוף הבקשה מכיל מופע של CustomerSettings
.
גוף התגובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע של Operation
.
היקפי הרשאות
כדי להשתמש בתכונה הזו יש צורך באחד מההיקפים הבאים של OAuth:
https://www.googleapis.com/auth/cloud_search.settings.indexing
https://www.googleapis.com/auth/cloud_search.settings
https://www.googleapis.com/auth/cloud_search
למידע נוסף, ניתן לעיין במדריך ההרשאות.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-09-03 (שעון UTC).
[null,null,["עדכון אחרון: 2024-09-03 (שעון UTC)."],[[["This API updates customer settings, requiring an admin account and using a PATCH request to `https://cloudsearch.googleapis.com/v1/settings/customer`."],["You can control which fields are updated with the `updateMask` query parameter, providing a comma-separated list of field paths."],["The request body should contain an instance of `CustomerSettings`, while a successful response will include an `Operation` object."],["Authorization requires one of the following OAuth scopes: `https://www.googleapis.com/auth/cloud_search.settings.indexing`, `https://www.googleapis.com/auth/cloud_search.settings`, or `https://www.googleapis.com/auth/cloud_search`."]]],[]]