Method: providers.trips.update
यात्रा का डेटा अपडेट करता है.
एचटीटीपी अनुरोध
PUT https://fleetengine.googleapis.com/v1/{name=providers/*/trips/*}
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
पैरामीटर |
name |
string
ज़रूरी है. यह providers/{provider}/trips/{trip} फ़ॉर्मैट में होना चाहिए. प्रोवाइडर, उस Google Cloud प्रोजेक्ट का प्रोजेक्ट आईडी (उदाहरण के लिए, sample-consumer-project ) होना चाहिए जिसका यह कॉल करने वाला सेवा खाता सदस्य है.
|
क्वेरी पैरामीटर
पैरामीटर |
header |
object (RequestHeader )
Fleet Engine के अनुरोध का स्टैंडर्ड हेडर.
|
updateMask |
string (FieldMask format)
ज़रूरी है. फ़ील्ड मास्क, जो यह बताता है कि यात्रा के किन फ़ील्ड को अपडेट करना है. updateMask में कम से कम एक फ़ील्ड होना चाहिए. यह फ़ील्ड के पूरी तरह से क्वालिफ़ाइड नामों की सूची है. इसमें नामों को कॉमा लगाकर अलग किया गया है. उदाहरण: "user.displayName,photo" .
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में Trip
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में Trip
का एक इंस्टेंस शामिल किया जाता है.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-11-08 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-11-08 (UTC) को अपडेट किया गया."],[[["This endpoint updates trip data using an HTTP PUT request to the specified URL."],["The request must include path and query parameters, including a required `name` and `updateMask`."],["The request body should contain the updated trip data in the `Trip` format, as defined in the provided link."],["A successful response will also contain the updated `Trip` data in the response body."],["The provider in the path parameter must be the Project ID of the Google Cloud Project of which the service account making the call is a member."]]],["This describes updating trip data using a `PUT` request to a specific URL, formatted as `providers/*/trips/*`. The request requires a trip `name` as a path parameter. Mandatory query parameters include a request `header` and an `updateMask` to specify fields for modification. The request body contains the `Trip` instance to be updated and the response body returns a `Trip` object. The format of the trip path is specified, in addition to examples for `updateMask`.\n"]]