Google Cloud Discovery Engine V1 Client - Class CreateTargetSiteRequest (1.0.0-RC1)

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

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Parent resource name of TargetSite, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine.

↳ target_site Google\Cloud\DiscoveryEngine\V1\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
Google\Cloud\DiscoveryEngine\V1\TargetSite|null

hasTargetSite

clearTargetSite

setTargetSite

Required. The TargetSite to create.

Parameter
Name Description
var Google\Cloud\DiscoveryEngine\V1\TargetSite
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. Parent resource name of TargetSite, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine. Please see Google\Cloud\DiscoveryEngine\V1\SiteSearchEngineServiceClient::siteSearchEngineName() for help formatting this field.

targetSite Google\Cloud\DiscoveryEngine\V1\TargetSite

Required. The TargetSite to create.

Returns
Type Description
Google\Cloud\DiscoveryEngine\V1\CreateTargetSiteRequest