google-cloud-managedkafka 0.1.0__py3-none-any.whl

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.
Files changed (25) hide show
  1. google/cloud/managedkafka/__init__.py +91 -0
  2. google/cloud/managedkafka/gapic_version.py +16 -0
  3. google/cloud/managedkafka/py.typed +2 -0
  4. google/cloud/managedkafka_v1/__init__.py +86 -0
  5. google/cloud/managedkafka_v1/gapic_metadata.json +238 -0
  6. google/cloud/managedkafka_v1/gapic_version.py +16 -0
  7. google/cloud/managedkafka_v1/py.typed +2 -0
  8. google/cloud/managedkafka_v1/services/__init__.py +15 -0
  9. google/cloud/managedkafka_v1/services/managed_kafka/__init__.py +22 -0
  10. google/cloud/managedkafka_v1/services/managed_kafka/async_client.py +2286 -0
  11. google/cloud/managedkafka_v1/services/managed_kafka/client.py +2734 -0
  12. google/cloud/managedkafka_v1/services/managed_kafka/pagers.py +411 -0
  13. google/cloud/managedkafka_v1/services/managed_kafka/transports/__init__.py +36 -0
  14. google/cloud/managedkafka_v1/services/managed_kafka/transports/base.py +466 -0
  15. google/cloud/managedkafka_v1/services/managed_kafka/transports/grpc.py +737 -0
  16. google/cloud/managedkafka_v1/services/managed_kafka/transports/grpc_asyncio.py +885 -0
  17. google/cloud/managedkafka_v1/services/managed_kafka/transports/rest.py +2506 -0
  18. google/cloud/managedkafka_v1/types/__init__.py +78 -0
  19. google/cloud/managedkafka_v1/types/managed_kafka.py +577 -0
  20. google/cloud/managedkafka_v1/types/resources.py +440 -0
  21. google_cloud_managedkafka-0.1.0.dist-info/LICENSE +202 -0
  22. google_cloud_managedkafka-0.1.0.dist-info/METADATA +137 -0
  23. google_cloud_managedkafka-0.1.0.dist-info/RECORD +25 -0
  24. google_cloud_managedkafka-0.1.0.dist-info/WHEEL +5 -0
  25. google_cloud_managedkafka-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,91 @@
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.managedkafka import gapic_version as package_version
17
+
18
+ __version__ = package_version.__version__
19
+
20
+
21
+ from google.cloud.managedkafka_v1.services.managed_kafka.async_client import (
22
+ ManagedKafkaAsyncClient,
23
+ )
24
+ from google.cloud.managedkafka_v1.services.managed_kafka.client import (
25
+ ManagedKafkaClient,
26
+ )
27
+ from google.cloud.managedkafka_v1.types.managed_kafka import (
28
+ CreateClusterRequest,
29
+ CreateTopicRequest,
30
+ DeleteClusterRequest,
31
+ DeleteConsumerGroupRequest,
32
+ DeleteTopicRequest,
33
+ GetClusterRequest,
34
+ GetConsumerGroupRequest,
35
+ GetTopicRequest,
36
+ ListClustersRequest,
37
+ ListClustersResponse,
38
+ ListConsumerGroupsRequest,
39
+ ListConsumerGroupsResponse,
40
+ ListTopicsRequest,
41
+ ListTopicsResponse,
42
+ UpdateClusterRequest,
43
+ UpdateConsumerGroupRequest,
44
+ UpdateTopicRequest,
45
+ )
46
+ from google.cloud.managedkafka_v1.types.resources import (
47
+ AccessConfig,
48
+ CapacityConfig,
49
+ Cluster,
50
+ ConsumerGroup,
51
+ ConsumerPartitionMetadata,
52
+ ConsumerTopicMetadata,
53
+ GcpConfig,
54
+ NetworkConfig,
55
+ OperationMetadata,
56
+ RebalanceConfig,
57
+ Topic,
58
+ )
59
+
60
+ __all__ = (
61
+ "ManagedKafkaClient",
62
+ "ManagedKafkaAsyncClient",
63
+ "CreateClusterRequest",
64
+ "CreateTopicRequest",
65
+ "DeleteClusterRequest",
66
+ "DeleteConsumerGroupRequest",
67
+ "DeleteTopicRequest",
68
+ "GetClusterRequest",
69
+ "GetConsumerGroupRequest",
70
+ "GetTopicRequest",
71
+ "ListClustersRequest",
72
+ "ListClustersResponse",
73
+ "ListConsumerGroupsRequest",
74
+ "ListConsumerGroupsResponse",
75
+ "ListTopicsRequest",
76
+ "ListTopicsResponse",
77
+ "UpdateClusterRequest",
78
+ "UpdateConsumerGroupRequest",
79
+ "UpdateTopicRequest",
80
+ "AccessConfig",
81
+ "CapacityConfig",
82
+ "Cluster",
83
+ "ConsumerGroup",
84
+ "ConsumerPartitionMetadata",
85
+ "ConsumerTopicMetadata",
86
+ "GcpConfig",
87
+ "NetworkConfig",
88
+ "OperationMetadata",
89
+ "RebalanceConfig",
90
+ "Topic",
91
+ )
@@ -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.1.0" # {x-release-please-version}
@@ -0,0 +1,2 @@
1
+ # Marker file for PEP 561.
2
+ # The google-cloud-managedkafka package uses inline types.
@@ -0,0 +1,86 @@
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.managedkafka_v1 import gapic_version as package_version
17
+
18
+ __version__ = package_version.__version__
19
+
20
+
21
+ from .services.managed_kafka import ManagedKafkaAsyncClient, ManagedKafkaClient
22
+ from .types.managed_kafka import (
23
+ CreateClusterRequest,
24
+ CreateTopicRequest,
25
+ DeleteClusterRequest,
26
+ DeleteConsumerGroupRequest,
27
+ DeleteTopicRequest,
28
+ GetClusterRequest,
29
+ GetConsumerGroupRequest,
30
+ GetTopicRequest,
31
+ ListClustersRequest,
32
+ ListClustersResponse,
33
+ ListConsumerGroupsRequest,
34
+ ListConsumerGroupsResponse,
35
+ ListTopicsRequest,
36
+ ListTopicsResponse,
37
+ UpdateClusterRequest,
38
+ UpdateConsumerGroupRequest,
39
+ UpdateTopicRequest,
40
+ )
41
+ from .types.resources import (
42
+ AccessConfig,
43
+ CapacityConfig,
44
+ Cluster,
45
+ ConsumerGroup,
46
+ ConsumerPartitionMetadata,
47
+ ConsumerTopicMetadata,
48
+ GcpConfig,
49
+ NetworkConfig,
50
+ OperationMetadata,
51
+ RebalanceConfig,
52
+ Topic,
53
+ )
54
+
55
+ __all__ = (
56
+ "ManagedKafkaAsyncClient",
57
+ "AccessConfig",
58
+ "CapacityConfig",
59
+ "Cluster",
60
+ "ConsumerGroup",
61
+ "ConsumerPartitionMetadata",
62
+ "ConsumerTopicMetadata",
63
+ "CreateClusterRequest",
64
+ "CreateTopicRequest",
65
+ "DeleteClusterRequest",
66
+ "DeleteConsumerGroupRequest",
67
+ "DeleteTopicRequest",
68
+ "GcpConfig",
69
+ "GetClusterRequest",
70
+ "GetConsumerGroupRequest",
71
+ "GetTopicRequest",
72
+ "ListClustersRequest",
73
+ "ListClustersResponse",
74
+ "ListConsumerGroupsRequest",
75
+ "ListConsumerGroupsResponse",
76
+ "ListTopicsRequest",
77
+ "ListTopicsResponse",
78
+ "ManagedKafkaClient",
79
+ "NetworkConfig",
80
+ "OperationMetadata",
81
+ "RebalanceConfig",
82
+ "Topic",
83
+ "UpdateClusterRequest",
84
+ "UpdateConsumerGroupRequest",
85
+ "UpdateTopicRequest",
86
+ )
@@ -0,0 +1,238 @@
1
+ {
2
+ "comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3
+ "language": "python",
4
+ "libraryPackage": "google.cloud.managedkafka_v1",
5
+ "protoPackage": "google.cloud.managedkafka.v1",
6
+ "schema": "1.0",
7
+ "services": {
8
+ "ManagedKafka": {
9
+ "clients": {
10
+ "grpc": {
11
+ "libraryClient": "ManagedKafkaClient",
12
+ "rpcs": {
13
+ "CreateCluster": {
14
+ "methods": [
15
+ "create_cluster"
16
+ ]
17
+ },
18
+ "CreateTopic": {
19
+ "methods": [
20
+ "create_topic"
21
+ ]
22
+ },
23
+ "DeleteCluster": {
24
+ "methods": [
25
+ "delete_cluster"
26
+ ]
27
+ },
28
+ "DeleteConsumerGroup": {
29
+ "methods": [
30
+ "delete_consumer_group"
31
+ ]
32
+ },
33
+ "DeleteTopic": {
34
+ "methods": [
35
+ "delete_topic"
36
+ ]
37
+ },
38
+ "GetCluster": {
39
+ "methods": [
40
+ "get_cluster"
41
+ ]
42
+ },
43
+ "GetConsumerGroup": {
44
+ "methods": [
45
+ "get_consumer_group"
46
+ ]
47
+ },
48
+ "GetTopic": {
49
+ "methods": [
50
+ "get_topic"
51
+ ]
52
+ },
53
+ "ListClusters": {
54
+ "methods": [
55
+ "list_clusters"
56
+ ]
57
+ },
58
+ "ListConsumerGroups": {
59
+ "methods": [
60
+ "list_consumer_groups"
61
+ ]
62
+ },
63
+ "ListTopics": {
64
+ "methods": [
65
+ "list_topics"
66
+ ]
67
+ },
68
+ "UpdateCluster": {
69
+ "methods": [
70
+ "update_cluster"
71
+ ]
72
+ },
73
+ "UpdateConsumerGroup": {
74
+ "methods": [
75
+ "update_consumer_group"
76
+ ]
77
+ },
78
+ "UpdateTopic": {
79
+ "methods": [
80
+ "update_topic"
81
+ ]
82
+ }
83
+ }
84
+ },
85
+ "grpc-async": {
86
+ "libraryClient": "ManagedKafkaAsyncClient",
87
+ "rpcs": {
88
+ "CreateCluster": {
89
+ "methods": [
90
+ "create_cluster"
91
+ ]
92
+ },
93
+ "CreateTopic": {
94
+ "methods": [
95
+ "create_topic"
96
+ ]
97
+ },
98
+ "DeleteCluster": {
99
+ "methods": [
100
+ "delete_cluster"
101
+ ]
102
+ },
103
+ "DeleteConsumerGroup": {
104
+ "methods": [
105
+ "delete_consumer_group"
106
+ ]
107
+ },
108
+ "DeleteTopic": {
109
+ "methods": [
110
+ "delete_topic"
111
+ ]
112
+ },
113
+ "GetCluster": {
114
+ "methods": [
115
+ "get_cluster"
116
+ ]
117
+ },
118
+ "GetConsumerGroup": {
119
+ "methods": [
120
+ "get_consumer_group"
121
+ ]
122
+ },
123
+ "GetTopic": {
124
+ "methods": [
125
+ "get_topic"
126
+ ]
127
+ },
128
+ "ListClusters": {
129
+ "methods": [
130
+ "list_clusters"
131
+ ]
132
+ },
133
+ "ListConsumerGroups": {
134
+ "methods": [
135
+ "list_consumer_groups"
136
+ ]
137
+ },
138
+ "ListTopics": {
139
+ "methods": [
140
+ "list_topics"
141
+ ]
142
+ },
143
+ "UpdateCluster": {
144
+ "methods": [
145
+ "update_cluster"
146
+ ]
147
+ },
148
+ "UpdateConsumerGroup": {
149
+ "methods": [
150
+ "update_consumer_group"
151
+ ]
152
+ },
153
+ "UpdateTopic": {
154
+ "methods": [
155
+ "update_topic"
156
+ ]
157
+ }
158
+ }
159
+ },
160
+ "rest": {
161
+ "libraryClient": "ManagedKafkaClient",
162
+ "rpcs": {
163
+ "CreateCluster": {
164
+ "methods": [
165
+ "create_cluster"
166
+ ]
167
+ },
168
+ "CreateTopic": {
169
+ "methods": [
170
+ "create_topic"
171
+ ]
172
+ },
173
+ "DeleteCluster": {
174
+ "methods": [
175
+ "delete_cluster"
176
+ ]
177
+ },
178
+ "DeleteConsumerGroup": {
179
+ "methods": [
180
+ "delete_consumer_group"
181
+ ]
182
+ },
183
+ "DeleteTopic": {
184
+ "methods": [
185
+ "delete_topic"
186
+ ]
187
+ },
188
+ "GetCluster": {
189
+ "methods": [
190
+ "get_cluster"
191
+ ]
192
+ },
193
+ "GetConsumerGroup": {
194
+ "methods": [
195
+ "get_consumer_group"
196
+ ]
197
+ },
198
+ "GetTopic": {
199
+ "methods": [
200
+ "get_topic"
201
+ ]
202
+ },
203
+ "ListClusters": {
204
+ "methods": [
205
+ "list_clusters"
206
+ ]
207
+ },
208
+ "ListConsumerGroups": {
209
+ "methods": [
210
+ "list_consumer_groups"
211
+ ]
212
+ },
213
+ "ListTopics": {
214
+ "methods": [
215
+ "list_topics"
216
+ ]
217
+ },
218
+ "UpdateCluster": {
219
+ "methods": [
220
+ "update_cluster"
221
+ ]
222
+ },
223
+ "UpdateConsumerGroup": {
224
+ "methods": [
225
+ "update_consumer_group"
226
+ ]
227
+ },
228
+ "UpdateTopic": {
229
+ "methods": [
230
+ "update_topic"
231
+ ]
232
+ }
233
+ }
234
+ }
235
+ }
236
+ }
237
+ }
238
+ }
@@ -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.1.0" # {x-release-please-version}
@@ -0,0 +1,2 @@
1
+ # Marker file for PEP 561.
2
+ # The google-cloud-managedkafka package uses inline types.
@@ -0,0 +1,15 @@
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
+ #
@@ -0,0 +1,22 @@
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 .async_client import ManagedKafkaAsyncClient
17
+ from .client import ManagedKafkaClient
18
+
19
+ __all__ = (
20
+ "ManagedKafkaClient",
21
+ "ManagedKafkaAsyncClient",
22
+ )