Class: Google::Apis::AlertcenterV1beta1::LoginDetails

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

The details of the login action.

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) ⇒ LoginDetails

Returns a new instance of LoginDetails.



1031
1032
1033
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1031

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

Instance Attribute Details

#ip_addressString

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

Returns:

  • (String)


1023
1024
1025
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1023

def ip_address
  @ip_address
end

#login_timeString

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

Returns:

  • (String)


1029
1030
1031
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1029

def 
  @login_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1036
1037
1038
1039
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1036

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