strongdm 7.0.0__zip → 12.1.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-7.0.0 → strongdm-12.1.0}/PKG-INFO +2 -2
- {strongdm-7.0.0 → strongdm-12.1.0}/setup.py +2 -2
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/access_request_events_history_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/access_requests_history_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/access_requests_pb2.py +45 -16
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/account_grants_pb2.py +6 -4
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/accounts_pb2.py +47 -34
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/accounts_pb2_grpc.py +3 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/approval_workflow_approvers_history_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/approval_workflow_approvers_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/approval_workflow_steps_history_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/approval_workflow_steps_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/approval_workflows_history_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/approval_workflows_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/client.py +108 -13
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/constants.py +86 -12
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/drivers_pb2.py +745 -227
- strongdm-12.1.0/strongdm/health_checks_pb2.py +107 -0
- strongdm-12.1.0/strongdm/health_checks_pb2_grpc.py +87 -0
- strongdm-12.1.0/strongdm/identity_aliases_history_pb2.py +100 -0
- strongdm-12.1.0/strongdm/identity_aliases_history_pb2_grpc.py +84 -0
- strongdm-12.1.0/strongdm/identity_aliases_pb2.py +220 -0
- strongdm-12.1.0/strongdm/identity_aliases_pb2_grpc.py +223 -0
- strongdm-12.1.0/strongdm/identity_sets_history_pb2.py +100 -0
- strongdm-12.1.0/strongdm/identity_sets_history_pb2_grpc.py +84 -0
- strongdm-12.1.0/strongdm/identity_sets_pb2.py +216 -0
- strongdm-12.1.0/strongdm/identity_sets_pb2_grpc.py +223 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/models.py +5857 -1634
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/nodes_pb2.py +41 -15
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/options_pb2.py +24 -24
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/organization_history_pb2.py +13 -5
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/peering_group_nodes_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/peering_group_peers_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/peering_group_resources_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/peering_groups_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/plumbing.py +3197 -1210
- strongdm-12.1.0/strongdm/policies_history_pb2.py +100 -0
- strongdm-12.1.0/strongdm/policies_history_pb2_grpc.py +84 -0
- strongdm-12.1.0/strongdm/policies_pb2.py +216 -0
- strongdm-12.1.0/strongdm/policies_pb2_grpc.py +223 -0
- strongdm-12.1.0/strongdm/proxy_cluster_keys_pb2.py +191 -0
- strongdm-12.1.0/strongdm/proxy_cluster_keys_pb2_grpc.py +192 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/queries_pb2.py +17 -11
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/remote_identities_history_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/remote_identities_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/remote_identity_groups_history_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/remote_identity_groups_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/replays_pb2.py +8 -6
- strongdm-12.1.0/strongdm/secret_store_types_pb2.py +687 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/spec_pb2.py +12 -8
- strongdm-12.1.0/strongdm/spec_pb2_grpc.py +18 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/svc.py +1345 -339
- strongdm-12.1.0/strongdm/tags_pb2_grpc.py +18 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/workflow_approvers_history_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/workflow_approvers_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/workflow_assignments_history_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/workflow_assignments_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/workflow_roles_history_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/workflow_roles_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/workflows_history_pb2.py +3 -3
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/workflows_pb2.py +31 -26
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm.egg-info/PKG-INFO +2 -2
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm.egg-info/SOURCES.txt +18 -0
- strongdm-7.0.0/strongdm/secret_store_types_pb2.py +0 -549
- {strongdm-7.0.0 → strongdm-12.1.0}/LICENSE +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/README.md +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/setup.cfg +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/__init__.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/access_request_events_history_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/access_requests_history_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/access_requests_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/account_attachments_history_pb2.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/account_attachments_history_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/account_attachments_pb2.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/account_attachments_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/account_grants_history_pb2.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/account_grants_history_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/account_grants_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/account_permissions_pb2.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/account_permissions_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/account_resources_history_pb2.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/account_resources_history_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/account_resources_pb2.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/account_resources_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/accounts_history_pb2.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/accounts_history_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/activities_pb2.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/activities_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/approval_workflow_approvers_history_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/approval_workflow_approvers_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/approval_workflow_steps_history_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/approval_workflow_steps_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/approval_workflows_history_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/approval_workflows_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/control_panel_pb2.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/control_panel_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/drivers_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/errors.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/nodes_history_pb2.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/nodes_history_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/nodes_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/options_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/organization_history_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/peering_group_nodes_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/peering_group_peers_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/peering_group_resources_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/peering_groups_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/queries_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/remote_identities_history_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/remote_identities_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/remote_identity_groups_history_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/remote_identity_groups_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/replays_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/resources_history_pb2.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/resources_history_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/resources_pb2.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/resources_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/role_resources_history_pb2.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/role_resources_history_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/role_resources_pb2.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/role_resources_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/roles_history_pb2.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/roles_history_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/roles_pb2.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/roles_pb2_grpc.py +0 -0
- /strongdm-7.0.0/strongdm/secret_store_types_pb2_grpc.py → /strongdm-12.1.0/strongdm/secret_engine_policy_pb2_grpc.py +0 -0
- /strongdm-7.0.0/strongdm/spec_pb2_grpc.py → /strongdm-12.1.0/strongdm/secret_engine_types_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/secret_store_healths_pb2.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/secret_store_healths_pb2_grpc.py +0 -0
- /strongdm-7.0.0/strongdm/tags_pb2_grpc.py → /strongdm-12.1.0/strongdm/secret_store_types_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/secret_stores_history_pb2.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/secret_stores_history_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/secret_stores_pb2.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/secret_stores_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/tags_pb2.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/workflow_approvers_history_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/workflow_approvers_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/workflow_assignments_history_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/workflow_assignments_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/workflow_roles_history_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/workflow_roles_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/workflows_history_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm/workflows_pb2_grpc.py +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm.egg-info/dependency_links.txt +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm.egg-info/requires.txt +0 -0
- {strongdm-7.0.0 → strongdm-12.1.0}/strongdm.egg-info/top_level.txt +0 -0
@@ -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: policies_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 policies_pb2 as policies__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\x16policies_history.proto\x12\x02v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x0epolicies.proto\x1a\roptions.proto\x1a\nspec.proto\"\x89\x01\n\x1aPoliciesHistoryListRequest\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\"\x95\x02\n\x1bPoliciesHistoryListResponse\x12&\n\x04meta\x18\x01 \x01(\x0b\x32\x18.v1.ListResponseMetadata\x12.\n\x07history\x18\x02 \x03(\x0b\x32\x11.v1.PolicyHistoryB\n\xf2\xf8\xb3\x07\x05\xb8\xf3\xb3\x07\x01\x12t\n\nrate_limit\x18\x03 \x01(\x0b\x32\x15.v1.RateLimitMetadataBI\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\xf2\xf8\xb3\x07\x06\xb2\xf4\xb3\x07\x01*\xf2\xf8\xb3\x07\x12\xb2\xf4\xb3\x07\r!json_gateway\xf2\xf8\xb3\x07\x18\xb2\xf4\xb3\x07\x13!terraform-provider:(\xfa\xf8\xb3\x07\x06\xd2\xf3\xb3\x07\x01*\xfa\xf8\xb3\x07\x18\xd2\xf3\xb3\x07\x13!terraform-provider\"\xf9\x01\n\rPolicyHistory\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&\n\x06policy\x18\x03 \x01(\x0b\x32\n.v1.PolicyB\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:(\xfa\xf8\xb3\x07#\xa8\xf3\xb3\x07\x01\xd2\xf3\xb3\x07\x01*\xd2\xf3\xb3\x07\x13!terraform-provider2\xea\x01\n\x0fPoliciesHistory\x12t\n\x04List\x12\x1e.v1.PoliciesHistoryListRequest\x1a\x1f.v1.PoliciesHistoryListResponse\"+\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07\x19\xaa\xf3\xb3\x07\x14/v1/policies-history\x1a\x61\xca\xf9\xb3\x07\x12\xc2\xf9\xb3\x07\rPolicyHistory\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-provider\xca\xf9\xb3\x07\t\xca\xf9\xb3\x07\x04!cli\xca\xf9\xb3\x07\x05\xe8\xf9\xb3\x07\x01\x42\x93\x01\n\x19\x63om.strongdm.api.plumbingB\x17PoliciesHistoryPlumbingZ5github.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
|
+
_POLICIESHISTORYLISTREQUEST = DESCRIPTOR.message_types_by_name['PoliciesHistoryListRequest']
|
40
|
+
_POLICIESHISTORYLISTRESPONSE = DESCRIPTOR.message_types_by_name['PoliciesHistoryListResponse']
|
41
|
+
_POLICYHISTORY = DESCRIPTOR.message_types_by_name['PolicyHistory']
|
42
|
+
PoliciesHistoryListRequest = _reflection.GeneratedProtocolMessageType('PoliciesHistoryListRequest', (_message.Message,), {
|
43
|
+
'DESCRIPTOR' : _POLICIESHISTORYLISTREQUEST,
|
44
|
+
'__module__' : 'policies_history_pb2'
|
45
|
+
# @@protoc_insertion_point(class_scope:v1.PoliciesHistoryListRequest)
|
46
|
+
})
|
47
|
+
_sym_db.RegisterMessage(PoliciesHistoryListRequest)
|
48
|
+
|
49
|
+
PoliciesHistoryListResponse = _reflection.GeneratedProtocolMessageType('PoliciesHistoryListResponse', (_message.Message,), {
|
50
|
+
'DESCRIPTOR' : _POLICIESHISTORYLISTRESPONSE,
|
51
|
+
'__module__' : 'policies_history_pb2'
|
52
|
+
# @@protoc_insertion_point(class_scope:v1.PoliciesHistoryListResponse)
|
53
|
+
})
|
54
|
+
_sym_db.RegisterMessage(PoliciesHistoryListResponse)
|
55
|
+
|
56
|
+
PolicyHistory = _reflection.GeneratedProtocolMessageType('PolicyHistory', (_message.Message,), {
|
57
|
+
'DESCRIPTOR' : _POLICYHISTORY,
|
58
|
+
'__module__' : 'policies_history_pb2'
|
59
|
+
# @@protoc_insertion_point(class_scope:v1.PolicyHistory)
|
60
|
+
})
|
61
|
+
_sym_db.RegisterMessage(PolicyHistory)
|
62
|
+
|
63
|
+
_POLICIESHISTORY = DESCRIPTOR.services_by_name['PoliciesHistory']
|
64
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
65
|
+
|
66
|
+
DESCRIPTOR._options = None
|
67
|
+
DESCRIPTOR._serialized_options = b'\n\031com.strongdm.api.plumbingB\027PoliciesHistoryPlumbingZ5github.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
|
+
_POLICIESHISTORYLISTREQUEST.fields_by_name['filter']._options = None
|
69
|
+
_POLICIESHISTORYLISTREQUEST.fields_by_name['filter']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
70
|
+
_POLICIESHISTORYLISTREQUEST._options = None
|
71
|
+
_POLICIESHISTORYLISTREQUEST._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
|
+
_POLICIESHISTORYLISTRESPONSE.fields_by_name['history']._options = None
|
73
|
+
_POLICIESHISTORYLISTRESPONSE.fields_by_name['history']._serialized_options = b'\362\370\263\007\005\270\363\263\007\001'
|
74
|
+
_POLICIESHISTORYLISTRESPONSE.fields_by_name['rate_limit']._options = None
|
75
|
+
_POLICIESHISTORYLISTRESPONSE.fields_by_name['rate_limit']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001\362\370\263\007\006\262\364\263\007\001*\362\370\263\007\022\262\364\263\007\r!json_gateway\362\370\263\007\030\262\364\263\007\023!terraform-provider'
|
76
|
+
_POLICIESHISTORYLISTRESPONSE._options = None
|
77
|
+
_POLICIESHISTORYLISTRESPONSE._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
|
+
_POLICYHISTORY.fields_by_name['activity_id']._options = None
|
79
|
+
_POLICYHISTORY.fields_by_name['activity_id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
80
|
+
_POLICYHISTORY.fields_by_name['timestamp']._options = None
|
81
|
+
_POLICYHISTORY.fields_by_name['timestamp']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
82
|
+
_POLICYHISTORY.fields_by_name['policy']._options = None
|
83
|
+
_POLICYHISTORY.fields_by_name['policy']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
84
|
+
_POLICYHISTORY.fields_by_name['deleted_at']._options = None
|
85
|
+
_POLICYHISTORY.fields_by_name['deleted_at']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
86
|
+
_POLICYHISTORY._options = None
|
87
|
+
_POLICYHISTORY._serialized_options = b'\372\370\263\007#\250\363\263\007\001\322\363\263\007\001*\322\363\263\007\023!terraform-provider'
|
88
|
+
_POLICIESHISTORY._options = None
|
89
|
+
_POLICIESHISTORY._serialized_options = b'\312\371\263\007\022\302\371\263\007\rPolicyHistory\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\312\371\263\007\t\312\371\263\007\004!cli\312\371\263\007\005\350\371\263\007\001'
|
90
|
+
_POLICIESHISTORY.methods_by_name['List']._options = None
|
91
|
+
_POLICIESHISTORY.methods_by_name['List']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003get\202\371\263\007\031\252\363\263\007\024/v1/policies-history'
|
92
|
+
_POLICIESHISTORYLISTREQUEST._serialized_start=107
|
93
|
+
_POLICIESHISTORYLISTREQUEST._serialized_end=244
|
94
|
+
_POLICIESHISTORYLISTRESPONSE._serialized_start=247
|
95
|
+
_POLICIESHISTORYLISTRESPONSE._serialized_end=524
|
96
|
+
_POLICYHISTORY._serialized_start=527
|
97
|
+
_POLICYHISTORY._serialized_end=776
|
98
|
+
_POLICIESHISTORY._serialized_start=779
|
99
|
+
_POLICIESHISTORY._serialized_end=1013
|
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 policies_history_pb2 as policies__history__pb2
|
20
|
+
|
21
|
+
|
22
|
+
class PoliciesHistoryStub(object):
|
23
|
+
"""PoliciesHistory records all changes to the state of a Policy.
|
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.PoliciesHistory/List',
|
34
|
+
request_serializer=policies__history__pb2.PoliciesHistoryListRequest.SerializeToString,
|
35
|
+
response_deserializer=policies__history__pb2.PoliciesHistoryListResponse.FromString,
|
36
|
+
)
|
37
|
+
|
38
|
+
|
39
|
+
class PoliciesHistoryServicer(object):
|
40
|
+
"""PoliciesHistory records all changes to the state of a Policy.
|
41
|
+
"""
|
42
|
+
|
43
|
+
def List(self, request, context):
|
44
|
+
"""List gets a list of PolicyHistory 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_PoliciesHistoryServicer_to_server(servicer, server):
|
52
|
+
rpc_method_handlers = {
|
53
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
54
|
+
servicer.List,
|
55
|
+
request_deserializer=policies__history__pb2.PoliciesHistoryListRequest.FromString,
|
56
|
+
response_serializer=policies__history__pb2.PoliciesHistoryListResponse.SerializeToString,
|
57
|
+
),
|
58
|
+
}
|
59
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
60
|
+
'v1.PoliciesHistory', rpc_method_handlers)
|
61
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
62
|
+
|
63
|
+
|
64
|
+
# This class is part of an EXPERIMENTAL API.
|
65
|
+
class PoliciesHistory(object):
|
66
|
+
"""PoliciesHistory records all changes to the state of a Policy.
|
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.PoliciesHistory/List',
|
81
|
+
policies__history__pb2.PoliciesHistoryListRequest.SerializeToString,
|
82
|
+
policies__history__pb2.PoliciesHistoryListResponse.FromString,
|
83
|
+
options, channel_credentials,
|
84
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
@@ -0,0 +1,216 @@
|
|
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: policies.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\x0epolicies.proto\x12\x02v1\x1a\roptions.proto\x1a\nspec.proto\"f\n\x13PolicyCreateRequest\x12\'\n\x04meta\x18\x01 \x01(\x0b\x32\x19.v1.CreateRequestMetadata\x12&\n\x06policy\x18\x02 \x01(\x0b\x32\n.v1.PolicyB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\"\xcd\x01\n\x14PolicyCreateResponse\x12(\n\x04meta\x18\x01 \x01(\x0b\x32\x1a.v1.CreateResponseMetadata\x12&\n\x06policy\x18\x02 \x01(\x0b\x32\n.v1.PolicyB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12W\n\nrate_limit\x18\x03 \x01(\x0b\x32\x15.v1.RateLimitMetadataB,\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\xf2\xf8\xb3\x07\x06\xb2\xf4\xb3\x07\x01*\xf2\xf8\xb3\x07\x12\xb2\xf4\xb3\x07\r!json_gateway:\n\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\"r\n\x13PolicyUpdateRequest\x12\'\n\x04meta\x18\x01 \x01(\x0b\x32\x19.v1.UpdateRequestMetadata\x12\n\n\x02id\x18\x02 \x01(\t\x12&\n\x06policy\x18\x03 \x01(\x0b\x32\n.v1.PolicyB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\"\xcd\x01\n\x14PolicyUpdateResponse\x12(\n\x04meta\x18\x01 \x01(\x0b\x32\x1a.v1.UpdateResponseMetadata\x12&\n\x06policy\x18\x02 \x01(\x0b\x32\n.v1.PolicyB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12W\n\nrate_limit\x18\x03 \x01(\x0b\x32\x15.v1.RateLimitMetadataB,\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\xf2\xf8\xb3\x07\x06\xb2\xf4\xb3\x07\x01*\xf2\xf8\xb3\x07\x12\xb2\xf4\xb3\x07\r!json_gateway:\n\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\"V\n\x13PolicyDeleteRequest\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\"\xa5\x01\n\x14PolicyDeleteResponse\x12(\n\x04meta\x18\x01 \x01(\x0b\x32\x1a.v1.DeleteResponseMetadata\x12W\n\nrate_limit\x18\x02 \x01(\x0b\x32\x15.v1.RateLimitMetadataB,\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\xf2\xf8\xb3\x07\x06\xb2\xf4\xb3\x07\x01*\xf2\xf8\xb3\x07\x12\xb2\xf4\xb3\x07\r!json_gateway:\n\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\"P\n\x10PolicyGetRequest\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\"\xd3\x01\n\x11PolicyGetResponse\x12\x31\n\x04meta\x18\x01 \x01(\x0b\x32\x17.v1.GetResponseMetadataB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12&\n\x06policy\x18\x02 \x01(\x0b\x32\n.v1.PolicyB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12W\n\nrate_limit\x18\x03 \x01(\x0b\x32\x15.v1.RateLimitMetadataB,\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\xf2\xf8\xb3\x07\x06\xb2\xf4\xb3\x07\x01*\xf2\xf8\xb3\x07\x12\xb2\xf4\xb3\x07\r!json_gateway:\n\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\"V\n\x11PolicyListRequest\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\"\xcb\x01\n\x12PolicyListResponse\x12&\n\x04meta\x18\x01 \x01(\x0b\x32\x18.v1.ListResponseMetadata\x12(\n\x08policies\x18\x02 \x03(\x0b\x32\n.v1.PolicyB\n\xf2\xf8\xb3\x07\x05\xb8\xf3\xb3\x07\x01\x12W\n\nrate_limit\x18\x03 \x01(\x0b\x32\x15.v1.RateLimitMetadataB,\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\xf2\xf8\xb3\x07\x06\xb2\xf4\xb3\x07\x01*\xf2\xf8\xb3\x07\x12\xb2\xf4\xb3\x07\r!json_gateway:\n\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\"\xd8\x01\n\x06Policy\x12\x16\n\x02id\x18\x01 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x1d\n\x04name\x18\x02 \x01(\tB\x0f\xf2\xf8\xb3\x07\n\xb0\xf3\xb3\x07\x01\xc0\xf3\xb3\x07\x01\x12\x1f\n\x0b\x64\x65scription\x18\x03 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x1a\n\x06policy\x18\x04 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:Z\xfa\xf8\xb3\x07U\xa8\xf3\xb3\x07\x01\xc2\xf3\xb3\x07K\xa2\xf3\xb3\x07\x1ftf_examples/policy_resource.txt\xaa\xf3\xb3\x07\"tf_examples/policy_data_source.txt2\xba\x04\n\x08Policies\x12\x61\n\x06\x43reate\x12\x17.v1.PolicyCreateRequest\x1a\x18.v1.PolicyCreateResponse\"$\x82\xf9\xb3\x07\t\xa2\xf3\xb3\x07\x04post\x82\xf9\xb3\x07\x11\xaa\xf3\xb3\x07\x0c/v1/policies\x12h\n\x06\x44\x65lete\x12\x17.v1.PolicyDeleteRequest\x1a\x18.v1.PolicyDeleteResponse\"+\x82\xf9\xb3\x07\x0b\xa2\xf3\xb3\x07\x06\x64\x65lete\x82\xf9\xb3\x07\x16\xaa\xf3\xb3\x07\x11/v1/policies/{id}\x12\x65\n\x06Update\x12\x17.v1.PolicyUpdateRequest\x1a\x18.v1.PolicyUpdateResponse\"(\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03put\x82\xf9\xb3\x07\x16\xaa\xf3\xb3\x07\x11/v1/policies/{id}\x12\\\n\x03Get\x12\x14.v1.PolicyGetRequest\x1a\x15.v1.PolicyGetResponse\"(\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07\x16\xaa\xf3\xb3\x07\x11/v1/policies/{id}\x12Z\n\x04List\x12\x15.v1.PolicyListRequest\x1a\x16.v1.PolicyListResponse\"#\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07\x11\xaa\xf3\xb3\x07\x0c/v1/policies\x1a@\xca\xf9\xb3\x07\x0b\xc2\xf9\xb3\x07\x06Policy\xca\xf9\xb3\x07\x08\xd2\xf9\xb3\x07\x03po-\xca\xf9\xb3\x07\x06\xca\xf9\xb3\x07\x01*\xca\xf9\xb3\x07\t\xca\xf9\xb3\x07\x04!cli\xca\xf9\xb3\x07\x05\xe8\xf9\xb3\x07\x01\x42\x64\n\x19\x63om.strongdm.api.plumbingB\x10PoliciesPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1b\x06proto3')
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
_POLICYCREATEREQUEST = DESCRIPTOR.message_types_by_name['PolicyCreateRequest']
|
38
|
+
_POLICYCREATERESPONSE = DESCRIPTOR.message_types_by_name['PolicyCreateResponse']
|
39
|
+
_POLICYUPDATEREQUEST = DESCRIPTOR.message_types_by_name['PolicyUpdateRequest']
|
40
|
+
_POLICYUPDATERESPONSE = DESCRIPTOR.message_types_by_name['PolicyUpdateResponse']
|
41
|
+
_POLICYDELETEREQUEST = DESCRIPTOR.message_types_by_name['PolicyDeleteRequest']
|
42
|
+
_POLICYDELETERESPONSE = DESCRIPTOR.message_types_by_name['PolicyDeleteResponse']
|
43
|
+
_POLICYGETREQUEST = DESCRIPTOR.message_types_by_name['PolicyGetRequest']
|
44
|
+
_POLICYGETRESPONSE = DESCRIPTOR.message_types_by_name['PolicyGetResponse']
|
45
|
+
_POLICYLISTREQUEST = DESCRIPTOR.message_types_by_name['PolicyListRequest']
|
46
|
+
_POLICYLISTRESPONSE = DESCRIPTOR.message_types_by_name['PolicyListResponse']
|
47
|
+
_POLICY = DESCRIPTOR.message_types_by_name['Policy']
|
48
|
+
PolicyCreateRequest = _reflection.GeneratedProtocolMessageType('PolicyCreateRequest', (_message.Message,), {
|
49
|
+
'DESCRIPTOR' : _POLICYCREATEREQUEST,
|
50
|
+
'__module__' : 'policies_pb2'
|
51
|
+
# @@protoc_insertion_point(class_scope:v1.PolicyCreateRequest)
|
52
|
+
})
|
53
|
+
_sym_db.RegisterMessage(PolicyCreateRequest)
|
54
|
+
|
55
|
+
PolicyCreateResponse = _reflection.GeneratedProtocolMessageType('PolicyCreateResponse', (_message.Message,), {
|
56
|
+
'DESCRIPTOR' : _POLICYCREATERESPONSE,
|
57
|
+
'__module__' : 'policies_pb2'
|
58
|
+
# @@protoc_insertion_point(class_scope:v1.PolicyCreateResponse)
|
59
|
+
})
|
60
|
+
_sym_db.RegisterMessage(PolicyCreateResponse)
|
61
|
+
|
62
|
+
PolicyUpdateRequest = _reflection.GeneratedProtocolMessageType('PolicyUpdateRequest', (_message.Message,), {
|
63
|
+
'DESCRIPTOR' : _POLICYUPDATEREQUEST,
|
64
|
+
'__module__' : 'policies_pb2'
|
65
|
+
# @@protoc_insertion_point(class_scope:v1.PolicyUpdateRequest)
|
66
|
+
})
|
67
|
+
_sym_db.RegisterMessage(PolicyUpdateRequest)
|
68
|
+
|
69
|
+
PolicyUpdateResponse = _reflection.GeneratedProtocolMessageType('PolicyUpdateResponse', (_message.Message,), {
|
70
|
+
'DESCRIPTOR' : _POLICYUPDATERESPONSE,
|
71
|
+
'__module__' : 'policies_pb2'
|
72
|
+
# @@protoc_insertion_point(class_scope:v1.PolicyUpdateResponse)
|
73
|
+
})
|
74
|
+
_sym_db.RegisterMessage(PolicyUpdateResponse)
|
75
|
+
|
76
|
+
PolicyDeleteRequest = _reflection.GeneratedProtocolMessageType('PolicyDeleteRequest', (_message.Message,), {
|
77
|
+
'DESCRIPTOR' : _POLICYDELETEREQUEST,
|
78
|
+
'__module__' : 'policies_pb2'
|
79
|
+
# @@protoc_insertion_point(class_scope:v1.PolicyDeleteRequest)
|
80
|
+
})
|
81
|
+
_sym_db.RegisterMessage(PolicyDeleteRequest)
|
82
|
+
|
83
|
+
PolicyDeleteResponse = _reflection.GeneratedProtocolMessageType('PolicyDeleteResponse', (_message.Message,), {
|
84
|
+
'DESCRIPTOR' : _POLICYDELETERESPONSE,
|
85
|
+
'__module__' : 'policies_pb2'
|
86
|
+
# @@protoc_insertion_point(class_scope:v1.PolicyDeleteResponse)
|
87
|
+
})
|
88
|
+
_sym_db.RegisterMessage(PolicyDeleteResponse)
|
89
|
+
|
90
|
+
PolicyGetRequest = _reflection.GeneratedProtocolMessageType('PolicyGetRequest', (_message.Message,), {
|
91
|
+
'DESCRIPTOR' : _POLICYGETREQUEST,
|
92
|
+
'__module__' : 'policies_pb2'
|
93
|
+
# @@protoc_insertion_point(class_scope:v1.PolicyGetRequest)
|
94
|
+
})
|
95
|
+
_sym_db.RegisterMessage(PolicyGetRequest)
|
96
|
+
|
97
|
+
PolicyGetResponse = _reflection.GeneratedProtocolMessageType('PolicyGetResponse', (_message.Message,), {
|
98
|
+
'DESCRIPTOR' : _POLICYGETRESPONSE,
|
99
|
+
'__module__' : 'policies_pb2'
|
100
|
+
# @@protoc_insertion_point(class_scope:v1.PolicyGetResponse)
|
101
|
+
})
|
102
|
+
_sym_db.RegisterMessage(PolicyGetResponse)
|
103
|
+
|
104
|
+
PolicyListRequest = _reflection.GeneratedProtocolMessageType('PolicyListRequest', (_message.Message,), {
|
105
|
+
'DESCRIPTOR' : _POLICYLISTREQUEST,
|
106
|
+
'__module__' : 'policies_pb2'
|
107
|
+
# @@protoc_insertion_point(class_scope:v1.PolicyListRequest)
|
108
|
+
})
|
109
|
+
_sym_db.RegisterMessage(PolicyListRequest)
|
110
|
+
|
111
|
+
PolicyListResponse = _reflection.GeneratedProtocolMessageType('PolicyListResponse', (_message.Message,), {
|
112
|
+
'DESCRIPTOR' : _POLICYLISTRESPONSE,
|
113
|
+
'__module__' : 'policies_pb2'
|
114
|
+
# @@protoc_insertion_point(class_scope:v1.PolicyListResponse)
|
115
|
+
})
|
116
|
+
_sym_db.RegisterMessage(PolicyListResponse)
|
117
|
+
|
118
|
+
Policy = _reflection.GeneratedProtocolMessageType('Policy', (_message.Message,), {
|
119
|
+
'DESCRIPTOR' : _POLICY,
|
120
|
+
'__module__' : 'policies_pb2'
|
121
|
+
# @@protoc_insertion_point(class_scope:v1.Policy)
|
122
|
+
})
|
123
|
+
_sym_db.RegisterMessage(Policy)
|
124
|
+
|
125
|
+
_POLICIES = DESCRIPTOR.services_by_name['Policies']
|
126
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
127
|
+
|
128
|
+
DESCRIPTOR._options = None
|
129
|
+
DESCRIPTOR._serialized_options = b'\n\031com.strongdm.api.plumbingB\020PoliciesPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1'
|
130
|
+
_POLICYCREATEREQUEST.fields_by_name['policy']._options = None
|
131
|
+
_POLICYCREATEREQUEST.fields_by_name['policy']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
132
|
+
_POLICYCREATERESPONSE.fields_by_name['policy']._options = None
|
133
|
+
_POLICYCREATERESPONSE.fields_by_name['policy']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
134
|
+
_POLICYCREATERESPONSE.fields_by_name['rate_limit']._options = None
|
135
|
+
_POLICYCREATERESPONSE.fields_by_name['rate_limit']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001\362\370\263\007\006\262\364\263\007\001*\362\370\263\007\022\262\364\263\007\r!json_gateway'
|
136
|
+
_POLICYCREATERESPONSE._options = None
|
137
|
+
_POLICYCREATERESPONSE._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
|
138
|
+
_POLICYUPDATEREQUEST.fields_by_name['policy']._options = None
|
139
|
+
_POLICYUPDATEREQUEST.fields_by_name['policy']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
140
|
+
_POLICYUPDATERESPONSE.fields_by_name['policy']._options = None
|
141
|
+
_POLICYUPDATERESPONSE.fields_by_name['policy']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
142
|
+
_POLICYUPDATERESPONSE.fields_by_name['rate_limit']._options = None
|
143
|
+
_POLICYUPDATERESPONSE.fields_by_name['rate_limit']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001\362\370\263\007\006\262\364\263\007\001*\362\370\263\007\022\262\364\263\007\r!json_gateway'
|
144
|
+
_POLICYUPDATERESPONSE._options = None
|
145
|
+
_POLICYUPDATERESPONSE._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
|
146
|
+
_POLICYDELETEREQUEST.fields_by_name['id']._options = None
|
147
|
+
_POLICYDELETEREQUEST.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
148
|
+
_POLICYDELETERESPONSE.fields_by_name['rate_limit']._options = None
|
149
|
+
_POLICYDELETERESPONSE.fields_by_name['rate_limit']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001\362\370\263\007\006\262\364\263\007\001*\362\370\263\007\022\262\364\263\007\r!json_gateway'
|
150
|
+
_POLICYDELETERESPONSE._options = None
|
151
|
+
_POLICYDELETERESPONSE._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
|
152
|
+
_POLICYGETREQUEST.fields_by_name['id']._options = None
|
153
|
+
_POLICYGETREQUEST.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
154
|
+
_POLICYGETRESPONSE.fields_by_name['meta']._options = None
|
155
|
+
_POLICYGETRESPONSE.fields_by_name['meta']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
156
|
+
_POLICYGETRESPONSE.fields_by_name['policy']._options = None
|
157
|
+
_POLICYGETRESPONSE.fields_by_name['policy']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
158
|
+
_POLICYGETRESPONSE.fields_by_name['rate_limit']._options = None
|
159
|
+
_POLICYGETRESPONSE.fields_by_name['rate_limit']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001\362\370\263\007\006\262\364\263\007\001*\362\370\263\007\022\262\364\263\007\r!json_gateway'
|
160
|
+
_POLICYGETRESPONSE._options = None
|
161
|
+
_POLICYGETRESPONSE._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
|
162
|
+
_POLICYLISTREQUEST.fields_by_name['filter']._options = None
|
163
|
+
_POLICYLISTREQUEST.fields_by_name['filter']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
164
|
+
_POLICYLISTRESPONSE.fields_by_name['policies']._options = None
|
165
|
+
_POLICYLISTRESPONSE.fields_by_name['policies']._serialized_options = b'\362\370\263\007\005\270\363\263\007\001'
|
166
|
+
_POLICYLISTRESPONSE.fields_by_name['rate_limit']._options = None
|
167
|
+
_POLICYLISTRESPONSE.fields_by_name['rate_limit']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001\362\370\263\007\006\262\364\263\007\001*\362\370\263\007\022\262\364\263\007\r!json_gateway'
|
168
|
+
_POLICYLISTRESPONSE._options = None
|
169
|
+
_POLICYLISTRESPONSE._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
|
170
|
+
_POLICY.fields_by_name['id']._options = None
|
171
|
+
_POLICY.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
172
|
+
_POLICY.fields_by_name['name']._options = None
|
173
|
+
_POLICY.fields_by_name['name']._serialized_options = b'\362\370\263\007\n\260\363\263\007\001\300\363\263\007\001'
|
174
|
+
_POLICY.fields_by_name['description']._options = None
|
175
|
+
_POLICY.fields_by_name['description']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
176
|
+
_POLICY.fields_by_name['policy']._options = None
|
177
|
+
_POLICY.fields_by_name['policy']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
178
|
+
_POLICY._options = None
|
179
|
+
_POLICY._serialized_options = b'\372\370\263\007U\250\363\263\007\001\302\363\263\007K\242\363\263\007\037tf_examples/policy_resource.txt\252\363\263\007\"tf_examples/policy_data_source.txt'
|
180
|
+
_POLICIES._options = None
|
181
|
+
_POLICIES._serialized_options = b'\312\371\263\007\013\302\371\263\007\006Policy\312\371\263\007\010\322\371\263\007\003po-\312\371\263\007\006\312\371\263\007\001*\312\371\263\007\t\312\371\263\007\004!cli\312\371\263\007\005\350\371\263\007\001'
|
182
|
+
_POLICIES.methods_by_name['Create']._options = None
|
183
|
+
_POLICIES.methods_by_name['Create']._serialized_options = b'\202\371\263\007\t\242\363\263\007\004post\202\371\263\007\021\252\363\263\007\014/v1/policies'
|
184
|
+
_POLICIES.methods_by_name['Delete']._options = None
|
185
|
+
_POLICIES.methods_by_name['Delete']._serialized_options = b'\202\371\263\007\013\242\363\263\007\006delete\202\371\263\007\026\252\363\263\007\021/v1/policies/{id}'
|
186
|
+
_POLICIES.methods_by_name['Update']._options = None
|
187
|
+
_POLICIES.methods_by_name['Update']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003put\202\371\263\007\026\252\363\263\007\021/v1/policies/{id}'
|
188
|
+
_POLICIES.methods_by_name['Get']._options = None
|
189
|
+
_POLICIES.methods_by_name['Get']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003get\202\371\263\007\026\252\363\263\007\021/v1/policies/{id}'
|
190
|
+
_POLICIES.methods_by_name['List']._options = None
|
191
|
+
_POLICIES.methods_by_name['List']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003get\202\371\263\007\021\252\363\263\007\014/v1/policies'
|
192
|
+
_POLICYCREATEREQUEST._serialized_start=49
|
193
|
+
_POLICYCREATEREQUEST._serialized_end=151
|
194
|
+
_POLICYCREATERESPONSE._serialized_start=154
|
195
|
+
_POLICYCREATERESPONSE._serialized_end=359
|
196
|
+
_POLICYUPDATEREQUEST._serialized_start=361
|
197
|
+
_POLICYUPDATEREQUEST._serialized_end=475
|
198
|
+
_POLICYUPDATERESPONSE._serialized_start=478
|
199
|
+
_POLICYUPDATERESPONSE._serialized_end=683
|
200
|
+
_POLICYDELETEREQUEST._serialized_start=685
|
201
|
+
_POLICYDELETEREQUEST._serialized_end=771
|
202
|
+
_POLICYDELETERESPONSE._serialized_start=774
|
203
|
+
_POLICYDELETERESPONSE._serialized_end=939
|
204
|
+
_POLICYGETREQUEST._serialized_start=941
|
205
|
+
_POLICYGETREQUEST._serialized_end=1021
|
206
|
+
_POLICYGETRESPONSE._serialized_start=1024
|
207
|
+
_POLICYGETRESPONSE._serialized_end=1235
|
208
|
+
_POLICYLISTREQUEST._serialized_start=1237
|
209
|
+
_POLICYLISTREQUEST._serialized_end=1323
|
210
|
+
_POLICYLISTRESPONSE._serialized_start=1326
|
211
|
+
_POLICYLISTRESPONSE._serialized_end=1529
|
212
|
+
_POLICY._serialized_start=1532
|
213
|
+
_POLICY._serialized_end=1748
|
214
|
+
_POLICIES._serialized_start=1751
|
215
|
+
_POLICIES._serialized_end=2321
|
216
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,223 @@
|
|
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 policies_pb2 as policies__pb2
|
20
|
+
|
21
|
+
|
22
|
+
class PoliciesStub(object):
|
23
|
+
"""Policies are the collection of one or more statements that enforce fine-grained access
|
24
|
+
control for the users of an organization.
|
25
|
+
"""
|
26
|
+
|
27
|
+
def __init__(self, channel):
|
28
|
+
"""Constructor.
|
29
|
+
|
30
|
+
Args:
|
31
|
+
channel: A grpc.Channel.
|
32
|
+
"""
|
33
|
+
self.Create = channel.unary_unary(
|
34
|
+
'/v1.Policies/Create',
|
35
|
+
request_serializer=policies__pb2.PolicyCreateRequest.SerializeToString,
|
36
|
+
response_deserializer=policies__pb2.PolicyCreateResponse.FromString,
|
37
|
+
)
|
38
|
+
self.Delete = channel.unary_unary(
|
39
|
+
'/v1.Policies/Delete',
|
40
|
+
request_serializer=policies__pb2.PolicyDeleteRequest.SerializeToString,
|
41
|
+
response_deserializer=policies__pb2.PolicyDeleteResponse.FromString,
|
42
|
+
)
|
43
|
+
self.Update = channel.unary_unary(
|
44
|
+
'/v1.Policies/Update',
|
45
|
+
request_serializer=policies__pb2.PolicyUpdateRequest.SerializeToString,
|
46
|
+
response_deserializer=policies__pb2.PolicyUpdateResponse.FromString,
|
47
|
+
)
|
48
|
+
self.Get = channel.unary_unary(
|
49
|
+
'/v1.Policies/Get',
|
50
|
+
request_serializer=policies__pb2.PolicyGetRequest.SerializeToString,
|
51
|
+
response_deserializer=policies__pb2.PolicyGetResponse.FromString,
|
52
|
+
)
|
53
|
+
self.List = channel.unary_unary(
|
54
|
+
'/v1.Policies/List',
|
55
|
+
request_serializer=policies__pb2.PolicyListRequest.SerializeToString,
|
56
|
+
response_deserializer=policies__pb2.PolicyListResponse.FromString,
|
57
|
+
)
|
58
|
+
|
59
|
+
|
60
|
+
class PoliciesServicer(object):
|
61
|
+
"""Policies are the collection of one or more statements that enforce fine-grained access
|
62
|
+
control for the users of an organization.
|
63
|
+
"""
|
64
|
+
|
65
|
+
def Create(self, request, context):
|
66
|
+
"""Create creates a new Policy.
|
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 a Policy 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 Update(self, request, context):
|
80
|
+
"""Update replaces all the fields of a Policy by ID.
|
81
|
+
"""
|
82
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
83
|
+
context.set_details('Method not implemented!')
|
84
|
+
raise NotImplementedError('Method not implemented!')
|
85
|
+
|
86
|
+
def Get(self, request, context):
|
87
|
+
"""Get reads one Policy by ID.
|
88
|
+
"""
|
89
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
90
|
+
context.set_details('Method not implemented!')
|
91
|
+
raise NotImplementedError('Method not implemented!')
|
92
|
+
|
93
|
+
def List(self, request, context):
|
94
|
+
"""List gets a list of Policy matching a given set of criteria
|
95
|
+
"""
|
96
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
97
|
+
context.set_details('Method not implemented!')
|
98
|
+
raise NotImplementedError('Method not implemented!')
|
99
|
+
|
100
|
+
|
101
|
+
def add_PoliciesServicer_to_server(servicer, server):
|
102
|
+
rpc_method_handlers = {
|
103
|
+
'Create': grpc.unary_unary_rpc_method_handler(
|
104
|
+
servicer.Create,
|
105
|
+
request_deserializer=policies__pb2.PolicyCreateRequest.FromString,
|
106
|
+
response_serializer=policies__pb2.PolicyCreateResponse.SerializeToString,
|
107
|
+
),
|
108
|
+
'Delete': grpc.unary_unary_rpc_method_handler(
|
109
|
+
servicer.Delete,
|
110
|
+
request_deserializer=policies__pb2.PolicyDeleteRequest.FromString,
|
111
|
+
response_serializer=policies__pb2.PolicyDeleteResponse.SerializeToString,
|
112
|
+
),
|
113
|
+
'Update': grpc.unary_unary_rpc_method_handler(
|
114
|
+
servicer.Update,
|
115
|
+
request_deserializer=policies__pb2.PolicyUpdateRequest.FromString,
|
116
|
+
response_serializer=policies__pb2.PolicyUpdateResponse.SerializeToString,
|
117
|
+
),
|
118
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
119
|
+
servicer.Get,
|
120
|
+
request_deserializer=policies__pb2.PolicyGetRequest.FromString,
|
121
|
+
response_serializer=policies__pb2.PolicyGetResponse.SerializeToString,
|
122
|
+
),
|
123
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
124
|
+
servicer.List,
|
125
|
+
request_deserializer=policies__pb2.PolicyListRequest.FromString,
|
126
|
+
response_serializer=policies__pb2.PolicyListResponse.SerializeToString,
|
127
|
+
),
|
128
|
+
}
|
129
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
130
|
+
'v1.Policies', rpc_method_handlers)
|
131
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
132
|
+
|
133
|
+
|
134
|
+
# This class is part of an EXPERIMENTAL API.
|
135
|
+
class Policies(object):
|
136
|
+
"""Policies are the collection of one or more statements that enforce fine-grained access
|
137
|
+
control for the users of an organization.
|
138
|
+
"""
|
139
|
+
|
140
|
+
@staticmethod
|
141
|
+
def Create(request,
|
142
|
+
target,
|
143
|
+
options=(),
|
144
|
+
channel_credentials=None,
|
145
|
+
call_credentials=None,
|
146
|
+
insecure=False,
|
147
|
+
compression=None,
|
148
|
+
wait_for_ready=None,
|
149
|
+
timeout=None,
|
150
|
+
metadata=None):
|
151
|
+
return grpc.experimental.unary_unary(request, target, '/v1.Policies/Create',
|
152
|
+
policies__pb2.PolicyCreateRequest.SerializeToString,
|
153
|
+
policies__pb2.PolicyCreateResponse.FromString,
|
154
|
+
options, channel_credentials,
|
155
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
156
|
+
|
157
|
+
@staticmethod
|
158
|
+
def Delete(request,
|
159
|
+
target,
|
160
|
+
options=(),
|
161
|
+
channel_credentials=None,
|
162
|
+
call_credentials=None,
|
163
|
+
insecure=False,
|
164
|
+
compression=None,
|
165
|
+
wait_for_ready=None,
|
166
|
+
timeout=None,
|
167
|
+
metadata=None):
|
168
|
+
return grpc.experimental.unary_unary(request, target, '/v1.Policies/Delete',
|
169
|
+
policies__pb2.PolicyDeleteRequest.SerializeToString,
|
170
|
+
policies__pb2.PolicyDeleteResponse.FromString,
|
171
|
+
options, channel_credentials,
|
172
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
173
|
+
|
174
|
+
@staticmethod
|
175
|
+
def Update(request,
|
176
|
+
target,
|
177
|
+
options=(),
|
178
|
+
channel_credentials=None,
|
179
|
+
call_credentials=None,
|
180
|
+
insecure=False,
|
181
|
+
compression=None,
|
182
|
+
wait_for_ready=None,
|
183
|
+
timeout=None,
|
184
|
+
metadata=None):
|
185
|
+
return grpc.experimental.unary_unary(request, target, '/v1.Policies/Update',
|
186
|
+
policies__pb2.PolicyUpdateRequest.SerializeToString,
|
187
|
+
policies__pb2.PolicyUpdateResponse.FromString,
|
188
|
+
options, channel_credentials,
|
189
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
190
|
+
|
191
|
+
@staticmethod
|
192
|
+
def Get(request,
|
193
|
+
target,
|
194
|
+
options=(),
|
195
|
+
channel_credentials=None,
|
196
|
+
call_credentials=None,
|
197
|
+
insecure=False,
|
198
|
+
compression=None,
|
199
|
+
wait_for_ready=None,
|
200
|
+
timeout=None,
|
201
|
+
metadata=None):
|
202
|
+
return grpc.experimental.unary_unary(request, target, '/v1.Policies/Get',
|
203
|
+
policies__pb2.PolicyGetRequest.SerializeToString,
|
204
|
+
policies__pb2.PolicyGetResponse.FromString,
|
205
|
+
options, channel_credentials,
|
206
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
207
|
+
|
208
|
+
@staticmethod
|
209
|
+
def List(request,
|
210
|
+
target,
|
211
|
+
options=(),
|
212
|
+
channel_credentials=None,
|
213
|
+
call_credentials=None,
|
214
|
+
insecure=False,
|
215
|
+
compression=None,
|
216
|
+
wait_for_ready=None,
|
217
|
+
timeout=None,
|
218
|
+
metadata=None):
|
219
|
+
return grpc.experimental.unary_unary(request, target, '/v1.Policies/List',
|
220
|
+
policies__pb2.PolicyListRequest.SerializeToString,
|
221
|
+
policies__pb2.PolicyListResponse.FromString,
|
222
|
+
options, channel_credentials,
|
223
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|