Class: Google::Apis::WebriskV1::GoogleCloudWebriskV1SubmitUriRequest
- Inherits:
-
Object
- Object
- Google::Apis::WebriskV1::GoogleCloudWebriskV1SubmitUriRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/webrisk_v1/classes.rb,
lib/google/apis/webrisk_v1/representations.rb,
lib/google/apis/webrisk_v1/representations.rb
Overview
Request to send a potentially malicious URI to WebRisk.
Instance Attribute Summary collapse
-
#submission ⇒ Google::Apis::WebriskV1::GoogleCloudWebriskV1Submission
Wraps a URI that might be displaying malicious content.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudWebriskV1SubmitUriRequest
constructor
A new instance of GoogleCloudWebriskV1SubmitUriRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudWebriskV1SubmitUriRequest
Returns a new instance of GoogleCloudWebriskV1SubmitUriRequest.
340 341 342 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 340 def initialize(**args) update!(**args) end |
Instance Attribute Details
#submission ⇒ Google::Apis::WebriskV1::GoogleCloudWebriskV1Submission
Wraps a URI that might be displaying malicious content.
Corresponds to the JSON property submission
338 339 340 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 338 def submission @submission end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
345 346 347 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 345 def update!(**args) @submission = args[:submission] if args.key?(:submission) end |