class Google::Apis::AdminDirectoryV1::Notifications

Template for notifications list response.

Attributes

etag[RW]

ETag of the resource. Corresponds to the JSON property `etag` @return [String]

items[RW]

List of notifications in this page. Corresponds to the JSON property `items` @return [Array<Google::Apis::AdminDirectoryV1::Notification>]

kind[RW]

The type of the resource. Corresponds to the JSON property `kind` @return [String]

next_page_token[RW]

Token for fetching the next page of notifications. Corresponds to the JSON property `nextPageToken` @return [String]

unread_notifications_count[RW]

Number of unread notification for the domain. Corresponds to the JSON property `unreadNotificationsCount` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/admin_directory_v1/classes.rb, line 1522
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/admin_directory_v1/classes.rb, line 1527
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