File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,14 @@ class Database(object):
9292 :param pool: (Optional) session pool to be used by database. If not
9393 passed, the database will construct an instance of
9494 :class:`~google.cloud.spanner_v1.pool.BurstyPool`.
95+
96+ :type encryption_config:
97+ :class:`~google.cloud.spanner_admin_database_v1.types.EncryptionConfig`
98+ or :class:`dict`
99+ :param encryption_config:
100+ (Optional) Encryption information about the database.
101+ If a dict is provided, it must be of the same form as the protobuf
102+ message :class:`~google.cloud.spanner_admin_database_v1.types.EncryptionConfig`
95103 """
96104
97105 _spanner_api = None
Original file line number Diff line number Diff line change @@ -364,6 +364,14 @@ def database(
364364 :class:`~google.cloud.spanner_v1.pool.AbstractSessionPool`.
365365 :param pool: (Optional) session pool to be used by database.
366366
367+ :type encryption_config:
368+ :class:`~google.cloud.spanner_admin_database_v1.types.EncryptionConfig`
369+ or :class:`dict`
370+ :param encryption_config:
371+ (Optional) Encryption information about the database.
372+ If a dict is provided, it must be of the same form as the protobuf
373+ message :class:`~google.cloud.spanner_admin_database_v1.types.EncryptionConfig
374+
367375 :rtype: :class:`~google.cloud.spanner_v1.database.Database`
368376 :returns: a database owned by this instance.
369377 """
You can’t perform that action at this time.
0 commit comments