strongdm 15.14.0__zip → 15.16.0__zip
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.
- {strongdm-15.14.0 → strongdm-15.16.0}/PKG-INFO +4 -4
- {strongdm-15.14.0 → strongdm-15.16.0}/README.md +2 -2
- {strongdm-15.14.0 → strongdm-15.16.0}/setup.py +2 -2
- strongdm-15.16.0/strongdm/accounts_groups_history_pb2.py +100 -0
- strongdm-15.16.0/strongdm/accounts_groups_history_pb2_grpc.py +84 -0
- strongdm-15.16.0/strongdm/accounts_groups_pb2.py +194 -0
- strongdm-15.16.0/strongdm/accounts_groups_pb2_grpc.py +186 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/approval_workflows_pb2.py +5 -5
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/client.py +59 -1
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/constants.py +7 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/drivers_pb2.py +262 -220
- strongdm-15.16.0/strongdm/groups_history_pb2.py +100 -0
- strongdm-15.16.0/strongdm/groups_history_pb2_grpc.py +84 -0
- strongdm-15.16.0/strongdm/groups_pb2.py +290 -0
- strongdm-15.16.0/strongdm/groups_pb2_grpc.py +253 -0
- strongdm-15.16.0/strongdm/groups_roles_history_pb2.py +100 -0
- strongdm-15.16.0/strongdm/groups_roles_history_pb2_grpc.py +84 -0
- strongdm-15.16.0/strongdm/groups_roles_pb2.py +200 -0
- strongdm-15.16.0/strongdm/groups_roles_pb2_grpc.py +186 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/models.py +6643 -4987
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/plumbing.py +1256 -11
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/svc.py +759 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm.egg-info/PKG-INFO +4 -4
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm.egg-info/SOURCES.txt +12 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/LICENSE +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/setup.cfg +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/__init__.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/access_request_events_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/access_request_events_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/access_requests_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/access_requests_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/access_requests_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/access_requests_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/account_attachments_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/account_attachments_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/account_attachments_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/account_attachments_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/account_grants_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/account_grants_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/account_grants_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/account_grants_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/account_permissions_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/account_permissions_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/account_resources_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/account_resources_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/account_resources_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/account_resources_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/accounts_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/accounts_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/accounts_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/accounts_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/activities_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/activities_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/approval_workflow_approvers_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/approval_workflow_approvers_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/approval_workflow_approvers_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/approval_workflow_approvers_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/approval_workflow_steps_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/approval_workflow_steps_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/approval_workflow_steps_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/approval_workflow_steps_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/approval_workflows_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/approval_workflows_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/approval_workflows_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/control_panel_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/control_panel_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/drivers_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/errors.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/health_checks_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/health_checks_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/identity_aliases_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/identity_aliases_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/identity_aliases_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/identity_aliases_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/identity_sets_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/identity_sets_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/identity_sets_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/identity_sets_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/managed_secrets_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/managed_secrets_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/nodes_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/nodes_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/nodes_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/nodes_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/options_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/options_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/organization_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/organization_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/peering_group_nodes_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/peering_group_nodes_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/peering_group_peers_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/peering_group_peers_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/peering_group_resources_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/peering_group_resources_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/peering_groups_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/peering_groups_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/policies_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/policies_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/policies_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/policies_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/proxy_cluster_keys_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/proxy_cluster_keys_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/queries_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/queries_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/remote_identities_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/remote_identities_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/remote_identities_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/remote_identities_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/remote_identity_groups_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/remote_identity_groups_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/remote_identity_groups_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/remote_identity_groups_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/replays_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/replays_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/resources_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/resources_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/resources_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/resources_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/role_resources_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/role_resources_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/role_resources_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/role_resources_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/roles_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/roles_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/roles_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/roles_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/secret_engine_policy_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/secret_engine_policy_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/secret_engine_types_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/secret_engine_types_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/secret_engines_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/secret_engines_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/secret_store_healths_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/secret_store_healths_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/secret_store_types_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/secret_store_types_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/secret_stores_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/secret_stores_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/secret_stores_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/secret_stores_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/spec_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/spec_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/tags_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/tags_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/workflow_approvers_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/workflow_approvers_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/workflow_approvers_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/workflow_approvers_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/workflow_roles_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/workflow_roles_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/workflow_roles_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/workflow_roles_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/workflows_history_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/workflows_history_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/workflows_pb2.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm/workflows_pb2_grpc.py +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm.egg-info/dependency_links.txt +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm.egg-info/requires.txt +0 -0
- {strongdm-15.14.0 → strongdm-15.16.0}/strongdm.egg-info/top_level.txt +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: strongdm
|
|
3
|
-
Version: 15.
|
|
3
|
+
Version: 15.16.0
|
|
4
4
|
Summary: strongDM SDK for the Python programming language.
|
|
5
5
|
Home-page: https://github.com/strongdm/strongdm-sdk-python
|
|
6
6
|
Author: strongDM Team
|
|
7
7
|
Author-email: sdk-feedback@strongdm.com
|
|
8
8
|
License: apache-2.0
|
|
9
|
-
Download-URL: https://github.com/strongdm/strongdm-sdk-python/archive/v15.
|
|
9
|
+
Download-URL: https://github.com/strongdm/strongdm-sdk-python/archive/v15.16.0.tar.gz
|
|
10
10
|
Keywords: strongDM,sdm,api,automation,security,audit,database,server,ssh,rdp
|
|
11
11
|
Platform: UNKNOWN
|
|
12
12
|
Classifier: Development Status :: 4 - Beta
|
|
@@ -22,7 +22,7 @@ License-File: LICENSE
|
|
|
22
22
|
This is the official [strongDM](https://www.strongdm.com/) SDK for the Python
|
|
23
23
|
programming language.
|
|
24
24
|
|
|
25
|
-
Learn more with our [📚strongDM API docs](https://
|
|
25
|
+
Learn more with our [📚strongDM API docs](https://docs.strongdm.com/references/api) or
|
|
26
26
|
[📓browse the SDK
|
|
27
27
|
reference](https://strongdm.github.io/strongdm-sdk-python-docs/).
|
|
28
28
|
|
|
@@ -40,7 +40,7 @@ your dependency to the desired major version of the strongDM SDK.
|
|
|
40
40
|
|
|
41
41
|
If you don't already have them you will need to generate a set of API keys,
|
|
42
42
|
instructions are here: [API
|
|
43
|
-
Credentials](https://
|
|
43
|
+
Credentials](https://docs.strongdm.com/references/api/api-keys)
|
|
44
44
|
|
|
45
45
|
Add the keys as environment variables; the SDK will need to access these keys
|
|
46
46
|
for every request.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
This is the official [strongDM](https://www.strongdm.com/) SDK for the Python
|
|
4
4
|
programming language.
|
|
5
5
|
|
|
6
|
-
Learn more with our [📚strongDM API docs](https://
|
|
6
|
+
Learn more with our [📚strongDM API docs](https://docs.strongdm.com/references/api) or
|
|
7
7
|
[📓browse the SDK
|
|
8
8
|
reference](https://strongdm.github.io/strongdm-sdk-python-docs/).
|
|
9
9
|
|
|
@@ -21,7 +21,7 @@ your dependency to the desired major version of the strongDM SDK.
|
|
|
21
21
|
|
|
22
22
|
If you don't already have them you will need to generate a set of API keys,
|
|
23
23
|
instructions are here: [API
|
|
24
|
-
Credentials](https://
|
|
24
|
+
Credentials](https://docs.strongdm.com/references/api/api-keys)
|
|
25
25
|
|
|
26
26
|
Add the keys as environment variables; the SDK will need to access these keys
|
|
27
27
|
for every request.
|
|
@@ -23,7 +23,7 @@ from setuptools import setup
|
|
|
23
23
|
setup(
|
|
24
24
|
name='strongdm',
|
|
25
25
|
packages=['strongdm'],
|
|
26
|
-
version='15.
|
|
26
|
+
version='15.16.0',
|
|
27
27
|
license='apache-2.0',
|
|
28
28
|
description='strongDM SDK for the Python programming language.',
|
|
29
29
|
long_description=long_description,
|
|
@@ -32,7 +32,7 @@ setup(
|
|
|
32
32
|
author_email='sdk-feedback@strongdm.com',
|
|
33
33
|
url='https://github.com/strongdm/strongdm-sdk-python',
|
|
34
34
|
download_url=
|
|
35
|
-
'https://github.com/strongdm/strongdm-sdk-python/archive/v15.
|
|
35
|
+
'https://github.com/strongdm/strongdm-sdk-python/archive/v15.16.0.tar.gz',
|
|
36
36
|
keywords=[
|
|
37
37
|
'strongDM', 'sdm', 'api', 'automation', 'security', 'audit',
|
|
38
38
|
'database', 'server', 'ssh', 'rdp'
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# Copyright 2020 StrongDM Inc
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
#
|
|
15
|
+
# -*- coding: utf-8 -*-
|
|
16
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
17
|
+
# source: accounts_groups_history.proto
|
|
18
|
+
"""Generated protocol buffer code."""
|
|
19
|
+
from google.protobuf import descriptor as _descriptor
|
|
20
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
21
|
+
from google.protobuf import message as _message
|
|
22
|
+
from google.protobuf import reflection as _reflection
|
|
23
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
24
|
+
# @@protoc_insertion_point(imports)
|
|
25
|
+
|
|
26
|
+
_sym_db = _symbol_database.Default()
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
30
|
+
from . import accounts_groups_pb2 as accounts__groups__pb2
|
|
31
|
+
from . import options_pb2 as options__pb2
|
|
32
|
+
from . import spec_pb2 as spec__pb2
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x61\x63\x63ounts_groups_history.proto\x12\x02v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x15\x61\x63\x63ounts_groups.proto\x1a\roptions.proto\x1a\nspec.proto\"\x8d\x01\n\x1e\x41\x63\x63ountGroupHistoryListRequest\x12%\n\x04meta\x18\x01 \x01(\x0b\x32\x17.v1.ListRequestMetadata\x12\x1a\n\x06\x66ilter\x18\x02 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:(\xfa\xf8\xb3\x07\x06\xd2\xf3\xb3\x07\x01*\xfa\xf8\xb3\x07\x18\xd2\xf3\xb3\x07\x13!terraform-provider\"\xe0\x01\n\x1f\x41\x63\x63ountGroupHistoryListResponse\x12&\n\x04meta\x18\x01 \x01(\x0b\x32\x18.v1.ListResponseMetadata\x12\x34\n\x07history\x18\x02 \x03(\x0b\x32\x17.v1.AccountGroupHistoryB\n\xf2\xf8\xb3\x07\x05\xb8\xf3\xb3\x07\x01\x12\x35\n\nrate_limit\x18\x03 \x01(\x0b\x32\x15.v1.RateLimitMetadataB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:(\xfa\xf8\xb3\x07\x06\xd2\xf3\xb3\x07\x01*\xfa\xf8\xb3\x07\x18\xd2\xf3\xb3\x07\x13!terraform-provider\"\x96\x02\n\x13\x41\x63\x63ountGroupHistory\x12\x1f\n\x0b\x61\x63tivity_id\x18\x01 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x39\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x33\n\raccount_group\x18\x03 \x01(\x0b\x32\x10.v1.AccountGroupB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12:\n\ndeleted_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:2\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\xfa\xf8\xb3\x07\x06\xd2\xf3\xb3\x07\x01*\xfa\xf8\xb3\x07\x18\xd2\xf3\xb3\x07\x13!terraform-provider2\xed\x01\n\x15\x41\x63\x63ountsGroupsHistory\x12\x82\x01\n\x04List\x12\".v1.AccountGroupHistoryListRequest\x1a#.v1.AccountGroupHistoryListResponse\"1\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07\x1f\xaa\xf3\xb3\x07\x1a/v1/accountsgroups-history\x1aO\xca\xf9\xb3\x07\x18\xc2\xf9\xb3\x07\x13\x41\x63\x63ountGroupHistory\xca\xf9\xb3\x07\x05\xd8\xf9\xb3\x07\x01\xca\xf9\xb3\x07\x06\xca\xf9\xb3\x07\x01*\xca\xf9\xb3\x07\x18\xca\xf9\xb3\x07\x13!terraform-providerB\x99\x01\n\x19\x63om.strongdm.api.plumbingB\x1d\x41\x63\x63ountsGroupsHistoryPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1\xc2\x92\xb4\x07\x06\xa2\x8c\xb4\x07\x01*\xc2\x92\xb4\x07\x18\xa2\x8c\xb4\x07\x13!terraform-providerb\x06proto3')
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
_ACCOUNTGROUPHISTORYLISTREQUEST = DESCRIPTOR.message_types_by_name['AccountGroupHistoryListRequest']
|
|
40
|
+
_ACCOUNTGROUPHISTORYLISTRESPONSE = DESCRIPTOR.message_types_by_name['AccountGroupHistoryListResponse']
|
|
41
|
+
_ACCOUNTGROUPHISTORY = DESCRIPTOR.message_types_by_name['AccountGroupHistory']
|
|
42
|
+
AccountGroupHistoryListRequest = _reflection.GeneratedProtocolMessageType('AccountGroupHistoryListRequest', (_message.Message,), {
|
|
43
|
+
'DESCRIPTOR' : _ACCOUNTGROUPHISTORYLISTREQUEST,
|
|
44
|
+
'__module__' : 'accounts_groups_history_pb2'
|
|
45
|
+
# @@protoc_insertion_point(class_scope:v1.AccountGroupHistoryListRequest)
|
|
46
|
+
})
|
|
47
|
+
_sym_db.RegisterMessage(AccountGroupHistoryListRequest)
|
|
48
|
+
|
|
49
|
+
AccountGroupHistoryListResponse = _reflection.GeneratedProtocolMessageType('AccountGroupHistoryListResponse', (_message.Message,), {
|
|
50
|
+
'DESCRIPTOR' : _ACCOUNTGROUPHISTORYLISTRESPONSE,
|
|
51
|
+
'__module__' : 'accounts_groups_history_pb2'
|
|
52
|
+
# @@protoc_insertion_point(class_scope:v1.AccountGroupHistoryListResponse)
|
|
53
|
+
})
|
|
54
|
+
_sym_db.RegisterMessage(AccountGroupHistoryListResponse)
|
|
55
|
+
|
|
56
|
+
AccountGroupHistory = _reflection.GeneratedProtocolMessageType('AccountGroupHistory', (_message.Message,), {
|
|
57
|
+
'DESCRIPTOR' : _ACCOUNTGROUPHISTORY,
|
|
58
|
+
'__module__' : 'accounts_groups_history_pb2'
|
|
59
|
+
# @@protoc_insertion_point(class_scope:v1.AccountGroupHistory)
|
|
60
|
+
})
|
|
61
|
+
_sym_db.RegisterMessage(AccountGroupHistory)
|
|
62
|
+
|
|
63
|
+
_ACCOUNTSGROUPSHISTORY = DESCRIPTOR.services_by_name['AccountsGroupsHistory']
|
|
64
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
65
|
+
|
|
66
|
+
DESCRIPTOR._options = None
|
|
67
|
+
DESCRIPTOR._serialized_options = b'\n\031com.strongdm.api.plumbingB\035AccountsGroupsHistoryPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1\302\222\264\007\006\242\214\264\007\001*\302\222\264\007\030\242\214\264\007\023!terraform-provider'
|
|
68
|
+
_ACCOUNTGROUPHISTORYLISTREQUEST.fields_by_name['filter']._options = None
|
|
69
|
+
_ACCOUNTGROUPHISTORYLISTREQUEST.fields_by_name['filter']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
|
70
|
+
_ACCOUNTGROUPHISTORYLISTREQUEST._options = None
|
|
71
|
+
_ACCOUNTGROUPHISTORYLISTREQUEST._serialized_options = b'\372\370\263\007\006\322\363\263\007\001*\372\370\263\007\030\322\363\263\007\023!terraform-provider'
|
|
72
|
+
_ACCOUNTGROUPHISTORYLISTRESPONSE.fields_by_name['history']._options = None
|
|
73
|
+
_ACCOUNTGROUPHISTORYLISTRESPONSE.fields_by_name['history']._serialized_options = b'\362\370\263\007\005\270\363\263\007\001'
|
|
74
|
+
_ACCOUNTGROUPHISTORYLISTRESPONSE.fields_by_name['rate_limit']._options = None
|
|
75
|
+
_ACCOUNTGROUPHISTORYLISTRESPONSE.fields_by_name['rate_limit']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
|
76
|
+
_ACCOUNTGROUPHISTORYLISTRESPONSE._options = None
|
|
77
|
+
_ACCOUNTGROUPHISTORYLISTRESPONSE._serialized_options = b'\372\370\263\007\006\322\363\263\007\001*\372\370\263\007\030\322\363\263\007\023!terraform-provider'
|
|
78
|
+
_ACCOUNTGROUPHISTORY.fields_by_name['activity_id']._options = None
|
|
79
|
+
_ACCOUNTGROUPHISTORY.fields_by_name['activity_id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
|
80
|
+
_ACCOUNTGROUPHISTORY.fields_by_name['timestamp']._options = None
|
|
81
|
+
_ACCOUNTGROUPHISTORY.fields_by_name['timestamp']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
|
82
|
+
_ACCOUNTGROUPHISTORY.fields_by_name['account_group']._options = None
|
|
83
|
+
_ACCOUNTGROUPHISTORY.fields_by_name['account_group']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
|
84
|
+
_ACCOUNTGROUPHISTORY.fields_by_name['deleted_at']._options = None
|
|
85
|
+
_ACCOUNTGROUPHISTORY.fields_by_name['deleted_at']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
|
86
|
+
_ACCOUNTGROUPHISTORY._options = None
|
|
87
|
+
_ACCOUNTGROUPHISTORY._serialized_options = b'\372\370\263\007\005\250\363\263\007\001\372\370\263\007\006\322\363\263\007\001*\372\370\263\007\030\322\363\263\007\023!terraform-provider'
|
|
88
|
+
_ACCOUNTSGROUPSHISTORY._options = None
|
|
89
|
+
_ACCOUNTSGROUPSHISTORY._serialized_options = b'\312\371\263\007\030\302\371\263\007\023AccountGroupHistory\312\371\263\007\005\330\371\263\007\001\312\371\263\007\006\312\371\263\007\001*\312\371\263\007\030\312\371\263\007\023!terraform-provider'
|
|
90
|
+
_ACCOUNTSGROUPSHISTORY.methods_by_name['List']._options = None
|
|
91
|
+
_ACCOUNTSGROUPSHISTORY.methods_by_name['List']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003get\202\371\263\007\037\252\363\263\007\032/v1/accountsgroups-history'
|
|
92
|
+
_ACCOUNTGROUPHISTORYLISTREQUEST._serialized_start=121
|
|
93
|
+
_ACCOUNTGROUPHISTORYLISTREQUEST._serialized_end=262
|
|
94
|
+
_ACCOUNTGROUPHISTORYLISTRESPONSE._serialized_start=265
|
|
95
|
+
_ACCOUNTGROUPHISTORYLISTRESPONSE._serialized_end=489
|
|
96
|
+
_ACCOUNTGROUPHISTORY._serialized_start=492
|
|
97
|
+
_ACCOUNTGROUPHISTORY._serialized_end=770
|
|
98
|
+
_ACCOUNTSGROUPSHISTORY._serialized_start=773
|
|
99
|
+
_ACCOUNTSGROUPSHISTORY._serialized_end=1010
|
|
100
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Copyright 2020 StrongDM Inc
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
#
|
|
15
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
16
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
17
|
+
import grpc
|
|
18
|
+
|
|
19
|
+
from . import accounts_groups_history_pb2 as accounts__groups__history__pb2
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class AccountsGroupsHistoryStub(object):
|
|
23
|
+
"""AccountsGroupsHistory records all changes to the state of an AccountGroup.
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
def __init__(self, channel):
|
|
27
|
+
"""Constructor.
|
|
28
|
+
|
|
29
|
+
Args:
|
|
30
|
+
channel: A grpc.Channel.
|
|
31
|
+
"""
|
|
32
|
+
self.List = channel.unary_unary(
|
|
33
|
+
'/v1.AccountsGroupsHistory/List',
|
|
34
|
+
request_serializer=accounts__groups__history__pb2.AccountGroupHistoryListRequest.SerializeToString,
|
|
35
|
+
response_deserializer=accounts__groups__history__pb2.AccountGroupHistoryListResponse.FromString,
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class AccountsGroupsHistoryServicer(object):
|
|
40
|
+
"""AccountsGroupsHistory records all changes to the state of an AccountGroup.
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
def List(self, request, context):
|
|
44
|
+
"""List gets a list of AccountGroupHistory records matching a given set of criteria.
|
|
45
|
+
"""
|
|
46
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
47
|
+
context.set_details('Method not implemented!')
|
|
48
|
+
raise NotImplementedError('Method not implemented!')
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
def add_AccountsGroupsHistoryServicer_to_server(servicer, server):
|
|
52
|
+
rpc_method_handlers = {
|
|
53
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
|
54
|
+
servicer.List,
|
|
55
|
+
request_deserializer=accounts__groups__history__pb2.AccountGroupHistoryListRequest.FromString,
|
|
56
|
+
response_serializer=accounts__groups__history__pb2.AccountGroupHistoryListResponse.SerializeToString,
|
|
57
|
+
),
|
|
58
|
+
}
|
|
59
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
60
|
+
'v1.AccountsGroupsHistory', rpc_method_handlers)
|
|
61
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
# This class is part of an EXPERIMENTAL API.
|
|
65
|
+
class AccountsGroupsHistory(object):
|
|
66
|
+
"""AccountsGroupsHistory records all changes to the state of an AccountGroup.
|
|
67
|
+
"""
|
|
68
|
+
|
|
69
|
+
@staticmethod
|
|
70
|
+
def List(request,
|
|
71
|
+
target,
|
|
72
|
+
options=(),
|
|
73
|
+
channel_credentials=None,
|
|
74
|
+
call_credentials=None,
|
|
75
|
+
insecure=False,
|
|
76
|
+
compression=None,
|
|
77
|
+
wait_for_ready=None,
|
|
78
|
+
timeout=None,
|
|
79
|
+
metadata=None):
|
|
80
|
+
return grpc.experimental.unary_unary(request, target, '/v1.AccountsGroupsHistory/List',
|
|
81
|
+
accounts__groups__history__pb2.AccountGroupHistoryListRequest.SerializeToString,
|
|
82
|
+
accounts__groups__history__pb2.AccountGroupHistoryListResponse.FromString,
|
|
83
|
+
options, channel_credentials,
|
|
84
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
# Copyright 2020 StrongDM Inc
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
#
|
|
15
|
+
# -*- coding: utf-8 -*-
|
|
16
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
17
|
+
# source: accounts_groups.proto
|
|
18
|
+
"""Generated protocol buffer code."""
|
|
19
|
+
from google.protobuf import descriptor as _descriptor
|
|
20
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
21
|
+
from google.protobuf import message as _message
|
|
22
|
+
from google.protobuf import reflection as _reflection
|
|
23
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
24
|
+
# @@protoc_insertion_point(imports)
|
|
25
|
+
|
|
26
|
+
_sym_db = _symbol_database.Default()
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
from . import options_pb2 as options__pb2
|
|
30
|
+
from . import spec_pb2 as spec__pb2
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15\x61\x63\x63ounts_groups.proto\x12\x02v1\x1a\roptions.proto\x1a\nspec.proto\"\x93\x01\n\x19\x41\x63\x63ountGroupCreateRequest\x12\'\n\x04meta\x18\x01 \x01(\x0b\x32\x19.v1.CreateRequestMetadata\x12\x33\n\raccount_group\x18\x02 \x01(\x0b\x32\x10.v1.AccountGroupB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:\x18\xfa\xf8\xb3\x07\x13\xa8\xf3\xb3\x07\x01\xd2\xf3\xb3\x07\x01*\xd2\xf3\xb3\x07\x03\x63li\"\xcc\x01\n\x1a\x41\x63\x63ountGroupCreateResponse\x12(\n\x04meta\x18\x01 \x01(\x0b\x32\x1a.v1.CreateResponseMetadata\x12\x33\n\raccount_group\x18\x02 \x01(\x0b\x32\x10.v1.AccountGroupB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x35\n\nrate_limit\x18\x03 \x01(\x0b\x32\x15.v1.RateLimitMetadataB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:\x18\xfa\xf8\xb3\x07\x13\xa8\xf3\xb3\x07\x01\xd2\xf3\xb3\x07\x01*\xd2\xf3\xb3\x07\x03\x63li\"p\n\x16\x41\x63\x63ountGroupGetRequest\x12$\n\x04meta\x18\x01 \x01(\x0b\x32\x16.v1.GetRequestMetadata\x12\x16\n\x02id\x18\x02 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:\x18\xfa\xf8\xb3\x07\x13\xa8\xf3\xb3\x07\x01\xd2\xf3\xb3\x07\x01*\xd2\xf3\xb3\x07\x03\x63li\"\xd2\x01\n\x17\x41\x63\x63ountGroupGetResponse\x12\x31\n\x04meta\x18\x01 \x01(\x0b\x32\x17.v1.GetResponseMetadataB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x33\n\raccount_group\x18\x02 \x01(\x0b\x32\x10.v1.AccountGroupB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x35\n\nrate_limit\x18\x03 \x01(\x0b\x32\x15.v1.RateLimitMetadataB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:\x18\xfa\xf8\xb3\x07\x13\xa8\xf3\xb3\x07\x01\xd2\xf3\xb3\x07\x01*\xd2\xf3\xb3\x07\x03\x63li\"v\n\x19\x41\x63\x63ountGroupDeleteRequest\x12\'\n\x04meta\x18\x01 \x01(\x0b\x32\x19.v1.DeleteRequestMetadata\x12\x16\n\x02id\x18\x02 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:\x18\xfa\xf8\xb3\x07\x13\xa8\xf3\xb3\x07\x01\xd2\xf3\xb3\x07\x01*\xd2\xf3\xb3\x07\x03\x63li\"\xa3\x01\n\x1a\x41\x63\x63ountGroupDeleteResponse\x12\x34\n\x04meta\x18\x01 \x01(\x0b\x32\x1a.v1.DeleteResponseMetadataB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x35\n\nrate_limit\x18\x02 \x01(\x0b\x32\x15.v1.RateLimitMetadataB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:\x18\xfa\xf8\xb3\x07\x13\xa8\xf3\xb3\x07\x01\xd2\xf3\xb3\x07\x01*\xd2\xf3\xb3\x07\x03\x63li\"v\n\x17\x41\x63\x63ountGroupListRequest\x12%\n\x04meta\x18\x01 \x01(\x0b\x32\x17.v1.ListRequestMetadata\x12\x1a\n\x06\x66ilter\x18\x02 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:\x18\xfa\xf8\xb3\x07\x13\xa8\xf3\xb3\x07\x01\xd2\xf3\xb3\x07\x01*\xd2\xf3\xb3\x07\x03\x63li\"\xc9\x01\n\x18\x41\x63\x63ountGroupListResponse\x12&\n\x04meta\x18\x01 \x01(\x0b\x32\x18.v1.ListResponseMetadata\x12\x34\n\x0e\x61\x63\x63ount_groups\x18\x02 \x03(\x0b\x32\x10.v1.AccountGroupB\n\xf2\xf8\xb3\x07\x05\xb8\xf3\xb3\x07\x01\x12\x35\n\nrate_limit\x18\x03 \x01(\x0b\x32\x15.v1.RateLimitMetadataB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:\x18\xfa\xf8\xb3\x07\x13\xa8\xf3\xb3\x07\x01\xd2\xf3\xb3\x07\x01*\xd2\xf3\xb3\x07\x03\x63li\"\x88\x01\n\x0c\x41\x63\x63ountGroup\x12\x16\n\x02id\x18\x01 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12#\n\naccount_id\x18\x02 \x01(\tB\x0f\xf2\xf8\xb3\x07\n\xb0\xf3\xb3\x07\x01\xc0\xf3\xb3\x07\x01\x12!\n\x08group_id\x18\x03 \x01(\tB\x0f\xf2\xf8\xb3\x07\n\xb0\xf3\xb3\x07\x01\xc0\xf3\xb3\x07\x01:\x18\xfa\xf8\xb3\x07\x13\xa8\xf3\xb3\x07\x01\xd2\xf3\xb3\x07\x01*\xd2\xf3\xb3\x07\x03\x63li2\x97\x04\n\x0e\x41\x63\x63ountsGroups\x12s\n\x06\x43reate\x12\x1d.v1.AccountGroupCreateRequest\x1a\x1e.v1.AccountGroupCreateResponse\"*\x82\xf9\xb3\x07\t\xa2\xf3\xb3\x07\x04post\x82\xf9\xb3\x07\x17\xaa\xf3\xb3\x07\x12/v1/accountsgroups\x12n\n\x03Get\x12\x1a.v1.AccountGroupGetRequest\x1a\x1b.v1.AccountGroupGetResponse\".\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07\x1c\xaa\xf3\xb3\x07\x17/v1/accountsgroups/{id}\x12z\n\x06\x44\x65lete\x12\x1d.v1.AccountGroupDeleteRequest\x1a\x1e.v1.AccountGroupDeleteResponse\"1\x82\xf9\xb3\x07\x0b\xa2\xf3\xb3\x07\x06\x64\x65lete\x82\xf9\xb3\x07\x1c\xaa\xf3\xb3\x07\x17/v1/accountsgroups/{id}\x12l\n\x04List\x12\x1b.v1.AccountGroupListRequest\x1a\x1c.v1.AccountGroupListResponse\")\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07\x17\xaa\xf3\xb3\x07\x12/v1/accountsgroups\x1a\x36\xca\xf9\xb3\x07\x31\xc2\xf9\xb3\x07\x0c\x41\x63\x63ountGroup\xca\xf9\xb3\x07\x01*\xca\xf9\xb3\x07\x03\x63li\xd2\xf9\xb3\x07\raccountgroup-B\x82\x01\n\x19\x63om.strongdm.api.plumbingB\x16\x41\x63\x63ountsGroupsPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1\xc2\x92\xb4\x07\x06\xa2\x8c\xb4\x07\x01*\xc2\x92\xb4\x07\x08\xa2\x8c\xb4\x07\x03\x63lib\x06proto3')
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
_ACCOUNTGROUPCREATEREQUEST = DESCRIPTOR.message_types_by_name['AccountGroupCreateRequest']
|
|
38
|
+
_ACCOUNTGROUPCREATERESPONSE = DESCRIPTOR.message_types_by_name['AccountGroupCreateResponse']
|
|
39
|
+
_ACCOUNTGROUPGETREQUEST = DESCRIPTOR.message_types_by_name['AccountGroupGetRequest']
|
|
40
|
+
_ACCOUNTGROUPGETRESPONSE = DESCRIPTOR.message_types_by_name['AccountGroupGetResponse']
|
|
41
|
+
_ACCOUNTGROUPDELETEREQUEST = DESCRIPTOR.message_types_by_name['AccountGroupDeleteRequest']
|
|
42
|
+
_ACCOUNTGROUPDELETERESPONSE = DESCRIPTOR.message_types_by_name['AccountGroupDeleteResponse']
|
|
43
|
+
_ACCOUNTGROUPLISTREQUEST = DESCRIPTOR.message_types_by_name['AccountGroupListRequest']
|
|
44
|
+
_ACCOUNTGROUPLISTRESPONSE = DESCRIPTOR.message_types_by_name['AccountGroupListResponse']
|
|
45
|
+
_ACCOUNTGROUP = DESCRIPTOR.message_types_by_name['AccountGroup']
|
|
46
|
+
AccountGroupCreateRequest = _reflection.GeneratedProtocolMessageType('AccountGroupCreateRequest', (_message.Message,), {
|
|
47
|
+
'DESCRIPTOR' : _ACCOUNTGROUPCREATEREQUEST,
|
|
48
|
+
'__module__' : 'accounts_groups_pb2'
|
|
49
|
+
# @@protoc_insertion_point(class_scope:v1.AccountGroupCreateRequest)
|
|
50
|
+
})
|
|
51
|
+
_sym_db.RegisterMessage(AccountGroupCreateRequest)
|
|
52
|
+
|
|
53
|
+
AccountGroupCreateResponse = _reflection.GeneratedProtocolMessageType('AccountGroupCreateResponse', (_message.Message,), {
|
|
54
|
+
'DESCRIPTOR' : _ACCOUNTGROUPCREATERESPONSE,
|
|
55
|
+
'__module__' : 'accounts_groups_pb2'
|
|
56
|
+
# @@protoc_insertion_point(class_scope:v1.AccountGroupCreateResponse)
|
|
57
|
+
})
|
|
58
|
+
_sym_db.RegisterMessage(AccountGroupCreateResponse)
|
|
59
|
+
|
|
60
|
+
AccountGroupGetRequest = _reflection.GeneratedProtocolMessageType('AccountGroupGetRequest', (_message.Message,), {
|
|
61
|
+
'DESCRIPTOR' : _ACCOUNTGROUPGETREQUEST,
|
|
62
|
+
'__module__' : 'accounts_groups_pb2'
|
|
63
|
+
# @@protoc_insertion_point(class_scope:v1.AccountGroupGetRequest)
|
|
64
|
+
})
|
|
65
|
+
_sym_db.RegisterMessage(AccountGroupGetRequest)
|
|
66
|
+
|
|
67
|
+
AccountGroupGetResponse = _reflection.GeneratedProtocolMessageType('AccountGroupGetResponse', (_message.Message,), {
|
|
68
|
+
'DESCRIPTOR' : _ACCOUNTGROUPGETRESPONSE,
|
|
69
|
+
'__module__' : 'accounts_groups_pb2'
|
|
70
|
+
# @@protoc_insertion_point(class_scope:v1.AccountGroupGetResponse)
|
|
71
|
+
})
|
|
72
|
+
_sym_db.RegisterMessage(AccountGroupGetResponse)
|
|
73
|
+
|
|
74
|
+
AccountGroupDeleteRequest = _reflection.GeneratedProtocolMessageType('AccountGroupDeleteRequest', (_message.Message,), {
|
|
75
|
+
'DESCRIPTOR' : _ACCOUNTGROUPDELETEREQUEST,
|
|
76
|
+
'__module__' : 'accounts_groups_pb2'
|
|
77
|
+
# @@protoc_insertion_point(class_scope:v1.AccountGroupDeleteRequest)
|
|
78
|
+
})
|
|
79
|
+
_sym_db.RegisterMessage(AccountGroupDeleteRequest)
|
|
80
|
+
|
|
81
|
+
AccountGroupDeleteResponse = _reflection.GeneratedProtocolMessageType('AccountGroupDeleteResponse', (_message.Message,), {
|
|
82
|
+
'DESCRIPTOR' : _ACCOUNTGROUPDELETERESPONSE,
|
|
83
|
+
'__module__' : 'accounts_groups_pb2'
|
|
84
|
+
# @@protoc_insertion_point(class_scope:v1.AccountGroupDeleteResponse)
|
|
85
|
+
})
|
|
86
|
+
_sym_db.RegisterMessage(AccountGroupDeleteResponse)
|
|
87
|
+
|
|
88
|
+
AccountGroupListRequest = _reflection.GeneratedProtocolMessageType('AccountGroupListRequest', (_message.Message,), {
|
|
89
|
+
'DESCRIPTOR' : _ACCOUNTGROUPLISTREQUEST,
|
|
90
|
+
'__module__' : 'accounts_groups_pb2'
|
|
91
|
+
# @@protoc_insertion_point(class_scope:v1.AccountGroupListRequest)
|
|
92
|
+
})
|
|
93
|
+
_sym_db.RegisterMessage(AccountGroupListRequest)
|
|
94
|
+
|
|
95
|
+
AccountGroupListResponse = _reflection.GeneratedProtocolMessageType('AccountGroupListResponse', (_message.Message,), {
|
|
96
|
+
'DESCRIPTOR' : _ACCOUNTGROUPLISTRESPONSE,
|
|
97
|
+
'__module__' : 'accounts_groups_pb2'
|
|
98
|
+
# @@protoc_insertion_point(class_scope:v1.AccountGroupListResponse)
|
|
99
|
+
})
|
|
100
|
+
_sym_db.RegisterMessage(AccountGroupListResponse)
|
|
101
|
+
|
|
102
|
+
AccountGroup = _reflection.GeneratedProtocolMessageType('AccountGroup', (_message.Message,), {
|
|
103
|
+
'DESCRIPTOR' : _ACCOUNTGROUP,
|
|
104
|
+
'__module__' : 'accounts_groups_pb2'
|
|
105
|
+
# @@protoc_insertion_point(class_scope:v1.AccountGroup)
|
|
106
|
+
})
|
|
107
|
+
_sym_db.RegisterMessage(AccountGroup)
|
|
108
|
+
|
|
109
|
+
_ACCOUNTSGROUPS = DESCRIPTOR.services_by_name['AccountsGroups']
|
|
110
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
111
|
+
|
|
112
|
+
DESCRIPTOR._options = None
|
|
113
|
+
DESCRIPTOR._serialized_options = b'\n\031com.strongdm.api.plumbingB\026AccountsGroupsPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1\302\222\264\007\006\242\214\264\007\001*\302\222\264\007\010\242\214\264\007\003cli'
|
|
114
|
+
_ACCOUNTGROUPCREATEREQUEST.fields_by_name['account_group']._options = None
|
|
115
|
+
_ACCOUNTGROUPCREATEREQUEST.fields_by_name['account_group']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
|
116
|
+
_ACCOUNTGROUPCREATEREQUEST._options = None
|
|
117
|
+
_ACCOUNTGROUPCREATEREQUEST._serialized_options = b'\372\370\263\007\023\250\363\263\007\001\322\363\263\007\001*\322\363\263\007\003cli'
|
|
118
|
+
_ACCOUNTGROUPCREATERESPONSE.fields_by_name['account_group']._options = None
|
|
119
|
+
_ACCOUNTGROUPCREATERESPONSE.fields_by_name['account_group']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
|
120
|
+
_ACCOUNTGROUPCREATERESPONSE.fields_by_name['rate_limit']._options = None
|
|
121
|
+
_ACCOUNTGROUPCREATERESPONSE.fields_by_name['rate_limit']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
|
122
|
+
_ACCOUNTGROUPCREATERESPONSE._options = None
|
|
123
|
+
_ACCOUNTGROUPCREATERESPONSE._serialized_options = b'\372\370\263\007\023\250\363\263\007\001\322\363\263\007\001*\322\363\263\007\003cli'
|
|
124
|
+
_ACCOUNTGROUPGETREQUEST.fields_by_name['id']._options = None
|
|
125
|
+
_ACCOUNTGROUPGETREQUEST.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
|
126
|
+
_ACCOUNTGROUPGETREQUEST._options = None
|
|
127
|
+
_ACCOUNTGROUPGETREQUEST._serialized_options = b'\372\370\263\007\023\250\363\263\007\001\322\363\263\007\001*\322\363\263\007\003cli'
|
|
128
|
+
_ACCOUNTGROUPGETRESPONSE.fields_by_name['meta']._options = None
|
|
129
|
+
_ACCOUNTGROUPGETRESPONSE.fields_by_name['meta']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
|
130
|
+
_ACCOUNTGROUPGETRESPONSE.fields_by_name['account_group']._options = None
|
|
131
|
+
_ACCOUNTGROUPGETRESPONSE.fields_by_name['account_group']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
|
132
|
+
_ACCOUNTGROUPGETRESPONSE.fields_by_name['rate_limit']._options = None
|
|
133
|
+
_ACCOUNTGROUPGETRESPONSE.fields_by_name['rate_limit']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
|
134
|
+
_ACCOUNTGROUPGETRESPONSE._options = None
|
|
135
|
+
_ACCOUNTGROUPGETRESPONSE._serialized_options = b'\372\370\263\007\023\250\363\263\007\001\322\363\263\007\001*\322\363\263\007\003cli'
|
|
136
|
+
_ACCOUNTGROUPDELETEREQUEST.fields_by_name['id']._options = None
|
|
137
|
+
_ACCOUNTGROUPDELETEREQUEST.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
|
138
|
+
_ACCOUNTGROUPDELETEREQUEST._options = None
|
|
139
|
+
_ACCOUNTGROUPDELETEREQUEST._serialized_options = b'\372\370\263\007\023\250\363\263\007\001\322\363\263\007\001*\322\363\263\007\003cli'
|
|
140
|
+
_ACCOUNTGROUPDELETERESPONSE.fields_by_name['meta']._options = None
|
|
141
|
+
_ACCOUNTGROUPDELETERESPONSE.fields_by_name['meta']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
|
142
|
+
_ACCOUNTGROUPDELETERESPONSE.fields_by_name['rate_limit']._options = None
|
|
143
|
+
_ACCOUNTGROUPDELETERESPONSE.fields_by_name['rate_limit']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
|
144
|
+
_ACCOUNTGROUPDELETERESPONSE._options = None
|
|
145
|
+
_ACCOUNTGROUPDELETERESPONSE._serialized_options = b'\372\370\263\007\023\250\363\263\007\001\322\363\263\007\001*\322\363\263\007\003cli'
|
|
146
|
+
_ACCOUNTGROUPLISTREQUEST.fields_by_name['filter']._options = None
|
|
147
|
+
_ACCOUNTGROUPLISTREQUEST.fields_by_name['filter']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
|
148
|
+
_ACCOUNTGROUPLISTREQUEST._options = None
|
|
149
|
+
_ACCOUNTGROUPLISTREQUEST._serialized_options = b'\372\370\263\007\023\250\363\263\007\001\322\363\263\007\001*\322\363\263\007\003cli'
|
|
150
|
+
_ACCOUNTGROUPLISTRESPONSE.fields_by_name['account_groups']._options = None
|
|
151
|
+
_ACCOUNTGROUPLISTRESPONSE.fields_by_name['account_groups']._serialized_options = b'\362\370\263\007\005\270\363\263\007\001'
|
|
152
|
+
_ACCOUNTGROUPLISTRESPONSE.fields_by_name['rate_limit']._options = None
|
|
153
|
+
_ACCOUNTGROUPLISTRESPONSE.fields_by_name['rate_limit']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
|
154
|
+
_ACCOUNTGROUPLISTRESPONSE._options = None
|
|
155
|
+
_ACCOUNTGROUPLISTRESPONSE._serialized_options = b'\372\370\263\007\023\250\363\263\007\001\322\363\263\007\001*\322\363\263\007\003cli'
|
|
156
|
+
_ACCOUNTGROUP.fields_by_name['id']._options = None
|
|
157
|
+
_ACCOUNTGROUP.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
|
158
|
+
_ACCOUNTGROUP.fields_by_name['account_id']._options = None
|
|
159
|
+
_ACCOUNTGROUP.fields_by_name['account_id']._serialized_options = b'\362\370\263\007\n\260\363\263\007\001\300\363\263\007\001'
|
|
160
|
+
_ACCOUNTGROUP.fields_by_name['group_id']._options = None
|
|
161
|
+
_ACCOUNTGROUP.fields_by_name['group_id']._serialized_options = b'\362\370\263\007\n\260\363\263\007\001\300\363\263\007\001'
|
|
162
|
+
_ACCOUNTGROUP._options = None
|
|
163
|
+
_ACCOUNTGROUP._serialized_options = b'\372\370\263\007\023\250\363\263\007\001\322\363\263\007\001*\322\363\263\007\003cli'
|
|
164
|
+
_ACCOUNTSGROUPS._options = None
|
|
165
|
+
_ACCOUNTSGROUPS._serialized_options = b'\312\371\263\0071\302\371\263\007\014AccountGroup\312\371\263\007\001*\312\371\263\007\003cli\322\371\263\007\raccountgroup-'
|
|
166
|
+
_ACCOUNTSGROUPS.methods_by_name['Create']._options = None
|
|
167
|
+
_ACCOUNTSGROUPS.methods_by_name['Create']._serialized_options = b'\202\371\263\007\t\242\363\263\007\004post\202\371\263\007\027\252\363\263\007\022/v1/accountsgroups'
|
|
168
|
+
_ACCOUNTSGROUPS.methods_by_name['Get']._options = None
|
|
169
|
+
_ACCOUNTSGROUPS.methods_by_name['Get']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003get\202\371\263\007\034\252\363\263\007\027/v1/accountsgroups/{id}'
|
|
170
|
+
_ACCOUNTSGROUPS.methods_by_name['Delete']._options = None
|
|
171
|
+
_ACCOUNTSGROUPS.methods_by_name['Delete']._serialized_options = b'\202\371\263\007\013\242\363\263\007\006delete\202\371\263\007\034\252\363\263\007\027/v1/accountsgroups/{id}'
|
|
172
|
+
_ACCOUNTSGROUPS.methods_by_name['List']._options = None
|
|
173
|
+
_ACCOUNTSGROUPS.methods_by_name['List']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003get\202\371\263\007\027\252\363\263\007\022/v1/accountsgroups'
|
|
174
|
+
_ACCOUNTGROUPCREATEREQUEST._serialized_start=57
|
|
175
|
+
_ACCOUNTGROUPCREATEREQUEST._serialized_end=204
|
|
176
|
+
_ACCOUNTGROUPCREATERESPONSE._serialized_start=207
|
|
177
|
+
_ACCOUNTGROUPCREATERESPONSE._serialized_end=411
|
|
178
|
+
_ACCOUNTGROUPGETREQUEST._serialized_start=413
|
|
179
|
+
_ACCOUNTGROUPGETREQUEST._serialized_end=525
|
|
180
|
+
_ACCOUNTGROUPGETRESPONSE._serialized_start=528
|
|
181
|
+
_ACCOUNTGROUPGETRESPONSE._serialized_end=738
|
|
182
|
+
_ACCOUNTGROUPDELETEREQUEST._serialized_start=740
|
|
183
|
+
_ACCOUNTGROUPDELETEREQUEST._serialized_end=858
|
|
184
|
+
_ACCOUNTGROUPDELETERESPONSE._serialized_start=861
|
|
185
|
+
_ACCOUNTGROUPDELETERESPONSE._serialized_end=1024
|
|
186
|
+
_ACCOUNTGROUPLISTREQUEST._serialized_start=1026
|
|
187
|
+
_ACCOUNTGROUPLISTREQUEST._serialized_end=1144
|
|
188
|
+
_ACCOUNTGROUPLISTRESPONSE._serialized_start=1147
|
|
189
|
+
_ACCOUNTGROUPLISTRESPONSE._serialized_end=1348
|
|
190
|
+
_ACCOUNTGROUP._serialized_start=1351
|
|
191
|
+
_ACCOUNTGROUP._serialized_end=1487
|
|
192
|
+
_ACCOUNTSGROUPS._serialized_start=1490
|
|
193
|
+
_ACCOUNTSGROUPS._serialized_end=2025
|
|
194
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
# Copyright 2020 StrongDM Inc
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
#
|
|
15
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
16
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
17
|
+
import grpc
|
|
18
|
+
|
|
19
|
+
from . import accounts_groups_pb2 as accounts__groups__pb2
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class AccountsGroupsStub(object):
|
|
23
|
+
"""An AccountGroup links an account and a group.
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
def __init__(self, channel):
|
|
27
|
+
"""Constructor.
|
|
28
|
+
|
|
29
|
+
Args:
|
|
30
|
+
channel: A grpc.Channel.
|
|
31
|
+
"""
|
|
32
|
+
self.Create = channel.unary_unary(
|
|
33
|
+
'/v1.AccountsGroups/Create',
|
|
34
|
+
request_serializer=accounts__groups__pb2.AccountGroupCreateRequest.SerializeToString,
|
|
35
|
+
response_deserializer=accounts__groups__pb2.AccountGroupCreateResponse.FromString,
|
|
36
|
+
)
|
|
37
|
+
self.Get = channel.unary_unary(
|
|
38
|
+
'/v1.AccountsGroups/Get',
|
|
39
|
+
request_serializer=accounts__groups__pb2.AccountGroupGetRequest.SerializeToString,
|
|
40
|
+
response_deserializer=accounts__groups__pb2.AccountGroupGetResponse.FromString,
|
|
41
|
+
)
|
|
42
|
+
self.Delete = channel.unary_unary(
|
|
43
|
+
'/v1.AccountsGroups/Delete',
|
|
44
|
+
request_serializer=accounts__groups__pb2.AccountGroupDeleteRequest.SerializeToString,
|
|
45
|
+
response_deserializer=accounts__groups__pb2.AccountGroupDeleteResponse.FromString,
|
|
46
|
+
)
|
|
47
|
+
self.List = channel.unary_unary(
|
|
48
|
+
'/v1.AccountsGroups/List',
|
|
49
|
+
request_serializer=accounts__groups__pb2.AccountGroupListRequest.SerializeToString,
|
|
50
|
+
response_deserializer=accounts__groups__pb2.AccountGroupListResponse.FromString,
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
class AccountsGroupsServicer(object):
|
|
55
|
+
"""An AccountGroup links an account and a group.
|
|
56
|
+
"""
|
|
57
|
+
|
|
58
|
+
def Create(self, request, context):
|
|
59
|
+
"""Create create a new AccountGroup.
|
|
60
|
+
"""
|
|
61
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
62
|
+
context.set_details('Method not implemented!')
|
|
63
|
+
raise NotImplementedError('Method not implemented!')
|
|
64
|
+
|
|
65
|
+
def Get(self, request, context):
|
|
66
|
+
"""Get reads one AccountGroup by ID.
|
|
67
|
+
"""
|
|
68
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
69
|
+
context.set_details('Method not implemented!')
|
|
70
|
+
raise NotImplementedError('Method not implemented!')
|
|
71
|
+
|
|
72
|
+
def Delete(self, request, context):
|
|
73
|
+
"""Delete removes an AccountGroup by ID.
|
|
74
|
+
"""
|
|
75
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
76
|
+
context.set_details('Method not implemented!')
|
|
77
|
+
raise NotImplementedError('Method not implemented!')
|
|
78
|
+
|
|
79
|
+
def List(self, request, context):
|
|
80
|
+
"""List gets a list of AccountGroups matching a given set of criteria.
|
|
81
|
+
"""
|
|
82
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
83
|
+
context.set_details('Method not implemented!')
|
|
84
|
+
raise NotImplementedError('Method not implemented!')
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
def add_AccountsGroupsServicer_to_server(servicer, server):
|
|
88
|
+
rpc_method_handlers = {
|
|
89
|
+
'Create': grpc.unary_unary_rpc_method_handler(
|
|
90
|
+
servicer.Create,
|
|
91
|
+
request_deserializer=accounts__groups__pb2.AccountGroupCreateRequest.FromString,
|
|
92
|
+
response_serializer=accounts__groups__pb2.AccountGroupCreateResponse.SerializeToString,
|
|
93
|
+
),
|
|
94
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
|
95
|
+
servicer.Get,
|
|
96
|
+
request_deserializer=accounts__groups__pb2.AccountGroupGetRequest.FromString,
|
|
97
|
+
response_serializer=accounts__groups__pb2.AccountGroupGetResponse.SerializeToString,
|
|
98
|
+
),
|
|
99
|
+
'Delete': grpc.unary_unary_rpc_method_handler(
|
|
100
|
+
servicer.Delete,
|
|
101
|
+
request_deserializer=accounts__groups__pb2.AccountGroupDeleteRequest.FromString,
|
|
102
|
+
response_serializer=accounts__groups__pb2.AccountGroupDeleteResponse.SerializeToString,
|
|
103
|
+
),
|
|
104
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
|
105
|
+
servicer.List,
|
|
106
|
+
request_deserializer=accounts__groups__pb2.AccountGroupListRequest.FromString,
|
|
107
|
+
response_serializer=accounts__groups__pb2.AccountGroupListResponse.SerializeToString,
|
|
108
|
+
),
|
|
109
|
+
}
|
|
110
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
111
|
+
'v1.AccountsGroups', rpc_method_handlers)
|
|
112
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
# This class is part of an EXPERIMENTAL API.
|
|
116
|
+
class AccountsGroups(object):
|
|
117
|
+
"""An AccountGroup links an account and a group.
|
|
118
|
+
"""
|
|
119
|
+
|
|
120
|
+
@staticmethod
|
|
121
|
+
def Create(request,
|
|
122
|
+
target,
|
|
123
|
+
options=(),
|
|
124
|
+
channel_credentials=None,
|
|
125
|
+
call_credentials=None,
|
|
126
|
+
insecure=False,
|
|
127
|
+
compression=None,
|
|
128
|
+
wait_for_ready=None,
|
|
129
|
+
timeout=None,
|
|
130
|
+
metadata=None):
|
|
131
|
+
return grpc.experimental.unary_unary(request, target, '/v1.AccountsGroups/Create',
|
|
132
|
+
accounts__groups__pb2.AccountGroupCreateRequest.SerializeToString,
|
|
133
|
+
accounts__groups__pb2.AccountGroupCreateResponse.FromString,
|
|
134
|
+
options, channel_credentials,
|
|
135
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
136
|
+
|
|
137
|
+
@staticmethod
|
|
138
|
+
def Get(request,
|
|
139
|
+
target,
|
|
140
|
+
options=(),
|
|
141
|
+
channel_credentials=None,
|
|
142
|
+
call_credentials=None,
|
|
143
|
+
insecure=False,
|
|
144
|
+
compression=None,
|
|
145
|
+
wait_for_ready=None,
|
|
146
|
+
timeout=None,
|
|
147
|
+
metadata=None):
|
|
148
|
+
return grpc.experimental.unary_unary(request, target, '/v1.AccountsGroups/Get',
|
|
149
|
+
accounts__groups__pb2.AccountGroupGetRequest.SerializeToString,
|
|
150
|
+
accounts__groups__pb2.AccountGroupGetResponse.FromString,
|
|
151
|
+
options, channel_credentials,
|
|
152
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
153
|
+
|
|
154
|
+
@staticmethod
|
|
155
|
+
def Delete(request,
|
|
156
|
+
target,
|
|
157
|
+
options=(),
|
|
158
|
+
channel_credentials=None,
|
|
159
|
+
call_credentials=None,
|
|
160
|
+
insecure=False,
|
|
161
|
+
compression=None,
|
|
162
|
+
wait_for_ready=None,
|
|
163
|
+
timeout=None,
|
|
164
|
+
metadata=None):
|
|
165
|
+
return grpc.experimental.unary_unary(request, target, '/v1.AccountsGroups/Delete',
|
|
166
|
+
accounts__groups__pb2.AccountGroupDeleteRequest.SerializeToString,
|
|
167
|
+
accounts__groups__pb2.AccountGroupDeleteResponse.FromString,
|
|
168
|
+
options, channel_credentials,
|
|
169
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
170
|
+
|
|
171
|
+
@staticmethod
|
|
172
|
+
def List(request,
|
|
173
|
+
target,
|
|
174
|
+
options=(),
|
|
175
|
+
channel_credentials=None,
|
|
176
|
+
call_credentials=None,
|
|
177
|
+
insecure=False,
|
|
178
|
+
compression=None,
|
|
179
|
+
wait_for_ready=None,
|
|
180
|
+
timeout=None,
|
|
181
|
+
metadata=None):
|
|
182
|
+
return grpc.experimental.unary_unary(request, target, '/v1.AccountsGroups/List',
|
|
183
|
+
accounts__groups__pb2.AccountGroupListRequest.SerializeToString,
|
|
184
|
+
accounts__groups__pb2.AccountGroupListResponse.FromString,
|
|
185
|
+
options, channel_credentials,
|
|
186
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|