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.
371 372 373 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 371 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
369 370 371 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 369 def submission @submission end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
376 377 378 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 376 def update!(**args) @submission = args[:submission] if args.key?(:submission) end |