Method: monetization.subscriptions.basePlans.offers.patch
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
HTTP リクエスト
PATCH https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{subscriptionOffer.packageName}/subscriptions/{subscriptionOffer.productId}/basePlans/{subscriptionOffer.basePlanId}/offers/{subscriptionOffer.offerId}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
subscriptionOffer.packageName |
string
必須。変更不可。親定期購入が属するアプリのパッケージ名。
|
subscriptionOffer.productId |
string
必須。変更不可。この特典が属する親定期購入の ID。
|
subscriptionOffer.basePlanId |
string
必須。変更不可。この特典が追加される基本プランの ID。
|
subscriptionOffer.offerId |
string
必須。変更不可。この定期購入特典の一意の ID。基本プラン内で一意でなければなりません。
|
クエリ パラメータ
パラメータ |
updateMask |
string (FieldMask format)
必須。更新するフィールドのリスト。 完全修飾フィールド名のカンマ区切りリスト。例: "user.displayName,photo" 。
|
regionsVersion |
object (RegionsVersion )
必須。subscriptionOffer で使用されている利用可能な地域のバージョン。
|
allowMissing |
boolean
省略可。true に設定すると、指定された packageName、productId、basePlanId、offerId に一致する定期購入特典が存在しない場合、その特典が作成されます。 新しい特典が作成された場合、updateMask は無視されます。
|
latencyTolerance |
enum (ProductUpdateLatencyTolerance )
省略可。このアイテムの更新の伝播に関する遅延の許容度。デフォルトは latency-sensitive(遅延の影響を受けやすい)です。
|
リクエスト本文
リクエストの本文には SubscriptionOffer
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には SubscriptionOffer
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidpublisher
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-12-18 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"]],["最終更新日 2024-12-18 UTC。"],[[["This operation updates an existing subscription offer with a `PATCH` request to a specific URL."],["You'll need to provide path parameters for package name, product ID, base plan ID, and offer ID to identify the target offer."],["The request body should contain the updated `SubscriptionOffer` object, and the response will return the modified `SubscriptionOffer` if successful."],["Query parameters allow for specifying the fields to update (`updateMask`), handling missing offers (`allowMissing`), and controlling update propagation latency (`latencyTolerance`)."],["Authorization requires the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This describes updating a subscription offer via a `PATCH` HTTP request to a specific URL. Key actions involve setting `packageName`, `productId`, `basePlanId`, and `offerId` in the URL path. The request body includes `SubscriptionOffer` data, and the response returns the updated `SubscriptionOffer`. `updateMask`, and `regionsVersion` are required query parameters; `allowMissing`, and `latencyTolerance` are optional. The operation requires `androidpublisher` OAuth scope.\n"]]