Reference documentation and code samples for the AlloyDB V1ALPHA API class Google::Cloud::AlloyDB::V1alpha::Database.
Message describing Database object.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#charset
def charset() -> ::String
Returns
- (::String) — Optional. Charset for the database. This field can contain any PostgreSQL supported charset name. Example values include "UTF8", "SQL_ASCII", etc.
#charset=
def charset=(value) -> ::String
Parameter
- value (::String) — Optional. Charset for the database. This field can contain any PostgreSQL supported charset name. Example values include "UTF8", "SQL_ASCII", etc.
Returns
- (::String) — Optional. Charset for the database. This field can contain any PostgreSQL supported charset name. Example values include "UTF8", "SQL_ASCII", etc.
#collation
def collation() -> ::String
Returns
- (::String) — Optional. Collation for the database. Name of the custom or native collation for postgres. Example values include "C", "POSIX", etc
#collation=
def collation=(value) -> ::String
Parameter
- value (::String) — Optional. Collation for the database. Name of the custom or native collation for postgres. Example values include "C", "POSIX", etc
Returns
- (::String) — Optional. Collation for the database. Name of the custom or native collation for postgres. Example values include "C", "POSIX", etc
#name
def name() -> ::String
Returns
- (::String) — Identifier. Name of the resource in the form of projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Identifier. Name of the resource in the form of projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}.
Returns
- (::String) — Identifier. Name of the resource in the form of projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}.