final case class CreateInstanceRequest(parent: String = "", instanceId: String = "", instance: Option[Instance] = _root_.scala.None, requestId: String = "", validateOnly: Boolean = false, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[CreateInstanceRequest] with Product with Serializable
Message for creating a Instance
- parent
Required. The name of the parent resource. For the required format, see the comment on the Instance.name field.
- instanceId
Required. ID of the requesting object.
- instance
Required. The resource being created
- requestId
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- validateOnly
Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but do not actually execute the create request.
- Annotations
- @SerialVersionUID()
- Source
- CreateInstanceRequest.scala
- Alphabetic
- By Inheritance
- CreateInstanceRequest
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CreateInstanceRequest(parent: String = "", instanceId: String = "", instance: Option[Instance] = _root_.scala.None, requestId: String = "", validateOnly: Boolean = false, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- parent
Required. The name of the parent resource. For the required format, see the comment on the Instance.name field.
- instanceId
Required. ID of the requesting object.
- instance
Required. The resource being created
- requestId
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- validateOnly
Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but do not actually execute the create request.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearInstance: CreateInstanceRequest
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: CreateInstanceRequest.type
- Definition Classes
- CreateInstanceRequest → GeneratedMessage
- def discardUnknownFields: CreateInstanceRequest
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- CreateInstanceRequest → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- CreateInstanceRequest → GeneratedMessage
- def getInstance: Instance
- val instance: Option[Instance]
- val instanceId: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val parent: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val requestId: String
- def serializedSize: Int
- Definition Classes
- CreateInstanceRequest → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- CreateInstanceRequest → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[CreateInstanceRequest, CreateInstanceRequest]) => Mutation[CreateInstanceRequest]*): CreateInstanceRequest
- Definition Classes
- Updatable
- val validateOnly: Boolean
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withInstance(__v: Instance): CreateInstanceRequest
- def withInstanceId(__v: String): CreateInstanceRequest
- def withParent(__v: String): CreateInstanceRequest
- def withRequestId(__v: String): CreateInstanceRequest
- def withUnknownFields(__v: UnknownFieldSet): CreateInstanceRequest
- def withValidateOnly(__v: Boolean): CreateInstanceRequest
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- CreateInstanceRequest → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage