Class: Google::Apis::ChatV1::ListSpaceEventsResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb

Overview

Response message for listing space events.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListSpaceEventsResponse

Returns a new instance of ListSpaceEventsResponse.



3844
3845
3846
# File 'lib/google/apis/chat_v1/classes.rb', line 3844

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

Instance Attribute Details

#next_page_tokenString

Continuation token used to fetch more events. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


3835
3836
3837
# File 'lib/google/apis/chat_v1/classes.rb', line 3835

def next_page_token
  @next_page_token
end

#space_eventsArray<Google::Apis::ChatV1::SpaceEvent>

Results are returned in chronological order (oldest event first). Note: The permissionSettings field is not returned in the Space object for list requests. Corresponds to the JSON property spaceEvents



3842
3843
3844
# File 'lib/google/apis/chat_v1/classes.rb', line 3842

def space_events
  @space_events
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3849
3850
3851
3852
# File 'lib/google/apis/chat_v1/classes.rb', line 3849

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