-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add support for updateDatabase in Cloud Spanner #914
feat: add support for updateDatabase in Cloud Spanner #914
Conversation
@@ -29,6 +29,7 @@ | |||
from google.api_core import gapic_v1 | |||
from google.iam.v1 import iam_policy_pb2 | |||
from google.iam.v1 import options_pb2 | |||
from google.protobuf.field_mask_pb2 import FieldMask | |||
|
|||
from google.cloud.spanner_admin_database_v1 import CreateDatabaseRequest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
@@ -17,8 +17,10 @@ | |||
|
|||
import mock | |||
from google.api_core import gapic_v1 | |||
from google.cloud.spanner_admin_database_v1 import Database as DatabasePB | |||
from google.cloud.spanner_v1.param_types import INT64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Here is the summary of changes. You are about to add 1 region tag.
This comment is generated by snippet-bot.
|
9ca2103
to
e4163d0
Compare
@@ -155,6 +160,8 @@ def __init__( | |||
self._encryption_config = encryption_config | |||
self._database_dialect = database_dialect | |||
self._database_role = database_role | |||
self._enable_drop_protection = enable_drop_protection | |||
self._reconciling = False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't see any place where this value is updated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is updated at line 359 of this file, using the property setter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am referring to reconciling
…p-database-protection # Conflicts: # google/cloud/spanner_v1/database.py
Added samples from #917 to here (for single merge). Both PRs are approved. |
No description provided.