Google Cloud Discovery Engine V1 Client - Class Sitemap (1.8.0)

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

A sitemap for the SiteSearchEngine.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ uri
string

Public URI for the sitemap, e.g. www.example.com/sitemap.xml .

↳ name
string

Output only. The fully qualified resource name of the sitemap. projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/* The sitemap_id suffix is system-generated.

↳ create_time
Google\Protobuf\Timestamp

Output only. The sitemap's creation time.

getUri

Public URI for the sitemap, e.g. www.example.com/sitemap.xml .

Returns
Type
Description
string

hasUri

setUri

Public URI for the sitemap, e.g. www.example.com/sitemap.xml .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getName

Output only. The fully qualified resource name of the sitemap.

projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/* The sitemap_id suffix is system-generated.

Returns
Type
Description
string

setName

Output only. The fully qualified resource name of the sitemap.

projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/* The sitemap_id suffix is system-generated.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCreateTime

Output only. The sitemap's creation time.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. The sitemap's creation time.

Parameter
Name
Description
Returns
Type
Description
$this

getFeed

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: