Class: Google::Apis::ChatV1::ListSectionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::ListSectionsResponse
- 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 sections.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_tokento retrieve the next page. -
#sections ⇒ Array<Google::Apis::ChatV1::GoogleChatV1Section>
The sections from the specified user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListSectionsResponse
constructor
A new instance of ListSectionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListSectionsResponse
Returns a new instance of ListSectionsResponse.
4920 4921 4922 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4920 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token, which can be sent as page_token to retrieve the next page. If this
field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
4913 4914 4915 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4913 def next_page_token @next_page_token end |
#sections ⇒ Array<Google::Apis::ChatV1::GoogleChatV1Section>
The sections from the specified user.
Corresponds to the JSON property sections
4918 4919 4920 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4918 def sections @sections end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4925 4926 4927 4928 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4925 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @sections = args[:sections] if args.key?(:sections) end |