Google Cloud Discovery Engine V1 Client - Class RecrawlUrisRequest (1.2.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class RecrawlUrisRequest.

Request message for SiteSearchEngineService.RecrawlUris method.

Generated from protobuf message google.cloud.discoveryengine.v1.RecrawlUrisRequest

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ site_search_engine string

Required. Full resource name of the SiteSearchEngine, such as projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine.

↳ uris array

Required. List of URIs to crawl. At most 10K URIs are supported, otherwise an INVALID_ARGUMENT error is thrown. Each URI should match at least one TargetSite in site_search_engine.

↳ site_credential string

Optional. Full resource name of the SiteCredential, such as projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/siteCredentials/*. Only set to crawl private URIs.

getSiteSearchEngine

Required. Full resource name of the SiteSearchEngine, such as projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine.

Returns
Type Description
string

setSiteSearchEngine

Required. Full resource name of the SiteSearchEngine, such as projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine.

Parameter
Name Description
var string
Returns
Type Description
$this

getUris

Required. List of URIs to crawl. At most 10K URIs are supported, otherwise an INVALID_ARGUMENT error is thrown. Each URI should match at least one TargetSite in site_search_engine.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setUris

Required. List of URIs to crawl. At most 10K URIs are supported, otherwise an INVALID_ARGUMENT error is thrown. Each URI should match at least one TargetSite in site_search_engine.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getSiteCredential

Optional. Full resource name of the SiteCredential, such as projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/siteCredentials/*.

Only set to crawl private URIs.

Returns
Type Description
string

setSiteCredential

Optional. Full resource name of the SiteCredential, such as projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/siteCredentials/*.

Only set to crawl private URIs.

Parameter
Name Description
var string
Returns
Type Description
$this