CalendarList: patch

Requires authorization 承認が必要

Updates an existing calendar on the user's calendar list. This method supports patch semantics. Try it now. ユーザーのカレンダーリストにある既存のカレンダーを更新します。このメソッドはパッチのセマンティクスをサポートしています。今すぐ試してください

Request要求

HTTP requestHTTPリクエスト

PATCH https://www.googleapis.com/calendar/v3/users/me/calendarList/calendarId

Parametersパラメーター

Parameter nameパラメータ名 Value Description説明
Path parametersパスパラメータ
calendarId string Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. カレンダーID カレンダーIDを取得するには、calendarList.listメソッドを呼び出します。現在ログインしているユーザーのメインカレンダーにアクセスしたい場合は、primaryキーワード" "を使用してください。
Optional query parametersオプションのクエリパラメータ
colorRgbFormat boolean Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId field will be set to the best matching option automatically. Optional. The default is False. foregroundColorbackgroundColorフィールド を使用してカレンダーの色(RGB)を書き込むかどうか。この機能を使用すると、インデックスベースのcolorIdフィールドは自動的に最適なオプションに設定されます。オプションです。デフォルトはFalseです。

Authorization承認

This request requires authorization with the following scope (read more about authentication and authorization).この要求には、以下の範囲での承認が必要です(認証と承認についての詳細を読んでください)。

Scope範囲
https://www.googleapis.com/auth/calendar

Request bodyリクエストボディ

In the request body, supply the relevant portions of a CalendarList resource, according to the rules of patch semantics.リクエスト本文で、パッチのセマンティクスの規則に従って、CalendarListリソースの関連部分を指定します

Response応答

If successful, this method returns a CalendarList resource in the response body.成功した場合、このメソッドはレスポンス本文にCalendarListリソースを返します。

Try it!それを試してみてください!

Use the APIs Explorer below to call this method on live data and see the response. 以下のAPI Explorerを使用して、ライブデータに対してこのメ??ソッドを呼び出して応答を確認してください。

関連記事

スポンサーリンク

Manual マニュアル

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

上に戻る