class Google::Apis::MemcacheV1::Node

Attributes

host[RW]

Output only. Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node. Corresponds to the JSON property `host` @return [String]

node_id[RW]

Output only. Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name. Corresponds to the JSON property `nodeId` @return [String]

parameters[RW]

The unique ID associated with this set of parameters. Users can use this id to determine if the parameters associated with the instance differ from the parameters associated with the nodes. A discrepancy between parameter ids can inform users that they may need to take action to apply parameters on nodes. Corresponds to the JSON property `parameters` @return [Google::Apis::MemcacheV1::MemcacheParameters]

port[RW]

Output only. The port number of the Memcached server on this node. Corresponds to the JSON property `port` @return [Fixnum]

state[RW]

Output only. Current state of the Memcached node. Corresponds to the JSON property `state` @return [String]

zone[RW]

Output only. Location (GCP Zone) for the Memcached node. Corresponds to the JSON property `zone` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/memcache_v1/classes.rb, line 1131
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/memcache_v1/classes.rb, line 1136
def update!(**args)
  @host = args[:host] if args.key?(:host)
  @node_id = args[:node_id] if args.key?(:node_id)
  @parameters = args[:parameters] if args.key?(:parameters)
  @port = args[:port] if args.key?(:port)
  @state = args[:state] if args.key?(:state)
  @zone = args[:zone] if args.key?(:zone)
end