Method: locations.placeActionLinks.list
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
בתיבת הדו-שיח הזו מפורטים הקישורים לפעולות לגבי המקום במיקום שצוין.
בקשת HTTP
GET https://mybusinessplaceactions.googleapis.com/v1/{parent=locations/*}/placeActionLinks
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
parent |
string
חובה. שם המיקום שהקישורים לפעולות לגבי המקום יופיעו בו. locations/{locationId} .
|
פרמטרים של שאילתה
פרמטרים |
filter |
string
זה שינוי אופציונלי. מסנן שמגביל את הקישורים של פעולות המקום להחזרה. התשובה כוללת רשומות שתואמות למסנן. אנחנו תומכים רק במסנן הבא: 1. placeActionType=XYZ כאשר XYZ הוא PlaceActionType חוקי.
|
pageSize |
integer
זה שינוי אופציונלי. מספר הקישורים של פעולות לגבי המקום שצריך להחזיר בכל דף. ברירת המחדל היא 10. הערך המינימלי הוא 1.
|
pageToken |
string
זה שינוי אופציונלי. אם צוין, הפונקציה מחזירה את הדף הבא של קישורים לפעולות לגבי המקום.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
הודעת תגובה ל-PlaceActions.ListPlaceActionLinks.
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל נתונים במבנה הבא:
ייצוג JSON |
{
"placeActionLinks": [
{
object (PlaceActionLink )
}
],
"nextPageToken": string
} |
שדות |
placeActionLinks[] |
object (PlaceActionLink )
הרשימה שהוחזרה עם קישורים לפעולות לגבי מקום.
|
nextPageToken |
string
אם יש יותר קישורים לפעולות לגבי מקום מהגודל המבוקש של דף, השדה הזה יאוכלס באסימון כדי לאחזר את דף התוצאות הבא.
|
היקפי ההרשאות
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/business.manage
למידע נוסף, קראו את המאמר סקירה כללית של OAuth 2.0.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003eLists place action links for a specified location using a GET request.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering results by place action type, pagination with page size and token.\u003c/p\u003e\n"],["\u003cp\u003eRequest body should be empty; the response includes an array of PlaceActionLinks and a nextPageToken for pagination.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ehttps://www.googleapis.com/auth/business.manage\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],[],null,["# Method: locations.placeActionLinks.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListPlaceActionLinksResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nLists the place action links for the specified location.\n\n### HTTP request\n\n`GET https://mybusinessplaceactions.googleapis.com/v1/{parent=locations/*}/placeActionLinks`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|----------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The name of the location whose place action links will be listed. `locations/{locationId}`. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `filter` | `string` Optional. A filter constraining the place action links to return. The response includes entries that match the filter. We support only the following filter: 1. placeActionType=XYZ where XYZ is a valid PlaceActionType. |\n| `pageSize` | `integer` Optional. How many place action links to return per page. Default of 10. The minimum is 1. |\n| `pageToken` | `string` Optional. If specified, returns the next page of place action links. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for PlaceActions.ListPlaceActionLinks.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"placeActionLinks\": [ { object (/my-business/reference/placeactions/rest/v1/locations.placeActionLinks#PlaceActionLink) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `placeActionLinks[]` | `object (`[PlaceActionLink](/my-business/reference/placeactions/rest/v1/locations.placeActionLinks#PlaceActionLink)`)` The returned list of place action links. |\n| `nextPageToken` | `string` If there are more place action links than the requested page size, then this field is populated with a token to fetch the next page of results. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/business.manage`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]