Skip to content

Commit 7e97037

Browse files
authored
feat: add google.cloud.iam_admin_v1 (#12519)
Fixes #12540
1 parent e75c1e5 commit 7e97037

92 files changed

Lines changed: 33334 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/google-cloud-iam/.OwlBot.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ deep-remove-regex:
1717
- /owl-bot-staging
1818

1919
deep-copy-regex:
20+
- source: /google/iam/admin/(v.*)/.*-py
21+
dest: /owl-bot-staging/google-cloud-iam/$1
2022
- source: /google/iam/credentials/(v.*)/.*-py
2123
dest: /owl-bot-staging/google-cloud-iam/$1
2224
- source: /google/iam/v2beta/.*-py
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
IAM
2+
---------------------
3+
4+
.. automodule:: google.cloud.iam_admin_v1.services.iam
5+
:members:
6+
:inherited-members:
7+
8+
.. automodule:: google.cloud.iam_admin_v1.services.iam.pagers
9+
:members:
10+
:inherited-members:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Services for Google Cloud Iam Admin v1 API
2+
==========================================
3+
.. toctree::
4+
:maxdepth: 2
5+
6+
iam
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Types for Google Cloud Iam Admin v1 API
2+
=======================================
3+
4+
.. automodule:: google.cloud.iam_admin_v1.types
5+
:members:
6+
:show-inheritance:

packages/google-cloud-iam/docs/index.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ API Reference
1414
iam_v2/services_
1515
iam_v2/types_
1616

17+
API Reference
18+
-------------
19+
.. toctree::
20+
:maxdepth: 2
21+
22+
iam_admin_v1/services_
23+
iam_admin_v1/types_
24+
1725
API Reference
1826
-------------
1927
.. toctree::
Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2024 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
from google.cloud.iam_admin import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
20+
21+
from google.cloud.iam_admin_v1.services.iam.async_client import IAMAsyncClient
22+
from google.cloud.iam_admin_v1.services.iam.client import IAMClient
23+
from google.cloud.iam_admin_v1.types.audit_data import AuditData
24+
from google.cloud.iam_admin_v1.types.iam import (
25+
CreateRoleRequest,
26+
CreateServiceAccountKeyRequest,
27+
CreateServiceAccountRequest,
28+
DeleteRoleRequest,
29+
DeleteServiceAccountKeyRequest,
30+
DeleteServiceAccountRequest,
31+
DisableServiceAccountKeyRequest,
32+
DisableServiceAccountRequest,
33+
EnableServiceAccountKeyRequest,
34+
EnableServiceAccountRequest,
35+
GetRoleRequest,
36+
GetServiceAccountKeyRequest,
37+
GetServiceAccountRequest,
38+
LintPolicyRequest,
39+
LintPolicyResponse,
40+
LintResult,
41+
ListRolesRequest,
42+
ListRolesResponse,
43+
ListServiceAccountKeysRequest,
44+
ListServiceAccountKeysResponse,
45+
ListServiceAccountsRequest,
46+
ListServiceAccountsResponse,
47+
PatchServiceAccountRequest,
48+
Permission,
49+
QueryAuditableServicesRequest,
50+
QueryAuditableServicesResponse,
51+
QueryGrantableRolesRequest,
52+
QueryGrantableRolesResponse,
53+
QueryTestablePermissionsRequest,
54+
QueryTestablePermissionsResponse,
55+
Role,
56+
RoleView,
57+
ServiceAccount,
58+
ServiceAccountKey,
59+
ServiceAccountKeyAlgorithm,
60+
ServiceAccountKeyOrigin,
61+
ServiceAccountPrivateKeyType,
62+
ServiceAccountPublicKeyType,
63+
SignBlobRequest,
64+
SignBlobResponse,
65+
SignJwtRequest,
66+
SignJwtResponse,
67+
UndeleteRoleRequest,
68+
UndeleteServiceAccountRequest,
69+
UndeleteServiceAccountResponse,
70+
UpdateRoleRequest,
71+
UploadServiceAccountKeyRequest,
72+
)
73+
74+
__all__ = (
75+
"IAMClient",
76+
"IAMAsyncClient",
77+
"AuditData",
78+
"CreateRoleRequest",
79+
"CreateServiceAccountKeyRequest",
80+
"CreateServiceAccountRequest",
81+
"DeleteRoleRequest",
82+
"DeleteServiceAccountKeyRequest",
83+
"DeleteServiceAccountRequest",
84+
"DisableServiceAccountKeyRequest",
85+
"DisableServiceAccountRequest",
86+
"EnableServiceAccountKeyRequest",
87+
"EnableServiceAccountRequest",
88+
"GetRoleRequest",
89+
"GetServiceAccountKeyRequest",
90+
"GetServiceAccountRequest",
91+
"LintPolicyRequest",
92+
"LintPolicyResponse",
93+
"LintResult",
94+
"ListRolesRequest",
95+
"ListRolesResponse",
96+
"ListServiceAccountKeysRequest",
97+
"ListServiceAccountKeysResponse",
98+
"ListServiceAccountsRequest",
99+
"ListServiceAccountsResponse",
100+
"PatchServiceAccountRequest",
101+
"Permission",
102+
"QueryAuditableServicesRequest",
103+
"QueryAuditableServicesResponse",
104+
"QueryGrantableRolesRequest",
105+
"QueryGrantableRolesResponse",
106+
"QueryTestablePermissionsRequest",
107+
"QueryTestablePermissionsResponse",
108+
"Role",
109+
"ServiceAccount",
110+
"ServiceAccountKey",
111+
"SignBlobRequest",
112+
"SignBlobResponse",
113+
"SignJwtRequest",
114+
"SignJwtResponse",
115+
"UndeleteRoleRequest",
116+
"UndeleteServiceAccountRequest",
117+
"UndeleteServiceAccountResponse",
118+
"UpdateRoleRequest",
119+
"UploadServiceAccountKeyRequest",
120+
"RoleView",
121+
"ServiceAccountKeyAlgorithm",
122+
"ServiceAccountKeyOrigin",
123+
"ServiceAccountPrivateKeyType",
124+
"ServiceAccountPublicKeyType",
125+
)
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2024 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
__version__ = "0.0.0" # {x-release-please-version}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Marker file for PEP 561.
2+
# The google-cloud-iam package uses inline types.
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2024 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
from google.cloud.iam_admin_v1 import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
20+
21+
from .services.iam import IAMAsyncClient, IAMClient
22+
from .types.audit_data import AuditData
23+
from .types.iam import (
24+
CreateRoleRequest,
25+
CreateServiceAccountKeyRequest,
26+
CreateServiceAccountRequest,
27+
DeleteRoleRequest,
28+
DeleteServiceAccountKeyRequest,
29+
DeleteServiceAccountRequest,
30+
DisableServiceAccountKeyRequest,
31+
DisableServiceAccountRequest,
32+
EnableServiceAccountKeyRequest,
33+
EnableServiceAccountRequest,
34+
GetRoleRequest,
35+
GetServiceAccountKeyRequest,
36+
GetServiceAccountRequest,
37+
LintPolicyRequest,
38+
LintPolicyResponse,
39+
LintResult,
40+
ListRolesRequest,
41+
ListRolesResponse,
42+
ListServiceAccountKeysRequest,
43+
ListServiceAccountKeysResponse,
44+
ListServiceAccountsRequest,
45+
ListServiceAccountsResponse,
46+
PatchServiceAccountRequest,
47+
Permission,
48+
QueryAuditableServicesRequest,
49+
QueryAuditableServicesResponse,
50+
QueryGrantableRolesRequest,
51+
QueryGrantableRolesResponse,
52+
QueryTestablePermissionsRequest,
53+
QueryTestablePermissionsResponse,
54+
Role,
55+
RoleView,
56+
ServiceAccount,
57+
ServiceAccountKey,
58+
ServiceAccountKeyAlgorithm,
59+
ServiceAccountKeyOrigin,
60+
ServiceAccountPrivateKeyType,
61+
ServiceAccountPublicKeyType,
62+
SignBlobRequest,
63+
SignBlobResponse,
64+
SignJwtRequest,
65+
SignJwtResponse,
66+
UndeleteRoleRequest,
67+
UndeleteServiceAccountRequest,
68+
UndeleteServiceAccountResponse,
69+
UpdateRoleRequest,
70+
UploadServiceAccountKeyRequest,
71+
)
72+
73+
__all__ = (
74+
"IAMAsyncClient",
75+
"AuditData",
76+
"CreateRoleRequest",
77+
"CreateServiceAccountKeyRequest",
78+
"CreateServiceAccountRequest",
79+
"DeleteRoleRequest",
80+
"DeleteServiceAccountKeyRequest",
81+
"DeleteServiceAccountRequest",
82+
"DisableServiceAccountKeyRequest",
83+
"DisableServiceAccountRequest",
84+
"EnableServiceAccountKeyRequest",
85+
"EnableServiceAccountRequest",
86+
"GetRoleRequest",
87+
"GetServiceAccountKeyRequest",
88+
"GetServiceAccountRequest",
89+
"IAMClient",
90+
"LintPolicyRequest",
91+
"LintPolicyResponse",
92+
"LintResult",
93+
"ListRolesRequest",
94+
"ListRolesResponse",
95+
"ListServiceAccountKeysRequest",
96+
"ListServiceAccountKeysResponse",
97+
"ListServiceAccountsRequest",
98+
"ListServiceAccountsResponse",
99+
"PatchServiceAccountRequest",
100+
"Permission",
101+
"QueryAuditableServicesRequest",
102+
"QueryAuditableServicesResponse",
103+
"QueryGrantableRolesRequest",
104+
"QueryGrantableRolesResponse",
105+
"QueryTestablePermissionsRequest",
106+
"QueryTestablePermissionsResponse",
107+
"Role",
108+
"RoleView",
109+
"ServiceAccount",
110+
"ServiceAccountKey",
111+
"ServiceAccountKeyAlgorithm",
112+
"ServiceAccountKeyOrigin",
113+
"ServiceAccountPrivateKeyType",
114+
"ServiceAccountPublicKeyType",
115+
"SignBlobRequest",
116+
"SignBlobResponse",
117+
"SignJwtRequest",
118+
"SignJwtResponse",
119+
"UndeleteRoleRequest",
120+
"UndeleteServiceAccountRequest",
121+
"UndeleteServiceAccountResponse",
122+
"UpdateRoleRequest",
123+
"UploadServiceAccountKeyRequest",
124+
)

0 commit comments

Comments
 (0)