|
23 | 23 |
|
24 | 24 | if sys.version_info >= (3, 8): |
25 | 25 | from importlib import metadata |
26 | | -else: |
| 26 | +else: # pragma: NO COVER |
27 | 27 | # TODO(https://github.com/googleapis/python-api-core/issues/835): Remove |
28 | 28 | # this code path once we drop support for Python 3.7 |
29 | 29 | import importlib_metadata as metadata |
30 | 30 |
|
| 31 | + |
| 32 | +from .services.asset_service import AssetServiceClient |
| 33 | +from .services.asset_service import AssetServiceAsyncClient |
| 34 | + |
| 35 | +from .types.asset_service import AnalyzeIamPolicyLongrunningMetadata |
| 36 | +from .types.asset_service import AnalyzeIamPolicyLongrunningRequest |
| 37 | +from .types.asset_service import AnalyzeIamPolicyLongrunningResponse |
| 38 | +from .types.asset_service import AnalyzeIamPolicyRequest |
| 39 | +from .types.asset_service import AnalyzeIamPolicyResponse |
| 40 | +from .types.asset_service import AnalyzeMoveRequest |
| 41 | +from .types.asset_service import AnalyzeMoveResponse |
| 42 | +from .types.asset_service import AnalyzeOrgPoliciesRequest |
| 43 | +from .types.asset_service import AnalyzeOrgPoliciesResponse |
| 44 | +from .types.asset_service import AnalyzeOrgPolicyGovernedAssetsRequest |
| 45 | +from .types.asset_service import AnalyzeOrgPolicyGovernedAssetsResponse |
| 46 | +from .types.asset_service import AnalyzeOrgPolicyGovernedContainersRequest |
| 47 | +from .types.asset_service import AnalyzeOrgPolicyGovernedContainersResponse |
| 48 | +from .types.asset_service import AnalyzerOrgPolicy |
| 49 | +from .types.asset_service import AnalyzerOrgPolicyConstraint |
| 50 | +from .types.asset_service import BatchGetAssetsHistoryRequest |
| 51 | +from .types.asset_service import BatchGetAssetsHistoryResponse |
| 52 | +from .types.asset_service import BatchGetEffectiveIamPoliciesRequest |
| 53 | +from .types.asset_service import BatchGetEffectiveIamPoliciesResponse |
| 54 | +from .types.asset_service import BigQueryDestination |
| 55 | +from .types.asset_service import CreateFeedRequest |
| 56 | +from .types.asset_service import CreateSavedQueryRequest |
| 57 | +from .types.asset_service import DeleteFeedRequest |
| 58 | +from .types.asset_service import DeleteSavedQueryRequest |
| 59 | +from .types.asset_service import ExportAssetsRequest |
| 60 | +from .types.asset_service import ExportAssetsResponse |
| 61 | +from .types.asset_service import Feed |
| 62 | +from .types.asset_service import FeedOutputConfig |
| 63 | +from .types.asset_service import GcsDestination |
| 64 | +from .types.asset_service import GcsOutputResult |
| 65 | +from .types.asset_service import GetFeedRequest |
| 66 | +from .types.asset_service import GetSavedQueryRequest |
| 67 | +from .types.asset_service import IamPolicyAnalysisOutputConfig |
| 68 | +from .types.asset_service import IamPolicyAnalysisQuery |
| 69 | +from .types.asset_service import ListAssetsRequest |
| 70 | +from .types.asset_service import ListAssetsResponse |
| 71 | +from .types.asset_service import ListFeedsRequest |
| 72 | +from .types.asset_service import ListFeedsResponse |
| 73 | +from .types.asset_service import ListSavedQueriesRequest |
| 74 | +from .types.asset_service import ListSavedQueriesResponse |
| 75 | +from .types.asset_service import MoveAnalysis |
| 76 | +from .types.asset_service import MoveAnalysisResult |
| 77 | +from .types.asset_service import MoveImpact |
| 78 | +from .types.asset_service import OutputConfig |
| 79 | +from .types.asset_service import OutputResult |
| 80 | +from .types.asset_service import PartitionSpec |
| 81 | +from .types.asset_service import PubsubDestination |
| 82 | +from .types.asset_service import QueryAssetsOutputConfig |
| 83 | +from .types.asset_service import QueryAssetsRequest |
| 84 | +from .types.asset_service import QueryAssetsResponse |
| 85 | +from .types.asset_service import QueryResult |
| 86 | +from .types.asset_service import SavedQuery |
| 87 | +from .types.asset_service import SearchAllIamPoliciesRequest |
| 88 | +from .types.asset_service import SearchAllIamPoliciesResponse |
| 89 | +from .types.asset_service import SearchAllResourcesRequest |
| 90 | +from .types.asset_service import SearchAllResourcesResponse |
| 91 | +from .types.asset_service import TableFieldSchema |
| 92 | +from .types.asset_service import TableSchema |
| 93 | +from .types.asset_service import UpdateFeedRequest |
| 94 | +from .types.asset_service import UpdateSavedQueryRequest |
| 95 | +from .types.asset_service import ContentType |
| 96 | +from .types.assets import Asset |
| 97 | +from .types.assets import AttachedResource |
| 98 | +from .types.assets import ConditionEvaluation |
| 99 | +from .types.assets import IamPolicyAnalysisResult |
| 100 | +from .types.assets import IamPolicyAnalysisState |
| 101 | +from .types.assets import IamPolicySearchResult |
| 102 | +from .types.assets import RelatedAsset |
| 103 | +from .types.assets import RelatedAssets |
| 104 | +from .types.assets import RelatedResource |
| 105 | +from .types.assets import RelatedResources |
| 106 | +from .types.assets import RelationshipAttributes |
| 107 | +from .types.assets import Resource |
| 108 | +from .types.assets import ResourceSearchResult |
| 109 | +from .types.assets import TemporalAsset |
| 110 | +from .types.assets import TimeWindow |
| 111 | +from .types.assets import VersionedResource |
| 112 | + |
31 | 113 | ParsedVersion = Tuple[int, ...] |
32 | 114 |
|
33 | | -def parse_version_to_tuple(version_string: str) -> ParsedVersion: |
| 115 | +def parse_version_to_tuple(version_string: str) -> ParsedVersion: # pragma: NO COVER |
34 | 116 | """Safely converts a semantic version string to a comparable tuple of integers. |
35 | 117 | Example: "4.25.8" -> (4, 25, 8) |
36 | 118 | Ignores non-numeric parts and handles common version formats. |
@@ -114,88 +196,6 @@ def _get_version(dependency_name): |
114 | 196 | "using a supported version of Python; see " + |
115 | 197 | "https://devguide.python.org/versions/") |
116 | 198 |
|
117 | | - |
118 | | -from .services.asset_service import AssetServiceClient |
119 | | -from .services.asset_service import AssetServiceAsyncClient |
120 | | - |
121 | | -from .types.asset_service import AnalyzeIamPolicyLongrunningMetadata |
122 | | -from .types.asset_service import AnalyzeIamPolicyLongrunningRequest |
123 | | -from .types.asset_service import AnalyzeIamPolicyLongrunningResponse |
124 | | -from .types.asset_service import AnalyzeIamPolicyRequest |
125 | | -from .types.asset_service import AnalyzeIamPolicyResponse |
126 | | -from .types.asset_service import AnalyzeMoveRequest |
127 | | -from .types.asset_service import AnalyzeMoveResponse |
128 | | -from .types.asset_service import AnalyzeOrgPoliciesRequest |
129 | | -from .types.asset_service import AnalyzeOrgPoliciesResponse |
130 | | -from .types.asset_service import AnalyzeOrgPolicyGovernedAssetsRequest |
131 | | -from .types.asset_service import AnalyzeOrgPolicyGovernedAssetsResponse |
132 | | -from .types.asset_service import AnalyzeOrgPolicyGovernedContainersRequest |
133 | | -from .types.asset_service import AnalyzeOrgPolicyGovernedContainersResponse |
134 | | -from .types.asset_service import AnalyzerOrgPolicy |
135 | | -from .types.asset_service import AnalyzerOrgPolicyConstraint |
136 | | -from .types.asset_service import BatchGetAssetsHistoryRequest |
137 | | -from .types.asset_service import BatchGetAssetsHistoryResponse |
138 | | -from .types.asset_service import BatchGetEffectiveIamPoliciesRequest |
139 | | -from .types.asset_service import BatchGetEffectiveIamPoliciesResponse |
140 | | -from .types.asset_service import BigQueryDestination |
141 | | -from .types.asset_service import CreateFeedRequest |
142 | | -from .types.asset_service import CreateSavedQueryRequest |
143 | | -from .types.asset_service import DeleteFeedRequest |
144 | | -from .types.asset_service import DeleteSavedQueryRequest |
145 | | -from .types.asset_service import ExportAssetsRequest |
146 | | -from .types.asset_service import ExportAssetsResponse |
147 | | -from .types.asset_service import Feed |
148 | | -from .types.asset_service import FeedOutputConfig |
149 | | -from .types.asset_service import GcsDestination |
150 | | -from .types.asset_service import GcsOutputResult |
151 | | -from .types.asset_service import GetFeedRequest |
152 | | -from .types.asset_service import GetSavedQueryRequest |
153 | | -from .types.asset_service import IamPolicyAnalysisOutputConfig |
154 | | -from .types.asset_service import IamPolicyAnalysisQuery |
155 | | -from .types.asset_service import ListAssetsRequest |
156 | | -from .types.asset_service import ListAssetsResponse |
157 | | -from .types.asset_service import ListFeedsRequest |
158 | | -from .types.asset_service import ListFeedsResponse |
159 | | -from .types.asset_service import ListSavedQueriesRequest |
160 | | -from .types.asset_service import ListSavedQueriesResponse |
161 | | -from .types.asset_service import MoveAnalysis |
162 | | -from .types.asset_service import MoveAnalysisResult |
163 | | -from .types.asset_service import MoveImpact |
164 | | -from .types.asset_service import OutputConfig |
165 | | -from .types.asset_service import OutputResult |
166 | | -from .types.asset_service import PartitionSpec |
167 | | -from .types.asset_service import PubsubDestination |
168 | | -from .types.asset_service import QueryAssetsOutputConfig |
169 | | -from .types.asset_service import QueryAssetsRequest |
170 | | -from .types.asset_service import QueryAssetsResponse |
171 | | -from .types.asset_service import QueryResult |
172 | | -from .types.asset_service import SavedQuery |
173 | | -from .types.asset_service import SearchAllIamPoliciesRequest |
174 | | -from .types.asset_service import SearchAllIamPoliciesResponse |
175 | | -from .types.asset_service import SearchAllResourcesRequest |
176 | | -from .types.asset_service import SearchAllResourcesResponse |
177 | | -from .types.asset_service import TableFieldSchema |
178 | | -from .types.asset_service import TableSchema |
179 | | -from .types.asset_service import UpdateFeedRequest |
180 | | -from .types.asset_service import UpdateSavedQueryRequest |
181 | | -from .types.asset_service import ContentType |
182 | | -from .types.assets import Asset |
183 | | -from .types.assets import AttachedResource |
184 | | -from .types.assets import ConditionEvaluation |
185 | | -from .types.assets import IamPolicyAnalysisResult |
186 | | -from .types.assets import IamPolicyAnalysisState |
187 | | -from .types.assets import IamPolicySearchResult |
188 | | -from .types.assets import RelatedAsset |
189 | | -from .types.assets import RelatedAssets |
190 | | -from .types.assets import RelatedResource |
191 | | -from .types.assets import RelatedResources |
192 | | -from .types.assets import RelationshipAttributes |
193 | | -from .types.assets import Resource |
194 | | -from .types.assets import ResourceSearchResult |
195 | | -from .types.assets import TemporalAsset |
196 | | -from .types.assets import TimeWindow |
197 | | -from .types.assets import VersionedResource |
198 | | - |
199 | 199 | __all__ = ( |
200 | 200 | 'AssetServiceAsyncClient', |
201 | 201 | 'AnalyzeIamPolicyLongrunningMetadata', |
|
0 commit comments