Reference documentation and code samples for the Google Cloud Web Security Scanner V1 Client class ViolatingResource.
Information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
Generated from protobuf message google.cloud.websecurityscanner.v1.ViolatingResource
Namespace
Google \ Cloud \ WebSecurityScanner \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ content_type |
string
The MIME type of this resource. |
↳ resource_url |
string
URL of this violating resource. |
getContentType
The MIME type of this resource.
Returns | |
---|---|
Type | Description |
string |
setContentType
The MIME type of this resource.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getResourceUrl
URL of this violating resource.
Returns | |
---|---|
Type | Description |
string |
setResourceUrl
URL of this violating resource.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |