Reference documentation and code samples for the Google Cloud Web Risk V1 Client class SubmitUriRequest.
Request to send a potentially malicious URI to WebRisk.
Generated from protobuf message google.cloud.webrisk.v1.SubmitUriRequest
Namespace
Google \ Cloud \ WebRisk \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The name of the project that is making the submission. This string is in the format "projects/{project_number}". |
↳ submission |
Submission
Required. The submission that contains the URI to be scanned. |
↳ threat_info |
ThreatInfo
Provides additional information about the submission. |
↳ threat_discovery |
ThreatDiscovery
Provides additional information about how the submission was discovered. |
getParent
Required. The name of the project that is making the submission. This string is in the format "projects/{project_number}".
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The name of the project that is making the submission. This string is in the format "projects/{project_number}".
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSubmission
Required. The submission that contains the URI to be scanned.
| Returns | |
|---|---|
| Type | Description |
Submission|null |
|
hasSubmission
clearSubmission
setSubmission
Required. The submission that contains the URI to be scanned.
| Parameter | |
|---|---|
| Name | Description |
var |
Submission
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getThreatInfo
Provides additional information about the submission.
| Returns | |
|---|---|
| Type | Description |
ThreatInfo|null |
|
hasThreatInfo
clearThreatInfo
setThreatInfo
Provides additional information about the submission.
| Parameter | |
|---|---|
| Name | Description |
var |
ThreatInfo
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getThreatDiscovery
Provides additional information about how the submission was discovered.
| Returns | |
|---|---|
| Type | Description |
ThreatDiscovery|null |
|
hasThreatDiscovery
clearThreatDiscovery
setThreatDiscovery
Provides additional information about how the submission was discovered.
| Parameter | |
|---|---|
| Name | Description |
var |
ThreatDiscovery
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The name of the project that is making the submission. This string is in the format "projects/{project_number}". Please see WebRiskServiceClient::projectName() for help formatting this field. |
submission |
Submission
Required. The submission that contains the URI to be scanned. |
| Returns | |
|---|---|
| Type | Description |
SubmitUriRequest |
|