Class: Google::Apis::AlertcenterV1beta1::AccountWarning

Inherits:
Object
  • Object
show all
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

Alerts for user account warning events.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AccountWarning

Returns a new instance of AccountWarning.



139
140
141
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 139

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

Instance Attribute Details

#emailString

Required. The email of the user that this event belongs to. Corresponds to the JSON property email

Returns:

  • (String)


132
133
134
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 132

def email
  @email
end

#login_detailsGoogle::Apis::AlertcenterV1beta1::LoginDetails

The details of the login action. Corresponds to the JSON property loginDetails



137
138
139
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 137

def 
  @login_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



144
145
146
147
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 144

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