Class: Google::Cloud::Compute::V1::HealthStatus
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::HealthStatus
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Defined Under Namespace
Modules: HealthState, WeightError Classes: AnnotationsEntry
Instance Attribute Summary collapse
-
#annotations ⇒ ::Google::Protobuf::Map{::String => ::String}
Metadata defined as annotations for network endpoint.
-
#forwarding_rule ⇒ ::String
URL of the forwarding rule associated with the health status of the instance.
-
#forwarding_rule_ip ⇒ ::String
A forwarding rule IP address assigned to this instance.
-
#health_state ⇒ ::String
Health state of the instance.
-
#instance ⇒ ::String
URL of the instance resource.
-
#ip_address ⇒ ::String
For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance.
-
#port ⇒ ::Integer
The named port of the instance group, not necessarily the port that is health-checked.
- #weight ⇒ ::String
-
#weight_error ⇒ ::String
Check the WeightError enum for the list of possible values.
Instance Attribute Details
#annotations ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Metadata defined as annotations for network endpoint.
9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 9769 class HealthStatus include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Health state of the instance. module HealthState # A value indicating that the enum field is not set. UNDEFINED_HEALTH_STATE = 0 HEALTHY = 439801213 UNHEALTHY = 462118084 end module WeightError # A value indicating that the enum field is not set. UNDEFINED_WEIGHT_ERROR = 0 # The response to a Health Check probe had the HTTP response header field X-Load-Balancing-Endpoint-Weight, but its content was invalid (i.e., not a non-negative single-precision floating-point number in decimal string representation). INVALID_WEIGHT = 383698400 # The response to a Health Check probe did not have the HTTP response header field X-Load-Balancing-Endpoint-Weight. MISSING_WEIGHT = 384027537 # This is the value when the accompanied health status is either TIMEOUT (i.e.,the Health Check probe was not able to get a response in time) or UNKNOWN. For the latter, it should be typically because there has not been sufficient time to parse and report the weight for a new backend (which is with 0.0.0.0 ip address). However, it can be also due to an outage case for which the health status is explicitly reset to UNKNOWN. UNAVAILABLE_WEIGHT = 439464295 # This is the default value when WeightReportMode is DISABLE, and is also the initial value when WeightReportMode has just updated to ENABLE or DRY_RUN and there has not been sufficient time to parse and report the backend weight. WEIGHT_NONE = 502428831 end end |
#forwarding_rule ⇒ ::String
Returns URL of the forwarding rule associated with the health status of the instance.
9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 9769 class HealthStatus include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Health state of the instance. module HealthState # A value indicating that the enum field is not set. UNDEFINED_HEALTH_STATE = 0 HEALTHY = 439801213 UNHEALTHY = 462118084 end module WeightError # A value indicating that the enum field is not set. UNDEFINED_WEIGHT_ERROR = 0 # The response to a Health Check probe had the HTTP response header field X-Load-Balancing-Endpoint-Weight, but its content was invalid (i.e., not a non-negative single-precision floating-point number in decimal string representation). INVALID_WEIGHT = 383698400 # The response to a Health Check probe did not have the HTTP response header field X-Load-Balancing-Endpoint-Weight. MISSING_WEIGHT = 384027537 # This is the value when the accompanied health status is either TIMEOUT (i.e.,the Health Check probe was not able to get a response in time) or UNKNOWN. For the latter, it should be typically because there has not been sufficient time to parse and report the weight for a new backend (which is with 0.0.0.0 ip address). However, it can be also due to an outage case for which the health status is explicitly reset to UNKNOWN. UNAVAILABLE_WEIGHT = 439464295 # This is the default value when WeightReportMode is DISABLE, and is also the initial value when WeightReportMode has just updated to ENABLE or DRY_RUN and there has not been sufficient time to parse and report the backend weight. WEIGHT_NONE = 502428831 end end |
#forwarding_rule_ip ⇒ ::String
Returns A forwarding rule IP address assigned to this instance.
9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 9769 class HealthStatus include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Health state of the instance. module HealthState # A value indicating that the enum field is not set. UNDEFINED_HEALTH_STATE = 0 HEALTHY = 439801213 UNHEALTHY = 462118084 end module WeightError # A value indicating that the enum field is not set. UNDEFINED_WEIGHT_ERROR = 0 # The response to a Health Check probe had the HTTP response header field X-Load-Balancing-Endpoint-Weight, but its content was invalid (i.e., not a non-negative single-precision floating-point number in decimal string representation). INVALID_WEIGHT = 383698400 # The response to a Health Check probe did not have the HTTP response header field X-Load-Balancing-Endpoint-Weight. MISSING_WEIGHT = 384027537 # This is the value when the accompanied health status is either TIMEOUT (i.e.,the Health Check probe was not able to get a response in time) or UNKNOWN. For the latter, it should be typically because there has not been sufficient time to parse and report the weight for a new backend (which is with 0.0.0.0 ip address). However, it can be also due to an outage case for which the health status is explicitly reset to UNKNOWN. UNAVAILABLE_WEIGHT = 439464295 # This is the default value when WeightReportMode is DISABLE, and is also the initial value when WeightReportMode has just updated to ENABLE or DRY_RUN and there has not been sufficient time to parse and report the backend weight. WEIGHT_NONE = 502428831 end end |
#health_state ⇒ ::String
Returns Health state of the instance. Check the HealthState enum for the list of possible values.
9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 9769 class HealthStatus include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Health state of the instance. module HealthState # A value indicating that the enum field is not set. UNDEFINED_HEALTH_STATE = 0 HEALTHY = 439801213 UNHEALTHY = 462118084 end module WeightError # A value indicating that the enum field is not set. UNDEFINED_WEIGHT_ERROR = 0 # The response to a Health Check probe had the HTTP response header field X-Load-Balancing-Endpoint-Weight, but its content was invalid (i.e., not a non-negative single-precision floating-point number in decimal string representation). INVALID_WEIGHT = 383698400 # The response to a Health Check probe did not have the HTTP response header field X-Load-Balancing-Endpoint-Weight. MISSING_WEIGHT = 384027537 # This is the value when the accompanied health status is either TIMEOUT (i.e.,the Health Check probe was not able to get a response in time) or UNKNOWN. For the latter, it should be typically because there has not been sufficient time to parse and report the weight for a new backend (which is with 0.0.0.0 ip address). However, it can be also due to an outage case for which the health status is explicitly reset to UNKNOWN. UNAVAILABLE_WEIGHT = 439464295 # This is the default value when WeightReportMode is DISABLE, and is also the initial value when WeightReportMode has just updated to ENABLE or DRY_RUN and there has not been sufficient time to parse and report the backend weight. WEIGHT_NONE = 502428831 end end |
#instance ⇒ ::String
Returns URL of the instance resource.
9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 9769 class HealthStatus include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Health state of the instance. module HealthState # A value indicating that the enum field is not set. UNDEFINED_HEALTH_STATE = 0 HEALTHY = 439801213 UNHEALTHY = 462118084 end module WeightError # A value indicating that the enum field is not set. UNDEFINED_WEIGHT_ERROR = 0 # The response to a Health Check probe had the HTTP response header field X-Load-Balancing-Endpoint-Weight, but its content was invalid (i.e., not a non-negative single-precision floating-point number in decimal string representation). INVALID_WEIGHT = 383698400 # The response to a Health Check probe did not have the HTTP response header field X-Load-Balancing-Endpoint-Weight. MISSING_WEIGHT = 384027537 # This is the value when the accompanied health status is either TIMEOUT (i.e.,the Health Check probe was not able to get a response in time) or UNKNOWN. For the latter, it should be typically because there has not been sufficient time to parse and report the weight for a new backend (which is with 0.0.0.0 ip address). However, it can be also due to an outage case for which the health status is explicitly reset to UNKNOWN. UNAVAILABLE_WEIGHT = 439464295 # This is the default value when WeightReportMode is DISABLE, and is also the initial value when WeightReportMode has just updated to ENABLE or DRY_RUN and there has not been sufficient time to parse and report the backend weight. WEIGHT_NONE = 502428831 end end |
#ip_address ⇒ ::String
Returns For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance. For other types of load balancing, the field indicates VM internal ip.
9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 9769 class HealthStatus include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Health state of the instance. module HealthState # A value indicating that the enum field is not set. UNDEFINED_HEALTH_STATE = 0 HEALTHY = 439801213 UNHEALTHY = 462118084 end module WeightError # A value indicating that the enum field is not set. UNDEFINED_WEIGHT_ERROR = 0 # The response to a Health Check probe had the HTTP response header field X-Load-Balancing-Endpoint-Weight, but its content was invalid (i.e., not a non-negative single-precision floating-point number in decimal string representation). INVALID_WEIGHT = 383698400 # The response to a Health Check probe did not have the HTTP response header field X-Load-Balancing-Endpoint-Weight. MISSING_WEIGHT = 384027537 # This is the value when the accompanied health status is either TIMEOUT (i.e.,the Health Check probe was not able to get a response in time) or UNKNOWN. For the latter, it should be typically because there has not been sufficient time to parse and report the weight for a new backend (which is with 0.0.0.0 ip address). However, it can be also due to an outage case for which the health status is explicitly reset to UNKNOWN. UNAVAILABLE_WEIGHT = 439464295 # This is the default value when WeightReportMode is DISABLE, and is also the initial value when WeightReportMode has just updated to ENABLE or DRY_RUN and there has not been sufficient time to parse and report the backend weight. WEIGHT_NONE = 502428831 end end |
#port ⇒ ::Integer
Returns The named port of the instance group, not necessarily the port that is health-checked.
9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 9769 class HealthStatus include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Health state of the instance. module HealthState # A value indicating that the enum field is not set. UNDEFINED_HEALTH_STATE = 0 HEALTHY = 439801213 UNHEALTHY = 462118084 end module WeightError # A value indicating that the enum field is not set. UNDEFINED_WEIGHT_ERROR = 0 # The response to a Health Check probe had the HTTP response header field X-Load-Balancing-Endpoint-Weight, but its content was invalid (i.e., not a non-negative single-precision floating-point number in decimal string representation). INVALID_WEIGHT = 383698400 # The response to a Health Check probe did not have the HTTP response header field X-Load-Balancing-Endpoint-Weight. MISSING_WEIGHT = 384027537 # This is the value when the accompanied health status is either TIMEOUT (i.e.,the Health Check probe was not able to get a response in time) or UNKNOWN. For the latter, it should be typically because there has not been sufficient time to parse and report the weight for a new backend (which is with 0.0.0.0 ip address). However, it can be also due to an outage case for which the health status is explicitly reset to UNKNOWN. UNAVAILABLE_WEIGHT = 439464295 # This is the default value when WeightReportMode is DISABLE, and is also the initial value when WeightReportMode has just updated to ENABLE or DRY_RUN and there has not been sufficient time to parse and report the backend weight. WEIGHT_NONE = 502428831 end end |
#weight ⇒ ::String
9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 9769 class HealthStatus include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Health state of the instance. module HealthState # A value indicating that the enum field is not set. UNDEFINED_HEALTH_STATE = 0 HEALTHY = 439801213 UNHEALTHY = 462118084 end module WeightError # A value indicating that the enum field is not set. UNDEFINED_WEIGHT_ERROR = 0 # The response to a Health Check probe had the HTTP response header field X-Load-Balancing-Endpoint-Weight, but its content was invalid (i.e., not a non-negative single-precision floating-point number in decimal string representation). INVALID_WEIGHT = 383698400 # The response to a Health Check probe did not have the HTTP response header field X-Load-Balancing-Endpoint-Weight. MISSING_WEIGHT = 384027537 # This is the value when the accompanied health status is either TIMEOUT (i.e.,the Health Check probe was not able to get a response in time) or UNKNOWN. For the latter, it should be typically because there has not been sufficient time to parse and report the weight for a new backend (which is with 0.0.0.0 ip address). However, it can be also due to an outage case for which the health status is explicitly reset to UNKNOWN. UNAVAILABLE_WEIGHT = 439464295 # This is the default value when WeightReportMode is DISABLE, and is also the initial value when WeightReportMode has just updated to ENABLE or DRY_RUN and there has not been sufficient time to parse and report the backend weight. WEIGHT_NONE = 502428831 end end |
#weight_error ⇒ ::String
Returns Check the WeightError enum for the list of possible values.
9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 9769 class HealthStatus include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Health state of the instance. module HealthState # A value indicating that the enum field is not set. UNDEFINED_HEALTH_STATE = 0 HEALTHY = 439801213 UNHEALTHY = 462118084 end module WeightError # A value indicating that the enum field is not set. UNDEFINED_WEIGHT_ERROR = 0 # The response to a Health Check probe had the HTTP response header field X-Load-Balancing-Endpoint-Weight, but its content was invalid (i.e., not a non-negative single-precision floating-point number in decimal string representation). INVALID_WEIGHT = 383698400 # The response to a Health Check probe did not have the HTTP response header field X-Load-Balancing-Endpoint-Weight. MISSING_WEIGHT = 384027537 # This is the value when the accompanied health status is either TIMEOUT (i.e.,the Health Check probe was not able to get a response in time) or UNKNOWN. For the latter, it should be typically because there has not been sufficient time to parse and report the weight for a new backend (which is with 0.0.0.0 ip address). However, it can be also due to an outage case for which the health status is explicitly reset to UNKNOWN. UNAVAILABLE_WEIGHT = 439464295 # This is the default value when WeightReportMode is DISABLE, and is also the initial value when WeightReportMode has just updated to ENABLE or DRY_RUN and there has not been sufficient time to parse and report the backend weight. WEIGHT_NONE = 502428831 end end |