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.
4893 4894 4895 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4893 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
4886 4887 4888 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4886 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
4891 4892 4893 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4891 def session_templates @session_templates end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4898 4899 4900 4901 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4898 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 |