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\u003eThe \u003ccode\u003eBatchCreateTargetSitesRequest\u003c/code\u003e class is used to send a request to create multiple target sites using the Discovery Engine v1 API's \u003ccode\u003eSiteSearchEngineService.BatchCreateTargetSites\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces like \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 base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property specifies the parent resource under which the target sites will be created, and is a required field that must match in the \u003ccode\u003eCreateBookRequest\u003c/code\u003e messages.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRequests\u003c/code\u003e property, also a required field, contains a list of \u003ccode\u003eCreateTargetSiteRequest\u003c/code\u003e messages, allowing up to 20 target sites to be created in a single batch.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple available versions of \u003ccode\u003eBatchCreateTargetSitesRequest\u003c/code\u003e, ranging from version 1.0.0-beta06 to 1.6.0, with the latest version being 1.6.0.\u003c/p\u003e\n"]]],[],null,[]]