public sealed class BatchCreateTargetSitesRequest : IMessage<BatchCreateTargetSitesRequest>, IEquatable<BatchCreateTargetSitesRequest>, IDeepCloneable<BatchCreateTargetSitesRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class BatchCreateTargetSitesRequest.
Request message for
[SiteSearchEngineService.BatchCreateTargetSites][google.cloud.discoveryengine.v1.SiteSearchEngineService.BatchCreateTargetSites]
method.
Required. The parent resource shared by all TargetSites being created.
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine.
The parent field in the CreateBookRequest messages must either be empty or
match this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eBatchCreateTargetSitesRequest\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, specifically version 1.4.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBatchCreateTargetSitesRequest\u003c/code\u003e is a request message used for the \u003ccode\u003eSiteSearchEngineService.BatchCreateTargetSites\u003c/code\u003e method, which allows creating multiple TargetSites in a single batch.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eBatchCreateTargetSitesRequest\u003c/code\u003e include \u003ccode\u003eParent\u003c/code\u003e, which specifies the parent resource for the TargetSites, and \u003ccode\u003eRequests\u003c/code\u003e, which is a list of \u003ccode\u003eCreateTargetSiteRequest\u003c/code\u003e messages, with a limit of 20 TargetSites per batch.\u003c/p\u003e\n"],["\u003cp\u003eThe document also includes other versions of the \u003ccode\u003eBatchCreateTargetSitesRequest\u003c/code\u003e, ranging from version 1.0.0-beta06 up to 1.6.0, however this document is focusing on version 1.4.0.\u003c/p\u003e\n"]]],[],null,[]]