Class: Google::Apis::AlertcenterV1beta1::PhishingSpike

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

Overview

Alert for a spike in user reported phishing. Warning: This type has been deprecated. Use MailPhishing instead.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PhishingSpike

Returns a new instance of PhishingSpike.



1109
1110
1111
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1109

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

Instance Attribute Details

#domain_idGoogle::Apis::AlertcenterV1beta1::DomainId

Domain ID of Gmail phishing alerts. Corresponds to the JSON property domainId



1091
1092
1093
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1091

def domain_id
  @domain_id
end

#is_internalBoolean Also known as: is_internal?

If true, the email originated from within the organization. Corresponds to the JSON property isInternal

Returns:

  • (Boolean)


1096
1097
1098
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1096

def is_internal
  @is_internal
end

#malicious_entityGoogle::Apis::AlertcenterV1beta1::MaliciousEntity

Entity whose actions triggered a Gmail phishing alert. Corresponds to the JSON property maliciousEntity



1102
1103
1104
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1102

def malicious_entity
  @malicious_entity
end

#messagesArray<Google::Apis::AlertcenterV1beta1::GmailMessageInfo>

The list of messages contained by this alert. Corresponds to the JSON property messages



1107
1108
1109
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1107

def messages
  @messages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1114
1115
1116
1117
1118
1119
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1114

def update!(**args)
  @domain_id = args[:domain_id] if args.key?(:domain_id)
  @is_internal = args[:is_internal] if args.key?(:is_internal)
  @malicious_entity = args[:malicious_entity] if args.key?(:malicious_entity)
  @messages = args[:messages] if args.key?(:messages)
end