Class: Google::Cloud::Memcache::V1beta2::Instance

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb

Overview

A Memorystore for Memcached instance

Defined Under Namespace

Modules: State Classes: InstanceMessage, LabelsEntry, Node, NodeConfig

Instance Attribute Summary collapse

Instance Attribute Details

#authorized_network ⇒ ::String



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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 101

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for a Memcached Node.
  # @!attribute [rw] cpu_count
  #   @return [::Integer]
  #     Required. Number of cpus per Memcached node.
  # @!attribute [rw] memory_size_mb
  #   @return [::Integer]
  #     Required. Memory size in MiB for each Memcached node.
  class NodeConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [r] node_id
  #   @return [::String]
  #     Output only. Identifier of the Memcached node. The node id does not
  #     include project or location like the Memcached instance name.
  # @!attribute [r] zone
  #   @return [::String]
  #     Output only. Location (GCP Zone) for the Memcached node.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::Node::State]
  #     Output only. Current state of the Memcached node.
  # @!attribute [r] host
  #   @return [::String]
  #     Output only. Hostname or IP address of the Memcached node used by the
  #     clients to connect to the Memcached server on this node.
  # @!attribute [r] port
  #   @return [::Integer]
  #     Output only. The port number of the Memcached server on this node.
  # @!attribute [rw] parameters
  #   @return [::Google::Cloud::Memcache::V1beta2::MemcacheParameters]
  #     User defined parameters currently applied to the node.
  # @!attribute [r] update_available
  #   @return [::Boolean]
  #     Output only. Returns true if there is an update waiting to be applied
  class Node
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Different states of a Memcached node.
    module State
      # Node state is not set.
      STATE_UNSPECIFIED = 0

      # Node is being created.
      CREATING = 1

      # Node has been created and ready to be used.
      READY = 2

      # Node is being deleted.
      DELETING = 3

      # Node is being updated.
      UPDATING = 4
    end
  end

  # @!attribute [rw] code
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::InstanceMessage::Code]
  #     A code that correspond to one type of user-facing message.
  # @!attribute [rw] message
  #   @return [::String]
  #     Message on memcached instance which will be exposed to users.
  class InstanceMessage
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    module Code
      # Message Code not set.
      CODE_UNSPECIFIED = 0

      # Memcached nodes are distributed unevenly.
      ZONE_DISTRIBUTION_UNBALANCED = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Different states of a Memcached instance.
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # Memcached instance is being created.
    CREATING = 1

    # Memcached instance has been created and ready to be used.
    READY = 2

    # Memcached instance is being deleted.
    DELETING = 4

    # Memcached instance is going through maintenance, e.g. data plane rollout.
    PERFORMING_MAINTENANCE = 5
  end
end

#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)



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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 101

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for a Memcached Node.
  # @!attribute [rw] cpu_count
  #   @return [::Integer]
  #     Required. Number of cpus per Memcached node.
  # @!attribute [rw] memory_size_mb
  #   @return [::Integer]
  #     Required. Memory size in MiB for each Memcached node.
  class NodeConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [r] node_id
  #   @return [::String]
  #     Output only. Identifier of the Memcached node. The node id does not
  #     include project or location like the Memcached instance name.
  # @!attribute [r] zone
  #   @return [::String]
  #     Output only. Location (GCP Zone) for the Memcached node.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::Node::State]
  #     Output only. Current state of the Memcached node.
  # @!attribute [r] host
  #   @return [::String]
  #     Output only. Hostname or IP address of the Memcached node used by the
  #     clients to connect to the Memcached server on this node.
  # @!attribute [r] port
  #   @return [::Integer]
  #     Output only. The port number of the Memcached server on this node.
  # @!attribute [rw] parameters
  #   @return [::Google::Cloud::Memcache::V1beta2::MemcacheParameters]
  #     User defined parameters currently applied to the node.
  # @!attribute [r] update_available
  #   @return [::Boolean]
  #     Output only. Returns true if there is an update waiting to be applied
  class Node
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Different states of a Memcached node.
    module State
      # Node state is not set.
      STATE_UNSPECIFIED = 0

      # Node is being created.
      CREATING = 1

      # Node has been created and ready to be used.
      READY = 2

      # Node is being deleted.
      DELETING = 3

      # Node is being updated.
      UPDATING = 4
    end
  end

  # @!attribute [rw] code
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::InstanceMessage::Code]
  #     A code that correspond to one type of user-facing message.
  # @!attribute [rw] message
  #   @return [::String]
  #     Message on memcached instance which will be exposed to users.
  class InstanceMessage
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    module Code
      # Message Code not set.
      CODE_UNSPECIFIED = 0

      # Memcached nodes are distributed unevenly.
      ZONE_DISTRIBUTION_UNBALANCED = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Different states of a Memcached instance.
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # Memcached instance is being created.
    CREATING = 1

    # Memcached instance has been created and ready to be used.
    READY = 2

    # Memcached instance is being deleted.
    DELETING = 4

    # Memcached instance is going through maintenance, e.g. data plane rollout.
    PERFORMING_MAINTENANCE = 5
  end
end

#discovery_endpoint ⇒ ::String (readonly)



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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 101

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for a Memcached Node.
  # @!attribute [rw] cpu_count
  #   @return [::Integer]
  #     Required. Number of cpus per Memcached node.
  # @!attribute [rw] memory_size_mb
  #   @return [::Integer]
  #     Required. Memory size in MiB for each Memcached node.
  class NodeConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [r] node_id
  #   @return [::String]
  #     Output only. Identifier of the Memcached node. The node id does not
  #     include project or location like the Memcached instance name.
  # @!attribute [r] zone
  #   @return [::String]
  #     Output only. Location (GCP Zone) for the Memcached node.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::Node::State]
  #     Output only. Current state of the Memcached node.
  # @!attribute [r] host
  #   @return [::String]
  #     Output only. Hostname or IP address of the Memcached node used by the
  #     clients to connect to the Memcached server on this node.
  # @!attribute [r] port
  #   @return [::Integer]
  #     Output only. The port number of the Memcached server on this node.
  # @!attribute [rw] parameters
  #   @return [::Google::Cloud::Memcache::V1beta2::MemcacheParameters]
  #     User defined parameters currently applied to the node.
  # @!attribute [r] update_available
  #   @return [::Boolean]
  #     Output only. Returns true if there is an update waiting to be applied
  class Node
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Different states of a Memcached node.
    module State
      # Node state is not set.
      STATE_UNSPECIFIED = 0

      # Node is being created.
      CREATING = 1

      # Node has been created and ready to be used.
      READY = 2

      # Node is being deleted.
      DELETING = 3

      # Node is being updated.
      UPDATING = 4
    end
  end

  # @!attribute [rw] code
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::InstanceMessage::Code]
  #     A code that correspond to one type of user-facing message.
  # @!attribute [rw] message
  #   @return [::String]
  #     Message on memcached instance which will be exposed to users.
  class InstanceMessage
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    module Code
      # Message Code not set.
      CODE_UNSPECIFIED = 0

      # Memcached nodes are distributed unevenly.
      ZONE_DISTRIBUTION_UNBALANCED = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Different states of a Memcached instance.
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # Memcached instance is being created.
    CREATING = 1

    # Memcached instance has been created and ready to be used.
    READY = 2

    # Memcached instance is being deleted.
    DELETING = 4

    # Memcached instance is going through maintenance, e.g. data plane rollout.
    PERFORMING_MAINTENANCE = 5
  end
end

#display_name ⇒ ::String



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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 101

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for a Memcached Node.
  # @!attribute [rw] cpu_count
  #   @return [::Integer]
  #     Required. Number of cpus per Memcached node.
  # @!attribute [rw] memory_size_mb
  #   @return [::Integer]
  #     Required. Memory size in MiB for each Memcached node.
  class NodeConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [r] node_id
  #   @return [::String]
  #     Output only. Identifier of the Memcached node. The node id does not
  #     include project or location like the Memcached instance name.
  # @!attribute [r] zone
  #   @return [::String]
  #     Output only. Location (GCP Zone) for the Memcached node.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::Node::State]
  #     Output only. Current state of the Memcached node.
  # @!attribute [r] host
  #   @return [::String]
  #     Output only. Hostname or IP address of the Memcached node used by the
  #     clients to connect to the Memcached server on this node.
  # @!attribute [r] port
  #   @return [::Integer]
  #     Output only. The port number of the Memcached server on this node.
  # @!attribute [rw] parameters
  #   @return [::Google::Cloud::Memcache::V1beta2::MemcacheParameters]
  #     User defined parameters currently applied to the node.
  # @!attribute [r] update_available
  #   @return [::Boolean]
  #     Output only. Returns true if there is an update waiting to be applied
  class Node
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Different states of a Memcached node.
    module State
      # Node state is not set.
      STATE_UNSPECIFIED = 0

      # Node is being created.
      CREATING = 1

      # Node has been created and ready to be used.
      READY = 2

      # Node is being deleted.
      DELETING = 3

      # Node is being updated.
      UPDATING = 4
    end
  end

  # @!attribute [rw] code
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::InstanceMessage::Code]
  #     A code that correspond to one type of user-facing message.
  # @!attribute [rw] message
  #   @return [::String]
  #     Message on memcached instance which will be exposed to users.
  class InstanceMessage
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    module Code
      # Message Code not set.
      CODE_UNSPECIFIED = 0

      # Memcached nodes are distributed unevenly.
      ZONE_DISTRIBUTION_UNBALANCED = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Different states of a Memcached instance.
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # Memcached instance is being created.
    CREATING = 1

    # Memcached instance has been created and ready to be used.
    READY = 2

    # Memcached instance is being deleted.
    DELETING = 4

    # Memcached instance is going through maintenance, e.g. data plane rollout.
    PERFORMING_MAINTENANCE = 5
  end
end

#instance_messages ⇒ ::Array<::Google::Cloud::Memcache::V1beta2::Instance::InstanceMessage>



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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 101

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for a Memcached Node.
  # @!attribute [rw] cpu_count
  #   @return [::Integer]
  #     Required. Number of cpus per Memcached node.
  # @!attribute [rw] memory_size_mb
  #   @return [::Integer]
  #     Required. Memory size in MiB for each Memcached node.
  class NodeConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [r] node_id
  #   @return [::String]
  #     Output only. Identifier of the Memcached node. The node id does not
  #     include project or location like the Memcached instance name.
  # @!attribute [r] zone
  #   @return [::String]
  #     Output only. Location (GCP Zone) for the Memcached node.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::Node::State]
  #     Output only. Current state of the Memcached node.
  # @!attribute [r] host
  #   @return [::String]
  #     Output only. Hostname or IP address of the Memcached node used by the
  #     clients to connect to the Memcached server on this node.
  # @!attribute [r] port
  #   @return [::Integer]
  #     Output only. The port number of the Memcached server on this node.
  # @!attribute [rw] parameters
  #   @return [::Google::Cloud::Memcache::V1beta2::MemcacheParameters]
  #     User defined parameters currently applied to the node.
  # @!attribute [r] update_available
  #   @return [::Boolean]
  #     Output only. Returns true if there is an update waiting to be applied
  class Node
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Different states of a Memcached node.
    module State
      # Node state is not set.
      STATE_UNSPECIFIED = 0

      # Node is being created.
      CREATING = 1

      # Node has been created and ready to be used.
      READY = 2

      # Node is being deleted.
      DELETING = 3

      # Node is being updated.
      UPDATING = 4
    end
  end

  # @!attribute [rw] code
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::InstanceMessage::Code]
  #     A code that correspond to one type of user-facing message.
  # @!attribute [rw] message
  #   @return [::String]
  #     Message on memcached instance which will be exposed to users.
  class InstanceMessage
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    module Code
      # Message Code not set.
      CODE_UNSPECIFIED = 0

      # Memcached nodes are distributed unevenly.
      ZONE_DISTRIBUTION_UNBALANCED = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Different states of a Memcached instance.
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # Memcached instance is being created.
    CREATING = 1

    # Memcached instance has been created and ready to be used.
    READY = 2

    # Memcached instance is being deleted.
    DELETING = 4

    # Memcached instance is going through maintenance, e.g. data plane rollout.
    PERFORMING_MAINTENANCE = 5
  end
end

#labels ⇒ ::Google::Protobuf::Map{::String => ::String}



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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 101

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for a Memcached Node.
  # @!attribute [rw] cpu_count
  #   @return [::Integer]
  #     Required. Number of cpus per Memcached node.
  # @!attribute [rw] memory_size_mb
  #   @return [::Integer]
  #     Required. Memory size in MiB for each Memcached node.
  class NodeConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [r] node_id
  #   @return [::String]
  #     Output only. Identifier of the Memcached node. The node id does not
  #     include project or location like the Memcached instance name.
  # @!attribute [r] zone
  #   @return [::String]
  #     Output only. Location (GCP Zone) for the Memcached node.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::Node::State]
  #     Output only. Current state of the Memcached node.
  # @!attribute [r] host
  #   @return [::String]
  #     Output only. Hostname or IP address of the Memcached node used by the
  #     clients to connect to the Memcached server on this node.
  # @!attribute [r] port
  #   @return [::Integer]
  #     Output only. The port number of the Memcached server on this node.
  # @!attribute [rw] parameters
  #   @return [::Google::Cloud::Memcache::V1beta2::MemcacheParameters]
  #     User defined parameters currently applied to the node.
  # @!attribute [r] update_available
  #   @return [::Boolean]
  #     Output only. Returns true if there is an update waiting to be applied
  class Node
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Different states of a Memcached node.
    module State
      # Node state is not set.
      STATE_UNSPECIFIED = 0

      # Node is being created.
      CREATING = 1

      # Node has been created and ready to be used.
      READY = 2

      # Node is being deleted.
      DELETING = 3

      # Node is being updated.
      UPDATING = 4
    end
  end

  # @!attribute [rw] code
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::InstanceMessage::Code]
  #     A code that correspond to one type of user-facing message.
  # @!attribute [rw] message
  #   @return [::String]
  #     Message on memcached instance which will be exposed to users.
  class InstanceMessage
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    module Code
      # Message Code not set.
      CODE_UNSPECIFIED = 0

      # Memcached nodes are distributed unevenly.
      ZONE_DISTRIBUTION_UNBALANCED = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Different states of a Memcached instance.
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # Memcached instance is being created.
    CREATING = 1

    # Memcached instance has been created and ready to be used.
    READY = 2

    # Memcached instance is being deleted.
    DELETING = 4

    # Memcached instance is going through maintenance, e.g. data plane rollout.
    PERFORMING_MAINTENANCE = 5
  end
end

#memcache_full_version ⇒ ::String (readonly)



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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 101

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for a Memcached Node.
  # @!attribute [rw] cpu_count
  #   @return [::Integer]
  #     Required. Number of cpus per Memcached node.
  # @!attribute [rw] memory_size_mb
  #   @return [::Integer]
  #     Required. Memory size in MiB for each Memcached node.
  class NodeConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [r] node_id
  #   @return [::String]
  #     Output only. Identifier of the Memcached node. The node id does not
  #     include project or location like the Memcached instance name.
  # @!attribute [r] zone
  #   @return [::String]
  #     Output only. Location (GCP Zone) for the Memcached node.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::Node::State]
  #     Output only. Current state of the Memcached node.
  # @!attribute [r] host
  #   @return [::String]
  #     Output only. Hostname or IP address of the Memcached node used by the
  #     clients to connect to the Memcached server on this node.
  # @!attribute [r] port
  #   @return [::Integer]
  #     Output only. The port number of the Memcached server on this node.
  # @!attribute [rw] parameters
  #   @return [::Google::Cloud::Memcache::V1beta2::MemcacheParameters]
  #     User defined parameters currently applied to the node.
  # @!attribute [r] update_available
  #   @return [::Boolean]
  #     Output only. Returns true if there is an update waiting to be applied
  class Node
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Different states of a Memcached node.
    module State
      # Node state is not set.
      STATE_UNSPECIFIED = 0

      # Node is being created.
      CREATING = 1

      # Node has been created and ready to be used.
      READY = 2

      # Node is being deleted.
      DELETING = 3

      # Node is being updated.
      UPDATING = 4
    end
  end

  # @!attribute [rw] code
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::InstanceMessage::Code]
  #     A code that correspond to one type of user-facing message.
  # @!attribute [rw] message
  #   @return [::String]
  #     Message on memcached instance which will be exposed to users.
  class InstanceMessage
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    module Code
      # Message Code not set.
      CODE_UNSPECIFIED = 0

      # Memcached nodes are distributed unevenly.
      ZONE_DISTRIBUTION_UNBALANCED = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Different states of a Memcached instance.
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # Memcached instance is being created.
    CREATING = 1

    # Memcached instance has been created and ready to be used.
    READY = 2

    # Memcached instance is being deleted.
    DELETING = 4

    # Memcached instance is going through maintenance, e.g. data plane rollout.
    PERFORMING_MAINTENANCE = 5
  end
end

#memcache_nodes ⇒ ::Array<::Google::Cloud::Memcache::V1beta2::Instance::Node> (readonly)



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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 101

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for a Memcached Node.
  # @!attribute [rw] cpu_count
  #   @return [::Integer]
  #     Required. Number of cpus per Memcached node.
  # @!attribute [rw] memory_size_mb
  #   @return [::Integer]
  #     Required. Memory size in MiB for each Memcached node.
  class NodeConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [r] node_id
  #   @return [::String]
  #     Output only. Identifier of the Memcached node. The node id does not
  #     include project or location like the Memcached instance name.
  # @!attribute [r] zone
  #   @return [::String]
  #     Output only. Location (GCP Zone) for the Memcached node.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::Node::State]
  #     Output only. Current state of the Memcached node.
  # @!attribute [r] host
  #   @return [::String]
  #     Output only. Hostname or IP address of the Memcached node used by the
  #     clients to connect to the Memcached server on this node.
  # @!attribute [r] port
  #   @return [::Integer]
  #     Output only. The port number of the Memcached server on this node.
  # @!attribute [rw] parameters
  #   @return [::Google::Cloud::Memcache::V1beta2::MemcacheParameters]
  #     User defined parameters currently applied to the node.
  # @!attribute [r] update_available
  #   @return [::Boolean]
  #     Output only. Returns true if there is an update waiting to be applied
  class Node
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Different states of a Memcached node.
    module State
      # Node state is not set.
      STATE_UNSPECIFIED = 0

      # Node is being created.
      CREATING = 1

      # Node has been created and ready to be used.
      READY = 2

      # Node is being deleted.
      DELETING = 3

      # Node is being updated.
      UPDATING = 4
    end
  end

  # @!attribute [rw] code
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::InstanceMessage::Code]
  #     A code that correspond to one type of user-facing message.
  # @!attribute [rw] message
  #   @return [::String]
  #     Message on memcached instance which will be exposed to users.
  class InstanceMessage
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    module Code
      # Message Code not set.
      CODE_UNSPECIFIED = 0

      # Memcached nodes are distributed unevenly.
      ZONE_DISTRIBUTION_UNBALANCED = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Different states of a Memcached instance.
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # Memcached instance is being created.
    CREATING = 1

    # Memcached instance has been created and ready to be used.
    READY = 2

    # Memcached instance is being deleted.
    DELETING = 4

    # Memcached instance is going through maintenance, e.g. data plane rollout.
    PERFORMING_MAINTENANCE = 5
  end
end

#memcache_version ⇒ ::Google::Cloud::Memcache::V1beta2::MemcacheVersion



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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 101

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for a Memcached Node.
  # @!attribute [rw] cpu_count
  #   @return [::Integer]
  #     Required. Number of cpus per Memcached node.
  # @!attribute [rw] memory_size_mb
  #   @return [::Integer]
  #     Required. Memory size in MiB for each Memcached node.
  class NodeConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [r] node_id
  #   @return [::String]
  #     Output only. Identifier of the Memcached node. The node id does not
  #     include project or location like the Memcached instance name.
  # @!attribute [r] zone
  #   @return [::String]
  #     Output only. Location (GCP Zone) for the Memcached node.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::Node::State]
  #     Output only. Current state of the Memcached node.
  # @!attribute [r] host
  #   @return [::String]
  #     Output only. Hostname or IP address of the Memcached node used by the
  #     clients to connect to the Memcached server on this node.
  # @!attribute [r] port
  #   @return [::Integer]
  #     Output only. The port number of the Memcached server on this node.
  # @!attribute [rw] parameters
  #   @return [::Google::Cloud::Memcache::V1beta2::MemcacheParameters]
  #     User defined parameters currently applied to the node.
  # @!attribute [r] update_available
  #   @return [::Boolean]
  #     Output only. Returns true if there is an update waiting to be applied
  class Node
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Different states of a Memcached node.
    module State
      # Node state is not set.
      STATE_UNSPECIFIED = 0

      # Node is being created.
      CREATING = 1

      # Node has been created and ready to be used.
      READY = 2

      # Node is being deleted.
      DELETING = 3

      # Node is being updated.
      UPDATING = 4
    end
  end

  # @!attribute [rw] code
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::InstanceMessage::Code]
  #     A code that correspond to one type of user-facing message.
  # @!attribute [rw] message
  #   @return [::String]
  #     Message on memcached instance which will be exposed to users.
  class InstanceMessage
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    module Code
      # Message Code not set.
      CODE_UNSPECIFIED = 0

      # Memcached nodes are distributed unevenly.
      ZONE_DISTRIBUTION_UNBALANCED = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Different states of a Memcached instance.
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # Memcached instance is being created.
    CREATING = 1

    # Memcached instance has been created and ready to be used.
    READY = 2

    # Memcached instance is being deleted.
    DELETING = 4

    # Memcached instance is going through maintenance, e.g. data plane rollout.
    PERFORMING_MAINTENANCE = 5
  end
end

#name ⇒ ::String



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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 101

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for a Memcached Node.
  # @!attribute [rw] cpu_count
  #   @return [::Integer]
  #     Required. Number of cpus per Memcached node.
  # @!attribute [rw] memory_size_mb
  #   @return [::Integer]
  #     Required. Memory size in MiB for each Memcached node.
  class NodeConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [r] node_id
  #   @return [::String]
  #     Output only. Identifier of the Memcached node. The node id does not
  #     include project or location like the Memcached instance name.
  # @!attribute [r] zone
  #   @return [::String]
  #     Output only. Location (GCP Zone) for the Memcached node.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::Node::State]
  #     Output only. Current state of the Memcached node.
  # @!attribute [r] host
  #   @return [::String]
  #     Output only. Hostname or IP address of the Memcached node used by the
  #     clients to connect to the Memcached server on this node.
  # @!attribute [r] port
  #   @return [::Integer]
  #     Output only. The port number of the Memcached server on this node.
  # @!attribute [rw] parameters
  #   @return [::Google::Cloud::Memcache::V1beta2::MemcacheParameters]
  #     User defined parameters currently applied to the node.
  # @!attribute [r] update_available
  #   @return [::Boolean]
  #     Output only. Returns true if there is an update waiting to be applied
  class Node
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Different states of a Memcached node.
    module State
      # Node state is not set.
      STATE_UNSPECIFIED = 0

      # Node is being created.
      CREATING = 1

      # Node has been created and ready to be used.
      READY = 2

      # Node is being deleted.
      DELETING = 3

      # Node is being updated.
      UPDATING = 4
    end
  end

  # @!attribute [rw] code
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::InstanceMessage::Code]
  #     A code that correspond to one type of user-facing message.
  # @!attribute [rw] message
  #   @return [::String]
  #     Message on memcached instance which will be exposed to users.
  class InstanceMessage
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    module Code
      # Message Code not set.
      CODE_UNSPECIFIED = 0

      # Memcached nodes are distributed unevenly.
      ZONE_DISTRIBUTION_UNBALANCED = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Different states of a Memcached instance.
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # Memcached instance is being created.
    CREATING = 1

    # Memcached instance has been created and ready to be used.
    READY = 2

    # Memcached instance is being deleted.
    DELETING = 4

    # Memcached instance is going through maintenance, e.g. data plane rollout.
    PERFORMING_MAINTENANCE = 5
  end
end

#node_config ⇒ ::Google::Cloud::Memcache::V1beta2::Instance::NodeConfig



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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 101

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for a Memcached Node.
  # @!attribute [rw] cpu_count
  #   @return [::Integer]
  #     Required. Number of cpus per Memcached node.
  # @!attribute [rw] memory_size_mb
  #   @return [::Integer]
  #     Required. Memory size in MiB for each Memcached node.
  class NodeConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [r] node_id
  #   @return [::String]
  #     Output only. Identifier of the Memcached node. The node id does not
  #     include project or location like the Memcached instance name.
  # @!attribute [r] zone
  #   @return [::String]
  #     Output only. Location (GCP Zone) for the Memcached node.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::Node::State]
  #     Output only. Current state of the Memcached node.
  # @!attribute [r] host
  #   @return [::String]
  #     Output only. Hostname or IP address of the Memcached node used by the
  #     clients to connect to the Memcached server on this node.
  # @!attribute [r] port
  #   @return [::Integer]
  #     Output only. The port number of the Memcached server on this node.
  # @!attribute [rw] parameters
  #   @return [::Google::Cloud::Memcache::V1beta2::MemcacheParameters]
  #     User defined parameters currently applied to the node.
  # @!attribute [r] update_available
  #   @return [::Boolean]
  #     Output only. Returns true if there is an update waiting to be applied
  class Node
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Different states of a Memcached node.
    module State
      # Node state is not set.
      STATE_UNSPECIFIED = 0

      # Node is being created.
      CREATING = 1

      # Node has been created and ready to be used.
      READY = 2

      # Node is being deleted.
      DELETING = 3

      # Node is being updated.
      UPDATING = 4
    end
  end

  # @!attribute [rw] code
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::InstanceMessage::Code]
  #     A code that correspond to one type of user-facing message.
  # @!attribute [rw] message
  #   @return [::String]
  #     Message on memcached instance which will be exposed to users.
  class InstanceMessage
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    module Code
      # Message Code not set.
      CODE_UNSPECIFIED = 0

      # Memcached nodes are distributed unevenly.
      ZONE_DISTRIBUTION_UNBALANCED = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Different states of a Memcached instance.
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # Memcached instance is being created.
    CREATING = 1

    # Memcached instance has been created and ready to be used.
    READY = 2

    # Memcached instance is being deleted.
    DELETING = 4

    # Memcached instance is going through maintenance, e.g. data plane rollout.
    PERFORMING_MAINTENANCE = 5
  end
end

#node_count ⇒ ::Integer



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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 101

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for a Memcached Node.
  # @!attribute [rw] cpu_count
  #   @return [::Integer]
  #     Required. Number of cpus per Memcached node.
  # @!attribute [rw] memory_size_mb
  #   @return [::Integer]
  #     Required. Memory size in MiB for each Memcached node.
  class NodeConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [r] node_id
  #   @return [::String]
  #     Output only. Identifier of the Memcached node. The node id does not
  #     include project or location like the Memcached instance name.
  # @!attribute [r] zone
  #   @return [::String]
  #     Output only. Location (GCP Zone) for the Memcached node.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::Node::State]
  #     Output only. Current state of the Memcached node.
  # @!attribute [r] host
  #   @return [::String]
  #     Output only. Hostname or IP address of the Memcached node used by the
  #     clients to connect to the Memcached server on this node.
  # @!attribute [r] port
  #   @return [::Integer]
  #     Output only. The port number of the Memcached server on this node.
  # @!attribute [rw] parameters
  #   @return [::Google::Cloud::Memcache::V1beta2::MemcacheParameters]
  #     User defined parameters currently applied to the node.
  # @!attribute [r] update_available
  #   @return [::Boolean]
  #     Output only. Returns true if there is an update waiting to be applied
  class Node
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Different states of a Memcached node.
    module State
      # Node state is not set.
      STATE_UNSPECIFIED = 0

      # Node is being created.
      CREATING = 1

      # Node has been created and ready to be used.
      READY = 2

      # Node is being deleted.
      DELETING = 3

      # Node is being updated.
      UPDATING = 4
    end
  end

  # @!attribute [rw] code
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::InstanceMessage::Code]
  #     A code that correspond to one type of user-facing message.
  # @!attribute [rw] message
  #   @return [::String]
  #     Message on memcached instance which will be exposed to users.
  class InstanceMessage
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    module Code
      # Message Code not set.
      CODE_UNSPECIFIED = 0

      # Memcached nodes are distributed unevenly.
      ZONE_DISTRIBUTION_UNBALANCED = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Different states of a Memcached instance.
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # Memcached instance is being created.
    CREATING = 1

    # Memcached instance has been created and ready to be used.
    READY = 2

    # Memcached instance is being deleted.
    DELETING = 4

    # Memcached instance is going through maintenance, e.g. data plane rollout.
    PERFORMING_MAINTENANCE = 5
  end
end

#parameters ⇒ ::Google::Cloud::Memcache::V1beta2::MemcacheParameters



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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 101

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for a Memcached Node.
  # @!attribute [rw] cpu_count
  #   @return [::Integer]
  #     Required. Number of cpus per Memcached node.
  # @!attribute [rw] memory_size_mb
  #   @return [::Integer]
  #     Required. Memory size in MiB for each Memcached node.
  class NodeConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [r] node_id
  #   @return [::String]
  #     Output only. Identifier of the Memcached node. The node id does not
  #     include project or location like the Memcached instance name.
  # @!attribute [r] zone
  #   @return [::String]
  #     Output only. Location (GCP Zone) for the Memcached node.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::Node::State]
  #     Output only. Current state of the Memcached node.
  # @!attribute [r] host
  #   @return [::String]
  #     Output only. Hostname or IP address of the Memcached node used by the
  #     clients to connect to the Memcached server on this node.
  # @!attribute [r] port
  #   @return [::Integer]
  #     Output only. The port number of the Memcached server on this node.
  # @!attribute [rw] parameters
  #   @return [::Google::Cloud::Memcache::V1beta2::MemcacheParameters]
  #     User defined parameters currently applied to the node.
  # @!attribute [r] update_available
  #   @return [::Boolean]
  #     Output only. Returns true if there is an update waiting to be applied
  class Node
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Different states of a Memcached node.
    module State
      # Node state is not set.
      STATE_UNSPECIFIED = 0

      # Node is being created.
      CREATING = 1

      # Node has been created and ready to be used.
      READY = 2

      # Node is being deleted.
      DELETING = 3

      # Node is being updated.
      UPDATING = 4
    end
  end

  # @!attribute [rw] code
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::InstanceMessage::Code]
  #     A code that correspond to one type of user-facing message.
  # @!attribute [rw] message
  #   @return [::String]
  #     Message on memcached instance which will be exposed to users.
  class InstanceMessage
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    module Code
      # Message Code not set.
      CODE_UNSPECIFIED = 0

      # Memcached nodes are distributed unevenly.
      ZONE_DISTRIBUTION_UNBALANCED = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Different states of a Memcached instance.
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # Memcached instance is being created.
    CREATING = 1

    # Memcached instance has been created and ready to be used.
    READY = 2

    # Memcached instance is being deleted.
    DELETING = 4

    # Memcached instance is going through maintenance, e.g. data plane rollout.
    PERFORMING_MAINTENANCE = 5
  end
end

#state ⇒ ::Google::Cloud::Memcache::V1beta2::Instance::State (readonly)



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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 101

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for a Memcached Node.
  # @!attribute [rw] cpu_count
  #   @return [::Integer]
  #     Required. Number of cpus per Memcached node.
  # @!attribute [rw] memory_size_mb
  #   @return [::Integer]
  #     Required. Memory size in MiB for each Memcached node.
  class NodeConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [r] node_id
  #   @return [::String]
  #     Output only. Identifier of the Memcached node. The node id does not
  #     include project or location like the Memcached instance name.
  # @!attribute [r] zone
  #   @return [::String]
  #     Output only. Location (GCP Zone) for the Memcached node.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::Node::State]
  #     Output only. Current state of the Memcached node.
  # @!attribute [r] host
  #   @return [::String]
  #     Output only. Hostname or IP address of the Memcached node used by the
  #     clients to connect to the Memcached server on this node.
  # @!attribute [r] port
  #   @return [::Integer]
  #     Output only. The port number of the Memcached server on this node.
  # @!attribute [rw] parameters
  #   @return [::Google::Cloud::Memcache::V1beta2::MemcacheParameters]
  #     User defined parameters currently applied to the node.
  # @!attribute [r] update_available
  #   @return [::Boolean]
  #     Output only. Returns true if there is an update waiting to be applied
  class Node
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Different states of a Memcached node.
    module State
      # Node state is not set.
      STATE_UNSPECIFIED = 0

      # Node is being created.
      CREATING = 1

      # Node has been created and ready to be used.
      READY = 2

      # Node is being deleted.
      DELETING = 3

      # Node is being updated.
      UPDATING = 4
    end
  end

  # @!attribute [rw] code
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::InstanceMessage::Code]
  #     A code that correspond to one type of user-facing message.
  # @!attribute [rw] message
  #   @return [::String]
  #     Message on memcached instance which will be exposed to users.
  class InstanceMessage
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    module Code
      # Message Code not set.
      CODE_UNSPECIFIED = 0

      # Memcached nodes are distributed unevenly.
      ZONE_DISTRIBUTION_UNBALANCED = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Different states of a Memcached instance.
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # Memcached instance is being created.
    CREATING = 1

    # Memcached instance has been created and ready to be used.
    READY = 2

    # Memcached instance is being deleted.
    DELETING = 4

    # Memcached instance is going through maintenance, e.g. data plane rollout.
    PERFORMING_MAINTENANCE = 5
  end
end

#update_available ⇒ ::Boolean (readonly)



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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 101

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for a Memcached Node.
  # @!attribute [rw] cpu_count
  #   @return [::Integer]
  #     Required. Number of cpus per Memcached node.
  # @!attribute [rw] memory_size_mb
  #   @return [::Integer]
  #     Required. Memory size in MiB for each Memcached node.
  class NodeConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [r] node_id
  #   @return [::String]
  #     Output only. Identifier of the Memcached node. The node id does not
  #     include project or location like the Memcached instance name.
  # @!attribute [r] zone
  #   @return [::String]
  #     Output only. Location (GCP Zone) for the Memcached node.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::Node::State]
  #     Output only. Current state of the Memcached node.
  # @!attribute [r] host
  #   @return [::String]
  #     Output only. Hostname or IP address of the Memcached node used by the
  #     clients to connect to the Memcached server on this node.
  # @!attribute [r] port
  #   @return [::Integer]
  #     Output only. The port number of the Memcached server on this node.
  # @!attribute [rw] parameters
  #   @return [::Google::Cloud::Memcache::V1beta2::MemcacheParameters]
  #     User defined parameters currently applied to the node.
  # @!attribute [r] update_available
  #   @return [::Boolean]
  #     Output only. Returns true if there is an update waiting to be applied
  class Node
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Different states of a Memcached node.
    module State
      # Node state is not set.
      STATE_UNSPECIFIED = 0

      # Node is being created.
      CREATING = 1

      # Node has been created and ready to be used.
      READY = 2

      # Node is being deleted.
      DELETING = 3

      # Node is being updated.
      UPDATING = 4
    end
  end

  # @!attribute [rw] code
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::InstanceMessage::Code]
  #     A code that correspond to one type of user-facing message.
  # @!attribute [rw] message
  #   @return [::String]
  #     Message on memcached instance which will be exposed to users.
  class InstanceMessage
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    module Code
      # Message Code not set.
      CODE_UNSPECIFIED = 0

      # Memcached nodes are distributed unevenly.
      ZONE_DISTRIBUTION_UNBALANCED = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Different states of a Memcached instance.
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # Memcached instance is being created.
    CREATING = 1

    # Memcached instance has been created and ready to be used.
    READY = 2

    # Memcached instance is being deleted.
    DELETING = 4

    # Memcached instance is going through maintenance, e.g. data plane rollout.
    PERFORMING_MAINTENANCE = 5
  end
end

#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)



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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 101

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for a Memcached Node.
  # @!attribute [rw] cpu_count
  #   @return [::Integer]
  #     Required. Number of cpus per Memcached node.
  # @!attribute [rw] memory_size_mb
  #   @return [::Integer]
  #     Required. Memory size in MiB for each Memcached node.
  class NodeConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [r] node_id
  #   @return [::String]
  #     Output only. Identifier of the Memcached node. The node id does not
  #     include project or location like the Memcached instance name.
  # @!attribute [r] zone
  #   @return [::String]
  #     Output only. Location (GCP Zone) for the Memcached node.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::Node::State]
  #     Output only. Current state of the Memcached node.
  # @!attribute [r] host
  #   @return [::String]
  #     Output only. Hostname or IP address of the Memcached node used by the
  #     clients to connect to the Memcached server on this node.
  # @!attribute [r] port
  #   @return [::Integer]
  #     Output only. The port number of the Memcached server on this node.
  # @!attribute [rw] parameters
  #   @return [::Google::Cloud::Memcache::V1beta2::MemcacheParameters]
  #     User defined parameters currently applied to the node.
  # @!attribute [r] update_available
  #   @return [::Boolean]
  #     Output only. Returns true if there is an update waiting to be applied
  class Node
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Different states of a Memcached node.
    module State
      # Node state is not set.
      STATE_UNSPECIFIED = 0

      # Node is being created.
      CREATING = 1

      # Node has been created and ready to be used.
      READY = 2

      # Node is being deleted.
      DELETING = 3

      # Node is being updated.
      UPDATING = 4
    end
  end

  # @!attribute [rw] code
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::InstanceMessage::Code]
  #     A code that correspond to one type of user-facing message.
  # @!attribute [rw] message
  #   @return [::String]
  #     Message on memcached instance which will be exposed to users.
  class InstanceMessage
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    module Code
      # Message Code not set.
      CODE_UNSPECIFIED = 0

      # Memcached nodes are distributed unevenly.
      ZONE_DISTRIBUTION_UNBALANCED = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Different states of a Memcached instance.
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # Memcached instance is being created.
    CREATING = 1

    # Memcached instance has been created and ready to be used.
    READY = 2

    # Memcached instance is being deleted.
    DELETING = 4

    # Memcached instance is going through maintenance, e.g. data plane rollout.
    PERFORMING_MAINTENANCE = 5
  end
end

#zones ⇒ ::Array<::String>



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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 101

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for a Memcached Node.
  # @!attribute [rw] cpu_count
  #   @return [::Integer]
  #     Required. Number of cpus per Memcached node.
  # @!attribute [rw] memory_size_mb
  #   @return [::Integer]
  #     Required. Memory size in MiB for each Memcached node.
  class NodeConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [r] node_id
  #   @return [::String]
  #     Output only. Identifier of the Memcached node. The node id does not
  #     include project or location like the Memcached instance name.
  # @!attribute [r] zone
  #   @return [::String]
  #     Output only. Location (GCP Zone) for the Memcached node.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::Node::State]
  #     Output only. Current state of the Memcached node.
  # @!attribute [r] host
  #   @return [::String]
  #     Output only. Hostname or IP address of the Memcached node used by the
  #     clients to connect to the Memcached server on this node.
  # @!attribute [r] port
  #   @return [::Integer]
  #     Output only. The port number of the Memcached server on this node.
  # @!attribute [rw] parameters
  #   @return [::Google::Cloud::Memcache::V1beta2::MemcacheParameters]
  #     User defined parameters currently applied to the node.
  # @!attribute [r] update_available
  #   @return [::Boolean]
  #     Output only. Returns true if there is an update waiting to be applied
  class Node
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Different states of a Memcached node.
    module State
      # Node state is not set.
      STATE_UNSPECIFIED = 0

      # Node is being created.
      CREATING = 1

      # Node has been created and ready to be used.
      READY = 2

      # Node is being deleted.
      DELETING = 3

      # Node is being updated.
      UPDATING = 4
    end
  end

  # @!attribute [rw] code
  #   @return [::Google::Cloud::Memcache::V1beta2::Instance::InstanceMessage::Code]
  #     A code that correspond to one type of user-facing message.
  # @!attribute [rw] message
  #   @return [::String]
  #     Message on memcached instance which will be exposed to users.
  class InstanceMessage
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    module Code
      # Message Code not set.
      CODE_UNSPECIFIED = 0

      # Memcached nodes are distributed unevenly.
      ZONE_DISTRIBUTION_UNBALANCED = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Different states of a Memcached instance.
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # Memcached instance is being created.
    CREATING = 1

    # Memcached instance has been created and ready to be used.
    READY = 2

    # Memcached instance is being deleted.
    DELETING = 4

    # Memcached instance is going through maintenance, e.g. data plane rollout.
    PERFORMING_MAINTENANCE = 5
  end
end