final case class UpdateInstanceRequest(updateMask: Option[FieldMask] = _root_.scala.None, instance: Option[Instance] = _root_.scala.None, requestId: String = "", validateOnly: Boolean = false, allowMissing: Boolean = false, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[UpdateInstanceRequest] with Product with Serializable
Message for updating a Instance
- updateMask
Optional. Field mask is used to specify the fields to be overwritten in the Instance resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
- instance
Required. The resource being updated
- 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 update request.
- allowMissing
Optional. If set to true, update succeeds even if instance is not found. In that case, a new instance is created and
update_maskis ignored.
- Annotations
- @SerialVersionUID()
- Source
- UpdateInstanceRequest.scala
- Alphabetic
- By Inheritance
- UpdateInstanceRequest
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new UpdateInstanceRequest(updateMask: Option[FieldMask] = _root_.scala.None, instance: Option[Instance] = _root_.scala.None, requestId: String = "", validateOnly: Boolean = false, allowMissing: Boolean = false, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- updateMask
Optional. Field mask is used to specify the fields to be overwritten in the Instance resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
- instance
Required. The resource being updated
- 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 update request.
- allowMissing
Optional. If set to true, update succeeds even if instance is not found. In that case, a new instance is created and
update_maskis ignored.
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
- val allowMissing: Boolean
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearInstance: UpdateInstanceRequest
- def clearUpdateMask: UpdateInstanceRequest
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: UpdateInstanceRequest.type
- Definition Classes
- UpdateInstanceRequest → GeneratedMessage
- def discardUnknownFields: UpdateInstanceRequest
- 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
- UpdateInstanceRequest → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- UpdateInstanceRequest → GeneratedMessage
- def getInstance: Instance
- def getUpdateMask: FieldMask
- val instance: Option[Instance]
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val requestId: String
- def serializedSize: Int
- Definition Classes
- UpdateInstanceRequest → 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
- UpdateInstanceRequest → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[UpdateInstanceRequest, UpdateInstanceRequest]) => Mutation[UpdateInstanceRequest]*): UpdateInstanceRequest
- Definition Classes
- Updatable
- val updateMask: Option[FieldMask]
- 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 withAllowMissing(__v: Boolean): UpdateInstanceRequest
- def withInstance(__v: Instance): UpdateInstanceRequest
- def withRequestId(__v: String): UpdateInstanceRequest
- def withUnknownFields(__v: UnknownFieldSet): UpdateInstanceRequest
- def withUpdateMask(__v: FieldMask): UpdateInstanceRequest
- def withValidateOnly(__v: Boolean): UpdateInstanceRequest
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- UpdateInstanceRequest → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage