Method: operators.clients.users.planStatus.create
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
モバイル オペレーター(固有の自律システム番号(ASN)で識別)が、特定のクライアントで使用されるユーザーの新しい PlanStatus エントリを追加できるようにします。
HTTP リクエスト
POST https://mobiledataplansharing.googleapis.com/v1/{parent=operators/*}/clients/{clientId}/users/{userKey}/planStatus
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
親リソースのリソース名。次の形式になります。operators/{asn_id}
|
clientId |
string
プランのステータスが Google と共有されているクライアント。サポートされているクライアント ID は mobiledataplan と youtube です。
|
userKey |
string
プランのステータスが作成されるユーザーを識別するユーザーキー。
|
リクエストの本文
リクエストの本文には PlanStatus
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には、新しく作成された PlanStatus
のインスタンスが含まれます。
承認スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/dataplansharing
詳細については、OAuth 2.0 の概要をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-26 UTC。"],[],["A mobile operator uses a POST request to add a new `PlanStatus` entry for a specific user. The request targets a URL structured with `parent` (operator ASN), `clientId` (e.g., mobiledataplan, youtube), and `userKey`. The request body includes `PlanStatus` data, and a successful response returns a new `PlanStatus` instance. Authorization requires the `https://www.googleapis.com/auth/dataplansharing` OAuth scope. The core action is adding a new PlanStatus for a user.\n"]]