original_docstring: Create this database within its instance
  
          Includes any configured schema assigned to :attr:`ddl_statements`.
  
          See
          https://cloud.google.com/spanner/reference/rpc/google.spanner.admin.database.v1#google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase
  
          :rtype: :class:`~google.api_core.operation.Operation`
          :returns: a future used to poll the status of the create request
          :raises Conflict: if the database already exists
          :raises NotFound: if the instance owning the database does not exist
          
docstring: Create this database within its instance
  Includes any configured schema assigned to :attr:`ddl_statements`.
  
  
docstring_tokens: Create this database within its instance Includes any configured schema assigned to : attr : ` ddl_statements ` .
code: def create(self):
          """Create this database within its instance
  
          Includes any configured schema assigned to :attr:`ddl_statements`.
  
          See
          https://cloud.google.com/spanner/reference/rpc/google.spanner.admin.database.v1#google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase
  
          :rtype: :class:`~google.api_core.operation.Operation`
          :returns: a future used to poll the status of the create request
          :raises Conflict: if the database already exists
          :raises NotFound: if the instance owning the database does not exist
          """
          api = self._instance._client.database_admin_api
          metadata = _metadata_with_prefix(self.name)
          db_name = self.database_id
          if "-" in db_name:
              db_name = "`%s`" % (db_name,)
          if type(self._encryption_config) == dict:
              self._encryption_config = EncryptionConfig(**self._encryption_config)
  
          request = CreateDatabaseRequest(
              parent=self._instance.name,
              create_statement="CREATE DATABASE %s" % (db_name,),
              extra_statements=list(self._ddl_statements),
              encryption_config=self._encryption_config,
          )
          future = api.create_database(request=request, metadata=metadata)
          return future
code_tokens: def create ( self ) : api = self . _instance . _client . database_admin_api metadata = _metadata_with_prefix ( self . name ) db_name = self . database_id if "-" in db_name : db_name = "`%s`" % ( db_name , ) if type ( self . _encryption_config ) == dict : self . _encryption_config = EncryptionConfig ( ** self . _encryption_config ) request = CreateDatabaseRequest ( parent = self . _instance . name , create_statement = "CREATE DATABASE %s" % ( db_name , ) , extra_statements = list ( self . _ddl_statements ) , encryption_config = self . _encryption_config , ) future = api . create_database ( request = request , metadata = metadata ) return future
short_docstring: Create this database within its instance
  Includes any configured schema assigned to :attr:`ddl_statements`.
short_docstring_tokens: Create this database within its instance Includes any configured schema assigned to : attr : ` ddl_statements ` .
comment: """Create this database within its instance
  
          Includes any configured schema assigned to :attr:`ddl_statements`.
  
          See
          https://cloud.google.com/spanner/reference/rpc/google.spanner.admin.database.v1#google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase
  
          :rtype: :class:`~google.api_core.operation.Operation`
          :returns: a future used to poll the status of the create request
          :raises Conflict: if the database already exists
          :raises NotFound: if the instance owning the database does not exist
          """