Class: Google::Apis::WebriskV1::GoogleCloudWebriskV1Submission

Inherits:
Object
  • Object
show all
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

Wraps a URI that might be displaying malicious content.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudWebriskV1Submission

Returns a new instance of GoogleCloudWebriskV1Submission.



314
315
316
# File 'lib/google/apis/webrisk_v1/classes.rb', line 314

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#uriString

Required. The URI that is being reported for malicious content to be analyzed. Corresponds to the JSON property uri

Returns:

  • (String)


312
313
314
# File 'lib/google/apis/webrisk_v1/classes.rb', line 312

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



319
320
321
# File 'lib/google/apis/webrisk_v1/classes.rb', line 319

def update!(**args)
  @uri = args[:uri] if args.key?(:uri)
end