Class: Google::Apis::DataprocV1::ListSessionTemplatesResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListSessionTemplatesResponse

Returns a new instance of ListSessionTemplatesResponse.



5071
5072
5073
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5071

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


5064
5065
5066
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5064

def next_page_token
  @next_page_token
end

#session_templatesArray<Google::Apis::DataprocV1::SessionTemplate>

Output only. Session template list Corresponds to the JSON property sessionTemplates



5069
5070
5071
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5069

def session_templates
  @session_templates
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5076
5077
5078
5079
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5076

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