Class: Google::Apis::AlertcenterV1beta1::AbuseDetected

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alertcenter_v1beta1/classes.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb

Overview

A generic alert for abusive user activity occurring with a customer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AbuseDetected

Returns a new instance of AbuseDetected.



63
64
65
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 63

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

Instance Attribute Details

#additional_detailsGoogle::Apis::AlertcenterV1beta1::EntityList

EntityList stores entities in a format that can be translated to a table in the Alert Center UI. Corresponds to the JSON property additionalDetails



33
34
35
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 33

def additional_details
  @additional_details
end

#alert_descriptorString

Displayed after Customer abuse detected - alert_descriptor. If missing, alert name will be displayed as Customer abuse detected. Corresponds to the JSON property alertDescriptor

Returns:

  • (String)


39
40
41
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 39

def alert_descriptor
  @alert_descriptor
end

#next_stepsString

Customizable text to display in the next steps section of the alert. Will be parsed as HTML to allow new paragraphs and hyperlinks. Corresponds to the JSON property nextSteps

Returns:

  • (String)


45
46
47
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 45

def next_steps
  @next_steps
end

#productString

Product that the abuse is originating from. Corresponds to the JSON property product

Returns:

  • (String)


50
51
52
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 50

def product
  @product
end

#sub_alert_idString

Unique identifier of each alert that is onboarded. Corresponds to the JSON property subAlertId

Returns:

  • (String)


55
56
57
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 55

def sub_alert_id
  @sub_alert_id
end

#summaryString

Customizable text to display in the summary section of the alert. Will be parsed as HTML to allow new paragraphs and hyperlinks. Corresponds to the JSON property summary

Returns:

  • (String)


61
62
63
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 61

def summary
  @summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



68
69
70
71
72
73
74
75
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 68

def update!(**args)
  @additional_details = args[:additional_details] if args.key?(:additional_details)
  @alert_descriptor = args[:alert_descriptor] if args.key?(:alert_descriptor)
  @next_steps = args[:next_steps] if args.key?(:next_steps)
  @product = args[:product] if args.key?(:product)
  @sub_alert_id = args[:sub_alert_id] if args.key?(:sub_alert_id)
  @summary = args[:summary] if args.key?(:summary)
end