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.



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

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)


3832
3833
3834
# File 'lib/google/apis/chat_v1/classes.rb', line 3832

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



3839
3840
3841
# File 'lib/google/apis/chat_v1/classes.rb', line 3839

def space_events
  @space_events
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3846
3847
3848
3849
# File 'lib/google/apis/chat_v1/classes.rb', line 3846

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