Settings

Setting resources represent settings that users can change from the Calendar UI, such as the user's time zone. They can be retrieved via list and get methods. Note that if a setting has its default value, it might not be returned.

The list of supported settings:

Setting id設定ID Description説明 Allowed values許容値 Default valueデフォルト値
autoAddHangouts Whether to automatically add Hangouts to all events. Note this setting is ignored by the server if the conferenceDataVersion is larger than 0 as it is the client’s responsibility to handle the logic according to this setting. Read only.ハングアウトをすべての予定に自動的に追加するかどうか。conferenceDataVersionが0より大きい場合、この設定に従ってロジックを処理するのはクライアントの責任であるため、この設定はサーバーによって無視されます。読み取り専用 “true”, “false”"真偽" “false”「偽」
dateFieldOrder What should the order of day (D), month (M) and year (Y) be when displaying dates.日付を表示するときの日(D)、月(M)、年(Y)の順序は何になりますか。 ”MDY”, “DMY”, “YMD”「MDY」、「DMY」、「YMD」 ”MDY”「MDY」
defaultEventLength The default length of events (in minutes) that were created without an explicit duration.明示的な期間なしで作成されたイベントのデフォルトの長さ(分単位)。 positive number正数 “60”“ 60”
format24HourTime Whether to show the time in 24 hour format.時間を24時間形式で表示するかどうか。 “true”, “false”"真偽" “false”「偽」
hideInvitations Whether to hide events to which the user is invited but hasn’t acted on (for example by responding).ユーザーが招待されたが行動していないイベントを非表示にするかどうか(応答するなど)。 “true”, “false”"真偽" “false”「偽」
hideWeekendshideWekends Whether the weekends should be hidden when displaying a week.週を表示するときに週末を隠すかどうか。 “true”, “false”"真偽" “false”「偽」
localeロケール User’s locale.ユーザーのロケール "in", "ca","cs", "da", "de", "en_GB", "en", "es", "es_419", "tl", "fr", "hr", "it", "lv", "lt", "hu", "nl", "no", "pl", "pt_BR", "pt_PT", "ro", "sk", "sl", "fi", "sv", "tr", "vi", "el", "ru", "sr", "uk", "bg", "iw", "ar", "fa", "hi", "th", "zh_TW", "zh_CN", "ja", "ko""in"、 "ca"、 "cs"、 "da"、 "de"、 "en_GB"、 "en"、 "es"、 "es_419"、 "tl"、 "fr"、 "hr"、 "it" "、" lv "、" lt "、" hu "、" nl "、" no "、" pl "、" pt_BR "、" pt_PT "、" ro "、" sk "、" sl "、" fi "、 "sv"、 "tr"、 "vi"、 "el"、 "ru"、 "sr"、 "uk"、 "bg"、 "iw"、 "ar"、 "fa"、 "hi"、 "th "、" zh_TW "、" zh_CN "、" ja "、" ko " “en”「en」
remindOnRespondedEventsOnly Whether event reminders should be sent only for events with the user’s response status “Yes” and “Maybe”.ユーザーの応答状況が「はい」および「多分」のイベントについてのみイベント通知を送信するかどうか。 “true”, “false”"真偽" “false”「偽」
showDeclinedEvents Whether events to which the user responded “No” should be shown on the user’s calendar.ユーザーが「いいえ」と応答したイベントをユーザーのカレンダーに表示するかどうか。 “true”, “false”"真偽" “true”「本当」
timezoneタイムゾーン The ID of the user’s timezone.ユーザーのタイムゾーンのID。 See http://www.iana.org/time-zoneshttp://www.iana.org/time-zonesを 参照してください。 “Etc/GMT”“その他/ GMT”
useKeyboardShortcuts Whether the keyboard shortcuts are enabled.キーボードショートカットが有効になっているかどうか。 “true”, “false”"真偽" “true”「本当」
weekStart Whether the week should start on Sunday (0), Monday (1) or Saturday (6).週が日曜日(0)、月曜日(1)、または土曜日(6)のどちらで始まるかを示します。 "0", "1", "6""0"、 "1"、 "6" “0”“ 0”

For a list of methods for this resource, see the end of this page.このリソースのメソッドのリストについては、このページの終わりを参照してください。

Resource representationsリソース表現

{
  "kind": "calendar#setting",
  "etag": etag,
  "id": string,
  "value": string
}
Property nameプロパティ名 Value Description説明 Notesノート
etag etag ETag of the resource.リソースのETag。
id string The id of the user setting.ユーザー設定のID。
kind string Type of the resource ("calendar#setting").リソースの種類( " calendar#setting")。
value string Value of the user setting. The format of the value depends on the ID of the setting. It must always be a UTF-8 string of length up to 1024 characters.ユーザー設定の値 値の形式は設定のIDによって異なります。常に最大1024文字の長さのUTF-8ストリングでなければなりません。

Methods方法

get取得する
Returns a single user setting.単一のユーザー設定を返します。
listリスト
Returns all user settings for the authenticated user.認証されたユーザーのすべてのユーザー設定を返します。
watch時計
Watch for changes to Settings resources.設定リソースへの変更を監視します。

関連記事

スポンサーリンク

REGR_AVGX関数 回帰直線の独立変数の平均を計算する

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る