Class: Google::Apis::AlertcenterV1beta1::LoginDetails
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::LoginDetails
- 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
The details of the login action.
Instance Attribute Summary collapse
-
#ip_address ⇒ String
Optional.
-
#login_time ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LoginDetails
constructor
A new instance of LoginDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LoginDetails
Returns a new instance of LoginDetails
928 929 930 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 928 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ip_address ⇒ String
Optional. The human-readable IP address (for example,
11.22.33.44
) that is associated with the warning event.
Corresponds to the JSON property ipAddress
920 921 922 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 920 def ip_address @ip_address end |
#login_time ⇒ String
Optional. The successful login time that is associated with the warning
event. This will not be present for blocked login attempts.
Corresponds to the JSON property loginTime
926 927 928 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 926 def login_time @login_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
933 934 935 936 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 933 def update!(**args) @ip_address = args[:ip_address] if args.key?(:ip_address) @login_time = args[:login_time] if args.key?(:login_time) end |