Class: Google::Cloud::AppEngine::V1::Instance
- Inherits:
-
Object
- Object
- Google::Cloud::AppEngine::V1::Instance
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/appengine/v1/instance.rb
Overview
An Instance resource is the computing unit that App Engine uses to automatically scale an application.
Defined Under Namespace
Modules: Availability Classes: Liveness
Instance Attribute Summary collapse
-
#app_engine_release ⇒ ::String
readonly
Output only.
-
#availability ⇒ ::Google::Cloud::AppEngine::V1::Instance::Availability
readonly
Output only.
-
#average_latency ⇒ ::Integer
readonly
Output only.
-
#errors ⇒ ::Integer
readonly
Output only.
-
#id ⇒ ::String
readonly
Output only.
-
#memory_usage ⇒ ::Integer
readonly
Output only.
-
#name ⇒ ::String
readonly
Output only.
-
#qps ⇒ ::Float
readonly
Output only.
-
#requests ⇒ ::Integer
readonly
Output only.
-
#start_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#vm_debug_enabled ⇒ ::Boolean
readonly
Output only.
-
#vm_id ⇒ ::String
readonly
Output only.
-
#vm_ip ⇒ ::String
readonly
Output only.
-
#vm_liveness ⇒ ::Google::Cloud::AppEngine::V1::Instance::Liveness::LivenessState
readonly
Output only.
-
#vm_name ⇒ ::String
readonly
Output only.
-
#vm_status ⇒ ::String
readonly
Output only.
-
#vm_zone_name ⇒ ::String
readonly
Output only.
Instance Attribute Details
#app_engine_release ⇒ ::String (readonly)
Returns Output only. App Engine release this instance is running on.
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'proto_docs/google/appengine/v1/instance.rb', line 86 class Instance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for LivenessState enum. class Liveness include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Liveness health check status for Flex instances. module LivenessState # There is no liveness health check for the instance. Only applicable for # instances in App Engine standard environment. LIVENESS_STATE_UNSPECIFIED = 0 # The health checking system is aware of the instance but its health is # not known at the moment. UNKNOWN = 1 # The instance is reachable i.e. a connection to the application health # checking endpoint can be established, and conforms to the requirements # defined by the health check. HEALTHY = 2 # The instance is reachable, but does not conform to the requirements # defined by the health check. UNHEALTHY = 3 # The instance is being drained. The existing connections to the instance # have time to complete, but the new ones are being refused. DRAINING = 4 # The instance is unreachable i.e. a connection to the application health # checking endpoint cannot be established, or the server does not respond # within the specified timeout. TIMEOUT = 5 end end # Availability of the instance. module Availability UNSPECIFIED = 0 RESIDENT = 1 DYNAMIC = 2 end end |
#availability ⇒ ::Google::Cloud::AppEngine::V1::Instance::Availability (readonly)
Returns Output only. Availability of the instance.
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'proto_docs/google/appengine/v1/instance.rb', line 86 class Instance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for LivenessState enum. class Liveness include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Liveness health check status for Flex instances. module LivenessState # There is no liveness health check for the instance. Only applicable for # instances in App Engine standard environment. LIVENESS_STATE_UNSPECIFIED = 0 # The health checking system is aware of the instance but its health is # not known at the moment. UNKNOWN = 1 # The instance is reachable i.e. a connection to the application health # checking endpoint can be established, and conforms to the requirements # defined by the health check. HEALTHY = 2 # The instance is reachable, but does not conform to the requirements # defined by the health check. UNHEALTHY = 3 # The instance is being drained. The existing connections to the instance # have time to complete, but the new ones are being refused. DRAINING = 4 # The instance is unreachable i.e. a connection to the application health # checking endpoint cannot be established, or the server does not respond # within the specified timeout. TIMEOUT = 5 end end # Availability of the instance. module Availability UNSPECIFIED = 0 RESIDENT = 1 DYNAMIC = 2 end end |
#average_latency ⇒ ::Integer (readonly)
Returns Output only. Average latency (ms) over the last minute.
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'proto_docs/google/appengine/v1/instance.rb', line 86 class Instance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for LivenessState enum. class Liveness include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Liveness health check status for Flex instances. module LivenessState # There is no liveness health check for the instance. Only applicable for # instances in App Engine standard environment. LIVENESS_STATE_UNSPECIFIED = 0 # The health checking system is aware of the instance but its health is # not known at the moment. UNKNOWN = 1 # The instance is reachable i.e. a connection to the application health # checking endpoint can be established, and conforms to the requirements # defined by the health check. HEALTHY = 2 # The instance is reachable, but does not conform to the requirements # defined by the health check. UNHEALTHY = 3 # The instance is being drained. The existing connections to the instance # have time to complete, but the new ones are being refused. DRAINING = 4 # The instance is unreachable i.e. a connection to the application health # checking endpoint cannot be established, or the server does not respond # within the specified timeout. TIMEOUT = 5 end end # Availability of the instance. module Availability UNSPECIFIED = 0 RESIDENT = 1 DYNAMIC = 2 end end |
#errors ⇒ ::Integer (readonly)
Returns Output only. Number of errors since this instance was started.
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'proto_docs/google/appengine/v1/instance.rb', line 86 class Instance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for LivenessState enum. class Liveness include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Liveness health check status for Flex instances. module LivenessState # There is no liveness health check for the instance. Only applicable for # instances in App Engine standard environment. LIVENESS_STATE_UNSPECIFIED = 0 # The health checking system is aware of the instance but its health is # not known at the moment. UNKNOWN = 1 # The instance is reachable i.e. a connection to the application health # checking endpoint can be established, and conforms to the requirements # defined by the health check. HEALTHY = 2 # The instance is reachable, but does not conform to the requirements # defined by the health check. UNHEALTHY = 3 # The instance is being drained. The existing connections to the instance # have time to complete, but the new ones are being refused. DRAINING = 4 # The instance is unreachable i.e. a connection to the application health # checking endpoint cannot be established, or the server does not respond # within the specified timeout. TIMEOUT = 5 end end # Availability of the instance. module Availability UNSPECIFIED = 0 RESIDENT = 1 DYNAMIC = 2 end end |
#id ⇒ ::String (readonly)
Returns Output only. Relative name of the instance within the version.
Example: instance-1
.
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'proto_docs/google/appengine/v1/instance.rb', line 86 class Instance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for LivenessState enum. class Liveness include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Liveness health check status for Flex instances. module LivenessState # There is no liveness health check for the instance. Only applicable for # instances in App Engine standard environment. LIVENESS_STATE_UNSPECIFIED = 0 # The health checking system is aware of the instance but its health is # not known at the moment. UNKNOWN = 1 # The instance is reachable i.e. a connection to the application health # checking endpoint can be established, and conforms to the requirements # defined by the health check. HEALTHY = 2 # The instance is reachable, but does not conform to the requirements # defined by the health check. UNHEALTHY = 3 # The instance is being drained. The existing connections to the instance # have time to complete, but the new ones are being refused. DRAINING = 4 # The instance is unreachable i.e. a connection to the application health # checking endpoint cannot be established, or the server does not respond # within the specified timeout. TIMEOUT = 5 end end # Availability of the instance. module Availability UNSPECIFIED = 0 RESIDENT = 1 DYNAMIC = 2 end end |
#memory_usage ⇒ ::Integer (readonly)
Returns Output only. Total memory in use (bytes).
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'proto_docs/google/appengine/v1/instance.rb', line 86 class Instance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for LivenessState enum. class Liveness include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Liveness health check status for Flex instances. module LivenessState # There is no liveness health check for the instance. Only applicable for # instances in App Engine standard environment. LIVENESS_STATE_UNSPECIFIED = 0 # The health checking system is aware of the instance but its health is # not known at the moment. UNKNOWN = 1 # The instance is reachable i.e. a connection to the application health # checking endpoint can be established, and conforms to the requirements # defined by the health check. HEALTHY = 2 # The instance is reachable, but does not conform to the requirements # defined by the health check. UNHEALTHY = 3 # The instance is being drained. The existing connections to the instance # have time to complete, but the new ones are being refused. DRAINING = 4 # The instance is unreachable i.e. a connection to the application health # checking endpoint cannot be established, or the server does not respond # within the specified timeout. TIMEOUT = 5 end end # Availability of the instance. module Availability UNSPECIFIED = 0 RESIDENT = 1 DYNAMIC = 2 end end |
#name ⇒ ::String (readonly)
Returns Output only. Full path to the Instance resource in the API.
Example: apps/myapp/services/default/versions/v1/instances/instance-1
.
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'proto_docs/google/appengine/v1/instance.rb', line 86 class Instance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for LivenessState enum. class Liveness include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Liveness health check status for Flex instances. module LivenessState # There is no liveness health check for the instance. Only applicable for # instances in App Engine standard environment. LIVENESS_STATE_UNSPECIFIED = 0 # The health checking system is aware of the instance but its health is # not known at the moment. UNKNOWN = 1 # The instance is reachable i.e. a connection to the application health # checking endpoint can be established, and conforms to the requirements # defined by the health check. HEALTHY = 2 # The instance is reachable, but does not conform to the requirements # defined by the health check. UNHEALTHY = 3 # The instance is being drained. The existing connections to the instance # have time to complete, but the new ones are being refused. DRAINING = 4 # The instance is unreachable i.e. a connection to the application health # checking endpoint cannot be established, or the server does not respond # within the specified timeout. TIMEOUT = 5 end end # Availability of the instance. module Availability UNSPECIFIED = 0 RESIDENT = 1 DYNAMIC = 2 end end |
#qps ⇒ ::Float (readonly)
Returns Output only. Average queries per second (QPS) over the last minute.
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'proto_docs/google/appengine/v1/instance.rb', line 86 class Instance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for LivenessState enum. class Liveness include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Liveness health check status for Flex instances. module LivenessState # There is no liveness health check for the instance. Only applicable for # instances in App Engine standard environment. LIVENESS_STATE_UNSPECIFIED = 0 # The health checking system is aware of the instance but its health is # not known at the moment. UNKNOWN = 1 # The instance is reachable i.e. a connection to the application health # checking endpoint can be established, and conforms to the requirements # defined by the health check. HEALTHY = 2 # The instance is reachable, but does not conform to the requirements # defined by the health check. UNHEALTHY = 3 # The instance is being drained. The existing connections to the instance # have time to complete, but the new ones are being refused. DRAINING = 4 # The instance is unreachable i.e. a connection to the application health # checking endpoint cannot be established, or the server does not respond # within the specified timeout. TIMEOUT = 5 end end # Availability of the instance. module Availability UNSPECIFIED = 0 RESIDENT = 1 DYNAMIC = 2 end end |
#requests ⇒ ::Integer (readonly)
Returns Output only. Number of requests since this instance was started.
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'proto_docs/google/appengine/v1/instance.rb', line 86 class Instance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for LivenessState enum. class Liveness include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Liveness health check status for Flex instances. module LivenessState # There is no liveness health check for the instance. Only applicable for # instances in App Engine standard environment. LIVENESS_STATE_UNSPECIFIED = 0 # The health checking system is aware of the instance but its health is # not known at the moment. UNKNOWN = 1 # The instance is reachable i.e. a connection to the application health # checking endpoint can be established, and conforms to the requirements # defined by the health check. HEALTHY = 2 # The instance is reachable, but does not conform to the requirements # defined by the health check. UNHEALTHY = 3 # The instance is being drained. The existing connections to the instance # have time to complete, but the new ones are being refused. DRAINING = 4 # The instance is unreachable i.e. a connection to the application health # checking endpoint cannot be established, or the server does not respond # within the specified timeout. TIMEOUT = 5 end end # Availability of the instance. module Availability UNSPECIFIED = 0 RESIDENT = 1 DYNAMIC = 2 end end |
#start_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Time that this instance was started.
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'proto_docs/google/appengine/v1/instance.rb', line 86 class Instance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for LivenessState enum. class Liveness include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Liveness health check status for Flex instances. module LivenessState # There is no liveness health check for the instance. Only applicable for # instances in App Engine standard environment. LIVENESS_STATE_UNSPECIFIED = 0 # The health checking system is aware of the instance but its health is # not known at the moment. UNKNOWN = 1 # The instance is reachable i.e. a connection to the application health # checking endpoint can be established, and conforms to the requirements # defined by the health check. HEALTHY = 2 # The instance is reachable, but does not conform to the requirements # defined by the health check. UNHEALTHY = 3 # The instance is being drained. The existing connections to the instance # have time to complete, but the new ones are being refused. DRAINING = 4 # The instance is unreachable i.e. a connection to the application health # checking endpoint cannot be established, or the server does not respond # within the specified timeout. TIMEOUT = 5 end end # Availability of the instance. module Availability UNSPECIFIED = 0 RESIDENT = 1 DYNAMIC = 2 end end |
#vm_debug_enabled ⇒ ::Boolean (readonly)
Returns Output only. Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment.
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'proto_docs/google/appengine/v1/instance.rb', line 86 class Instance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for LivenessState enum. class Liveness include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Liveness health check status for Flex instances. module LivenessState # There is no liveness health check for the instance. Only applicable for # instances in App Engine standard environment. LIVENESS_STATE_UNSPECIFIED = 0 # The health checking system is aware of the instance but its health is # not known at the moment. UNKNOWN = 1 # The instance is reachable i.e. a connection to the application health # checking endpoint can be established, and conforms to the requirements # defined by the health check. HEALTHY = 2 # The instance is reachable, but does not conform to the requirements # defined by the health check. UNHEALTHY = 3 # The instance is being drained. The existing connections to the instance # have time to complete, but the new ones are being refused. DRAINING = 4 # The instance is unreachable i.e. a connection to the application health # checking endpoint cannot be established, or the server does not respond # within the specified timeout. TIMEOUT = 5 end end # Availability of the instance. module Availability UNSPECIFIED = 0 RESIDENT = 1 DYNAMIC = 2 end end |
#vm_id ⇒ ::String (readonly)
Returns Output only. Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment.
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'proto_docs/google/appengine/v1/instance.rb', line 86 class Instance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for LivenessState enum. class Liveness include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Liveness health check status for Flex instances. module LivenessState # There is no liveness health check for the instance. Only applicable for # instances in App Engine standard environment. LIVENESS_STATE_UNSPECIFIED = 0 # The health checking system is aware of the instance but its health is # not known at the moment. UNKNOWN = 1 # The instance is reachable i.e. a connection to the application health # checking endpoint can be established, and conforms to the requirements # defined by the health check. HEALTHY = 2 # The instance is reachable, but does not conform to the requirements # defined by the health check. UNHEALTHY = 3 # The instance is being drained. The existing connections to the instance # have time to complete, but the new ones are being refused. DRAINING = 4 # The instance is unreachable i.e. a connection to the application health # checking endpoint cannot be established, or the server does not respond # within the specified timeout. TIMEOUT = 5 end end # Availability of the instance. module Availability UNSPECIFIED = 0 RESIDENT = 1 DYNAMIC = 2 end end |
#vm_ip ⇒ ::String (readonly)
Returns Output only. The IP address of this instance. Only applicable for instances in App Engine flexible environment.
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'proto_docs/google/appengine/v1/instance.rb', line 86 class Instance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for LivenessState enum. class Liveness include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Liveness health check status for Flex instances. module LivenessState # There is no liveness health check for the instance. Only applicable for # instances in App Engine standard environment. LIVENESS_STATE_UNSPECIFIED = 0 # The health checking system is aware of the instance but its health is # not known at the moment. UNKNOWN = 1 # The instance is reachable i.e. a connection to the application health # checking endpoint can be established, and conforms to the requirements # defined by the health check. HEALTHY = 2 # The instance is reachable, but does not conform to the requirements # defined by the health check. UNHEALTHY = 3 # The instance is being drained. The existing connections to the instance # have time to complete, but the new ones are being refused. DRAINING = 4 # The instance is unreachable i.e. a connection to the application health # checking endpoint cannot be established, or the server does not respond # within the specified timeout. TIMEOUT = 5 end end # Availability of the instance. module Availability UNSPECIFIED = 0 RESIDENT = 1 DYNAMIC = 2 end end |
#vm_liveness ⇒ ::Google::Cloud::AppEngine::V1::Instance::Liveness::LivenessState (readonly)
Returns Output only. The liveness health check of this instance. Only applicable for instances in App Engine flexible environment.
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'proto_docs/google/appengine/v1/instance.rb', line 86 class Instance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for LivenessState enum. class Liveness include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Liveness health check status for Flex instances. module LivenessState # There is no liveness health check for the instance. Only applicable for # instances in App Engine standard environment. LIVENESS_STATE_UNSPECIFIED = 0 # The health checking system is aware of the instance but its health is # not known at the moment. UNKNOWN = 1 # The instance is reachable i.e. a connection to the application health # checking endpoint can be established, and conforms to the requirements # defined by the health check. HEALTHY = 2 # The instance is reachable, but does not conform to the requirements # defined by the health check. UNHEALTHY = 3 # The instance is being drained. The existing connections to the instance # have time to complete, but the new ones are being refused. DRAINING = 4 # The instance is unreachable i.e. a connection to the application health # checking endpoint cannot be established, or the server does not respond # within the specified timeout. TIMEOUT = 5 end end # Availability of the instance. module Availability UNSPECIFIED = 0 RESIDENT = 1 DYNAMIC = 2 end end |
#vm_name ⇒ ::String (readonly)
Returns Output only. Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'proto_docs/google/appengine/v1/instance.rb', line 86 class Instance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for LivenessState enum. class Liveness include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Liveness health check status for Flex instances. module LivenessState # There is no liveness health check for the instance. Only applicable for # instances in App Engine standard environment. LIVENESS_STATE_UNSPECIFIED = 0 # The health checking system is aware of the instance but its health is # not known at the moment. UNKNOWN = 1 # The instance is reachable i.e. a connection to the application health # checking endpoint can be established, and conforms to the requirements # defined by the health check. HEALTHY = 2 # The instance is reachable, but does not conform to the requirements # defined by the health check. UNHEALTHY = 3 # The instance is being drained. The existing connections to the instance # have time to complete, but the new ones are being refused. DRAINING = 4 # The instance is unreachable i.e. a connection to the application health # checking endpoint cannot be established, or the server does not respond # within the specified timeout. TIMEOUT = 5 end end # Availability of the instance. module Availability UNSPECIFIED = 0 RESIDENT = 1 DYNAMIC = 2 end end |
#vm_status ⇒ ::String (readonly)
Returns Output only. Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'proto_docs/google/appengine/v1/instance.rb', line 86 class Instance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for LivenessState enum. class Liveness include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Liveness health check status for Flex instances. module LivenessState # There is no liveness health check for the instance. Only applicable for # instances in App Engine standard environment. LIVENESS_STATE_UNSPECIFIED = 0 # The health checking system is aware of the instance but its health is # not known at the moment. UNKNOWN = 1 # The instance is reachable i.e. a connection to the application health # checking endpoint can be established, and conforms to the requirements # defined by the health check. HEALTHY = 2 # The instance is reachable, but does not conform to the requirements # defined by the health check. UNHEALTHY = 3 # The instance is being drained. The existing connections to the instance # have time to complete, but the new ones are being refused. DRAINING = 4 # The instance is unreachable i.e. a connection to the application health # checking endpoint cannot be established, or the server does not respond # within the specified timeout. TIMEOUT = 5 end end # Availability of the instance. module Availability UNSPECIFIED = 0 RESIDENT = 1 DYNAMIC = 2 end end |
#vm_zone_name ⇒ ::String (readonly)
Returns Output only. Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment.
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'proto_docs/google/appengine/v1/instance.rb', line 86 class Instance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for LivenessState enum. class Liveness include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Liveness health check status for Flex instances. module LivenessState # There is no liveness health check for the instance. Only applicable for # instances in App Engine standard environment. LIVENESS_STATE_UNSPECIFIED = 0 # The health checking system is aware of the instance but its health is # not known at the moment. UNKNOWN = 1 # The instance is reachable i.e. a connection to the application health # checking endpoint can be established, and conforms to the requirements # defined by the health check. HEALTHY = 2 # The instance is reachable, but does not conform to the requirements # defined by the health check. UNHEALTHY = 3 # The instance is being drained. The existing connections to the instance # have time to complete, but the new ones are being refused. DRAINING = 4 # The instance is unreachable i.e. a connection to the application health # checking endpoint cannot be established, or the server does not respond # within the specified timeout. TIMEOUT = 5 end end # Availability of the instance. module Availability UNSPECIFIED = 0 RESIDENT = 1 DYNAMIC = 2 end end |