Method: channels.stop
HTTP リクエスト
POST https://www.googleapis.com/drive/v2/channels/stop
この URL は gRPC Transcoding 構文を使用します。
リクエスト本文
リクエストの本文には Channel
のインスタンスが含まれます。
レスポンスの本文
成功すると、レスポンスの本文は空になります。
認可スコープ
以下のいずれかの OAuth スコープが必要です。
https://www.googleapis.com/auth/docs
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.appdata
https://www.googleapis.com/auth/drive.apps.readonly
https://www.googleapis.com/auth/drive.file
https://www.googleapis.com/auth/drive.meet.readonly
https://www.googleapis.com/auth/drive.metadata
https://www.googleapis.com/auth/drive.metadata.readonly
https://www.googleapis.com/auth/drive.photos.readonly
https://www.googleapis.com/auth/drive.readonly
一部のスコープには制限があり、アプリでそれらを使用するにはセキュリティ評価が必要です。詳細については、承認ガイドをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-04 UTC。
[null,null,["最終更新日 2024-09-04 UTC。"],[[["Sends a POST request to `https://www.googleapis.com/drive/v2/channels/stop` to stop watching resources."],["The request body should contain a Channel object to specify the channel to stop."],["A successful request results in an empty response body."],["Requires authorization with one of the listed OAuth scopes, including `https://www.googleapis.com/auth/drive` or others with varying levels of access to Google Drive resources."]]],["To stop watching resources, a `POST` request is sent to `https://www.googleapis.com/drive/v2/channels/stop`. The request body must contain a `Channel` instance. A successful operation results in an empty response body. Authorization requires one of several specified OAuth scopes, including `https://www.googleapis.com/auth/drive` and others, with some requiring a security assessment. The URL employs gRPC Transcoding syntax.\n"]]