Reference documentation and code samples for the Google Cloud Web Security Scanner V1 Client class CrawledUrl.
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.
Generated from protobuf message google.cloud.websecurityscanner.v1.CrawledUrl
Namespace
Google \ Cloud \ WebSecurityScanner \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ http_method
string
Output only. The http method of the request that was used to visit the URL, in uppercase.
↳ url
string
Output only. The URL that was crawled.
↳ body
string
Output only. The body of the request that was used to visit the URL.
getHttpMethod
Output only. The http method of the request that was used to visit the URL, in
uppercase.
Returns
Type
Description
string
setHttpMethod
Output only. The http method of the request that was used to visit the URL, in
uppercase.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getUrl
Output only. The URL that was crawled.
Returns
Type
Description
string
setUrl
Output only. The URL that was crawled.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getBody
Output only. The body of the request that was used to visit the URL.
Returns
Type
Description
string
setBody
Output only. The body of the request that was used to visit the URL.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Web Security Scanner V1 Client - Class CrawledUrl (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-web-security-scanner/latest/V1.CrawledUrl)\n- [1.0.4](/php/docs/reference/cloud-web-security-scanner/1.0.4/V1.CrawledUrl)\n- [0.8.5](/php/docs/reference/cloud-web-security-scanner/0.8.5/V1.CrawledUrl)\n- [0.7.18](/php/docs/reference/cloud-web-security-scanner/0.7.18/V1.CrawledUrl) \nReference documentation and code samples for the Google Cloud Web Security Scanner V1 Client class CrawledUrl.\n\nA CrawledUrl resource represents a URL that was crawled during a ScanRun. Web\nSecurity Scanner Service crawls the web applications, following all links\nwithin the scope of sites, to find the URLs to test against.\n\nGenerated from protobuf message `google.cloud.websecurityscanner.v1.CrawledUrl`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ WebSecurityScanner \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getHttpMethod\n\nOutput only. The http method of the request that was used to visit the URL, in\nuppercase.\n\n### setHttpMethod\n\nOutput only. The http method of the request that was used to visit the URL, in\nuppercase.\n\n### getUrl\n\nOutput only. The URL that was crawled.\n\n### setUrl\n\nOutput only. The URL that was crawled.\n\n### getBody\n\nOutput only. The body of the request that was used to visit the URL.\n\n### setBody\n\nOutput only. The body of the request that was used to visit the URL."]]