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

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

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
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.

Design a Mobile Site
View Site in Mobile | Classic
Share by: