class Google::Apis::WebsecurityscannerV1::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.

Attributes

body[RW]

Output only. The body of the request that was used to visit the URL. Corresponds to the JSON property `body` @return [String]

http_method[RW]

Output only. The http method of the request that was used to visit the URL, in uppercase. Corresponds to the JSON property `httpMethod` @return [String]

url[RW]

Output only. The URL that was crawled. Corresponds to the JSON property `url` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/websecurityscanner_v1/classes.rb, line 78
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/websecurityscanner_v1/classes.rb, line 83
def update!(**args)
  @body = args[:body] if args.key?(:body)
  @http_method = args[:http_method] if args.key?(:http_method)
  @url = args[:url] if args.key?(:url)
end