Class: Google::Apis::DataprocV1::SearchSparkApplicationsResponse

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 summary of Spark Applications

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchSparkApplicationsResponse

Returns a new instance of SearchSparkApplicationsResponse.



7353
7354
7355
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7353

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 SearchSparkApplicationsRequest. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


7346
7347
7348
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7346

def next_page_token
  @next_page_token
end

#spark_applicationsArray<Google::Apis::DataprocV1::SparkApplication>

Output only. High level information corresponding to an application. Corresponds to the JSON property sparkApplications



7351
7352
7353
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7351

def spark_applications
  @spark_applications
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7358
7359
7360
7361
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7358

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