Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class BatchCreateTargetSitesRequest.
Request message for SiteSearchEngineService.BatchCreateTargetSites method.
Generated from protobuf message google.cloud.discoveryengine.v1.BatchCreateTargetSitesRequest
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent resource shared by all TargetSites being created. |
↳ requests |
array<CreateTargetSiteRequest>
Required. The request message specifying the resources to create. A maximum of 20 TargetSites can be created in a batch. |
getParent
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.
Returns | |
---|---|
Type | Description |
string |
setParent
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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRequests
Required. The request message specifying the resources to create.
A maximum of 20 TargetSites can be created in a batch.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setRequests
Required. The request message specifying the resources to create.
A maximum of 20 TargetSites can be created in a batch.
Parameter | |
---|---|
Name | Description |
var |
array<CreateTargetSiteRequest>
|
Returns | |
---|---|
Type | Description |
$this |