Skip to content

Commit 17a1c3d

Browse files
committed
Rename method for internal access boundary seeding
Renamed 'with_regional_access_boundary' to '_with_regional_access_boundary' to indicate internal use.
1 parent b0163b1 commit 17a1c3d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

packages/google-auth/google/auth/credentials.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,9 +361,10 @@ def _copy_regional_access_boundary_manager(self, target):
361361
new_manager._data = self._rab_manager._data
362362
target._rab_manager = new_manager
363363

364-
def with_regional_access_boundary(self, seed):
364+
def _with_regional_access_boundary(self, seed):
365365
"""Returns a copy of these credentials with the the regional_access_boundary
366-
set to the provided seed.
366+
set to the provided seed. This is intended for internal use only as invalid
367+
seeds would produce unexpected results until automatic recovery is supported.
367368
368369
Returns:
369370
google.auth.credentials.Credentials: A new credentials instance.

0 commit comments

Comments
 (0)