SDK reference / Models / Databases
PostgresDatabase
Kind: class
Namespace: Egulu.Sdk.Models.Databases
A database inside a managed cluster. The cluster's own application database (app) is listed and cannot be dropped.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
CreateTime | DateTimeOffset? | createTime | The createTime property |
DatabaseName | string? | databaseName | The database's name inside PostgreSQL: lowercase letters, digits and underscores, starting with a letter, at most 63 characters. |
Encoding | string? | encoding | The character encoding; always UTF8. |
Etag | string? | etag | `"{generation}"`; send it back in `If-Match`. |
FailureReason | string? | failureReason | Why a change did not apply. |
IsDefault | bool? | isDefault | True for the cluster's application database. |
Name | string? | name | Resource name: `projects/{project}/locations/{location}/postgresClusters/{cluster}/databases/{database}`. |
OwnerRole | string? | ownerRole | The role that owns the database. Defaults to `app`. |
State | Models.Databases.PostgresDatabase_state? | state | The state property |
Uid | string? | uid | The uid property |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |