gcp-platforms-auto 0.8.0__tar.gz → 0.8.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gcp_platforms_auto-0.8.0 → gcp_platforms_auto-0.8.2}/PKG-INFO +1 -1
- {gcp_platforms_auto-0.8.0 → gcp_platforms_auto-0.8.2}/gcp_platforms_auto/iam.py +4 -4
- {gcp_platforms_auto-0.8.0 → gcp_platforms_auto-0.8.2}/gcp_platforms_auto/models.py +0 -1
- {gcp_platforms_auto-0.8.0 → gcp_platforms_auto-0.8.2}/gcp_platforms_auto.egg-info/PKG-INFO +1 -1
- {gcp_platforms_auto-0.8.0 → gcp_platforms_auto-0.8.2}/pyproject.toml +1 -1
- {gcp_platforms_auto-0.8.0 → gcp_platforms_auto-0.8.2}/README.md +0 -0
- {gcp_platforms_auto-0.8.0 → gcp_platforms_auto-0.8.2}/gcp_platforms_auto/__init__.py +0 -0
- {gcp_platforms_auto-0.8.0 → gcp_platforms_auto-0.8.2}/gcp_platforms_auto/db.py +0 -0
- {gcp_platforms_auto-0.8.0 → gcp_platforms_auto-0.8.2}/gcp_platforms_auto/git.py +0 -0
- {gcp_platforms_auto-0.8.0 → gcp_platforms_auto-0.8.2}/gcp_platforms_auto.egg-info/SOURCES.txt +0 -0
- {gcp_platforms_auto-0.8.0 → gcp_platforms_auto-0.8.2}/gcp_platforms_auto.egg-info/dependency_links.txt +0 -0
- {gcp_platforms_auto-0.8.0 → gcp_platforms_auto-0.8.2}/gcp_platforms_auto.egg-info/requires.txt +0 -0
- {gcp_platforms_auto-0.8.0 → gcp_platforms_auto-0.8.2}/gcp_platforms_auto.egg-info/top_level.txt +0 -0
- {gcp_platforms_auto-0.8.0 → gcp_platforms_auto-0.8.2}/setup.cfg +0 -0
|
@@ -43,7 +43,7 @@ def check_user_has_role_in_project(
|
|
|
43
43
|
|
|
44
44
|
Args:
|
|
45
45
|
user_email: Email of the user or service account to check
|
|
46
|
-
(e.g., 'oshasha10@
|
|
46
|
+
(e.g., 'oshasha10@gcporg.com' or 'my-sa@project.iam.gserviceaccount.com')
|
|
47
47
|
role: Role to check (e.g., 'roles/owner', 'roles/editor')
|
|
48
48
|
project_id: GCP project ID (e.g., 'sky-starfi-mam-res-gcpro-1')
|
|
49
49
|
organization_id: GCP organization ID (e.g., '111111111111')
|
|
@@ -54,7 +54,7 @@ def check_user_has_role_in_project(
|
|
|
54
54
|
|
|
55
55
|
Example:
|
|
56
56
|
>>> has_access = check_user_has_role_in_project(
|
|
57
|
-
... user_email='oshasha10@
|
|
57
|
+
... user_email='oshasha10@gcporg.com',
|
|
58
58
|
... role='roles/owner',
|
|
59
59
|
... project_id='sky-starfi-mam-res-gcpro-1',
|
|
60
60
|
... )
|
|
@@ -150,7 +150,7 @@ def get_projects_with_role(
|
|
|
150
150
|
|
|
151
151
|
Args:
|
|
152
152
|
user_email: Email of the user or service account to check
|
|
153
|
-
(e.g., 'oshasha10@
|
|
153
|
+
(e.g., 'oshasha10@gcporg.com' or 'my-sa@project.iam.gserviceaccount.com')
|
|
154
154
|
organization_id: GCP organization ID (e.g., '111111111111')
|
|
155
155
|
role: Role to check (e.g., 'roles/owner', 'roles/editor')
|
|
156
156
|
expand_groups: Whether to expand group memberships (default: True)
|
|
@@ -160,7 +160,7 @@ def get_projects_with_role(
|
|
|
160
160
|
|
|
161
161
|
Example:
|
|
162
162
|
>>> projects = get_projects_with_role(
|
|
163
|
-
... user_email='oshasha10@
|
|
163
|
+
... user_email='oshasha10@gcporg.com',
|
|
164
164
|
... organization_id='111111111111',
|
|
165
165
|
... role='roles/owner'
|
|
166
166
|
... )
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gcp_platforms_auto-0.8.0 → gcp_platforms_auto-0.8.2}/gcp_platforms_auto.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{gcp_platforms_auto-0.8.0 → gcp_platforms_auto-0.8.2}/gcp_platforms_auto.egg-info/requires.txt
RENAMED
|
File without changes
|
{gcp_platforms_auto-0.8.0 → gcp_platforms_auto-0.8.2}/gcp_platforms_auto.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|