Google Cloud Discovery Engine V1 Client - Class CreateTargetSiteRequest (1.3.1)

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

hasTargetSite

clearTargetSite

setTargetSite

Required. The TargetSite to create.

Parameter
Name Description
var 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 SiteSearchEngineServiceClient::siteSearchEngineName() for help formatting this field.

targetSite TargetSite

Required. The TargetSite to create.

Returns
Type Description
CreateTargetSiteRequest