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

Creates a TargetSite.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Parent resource name of TargetSite, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}/siteSearchEngine.

Request body

The request body contains an instance of TargetSite.

Response body

If successful, the response body contains a newly created instance of Operation.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • discoveryengine.targetSites.create

For more information, see the IAM documentation.