Class: Google::Apis::DataprocV1::PoolData

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

Pool Data

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PoolData

Returns a new instance of PoolData.



6173
6174
6175
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6173

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


6166
6167
6168
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6166

def name
  @name
end

#stage_idsArray<Fixnum>

Corresponds to the JSON property stageIds

Returns:

  • (Array<Fixnum>)


6171
6172
6173
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6171

def stage_ids
  @stage_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6178
6179
6180
6181
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6178

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