File tree 2 files changed +16
-0
lines changed
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,14 @@ class Database(object):
92
92
:param pool: (Optional) session pool to be used by database. If not
93
93
passed, the database will construct an instance of
94
94
: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`
95
103
"""
96
104
97
105
_spanner_api = None
Original file line number Diff line number Diff line change @@ -364,6 +364,14 @@ def database(
364
364
:class:`~google.cloud.spanner_v1.pool.AbstractSessionPool`.
365
365
:param pool: (Optional) session pool to be used by database.
366
366
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
+
367
375
:rtype: :class:`~google.cloud.spanner_v1.database.Database`
368
376
:returns: a database owned by this instance.
369
377
"""
You can’t perform that action at this time.
0 commit comments