Method: mobiledevices.action
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
এমন একটি পদক্ষেপ নেয় যা একটি মোবাইল ডিভাইসকে প্রভাবিত করে। উদাহরণস্বরূপ, দূরবর্তীভাবে একটি ডিভাইস মুছা।
HTTP অনুরোধ
POST https://admin.googleapis.com/admin/directory/v1/customer/{customerId}/devices/mobile/{resourceId}/action
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
customerId | string গ্রাহকের Google Workspace অ্যাকাউন্টের জন্য অনন্য আইডি। একজন অ্যাকাউন্ট প্রশাসক হিসেবে, আপনি আপনার অ্যাকাউন্টের customerId প্রতিনিধিত্ব করতে my_customer alias ব্যবহার করতে পারেন। ব্যবহারকারীর সম্পদের অংশ হিসাবে customerId ফেরত দেওয়া হয়। |
resourceId | string API পরিষেবা মোবাইল ডিভাইস সনাক্ত করতে ব্যবহার করে অনন্য আইডি। |
শরীরের অনুরোধ
অনুরোধের মূল অংশে MobileDeviceAction
এর একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া একটি জেনেরিক HTTP প্রতিক্রিয়া যার বিন্যাস পদ্ধতি দ্বারা সংজ্ঞায়িত করা হয়।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগগুলির মধ্যে একটি প্রয়োজন:
-
https://www.googleapis.com/auth/admin.directory.device.mobile
-
https://www.googleapis.com/auth/admin.directory.device.mobile.action
আরও তথ্যের জন্য, অনুমোদন নির্দেশিকা দেখুন।
মোবাইল ডিভাইস অ্যাকশন
JSON প্রতিনিধিত্ব |
---|
{
"action": string
} |
ক্ষেত্র |
---|
action | string ডিভাইসে সঞ্চালিত ক্রিয়া। গ্রহণযোগ্য মান হল: -
admin_remote_wipe -
admin_account_wipe -
approve -
block -
cancel_remote_wipe_then_activate -
cancel_remote_wipe_then_block
|
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Method: mobiledevices.action\n\nTakes an action that affects a mobile device. For example, remotely wiping a device.\n\n### HTTP request\n\n`POST https://admin.googleapis.com/admin/directory/v1/customer/{customerId}/devices/mobile/{resourceId}/action`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `customerId` | `string` The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users resource](https://developers.google.com/workspace/admin/directory/v1/reference/users). |\n| `resourceId` | `string` The unique ID the API service uses to identify the mobile device. |\n\n### Request body\n\nThe request body contains an instance of [MobileDeviceAction](/workspace/admin/directory/reference/rest/v1/mobiledevices/action#MobileDeviceAction).\n\n### Response body\n\nIf successful, the response is a generic HTTP response whose format is defined by the method.\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/admin.directory.device.mobile`\n- `\n https://www.googleapis.com/auth/admin.directory.device.mobile.action`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent).\n\nMobileDeviceAction\n------------------\n\n| JSON representation |\n|------------------------------|\n| ``` { \"action\": string } ``` |\n\n| Fields ||\n|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `action` | `string` \u003cbr /\u003e The action to be performed on the device. Acceptable values are: - `admin_remote_wipe` - `admin_account_wipe` - `approve` - `block` - `cancel_remote_wipe_then_activate` - `cancel_remote_wipe_then_block` |"]]