Class: Google::Apis::AlertcenterV1beta1::MaliciousEntity

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

Entity whose actions triggered a Gmail phishing alert.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ MaliciousEntity

Returns a new instance of MaliciousEntity



667
668
669
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 667

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

Instance Attribute Details

#from_headerString

The sender email address. Corresponds to the JSON property fromHeader

Returns:

  • (String)


665
666
667
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 665

def from_header
  @from_header
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



672
673
674
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 672

def update!(**args)
  @from_header = args[:from_header] if args.key?(:from_header)
end