google-cloud-chronicle 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 (68) hide show
  1. google/cloud/chronicle/__init__.py +194 -0
  2. google/cloud/chronicle/gapic_version.py +16 -0
  3. google/cloud/chronicle/py.typed +2 -0
  4. google/cloud/chronicle_v1/__init__.py +179 -0
  5. google/cloud/chronicle_v1/gapic_metadata.json +584 -0
  6. google/cloud/chronicle_v1/gapic_version.py +16 -0
  7. google/cloud/chronicle_v1/py.typed +2 -0
  8. google/cloud/chronicle_v1/services/__init__.py +15 -0
  9. google/cloud/chronicle_v1/services/data_access_control_service/__init__.py +22 -0
  10. google/cloud/chronicle_v1/services/data_access_control_service/async_client.py +1813 -0
  11. google/cloud/chronicle_v1/services/data_access_control_service/client.py +2236 -0
  12. google/cloud/chronicle_v1/services/data_access_control_service/pagers.py +361 -0
  13. google/cloud/chronicle_v1/services/data_access_control_service/transports/__init__.py +41 -0
  14. google/cloud/chronicle_v1/services/data_access_control_service/transports/base.py +402 -0
  15. google/cloud/chronicle_v1/services/data_access_control_service/transports/grpc.py +703 -0
  16. google/cloud/chronicle_v1/services/data_access_control_service/transports/grpc_asyncio.py +831 -0
  17. google/cloud/chronicle_v1/services/data_access_control_service/transports/rest.py +2884 -0
  18. google/cloud/chronicle_v1/services/data_access_control_service/transports/rest_base.py +713 -0
  19. google/cloud/chronicle_v1/services/entity_service/__init__.py +22 -0
  20. google/cloud/chronicle_v1/services/entity_service/async_client.py +1150 -0
  21. google/cloud/chronicle_v1/services/entity_service/client.py +1573 -0
  22. google/cloud/chronicle_v1/services/entity_service/pagers.py +197 -0
  23. google/cloud/chronicle_v1/services/entity_service/transports/__init__.py +36 -0
  24. google/cloud/chronicle_v1/services/entity_service/transports/base.py +290 -0
  25. google/cloud/chronicle_v1/services/entity_service/transports/grpc.py +532 -0
  26. google/cloud/chronicle_v1/services/entity_service/transports/grpc_asyncio.py +617 -0
  27. google/cloud/chronicle_v1/services/entity_service/transports/rest.py +1764 -0
  28. google/cloud/chronicle_v1/services/entity_service/transports/rest_base.py +454 -0
  29. google/cloud/chronicle_v1/services/instance_service/__init__.py +22 -0
  30. google/cloud/chronicle_v1/services/instance_service/async_client.py +637 -0
  31. google/cloud/chronicle_v1/services/instance_service/client.py +1072 -0
  32. google/cloud/chronicle_v1/services/instance_service/transports/__init__.py +36 -0
  33. google/cloud/chronicle_v1/services/instance_service/transports/base.py +224 -0
  34. google/cloud/chronicle_v1/services/instance_service/transports/grpc.py +428 -0
  35. google/cloud/chronicle_v1/services/instance_service/transports/grpc_asyncio.py +480 -0
  36. google/cloud/chronicle_v1/services/instance_service/transports/rest.py +990 -0
  37. google/cloud/chronicle_v1/services/instance_service/transports/rest_base.py +245 -0
  38. google/cloud/chronicle_v1/services/reference_list_service/__init__.py +22 -0
  39. google/cloud/chronicle_v1/services/reference_list_service/async_client.py +1062 -0
  40. google/cloud/chronicle_v1/services/reference_list_service/client.py +1489 -0
  41. google/cloud/chronicle_v1/services/reference_list_service/pagers.py +197 -0
  42. google/cloud/chronicle_v1/services/reference_list_service/transports/__init__.py +38 -0
  43. google/cloud/chronicle_v1/services/reference_list_service/transports/base.py +285 -0
  44. google/cloud/chronicle_v1/services/reference_list_service/transports/grpc.py +518 -0
  45. google/cloud/chronicle_v1/services/reference_list_service/transports/grpc_asyncio.py +595 -0
  46. google/cloud/chronicle_v1/services/reference_list_service/transports/rest.py +1696 -0
  47. google/cloud/chronicle_v1/services/reference_list_service/transports/rest_base.py +409 -0
  48. google/cloud/chronicle_v1/services/rule_service/__init__.py +22 -0
  49. google/cloud/chronicle_v1/services/rule_service/async_client.py +1998 -0
  50. google/cloud/chronicle_v1/services/rule_service/client.py +2487 -0
  51. google/cloud/chronicle_v1/services/rule_service/pagers.py +665 -0
  52. google/cloud/chronicle_v1/services/rule_service/transports/__init__.py +36 -0
  53. google/cloud/chronicle_v1/services/rule_service/transports/base.py +437 -0
  54. google/cloud/chronicle_v1/services/rule_service/transports/grpc.py +724 -0
  55. google/cloud/chronicle_v1/services/rule_service/transports/grpc_asyncio.py +899 -0
  56. google/cloud/chronicle_v1/services/rule_service/transports/rest.py +3308 -0
  57. google/cloud/chronicle_v1/services/rule_service/transports/rest_base.py +806 -0
  58. google/cloud/chronicle_v1/types/__init__.py +153 -0
  59. google/cloud/chronicle_v1/types/data_access_control.py +658 -0
  60. google/cloud/chronicle_v1/types/entity.py +351 -0
  61. google/cloud/chronicle_v1/types/instance.py +62 -0
  62. google/cloud/chronicle_v1/types/reference_list.py +383 -0
  63. google/cloud/chronicle_v1/types/rule.py +1161 -0
  64. google_cloud_chronicle-0.1.0.dist-info/LICENSE +202 -0
  65. google_cloud_chronicle-0.1.0.dist-info/METADATA +228 -0
  66. google_cloud_chronicle-0.1.0.dist-info/RECORD +68 -0
  67. google_cloud_chronicle-0.1.0.dist-info/WHEEL +5 -0
  68. google_cloud_chronicle-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,194 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright 2025 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.chronicle import gapic_version as package_version
17
+
18
+ __version__ = package_version.__version__
19
+
20
+
21
+ from google.cloud.chronicle_v1.services.data_access_control_service.async_client import (
22
+ DataAccessControlServiceAsyncClient,
23
+ )
24
+ from google.cloud.chronicle_v1.services.data_access_control_service.client import (
25
+ DataAccessControlServiceClient,
26
+ )
27
+ from google.cloud.chronicle_v1.services.entity_service.async_client import (
28
+ EntityServiceAsyncClient,
29
+ )
30
+ from google.cloud.chronicle_v1.services.entity_service.client import EntityServiceClient
31
+ from google.cloud.chronicle_v1.services.instance_service.async_client import (
32
+ InstanceServiceAsyncClient,
33
+ )
34
+ from google.cloud.chronicle_v1.services.instance_service.client import (
35
+ InstanceServiceClient,
36
+ )
37
+ from google.cloud.chronicle_v1.services.reference_list_service.async_client import (
38
+ ReferenceListServiceAsyncClient,
39
+ )
40
+ from google.cloud.chronicle_v1.services.reference_list_service.client import (
41
+ ReferenceListServiceClient,
42
+ )
43
+ from google.cloud.chronicle_v1.services.rule_service.async_client import (
44
+ RuleServiceAsyncClient,
45
+ )
46
+ from google.cloud.chronicle_v1.services.rule_service.client import RuleServiceClient
47
+ from google.cloud.chronicle_v1.types.data_access_control import (
48
+ CreateDataAccessLabelRequest,
49
+ CreateDataAccessScopeRequest,
50
+ DataAccessLabel,
51
+ DataAccessLabelReference,
52
+ DataAccessScope,
53
+ DeleteDataAccessLabelRequest,
54
+ DeleteDataAccessScopeRequest,
55
+ GetDataAccessLabelRequest,
56
+ GetDataAccessScopeRequest,
57
+ IngestionLabel,
58
+ ListDataAccessLabelsRequest,
59
+ ListDataAccessLabelsResponse,
60
+ ListDataAccessScopesRequest,
61
+ ListDataAccessScopesResponse,
62
+ UpdateDataAccessLabelRequest,
63
+ UpdateDataAccessScopeRequest,
64
+ )
65
+ from google.cloud.chronicle_v1.types.entity import (
66
+ CreateWatchlistRequest,
67
+ DeleteWatchlistRequest,
68
+ GetWatchlistRequest,
69
+ ListWatchlistsRequest,
70
+ ListWatchlistsResponse,
71
+ UpdateWatchlistRequest,
72
+ Watchlist,
73
+ WatchlistUserPreferences,
74
+ )
75
+ from google.cloud.chronicle_v1.types.instance import GetInstanceRequest, Instance
76
+ from google.cloud.chronicle_v1.types.reference_list import (
77
+ CreateReferenceListRequest,
78
+ GetReferenceListRequest,
79
+ ListReferenceListsRequest,
80
+ ListReferenceListsResponse,
81
+ ReferenceList,
82
+ ReferenceListEntry,
83
+ ReferenceListScope,
84
+ ReferenceListSyntaxType,
85
+ ReferenceListView,
86
+ ScopeInfo,
87
+ UpdateReferenceListRequest,
88
+ )
89
+ from google.cloud.chronicle_v1.types.rule import (
90
+ CompilationDiagnostic,
91
+ CompilationPosition,
92
+ CreateRetrohuntRequest,
93
+ CreateRuleRequest,
94
+ DeleteRuleRequest,
95
+ GetRetrohuntRequest,
96
+ GetRuleDeploymentRequest,
97
+ GetRuleRequest,
98
+ InputsUsed,
99
+ ListRetrohuntsRequest,
100
+ ListRetrohuntsResponse,
101
+ ListRuleDeploymentsRequest,
102
+ ListRuleDeploymentsResponse,
103
+ ListRuleRevisionsRequest,
104
+ ListRuleRevisionsResponse,
105
+ ListRulesRequest,
106
+ ListRulesResponse,
107
+ Retrohunt,
108
+ RetrohuntMetadata,
109
+ Rule,
110
+ RuleDeployment,
111
+ RuleType,
112
+ RuleView,
113
+ RunFrequency,
114
+ Severity,
115
+ UpdateRuleDeploymentRequest,
116
+ UpdateRuleRequest,
117
+ )
118
+
119
+ __all__ = (
120
+ "DataAccessControlServiceClient",
121
+ "DataAccessControlServiceAsyncClient",
122
+ "EntityServiceClient",
123
+ "EntityServiceAsyncClient",
124
+ "InstanceServiceClient",
125
+ "InstanceServiceAsyncClient",
126
+ "ReferenceListServiceClient",
127
+ "ReferenceListServiceAsyncClient",
128
+ "RuleServiceClient",
129
+ "RuleServiceAsyncClient",
130
+ "CreateDataAccessLabelRequest",
131
+ "CreateDataAccessScopeRequest",
132
+ "DataAccessLabel",
133
+ "DataAccessLabelReference",
134
+ "DataAccessScope",
135
+ "DeleteDataAccessLabelRequest",
136
+ "DeleteDataAccessScopeRequest",
137
+ "GetDataAccessLabelRequest",
138
+ "GetDataAccessScopeRequest",
139
+ "IngestionLabel",
140
+ "ListDataAccessLabelsRequest",
141
+ "ListDataAccessLabelsResponse",
142
+ "ListDataAccessScopesRequest",
143
+ "ListDataAccessScopesResponse",
144
+ "UpdateDataAccessLabelRequest",
145
+ "UpdateDataAccessScopeRequest",
146
+ "CreateWatchlistRequest",
147
+ "DeleteWatchlistRequest",
148
+ "GetWatchlistRequest",
149
+ "ListWatchlistsRequest",
150
+ "ListWatchlistsResponse",
151
+ "UpdateWatchlistRequest",
152
+ "Watchlist",
153
+ "WatchlistUserPreferences",
154
+ "GetInstanceRequest",
155
+ "Instance",
156
+ "CreateReferenceListRequest",
157
+ "GetReferenceListRequest",
158
+ "ListReferenceListsRequest",
159
+ "ListReferenceListsResponse",
160
+ "ReferenceList",
161
+ "ReferenceListEntry",
162
+ "ReferenceListScope",
163
+ "ScopeInfo",
164
+ "UpdateReferenceListRequest",
165
+ "ReferenceListSyntaxType",
166
+ "ReferenceListView",
167
+ "CompilationDiagnostic",
168
+ "CompilationPosition",
169
+ "CreateRetrohuntRequest",
170
+ "CreateRuleRequest",
171
+ "DeleteRuleRequest",
172
+ "GetRetrohuntRequest",
173
+ "GetRuleDeploymentRequest",
174
+ "GetRuleRequest",
175
+ "InputsUsed",
176
+ "ListRetrohuntsRequest",
177
+ "ListRetrohuntsResponse",
178
+ "ListRuleDeploymentsRequest",
179
+ "ListRuleDeploymentsResponse",
180
+ "ListRuleRevisionsRequest",
181
+ "ListRuleRevisionsResponse",
182
+ "ListRulesRequest",
183
+ "ListRulesResponse",
184
+ "Retrohunt",
185
+ "RetrohuntMetadata",
186
+ "Rule",
187
+ "RuleDeployment",
188
+ "Severity",
189
+ "UpdateRuleDeploymentRequest",
190
+ "UpdateRuleRequest",
191
+ "RuleType",
192
+ "RuleView",
193
+ "RunFrequency",
194
+ )
@@ -0,0 +1,16 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright 2025 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-chronicle package uses inline types.
@@ -0,0 +1,179 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright 2025 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.chronicle_v1 import gapic_version as package_version
17
+
18
+ __version__ = package_version.__version__
19
+
20
+
21
+ from .services.data_access_control_service import (
22
+ DataAccessControlServiceAsyncClient,
23
+ DataAccessControlServiceClient,
24
+ )
25
+ from .services.entity_service import EntityServiceAsyncClient, EntityServiceClient
26
+ from .services.instance_service import InstanceServiceAsyncClient, InstanceServiceClient
27
+ from .services.reference_list_service import (
28
+ ReferenceListServiceAsyncClient,
29
+ ReferenceListServiceClient,
30
+ )
31
+ from .services.rule_service import RuleServiceAsyncClient, RuleServiceClient
32
+ from .types.data_access_control import (
33
+ CreateDataAccessLabelRequest,
34
+ CreateDataAccessScopeRequest,
35
+ DataAccessLabel,
36
+ DataAccessLabelReference,
37
+ DataAccessScope,
38
+ DeleteDataAccessLabelRequest,
39
+ DeleteDataAccessScopeRequest,
40
+ GetDataAccessLabelRequest,
41
+ GetDataAccessScopeRequest,
42
+ IngestionLabel,
43
+ ListDataAccessLabelsRequest,
44
+ ListDataAccessLabelsResponse,
45
+ ListDataAccessScopesRequest,
46
+ ListDataAccessScopesResponse,
47
+ UpdateDataAccessLabelRequest,
48
+ UpdateDataAccessScopeRequest,
49
+ )
50
+ from .types.entity import (
51
+ CreateWatchlistRequest,
52
+ DeleteWatchlistRequest,
53
+ GetWatchlistRequest,
54
+ ListWatchlistsRequest,
55
+ ListWatchlistsResponse,
56
+ UpdateWatchlistRequest,
57
+ Watchlist,
58
+ WatchlistUserPreferences,
59
+ )
60
+ from .types.instance import GetInstanceRequest, Instance
61
+ from .types.reference_list import (
62
+ CreateReferenceListRequest,
63
+ GetReferenceListRequest,
64
+ ListReferenceListsRequest,
65
+ ListReferenceListsResponse,
66
+ ReferenceList,
67
+ ReferenceListEntry,
68
+ ReferenceListScope,
69
+ ReferenceListSyntaxType,
70
+ ReferenceListView,
71
+ ScopeInfo,
72
+ UpdateReferenceListRequest,
73
+ )
74
+ from .types.rule import (
75
+ CompilationDiagnostic,
76
+ CompilationPosition,
77
+ CreateRetrohuntRequest,
78
+ CreateRuleRequest,
79
+ DeleteRuleRequest,
80
+ GetRetrohuntRequest,
81
+ GetRuleDeploymentRequest,
82
+ GetRuleRequest,
83
+ InputsUsed,
84
+ ListRetrohuntsRequest,
85
+ ListRetrohuntsResponse,
86
+ ListRuleDeploymentsRequest,
87
+ ListRuleDeploymentsResponse,
88
+ ListRuleRevisionsRequest,
89
+ ListRuleRevisionsResponse,
90
+ ListRulesRequest,
91
+ ListRulesResponse,
92
+ Retrohunt,
93
+ RetrohuntMetadata,
94
+ Rule,
95
+ RuleDeployment,
96
+ RuleType,
97
+ RuleView,
98
+ RunFrequency,
99
+ Severity,
100
+ UpdateRuleDeploymentRequest,
101
+ UpdateRuleRequest,
102
+ )
103
+
104
+ __all__ = (
105
+ "DataAccessControlServiceAsyncClient",
106
+ "EntityServiceAsyncClient",
107
+ "InstanceServiceAsyncClient",
108
+ "ReferenceListServiceAsyncClient",
109
+ "RuleServiceAsyncClient",
110
+ "CompilationDiagnostic",
111
+ "CompilationPosition",
112
+ "CreateDataAccessLabelRequest",
113
+ "CreateDataAccessScopeRequest",
114
+ "CreateReferenceListRequest",
115
+ "CreateRetrohuntRequest",
116
+ "CreateRuleRequest",
117
+ "CreateWatchlistRequest",
118
+ "DataAccessControlServiceClient",
119
+ "DataAccessLabel",
120
+ "DataAccessLabelReference",
121
+ "DataAccessScope",
122
+ "DeleteDataAccessLabelRequest",
123
+ "DeleteDataAccessScopeRequest",
124
+ "DeleteRuleRequest",
125
+ "DeleteWatchlistRequest",
126
+ "EntityServiceClient",
127
+ "GetDataAccessLabelRequest",
128
+ "GetDataAccessScopeRequest",
129
+ "GetInstanceRequest",
130
+ "GetReferenceListRequest",
131
+ "GetRetrohuntRequest",
132
+ "GetRuleDeploymentRequest",
133
+ "GetRuleRequest",
134
+ "GetWatchlistRequest",
135
+ "IngestionLabel",
136
+ "InputsUsed",
137
+ "Instance",
138
+ "InstanceServiceClient",
139
+ "ListDataAccessLabelsRequest",
140
+ "ListDataAccessLabelsResponse",
141
+ "ListDataAccessScopesRequest",
142
+ "ListDataAccessScopesResponse",
143
+ "ListReferenceListsRequest",
144
+ "ListReferenceListsResponse",
145
+ "ListRetrohuntsRequest",
146
+ "ListRetrohuntsResponse",
147
+ "ListRuleDeploymentsRequest",
148
+ "ListRuleDeploymentsResponse",
149
+ "ListRuleRevisionsRequest",
150
+ "ListRuleRevisionsResponse",
151
+ "ListRulesRequest",
152
+ "ListRulesResponse",
153
+ "ListWatchlistsRequest",
154
+ "ListWatchlistsResponse",
155
+ "ReferenceList",
156
+ "ReferenceListEntry",
157
+ "ReferenceListScope",
158
+ "ReferenceListServiceClient",
159
+ "ReferenceListSyntaxType",
160
+ "ReferenceListView",
161
+ "Retrohunt",
162
+ "RetrohuntMetadata",
163
+ "Rule",
164
+ "RuleDeployment",
165
+ "RuleServiceClient",
166
+ "RuleType",
167
+ "RuleView",
168
+ "RunFrequency",
169
+ "ScopeInfo",
170
+ "Severity",
171
+ "UpdateDataAccessLabelRequest",
172
+ "UpdateDataAccessScopeRequest",
173
+ "UpdateReferenceListRequest",
174
+ "UpdateRuleDeploymentRequest",
175
+ "UpdateRuleRequest",
176
+ "UpdateWatchlistRequest",
177
+ "Watchlist",
178
+ "WatchlistUserPreferences",
179
+ )