Class: Google::Cloud::WebRisk::V1::ThreatInfo::ThreatJustification

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

Overview

Context about why the URI is unsafe.

Defined Under Namespace

Modules: JustificationLabel

Instance Attribute Summary collapse

Instance Attribute Details

#comments::Array<::String>

Returns Free-form context on why this URI is unsafe.

Returns:

  • (::Array<::String>)

    Free-form context on why this URI is unsafe.



356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
# File 'proto_docs/google/cloud/webrisk/v1/webrisk.rb', line 356

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

  # Labels that explain how the URI was classified.
  module JustificationLabel
    # Default.
    JUSTIFICATION_LABEL_UNSPECIFIED = 0

    # The submitter manually verified that the submission is unsafe.
    MANUAL_VERIFICATION = 1

    # The submitter received the submission from an end user.
    USER_REPORT = 2

    # The submitter received the submission from an automated system.
    AUTOMATED_REPORT = 3
  end
end

#labels::Array<::Google::Cloud::WebRisk::V1::ThreatInfo::ThreatJustification::JustificationLabel>

Returns Labels associated with this URI that explain how it was classified.

Returns:



356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
# File 'proto_docs/google/cloud/webrisk/v1/webrisk.rb', line 356

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

  # Labels that explain how the URI was classified.
  module JustificationLabel
    # Default.
    JUSTIFICATION_LABEL_UNSPECIFIED = 0

    # The submitter manually verified that the submission is unsafe.
    MANUAL_VERIFICATION = 1

    # The submitter received the submission from an end user.
    USER_REPORT = 2

    # The submitter received the submission from an automated system.
    AUTOMATED_REPORT = 3
  end
end