Class: Google::Apis::AlertcenterV1beta1::UserChanges

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 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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UserChanges

Returns a new instance of UserChanges.



1718
1719
1720
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1718

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

Instance Attribute Details

#nameString

Rule name Corresponds to the JSON property name

Returns:

  • (String)


1716
1717
1718
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1716

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1723
1724
1725
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1723

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