Instance

com.google.cloud.memcache.v1.cloud_memcache.Instance
See theInstance companion object
final case class Instance(name: String, displayName: String, labels: Map[String, String], authorizedNetwork: String, zones: Seq[String], nodeCount: Int, nodeConfig: Option[NodeConfig], memcacheVersion: MemcacheVersion, parameters: Option[MemcacheParameters], memcacheNodes: Seq[Node], createTime: Option[Timestamp], updateTime: Option[Timestamp], state: State, memcacheFullVersion: String, instanceMessages: Seq[InstanceMessage], discoveryEndpoint: String, maintenancePolicy: Option[MaintenancePolicy], maintenanceSchedule: Option[MaintenanceSchedule], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[Instance]

A Memorystore for Memcached instance

Attributes

authorizedNetwork

The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the default network will be used.

createTime

Output only. The time the instance was created.

discoveryEndpoint

Output only. Endpoint for the Discovery API.

displayName

User provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters.

instanceMessages

List of messages that describe the current state of the Memcached instance.

labels

Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources

maintenancePolicy

The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.

maintenanceSchedule

Output only. Published maintenance schedule.

memcacheFullVersion

Output only. The full version of memcached server running on this instance. System automatically determines the full memcached version for an instance based on the input MemcacheVersion. The full version format will be "memcached-1.5.16".

memcacheNodes

Output only. List of Memcached nodes. Refer to [Node][google.cloud.memcache.v1.Instance.Node] message for more details.

memcacheVersion

The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is MEMCACHE_1_5. The minor version will be automatically determined by our system based on the latest supported minor version.

name

Required. Unique name of the resource in this scope including project and location using the form: projects/{project_id}/locations/{location_id}/instances/{instance_id} Note: Memcached instances are managed and addressed at the regional level so location_id here refers to a Google Cloud region; however, users may choose which zones Memcached nodes should be provisioned in within an instance. Refer to [zones][google.cloud.memcache.v1.Instance.zones] field for more details.

nodeConfig

Required. Configuration for Memcached nodes.

nodeCount

Required. Number of nodes in the Memcached instance.

parameters

User defined parameters to apply to the memcached process on each node.

state

Output only. The state of this Memcached instance.

updateTime

Output only. The time the instance was updated.

zones

Zones in which Memcached nodes should be provisioned. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.

Companion:
object
Source:
Instance.scala
Graph
Supertypes
trait Updatable[Instance]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Attributes

Source:
Instance.scala

Attributes

Source:
Instance.scala
def addLabels(`__vs`: (String, String)*): Instance

Attributes

Source:
Instance.scala

Attributes

Source:
Instance.scala
def addZones(`__vs`: String*): Instance

Attributes

Source:
Instance.scala

Attributes

Source:
Instance.scala

Attributes

Source:
Instance.scala

Attributes

Source:
Instance.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source:
Instance.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source:
Instance.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source:
Instance.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns:

human-readable representation of this message.

Source:
Instance.scala

Attributes

Source:
Instance.scala

Attributes

Source:
Instance.scala

Attributes

Source:
Instance.scala

Attributes

Source:
Instance.scala
def withName(`__v`: String): Instance

Attributes

Source:
Instance.scala

Attributes

Source:
Instance.scala

Attributes

Source:
Instance.scala
def withState(`__v`: State): Instance

Attributes

Source:
Instance.scala
def withUnknownFields(`__v`: UnknownFieldSet): Instance

Attributes

Source:
Instance.scala

Attributes

Source:
Instance.scala

Attributes

Source:
Instance.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source:
Instance.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
def update(ms: Lens[Instance, Instance] => () => Instance*): A

Attributes

Inherited from:
Updatable
Source:
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala