AlloyDB v1beta API - Class Database (1.0.0-beta13)

public sealed class Database : IMessage<Database>, IEquatable<Database>, IDeepCloneable<Database>, IBufferMessage, IMessage

Reference documentation and code samples for the AlloyDB v1beta API class Database.

Message describing Database object.

Inheritance

object > Database

Namespace

Google.Cloud.AlloyDb.V1Beta

Assembly

Google.Cloud.AlloyDb.V1Beta.dll

Constructors

Database()

public Database()

Database(Database)

public Database(Database other)
Parameter
Name Description
other Database

Properties

CharacterType

public string CharacterType { get; set; }

Optional. Immutable. lc_ctype for the database. Character classification (What is a letter? The upper-case equivalent?). Example values include "C", "POSIX", etc.

Property Value
Type Description
string

Charset

public string Charset { get; set; }

Optional. Immutable. Charset for the database. This field can contain any PostgreSQL supported charset name. Example values include "UTF8", "SQL_ASCII", etc.

Property Value
Type Description
string

Collation

public string Collation { get; set; }

Optional. Immutable. lc_collate for the database. String sort order. Example values include "C", "POSIX", etc.

Property Value
Type Description
string

DatabaseName

public DatabaseName DatabaseName { get; set; }

DatabaseName-typed view over the Name resource name property.

Property Value
Type Description
DatabaseName

DatabaseTemplate

public string DatabaseTemplate { get; set; }

Input only. Immutable. Template of the database to be used for creating a new database.

Property Value
Type Description
string

HasIsTemplateDatabase

public bool HasIsTemplateDatabase { get; }

Gets whether the "is_template_database" field is set

Property Value
Type Description
bool

IsTemplate

[Obsolete]
public bool IsTemplate { get; set; }

Optional. Whether the database is a template database. Deprecated in favor of is_template_database.

Property Value
Type Description
bool

IsTemplateDatabase

public bool IsTemplateDatabase { get; set; }

Optional. Whether the database is a template database.

Property Value
Type Description
bool

Name

public string Name { get; set; }

Identifier. Name of the resource in the form of projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}.

Property Value
Type Description
string