Method: enterprises.devices.patch
HTTP অনুরোধ
PATCH https://androidmanagement.googleapis.com/v1/{name=enterprises/*/devices/*}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
name | string enterprises/{enterpriseId}/devices/{deviceId} ফর্মে থাকা ডিভাইসের নাম। |
ক্যোয়ারী প্যারামিটার
পরামিতি |
---|
updateMask | string ( FieldMask format) ফিল্ড মাস্ক আপডেট করার জন্য ক্ষেত্র নির্দেশ করে। যদি সেট না করা হয়, সব পরিবর্তনযোগ্য ক্ষেত্র পরিবর্তন করা হবে। এটি ক্ষেত্রগুলির সম্পূর্ণরূপে যোগ্য নামের একটি কমা দ্বারা পৃথক করা তালিকা৷ উদাহরণ: "user.displayName,photo" । |
শরীরের অনুরোধ
অনুরোধের মূল অংশে Device
একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে Device
একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/androidmanagement
আরো তথ্যের জন্য, দেখুনOAuth 2.0 Overview .
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-02-19 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-02-19 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Updates a device using an HTTP PATCH request to a specific URL with required path and optional query parameters."],["Requires `https://www.googleapis.com/auth/androidmanagement` OAuth scope for authorization."],["Request and response bodies utilize the `Device` object for data transfer."],["Path parameters specify the enterprise and device, while query parameters allow for selective field updates using a field mask."],["You can find more details about the `Device` object and authorization in the provided links."]]],["This document details how to update a device using a PATCH request. The request URL structure is `https://androidmanagement.googleapis.com/v1/{name=enterprises/*/devices/*}`, using gRPC Transcoding. The `name` path parameter specifies the device. The `updateMask` query parameter indicates which fields to modify. The request and response bodies use the `Device` object. Authorization requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope. The user can use the `Try it!` option to test the update.\n"]]