Class: Google::Apis::AlertcenterV1beta1::UserChanges
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::UserChanges
- 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 from UserChanges bucket Rules for predefined rules which contain the below rules. Suspended user made active New user Added User suspended (by admin) User granted admin privileges User admin privileges revoked User deleted Users password changed
Instance Attribute Summary collapse
-
#name ⇒ String
Rule name Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UserChanges
constructor
A new instance of UserChanges.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UserChanges
Returns a new instance of UserChanges.
2264 2265 2266 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2264 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Rule name
Corresponds to the JSON property name
2262 2263 2264 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2262 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2269 2270 2271 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2269 def update!(**args) @name = args[:name] if args.key?(:name) end |