Reference documentation and code samples for the Web Security Scanner V1 API class Google::Cloud::WebSecurityScanner::V1::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.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#body
defbody()->::String
Returns
(::String) — Output only. The body of the request that was used to visit the URL.
#body=
defbody=(value)->::String
Parameter
value (::String) — Output only. The body of the request that was used to visit the URL.
Returns
(::String) — Output only. The body of the request that was used to visit the URL.
#http_method
defhttp_method()->::String
Returns
(::String) — Output only. The http method of the request that was used to visit the URL, in
uppercase.
#http_method=
defhttp_method=(value)->::String
Parameter
value (::String) — Output only. The http method of the request that was used to visit the URL, in
uppercase.
Returns
(::String) — Output only. The http method of the request that was used to visit the URL, in
uppercase.
#url
defurl()->::String
Returns
(::String) — Output only. The URL that was crawled.
#url=
defurl=(value)->::String
Parameter
value (::String) — Output only. The URL that was crawled.
Returns
(::String) — Output only. The URL that was crawled.
[[["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,["# Web Security Scanner V1 API - Class Google::Cloud::WebSecurityScanner::V1::CrawledUrl (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-CrawledUrl)\n- [1.2.1](/ruby/docs/reference/google-cloud-web_security_scanner-v1/1.2.1/Google-Cloud-WebSecurityScanner-V1-CrawledUrl)\n- [1.1.0](/ruby/docs/reference/google-cloud-web_security_scanner-v1/1.1.0/Google-Cloud-WebSecurityScanner-V1-CrawledUrl)\n- [1.0.1](/ruby/docs/reference/google-cloud-web_security_scanner-v1/1.0.1/Google-Cloud-WebSecurityScanner-V1-CrawledUrl)\n- [0.10.0](/ruby/docs/reference/google-cloud-web_security_scanner-v1/0.10.0/Google-Cloud-WebSecurityScanner-V1-CrawledUrl)\n- [0.9.2](/ruby/docs/reference/google-cloud-web_security_scanner-v1/0.9.2/Google-Cloud-WebSecurityScanner-V1-CrawledUrl)\n- [0.8.0](/ruby/docs/reference/google-cloud-web_security_scanner-v1/0.8.0/Google-Cloud-WebSecurityScanner-V1-CrawledUrl)\n- [0.7.1](/ruby/docs/reference/google-cloud-web_security_scanner-v1/0.7.1/Google-Cloud-WebSecurityScanner-V1-CrawledUrl)\n- [0.6.0](/ruby/docs/reference/google-cloud-web_security_scanner-v1/0.6.0/Google-Cloud-WebSecurityScanner-V1-CrawledUrl)\n- [0.5.0](/ruby/docs/reference/google-cloud-web_security_scanner-v1/0.5.0/Google-Cloud-WebSecurityScanner-V1-CrawledUrl)\n- [0.4.1](/ruby/docs/reference/google-cloud-web_security_scanner-v1/0.4.1/Google-Cloud-WebSecurityScanner-V1-CrawledUrl)\n- [0.3.5](/ruby/docs/reference/google-cloud-web_security_scanner-v1/0.3.5/Google-Cloud-WebSecurityScanner-V1-CrawledUrl) \nReference documentation and code samples for the Web Security Scanner V1 API class Google::Cloud::WebSecurityScanner::V1::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\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #body\n\n def body() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The body of the request that was used to visit the URL.\n\n### #body=\n\n def body=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Output only. The body of the request that was used to visit the URL. \n**Returns**\n\n- (::String) --- Output only. The body of the request that was used to visit the URL.\n\n### #http_method\n\n def http_method() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The http method of the request that was used to visit the URL, in uppercase.\n\n### #http_method=\n\n def http_method=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Output only. The http method of the request that was used to visit the URL, in uppercase. \n**Returns**\n\n- (::String) --- Output only. The http method of the request that was used to visit the URL, in uppercase.\n\n### #url\n\n def url() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The URL that was crawled.\n\n### #url=\n\n def url=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Output only. The URL that was crawled. \n**Returns**\n\n- (::String) --- Output only. The URL that was crawled."]]