REST Resource: enterprises.devices
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
সম্পদ: ডিভাইস
ডিভাইস সংস্থান সম্পত্তিতে এন্টারপ্রাইজ পরিচালিত ডিভাইসের একটি উদাহরণ উপস্থাপন করে।
JSON প্রতিনিধিত্ব |
---|
{
"name": string,
"type": string,
"traits": {
object
},
"parentRelations": [
{
object (ParentRelation )
}
]
} |
ক্ষেত্র |
---|
name | string প্রয়োজন। ডিভাইসের সম্পদের নাম। উদাহরণস্বরূপ: "এন্টারপ্রাইজ/XYZ/ডিভাইস/123"। |
type | string শুধুমাত্র আউটপুট। সাধারণ প্রদর্শনের উদ্দেশ্যে ডিভাইসের প্রকার। যেমন: "থার্মোস্ট্যাট"। ডিভাইসের ধরনটি প্রকৃত ডিভাইসের কার্যকারিতা অনুমান বা অনুমান করার জন্য ব্যবহার করা উচিত নয় যা এটিকে বরাদ্দ করা হয়েছে। পরিবর্তে, ডিভাইসের জন্য ফিরে আসা বৈশিষ্ট্য ব্যবহার করুন। |
traits | object ( Struct format) শুধুমাত্র আউটপুট। ডিভাইসের বৈশিষ্ট্য। |
parentRelations[] | object ( ParentRelation ) ডিভাইসের অ্যাসাইনি বিবরণ। |
পিতামাতার সম্পর্ক
ডিভাইস সম্পর্ক প্রতিনিধিত্ব করে, উদাহরণস্বরূপ, যে কাঠামো/রুমে ডিভাইসটি বরাদ্দ করা হয়েছে।
JSON প্রতিনিধিত্ব |
---|
{
"parent": string,
"displayName": string
} |
ক্ষেত্র |
---|
parent | string শুধুমাত্র আউটপুট। সম্পর্কের নাম -- যেমন, কাঠামো/রুম যেখানে ডিভাইসটি বরাদ্দ করা হয়েছে। যেমন: "এন্টারপ্রাইজ/XYZ/structures/ABC" বা "Enterprises/XYZ/structures/ABC/rooms/123" |
displayName | string শুধুমাত্র আউটপুট। সম্পর্কের কাস্টম নাম -- যেমন, কাঠামো/রুম যেখানে ডিভাইসটি বরাদ্দ করা হয়েছে। |
পদ্ধতি |
---|
| এন্টারপ্রাইজ দ্বারা পরিচালিত ডিভাইসে একটি কমান্ড কার্যকর করে। |
| এন্টারপ্রাইজ দ্বারা পরিচালিত একটি ডিভাইস পায়। |
| এন্টারপ্রাইজ দ্বারা পরিচালিত ডিভাইসগুলি তালিকাভুক্ত করে৷ |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe Device resource represents an instance of an enterprise-managed device, containing information like name, type, traits, and parent relationships.\u003c/p\u003e\n"],["\u003cp\u003eParentRelation describes the relationship of a device to a structure or room within the enterprise, including its parent and display name.\u003c/p\u003e\n"],["\u003cp\u003eThis API provides methods to execute commands on devices, retrieve device details, and list devices managed by the enterprise.\u003c/p\u003e\n"]]],[],null,["# REST Resource: enterprises.devices\n\n- [Resource: Device](#Device)\n - [JSON representation](#Device.SCHEMA_REPRESENTATION)\n- [ParentRelation](#ParentRelation)\n - [JSON representation](#ParentRelation.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Device\n----------------\n\nDevice resource represents an instance of enterprise managed device in the property.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"type\": string, \"traits\": { object }, \"parentRelations\": [ { object (/nest/device-access/reference/rest/v1/enterprises.devices#ParentRelation) } ] } ``` |\n\n| Fields ||\n|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The resource name of the device. For example: \"enterprises/XYZ/devices/123\". |\n| `type` | `string` Output only. Type of the device for general display purposes. For example: \"THERMOSTAT\". The device type should not be used to deduce or infer functionality of the actual device it is assigned to. Instead, use the returned traits for the device. |\n| `traits` | `object (`[Struct](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Struct)` format)` Output only. Device traits. |\n| `parentRelations[]` | `object (`[ParentRelation](/nest/device-access/reference/rest/v1/enterprises.devices#ParentRelation)`)` Assignee details of the device. |\n\nParentRelation\n--------------\n\nRepresents device relationships, for instance, structure/room to which the device is assigned to.\n\n| JSON representation |\n|-----------------------------------------------------|\n| ``` { \"parent\": string, \"displayName\": string } ``` |\n\n| Fields ||\n|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Output only. The name of the relation -- e.g., structure/room where the device is assigned to. For example: \"enterprises/XYZ/structures/ABC\" or \"enterprises/XYZ/structures/ABC/rooms/123\" |\n| `displayName` | `string` Output only. The custom name of the relation -- e.g., structure/room where the device is assigned to. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------------------------|---------------------------------------------------------|\n| ### [executeCommand](/nest/device-access/reference/rest/v1/enterprises.devices/executeCommand) | Executes a command to device managed by the enterprise. |\n| ### [get](/nest/device-access/reference/rest/v1/enterprises.devices/get) | Gets a device managed by the enterprise. |\n| ### [list](/nest/device-access/reference/rest/v1/enterprises.devices/list) | Lists devices managed by the enterprise. |"]]