Method: accounts.locations.localPosts.get
הפונקציה מקבלת את הפוסט המקומי שצוין. הפונקציה מחזירה את הערך NOT_FOUND
אם הפוסט המקומי לא קיים.
בקשת HTTP
GET https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*/localPosts/*}
בכתובת ה-URL נעשה שימוש בתחביר המרת gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
שם הפוסט המקומי לאחזר.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התגובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע של LocalPost
.
היקפי הרשאות
כדי להשתמש בתכונה הזו יש צורך באחד מההיקפים הבאים של 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).
[null,null,["עדכון אחרון: 2023-12-02 (שעון UTC)."],[[["Retrieves a specific local post using its unique identifier."],["Requires an empty request body and returns the `LocalPost` object if successful."],["Utilizes `GET` method and specific path parameters for resource identification."],["Needs authorization with either `https://www.googleapis.com/auth/plus.business.manage` or `https://www.googleapis.com/auth/business.manage` scope."],["Returns a `NOT_FOUND` error if the specified local post does not exist."]]],[]]