Class: Google::Apis::AlertcenterV1beta1::MailPhishing
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::MailPhishing
- 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
Proto for all phishing alerts with common payload. Supported types are any of the following: * User reported phishing * User reported spam spike * Suspicious message reported * Phishing reclassification * Malware reclassification * Gmail potential employee spoofing
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.
-
#system_action_type ⇒ String
System actions on the messages.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MailPhishing
constructor
A new instance of MailPhishing.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MailPhishing
Returns a new instance of MailPhishing.
1435 1436 1437 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1435 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
1412 1413 1414 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1412 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
1417 1418 1419 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1417 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
1423 1424 1425 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1423 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
1428 1429 1430 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1428 def @messages end |
#system_action_type ⇒ String
System actions on the messages.
Corresponds to the JSON property systemActionType
1433 1434 1435 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1433 def system_action_type @system_action_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1440 1441 1442 1443 1444 1445 1446 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1440 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) @system_action_type = args[:system_action_type] if args.key?(:system_action_type) end |