Google Cloud Discovery Engine V1 Client - Class UpdateTargetSiteRequest (1.3.2)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ target_site 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
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 TargetSite
Returns
Type Description
$this

static::build

Parameter
Name Description
targetSite 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
UpdateTargetSiteRequest