strongdm 8.4.0__zip → 9.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.
Files changed (135) hide show
  1. {strongdm-8.4.0 → strongdm-9.1.0}/PKG-INFO +2 -2
  2. {strongdm-8.4.0 → strongdm-9.1.0}/setup.py +2 -2
  3. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/client.py +45 -1
  4. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/drivers_pb2.py +212 -216
  5. strongdm-9.1.0/strongdm/identity_aliases_history_pb2.py +100 -0
  6. strongdm-9.1.0/strongdm/identity_aliases_history_pb2_grpc.py +84 -0
  7. strongdm-9.1.0/strongdm/identity_aliases_pb2.py +220 -0
  8. strongdm-9.1.0/strongdm/identity_aliases_pb2_grpc.py +223 -0
  9. strongdm-9.1.0/strongdm/identity_sets_history_pb2.py +100 -0
  10. strongdm-9.1.0/strongdm/identity_sets_history_pb2_grpc.py +84 -0
  11. strongdm-9.1.0/strongdm/identity_sets_pb2.py +216 -0
  12. strongdm-9.1.0/strongdm/identity_sets_pb2_grpc.py +223 -0
  13. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/models.py +984 -370
  14. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/plumbing.py +525 -72
  15. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/remote_identities_history_pb2.py +3 -3
  16. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/remote_identities_pb2.py +3 -3
  17. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/remote_identity_groups_history_pb2.py +3 -3
  18. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/remote_identity_groups_pb2.py +3 -3
  19. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/svc.py +517 -0
  20. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm.egg-info/PKG-INFO +2 -2
  21. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm.egg-info/SOURCES.txt +8 -0
  22. {strongdm-8.4.0 → strongdm-9.1.0}/LICENSE +0 -0
  23. {strongdm-8.4.0 → strongdm-9.1.0}/README.md +0 -0
  24. {strongdm-8.4.0 → strongdm-9.1.0}/setup.cfg +0 -0
  25. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/__init__.py +0 -0
  26. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/access_request_events_history_pb2.py +0 -0
  27. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/access_request_events_history_pb2_grpc.py +0 -0
  28. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/access_requests_history_pb2.py +0 -0
  29. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/access_requests_history_pb2_grpc.py +0 -0
  30. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/access_requests_pb2.py +0 -0
  31. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/access_requests_pb2_grpc.py +0 -0
  32. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/account_attachments_history_pb2.py +0 -0
  33. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/account_attachments_history_pb2_grpc.py +0 -0
  34. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/account_attachments_pb2.py +0 -0
  35. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/account_attachments_pb2_grpc.py +0 -0
  36. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/account_grants_history_pb2.py +0 -0
  37. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/account_grants_history_pb2_grpc.py +0 -0
  38. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/account_grants_pb2.py +0 -0
  39. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/account_grants_pb2_grpc.py +0 -0
  40. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/account_permissions_pb2.py +0 -0
  41. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/account_permissions_pb2_grpc.py +0 -0
  42. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/account_resources_history_pb2.py +0 -0
  43. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/account_resources_history_pb2_grpc.py +0 -0
  44. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/account_resources_pb2.py +0 -0
  45. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/account_resources_pb2_grpc.py +0 -0
  46. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/accounts_history_pb2.py +0 -0
  47. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/accounts_history_pb2_grpc.py +0 -0
  48. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/accounts_pb2.py +0 -0
  49. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/accounts_pb2_grpc.py +0 -0
  50. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/activities_pb2.py +0 -0
  51. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/activities_pb2_grpc.py +0 -0
  52. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/approval_workflow_approvers_history_pb2.py +0 -0
  53. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/approval_workflow_approvers_history_pb2_grpc.py +0 -0
  54. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/approval_workflow_approvers_pb2.py +0 -0
  55. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/approval_workflow_approvers_pb2_grpc.py +0 -0
  56. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/approval_workflow_steps_history_pb2.py +0 -0
  57. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/approval_workflow_steps_history_pb2_grpc.py +0 -0
  58. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/approval_workflow_steps_pb2.py +0 -0
  59. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/approval_workflow_steps_pb2_grpc.py +0 -0
  60. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/approval_workflows_history_pb2.py +0 -0
  61. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/approval_workflows_history_pb2_grpc.py +0 -0
  62. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/approval_workflows_pb2.py +0 -0
  63. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/approval_workflows_pb2_grpc.py +0 -0
  64. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/constants.py +0 -0
  65. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/control_panel_pb2.py +0 -0
  66. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/control_panel_pb2_grpc.py +0 -0
  67. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/drivers_pb2_grpc.py +0 -0
  68. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/errors.py +0 -0
  69. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/nodes_history_pb2.py +0 -0
  70. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/nodes_history_pb2_grpc.py +0 -0
  71. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/nodes_pb2.py +0 -0
  72. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/nodes_pb2_grpc.py +0 -0
  73. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/options_pb2.py +0 -0
  74. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/options_pb2_grpc.py +0 -0
  75. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/organization_history_pb2.py +0 -0
  76. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/organization_history_pb2_grpc.py +0 -0
  77. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/peering_group_nodes_pb2.py +0 -0
  78. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/peering_group_nodes_pb2_grpc.py +0 -0
  79. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/peering_group_peers_pb2.py +0 -0
  80. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/peering_group_peers_pb2_grpc.py +0 -0
  81. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/peering_group_resources_pb2.py +0 -0
  82. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/peering_group_resources_pb2_grpc.py +0 -0
  83. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/peering_groups_pb2.py +0 -0
  84. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/peering_groups_pb2_grpc.py +0 -0
  85. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/queries_pb2.py +0 -0
  86. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/queries_pb2_grpc.py +0 -0
  87. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/remote_identities_history_pb2_grpc.py +0 -0
  88. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/remote_identities_pb2_grpc.py +0 -0
  89. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/remote_identity_groups_history_pb2_grpc.py +0 -0
  90. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/remote_identity_groups_pb2_grpc.py +0 -0
  91. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/replays_pb2.py +0 -0
  92. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/replays_pb2_grpc.py +0 -0
  93. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/resources_history_pb2.py +0 -0
  94. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/resources_history_pb2_grpc.py +0 -0
  95. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/resources_pb2.py +0 -0
  96. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/resources_pb2_grpc.py +0 -0
  97. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/role_resources_history_pb2.py +0 -0
  98. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/role_resources_history_pb2_grpc.py +0 -0
  99. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/role_resources_pb2.py +0 -0
  100. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/role_resources_pb2_grpc.py +0 -0
  101. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/roles_history_pb2.py +0 -0
  102. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/roles_history_pb2_grpc.py +0 -0
  103. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/roles_pb2.py +0 -0
  104. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/roles_pb2_grpc.py +0 -0
  105. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/secret_store_healths_pb2.py +0 -0
  106. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/secret_store_healths_pb2_grpc.py +0 -0
  107. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/secret_store_types_pb2.py +0 -0
  108. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/secret_store_types_pb2_grpc.py +0 -0
  109. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/secret_stores_history_pb2.py +0 -0
  110. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/secret_stores_history_pb2_grpc.py +0 -0
  111. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/secret_stores_pb2.py +0 -0
  112. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/secret_stores_pb2_grpc.py +0 -0
  113. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/spec_pb2.py +0 -0
  114. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/spec_pb2_grpc.py +0 -0
  115. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/tags_pb2.py +0 -0
  116. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/tags_pb2_grpc.py +0 -0
  117. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/workflow_approvers_history_pb2.py +0 -0
  118. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/workflow_approvers_history_pb2_grpc.py +0 -0
  119. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/workflow_approvers_pb2.py +0 -0
  120. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/workflow_approvers_pb2_grpc.py +0 -0
  121. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/workflow_assignments_history_pb2.py +0 -0
  122. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/workflow_assignments_history_pb2_grpc.py +0 -0
  123. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/workflow_assignments_pb2.py +0 -0
  124. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/workflow_assignments_pb2_grpc.py +0 -0
  125. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/workflow_roles_history_pb2.py +0 -0
  126. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/workflow_roles_history_pb2_grpc.py +0 -0
  127. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/workflow_roles_pb2.py +0 -0
  128. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/workflow_roles_pb2_grpc.py +0 -0
  129. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/workflows_history_pb2.py +0 -0
  130. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/workflows_history_pb2_grpc.py +0 -0
  131. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/workflows_pb2.py +0 -0
  132. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm/workflows_pb2_grpc.py +0 -0
  133. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm.egg-info/dependency_links.txt +0 -0
  134. {strongdm-8.4.0 → strongdm-9.1.0}/strongdm.egg-info/requires.txt +0 -0
  135. {strongdm-8.4.0 → strongdm-9.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: identity_aliases_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 identity_aliases_pb2 as identity__aliases__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\x1eidentity_aliases_history.proto\x12\x02v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16identity_aliases.proto\x1a\roptions.proto\x1a\nspec.proto\"\x8e\x01\n\x1fIdentityAliasHistoryListRequest\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\"\x84\x02\n IdentityAliasHistoryListResponse\x12&\n\x04meta\x18\x01 \x01(\x0b\x32\x18.v1.ListResponseMetadata\x12\x35\n\x07history\x18\x02 \x03(\x0b\x32\x18.v1.IdentityAliasHistoryB\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:(\xfa\xf8\xb3\x07\x06\xd2\xf3\xb3\x07\x01*\xfa\xf8\xb3\x07\x18\xd2\xf3\xb3\x07\x13!terraform-provider\"\x99\x02\n\x14IdentityAliasHistory\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\x35\n\x0eidentity_alias\x18\x03 \x01(\x0b\x32\x11.v1.IdentityAliasB\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\xf3\x01\n\x16IdentityAliasesHistory\x12\x86\x01\n\x04List\x12#.v1.IdentityAliasHistoryListRequest\x1a$.v1.IdentityAliasHistoryListResponse\"3\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07!\xaa\xf3\xb3\x07\x1c/v1/identity-aliases-history\x1aP\xca\xf9\xb3\x07\x19\xc2\xf9\xb3\x07\x14IdentityAliasHistory\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\x9a\x01\n\x19\x63om.strongdm.api.plumbingB\x1eIdentityAliasesHistoryPlumbingZ5github.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
+ _IDENTITYALIASHISTORYLISTREQUEST = DESCRIPTOR.message_types_by_name['IdentityAliasHistoryListRequest']
40
+ _IDENTITYALIASHISTORYLISTRESPONSE = DESCRIPTOR.message_types_by_name['IdentityAliasHistoryListResponse']
41
+ _IDENTITYALIASHISTORY = DESCRIPTOR.message_types_by_name['IdentityAliasHistory']
42
+ IdentityAliasHistoryListRequest = _reflection.GeneratedProtocolMessageType('IdentityAliasHistoryListRequest', (_message.Message,), {
43
+ 'DESCRIPTOR' : _IDENTITYALIASHISTORYLISTREQUEST,
44
+ '__module__' : 'identity_aliases_history_pb2'
45
+ # @@protoc_insertion_point(class_scope:v1.IdentityAliasHistoryListRequest)
46
+ })
47
+ _sym_db.RegisterMessage(IdentityAliasHistoryListRequest)
48
+
49
+ IdentityAliasHistoryListResponse = _reflection.GeneratedProtocolMessageType('IdentityAliasHistoryListResponse', (_message.Message,), {
50
+ 'DESCRIPTOR' : _IDENTITYALIASHISTORYLISTRESPONSE,
51
+ '__module__' : 'identity_aliases_history_pb2'
52
+ # @@protoc_insertion_point(class_scope:v1.IdentityAliasHistoryListResponse)
53
+ })
54
+ _sym_db.RegisterMessage(IdentityAliasHistoryListResponse)
55
+
56
+ IdentityAliasHistory = _reflection.GeneratedProtocolMessageType('IdentityAliasHistory', (_message.Message,), {
57
+ 'DESCRIPTOR' : _IDENTITYALIASHISTORY,
58
+ '__module__' : 'identity_aliases_history_pb2'
59
+ # @@protoc_insertion_point(class_scope:v1.IdentityAliasHistory)
60
+ })
61
+ _sym_db.RegisterMessage(IdentityAliasHistory)
62
+
63
+ _IDENTITYALIASESHISTORY = DESCRIPTOR.services_by_name['IdentityAliasesHistory']
64
+ if _descriptor._USE_C_DESCRIPTORS == False:
65
+
66
+ DESCRIPTOR._options = None
67
+ DESCRIPTOR._serialized_options = b'\n\031com.strongdm.api.plumbingB\036IdentityAliasesHistoryPlumbingZ5github.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
+ _IDENTITYALIASHISTORYLISTREQUEST.fields_by_name['filter']._options = None
69
+ _IDENTITYALIASHISTORYLISTREQUEST.fields_by_name['filter']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
70
+ _IDENTITYALIASHISTORYLISTREQUEST._options = None
71
+ _IDENTITYALIASHISTORYLISTREQUEST._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
+ _IDENTITYALIASHISTORYLISTRESPONSE.fields_by_name['history']._options = None
73
+ _IDENTITYALIASHISTORYLISTRESPONSE.fields_by_name['history']._serialized_options = b'\362\370\263\007\005\270\363\263\007\001'
74
+ _IDENTITYALIASHISTORYLISTRESPONSE.fields_by_name['rate_limit']._options = None
75
+ _IDENTITYALIASHISTORYLISTRESPONSE.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'
76
+ _IDENTITYALIASHISTORYLISTRESPONSE._options = None
77
+ _IDENTITYALIASHISTORYLISTRESPONSE._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
+ _IDENTITYALIASHISTORY.fields_by_name['activity_id']._options = None
79
+ _IDENTITYALIASHISTORY.fields_by_name['activity_id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
80
+ _IDENTITYALIASHISTORY.fields_by_name['timestamp']._options = None
81
+ _IDENTITYALIASHISTORY.fields_by_name['timestamp']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
82
+ _IDENTITYALIASHISTORY.fields_by_name['identity_alias']._options = None
83
+ _IDENTITYALIASHISTORY.fields_by_name['identity_alias']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
84
+ _IDENTITYALIASHISTORY.fields_by_name['deleted_at']._options = None
85
+ _IDENTITYALIASHISTORY.fields_by_name['deleted_at']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
86
+ _IDENTITYALIASHISTORY._options = None
87
+ _IDENTITYALIASHISTORY._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
+ _IDENTITYALIASESHISTORY._options = None
89
+ _IDENTITYALIASESHISTORY._serialized_options = b'\312\371\263\007\031\302\371\263\007\024IdentityAliasHistory\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
+ _IDENTITYALIASESHISTORY.methods_by_name['List']._options = None
91
+ _IDENTITYALIASESHISTORY.methods_by_name['List']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003get\202\371\263\007!\252\363\263\007\034/v1/identity-aliases-history'
92
+ _IDENTITYALIASHISTORYLISTREQUEST._serialized_start=123
93
+ _IDENTITYALIASHISTORYLISTREQUEST._serialized_end=265
94
+ _IDENTITYALIASHISTORYLISTRESPONSE._serialized_start=268
95
+ _IDENTITYALIASHISTORYLISTRESPONSE._serialized_end=528
96
+ _IDENTITYALIASHISTORY._serialized_start=531
97
+ _IDENTITYALIASHISTORY._serialized_end=812
98
+ _IDENTITYALIASESHISTORY._serialized_start=815
99
+ _IDENTITYALIASESHISTORY._serialized_end=1058
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 identity_aliases_history_pb2 as identity__aliases__history__pb2
20
+
21
+
22
+ class IdentityAliasesHistoryStub(object):
23
+ """IdentityAliasesHistory records all changes to the state of a IdentityAlias.
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.IdentityAliasesHistory/List',
34
+ request_serializer=identity__aliases__history__pb2.IdentityAliasHistoryListRequest.SerializeToString,
35
+ response_deserializer=identity__aliases__history__pb2.IdentityAliasHistoryListResponse.FromString,
36
+ )
37
+
38
+
39
+ class IdentityAliasesHistoryServicer(object):
40
+ """IdentityAliasesHistory records all changes to the state of a IdentityAlias.
41
+ """
42
+
43
+ def List(self, request, context):
44
+ """List gets a list of IdentityAliasHistory 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_IdentityAliasesHistoryServicer_to_server(servicer, server):
52
+ rpc_method_handlers = {
53
+ 'List': grpc.unary_unary_rpc_method_handler(
54
+ servicer.List,
55
+ request_deserializer=identity__aliases__history__pb2.IdentityAliasHistoryListRequest.FromString,
56
+ response_serializer=identity__aliases__history__pb2.IdentityAliasHistoryListResponse.SerializeToString,
57
+ ),
58
+ }
59
+ generic_handler = grpc.method_handlers_generic_handler(
60
+ 'v1.IdentityAliasesHistory', rpc_method_handlers)
61
+ server.add_generic_rpc_handlers((generic_handler,))
62
+
63
+
64
+ # This class is part of an EXPERIMENTAL API.
65
+ class IdentityAliasesHistory(object):
66
+ """IdentityAliasesHistory records all changes to the state of a IdentityAlias.
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.IdentityAliasesHistory/List',
81
+ identity__aliases__history__pb2.IdentityAliasHistoryListRequest.SerializeToString,
82
+ identity__aliases__history__pb2.IdentityAliasHistoryListResponse.FromString,
83
+ options, channel_credentials,
84
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -0,0 +1,220 @@
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: identity_aliases.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\x16identity_aliases.proto\x12\x02v1\x1a\roptions.proto\x1a\nspec.proto\"|\n\x1aIdentityAliasCreateRequest\x12\'\n\x04meta\x18\x01 \x01(\x0b\x32\x19.v1.CreateRequestMetadata\x12\x35\n\x0eidentity_alias\x18\x02 \x01(\x0b\x32\x11.v1.IdentityAliasB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\"\xef\x01\n\x1bIdentityAliasCreateResponse\x12\x34\n\x04meta\x18\x01 \x01(\x0b\x32\x1a.v1.CreateResponseMetadataB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x35\n\x0eidentity_alias\x18\x02 \x01(\x0b\x32\x11.v1.IdentityAliasB\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\"W\n\x17IdentityAliasGetRequest\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\"\xe9\x01\n\x18IdentityAliasGetResponse\x12\x31\n\x04meta\x18\x01 \x01(\x0b\x32\x17.v1.GetResponseMetadataB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x35\n\x0eidentity_alias\x18\x02 \x01(\x0b\x32\x11.v1.IdentityAliasB\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\"\x88\x01\n\x1aIdentityAliasUpdateRequest\x12\'\n\x04meta\x18\x01 \x01(\x0b\x32\x19.v1.UpdateRequestMetadata\x12\n\n\x02id\x18\x02 \x01(\t\x12\x35\n\x0eidentity_alias\x18\x03 \x01(\x0b\x32\x11.v1.IdentityAliasB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\"\xef\x01\n\x1bIdentityAliasUpdateResponse\x12\x34\n\x04meta\x18\x01 \x01(\x0b\x32\x1a.v1.UpdateResponseMetadataB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x35\n\x0eidentity_alias\x18\x02 \x01(\x0b\x32\x11.v1.IdentityAliasB\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\"]\n\x1aIdentityAliasDeleteRequest\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\"\xb8\x01\n\x1bIdentityAliasDeleteResponse\x12\x34\n\x04meta\x18\x01 \x01(\x0b\x32\x1a.v1.DeleteResponseMetadataB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\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\"]\n\x18IdentityAliasListRequest\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\"\xd5\x01\n\x19IdentityAliasListResponse\x12&\n\x04meta\x18\x01 \x01(\x0b\x32\x18.v1.ListResponseMetadata\x12\x37\n\x10identity_aliases\x18\x02 \x03(\x0b\x32\x11.v1.IdentityAliasB\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\"\x85\x02\n\rIdentityAlias\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\x0fidentity_set_id\x18\x03 \x01(\tB\x0f\xf2\xf8\xb3\x07\n\xb0\xf3\xb3\x07\x01\xc0\xf3\xb3\x07\x01\x12!\n\x08username\x18\x04 \x01(\tB\x0f\xf2\xf8\xb3\x07\n\xb0\xf3\xb3\x07\x01\xc0\xf3\xb3\x07\x01:j\xfa\xf8\xb3\x07\x65\xa8\xf3\xb3\x07\x01\xc2\xf3\xb3\x07[\xa2\xf3\xb3\x07\'tf_examples/identity_alias_resource.txt\xaa\xf3\xb3\x07*tf_examples/identity_alias_data_source.txt2\x92\x05\n\x0fIdentityAliases\x12w\n\x06\x43reate\x12\x1e.v1.IdentityAliasCreateRequest\x1a\x1f.v1.IdentityAliasCreateResponse\",\x82\xf9\xb3\x07\t\xa2\xf3\xb3\x07\x04post\x82\xf9\xb3\x07\x19\xaa\xf3\xb3\x07\x14/v1/identity-aliases\x12r\n\x03Get\x12\x1b.v1.IdentityAliasGetRequest\x1a\x1c.v1.IdentityAliasGetResponse\"0\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07\x1e\xaa\xf3\xb3\x07\x19/v1/identity-aliases/{id}\x12{\n\x06Update\x12\x1e.v1.IdentityAliasUpdateRequest\x1a\x1f.v1.IdentityAliasUpdateResponse\"0\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03put\x82\xf9\xb3\x07\x1e\xaa\xf3\xb3\x07\x19/v1/identity-aliases/{id}\x12~\n\x06\x44\x65lete\x12\x1e.v1.IdentityAliasDeleteRequest\x1a\x1f.v1.IdentityAliasDeleteResponse\"3\x82\xf9\xb3\x07\x0b\xa2\xf3\xb3\x07\x06\x64\x65lete\x82\xf9\xb3\x07\x1e\xaa\xf3\xb3\x07\x19/v1/identity-aliases/{id}\x12p\n\x04List\x12\x1c.v1.IdentityAliasListRequest\x1a\x1d.v1.IdentityAliasListResponse\"+\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07\x19\xaa\xf3\xb3\x07\x14/v1/identity-aliases\x1a#\xca\xf9\xb3\x07\x12\xc2\xf9\xb3\x07\rIdentityAlias\xca\xf9\xb3\x07\x07\xd2\xf9\xb3\x07\x02i-Bk\n\x19\x63om.strongdm.api.plumbingB\x17IdentityAliasesPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1b\x06proto3')
34
+
35
+
36
+
37
+ _IDENTITYALIASCREATEREQUEST = DESCRIPTOR.message_types_by_name['IdentityAliasCreateRequest']
38
+ _IDENTITYALIASCREATERESPONSE = DESCRIPTOR.message_types_by_name['IdentityAliasCreateResponse']
39
+ _IDENTITYALIASGETREQUEST = DESCRIPTOR.message_types_by_name['IdentityAliasGetRequest']
40
+ _IDENTITYALIASGETRESPONSE = DESCRIPTOR.message_types_by_name['IdentityAliasGetResponse']
41
+ _IDENTITYALIASUPDATEREQUEST = DESCRIPTOR.message_types_by_name['IdentityAliasUpdateRequest']
42
+ _IDENTITYALIASUPDATERESPONSE = DESCRIPTOR.message_types_by_name['IdentityAliasUpdateResponse']
43
+ _IDENTITYALIASDELETEREQUEST = DESCRIPTOR.message_types_by_name['IdentityAliasDeleteRequest']
44
+ _IDENTITYALIASDELETERESPONSE = DESCRIPTOR.message_types_by_name['IdentityAliasDeleteResponse']
45
+ _IDENTITYALIASLISTREQUEST = DESCRIPTOR.message_types_by_name['IdentityAliasListRequest']
46
+ _IDENTITYALIASLISTRESPONSE = DESCRIPTOR.message_types_by_name['IdentityAliasListResponse']
47
+ _IDENTITYALIAS = DESCRIPTOR.message_types_by_name['IdentityAlias']
48
+ IdentityAliasCreateRequest = _reflection.GeneratedProtocolMessageType('IdentityAliasCreateRequest', (_message.Message,), {
49
+ 'DESCRIPTOR' : _IDENTITYALIASCREATEREQUEST,
50
+ '__module__' : 'identity_aliases_pb2'
51
+ # @@protoc_insertion_point(class_scope:v1.IdentityAliasCreateRequest)
52
+ })
53
+ _sym_db.RegisterMessage(IdentityAliasCreateRequest)
54
+
55
+ IdentityAliasCreateResponse = _reflection.GeneratedProtocolMessageType('IdentityAliasCreateResponse', (_message.Message,), {
56
+ 'DESCRIPTOR' : _IDENTITYALIASCREATERESPONSE,
57
+ '__module__' : 'identity_aliases_pb2'
58
+ # @@protoc_insertion_point(class_scope:v1.IdentityAliasCreateResponse)
59
+ })
60
+ _sym_db.RegisterMessage(IdentityAliasCreateResponse)
61
+
62
+ IdentityAliasGetRequest = _reflection.GeneratedProtocolMessageType('IdentityAliasGetRequest', (_message.Message,), {
63
+ 'DESCRIPTOR' : _IDENTITYALIASGETREQUEST,
64
+ '__module__' : 'identity_aliases_pb2'
65
+ # @@protoc_insertion_point(class_scope:v1.IdentityAliasGetRequest)
66
+ })
67
+ _sym_db.RegisterMessage(IdentityAliasGetRequest)
68
+
69
+ IdentityAliasGetResponse = _reflection.GeneratedProtocolMessageType('IdentityAliasGetResponse', (_message.Message,), {
70
+ 'DESCRIPTOR' : _IDENTITYALIASGETRESPONSE,
71
+ '__module__' : 'identity_aliases_pb2'
72
+ # @@protoc_insertion_point(class_scope:v1.IdentityAliasGetResponse)
73
+ })
74
+ _sym_db.RegisterMessage(IdentityAliasGetResponse)
75
+
76
+ IdentityAliasUpdateRequest = _reflection.GeneratedProtocolMessageType('IdentityAliasUpdateRequest', (_message.Message,), {
77
+ 'DESCRIPTOR' : _IDENTITYALIASUPDATEREQUEST,
78
+ '__module__' : 'identity_aliases_pb2'
79
+ # @@protoc_insertion_point(class_scope:v1.IdentityAliasUpdateRequest)
80
+ })
81
+ _sym_db.RegisterMessage(IdentityAliasUpdateRequest)
82
+
83
+ IdentityAliasUpdateResponse = _reflection.GeneratedProtocolMessageType('IdentityAliasUpdateResponse', (_message.Message,), {
84
+ 'DESCRIPTOR' : _IDENTITYALIASUPDATERESPONSE,
85
+ '__module__' : 'identity_aliases_pb2'
86
+ # @@protoc_insertion_point(class_scope:v1.IdentityAliasUpdateResponse)
87
+ })
88
+ _sym_db.RegisterMessage(IdentityAliasUpdateResponse)
89
+
90
+ IdentityAliasDeleteRequest = _reflection.GeneratedProtocolMessageType('IdentityAliasDeleteRequest', (_message.Message,), {
91
+ 'DESCRIPTOR' : _IDENTITYALIASDELETEREQUEST,
92
+ '__module__' : 'identity_aliases_pb2'
93
+ # @@protoc_insertion_point(class_scope:v1.IdentityAliasDeleteRequest)
94
+ })
95
+ _sym_db.RegisterMessage(IdentityAliasDeleteRequest)
96
+
97
+ IdentityAliasDeleteResponse = _reflection.GeneratedProtocolMessageType('IdentityAliasDeleteResponse', (_message.Message,), {
98
+ 'DESCRIPTOR' : _IDENTITYALIASDELETERESPONSE,
99
+ '__module__' : 'identity_aliases_pb2'
100
+ # @@protoc_insertion_point(class_scope:v1.IdentityAliasDeleteResponse)
101
+ })
102
+ _sym_db.RegisterMessage(IdentityAliasDeleteResponse)
103
+
104
+ IdentityAliasListRequest = _reflection.GeneratedProtocolMessageType('IdentityAliasListRequest', (_message.Message,), {
105
+ 'DESCRIPTOR' : _IDENTITYALIASLISTREQUEST,
106
+ '__module__' : 'identity_aliases_pb2'
107
+ # @@protoc_insertion_point(class_scope:v1.IdentityAliasListRequest)
108
+ })
109
+ _sym_db.RegisterMessage(IdentityAliasListRequest)
110
+
111
+ IdentityAliasListResponse = _reflection.GeneratedProtocolMessageType('IdentityAliasListResponse', (_message.Message,), {
112
+ 'DESCRIPTOR' : _IDENTITYALIASLISTRESPONSE,
113
+ '__module__' : 'identity_aliases_pb2'
114
+ # @@protoc_insertion_point(class_scope:v1.IdentityAliasListResponse)
115
+ })
116
+ _sym_db.RegisterMessage(IdentityAliasListResponse)
117
+
118
+ IdentityAlias = _reflection.GeneratedProtocolMessageType('IdentityAlias', (_message.Message,), {
119
+ 'DESCRIPTOR' : _IDENTITYALIAS,
120
+ '__module__' : 'identity_aliases_pb2'
121
+ # @@protoc_insertion_point(class_scope:v1.IdentityAlias)
122
+ })
123
+ _sym_db.RegisterMessage(IdentityAlias)
124
+
125
+ _IDENTITYALIASES = DESCRIPTOR.services_by_name['IdentityAliases']
126
+ if _descriptor._USE_C_DESCRIPTORS == False:
127
+
128
+ DESCRIPTOR._options = None
129
+ DESCRIPTOR._serialized_options = b'\n\031com.strongdm.api.plumbingB\027IdentityAliasesPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1'
130
+ _IDENTITYALIASCREATEREQUEST.fields_by_name['identity_alias']._options = None
131
+ _IDENTITYALIASCREATEREQUEST.fields_by_name['identity_alias']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
132
+ _IDENTITYALIASCREATERESPONSE.fields_by_name['meta']._options = None
133
+ _IDENTITYALIASCREATERESPONSE.fields_by_name['meta']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
134
+ _IDENTITYALIASCREATERESPONSE.fields_by_name['identity_alias']._options = None
135
+ _IDENTITYALIASCREATERESPONSE.fields_by_name['identity_alias']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
136
+ _IDENTITYALIASCREATERESPONSE.fields_by_name['rate_limit']._options = None
137
+ _IDENTITYALIASCREATERESPONSE.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'
138
+ _IDENTITYALIASCREATERESPONSE._options = None
139
+ _IDENTITYALIASCREATERESPONSE._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
140
+ _IDENTITYALIASGETREQUEST.fields_by_name['id']._options = None
141
+ _IDENTITYALIASGETREQUEST.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
142
+ _IDENTITYALIASGETRESPONSE.fields_by_name['meta']._options = None
143
+ _IDENTITYALIASGETRESPONSE.fields_by_name['meta']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
144
+ _IDENTITYALIASGETRESPONSE.fields_by_name['identity_alias']._options = None
145
+ _IDENTITYALIASGETRESPONSE.fields_by_name['identity_alias']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
146
+ _IDENTITYALIASGETRESPONSE.fields_by_name['rate_limit']._options = None
147
+ _IDENTITYALIASGETRESPONSE.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'
148
+ _IDENTITYALIASGETRESPONSE._options = None
149
+ _IDENTITYALIASGETRESPONSE._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
150
+ _IDENTITYALIASUPDATEREQUEST.fields_by_name['identity_alias']._options = None
151
+ _IDENTITYALIASUPDATEREQUEST.fields_by_name['identity_alias']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
152
+ _IDENTITYALIASUPDATERESPONSE.fields_by_name['meta']._options = None
153
+ _IDENTITYALIASUPDATERESPONSE.fields_by_name['meta']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
154
+ _IDENTITYALIASUPDATERESPONSE.fields_by_name['identity_alias']._options = None
155
+ _IDENTITYALIASUPDATERESPONSE.fields_by_name['identity_alias']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
156
+ _IDENTITYALIASUPDATERESPONSE.fields_by_name['rate_limit']._options = None
157
+ _IDENTITYALIASUPDATERESPONSE.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'
158
+ _IDENTITYALIASUPDATERESPONSE._options = None
159
+ _IDENTITYALIASUPDATERESPONSE._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
160
+ _IDENTITYALIASDELETEREQUEST.fields_by_name['id']._options = None
161
+ _IDENTITYALIASDELETEREQUEST.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
162
+ _IDENTITYALIASDELETERESPONSE.fields_by_name['meta']._options = None
163
+ _IDENTITYALIASDELETERESPONSE.fields_by_name['meta']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
164
+ _IDENTITYALIASDELETERESPONSE.fields_by_name['rate_limit']._options = None
165
+ _IDENTITYALIASDELETERESPONSE.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'
166
+ _IDENTITYALIASDELETERESPONSE._options = None
167
+ _IDENTITYALIASDELETERESPONSE._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
168
+ _IDENTITYALIASLISTREQUEST.fields_by_name['filter']._options = None
169
+ _IDENTITYALIASLISTREQUEST.fields_by_name['filter']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
170
+ _IDENTITYALIASLISTRESPONSE.fields_by_name['identity_aliases']._options = None
171
+ _IDENTITYALIASLISTRESPONSE.fields_by_name['identity_aliases']._serialized_options = b'\362\370\263\007\005\270\363\263\007\001'
172
+ _IDENTITYALIASLISTRESPONSE.fields_by_name['rate_limit']._options = None
173
+ _IDENTITYALIASLISTRESPONSE.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'
174
+ _IDENTITYALIAS.fields_by_name['id']._options = None
175
+ _IDENTITYALIAS.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
176
+ _IDENTITYALIAS.fields_by_name['account_id']._options = None
177
+ _IDENTITYALIAS.fields_by_name['account_id']._serialized_options = b'\362\370\263\007\n\260\363\263\007\001\300\363\263\007\001'
178
+ _IDENTITYALIAS.fields_by_name['identity_set_id']._options = None
179
+ _IDENTITYALIAS.fields_by_name['identity_set_id']._serialized_options = b'\362\370\263\007\n\260\363\263\007\001\300\363\263\007\001'
180
+ _IDENTITYALIAS.fields_by_name['username']._options = None
181
+ _IDENTITYALIAS.fields_by_name['username']._serialized_options = b'\362\370\263\007\n\260\363\263\007\001\300\363\263\007\001'
182
+ _IDENTITYALIAS._options = None
183
+ _IDENTITYALIAS._serialized_options = b'\372\370\263\007e\250\363\263\007\001\302\363\263\007[\242\363\263\007\'tf_examples/identity_alias_resource.txt\252\363\263\007*tf_examples/identity_alias_data_source.txt'
184
+ _IDENTITYALIASES._options = None
185
+ _IDENTITYALIASES._serialized_options = b'\312\371\263\007\022\302\371\263\007\rIdentityAlias\312\371\263\007\007\322\371\263\007\002i-'
186
+ _IDENTITYALIASES.methods_by_name['Create']._options = None
187
+ _IDENTITYALIASES.methods_by_name['Create']._serialized_options = b'\202\371\263\007\t\242\363\263\007\004post\202\371\263\007\031\252\363\263\007\024/v1/identity-aliases'
188
+ _IDENTITYALIASES.methods_by_name['Get']._options = None
189
+ _IDENTITYALIASES.methods_by_name['Get']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003get\202\371\263\007\036\252\363\263\007\031/v1/identity-aliases/{id}'
190
+ _IDENTITYALIASES.methods_by_name['Update']._options = None
191
+ _IDENTITYALIASES.methods_by_name['Update']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003put\202\371\263\007\036\252\363\263\007\031/v1/identity-aliases/{id}'
192
+ _IDENTITYALIASES.methods_by_name['Delete']._options = None
193
+ _IDENTITYALIASES.methods_by_name['Delete']._serialized_options = b'\202\371\263\007\013\242\363\263\007\006delete\202\371\263\007\036\252\363\263\007\031/v1/identity-aliases/{id}'
194
+ _IDENTITYALIASES.methods_by_name['List']._options = None
195
+ _IDENTITYALIASES.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/identity-aliases'
196
+ _IDENTITYALIASCREATEREQUEST._serialized_start=57
197
+ _IDENTITYALIASCREATEREQUEST._serialized_end=181
198
+ _IDENTITYALIASCREATERESPONSE._serialized_start=184
199
+ _IDENTITYALIASCREATERESPONSE._serialized_end=423
200
+ _IDENTITYALIASGETREQUEST._serialized_start=425
201
+ _IDENTITYALIASGETREQUEST._serialized_end=512
202
+ _IDENTITYALIASGETRESPONSE._serialized_start=515
203
+ _IDENTITYALIASGETRESPONSE._serialized_end=748
204
+ _IDENTITYALIASUPDATEREQUEST._serialized_start=751
205
+ _IDENTITYALIASUPDATEREQUEST._serialized_end=887
206
+ _IDENTITYALIASUPDATERESPONSE._serialized_start=890
207
+ _IDENTITYALIASUPDATERESPONSE._serialized_end=1129
208
+ _IDENTITYALIASDELETEREQUEST._serialized_start=1131
209
+ _IDENTITYALIASDELETEREQUEST._serialized_end=1224
210
+ _IDENTITYALIASDELETERESPONSE._serialized_start=1227
211
+ _IDENTITYALIASDELETERESPONSE._serialized_end=1411
212
+ _IDENTITYALIASLISTREQUEST._serialized_start=1413
213
+ _IDENTITYALIASLISTREQUEST._serialized_end=1506
214
+ _IDENTITYALIASLISTRESPONSE._serialized_start=1509
215
+ _IDENTITYALIASLISTRESPONSE._serialized_end=1722
216
+ _IDENTITYALIAS._serialized_start=1725
217
+ _IDENTITYALIAS._serialized_end=1986
218
+ _IDENTITYALIASES._serialized_start=1989
219
+ _IDENTITYALIASES._serialized_end=2647
220
+ # @@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 identity_aliases_pb2 as identity__aliases__pb2
20
+
21
+
22
+ class IdentityAliasesStub(object):
23
+ """IdentityAliases assign an alias to an account within an IdentitySet.
24
+ The alias is used as the username when connecting to a identity supported resource.
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.IdentityAliases/Create',
35
+ request_serializer=identity__aliases__pb2.IdentityAliasCreateRequest.SerializeToString,
36
+ response_deserializer=identity__aliases__pb2.IdentityAliasCreateResponse.FromString,
37
+ )
38
+ self.Get = channel.unary_unary(
39
+ '/v1.IdentityAliases/Get',
40
+ request_serializer=identity__aliases__pb2.IdentityAliasGetRequest.SerializeToString,
41
+ response_deserializer=identity__aliases__pb2.IdentityAliasGetResponse.FromString,
42
+ )
43
+ self.Update = channel.unary_unary(
44
+ '/v1.IdentityAliases/Update',
45
+ request_serializer=identity__aliases__pb2.IdentityAliasUpdateRequest.SerializeToString,
46
+ response_deserializer=identity__aliases__pb2.IdentityAliasUpdateResponse.FromString,
47
+ )
48
+ self.Delete = channel.unary_unary(
49
+ '/v1.IdentityAliases/Delete',
50
+ request_serializer=identity__aliases__pb2.IdentityAliasDeleteRequest.SerializeToString,
51
+ response_deserializer=identity__aliases__pb2.IdentityAliasDeleteResponse.FromString,
52
+ )
53
+ self.List = channel.unary_unary(
54
+ '/v1.IdentityAliases/List',
55
+ request_serializer=identity__aliases__pb2.IdentityAliasListRequest.SerializeToString,
56
+ response_deserializer=identity__aliases__pb2.IdentityAliasListResponse.FromString,
57
+ )
58
+
59
+
60
+ class IdentityAliasesServicer(object):
61
+ """IdentityAliases assign an alias to an account within an IdentitySet.
62
+ The alias is used as the username when connecting to a identity supported resource.
63
+ """
64
+
65
+ def Create(self, request, context):
66
+ """Create registers a new IdentityAlias.
67
+ """
68
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
69
+ context.set_details('Method not implemented!')
70
+ raise NotImplementedError('Method not implemented!')
71
+
72
+ def Get(self, request, context):
73
+ """Get reads one IdentityAlias 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 IdentityAlias 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 Delete(self, request, context):
87
+ """Delete removes a IdentityAlias 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 IdentityAliases 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_IdentityAliasesServicer_to_server(servicer, server):
102
+ rpc_method_handlers = {
103
+ 'Create': grpc.unary_unary_rpc_method_handler(
104
+ servicer.Create,
105
+ request_deserializer=identity__aliases__pb2.IdentityAliasCreateRequest.FromString,
106
+ response_serializer=identity__aliases__pb2.IdentityAliasCreateResponse.SerializeToString,
107
+ ),
108
+ 'Get': grpc.unary_unary_rpc_method_handler(
109
+ servicer.Get,
110
+ request_deserializer=identity__aliases__pb2.IdentityAliasGetRequest.FromString,
111
+ response_serializer=identity__aliases__pb2.IdentityAliasGetResponse.SerializeToString,
112
+ ),
113
+ 'Update': grpc.unary_unary_rpc_method_handler(
114
+ servicer.Update,
115
+ request_deserializer=identity__aliases__pb2.IdentityAliasUpdateRequest.FromString,
116
+ response_serializer=identity__aliases__pb2.IdentityAliasUpdateResponse.SerializeToString,
117
+ ),
118
+ 'Delete': grpc.unary_unary_rpc_method_handler(
119
+ servicer.Delete,
120
+ request_deserializer=identity__aliases__pb2.IdentityAliasDeleteRequest.FromString,
121
+ response_serializer=identity__aliases__pb2.IdentityAliasDeleteResponse.SerializeToString,
122
+ ),
123
+ 'List': grpc.unary_unary_rpc_method_handler(
124
+ servicer.List,
125
+ request_deserializer=identity__aliases__pb2.IdentityAliasListRequest.FromString,
126
+ response_serializer=identity__aliases__pb2.IdentityAliasListResponse.SerializeToString,
127
+ ),
128
+ }
129
+ generic_handler = grpc.method_handlers_generic_handler(
130
+ 'v1.IdentityAliases', rpc_method_handlers)
131
+ server.add_generic_rpc_handlers((generic_handler,))
132
+
133
+
134
+ # This class is part of an EXPERIMENTAL API.
135
+ class IdentityAliases(object):
136
+ """IdentityAliases assign an alias to an account within an IdentitySet.
137
+ The alias is used as the username when connecting to a identity supported resource.
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.IdentityAliases/Create',
152
+ identity__aliases__pb2.IdentityAliasCreateRequest.SerializeToString,
153
+ identity__aliases__pb2.IdentityAliasCreateResponse.FromString,
154
+ options, channel_credentials,
155
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
156
+
157
+ @staticmethod
158
+ def Get(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.IdentityAliases/Get',
169
+ identity__aliases__pb2.IdentityAliasGetRequest.SerializeToString,
170
+ identity__aliases__pb2.IdentityAliasGetResponse.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.IdentityAliases/Update',
186
+ identity__aliases__pb2.IdentityAliasUpdateRequest.SerializeToString,
187
+ identity__aliases__pb2.IdentityAliasUpdateResponse.FromString,
188
+ options, channel_credentials,
189
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
190
+
191
+ @staticmethod
192
+ def Delete(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.IdentityAliases/Delete',
203
+ identity__aliases__pb2.IdentityAliasDeleteRequest.SerializeToString,
204
+ identity__aliases__pb2.IdentityAliasDeleteResponse.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.IdentityAliases/List',
220
+ identity__aliases__pb2.IdentityAliasListRequest.SerializeToString,
221
+ identity__aliases__pb2.IdentityAliasListResponse.FromString,
222
+ options, channel_credentials,
223
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)