Interface InstanceGroupManagerAutoHealingPolicyOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getHealthCheck()
      The URL for the health check that signals autohealing.
      com.google.protobuf.ByteString getHealthCheckBytes()
      The URL for the health check that signals autohealing.
      int getInitialDelaySec()
      The initial delay is the number of seconds that a new VM takes to initialize and run its startup script.
      boolean hasHealthCheck()
      The URL for the health check that signals autohealing.
      boolean hasInitialDelaySec()
      The initial delay is the number of seconds that a new VM takes to initialize and run its startup script.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasHealthCheck

        boolean hasHealthCheck()
         The URL for the health check that signals autohealing.
         
        optional string health_check = 308876645;
        Returns:
        Whether the healthCheck field is set.
      • getHealthCheck

        String getHealthCheck()
         The URL for the health check that signals autohealing.
         
        optional string health_check = 308876645;
        Returns:
        The healthCheck.
      • getHealthCheckBytes

        com.google.protobuf.ByteString getHealthCheckBytes()
         The URL for the health check that signals autohealing.
         
        optional string health_check = 308876645;
        Returns:
        The bytes for healthCheck.
      • hasInitialDelaySec

        boolean hasInitialDelaySec()
         The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
         
        optional int32 initial_delay_sec = 263207002;
        Returns:
        Whether the initialDelaySec field is set.
      • getInitialDelaySec

        int getInitialDelaySec()
         The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
         
        optional int32 initial_delay_sec = 263207002;
        Returns:
        The initialDelaySec.