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.
4919 4920 4921 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4919 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
4912 4913 4914 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4912 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
4917 4918 4919 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4917 def sessions @sessions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4924 4925 4926 4927 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4924 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @sessions = args[:sessions] if args.key?(:sessions) end |