Chrome Policy API
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
API chính sách Chrome là một bộ dịch vụ cho phép quản trị viên Chrome kiểm soát các chính sách áp dụng cho các thiết bị ChromeOS và trình duyệt Chrome được quản lý của họ.
Dịch vụ: chromepolicy.googleapis.com
Để gọi dịch vụ này, bạn nên sử dụng thư viện ứng dụng do Google cung cấp. Nếu ứng dụng cần sử dụng thư viện của riêng bạn để gọi dịch vụ này, hãy sử dụng thông tin sau khi bạn yêu cầu API.
Tài liệu khám phá
Discovery Document (Tài liệu khám phá) là quy cách mà máy có thể đọc được để mô tả và sử dụng các API REST. Thư viện này được dùng để tạo thư viện ứng dụng, trình bổ trợ IDE và các công cụ khác tương tác với API của Google. Một dịch vụ có thể cung cấp nhiều tài liệu khám phá. Dịch vụ này cung cấp tài liệu khám phá sau:
Điểm cuối dịch vụ
Điểm cuối của dịch vụ là một URL cơ sở chỉ định địa chỉ mạng của dịch vụ API. Một dịch vụ có thể có nhiều điểm cuối dịch vụ. Dịch vụ này có điểm cuối dịch vụ sau đây và tất cả các URI bên dưới đều liên quan đến điểm cuối dịch vụ này:
https://chromepolicy.googleapis.com
Phương thức |
resolve |
POST /v1/{customer=customers/*}/policies:resolve
Lấy các giá trị chính sách đã phân giải cho danh sách các chính sách khớp với cụm từ tìm kiếm. |
Phương thức |
batchDelete |
POST /v1/{customer=customers/*}/policies/groups:batchDelete
Xoá nhiều giá trị chính sách được áp dụng cho một nhóm cụ thể. |
batchModify |
POST /v1/{customer=customers/*}/policies/groups:batchModify
Sửa đổi nhiều giá trị chính sách được áp dụng cho một nhóm cụ thể. |
listGroupPriorityOrdering |
POST /v1/{customer=customers/*}/policies/groups:listGroupPriorityOrdering
Truy xuất thứ tự ưu tiên nhóm cho ứng dụng. |
updateGroupPriorityOrdering |
POST /v1/{customer=customers/*}/policies/groups:updateGroupPriorityOrdering
Cập nhật thứ tự ưu tiên theo nhóm cho ứng dụng. |
Phương thức |
defineCertificate |
POST /v1/{customer=customers/*}/policies/networks:defineCertificate
Tạo chứng chỉ tại một đơn vị tổ chức đã chỉ định cho một khách hàng. |
defineNetwork |
POST /v1/{customer=customers/*}/policies/networks:defineNetwork
Xác định một mạng mới. |
removeCertificate |
POST /v1/{customer=customers/*}/policies/networks:removeCertificate
Xoá chứng chỉ hiện có bằng hướng dẫn. |
removeNetwork |
POST /v1/{customer=customers/*}/policies/networks:removeNetwork
Xoá một mạng hiện có bằng hướng dẫn. |
Phương thức |
batchInherit |
POST /v1/{customer=customers/*}/policies/orgunits:batchInherit
Sửa đổi nhiều giá trị chính sách được áp dụng cho một đơn vị tổ chức cụ thể để những giá trị đó kế thừa giá trị từ đơn vị tổ chức chính (nếu có). |
batchModify |
POST /v1/{customer=customers/*}/policies/orgunits:batchModify
Sửa đổi nhiều giá trị chính sách được áp dụng cho một đơn vị tổ chức cụ thể. |
Phương thức |
get |
GET /v1/{name=customers/*/policySchemas/**}
Nhận giản đồ chính sách cụ thể cho khách hàng theo tên tài nguyên của khách hàng. |
list |
GET /v1/{parent=customers/*}/policySchemas
Lấy danh sách giản đồ chính sách khớp với một giá trị bộ lọc đã chỉ định cho một khách hàng nhất định. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-07-29 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-07-29 UTC."],[[["\u003cp\u003eThe Chrome Policy API empowers Chrome administrators to manage policies for Chrome OS devices and Chrome browsers.\u003c/p\u003e\n"],["\u003cp\u003eIt offers a suite of REST resources to define, modify, and resolve policies across various scopes like groups, networks, and organizational units.\u003c/p\u003e\n"],["\u003cp\u003eAdministrators can leverage the API to control policies related to certificates, networks, and group priority ordering, amongst other functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe API provides methods for retrieving policy schema details and uploading enterprise files.\u003c/p\u003e\n"],["\u003cp\u003eGoogle-provided client libraries are recommended for interacting with the API, and a discovery document is available for integration purposes.\u003c/p\u003e\n"]]],[],null,["# Chrome Policy API\n\nThe Chrome Policy API is a suite of services that allows Chrome administrators to control the policies applied to their managed Chrome OS devices and Chrome browsers.\n\n- [REST Resource: v1.customers.policies](#v1.customers.policies)\n- [REST Resource: v1.customers.policies.groups](#v1.customers.policies.groups)\n- [REST Resource: v1.customers.policies.networks](#v1.customers.policies.networks)\n- [REST Resource: v1.customers.policies.orgunits](#v1.customers.policies.orgunits)\n- [REST Resource: v1.customers.policySchemas](#v1.customers.policySchemas)\n- [REST Resource: v1.media](#v1.media)\n\nService: chromepolicy.googleapis.com\n------------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://chromepolicy.googleapis.com/$discovery/rest?version=v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://chromepolicy.googleapis.com`\n\nREST Resource: [v1.customers.policies](/chrome/policy/reference/rest/v1/customers.policies)\n-------------------------------------------------------------------------------------------\n\n| Methods ||\n|------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| [resolve](/chrome/policy/reference/rest/v1/customers.policies/resolve) | `POST /v1/{customer=customers/*}/policies:resolve` Gets the resolved policy values for a list of policies that match a search query. |\n\nREST Resource: [v1.customers.policies.groups](/chrome/policy/reference/rest/v1/customers.policies.groups)\n---------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|-----------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|\n| [batchDelete](/chrome/policy/reference/rest/v1/customers.policies.groups/batchDelete) | `POST /v1/{customer=customers/*}/policies/groups:batchDelete` Delete multiple policy values that are applied to a specific group. |\n| [batchModify](/chrome/policy/reference/rest/v1/customers.policies.groups/batchModify) | `POST /v1/{customer=customers/*}/policies/groups:batchModify` Modify multiple policy values that are applied to a specific group. |\n| [listGroupPriorityOrdering](/chrome/policy/reference/rest/v1/customers.policies.groups/listGroupPriorityOrdering) | `POST /v1/{customer=customers/*}/policies/groups:listGroupPriorityOrdering` Retrieve a group priority ordering for an app. |\n| [updateGroupPriorityOrdering](/chrome/policy/reference/rest/v1/customers.policies.groups/updateGroupPriorityOrdering) | `POST /v1/{customer=customers/*}/policies/groups:updateGroupPriorityOrdering` Update a group priority ordering for an app. |\n\nREST Resource: [v1.customers.policies.networks](/chrome/policy/reference/rest/v1/customers.policies.networks)\n-------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|\n| [defineCertificate](/chrome/policy/reference/rest/v1/customers.policies.networks/defineCertificate) | `POST /v1/{customer=customers/*}/policies/networks:defineCertificate` Creates a certificate at a specified OU for a customer. |\n| [defineNetwork](/chrome/policy/reference/rest/v1/customers.policies.networks/defineNetwork) | `POST /v1/{customer=customers/*}/policies/networks:defineNetwork` Define a new network. |\n| [removeCertificate](/chrome/policy/reference/rest/v1/customers.policies.networks/removeCertificate) | `POST /v1/{customer=customers/*}/policies/networks:removeCertificate` Remove an existing certificate by guid. |\n| [removeNetwork](/chrome/policy/reference/rest/v1/customers.policies.networks/removeNetwork) | `POST /v1/{customer=customers/*}/policies/networks:removeNetwork` Remove an existing network by guid. |\n\nREST Resource: [v1.customers.policies.orgunits](/chrome/policy/reference/rest/v1/customers.policies.orgunits)\n-------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|-------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [batchInherit](/chrome/policy/reference/rest/v1/customers.policies.orgunits/batchInherit) | `POST /v1/{customer=customers/*}/policies/orgunits:batchInherit` Modify multiple policy values that are applied to a specific org unit so that they now inherit the value from a parent (if applicable). |\n| [batchModify](/chrome/policy/reference/rest/v1/customers.policies.orgunits/batchModify) | `POST /v1/{customer=customers/*}/policies/orgunits:batchModify` Modify multiple policy values that are applied to a specific org unit. |\n\nREST Resource: [v1.customers.policySchemas](/chrome/policy/reference/rest/v1/customers.policySchemas)\n-----------------------------------------------------------------------------------------------------\n\n| Methods ||\n|-----------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| [get](/chrome/policy/reference/rest/v1/customers.policySchemas/get) | `GET /v1/{name=customers/*/policySchemas/**}` Get a specific policy schema for a customer by its resource name. |\n| [list](/chrome/policy/reference/rest/v1/customers.policySchemas/list) | `GET /v1/{parent=customers/*}/policySchemas` Gets a list of policy schemas that match a specified filter value for a given customer. |\n\nREST Resource: [v1.media](/chrome/policy/reference/rest/v1/media)\n-----------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [upload](/chrome/policy/reference/rest/v1/media/upload) | `POST /v1/{customer=customers/*}/policies/files:uploadPolicyFile` `POST /upload/v1/{customer=customers/*}/policies/files:uploadPolicyFile` Creates an enterprise file from the content provided by user. |"]]