Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class Database.
Message describing Database object.
Generated from protobuf message google.cloud.alloydb.v1.Database
Namespace
Google \ Cloud \ AlloyDb \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. Name of the resource in the form of projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}
.
↳ charset
string
Optional. Immutable. Charset for the database. This field can contain any PostgreSQL supported charset name. Example values include "UTF8", "SQL_ASCII", etc.
↳ collation
string
Optional. Immutable. lc_collate for the database. String sort order. Example values include "C", "POSIX", etc.
↳ character_type
string
Optional. Immutable. lc_ctype for the database. Character classification (What is a letter? The upper-case equivalent?). Example values include "C", "POSIX", etc.
↳ database_template
string
Input only. Immutable. Template of the database to be used for creating a new database.
↳ is_template_database
bool
Optional. Whether the database is a template database.
getName
Identifier. Name of the resource in the form of projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}
.
string
setName
Identifier. Name of the resource in the form of projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}
.
var
string
$this
getCharset
Optional. Immutable. Charset for the database.
This field can contain any PostgreSQL supported charset name. Example values include "UTF8", "SQL_ASCII", etc.
string
setCharset
Optional. Immutable. Charset for the database.
This field can contain any PostgreSQL supported charset name. Example values include "UTF8", "SQL_ASCII", etc.
var
string
$this
getCollation
Optional. Immutable. lc_collate for the database.
String sort order. Example values include "C", "POSIX", etc.
string
setCollation
Optional. Immutable. lc_collate for the database.
String sort order. Example values include "C", "POSIX", etc.
var
string
$this
getCharacterType
Optional. Immutable. lc_ctype for the database.
Character classification (What is a letter? The upper-case equivalent?). Example values include "C", "POSIX", etc.
string
setCharacterType
Optional. Immutable. lc_ctype for the database.
Character classification (What is a letter? The upper-case equivalent?). Example values include "C", "POSIX", etc.
var
string
$this
getDatabaseTemplate
Input only. Immutable. Template of the database to be used for creating a new database.
string
setDatabaseTemplate
Input only. Immutable. Template of the database to be used for creating a new database.
var
string
$this
getIsTemplateDatabase
Optional. Whether the database is a template database.
bool
hasIsTemplateDatabase
clearIsTemplateDatabase
setIsTemplateDatabase
Optional. Whether the database is a template database.
var
bool
$this

