Google Cloud Web Security Scanner V1 Client - Class CrawledUrl (0.7.18)

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
NameDescription
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
TypeDescription
string

setHttpMethod

Output only. The http method of the request that was used to visit the URL, in uppercase.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUrl

Output only. The URL that was crawled.

Returns
TypeDescription
string

setUrl

Output only. The URL that was crawled.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getBody

Output only. The body of the request that was used to visit the URL.

Returns
TypeDescription
string

setBody

Output only. The body of the request that was used to visit the URL.

Parameter
NameDescription
var string
Returns
TypeDescription
$this