Method: customers.policies.networks.defineNetwork

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

string

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 (NetworkSetting)
    }
  ]
}
Fields
targetResource

string

Required. The target resource on which this new network will be defined. The following resources are supported: * Organizational Unit ("orgunits/{orgunit_id}")

name

string

Required. name of the new created network.

settings[]

object (NetworkSetting)

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 (NetworkSetting)
    }
  ]
}
Fields
networkId

string

Network ID of the new created network.

targetResource

string

The target resource on which this new network will be defined. The following resources are supported: * Organizational Unit ("orgunits/{orgunit_id}")

settings[]

object (NetworkSetting)

Detailed network settings of the new created network

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/chrome.management.policy