# Class Database (0.8.0)

0.8.0 (latest) 0.7.0 0.6.0 0.5.0 0.4.15 0.3.0 0.2.0 0.1.1

    Database(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Database is the container of tables.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `hive_options` | `https://docs.cloud.google.com/python/docs/reference/biglake/latest/google.cloud.bigquery_biglake_v1alpha1.types.HiveDatabaseOptions` Options of a Hive database. This field is a member of `oneof`_ `options`. |
| `name` | `str` Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The creation time of the database. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The last modification time of the database. |
| `delete_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The deletion time of the database. Only set after the database is deleted. |
| `expire_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when this database is considered expired. Only set after the database is deleted. |
| `type_` | `https://docs.cloud.google.com/python/docs/reference/biglake/latest/google.cloud.bigquery_biglake_v1alpha1.types.Database.Type` The database type. |

## Classes

### Type

    Type(value)

The database type.