Method: accounts.locations.updateServiceList
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
עדכון רשימת השירותים שצוינה עבור מיקום מסוים.
בקשת HTTP
PATCH https://mybusiness.googleapis.com/v4/{serviceList.name=accounts/*/locations/*/serviceList}
בכתובת ה-URL נעשה שימוש בתחביר המרת gRPC.
פרמטרים של נתיב
פרמטרים |
serviceList.name |
string
חובה. מזהה Google של המיקום הזה בטופס: accounts/{accountId}/locations/{locationId}/serviceList
|
פרמטרים של שאילתה
פרמטרים |
updateMask |
string (FieldMask format)
אפשרות. השדות הספציפיים לעדכון. אם לא צוינה מסכה, המערכת תתייחס לכך כאל עדכון מלא וכל השדות יוגדרו לערכים שיועברו, כולל ביטול ההגדרה של שדות ריקים בבקשה. לא ניתן לעדכן פריטים חוזרים בשדות שלהם בנפרד. זוהי רשימה של שמות שדות מלאים, שמופרדים בפסיקים. דוגמה: "user.displayName,photo"
|
גוף הבקשה
גוף הבקשה מכיל מופע של ServiceList
.
גוף התגובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע של ServiceList
.
היקפי הרשאות
כדי להשתמש בתכונה הזו יש צורך באחד מההיקפים הבאים של OAuth:
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
למידע נוסף, עיין בסקירה הכללית על OAuth 2.0.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2023-12-02 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2023-12-02 (שעון UTC)."],[[["This document outlines how to update a location's service list using the `PATCH` method and provides details about the request structure."],["The request requires specifying the service list name in the path and allows for partial updates through the `updateMask` query parameter."],["Both request and response bodies utilize the `ServiceList` object, detailed further in external documentation."],["Authorization is necessary and can be achieved using either `https://www.googleapis.com/auth/plus.business.manage` or `https://www.googleapis.com/auth/business.manage` OAuth scopes."]]],[]]