Class: Google::Apis::AlertcenterV1beta1::AppSettingsChanged

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 AppSettingsChanged bucket Rules configured by Admin which contain the following rules: - Calendar settings changed - Drive settings changed - Email settings changed - Mobile settings changed

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppSettingsChanged

Returns a new instance of AppSettingsChanged.



611
612
613
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 611

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

Instance Attribute Details

#alert_detailsString

Any other associated alert details, for example, AlertConfiguration. Corresponds to the JSON property alertDetails NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


604
605
606
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 604

def alert_details
  @alert_details
end

#nameString

Rule name Corresponds to the JSON property name

Returns:

  • (String)


609
610
611
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 609

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



616
617
618
619
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 616

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