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.



53
54
55
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 53

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

#productString

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

Returns:

  • (String)


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

def product
  @product
end

#sub_alert_idString

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

Returns:

  • (String)


43
44
45
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 43

def sub_alert_id
  @sub_alert_id
end

#variation_typeString

Variation of AbuseDetected alerts. The variation_type determines the texts displayed the alert details. This differs from sub_alert_id because each sub alert can have multiple variation_types, representing different stages of the alert. Corresponds to the JSON property variationType

Returns:

  • (String)


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

def variation_type
  @variation_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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