Class: Google::Apis::DataprocV1::ListSessionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::ListSessionsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb
Overview
A list of interactive sessions.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as page_token, to retrieve the next page.
-
#sessions ⇒ Array<Google::Apis::DataprocV1::Session>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListSessionsResponse
constructor
A new instance of ListSessionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListSessionsResponse
Returns a new instance of ListSessionsResponse.
3510 3511 3512 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3510 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
3503 3504 3505 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3503 def next_page_token @next_page_token end |
#sessions ⇒ Array<Google::Apis::DataprocV1::Session>
Output only. The sessions from the specified collection.
Corresponds to the JSON property sessions
3508 3509 3510 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3508 def sessions @sessions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3515 3516 3517 3518 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3515 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @sessions = args[:sessions] if args.key?(:sessions) end |