{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":1050,"path":"api-reference/server-api-reference/c_IPServiceAPI.md","title":"IPService - Global","bundle":null,"doc_type":null,"release":"australia","body":"\n# IPService- Global\n\nThe IPService script include provides methods that encapsulate an IP Service.\n\nUse this class during the discovery scanning phase.\n\nSee also [AbstractDBObject - isValid\\(\\)](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/server-api-reference/c_AbstractDBObject.md).\n\n**Parent Topic:**[Server API reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/server-api-reference/api-server.md)\n\n## IPService - IPService\\(Object source\\)\n\nCreates an instance of the IPService class.\n\n|Name|Type|Description|\n|----|----|-----------|\n|source|Object|Either a GlideRecord instance or a sys\\_id string|\n\n## IPService - creates\n\nThe table where this service creates entries.\n\n|Name|Type|Description|\n|----|----|-----------|\n|creates|String|The table where this service creates entries.|\n\n## IPService - description\n\nDescription of the IPService.\n\n|Name|Type|Description|\n|----|----|-----------|\n|description|String|Description of the IPService.|\n\n## IPService - getFromArrayList\\(Array list\\)\n\nReturns an array of IPService instances specified by a Java ArrayList of sys\\_ids.\n\n|Name|Type|Description|\n|----|----|-----------|\n|list|Array|List of sys\\_ids.|\n\n|Type|Description|\n|----|-----------|\n|Array|IPService instances|\n\n## IPService - port\n\nThe TCP or UDP port used by the service.\n\n|Name|Type|Description|\n|----|----|-----------|\n|port|String|The TCP or UDP port used by the service.|\n\n## IPService - protocol\n\nThe protocol used by the service \\(\"UDP\", \"TCP\", or \"TCP/UDP\"\\).\n\n|Name|Type|Description|\n|----|----|-----------|\n|protocol|String|The protocol used by the service \\(\"UDP\", \"TCP\", or \"TCP/UDP\"\\).|\n\n## IPService - name\n\nA short name or handle for the IPService.\n\n|Name|Type|Description|\n|----|----|-----------|\n|name|String|Name of the IPService|\n\n## IPService - serviceName\n\nA long, descriptive English name for the IPService.\n\n|Name|Type|Description|\n|----|----|-----------|\n|serviceName|String|A long, descriptive English name for the IPService.|\n\n## IPService - sysID\n\nThe sys\\_id of this record.\n\n|Name|Type|Description|\n|----|----|-----------|\n|sysID|String|The sys\\_id of this record.|\n\n"}}