Enum EventType
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
イベントタイプイベントのタイプを表す列挙型。
列挙型を呼び出すには、その親クラス、名前、プロパティを呼び出します。たとえば、
CalendarApp.EventType.DEFAULT
です。
プロパティ
プロパティ | タイプ | 説明 |
DEFAULT | Enum | イベントが定期的なものである。 |
BIRTHDAY | Enum | イベントは、年間に 1 回繰り返される特別な終日イベントです。 |
FOCUS_TIME | Enum | イベントがサイレント モードの予定である。 |
FROM_GMAIL | Enum | イベントが Gmail からの予定である。 |
OUT_OF_OFFICE | Enum | イベントが不在の予定である。 |
WORKING_LOCATION | Enum | イベントが勤務場所のイベントである。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003e\u003ccode\u003eEventType\u003c/code\u003e is an enum used to represent the type of a calendar event, such as a regular event, a birthday, or a focus-time event.\u003c/p\u003e\n"],["\u003cp\u003eTo call an enum property, use the syntax \u003ccode\u003eCalendarApp.EventType.PROPERTY_NAME\u003c/code\u003e, for example, \u003ccode\u003eCalendarApp.EventType.BIRTHDAY\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEventType\u003c/code\u003e enum includes properties like \u003ccode\u003eDEFAULT\u003c/code\u003e, \u003ccode\u003eBIRTHDAY\u003c/code\u003e, \u003ccode\u003eFOCUS_TIME\u003c/code\u003e, \u003ccode\u003eFROM_GMAIL\u003c/code\u003e, \u003ccode\u003eOUT_OF_OFFICE\u003c/code\u003e, and \u003ccode\u003eWORKING_LOCATION\u003c/code\u003e, each representing a different event type.\u003c/p\u003e\n"]]],[],null,["# Enum EventType\n\nEventType\n\nAn enum representing the type of an event.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCalendarApp.EventType.DEFAULT`. \n\n### Properties\n\n| Property | Type | Description |\n|--------------------|--------|-----------------------------------------------------------------|\n| `DEFAULT` | `Enum` | The event is a regular event. |\n| `BIRTHDAY` | `Enum` | The event is a special all-day event with an annual recurrence. |\n| `FOCUS_TIME` | `Enum` | The event is a focus-time event. |\n| `FROM_GMAIL` | `Enum` | The event is an event from Gmail. |\n| `OUT_OF_OFFICE` | `Enum` | The event is an out-of-office event. |\n| `WORKING_LOCATION` | `Enum` | The event is a working location event. |"]]