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

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

Request message for SiteSearchEngineService.CreateTargetSite method.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta

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

hasTargetSite

clearTargetSite

setTargetSite

Required. The TargetSite to create.

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

targetSite Google\Cloud\DiscoveryEngine\V1beta\TargetSite

Required. The TargetSite to create.

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