Skip to content

Commit a22d3e6

Browse files
committed
Update comments in access binding samples
1 parent e9820f4 commit a22d3e6

4 files changed

Lines changed: 8 additions & 12 deletions

File tree

google-analytics-admin/accounts_access_bindings_batch_update.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,8 @@ def batch_update_account_access_binding(
6161
or "rest". If set to None, a transport is chosen automatically.
6262
"""
6363
client = AnalyticsAdminServiceClient(transport=transport)
64-
# This call updates the email address and direct roles of the access binding.
65-
# The access binding to update is specified in the `name` field of the `AccessBinding`
66-
# instance.
64+
# This call updates the roles of the access binding. The access binding to
65+
# update is specified in the `name` field of the `AccessBinding` instance.
6766
response = client.batch_update_access_bindings(
6867
BatchUpdateAccessBindingsRequest(
6968
parent=f"accounts/{account_id}",

google-analytics-admin/accounts_access_bindings_update.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,8 @@ def update_account_access_binding(
5757
or "rest". If set to None, a transport is chosen automatically.
5858
"""
5959
client = AnalyticsAdminServiceClient(transport=transport)
60-
# This call updates the email address and direct roles of the access binding.
61-
# The access binding to update is specified in the `name` field of the `AccessBinding`
62-
# instance.
60+
# This call updates the roles of the access binding. The access binding to
61+
# update is specified in the `name` field of the `AccessBinding` instance.
6362
access_binding = client.update_access_binding(
6463
access_binding=AccessBinding(
6564
name=f"accounts/{account_id}/accessBindings/{account_access_binding_id}",

google-analytics-admin/properties_access_bindings_batch_update.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,8 @@ def batch_update_property_access_binding(
6161
or "rest". If set to None, a transport is chosen automatically.
6262
"""
6363
client = AnalyticsAdminServiceClient(transport=transport)
64-
# This call updates the email address and direct roles of the access binding.
65-
# The access binding to update is specified in the `name` field of the `AccessBinding`
66-
# instance.
64+
# This call updates the roles of the access binding. The access binding to
65+
# update is specified in the `name` field of the `AccessBinding` instance.
6766
response = client.batch_update_access_bindings(
6867
BatchUpdateAccessBindingsRequest(
6968
parent=f"properties/{property_id}",

google-analytics-admin/properties_access_bindings_update.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,8 @@ def update_property_access_binding(
5757
or "rest". If set to None, a transport is chosen automatically.
5858
"""
5959
client = AnalyticsAdminServiceClient(transport=transport)
60-
# This call updates the email address and direct roles of the access binding.
61-
# The access binding to update is specified in the `name` field of the `AccessBinding`
62-
# instance.
60+
# This call updates the roles of the access binding. The access binding to
61+
# update is specified in the `name` field of the `AccessBinding` instance.
6362
access_binding = client.update_access_binding(
6463
access_binding=AccessBinding(
6564
name=f"properties/{property_id}/accessBindings/{property_access_binding_id}",

0 commit comments

Comments
 (0)