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. -
#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.
57 58 59 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 57 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 |
#product ⇒ String
Product that the abuse is originating from.
Corresponds to the JSON property product
44 45 46 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 44 def product @product end |
#sub_alert_id ⇒ String
Unique identifier of each alert that is onboarded.
Corresponds to the JSON property subAlertId
49 50 51 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 49 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
55 56 57 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 55 def summary @summary end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
62 63 64 65 66 67 68 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 62 def update!(**args) @additional_details = args[:additional_details] if args.key?(:additional_details) @alert_descriptor = args[:alert_descriptor] if args.key?(:alert_descriptor) @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 |