Class: Google::Apis::DataprocV1::SearchSessionSparkApplicationStagesResponse

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 stages associated with a Spark Application.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchSessionSparkApplicationStagesResponse

Returns a new instance of SearchSessionSparkApplicationStagesResponse.



7110
7111
7112
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7110

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

Instance Attribute Details

#next_page_tokenString

This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationStages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


7103
7104
7105
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7103

def next_page_token
  @next_page_token
end

#spark_application_stagesArray<Google::Apis::DataprocV1::StageData>

Output only. Data corresponding to a stage. Corresponds to the JSON property sparkApplicationStages



7108
7109
7110
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7108

def spark_application_stages
  @spark_application_stages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7115
7116
7117
7118
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7115

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @spark_application_stages = args[:spark_application_stages] if args.key?(:spark_application_stages)
end