Define a new network.
HTTP request
POST https://chromepolicy.googleapis.com/v1/{customer=customers/*}/policies/networks:defineNetwork
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
customer |
Required. The customer who will own this new network. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"targetResource": string,
"name": string,
"settings": [
{
object ( |
Fields | |
---|---|
targetResource |
Required. The target resource on which this new network will be defined. The following resources are supported: * Organizational Unit ("orgunits/{orgunit_id}") |
name |
Required. name of the new created network. |
settings[] |
Required. Detailed network settings. |
Response body
Response object for creating a network.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"networkId": string,
"targetResource": string,
"settings": [
{
object ( |
Fields | |
---|---|
networkId |
Network ID of the new created network. |
targetResource |
The target resource on which this new network will be defined. The following resources are supported: * Organizational Unit ("orgunits/{orgunit_id}") |
settings[] |
Detailed network settings of the new created network |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/chrome.management.policy