CreateInstanceRequest

com.google.cloud.memcache.v1.cloud_memcache.CreateInstanceRequest
See theCreateInstanceRequest companion object
final case class CreateInstanceRequest(parent: String, instanceId: String, instance: Option[Instance], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[CreateInstanceRequest]

Request for [CreateInstance][google.cloud.memcache.v1.CloudMemcache.CreateInstance].

Value parameters

instance

Required. A Memcached Instance

instanceId

Required. The logical name of the Memcached instance in the user project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the user project / location. If any of the above are not met, the API raises an invalid argument error.

parent

Required. The resource name of the instance location using the form: projects/{project_id}/locations/{location_id} where location_id refers to a GCP region

Attributes

Companion
object
Source
CreateInstanceRequest.scala
Graph
Supertypes
trait Updatable[CreateInstanceRequest]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def getField(`__field`: FieldDescriptor): PValue

Attributes

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

Attributes

Source
CreateInstanceRequest.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
CreateInstanceRequest.scala
def toProtoString: String

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
CreateInstanceRequest.scala

Attributes

Source
CreateInstanceRequest.scala
def withParent(`__v`: String): CreateInstanceRequest

Attributes

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

Attributes

Source
CreateInstanceRequest.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
CreateInstanceRequest.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

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

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