Method: flightobject.update
Aktualisiert das Flight-Objekt, auf das von der angegebenen Objekt-ID verwiesen wird.
HTTP-Anfrage
PUT https://walletobjects.googleapis.com/walletobjects/v1/flightObject/{resourceId}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
resourceId |
string
Die eindeutige Kennung für ein Objekt. Diese ID muss für alle Objekte eines Ausstellers eindeutig sein. Dieser Wert muss das Format issuer ID haben.identifier, wobei von Google ausgegeben und von dir ausgewählt wird. Die eindeutige Kennung darf nur alphanumerische Zeichen sowie „.“, „_“ oder „-“ enthalten.
|
Anfragetext
Der Anfragetext enthält eine Instanz von FlightObject
.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von FlightObject
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/wallet_object.issuer
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-11-04 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-11-04 (UTC)."],[[["Updates an existing flight object using its unique identifier."],["The request must contain the flight object data in the body and the object ID in the URL path."],["A successful update returns the updated flight object in the response."],["Requires authorization with the `https://www.googleapis.com/auth/wallet_object.issuer` scope."]]],["This describes how to update a flight object using a PUT request. The request URL is `https://walletobjects.googleapis.com/walletobjects/v1/flightObject/{resourceId}`, with `resourceId` being the unique flight object identifier. The request body must contain a `FlightObject` instance. A successful response will also include a `FlightObject` instance. Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope. The `resourceId` parameter format should be issuer ID.identifier.\n"]]