Class: Google::Apis::WebriskV1::GoogleCloudWebriskV1SearchUrisResponse
- Inherits:
-
Object
- Object
- Google::Apis::WebriskV1::GoogleCloudWebriskV1SearchUrisResponse
- 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
Instance Attribute Summary collapse
-
#threat ⇒ Google::Apis::WebriskV1::GoogleCloudWebriskV1SearchUrisResponseThreatUri
Contains threat information on a matching uri.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudWebriskV1SearchUrisResponse
constructor
A new instance of GoogleCloudWebriskV1SearchUrisResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudWebriskV1SearchUrisResponse
Returns a new instance of GoogleCloudWebriskV1SearchUrisResponse.
269 270 271 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 269 def initialize(**args) update!(**args) end |
Instance Attribute Details
#threat ⇒ Google::Apis::WebriskV1::GoogleCloudWebriskV1SearchUrisResponseThreatUri
Contains threat information on a matching uri.
Corresponds to the JSON property threat
267 268 269 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 267 def threat @threat end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
274 275 276 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 274 def update!(**args) @threat = args[:threat] if args.key?(:threat) end |