Class: Google::Apis::ChatV1::ListSpacesResponse
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::ListSpacesResponse
- 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
The response for a list spaces request.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
You can send a token as
pageToken
to retrieve the next page of results. -
#spaces ⇒ Array<Google::Apis::ChatV1::Space>
List of spaces in the requested (or first) page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListSpacesResponse
constructor
A new instance of ListSpacesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListSpacesResponse
Returns a new instance of ListSpacesResponse.
3558 3559 3560 |
# File 'lib/google/apis/chat_v1/classes.rb', line 3558 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
You can send a token as pageToken
to retrieve the next page of results. If
empty, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
3551 3552 3553 |
# File 'lib/google/apis/chat_v1/classes.rb', line 3551 def next_page_token @next_page_token end |
#spaces ⇒ Array<Google::Apis::ChatV1::Space>
List of spaces in the requested (or first) page.
Corresponds to the JSON property spaces
3556 3557 3558 |
# File 'lib/google/apis/chat_v1/classes.rb', line 3556 def spaces @spaces end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3563 3564 3565 3566 |
# File 'lib/google/apis/chat_v1/classes.rb', line 3563 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @spaces = args[:spaces] if args.key?(:spaces) end |