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. Developer Preview:
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.
1475 1476 1477 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1475 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
1468 1469 1470 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1468 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
1473 1474 1475 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1473 def spaces @spaces end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1480 1481 1482 1483 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1480 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @spaces = args[:spaces] if args.key?(:spaces) end |