REST Resource: projects.locations.dataStores.siteSearchEngine.sitemaps

資源:Sitemap

SiteSearchEngine 的 Sitemap。

JSON 表示法
{
  "name": string,
  "createTime": string,

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "uri": string
  // End of mutually exclusive fields.
}
欄位
name

string

僅供輸出。網站地圖的完整資源名稱。projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/* sitemap_id 後置字串是由系統產生。

createTime

string (Timestamp format)

僅供輸出。Sitemap 的建立時間。

使用 RFC 3339,產生的輸出內容一律會經過 Z 正規化,並使用 0、3、6 或 9 個小數位數,也接受「Z」以外的偏移量。範例:"2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z""2014-10-02T15:01:23+05:30"

支援的動態消息來源。以下列出互斥的欄位。回應中最多只會設定一個欄位:
uri

string

Sitemap 的公開 URI,例如 www.example.com/sitemap.xml

互斥欄位的結尾。

方法

create

建立 Sitemap

delete

刪除 Sitemap

fetch

DataStore 中擷取 Sitemap