Class: Google::Apis::MirrorV1::NotificationConfig
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::MirrorV1::NotificationConfig
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/mirror_v1/classes.rb,
generated/google/apis/mirror_v1/representations.rb,
generated/google/apis/mirror_v1/representations.rb 
Overview
Controls how notifications for a timeline item are presented to the user.
Instance Attribute Summary collapse
- 
  
    
      #delivery_time  ⇒ DateTime 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The time at which the notification should be delivered.
 - 
  
    
      #level  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Describes how important the notification is.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ NotificationConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of NotificationConfig.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ NotificationConfig
Returns a new instance of NotificationConfig
      590 591 592  | 
    
      # File 'generated/google/apis/mirror_v1/classes.rb', line 590 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#delivery_time ⇒ DateTime
The time at which the notification should be delivered.
Corresponds to the JSON property deliveryTime
      581 582 583  | 
    
      # File 'generated/google/apis/mirror_v1/classes.rb', line 581 def delivery_time @delivery_time end  | 
  
#level ⇒ String
Describes how important the notification is. Allowed values are:
- DEFAULT - Notifications of default importance. A chime will be played to
alert users.
Corresponds to the JSON property 
level 
      588 589 590  | 
    
      # File 'generated/google/apis/mirror_v1/classes.rb', line 588 def level @level end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      595 596 597 598  | 
    
      # File 'generated/google/apis/mirror_v1/classes.rb', line 595 def update!(**args) @delivery_time = args[:delivery_time] if args.key?(:delivery_time) @level = args[:level] if args.key?(:level) end  |