Class: Google::Apis::AdminDirectoryV1::Notifications
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AdminDirectoryV1::Notifications
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admin_directory_v1/classes.rb,
 generated/google/apis/admin_directory_v1/representations.rb,
 generated/google/apis/admin_directory_v1/representations.rb
Overview
Template for notifications list response.
Instance Attribute Summary collapse
- 
  
    
      #etag  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    ETag of the resource. 
- 
  
    
      #items  ⇒ Array<Google::Apis::AdminDirectoryV1::Notification> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    List of notifications in this page. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of the resource. 
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Token for fetching the next page of notifications. 
- 
  
    
      #unread_notifications_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Number of unread notification for the domain. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Notifications 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Notifications. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Notifications
Returns a new instance of Notifications
| 2092 2093 2094 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 2092 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
| 2070 2071 2072 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 2070 def etag @etag end | 
#items ⇒ Array<Google::Apis::AdminDirectoryV1::Notification>
List of notifications in this page.
Corresponds to the JSON property items
| 2075 2076 2077 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 2075 def items @items end | 
#kind ⇒ String
The type of the resource.
Corresponds to the JSON property kind
| 2080 2081 2082 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 2080 def kind @kind end | 
#next_page_token ⇒ String
Token for fetching the next page of notifications.
Corresponds to the JSON property nextPageToken
| 2085 2086 2087 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 2085 def next_page_token @next_page_token end | 
#unread_notifications_count ⇒ Fixnum
Number of unread notification for the domain.
Corresponds to the JSON property unreadNotificationsCount
| 2090 2091 2092 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 2090 def unread_notifications_count @unread_notifications_count end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2097 2098 2099 2100 2101 2102 2103 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 2097 def update!(**args) @etag = args[:etag] if args.key?(:etag) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @unread_notifications_count = args[:unread_notifications_count] if args.key?(:unread_notifications_count) end |