この方法には、以下に説明する一般的なユースケースが 1 つあります。説明の下にあるボタンをクリックすると、API Explorer にサンプル値が入力されます。また、API Explorer が全画面表示され、それらの値を使用するコードサンプルが表示されます。また、値を変更すると、コードサンプルが動的に更新されます。

This example subscribes the authorizing channel to the GoogleDevelopers channel. You can change the channel being subscribed to by updating the snippet.resourceId.channelId property value.