Method: projects.locations.collections.dataStores.siteSearchEngine.targetSites.create

TargetSite を作成します。

HTTP リクエスト

POST https://discoveryengine.googleapis.com/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/targetSites

この URL では gRPC Transcoding 構文を使用します。

パスパラメータ

パラメータ
parent

string

必須。TargetSite の親リソース名(projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}/siteSearchEngine など)。

リクエストの本文

リクエストの本文には TargetSite のインスタンスが含まれます。

レスポンスの本文

成功した場合、レスポンスの本文には、新しく作成された Operation のインスタンスが含まれます。

認可スコープ

次の OAuth スコープのいずれかが必要です。

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/discoveryengine.readwrite

詳細については、Authentication Overview をご覧ください。

IAM 権限

parent リソースに対する次の IAM 権限が必要です。

  • discoveryengine.targetSites.create

詳細については、IAM のドキュメントをご覧ください。