Google Business Performance API, tek bir API isteğinde birden fazla "GünlükMetrik" getirmeye olanak tanıyan
YENİ bir API yöntemine sahiptir.
Kullanımdan kaldırma planını ve v4 reportInsights API yönteminden Google Business Profile Performance API'ye geçiş talimatlarını inceleyin.
Method: locations.placeActionLinks.patch
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Belirtilen yer işlemi bağlantısını günceller ve döndürür.
HTTP isteği
PATCH https://mybusinessplaceactions.googleapis.com/v1/{placeActionLink.name=locations/*/placeActionLinks/*}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
placeActionLink.name |
string
İsteğe bağlı. locations/{locationId}/placeActionLinks/{place_action_link_id} biçimindeki kaynak adı. Ad alanı, yalnızca sırasıyla bağlantıları güncelleme ve silmeyle ilgili PlaceActionLinks.patch ve PlaceActionLinks.delete isteklerinde dikkate alınır. Ancak bu, yeni bağlantı başarıyla oluşturulduktan sonra sunucu tarafından place_action_link_id atanır ve yanıtın parçası olarak döndürülür. PlaceActionLinks.create isteğinde yoksayılır.
|
Sorgu parametreleri
Parametreler |
updateMask |
string (FieldMask format)
Zorunlu. Güncellenecek belirli alanlar. Yalnızca uri , placeActionType ve isPreferred düzenlenebilir. Güncellenen bağlantı, aynı placeActionType ve uri ile aynı konumda zaten varsa ALREADY_EXISTS hatasıyla başarısız olur. Bu, tam nitelikli alan adlarının virgülle ayrılmış bir listesidir. Örnek: "user.displayName,photo" .
|
İstek içeriği
İstek metni, PlaceActionLink
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılıysa yanıt metni, PlaceActionLink
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/business.manage
Daha fazla bilgi için OAuth 2.0'a Genel Bakış başlıklı makaleye bakın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[[["\u003cp\u003eUpdates a specified place action link with provided details and returns the updated link.\u003c/p\u003e\n"],["\u003cp\u003eUses the PATCH HTTP request method and requires a \u003ccode\u003eplaceActionLink.name\u003c/code\u003e path parameter.\u003c/p\u003e\n"],["\u003cp\u003eRequires an \u003ccode\u003eupdateMask\u003c/code\u003e query parameter indicating the fields to be updated.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain a \u003ccode\u003ePlaceActionLink\u003c/code\u003e object and a successful response will return the updated \u003ccode\u003ePlaceActionLink\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eRequires \u003ccode\u003ehttps://www.googleapis.com/auth/business.manage\u003c/code\u003e authorization scope for access.\u003c/p\u003e\n"]]],["This describes updating a place action link via a `PATCH` request to a specific URL: `https://mybusinessplaceactions.googleapis.com/v1/{placeActionLink.name=locations/*/placeActionLinks/*}`. Key actions include updating fields like `uri`, `placeActionType`, and `isPreferred` using the `updateMask` query parameter. The `placeActionLink.name` path parameter is necessary for identifying the link to modify. The request and response body use the `PlaceActionLink` resource. This operation requires `https://www.googleapis.com/auth/business.manage` authorization scope.\n"],null,["# Method: locations.placeActionLinks.patch\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- [Authorization scopes](#body.aspect)\n\nUpdates the specified place action link and returns it.\n\n### HTTP request\n\n`PATCH https://mybusinessplaceactions.googleapis.com/v1/{placeActionLink.name=locations/*/placeActionLinks/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `placeActionLink.name` | `string` Optional. The resource name, in the format `locations/{locationId}/placeActionLinks/{place_action_link_id}`. The name field will only be considered in placeActionLinks.patch and placeActionLinks.delete requests for updating and deleting links respectively. However, it will be ignored in placeActionLinks.create request, where `place_action_link_id` will be assigned by the server on successful creation of a new link and returned as part of the response. |\n\n### Query parameters\n\n| Parameters ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `updateMask` | `string (`[FieldMask](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask)` format)` Required. The specific fields to update. The only editable fields are `uri`, `placeActionType` and `isPreferred`. If the updated link already exists at the same location with the same `placeActionType` and `uri`, fails with an `ALREADY_EXISTS` error. This is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`. |\n\n### Request body\n\nThe request body contains an instance of [PlaceActionLink](/my-business/reference/placeactions/rest/v1/locations.placeActionLinks#PlaceActionLink).\n\n### Response body\n\nIf successful, the response body contains an instance of [PlaceActionLink](/my-business/reference/placeactions/rest/v1/locations.placeActionLinks#PlaceActionLink).\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)."]]