Google Cloud Discovery Engine V1beta Client - Class UpdateTargetSiteRequest (0.11.3)

Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class UpdateTargetSiteRequest.

Request message for SiteSearchEngineService.UpdateTargetSite method.

Generated from protobuf message google.cloud.discoveryengine.v1beta.UpdateTargetSiteRequest

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ target_site Google\Cloud\DiscoveryEngine\V1beta\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\V1beta\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\V1beta\TargetSite
Returns
Type Description
$this

static::build

Parameter
Name Description
targetSite Google\Cloud\DiscoveryEngine\V1beta\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\V1beta\UpdateTargetSiteRequest