@@ -20,9 +20,11 @@ import "google/api/annotations.proto";
2020import "google/api/client.proto" ;
2121import "google/api/field_behavior.proto" ;
2222import "google/api/resource.proto" ;
23+ import "google/cloud/dataproc/v1/operations.proto" ;
2324import "google/cloud/dataproc/v1/shared.proto" ;
2425import "google/longrunning/operations.proto" ;
2526import "google/protobuf/duration.proto" ;
27+ import "google/protobuf/empty.proto" ;
2628import "google/protobuf/field_mask.proto" ;
2729import "google/protobuf/timestamp.proto" ;
2830import "google/protobuf/wrappers.proto" ;
@@ -693,6 +695,23 @@ message InstanceGroupConfig {
693695 // provisioning models.
694696 InstanceFlexibilityPolicy instance_flexibility_policy = 13
695697 [(google.api.field_behavior ) = OPTIONAL ];
698+
699+ // Optional. Configuration to handle the startup of instances during cluster
700+ // create and update process.
701+ StartupConfig startup_config = 14 [(google.api.field_behavior ) = OPTIONAL ];
702+ }
703+
704+ // Configuration to handle the startup of instances during cluster create and
705+ // update process.
706+ message StartupConfig {
707+ // Optional. The config setting to enable cluster creation/ updation to be
708+ // successful only after required_registration_fraction of instances are up
709+ // and running. This configuration is applicable to only secondary workers for
710+ // now. The cluster will fail if required_registration_fraction of instances
711+ // are not available. This will include instance creation, agent registration,
712+ // and service registration (if enabled).
713+ optional double required_registration_fraction = 1
714+ [(google.api.field_behavior ) = OPTIONAL ];
696715}
697716
698717// A reference to a Compute Engine instance.
0 commit comments