AlloyDB V1 API - Class Google::Cloud::AlloyDB::V1::Instance::Node (v0.9.2)

Reference documentation and code samples for the AlloyDB V1 API class Google::Cloud::AlloyDB::V1::Instance::Node.

Details of a single node in the instance. Nodes in an AlloyDB instance are ephemereal, they can change during update, failover, autohealing and resize operations.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#id

def id() -> ::String
Returns
  • (::String) — The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
Returns
  • (::String) — The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".

#ip

def ip() -> ::String
Returns
  • (::String) — The private IP address of the VM e.g. "10.57.0.34".

#ip=

def ip=(value) -> ::String
Parameter
  • value (::String) — The private IP address of the VM e.g. "10.57.0.34".
Returns
  • (::String) — The private IP address of the VM e.g. "10.57.0.34".

#state

def state() -> ::String
Returns
  • (::String) — Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.

#state=

def state=(value) -> ::String
Parameter
  • value (::String) — Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.
Returns
  • (::String) — Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.

#zone_id

def zone_id() -> ::String
Returns
  • (::String) — The Compute Engine zone of the VM e.g. "us-central1-b".

#zone_id=

def zone_id=(value) -> ::String
Parameter
  • value (::String) — The Compute Engine zone of the VM e.g. "us-central1-b".
Returns
  • (::String) — The Compute Engine zone of the VM e.g. "us-central1-b".