Sitemaps
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このリソースのメソッドの一覧は、このページの最後に掲載されています。
リソース表記
サイトマップ
サイトマップとして送信された特定の URL に関する詳細情報が格納されています。
{
"path": string,
"lastSubmitted": datetime,
"isPending": boolean,
"isSitemapsIndex": boolean,
"type": string,
"lastDownloaded": datetime,
"warnings": long,
"errors": long,
"contents": [
{
"type": string,
"submitted": long,
"indexed": long
}
]
}
プロパティ名 |
値 |
説明 |
メモ |
contents[] |
list |
サイトマップのさまざまなコンテンツ タイプ。 |
|
contents[].indexed |
N/A |
非推奨、使用しないでください。 |
|
contents[].submitted |
long |
(コンテンツ タイプの)サイトマップ内の URL の数。 |
|
contents[].type |
string |
このサイトマップに含まれる具体的なコンテンツの種類。例: web
指定できる値は次のとおりです。
<ph type="x-smartling-placeholder"></ph>
- "
androidApp "
- "
image "
- "
iosApp "
- "
mobile "
- "
news "
- "
pattern "
- "
video "
- 「
web 」
|
|
errors |
long |
サイトマップ内のエラーの数。これらは、サイトマップを正しく処理する前に修正する必要がある、サイトマップ自体の問題です。 |
|
isPending |
boolean |
true の場合、サイトマップは処理されていません。 |
|
isSitemapsIndex |
boolean |
true の場合、サイトマップはサイトマップのコレクションです。 |
|
lastDownloaded |
datetime |
日付とこのサイトマップが最後にダウンロードされた日時。日付の形式は RFC 3339 形式(yyyy-mm-dd)です。 |
|
lastSubmitted |
datetime |
日付と送信日時を記録します。日付の形式は RFC 3339 形式(yyyy-mm-dd)です。 |
|
path |
string |
サイトマップの URL。 |
|
type |
string |
サイトマップのタイプ。例: rssFeed
指定できる値は次のとおりです。
<ph type="x-smartling-placeholder"></ph>
- "
atomFeed "
- "
notSitemap "
- "
patternSitemap "
- "
rssFeed "
- "
sitemap "
- 「
urlList 」
|
|
warnings |
long |
サイトマップに関する警告の回数です。通常、サイトマップ内の URL に関する重大ではない問題です。 |
|
メソッド
- delete
- このサイトからサイトマップを削除します。
- get
- 特定のサイトマップに関する情報を取得します。
- list
- そのサイトに関して送信された sitemaps-entries またはサイトマップ インデックス ファイル(リクエストで
sitemapIndex
が指定されている場合)のリストを取得します。
- 送信
- サイトのサイトマップを送信します。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-29 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-08-29 UTC。"],[[["\u003cp\u003eThe Sitemap resource provides detailed information about URLs submitted through a sitemap file, including submission date, download date, and error/warning counts.\u003c/p\u003e\n"],["\u003cp\u003eThe resource representation includes properties for content types, error/warning numbers, and sitemap metadata like path, type, and processing status.\u003c/p\u003e\n"],["\u003cp\u003eA sitemap can contain various content types, including web pages, images, videos, news articles, mobile pages and Android/iOS apps.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage sitemaps through dedicated methods to delete, retrieve information, list, and submit them.\u003c/p\u003e\n"]]],["This resource provides details about a submitted sitemap, including its `path`, `lastSubmitted` and `lastDownloaded` dates, and whether it's `isPending` or an `isSitemapsIndex`. It lists `contents` with types like `web`, `image`, or `video`, and the number of `submitted` URLs per type. It also reports `errors` and `warnings`. Key actions include the ability to `delete`, `get`, `list`, or `submit` a sitemap.\n"],null,[]]