REST Resource: urlNotifications
リソース: UrlNotification
UrlNotification
は Indexing API のすべての呼び出しで使用されるリソースです。ウェブ ドキュメントのライフサイクル内にイベントを 1 つ記述します。
フィールド |
url |
string
この通知のオブジェクト。URL はこの通知の送信者が所有している必要があり、URL_UPDATED 通知の場合は、Google がクロールできる必要があります。
|
type |
enum(UrlNotificationType )
Google に通知されている URL ライフサイクル イベント。
|
notifyTime |
string (Timestamp format)
この通知の作成タイムスタンプ。ユーザーが指定する必要はありません。このフィールドはリクエストの際に無視されます。 RFC3339 UTC「Zulu」形式のタイムスタンプ。精度はナノ秒。例: "2014-10-02T15:01:23.045123456Z" 。
|
UrlNotificationType
指定された URL に対して実行される可能性がある各種イベントを指定します。
列挙型 |
URL_NOTIFICATION_TYPE_UNSPECIFIED |
(指定なし) |
URL_UPDATED |
指定された URL(ウェブ ドキュメント)が更新されました。 |
URL_DELETED |
指定された URL(ウェブ ドキュメント)が削除されました。 |
メソッド |
|
ウェブ ドキュメントに関するメタデータを取得します。 |
|
URL が更新または削除されたことを通知します。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-02-17 UTC。
[null,null,["最終更新日 2025-02-17 UTC。"],[[["`UrlNotification` is the resource used for communicating URL updates and deletions to Google's Indexing API."],["The `UrlNotification` object utilizes `url`, `type`, and `notifyTime` fields to provide details about web document events."],["`UrlNotificationType` defines the specific event being communicated, such as URL updates (`URL_UPDATED`) or deletions (`URL_DELETED`)."],["The Indexing API provides methods for publishing URL notifications and retrieving web document metadata."]]],["The `UrlNotification` resource represents an event in a web document's lifecycle, used within the Indexing API. It includes the document's `url` (which must be owned by the publisher and crawlable if `URL_UPDATED`), the `type` of event (`URL_UPDATED` or `URL_DELETED`), and `notifyTime`. The API provides `publish` to send updates or deletions. A `getMetadata` method provides web document's information. `UrlNotificationType` defines the event type.\n"]]