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.



3573
3574
3575
# File 'lib/google/apis/chat_v1/classes.rb', line 3573

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)


3566
3567
3568
# File 'lib/google/apis/chat_v1/classes.rb', line 3566

def next_page_token
  @next_page_token
end

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

Results are returned in chronological order (oldest event first). Corresponds to the JSON property spaceEvents



3571
3572
3573
# File 'lib/google/apis/chat_v1/classes.rb', line 3571

def space_events
  @space_events
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3578
3579
3580
3581
# File 'lib/google/apis/chat_v1/classes.rb', line 3578

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