AlloyDB V1ALPHA API - Class Google::Cloud::AlloyDB::V1alpha::Database (v0.16.0)

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

#character_type

def character_type() -> ::String
Returns
  • (::String) — Optional. Immutable. lc_ctype for the database. Character classification (What is a letter? The upper-case equivalent?). Example values include "C", "POSIX", etc.

#character_type=

def character_type=(value) -> ::String
Parameter
  • value (::String) — Optional. Immutable. lc_ctype for the database. Character classification (What is a letter? The upper-case equivalent?). Example values include "C", "POSIX", etc.
Returns
  • (::String) — Optional. Immutable. lc_ctype for the database. Character classification (What is a letter? The upper-case equivalent?). Example values include "C", "POSIX", etc.

#charset

def charset() -> ::String
Returns
  • (::String) — Optional. Immutable. 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. Immutable. Charset for the database. This field can contain any PostgreSQL supported charset name. Example values include "UTF8", "SQL_ASCII", etc.
Returns
  • (::String) — Optional. Immutable. 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. Immutable. lc_collate for the database. String sort order. Example values include "C", "POSIX", etc.

#collation=

def collation=(value) -> ::String
Parameter
  • value (::String) — Optional. Immutable. lc_collate for the database. String sort order. Example values include "C", "POSIX", etc.
Returns
  • (::String) — Optional. Immutable. lc_collate for the database. String sort order. Example values include "C", "POSIX", etc.

#database_template

def database_template() -> ::String
Returns
  • (::String) — Input only. Immutable. Template of the database to be used for creating a new database.

#database_template=

def database_template=(value) -> ::String
Parameter
  • value (::String) — Input only. Immutable. Template of the database to be used for creating a new database.
Returns
  • (::String) — Input only. Immutable. Template of the database to be used for creating a new database.

#is_template

def is_template() -> ::Boolean
Returns
  • (::Boolean) — Optional. Whether the database is a template database. Deprecated in favor of is_template_database.

#is_template=

def is_template=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Whether the database is a template database. Deprecated in favor of is_template_database.
Returns
  • (::Boolean) — Optional. Whether the database is a template database. Deprecated in favor of is_template_database.

#is_template_database

def is_template_database() -> ::Boolean
Returns
  • (::Boolean) — Optional. Whether the database is a template database.

#is_template_database=

def is_template_database=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Whether the database is a template database.
Returns
  • (::Boolean) — Optional. Whether the database is a template database.

#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}.