Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class CreateTargetSiteRequest.
Request message for SiteSearchEngineService.CreateTargetSite method.
Generated from protobuf message google.cloud.discoveryengine.v1.CreateTargetSiteRequest
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. Parent resource name of TargetSite, such as |
↳ target_site |
TargetSite
Required. The TargetSite to create. |
getParent
Required. Parent resource name of
TargetSite, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine
.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. Parent resource name of
TargetSite, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getTargetSite
Required. The TargetSite to create.
Returns | |
---|---|
Type | Description |
TargetSite|null |
hasTargetSite
clearTargetSite
setTargetSite
Required. The TargetSite to create.
Parameter | |
---|---|
Name | Description |
var |
TargetSite
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. Parent resource name of
TargetSite, such as
|
targetSite |
TargetSite
Required. The TargetSite to create. |
Returns | |
---|---|
Type | Description |
CreateTargetSiteRequest |