Method: urlMaps.validate

Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap.

HTTP request

POST https://compute.googleapis.com/compute/v1/projects/{project}/global/urlMaps/{resourceId}/validate

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
project

string

Project ID for this request.

resourceId

string

Name of the UrlMap resource to be validated as.

Request body

The request body contains data with the following structure:

JSON representation
{
  "resource": {
    "id": string,
    "creationTimestamp": string,
    "name": string,
    "description": string,
    "selfLink": string,
    "hostRules": [
      {
        "description": string,
        "hosts": [
          string
        ],
        "pathMatcher": string
      }
    ],
    "pathMatchers": [
      {
        "name": string,
        "description": string,
        "defaultService": string,
        "defaultRouteAction": {
          "weightedBackendServices"