Class: Google::Apis::DataprocV1::PoolData
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::PoolData
- 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
-
#name ⇒ String
Corresponds to the JSON property
name. -
#stage_ids ⇒ Array<Fixnum>
Corresponds to the JSON property
stageIds.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PoolData
constructor
A new instance of PoolData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PoolData
Returns a new instance of PoolData.
6182 6183 6184 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6182 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Corresponds to the JSON property name
6175 6176 6177 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6175 def name @name end |
#stage_ids ⇒ Array<Fixnum>
Corresponds to the JSON property stageIds
6180 6181 6182 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6180 def stage_ids @stage_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6187 6188 6189 6190 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6187 def update!(**args) @name = args[:name] if args.key?(:name) @stage_ids = args[:stage_ids] if args.key?(:stage_ids) end |