Google Cloud Web Security Scanner V1beta Client - Class CrawledUrl (0.8.5)

Reference documentation and code samples for the Google Cloud Web Security Scanner V1beta 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.v1beta.CrawledUrl

Namespace

Google \ Cloud \ WebSecurityScanner \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ http_method string

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

↳ url string

The URL that was crawled.

↳ body string

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

getHttpMethod

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

Returns
Type Description
string

setHttpMethod

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

The URL that was crawled.

Returns
Type Description
string

setUrl

The URL that was crawled.

Parameter
Name Description
var string
Returns
Type Description
$this

getBody

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

Returns
Type Description
string

setBody

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

Parameter
Name Description
var string
Returns
Type Description
$this