1.0.0-beta25 (latest) 1.0.0-beta24

    public sealed class BatchCreateTargetSitesRequest : IMessage<BatchCreateTargetSitesRequest>, IEquatable<BatchCreateTargetSitesRequest>, IDeepCloneable<BatchCreateTargetSitesRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class BatchCreateTargetSitesRequest.

Request message for
\[SiteSearchEngineService.BatchCreateTargetSites\]\[google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchCreateTargetSites\]
method.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> BatchCreateTargetSitesRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BatchCreateTargetSitesRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchCreateTargetSitesRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BatchCreateTargetSitesRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchCreateTargetSitesRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BatchCreateTargetSitesRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchCreateTargetSitesRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Constructors

### BatchCreateTargetSitesRequest()

    public BatchCreateTargetSitesRequest()

### BatchCreateTargetSitesRequest(BatchCreateTargetSitesRequest)

    public BatchCreateTargetSitesRequest(BatchCreateTargetSitesRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchCreateTargetSitesRequest` |

## Properties

### Parent

    public string Parent { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ParentAsSiteSearchEngineName

    public SiteSearchEngineName ParentAsSiteSearchEngineName { get; set; }

[SiteSearchEngineName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineName)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchCreateTargetSitesRequest#Google_Cloud_DiscoveryEngine_V1Beta_BatchCreateTargetSitesRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineName` |   |

### Requests

    public RepeatedField<CreateTargetSiteRequest> Requests { get; }

Required. The request message specifying the resources to create.
A maximum of 20 TargetSites can be created in a batch.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CreateTargetSiteRequest` |   |