Class: Google::Cloud::WebRisk::V1::ThreatDiscovery

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/webrisk/v1/webrisk.rb

Overview

Details about how the threat was discovered.

Defined Under Namespace

Modules: Platform

Instance Attribute Summary collapse

Instance Attribute Details

#platform::Google::Cloud::WebRisk::V1::ThreatDiscovery::Platform

Returns Platform on which the threat was discovered.

Returns:



400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
# File 'proto_docs/google/cloud/webrisk/v1/webrisk.rb', line 400

class ThreatDiscovery
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Platform types.
  module Platform
    # Default.
    PLATFORM_UNSPECIFIED = 0

    # General Android platform.
    ANDROID = 1

    # General iOS platform.
    IOS = 2

    # General macOS platform.
    MACOS = 3

    # General Windows platform.
    WINDOWS = 4
  end
end

#region_codes::Array<::String>

Returns CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: "US" for United States.

Returns:

  • (::Array<::String>)

    CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: "US" for United States.



400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
# File 'proto_docs/google/cloud/webrisk/v1/webrisk.rb', line 400

class ThreatDiscovery
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Platform types.
  module Platform
    # Default.
    PLATFORM_UNSPECIFIED = 0

    # General Android platform.
    ANDROID = 1

    # General iOS platform.
    IOS = 2

    # General macOS platform.
    MACOS = 3

    # General Windows platform.
    WINDOWS = 4
  end
end