google-cloud-network-security 0.9.17__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 (51) hide show
  1. google/cloud/network_security/__init__.py +91 -0
  2. google/cloud/network_security/gapic_version.py +16 -0
  3. google/cloud/network_security/py.typed +2 -0
  4. google/cloud/network_security_v1/__init__.py +86 -0
  5. google/cloud/network_security_v1/gapic_metadata.json +253 -0
  6. google/cloud/network_security_v1/gapic_version.py +16 -0
  7. google/cloud/network_security_v1/py.typed +2 -0
  8. google/cloud/network_security_v1/services/__init__.py +15 -0
  9. google/cloud/network_security_v1/services/network_security/__init__.py +22 -0
  10. google/cloud/network_security_v1/services/network_security/async_client.py +3074 -0
  11. google/cloud/network_security_v1/services/network_security/client.py +3525 -0
  12. google/cloud/network_security_v1/services/network_security/pagers.py +525 -0
  13. google/cloud/network_security_v1/services/network_security/transports/__init__.py +36 -0
  14. google/cloud/network_security_v1/services/network_security/transports/base.py +524 -0
  15. google/cloud/network_security_v1/services/network_security/transports/grpc.py +993 -0
  16. google/cloud/network_security_v1/services/network_security/transports/grpc_asyncio.py +1138 -0
  17. google/cloud/network_security_v1/services/network_security/transports/rest.py +5057 -0
  18. google/cloud/network_security_v1/services/network_security/transports/rest_base.py +1156 -0
  19. google/cloud/network_security_v1/types/__init__.py +78 -0
  20. google/cloud/network_security_v1/types/authorization_policy.py +430 -0
  21. google/cloud/network_security_v1/types/client_tls_policy.py +270 -0
  22. google/cloud/network_security_v1/types/common.py +93 -0
  23. google/cloud/network_security_v1/types/network_security.py +24 -0
  24. google/cloud/network_security_v1/types/server_tls_policy.py +295 -0
  25. google/cloud/network_security_v1/types/tls.py +153 -0
  26. google/cloud/network_security_v1beta1/__init__.py +86 -0
  27. google/cloud/network_security_v1beta1/gapic_metadata.json +173 -0
  28. google/cloud/network_security_v1beta1/gapic_version.py +16 -0
  29. google/cloud/network_security_v1beta1/py.typed +2 -0
  30. google/cloud/network_security_v1beta1/services/__init__.py +15 -0
  31. google/cloud/network_security_v1beta1/services/network_security/__init__.py +22 -0
  32. google/cloud/network_security_v1beta1/services/network_security/async_client.py +3074 -0
  33. google/cloud/network_security_v1beta1/services/network_security/client.py +3523 -0
  34. google/cloud/network_security_v1beta1/services/network_security/pagers.py +525 -0
  35. google/cloud/network_security_v1beta1/services/network_security/transports/__init__.py +32 -0
  36. google/cloud/network_security_v1beta1/services/network_security/transports/base.py +524 -0
  37. google/cloud/network_security_v1beta1/services/network_security/transports/grpc.py +993 -0
  38. google/cloud/network_security_v1beta1/services/network_security/transports/grpc_asyncio.py +1138 -0
  39. google/cloud/network_security_v1beta1/services/network_security/transports/rest.py +3195 -0
  40. google/cloud/network_security_v1beta1/types/__init__.py +78 -0
  41. google/cloud/network_security_v1beta1/types/authorization_policy.py +430 -0
  42. google/cloud/network_security_v1beta1/types/client_tls_policy.py +270 -0
  43. google/cloud/network_security_v1beta1/types/common.py +93 -0
  44. google/cloud/network_security_v1beta1/types/network_security.py +24 -0
  45. google/cloud/network_security_v1beta1/types/server_tls_policy.py +295 -0
  46. google/cloud/network_security_v1beta1/types/tls.py +153 -0
  47. google_cloud_network_security-0.9.17.dist-info/LICENSE +202 -0
  48. google_cloud_network_security-0.9.17.dist-info/METADATA +229 -0
  49. google_cloud_network_security-0.9.17.dist-info/RECORD +51 -0
  50. google_cloud_network_security-0.9.17.dist-info/WHEEL +5 -0
  51. google_cloud_network_security-0.9.17.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.network_security import gapic_version as package_version
17
+
18
+ __version__ = package_version.__version__
19
+
20
+
21
+ from google.cloud.network_security_v1.services.network_security.async_client import (
22
+ NetworkSecurityAsyncClient,
23
+ )
24
+ from google.cloud.network_security_v1.services.network_security.client import (
25
+ NetworkSecurityClient,
26
+ )
27
+ from google.cloud.network_security_v1.types.authorization_policy import (
28
+ AuthorizationPolicy,
29
+ CreateAuthorizationPolicyRequest,
30
+ DeleteAuthorizationPolicyRequest,
31
+ GetAuthorizationPolicyRequest,
32
+ ListAuthorizationPoliciesRequest,
33
+ ListAuthorizationPoliciesResponse,
34
+ UpdateAuthorizationPolicyRequest,
35
+ )
36
+ from google.cloud.network_security_v1.types.client_tls_policy import (
37
+ ClientTlsPolicy,
38
+ CreateClientTlsPolicyRequest,
39
+ DeleteClientTlsPolicyRequest,
40
+ GetClientTlsPolicyRequest,
41
+ ListClientTlsPoliciesRequest,
42
+ ListClientTlsPoliciesResponse,
43
+ UpdateClientTlsPolicyRequest,
44
+ )
45
+ from google.cloud.network_security_v1.types.common import OperationMetadata
46
+ from google.cloud.network_security_v1.types.server_tls_policy import (
47
+ CreateServerTlsPolicyRequest,
48
+ DeleteServerTlsPolicyRequest,
49
+ GetServerTlsPolicyRequest,
50
+ ListServerTlsPoliciesRequest,
51
+ ListServerTlsPoliciesResponse,
52
+ ServerTlsPolicy,
53
+ UpdateServerTlsPolicyRequest,
54
+ )
55
+ from google.cloud.network_security_v1.types.tls import (
56
+ CertificateProvider,
57
+ CertificateProviderInstance,
58
+ GrpcEndpoint,
59
+ ValidationCA,
60
+ )
61
+
62
+ __all__ = (
63
+ "NetworkSecurityClient",
64
+ "NetworkSecurityAsyncClient",
65
+ "AuthorizationPolicy",
66
+ "CreateAuthorizationPolicyRequest",
67
+ "DeleteAuthorizationPolicyRequest",
68
+ "GetAuthorizationPolicyRequest",
69
+ "ListAuthorizationPoliciesRequest",
70
+ "ListAuthorizationPoliciesResponse",
71
+ "UpdateAuthorizationPolicyRequest",
72
+ "ClientTlsPolicy",
73
+ "CreateClientTlsPolicyRequest",
74
+ "DeleteClientTlsPolicyRequest",
75
+ "GetClientTlsPolicyRequest",
76
+ "ListClientTlsPoliciesRequest",
77
+ "ListClientTlsPoliciesResponse",
78
+ "UpdateClientTlsPolicyRequest",
79
+ "OperationMetadata",
80
+ "CreateServerTlsPolicyRequest",
81
+ "DeleteServerTlsPolicyRequest",
82
+ "GetServerTlsPolicyRequest",
83
+ "ListServerTlsPoliciesRequest",
84
+ "ListServerTlsPoliciesResponse",
85
+ "ServerTlsPolicy",
86
+ "UpdateServerTlsPolicyRequest",
87
+ "CertificateProvider",
88
+ "CertificateProviderInstance",
89
+ "GrpcEndpoint",
90
+ "ValidationCA",
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.9.17" # {x-release-please-version}
@@ -0,0 +1,2 @@
1
+ # Marker file for PEP 561.
2
+ # The google-cloud-network-security 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.network_security_v1 import gapic_version as package_version
17
+
18
+ __version__ = package_version.__version__
19
+
20
+
21
+ from .services.network_security import NetworkSecurityAsyncClient, NetworkSecurityClient
22
+ from .types.authorization_policy import (
23
+ AuthorizationPolicy,
24
+ CreateAuthorizationPolicyRequest,
25
+ DeleteAuthorizationPolicyRequest,
26
+ GetAuthorizationPolicyRequest,
27
+ ListAuthorizationPoliciesRequest,
28
+ ListAuthorizationPoliciesResponse,
29
+ UpdateAuthorizationPolicyRequest,
30
+ )
31
+ from .types.client_tls_policy import (
32
+ ClientTlsPolicy,
33
+ CreateClientTlsPolicyRequest,
34
+ DeleteClientTlsPolicyRequest,
35
+ GetClientTlsPolicyRequest,
36
+ ListClientTlsPoliciesRequest,
37
+ ListClientTlsPoliciesResponse,
38
+ UpdateClientTlsPolicyRequest,
39
+ )
40
+ from .types.common import OperationMetadata
41
+ from .types.server_tls_policy import (
42
+ CreateServerTlsPolicyRequest,
43
+ DeleteServerTlsPolicyRequest,
44
+ GetServerTlsPolicyRequest,
45
+ ListServerTlsPoliciesRequest,
46
+ ListServerTlsPoliciesResponse,
47
+ ServerTlsPolicy,
48
+ UpdateServerTlsPolicyRequest,
49
+ )
50
+ from .types.tls import (
51
+ CertificateProvider,
52
+ CertificateProviderInstance,
53
+ GrpcEndpoint,
54
+ ValidationCA,
55
+ )
56
+
57
+ __all__ = (
58
+ "NetworkSecurityAsyncClient",
59
+ "AuthorizationPolicy",
60
+ "CertificateProvider",
61
+ "CertificateProviderInstance",
62
+ "ClientTlsPolicy",
63
+ "CreateAuthorizationPolicyRequest",
64
+ "CreateClientTlsPolicyRequest",
65
+ "CreateServerTlsPolicyRequest",
66
+ "DeleteAuthorizationPolicyRequest",
67
+ "DeleteClientTlsPolicyRequest",
68
+ "DeleteServerTlsPolicyRequest",
69
+ "GetAuthorizationPolicyRequest",
70
+ "GetClientTlsPolicyRequest",
71
+ "GetServerTlsPolicyRequest",
72
+ "GrpcEndpoint",
73
+ "ListAuthorizationPoliciesRequest",
74
+ "ListAuthorizationPoliciesResponse",
75
+ "ListClientTlsPoliciesRequest",
76
+ "ListClientTlsPoliciesResponse",
77
+ "ListServerTlsPoliciesRequest",
78
+ "ListServerTlsPoliciesResponse",
79
+ "NetworkSecurityClient",
80
+ "OperationMetadata",
81
+ "ServerTlsPolicy",
82
+ "UpdateAuthorizationPolicyRequest",
83
+ "UpdateClientTlsPolicyRequest",
84
+ "UpdateServerTlsPolicyRequest",
85
+ "ValidationCA",
86
+ )
@@ -0,0 +1,253 @@
1
+ {
2
+ "comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3
+ "language": "python",
4
+ "libraryPackage": "google.cloud.network_security_v1",
5
+ "protoPackage": "google.cloud.networksecurity.v1",
6
+ "schema": "1.0",
7
+ "services": {
8
+ "NetworkSecurity": {
9
+ "clients": {
10
+ "grpc": {
11
+ "libraryClient": "NetworkSecurityClient",
12
+ "rpcs": {
13
+ "CreateAuthorizationPolicy": {
14
+ "methods": [
15
+ "create_authorization_policy"
16
+ ]
17
+ },
18
+ "CreateClientTlsPolicy": {
19
+ "methods": [
20
+ "create_client_tls_policy"
21
+ ]
22
+ },
23
+ "CreateServerTlsPolicy": {
24
+ "methods": [
25
+ "create_server_tls_policy"
26
+ ]
27
+ },
28
+ "DeleteAuthorizationPolicy": {
29
+ "methods": [
30
+ "delete_authorization_policy"
31
+ ]
32
+ },
33
+ "DeleteClientTlsPolicy": {
34
+ "methods": [
35
+ "delete_client_tls_policy"
36
+ ]
37
+ },
38
+ "DeleteServerTlsPolicy": {
39
+ "methods": [
40
+ "delete_server_tls_policy"
41
+ ]
42
+ },
43
+ "GetAuthorizationPolicy": {
44
+ "methods": [
45
+ "get_authorization_policy"
46
+ ]
47
+ },
48
+ "GetClientTlsPolicy": {
49
+ "methods": [
50
+ "get_client_tls_policy"
51
+ ]
52
+ },
53
+ "GetServerTlsPolicy": {
54
+ "methods": [
55
+ "get_server_tls_policy"
56
+ ]
57
+ },
58
+ "ListAuthorizationPolicies": {
59
+ "methods": [
60
+ "list_authorization_policies"
61
+ ]
62
+ },
63
+ "ListClientTlsPolicies": {
64
+ "methods": [
65
+ "list_client_tls_policies"
66
+ ]
67
+ },
68
+ "ListServerTlsPolicies": {
69
+ "methods": [
70
+ "list_server_tls_policies"
71
+ ]
72
+ },
73
+ "UpdateAuthorizationPolicy": {
74
+ "methods": [
75
+ "update_authorization_policy"
76
+ ]
77
+ },
78
+ "UpdateClientTlsPolicy": {
79
+ "methods": [
80
+ "update_client_tls_policy"
81
+ ]
82
+ },
83
+ "UpdateServerTlsPolicy": {
84
+ "methods": [
85
+ "update_server_tls_policy"
86
+ ]
87
+ }
88
+ }
89
+ },
90
+ "grpc-async": {
91
+ "libraryClient": "NetworkSecurityAsyncClient",
92
+ "rpcs": {
93
+ "CreateAuthorizationPolicy": {
94
+ "methods": [
95
+ "create_authorization_policy"
96
+ ]
97
+ },
98
+ "CreateClientTlsPolicy": {
99
+ "methods": [
100
+ "create_client_tls_policy"
101
+ ]
102
+ },
103
+ "CreateServerTlsPolicy": {
104
+ "methods": [
105
+ "create_server_tls_policy"
106
+ ]
107
+ },
108
+ "DeleteAuthorizationPolicy": {
109
+ "methods": [
110
+ "delete_authorization_policy"
111
+ ]
112
+ },
113
+ "DeleteClientTlsPolicy": {
114
+ "methods": [
115
+ "delete_client_tls_policy"
116
+ ]
117
+ },
118
+ "DeleteServerTlsPolicy": {
119
+ "methods": [
120
+ "delete_server_tls_policy"
121
+ ]
122
+ },
123
+ "GetAuthorizationPolicy": {
124
+ "methods": [
125
+ "get_authorization_policy"
126
+ ]
127
+ },
128
+ "GetClientTlsPolicy": {
129
+ "methods": [
130
+ "get_client_tls_policy"
131
+ ]
132
+ },
133
+ "GetServerTlsPolicy": {
134
+ "methods": [
135
+ "get_server_tls_policy"
136
+ ]
137
+ },
138
+ "ListAuthorizationPolicies": {
139
+ "methods": [
140
+ "list_authorization_policies"
141
+ ]
142
+ },
143
+ "ListClientTlsPolicies": {
144
+ "methods": [
145
+ "list_client_tls_policies"
146
+ ]
147
+ },
148
+ "ListServerTlsPolicies": {
149
+ "methods": [
150
+ "list_server_tls_policies"
151
+ ]
152
+ },
153
+ "UpdateAuthorizationPolicy": {
154
+ "methods": [
155
+ "update_authorization_policy"
156
+ ]
157
+ },
158
+ "UpdateClientTlsPolicy": {
159
+ "methods": [
160
+ "update_client_tls_policy"
161
+ ]
162
+ },
163
+ "UpdateServerTlsPolicy": {
164
+ "methods": [
165
+ "update_server_tls_policy"
166
+ ]
167
+ }
168
+ }
169
+ },
170
+ "rest": {
171
+ "libraryClient": "NetworkSecurityClient",
172
+ "rpcs": {
173
+ "CreateAuthorizationPolicy": {
174
+ "methods": [
175
+ "create_authorization_policy"
176
+ ]
177
+ },
178
+ "CreateClientTlsPolicy": {
179
+ "methods": [
180
+ "create_client_tls_policy"
181
+ ]
182
+ },
183
+ "CreateServerTlsPolicy": {
184
+ "methods": [
185
+ "create_server_tls_policy"
186
+ ]
187
+ },
188
+ "DeleteAuthorizationPolicy": {
189
+ "methods": [
190
+ "delete_authorization_policy"
191
+ ]
192
+ },
193
+ "DeleteClientTlsPolicy": {
194
+ "methods": [
195
+ "delete_client_tls_policy"
196
+ ]
197
+ },
198
+ "DeleteServerTlsPolicy": {
199
+ "methods": [
200
+ "delete_server_tls_policy"
201
+ ]
202
+ },
203
+ "GetAuthorizationPolicy": {
204
+ "methods": [
205
+ "get_authorization_policy"
206
+ ]
207
+ },
208
+ "GetClientTlsPolicy": {
209
+ "methods": [
210
+ "get_client_tls_policy"
211
+ ]
212
+ },
213
+ "GetServerTlsPolicy": {
214
+ "methods": [
215
+ "get_server_tls_policy"
216
+ ]
217
+ },
218
+ "ListAuthorizationPolicies": {
219
+ "methods": [
220
+ "list_authorization_policies"
221
+ ]
222
+ },
223
+ "ListClientTlsPolicies": {
224
+ "methods": [
225
+ "list_client_tls_policies"
226
+ ]
227
+ },
228
+ "ListServerTlsPolicies": {
229
+ "methods": [
230
+ "list_server_tls_policies"
231
+ ]
232
+ },
233
+ "UpdateAuthorizationPolicy": {
234
+ "methods": [
235
+ "update_authorization_policy"
236
+ ]
237
+ },
238
+ "UpdateClientTlsPolicy": {
239
+ "methods": [
240
+ "update_client_tls_policy"
241
+ ]
242
+ },
243
+ "UpdateServerTlsPolicy": {
244
+ "methods": [
245
+ "update_server_tls_policy"
246
+ ]
247
+ }
248
+ }
249
+ }
250
+ }
251
+ }
252
+ }
253
+ }
@@ -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.9.17" # {x-release-please-version}
@@ -0,0 +1,2 @@
1
+ # Marker file for PEP 561.
2
+ # The google-cloud-network-security 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 NetworkSecurityAsyncClient
17
+ from .client import NetworkSecurityClient
18
+
19
+ __all__ = (
20
+ "NetworkSecurityClient",
21
+ "NetworkSecurityAsyncClient",
22
+ )