Method: operators.planStatuses.create
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
携帯電話会社(一意の自律システム番号(ASN)で識別)が新しい PlanStatus エントリを追加できるようにする。
HTTP リクエスト
POST https://mobiledataplansharing.googleapis.com/v1/{parent=operators/*}/planStatuses
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
親リソースのリソース名。形式は operators/{asn_id} です。
|
クエリ パラメータ
パラメータ |
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 allows mobile operators to add new PlanStatus entries for their users."],["It uses a POST request to `https://mobiledataplansharing.googleapis.com/v1/{parent=operators/*}/planStatuses` with the operator's ASN in the path."],["The request body should contain a PlanStatus object, and a successful response will return the newly created PlanStatus."],["Authorization requires the `https://www.googleapis.com/auth/dataplansharing` OAuth scope."]]],["A mobile operator uses a `POST` request to add a new `PlanStatus` entry. The request URL specifies the operator's ASN via a `parent` path parameter (`operators/{asn_id}`). A `userKey` query parameter identifies the user. The request body includes `PlanStatus` data, and a successful response returns the created `PlanStatus`. This action requires the `https://www.googleapis.com/auth/dataplansharing` OAuth scope, utilizing gRPC Transcoding for the URL.\n"]]