Skip to content

Commit

Permalink
fix: change fgac database role tags (#888)
Browse files Browse the repository at this point in the history
* tests

* changes

* changes in fgac tag
  • Loading branch information
asthamohta authored Jan 23, 2023
1 parent 5e50beb commit ae92f0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/samples/snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -2314,7 +2314,7 @@ def list_instance_config_operations():

def add_and_drop_database_roles(instance_id, database_id):
"""Showcases how to manage a user defined database role."""
# [START spanner_add_and_drop_database_roles]
# [START spanner_add_and_drop_database_role]
# instance_id = "your-spanner-instance"
# database_id = "your-spanner-db-id"
spanner_client = spanner.Client()
Expand Down Expand Up @@ -2345,7 +2345,7 @@ def add_and_drop_database_roles(instance_id, database_id):
operation.result(OPERATION_TIMEOUT_SECONDS)
print("Revoked privileges and dropped role {}".format(role_child))

# [END spanner_add_and_drop_database_roles]
# [END spanner_add_and_drop_database_role]


def read_data_with_database_role(instance_id, database_id):
Expand Down

0 comments on commit ae92f0d

Please sign in to comment.