Class: Google::Apis::AlertcenterV1beta1::AbuseDetected
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::AbuseDetected
- 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
-
#additional_details ⇒ Google::Apis::AlertcenterV1beta1::EntityList
EntityList stores entities in a format that can be translated to a table in the Alert Center UI.
-
#alert_descriptor ⇒ String
Displayed after Customer abuse detected -
alert_descriptor. -
#next_steps ⇒ String
Customizable text to display in the next steps section of the alert.
-
#product ⇒ String
Product that the abuse is originating from.
-
#sub_alert_id ⇒ String
Unique identifier of each alert that is onboarded.
-
#summary ⇒ String
Customizable text to display in the summary section of the alert.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AbuseDetected
constructor
A new instance of AbuseDetected.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_details ⇒ Google::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_descriptor ⇒ String
Displayed after Customer abuse detected - alert_descriptor. If missing,
alert name will be displayed as Customer abuse detected.
Corresponds to the JSON property alertDescriptor
39 40 41 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 39 def alert_descriptor @alert_descriptor end |
#next_steps ⇒ String
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
45 46 47 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 45 def next_steps @next_steps end |
#product ⇒ String
Product that the abuse is originating from.
Corresponds to the JSON property product
50 51 52 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 50 def product @product end |
#sub_alert_id ⇒ String
Unique identifier of each alert that is onboarded.
Corresponds to the JSON property subAlertId
55 56 57 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 55 def sub_alert_id @sub_alert_id end |
#summary ⇒ String
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
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 |