Calendars
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
リソース表現
{
"kind": "calendar#calendar",
"etag": etag,
"id": string,
"summary": string,
"description": string,
"location": string,
"timeZone": string,
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
string
]
}
}
プロパティ名 |
値 |
説明 |
メモ |
conferenceProperties |
nested object |
このカレンダーの会議プロパティ(許可されている会議の種類など)。 |
|
conferenceProperties.allowedConferenceSolutionTypes[] |
list |
このカレンダーでサポートされている会議ソリューションの種類。 可能な値は次のとおりです。 "eventHangout" "eventNamedHangout" "hangoutsMeet" 省略可。 |
|
description |
string |
カレンダーの説明。省略可。 |
書き込み可能
|
etag |
etag |
リソースの ETag。 |
|
id |
string |
カレンダーの識別子。ID を取得するには、calendarList.list() メソッドを呼び出します。 |
|
kind |
string |
リソースのタイプ(「calendar#calendar 」)。 |
|
location |
string |
カレンダーの地理的な場所(自由形式のテキスト)。省略可。 |
書き込み可能
|
summary |
string |
カレンダーのタイトル。 |
書き込み可能
|
timeZone |
string |
カレンダーのタイムゾーン。(形式は「Europe/Zurich」などの IANA タイムゾーン データベース名になります)。省略可。 |
書き込み可能
|
メソッド
- 鮮明度
- メイン カレンダーをクリアします。この操作を行うと、アカウントのメイン カレンダーに関連付けられている予定がすべて削除されます。
- delete
- 予備カレンダーを削除します。メイン カレンダーのすべての予定を消去するには、calendar.clear を使用します。
- get
- カレンダーのメタデータを返します。
- insert
- 予備カレンダーを作成します。
- patch
- カレンダーのメタデータを更新します。このメソッドは、パッチ セマンティクスをサポートしています。なお、パッチ リクエストごとに割り当てユニットが 3 つ消費されます。
get
の後に update
を付ける方が良いでしょう。指定したフィールド値によって、既存の値が置き換えられます。リクエストで指定しないフィールドは変更されません。配列フィールドを指定すると、既存の配列が上書きされます。前の配列要素が破棄されます。
- update
- カレンダーのメタデータを更新します。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],[],null,["# Calendars\n\nA collection of all existing calendars. See also [Calendars vs CalendarList](/workspace/calendar/api/concepts/events-calendars#calendar_and_calendar_list).\n\nFor a list of [methods](#methods) for this resource, see the end of this page.\n\nResource representations\n------------------------\n\n\u003cbr /\u003e\n\n```text\n{\n \"kind\": \"calendar#calendar\",\n \"etag\": etag,\n \"id\": string,\n \"summary\": string,\n \"description\": string,\n \"location\": string,\n \"timeZone\": string,\n \"conferenceProperties\": {\n \"allowedConferenceSolutionTypes\": [\n string\n ]\n }\n}\n```\n\n| Property name | Value | Description | Notes |\n|---------------------------------------------------------|-----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|\n| `conferenceProperties` | `nested object` | Conferencing properties for this calendar, for example what types of conferences are allowed. | |\n| conferenceProperties.`allowedConferenceSolutionTypes[]` | `list` | The types of conference solutions that are supported for this calendar. The possible values are: - `\"eventHangout\"` - `\"eventNamedHangout\"` - `\"hangoutsMeet\"` Optional. \u003cbr /\u003e | |\n| `description` | `string` | Description of the calendar. Optional. | writable |\n| `etag` | `etag` | ETag of the resource. | |\n| `id` | `string` | Identifier of the calendar. To retrieve IDs call the [calendarList.list()](/calendar/v3/reference/calendarList/list) method. | |\n| `kind` | `string` | Type of the resource (\"`calendar#calendar`\"). | |\n| `location` | `string` | Geographic location of the calendar as free-form text. Optional. | writable |\n| `summary` | `string` | Title of the calendar. | writable |\n| `timeZone` | `string` | The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. \"Europe/Zurich\".) Optional. | writable |\n\nMethods\n-------\n\n[clear](/workspace/calendar/api/v3/reference/calendars/clear)\n: Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account.\n\n[delete](/workspace/calendar/api/v3/reference/calendars/delete)\n: Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars.\n\n[get](/workspace/calendar/api/v3/reference/calendars/get)\n: Returns metadata for a calendar.\n\n[insert](/workspace/calendar/api/v3/reference/calendars/insert)\n: Creates a secondary calendar.\n\n[patch](/workspace/calendar/api/v3/reference/calendars/patch)\n: Updates metadata for a calendar. This method supports patch semantics. Note that each patch request consumes three quota units; prefer using a `get` followed by an `update`. The field values you specify replace the existing values. Fields that you don't specify in the request remain unchanged. Array fields, if specified, overwrite the existing arrays; this discards any previous array elements.\n\n[update](/workspace/calendar/api/v3/reference/calendars/update)\n: Updates metadata for a calendar."]]