Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class TargetSite.
A target site for the SiteSearchEngine.
Generated from protobuf message google.cloud.discoveryengine.v1.TargetSite
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The fully qualified resource name of the target site. projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}
The target_site_id
is system-generated.
↳ provided_uri_pattern
string
Required. Input only. The user provided URI pattern from which the generated_uri_pattern
is generated.
↳ type
int
The type of the target site, e.g., whether the site is to be included or excluded.
↳ exact_match
bool
Input only. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine.
↳ generated_uri_pattern
string
Output only. This is system-generated based on the provided_uri_pattern.
↳ root_domain_uri
string
Output only. Root domain of the provided_uri_pattern.
↳ site_verification_info
↳ indexing_status
int
Output only. Indexing status.
↳ update_time
↳ failure_reason
getName
Output only. The fully qualified resource name of the target site.
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}
The target_site_id
is system-generated.
string
setName
Output only. The fully qualified resource name of the target site.
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}
The target_site_id
is system-generated.
var
string
$this
getProvidedUriPattern
Required. Input only. The user provided URI pattern from which the generated_uri_pattern
is generated.
string
setProvidedUriPattern
Required. Input only. The user provided URI pattern from which the generated_uri_pattern
is generated.
var
string
$this
getType
The type of the target site, e.g., whether the site is to be included or excluded.
int
setType
The type of the target site, e.g., whether the site is to be included or excluded.
var
int
$this
getExactMatch
Input only. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine.
bool
setExactMatch
Input only. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine.
var
bool
$this
getGeneratedUriPattern
Output only. This is system-generated based on the provided_uri_pattern.
string
setGeneratedUriPattern
Output only. This is system-generated based on the provided_uri_pattern.
var
string
$this
getRootDomainUri
Output only. Root domain of the provided_uri_pattern.
string
setRootDomainUri
Output only. Root domain of the provided_uri_pattern.
var
string
$this
getSiteVerificationInfo
Output only. Site ownership and validity verification status.
hasSiteVerificationInfo
clearSiteVerificationInfo
setSiteVerificationInfo
Output only. Site ownership and validity verification status.
$this
getIndexingStatus
Output only. Indexing status.
int
setIndexingStatus
Output only. Indexing status.
var
int
$this
getUpdateTime
Output only. The target site's last updated time.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The target site's last updated time.
$this
getFailureReason
Output only. Failure reason.
hasFailureReason
clearFailureReason
setFailureReason
Output only. Failure reason.
$this