アラートのスキーマ リファレンス
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
エクスポートされたオブジェクト: Google アラートのサブスクリプション
エクスポートされたオブジェクトは、登録した Google 検索クエリのリストを表現します。
オブジェクトは次の形式でエクスポートされます。JSON
エクスポートされたオブジェクトには次のフィールドがあります。
* 上記のフィールドは、関連するデータ エクスポートを解析して取り込むための主要なデータフィールドを表します。エクスポートで生成されるデータフィールドは、サービスとユーザー アクションによって異なり、一部のサービスまたはアクションでは、説明されている各データフィールドが生成されません。 |
データ フィールド * |
フィールドの定義 |
データ フィールドのタイプ |
クエリ |
検索クエリ。 |
文字列 |
language |
クエリ言語を表す ISO 639-1 コード。 |
文字列 |
country |
クエリの対象となる地理的地域を表す ISO 3166-1 コード。 |
文字列 |
apply_language_restrict |
言語の検索結果に厳格なフィルタを適用するかどうか。 |
ブール値 |
apply_region_restrict |
該当する国の検索結果に厳格なフィルタを適用するかどうか。 |
ブール値 |
ソース |
検索結果の取得に使用されるソース。 |
文字列のリスト。ソースは NEWS または WEB です。 |
品質 |
許可される検索結果の最小品質。品質は、トピック性や目立つ度合いなど、複数の要因によって異なります。 |
文字列のリスト。品質は LOW または HIGH です。 |
delivery_method |
結果の提供方法。 |
文字列。配信方法は EMAIL または RSS です。 |
delivery_frequency |
検索結果が配信される頻度を決定します。 |
文字列。配信頻度は、HOURLY、DAILY、WEEKLY のいずれかです。このフィールドは、delivery_method が EMAIL に設定されている場合にのみ存在します。 |
delivery_time |
検索結果が配信された時刻。delivery_method が EMAIL に設定されている場合にのみ入力されます。 |
特定のタイムゾーンにおける時刻と曜日。 |
email_address |
検索結果が送信されるメールアドレス。 |
文字列。配信方法が EMAIL に設定されている場合にのみ入力されます。 |
リソース グループと、そのリソース グループとともにエクスポートされるオブジェクトを表すテーブル。
リソース グループ * |
説明 |
エクスポートされたオブジェクト |
alerts.subscriptions |
このリソース グループには、関連するフィルタなど、Google アラートの登録に関するデータが含まれます。 |
Google アラートの登録内容 |
* 特定のリソース グループの OAuth スコープ名を取得するには、リソース グループに「https://www.googleapis.com/auth/dataportability」を追加します。たとえば、「myactivity.search」リソース グループの OAuth スコープ名は「https://www.googleapis.com/auth/dataportability.myactivity.search」です。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003eGoogle Takeout allows you to export your Google Alerts subscriptions data in JSON format.\u003c/p\u003e\n"],["\u003cp\u003eThe exported data includes details such as search query, language, region, source, quality, and delivery preferences.\u003c/p\u003e\n"],["\u003cp\u003eYou can control the scope of data exported using OAuth scopes, specifically \u003ccode\u003ehttps://www.googleapis.com/auth/dataportability.alerts.subscriptions\u003c/code\u003e for Alerts subscriptions.\u003c/p\u003e\n"],["\u003cp\u003eDelivery settings include method (email or RSS), frequency (hourly, daily, or weekly), and specific delivery time for email alerts.\u003c/p\u003e\n"],["\u003cp\u003eExported data fields provide information about search criteria, result filtering, and delivery preferences for your alerts.\u003c/p\u003e\n"]]],[],null,["# Alerts Schema Reference\n\n| Data Field \\* | Field Definition | Data Field Type |\n|-------------------------|--------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|\n| query | The search query. | string |\n| language | The ISO 639-1 code that represents the query language. | string |\n| country | The ISO 3166-1 code that represents the geographical region that the query targets. | string |\n| apply_language_restrict | Whether strict filtering should be applied on the search results for the language. | boolean |\n| apply_region_restrict | Whether strict filtering should be applied on the search results for the country. | boolean |\n| source | Sources of search results that are used for retrieval. | List of strings. The source is either NEWS or WEB. |\n| quality | Minimum quality of the search results allowed. The quality may depend on multiple factors including topicality and prominence. | List of strings. The quality is either LOW or HIGH. |\n| delivery_method | How the results are delivered. | String. The delivery method is either EMAIL or RSS. |\n| delivery_frequency | Determines how frequently the search results are delivered. | String. The delivery frequency is either HOURLY, DAILY, or WEEKLY. This field is present only if the delivery_method is set to EMAIL. |\n| delivery_time | Time at which the search results are delivered. Populated only if the delivery_method is set to EMAIL. | Time of day and day of week in a specific timezone. |\n| email_address | The email address where the search results are sent. | String. Populated only if the delivery method is set to EMAIL. |\n[Exported Object: Your Google Alerts subscriptions\nExported Object represents: A list of subscriptions to Google Search queries.\nObject is exported in these formats: JSON\nExported object has the following fields:]\n\n| Resource Group \\* | Description | Exported Objects |\n|----------------------|------------------------------------------------------------------------------------------------------|----------------------------------|\n| alerts.subscriptions | This resource group contains data for Google Alerts subscriptions, including the associated filters. | Your Google Alerts subscriptions |\n[A table representing Resource Groups and the objects that are exported with it.]"]]