Class: Google::Apis::AlertcenterV1beta1::AccountWarning
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::AccountWarning
- 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
Alerts for user account warning events.
Instance Attribute Summary collapse
-
#email ⇒ String
Required.
-
#login_details ⇒ Google::Apis::AlertcenterV1beta1::LoginDetails
The details of the login action.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountWarning
constructor
A new instance of AccountWarning.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AccountWarning
Returns a new instance of AccountWarning
39 40 41 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 39 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
Required. The email of the user that this event belongs to.
Corresponds to the JSON property email
32 33 34 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 32 def email @email end |
#login_details ⇒ Google::Apis::AlertcenterV1beta1::LoginDetails
The details of the login action.
Corresponds to the JSON property loginDetails
37 38 39 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 37 def login_details @login_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
44 45 46 47 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 44 def update!(**args) @email = args[:email] if args.key?(:email) @login_details = args[:login_details] if args.key?(:login_details) end |