Discovery Engine v1 API - Class BatchCreateTargetSitesRequest (1.0.0-beta03)

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.

Inheritance

object > BatchCreateTargetSitesRequest

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

BatchCreateTargetSitesRequest()

public BatchCreateTargetSitesRequest()

BatchCreateTargetSitesRequest(BatchCreateTargetSitesRequest)

public BatchCreateTargetSitesRequest(BatchCreateTargetSitesRequest other)
Parameter
NameDescription
otherBatchCreateTargetSitesRequest

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
TypeDescription
string

ParentAsSiteSearchEngineName

public SiteSearchEngineName ParentAsSiteSearchEngineName { get; set; }

SiteSearchEngineName-typed view over the Parent resource name property.

Property Value
TypeDescription
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
TypeDescription
RepeatedFieldCreateTargetSiteRequest