|
| 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 | +) |
0 commit comments