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) — 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) — Required. The submission that contains the URI to be scanned.
Returns
- (::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) — 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) — Provides additional information about how the submission was discovered.
Returns
- (::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) — Provides additional information about the submission.
#threat_info=
def threat_info=(value) -> ::Google::Cloud::WebRisk::V1::ThreatInfo
Parameter
- value (::Google::Cloud::WebRisk::V1::ThreatInfo) — Provides additional information about the submission.
Returns
- (::Google::Cloud::WebRisk::V1::ThreatInfo) — Provides additional information about the submission.