# Web Security Scanner API . projects . scanConfigs . scanRuns . crawledUrls

## Instance Methods

Close httplib2 connections.

List CrawledUrls under a given ScanRun.

Retrieves the next page of results.

### Method Details

`close()`

    Close httplib2 connections.

`list(parent, pageToken=None, pageSize=None, x__xgafv=None)`

    List CrawledUrls under a given ScanRun.

    Args:
      parent: string, Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. (required)
      pageToken: string, A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results is returned.
      pageSize: integer, The maximum number of CrawledUrls to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value.
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Response for the `ListCrawledUrls` method.
        "crawledUrls": [ # The list of CrawledUrls returned.
          { # A CrawledUrl resource represents a URL that was crawled during a ScanRun. Web Security Scanner Service crawls the web applications, following all links within the scope of sites, to find the URLs to test against.
            "httpMethod": "A String", # Output only. The http method of the request that was used to visit the URL, in uppercase.
            "body": "A String", # Output only. The body of the request that was used to visit the URL.
            "url": "A String", # Output only. The URL that was crawled.
          },
        ],
        "nextPageToken": "A String", # Token to retrieve the next page of results, or empty if there are no more results in the list.
      }

`list_next(previous_request, previous_response)`

    Retrieves the next page of results.

    Args:
      previous_request: The request for the previous page. (required)
      previous_response: The response from the request for the previous page. (required)

    Returns:
      A request object that you can call 'execute()' on to request the next
      page. Returns None if there are no more items in the collection.