Creates TargetSite in a batch.
HTTP request
POST https://discoveryengine.googleapis.com/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/targetSites:batchCreate
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent | 
                
                   
 Required. The parent resource shared by all TargetSites being created.   | 
              
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
{
  "requests": [
    {
      object ( | 
                
| Fields | |
|---|---|
requests[] | 
                  
                     
 Required. The request message specifying the resources to create. A maximum of 20 TargetSites can be created in a batch.  | 
                
Response body
If successful, the response body contains an instance of Operation.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/discoveryengine.readwrite
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent resource:
discoveryengine.targetSites.batchCreate
For more information, see the IAM documentation.