{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-instance-groups-set-named-ports-request-schema.json",
  "title": "InstanceGroupsSetNamedPortsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-instance-groups-api-openapi.yml#/components/schemas/InstanceGroupsSetNamedPortsRequest",
  "type": "object",
  "properties": {
    "fingerprint": {
      "type": "string",
      "format": "byte",
      "description": "The fingerprint of the named ports information for this instance group.\nUse this optional property to prevent conflicts when multiple users change\nthe named ports settings concurrently. Obtain the fingerprint with theinstanceGroups.get\nmethod. Then, include the fingerprint in your request to ensure that you\ndo not overwrite changes that were applied from another concurrent request.\nA request with an incorrect fingerprint will fail with error412 conditionNotMet."
    },
    "namedPorts": {
      "description": "The list of named ports to set for this instance group.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/NamedPort"
      }
    }
  },
  "$defs": {
    "NamedPort": {
      "properties": {
        "name": {
          "description": "The name for this named port.\nThe name must be 1-63 characters long, and comply withRFC1035.",
          "type": "string"
        },
        "port": {
          "type": "integer",
          "description": "The port number, which can be a value between 1 and 65535.",
          "format": "int32"
        }
      },
      "type": "object",
      "description": "The named port. For example: <\"http\", 80>."
    }
  }
}