final case class CreateDatabaseRequest(parent: String = "", createStatement: String = "", extraStatements: Seq[String] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[CreateDatabaseRequest] with Product with Serializable

The request for [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].

parent

Required. The name of the instance that will serve the new database. Values are of the form projects/<project>/instances/<instance>.

createStatement

Required. A CREATE DATABASE statement, which specifies the ID of the new database. The database ID must conform to the regular expression [a-z][a-z0-9_&92;-]*[a-z0-9] and be between 2 and 30 characters in length. If the database ID is a reserved word or if it contains a hyphen, the database ID must be enclosed in backticks ( ).

extraStatements

Optional. A list of DDL statements to run inside the newly created database. Statements can create tables, indexes, etc. These statements execute atomically with the creation of the database: if there is an error in any statement, the database is not created.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[CreateDatabaseRequest], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CreateDatabaseRequest
  2. Product
  3. Equals
  4. Updatable
  5. GeneratedMessage
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CreateDatabaseRequest(parent: String = "", createStatement: String = "", extraStatements: Seq[String] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...)

    parent

    Required. The name of the instance that will serve the new database. Values are of the form projects/<project>/instances/<instance>.

    createStatement

    Required. A CREATE DATABASE statement, which specifies the ID of the new database. The database ID must conform to the regular expression [a-z][a-z0-9_&92;-]*[a-z0-9] and be between 2 and 30 characters in length. If the database ID is a reserved word or if it contains a hyphen, the database ID must be enclosed in backticks ( ).

    extraStatements

    Optional. A list of DDL statements to run inside the newly created database. Statements can create tables, indexes, etc. These statements execute atomically with the creation of the database: if there is an error in any statement, the database is not created.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllExtraStatements(__vs: Iterable[String]): CreateDatabaseRequest
  5. def addExtraStatements(__vs: String*): CreateDatabaseRequest
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clearExtraStatements: CreateDatabaseRequest
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def companion: CreateDatabaseRequest.type
    Definition Classes
    CreateDatabaseRequest → GeneratedMessage
  10. val createStatement: String
  11. def discardUnknownFields: CreateDatabaseRequest
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. val extraStatements: Seq[String]
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    CreateDatabaseRequest → GeneratedMessage
  17. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    CreateDatabaseRequest → GeneratedMessage
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. val parent: String
  23. def serializedSize: Int
    Definition Classes
    CreateDatabaseRequest → GeneratedMessage
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  26. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  27. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  28. def toProtoString: String
    Definition Classes
    CreateDatabaseRequest → GeneratedMessage
  29. val unknownFields: UnknownFieldSet
  30. def update(ms: (Lens[CreateDatabaseRequest, CreateDatabaseRequest]) ⇒ Mutation[CreateDatabaseRequest]*): CreateDatabaseRequest
    Definition Classes
    Updatable
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  34. def withCreateStatement(__v: String): CreateDatabaseRequest
  35. def withExtraStatements(__v: Seq[String]): CreateDatabaseRequest
  36. def withParent(__v: String): CreateDatabaseRequest
  37. def withUnknownFields(__v: UnknownFieldSet): CreateDatabaseRequest
  38. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  39. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    CreateDatabaseRequest → GeneratedMessage
  40. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Product

Inherited from Equals

Inherited from Updatable[CreateDatabaseRequest]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped