Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/google-cloud-iam/.OwlBot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ deep-remove-regex:
- /owl-bot-staging

deep-copy-regex:
- source: /google/iam/admin/(v.*)/.*-py
dest: /owl-bot-staging/google-cloud-iam/$1
- source: /google/iam/credentials/(v.*)/.*-py
dest: /owl-bot-staging/google-cloud-iam/$1
- source: /google/iam/v2beta/.*-py
Expand Down
10 changes: 10 additions & 0 deletions packages/google-cloud-iam/docs/iam_admin_v1/iam.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
IAM
---------------------

.. automodule:: google.cloud.iam_admin_v1.services.iam
:members:
:inherited-members:

.. automodule:: google.cloud.iam_admin_v1.services.iam.pagers
:members:
:inherited-members:
6 changes: 6 additions & 0 deletions packages/google-cloud-iam/docs/iam_admin_v1/services_.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Services for Google Cloud Iam Admin v1 API
==========================================
.. toctree::
:maxdepth: 2

iam
6 changes: 6 additions & 0 deletions packages/google-cloud-iam/docs/iam_admin_v1/types_.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Types for Google Cloud Iam Admin v1 API
=======================================

.. automodule:: google.cloud.iam_admin_v1.types
:members:
:show-inheritance:
8 changes: 8 additions & 0 deletions packages/google-cloud-iam/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ API Reference
iam_v2/services_
iam_v2/types_

API Reference
-------------
.. toctree::
:maxdepth: 2

iam_admin_v1/services_
iam_admin_v1/types_

API Reference
-------------
.. toctree::
Expand Down
125 changes: 125 additions & 0 deletions packages/google-cloud-iam/google/cloud/iam_admin/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
# -*- coding: utf-8 -*-
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.cloud.iam_admin import gapic_version as package_version

__version__ = package_version.__version__


from google.cloud.iam_admin_v1.services.iam.async_client import IAMAsyncClient
from google.cloud.iam_admin_v1.services.iam.client import IAMClient
from google.cloud.iam_admin_v1.types.audit_data import AuditData
from google.cloud.iam_admin_v1.types.iam import (
CreateRoleRequest,
CreateServiceAccountKeyRequest,
CreateServiceAccountRequest,
DeleteRoleRequest,
DeleteServiceAccountKeyRequest,
DeleteServiceAccountRequest,
DisableServiceAccountKeyRequest,
DisableServiceAccountRequest,
EnableServiceAccountKeyRequest,
EnableServiceAccountRequest,
GetRoleRequest,
GetServiceAccountKeyRequest,
GetServiceAccountRequest,
LintPolicyRequest,
LintPolicyResponse,
LintResult,
ListRolesRequest,
ListRolesResponse,
ListServiceAccountKeysRequest,
ListServiceAccountKeysResponse,
ListServiceAccountsRequest,
ListServiceAccountsResponse,
PatchServiceAccountRequest,
Permission,
QueryAuditableServicesRequest,
QueryAuditableServicesResponse,
QueryGrantableRolesRequest,
QueryGrantableRolesResponse,
QueryTestablePermissionsRequest,
QueryTestablePermissionsResponse,
Role,
RoleView,
ServiceAccount,
ServiceAccountKey,
ServiceAccountKeyAlgorithm,
ServiceAccountKeyOrigin,
ServiceAccountPrivateKeyType,
ServiceAccountPublicKeyType,
SignBlobRequest,
SignBlobResponse,
SignJwtRequest,
SignJwtResponse,
UndeleteRoleRequest,
UndeleteServiceAccountRequest,
UndeleteServiceAccountResponse,
UpdateRoleRequest,
UploadServiceAccountKeyRequest,
)

__all__ = (
"IAMClient",
"IAMAsyncClient",
"AuditData",
"CreateRoleRequest",
"CreateServiceAccountKeyRequest",
"CreateServiceAccountRequest",
"DeleteRoleRequest",
"DeleteServiceAccountKeyRequest",
"DeleteServiceAccountRequest",
"DisableServiceAccountKeyRequest",
"DisableServiceAccountRequest",
"EnableServiceAccountKeyRequest",
"EnableServiceAccountRequest",
"GetRoleRequest",
"GetServiceAccountKeyRequest",
"GetServiceAccountRequest",
"LintPolicyRequest",
"LintPolicyResponse",
"LintResult",
"ListRolesRequest",
"ListRolesResponse",
"ListServiceAccountKeysRequest",
"ListServiceAccountKeysResponse",
"ListServiceAccountsRequest",
"ListServiceAccountsResponse",
"PatchServiceAccountRequest",
"Permission",
"QueryAuditableServicesRequest",
"QueryAuditableServicesResponse",
"QueryGrantableRolesRequest",
"QueryGrantableRolesResponse",
"QueryTestablePermissionsRequest",
"QueryTestablePermissionsResponse",
"Role",
"ServiceAccount",
"ServiceAccountKey",
"SignBlobRequest",
"SignBlobResponse",
"SignJwtRequest",
"SignJwtResponse",
"UndeleteRoleRequest",
"UndeleteServiceAccountRequest",
"UndeleteServiceAccountResponse",
"UpdateRoleRequest",
"UploadServiceAccountKeyRequest",
"RoleView",
"ServiceAccountKeyAlgorithm",
"ServiceAccountKeyOrigin",
"ServiceAccountPrivateKeyType",
"ServiceAccountPublicKeyType",
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.0.0" # {x-release-please-version}
2 changes: 2 additions & 0 deletions packages/google-cloud-iam/google/cloud/iam_admin/py.typed
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Marker file for PEP 561.
# The google-cloud-iam package uses inline types.
124 changes: 124 additions & 0 deletions packages/google-cloud-iam/google/cloud/iam_admin_v1/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
# -*- coding: utf-8 -*-
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.cloud.iam_admin_v1 import gapic_version as package_version

__version__ = package_version.__version__


from .services.iam import IAMAsyncClient, IAMClient
from .types.audit_data import AuditData
from .types.iam import (
CreateRoleRequest,
CreateServiceAccountKeyRequest,
CreateServiceAccountRequest,
DeleteRoleRequest,
DeleteServiceAccountKeyRequest,
DeleteServiceAccountRequest,
DisableServiceAccountKeyRequest,
DisableServiceAccountRequest,
EnableServiceAccountKeyRequest,
EnableServiceAccountRequest,
GetRoleRequest,
GetServiceAccountKeyRequest,
GetServiceAccountRequest,
LintPolicyRequest,
LintPolicyResponse,
LintResult,
ListRolesRequest,
ListRolesResponse,
ListServiceAccountKeysRequest,
ListServiceAccountKeysResponse,
ListServiceAccountsRequest,
ListServiceAccountsResponse,
PatchServiceAccountRequest,
Permission,
QueryAuditableServicesRequest,
QueryAuditableServicesResponse,
QueryGrantableRolesRequest,
QueryGrantableRolesResponse,
QueryTestablePermissionsRequest,
QueryTestablePermissionsResponse,
Role,
RoleView,
ServiceAccount,
ServiceAccountKey,
ServiceAccountKeyAlgorithm,
ServiceAccountKeyOrigin,
ServiceAccountPrivateKeyType,
ServiceAccountPublicKeyType,
SignBlobRequest,
SignBlobResponse,
SignJwtRequest,
SignJwtResponse,
UndeleteRoleRequest,
UndeleteServiceAccountRequest,
UndeleteServiceAccountResponse,
UpdateRoleRequest,
UploadServiceAccountKeyRequest,
)

__all__ = (
"IAMAsyncClient",
"AuditData",
"CreateRoleRequest",
"CreateServiceAccountKeyRequest",
"CreateServiceAccountRequest",
"DeleteRoleRequest",
"DeleteServiceAccountKeyRequest",
"DeleteServiceAccountRequest",
"DisableServiceAccountKeyRequest",
"DisableServiceAccountRequest",
"EnableServiceAccountKeyRequest",
"EnableServiceAccountRequest",
"GetRoleRequest",
"GetServiceAccountKeyRequest",
"GetServiceAccountRequest",
"IAMClient",
"LintPolicyRequest",
"LintPolicyResponse",
"LintResult",
"ListRolesRequest",
"ListRolesResponse",
"ListServiceAccountKeysRequest",
"ListServiceAccountKeysResponse",
"ListServiceAccountsRequest",
"ListServiceAccountsResponse",
"PatchServiceAccountRequest",
"Permission",
"QueryAuditableServicesRequest",
"QueryAuditableServicesResponse",
"QueryGrantableRolesRequest",
"QueryGrantableRolesResponse",
"QueryTestablePermissionsRequest",
"QueryTestablePermissionsResponse",
"Role",
"RoleView",
"ServiceAccount",
"ServiceAccountKey",
"ServiceAccountKeyAlgorithm",
"ServiceAccountKeyOrigin",
"ServiceAccountPrivateKeyType",
"ServiceAccountPublicKeyType",
"SignBlobRequest",
"SignBlobResponse",
"SignJwtRequest",
"SignJwtResponse",
"UndeleteRoleRequest",
"UndeleteServiceAccountRequest",
"UndeleteServiceAccountResponse",
"UpdateRoleRequest",
"UploadServiceAccountKeyRequest",
)
Loading