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 および関連会社の登録商標です。
最終更新日 2022-09-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"]],["最終更新日 2022-09-26 UTC。"],[[["This API endpoint allows mobile operators to add new plan status entries for users."],["The request must include the operator's ASN, client ID (mobiledataplan or youtube), and a user key."],["Both the request and response bodies utilize the `PlanStatus` object for data transfer."],["Authorization requires the `https://www.googleapis.com/auth/dataplansharing` scope."],["The endpoint uses a POST request to `https://mobiledataplansharing.googleapis.com/v1/{parent=operators/*}/clients/{clientId}/users/{userKey}/planStatus`."]]],["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"]]