Berechtigungen für private Angebote mit automatischer Angebotsgenehmigung verwalten
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Wenn ein Kunde ein privates Angebot kauft, erstellt Google eine Berechtigung, die angibt, dass der Kunde das Angebot über den Cloud Marketplace gekauft hat.
Weitere Informationen zur Verwendung der Partner Procurement API für private Angebote finden Sie in der Referenzdokumentation.
Prüfen, wann die Angebote Ihres Kunden aktiv werden
Wenn Sie die automatische Angebotsgenehmigung für ein SaaS-Produkt aktivieren, erhalten Sie andere Pub/Sub-Nachrichten als für SaaS-Produkte, für die die automatische Genehmigung nicht aktiviert ist.
Da SaaS-Produkte mit automatischer Angebotsgenehmigung geplante Startdaten unterstützen, müssen Sie nach der Annahme eines privaten Angebots prüfen, wann das Angebot voraussichtlich beginnt, damit Sie die Ressourcen zur richtigen Zeit bereitstellen können.
Wenn ein Kunde ein privates Angebot kauft, erstellt Cloud Marketplace eine Berechtigung und sendet die folgende Pub/Sub-Nachricht an Ihr Produkt:
{"eventId":"...","eventType":"ENTITLEMENT_OFFER_ACCEPTED","entitlement":{"id":"ENTITLEMENT_ID","updateTime":"...","newOfferDuration":"",// Contract duration for the offer"newOfferStartTime":"...",// Starting time for the offer"newOfferEndTime":"...",// Ending time for the offer},}
In diesem Beispiel ist ENTITLEMENT_ID eine vom Cloud Marketplace erstellte ID.
Aktualisieren Sie in Ihrem System das Konto des Nutzers, um anzuzeigen, dass er das Angebot erworben hat. Im Feld newOfferStartTime kannst du die voraussichtliche Startzeit des Angebots prüfen, damit du die Ressourcen nach Bedarf bereitstellen kannst.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (UTC)."],[],[],null,["# Manage entitlements for private offers with automatic offer approval\n\nWhen a customer purchases a [private offer](/marketplace/docs/partners/offers),\nGoogle creates an *entitlement*, which indicates that the customer has bought\nthe offer from Cloud Marketplace.\n\nThis article reviews how to manage entitlements for your\n[private offers that have automatic offer approval turned on](/marketplace/docs/partners/offers/automatic-approval)\nby using the Partner Procurement API.\n| **Caution:** Once you turn on automatic offer approval for a SaaS product, you no longer receive `ENTITLEMENT_CREATION_REQUESTED` or `ENTITLEMENT_PLAN_CHANGE_REQUESTED` Pub/Sub messages for that SaaS product.\n\nIf you haven't turned on\n[automatic offer approval](/marketplace/docs/partners/offers/automatic-approval)\nfor your software as a service (SaaS) product, you receive different\nPub/Sub messages than those described in this article. For details\nof those Pub/Sub messages, refer to\n[Manage entitlements for private offers](/marketplace/docs/partners/offers/manage-entitlements).\n\nFor details on using the Partner Procurement API for private offers, visit\nthe [reference documentation](/marketplace/docs/partners/offers/rest-resources).\n| **Note:** You can also perform some management tasks in Producer Portal when you view your list of offers.\n\nVerify when your customer's offers will become active\n-----------------------------------------------------\n\nWhen you turn on\n[automatic offer approval](/marketplace/docs/partners/offers/automatic-approval)\nfor a SaaS product, you receive different Pub/Sub messages than those\nyou receive for SaaS products that don't have automatic approval turned on.\nBecause SaaS products with automatic offer approval support scheduled start\ndates, after a private offer is accepted, you must verify when the offer is\nexpected to begin, so that you can provision resources at the right time.\n| **Note:** If you've turned on automatic offer approval for SaaS products, you still must [approve your customer's account](/marketplace/docs/partners/offers/approve-offer) before an offer can take effect. If you don't approve your customer's account before the scheduled start date of their offer, that offer is automatically rejected, for both new offers and amendments to existing offers.\n\nWhen a customer purchases a private offer, Cloud Marketplace creates an\nentitlement and sends the following Pub/Sub message to your product: \n\n```json\n{\n \"eventId\": \"...\",\n \"eventType\": \"ENTITLEMENT_OFFER_ACCEPTED\",\n \"entitlement\": {\n \"id\": \"\u003cvar translate=\"no\"\u003eENTITLEMENT_ID\u003c/var\u003e\",\n \"updateTime\": \"...\",\n \"newOfferDuration\": \"\", // Contract duration for the offer\n \"newOfferStartTime\": \"...\", // Starting time for the offer\n \"newOfferEndTime\": \"...\", // Ending time for the offer\n },\n}\n```\n\nIn this example, \u003cvar translate=\"no\"\u003eENTITLEMENT_ID\u003c/var\u003e is an ID created by\nCloud Marketplace.\n\nIn your system, update the user's account to reflect that they've purchased the\noffer. Use the `newOfferStartTime` field to verify the time that the offer is\nexpected to start, so that you can provision resources as needed.\n\nWhat's next\n-----------\n\n- [Turn on automatic offer approval](/marketplace/docs/partners/offers/automatic-approval)\n for SaaS products that you offer.\n\n- [Create a private offer](/marketplace/docs/partners/offers/create-private-offers)\n for a specific customer."]]