Class: Google::Apis::DataprocV1::StartupConfig
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::StartupConfig
- 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
Configuration to handle the startup of instances during cluster create and update process.
Instance Attribute Summary collapse
-
#required_registration_fraction ⇒ Float
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StartupConfig
constructor
A new instance of StartupConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StartupConfig
Returns a new instance of StartupConfig.
5783 5784 5785 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5783 def initialize(**args) update!(**args) end |
Instance Attribute Details
#required_registration_fraction ⇒ Float
Optional. The config setting to enable cluster creation/ updation to be
successful only after required_registration_fraction of instances are up and
running. This configuration is applicable to only secondary workers for now.
The cluster will fail if required_registration_fraction of instances are not
available. This will include instance creation, agent registration, and
service registration (if enabled).
Corresponds to the JSON property requiredRegistrationFraction
5781 5782 5783 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5781 def required_registration_fraction @required_registration_fraction end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5788 5789 5790 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5788 def update!(**args) @required_registration_fraction = args[:required_registration_fraction] if args.key?(:required_registration_fraction) end |