Class: Google::Apis::ChatV1::FindGroupChatsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::FindGroupChatsResponse
- 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
A response containing group chat spaces with exactly the calling user and the requested users.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token that you can send as
pageTokento 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) ⇒ FindGroupChatsResponse
constructor
A new instance of FindGroupChatsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FindGroupChatsResponse
Returns a new instance of FindGroupChatsResponse.
1580 1581 1582 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1580 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token that you can send as pageToken to retrieve the next page of results.
If empty, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
1573 1574 1575 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1573 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
1578 1579 1580 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1578 def spaces @spaces end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1585 1586 1587 1588 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1585 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @spaces = args[:spaces] if args.key?(:spaces) end |