Class: Google::Apis::DataprocV1::ListSessionTemplatesResponse
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::ListSessionTemplatesResponse
- 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 session templates.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as page_token to retrieve the next page.
-
#session_templates ⇒ Array<Google::Apis::DataprocV1::SessionTemplate>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListSessionTemplatesResponse
constructor
A new instance of ListSessionTemplatesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListSessionTemplatesResponse
Returns a new instance of ListSessionTemplatesResponse.
3484 3485 3486 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3484 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
3477 3478 3479 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3477 def next_page_token @next_page_token end |
#session_templates ⇒ Array<Google::Apis::DataprocV1::SessionTemplate>
Output only. Session template list
Corresponds to the JSON property sessionTemplates
3482 3483 3484 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3482 def session_templates @session_templates end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3489 3490 3491 3492 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3489 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @session_templates = args[:session_templates] if args.key?(:session_templates) end |