Method: networks.get

  • This API retrieves a Network object using an HTTP GET request.

  • The request requires a network code as a path parameter and an empty request body.

  • Successful responses return a Network object, detailed in the provided link.

  • Authorization requires the https://www.googleapis.com/auth/admanager OAuth scope.

API to retrieve a Network object.

HTTP request

GET https://admanager.googleapis.com/v1/{name}

Path parameters

Parameters
name

string

Required. Resource name of Network. Format: networks/{networkCode}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Network.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/admanager

For more information, see the OAuth 2.0 Overview.