行動網路業者 (以專屬自治系統編號 (ASN) 識別) 可為使用者新增 PlanStatus 項目,供特定用戶端使用。
HTTP 要求
POST https://mobiledataplansharing.googleapis.com/v1/{parent=operators/*}/clients/{clientId}/users/{userKey}/planStatus
這個網址使用 gRPC 轉碼語法。
路徑參數
| 參數 | |
|---|---|
parent |
父項資源的資源名稱,格式如下: |
clientId |
要與 Google 分享方案狀態的用戶端。支援的用戶端 ID 為 mobiledataplan 和 youtube。 |
userKey |
使用者金鑰,用於識別要建立方案狀態的使用者。 |
要求主體
要求主體包含 PlanStatus 的例項。
回應主體
如果成功,回應主體會包含新建立的 PlanStatus 例項。
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/dataplansharing
詳情請參閱 OAuth 2.0 總覽。