# Web Risk V1 API - Class Google::Cloud::WebRisk::V1::SubmitUriRequest (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.1 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.2 0.12.0 0.11.2 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.5 Reference documentation and code samples for the Web Risk V1 API class Google::Cloud::WebRisk::V1::SubmitUriRequest.

Request to send a potentially malicious URI to WebRisk.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The name of the project that is making the submission. This string is in the format "projects/{project_number}".

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The name of the project that is making the submission. This string is in the format "projects/{project_number}".
**Returns**

- (::String) --- Required. The name of the project that is making the submission. This string is in the format "projects/{project_number}".

### #submission

    def submission() -> ::Google::Cloud::WebRisk::V1::Submission

**Returns**

- ([::Google::Cloud::WebRisk::V1::Submission](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1/latest/Google-Cloud-WebRisk-V1-Submission)) --- Required. The submission that contains the URI to be scanned.

### #submission=

    def submission=(value) -> ::Google::Cloud::WebRisk::V1::Submission

**Parameter**

- **value** ([::Google::Cloud::WebRisk::V1::Submission](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1/latest/Google-Cloud-WebRisk-V1-Submission)) --- Required. The submission that contains the URI to be scanned.
**Returns**

- ([::Google::Cloud::WebRisk::V1::Submission](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1/latest/Google-Cloud-WebRisk-V1-Submission)) --- Required. The submission that contains the URI to be scanned.

### #threat_discovery

    def threat_discovery() -> ::Google::Cloud::WebRisk::V1::ThreatDiscovery

**Returns**

- ([::Google::Cloud::WebRisk::V1::ThreatDiscovery](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1/latest/Google-Cloud-WebRisk-V1-ThreatDiscovery)) --- Provides additional information about how the submission was discovered.

### #threat_discovery=

    def threat_discovery=(value) -> ::Google::Cloud::WebRisk::V1::ThreatDiscovery

**Parameter**

- **value** ([::Google::Cloud::WebRisk::V1::ThreatDiscovery](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1/latest/Google-Cloud-WebRisk-V1-ThreatDiscovery)) --- Provides additional information about how the submission was discovered.
**Returns**

- ([::Google::Cloud::WebRisk::V1::ThreatDiscovery](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1/latest/Google-Cloud-WebRisk-V1-ThreatDiscovery)) --- Provides additional information about how the submission was discovered.

### #threat_info

    def threat_info() -> ::Google::Cloud::WebRisk::V1::ThreatInfo

**Returns**

- ([::Google::Cloud::WebRisk::V1::ThreatInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1/latest/Google-Cloud-WebRisk-V1-ThreatInfo)) --- Provides additional information about the submission.

### #threat_info=

    def threat_info=(value) -> ::Google::Cloud::WebRisk::V1::ThreatInfo

**Parameter**

- **value** ([::Google::Cloud::WebRisk::V1::ThreatInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1/latest/Google-Cloud-WebRisk-V1-ThreatInfo)) --- Provides additional information about the submission.
**Returns**

- ([::Google::Cloud::WebRisk::V1::ThreatInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1/latest/Google-Cloud-WebRisk-V1-ThreatInfo)) --- Provides additional information about the submission.