Method: locations.placeActionLinks.create
指定したビジネスに関連付けられたプレイス アクション リンクを作成して返します。parent
、placeActionLink.uri
、placeActionLink.place_action_type
が前のリクエストと同じ場合、リクエストは重複と見なされます。
HTTP リクエスト
POST https://mybusinessplaceactions.googleapis.com/v1/{parent=locations/*}/placeActionLinks
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
必須。この場所アクション リンクを作成するビジネスのリソース名。locations/{locationId} .
|
リクエスト本文
リクエストの本文には PlaceActionLink
のインスタンスが含まれています。
レスポンスの本文
成功した場合、レスポンスの本文には、新しく作成された PlaceActionLink
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/business.manage
詳細については、OAuth 2.0 の概要をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2023-12-01 UTC。
[null,null,["最終更新日 2023-12-01 UTC。"],[[["Creates a place action link for a specified location, returning the link if successful and considering requests with the same parent, URI, and place action type as duplicates."],["Uses an HTTP POST request to `https://mybusinessplaceactions.googleapis.com/v1/{parent=locations/*}/placeActionLinks` with the location specified as a path parameter."],["Requires a request body containing a PlaceActionLink object and returns a PlaceActionLink object upon successful creation."],["Needs authorization with the `https://www.googleapis.com/auth/business.manage` scope for access."]]],[]]