Class: Google::Apis::AlertcenterV1beta1::PhishingSpike
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::PhishingSpike
- 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
Alert for a spike in user reported phishing. Warning: This type has been deprecated. Use MailPhishing instead.
Instance Attribute Summary collapse
-
#domain_id ⇒ Google::Apis::AlertcenterV1beta1::DomainId
Domain ID of Gmail phishing alerts.
-
#is_internal ⇒ Boolean
(also: #is_internal?)
If
true, the email originated from within the organization. -
#malicious_entity ⇒ Google::Apis::AlertcenterV1beta1::MaliciousEntity
Entity whose actions triggered a Gmail phishing alert.
-
#messages ⇒ Array<Google::Apis::AlertcenterV1beta1::GmailMessageInfo>
The list of messages contained by this alert.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PhishingSpike
constructor
A new instance of PhishingSpike.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PhishingSpike
Returns a new instance of PhishingSpike.
1263 1264 1265 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1263 def initialize(**args) update!(**args) end |
Instance Attribute Details
#domain_id ⇒ Google::Apis::AlertcenterV1beta1::DomainId
Domain ID of Gmail phishing alerts.
Corresponds to the JSON property domainId
1245 1246 1247 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1245 def domain_id @domain_id end |
#is_internal ⇒ Boolean Also known as: is_internal?
If true, the email originated from within the organization.
Corresponds to the JSON property isInternal
1250 1251 1252 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1250 def is_internal @is_internal end |
#malicious_entity ⇒ Google::Apis::AlertcenterV1beta1::MaliciousEntity
Entity whose actions triggered a Gmail phishing alert.
Corresponds to the JSON property maliciousEntity
1256 1257 1258 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1256 def malicious_entity @malicious_entity end |
#messages ⇒ Array<Google::Apis::AlertcenterV1beta1::GmailMessageInfo>
The list of messages contained by this alert.
Corresponds to the JSON property messages
1261 1262 1263 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1261 def @messages end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1268 1269 1270 1271 1272 1273 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1268 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 |