Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class UpdateTargetSiteRequest.
Request message for SiteSearchEngineService.UpdateTargetSite method.
Generated from protobuf message google.cloud.discoveryengine.v1.UpdateTargetSiteRequest
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ target_site |
Google\Cloud\DiscoveryEngine\V1\TargetSite
Required. The target site to update. If the caller does not have permission to update the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the TargetSite to update does not exist, a NOT_FOUND error is returned. |
getTargetSite
Required. The target site to update.
If the caller does not have permission to update the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the TargetSite to update does not exist, a NOT_FOUND error is returned.
Returns | |
---|---|
Type | Description |
Google\Cloud\DiscoveryEngine\V1\TargetSite|null |
hasTargetSite
clearTargetSite
setTargetSite
Required. The target site to update.
If the caller does not have permission to update the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the TargetSite to update does not exist, a NOT_FOUND error is returned.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DiscoveryEngine\V1\TargetSite
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
targetSite |
Google\Cloud\DiscoveryEngine\V1\TargetSite
Required. The target site to update. If the caller does not have permission to update the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the TargetSite to update does not exist, a NOT_FOUND error is returned. |
Returns | |
---|---|
Type | Description |
Google\Cloud\DiscoveryEngine\V1\UpdateTargetSiteRequest |