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. Charset for the database. This field can contain any PostgreSQL supported charset name. Example values include "UTF8", "SQL_ASCII", etc.
↳ collation
string
Optional. Collation for the database. Name of the custom or native collation for postgres. Example values include "C", "POSIX", etc
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. Charset for the database.
This field can contain any PostgreSQL supported charset name. Example values include "UTF8", "SQL_ASCII", etc.
string
setCharset
Optional. 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. Collation for the database.
Name of the custom or native collation for postgres. Example values include "C", "POSIX", etc
string
setCollation
Optional. Collation for the database.
Name of the custom or native collation for postgres. Example values include "C", "POSIX", etc
var
string
$this