Method: customers.configurations.create
یک پیکربندی جدید ایجاد می کند. پس از ایجاد، مشتری می تواند پیکربندی را روی دستگاه ها اعمال کند.
درخواست HTTP
POST https://androiddeviceprovisioning.googleapis.com/v1/{parent=customers/*}/configurations
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
مولفه های |
---|
parent | string ضروری. مشتری که پیکربندی را مدیریت می کند. نام منبع API در قالب customers/[CUSTOMER_ID] . |
درخواست بدن
بدنه درخواست شامل نمونه ای از Configuration
است.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی نمونه جدیدی از Configuration
است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/androidworkzerotouchemm
برای اطلاعات بیشتر، به نمای کلی OAuth 2.0 مراجعه کنید.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی."],[[["This endpoint creates a new configuration that can be applied to devices under a specified customer."],["The request is a POST request to the URL `https://androiddeviceprovisioning.googleapis.com/v1/{parent=customers/*}/configurations`, using gRPC Transcoding syntax."],["The `parent` path parameter is a required string that specifies the customer managing the configuration in the format `customers/[CUSTOMER_ID]`."],["The request body should include an instance of a `Configuration`, and a successful response will contain a newly created `Configuration`."],["The authorization scope `https://www.googleapis.com/auth/androidworkzerotouchemm` is required to make this call."]]],["This describes how to create a new configuration using a POST request to `https://androiddeviceprovisioning.googleapis.com/v1/{parent=customers/*}/configurations`. The `parent` path parameter, representing the customer, is required. The request body must include a `Configuration` instance, and a successful response returns a new `Configuration` instance. This action requires the `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope. This configuration can then be applied to devices.\n"]]