strongdm 11.1.0__zip → 11.3.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-11.1.0 → strongdm-11.3.0}/PKG-INFO +2 -2
- {strongdm-11.1.0 → strongdm-11.3.0}/setup.py +2 -2
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/access_request_events_history_pb2.py +3 -3
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/access_requests_history_pb2.py +3 -3
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/access_requests_pb2.py +3 -3
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/approval_workflow_approvers_history_pb2.py +3 -3
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/approval_workflow_approvers_pb2.py +3 -3
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/approval_workflow_steps_history_pb2.py +3 -3
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/approval_workflow_steps_pb2.py +3 -3
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/approval_workflows_history_pb2.py +3 -3
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/approval_workflows_pb2.py +3 -3
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/client.py +22 -1
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/constants.py +2 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/drivers_pb2.py +184 -170
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/models.py +400 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/options_pb2.py +24 -24
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/plumbing.py +266 -0
- strongdm-11.3.0/strongdm/policies_history_pb2.py +100 -0
- strongdm-11.3.0/strongdm/policies_history_pb2_grpc.py +84 -0
- strongdm-11.3.0/strongdm/policies_pb2.py +226 -0
- strongdm-11.3.0/strongdm/policies_pb2_grpc.py +223 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/svc.py +245 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/workflow_approvers_history_pb2.py +3 -3
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/workflow_approvers_pb2.py +3 -3
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/workflow_assignments_history_pb2.py +3 -3
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/workflow_assignments_pb2.py +3 -3
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/workflow_roles_history_pb2.py +3 -3
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/workflow_roles_pb2.py +3 -3
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/workflows_history_pb2.py +3 -3
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/workflows_pb2.py +3 -3
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm.egg-info/PKG-INFO +2 -2
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm.egg-info/SOURCES.txt +4 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/LICENSE +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/README.md +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/setup.cfg +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/__init__.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/access_request_events_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/access_requests_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/access_requests_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/account_attachments_history_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/account_attachments_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/account_attachments_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/account_attachments_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/account_grants_history_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/account_grants_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/account_grants_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/account_grants_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/account_permissions_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/account_permissions_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/account_resources_history_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/account_resources_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/account_resources_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/account_resources_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/accounts_history_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/accounts_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/accounts_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/accounts_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/activities_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/activities_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/approval_workflow_approvers_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/approval_workflow_approvers_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/approval_workflow_steps_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/approval_workflow_steps_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/approval_workflows_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/approval_workflows_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/control_panel_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/control_panel_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/drivers_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/errors.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/identity_aliases_history_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/identity_aliases_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/identity_aliases_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/identity_aliases_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/identity_sets_history_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/identity_sets_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/identity_sets_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/identity_sets_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/nodes_history_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/nodes_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/nodes_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/nodes_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/options_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/organization_history_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/organization_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/peering_group_nodes_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/peering_group_nodes_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/peering_group_peers_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/peering_group_peers_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/peering_group_resources_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/peering_group_resources_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/peering_groups_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/peering_groups_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/queries_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/queries_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/remote_identities_history_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/remote_identities_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/remote_identities_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/remote_identities_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/remote_identity_groups_history_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/remote_identity_groups_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/remote_identity_groups_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/remote_identity_groups_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/replays_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/replays_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/resources_history_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/resources_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/resources_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/resources_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/role_resources_history_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/role_resources_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/role_resources_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/role_resources_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/roles_history_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/roles_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/roles_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/roles_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/secret_store_healths_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/secret_store_healths_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/secret_store_types_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/secret_store_types_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/secret_stores_history_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/secret_stores_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/secret_stores_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/secret_stores_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/spec_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/spec_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/tags_pb2.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/tags_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/workflow_approvers_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/workflow_approvers_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/workflow_assignments_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/workflow_assignments_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/workflow_roles_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/workflow_roles_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/workflows_history_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm/workflows_pb2_grpc.py +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm.egg-info/dependency_links.txt +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm.egg-info/requires.txt +0 -0
- {strongdm-11.1.0 → strongdm-11.3.0}/strongdm.egg-info/top_level.txt +0 -0
@@ -29,7 +29,7 @@ _sym_db = _symbol_database.Default()
|
|
29
29
|
from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
|
30
30
|
|
31
31
|
|
32
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\roptions.proto\x12\x02v1\x1a google/protobuf/descriptor.proto\"9\n\x0b\x46ileOptions\x12\x11\n\x07targets\x18\xc4\xc1v \x03(\t:\x17\xfa\xf8\xb3\x07\x12\xd2\xf3\xb3\x07\r!json_gateway\"\
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\roptions.proto\x12\x02v1\x1a google/protobuf/descriptor.proto\"9\n\x0b\x46ileOptions\x12\x11\n\x07targets\x18\xc4\xc1v \x03(\t:\x17\xfa\xf8\xb3\x07\x12\xd2\xf3\xb3\x07\r!json_gateway\"\xdc\x01\n\x0eServiceOptions\x12\x13\n\tmain_noun\x18\x98\xbfv \x01(\t\x12\x13\n\tid_prefix\x18\x9a\xbfv \x01(\t\x12\x11\n\x07targets\x18\x99\xbfv \x03(\t\x12#\n\x19\x64isable_snapshot_vertical\x18\x9b\xbfv \x01(\x08\x12\x1d\n\x13skip_cli_generation\x18\x9c\xbfv \x01(\x08\x12\x30\n&json_gateway_register_with_constructor\x18\x9d\xbfv \x01(\x08:\x17\xfa\xf8\xb3\x07\x12\xd2\xf3\xb3\x07\r!json_gateway\"x\n\rMethodOptions\x12\x10\n\x06method\x18\xb4\xbev \x01(\t\x12\r\n\x03url\x18\xb5\xbev \x01(\t\x12\x1a\n\x10\x64\x65precation_date\x18\xb6\xbev \x01(\t\x12\x11\n\x07targets\x18\x99\xbfv \x03(\t:\x17\xfa\xf8\xb3\x07\x12\xd2\xf3\xb3\x07\r!json_gateway\"\xf2\x01\n\x0eMessageOptions\x12\x13\n\tporcelain\x18\xb5\xbev \x01(\x08\x12\x0f\n\x05\x65rror\x18\xb6\xbev \x01(\x05\x12\x17\n\roptions_field\x18\xb7\xbev \x01(\t\x12\x11\n\x07targets\x18\xba\xbev \x03(\t\x12+\n\x0eterraform_docs\x18\xb8\xbev \x01(\x0b\x32\x11.v1.TerraformDocs\x12#\n\x06\x63ustom\x18\xb9\xbev \x01(\x0b\x32\x11.v1.CustomOptions\x12#\n\x19terraform_datasource_only\x18\xbb\xbev \x01(\x08:\x17\xfa\xf8\xb3\x07\x12\xd2\xf3\xb3\x07\r!json_gateway\"@\n\x0cOneofOptions\x12\x17\n\rcommon_fields\x18\x85\xbfv \x03(\t:\x17\xfa\xf8\xb3\x07\x12\xd2\xf3\xb3\x07\r!json_gateway\"\x8f\x04\n\x0c\x46ieldOptions\x12\x13\n\tporcelain\x18\xb6\xbev \x01(\x08\x12\x12\n\x08iterable\x18\xb7\xbev \x01(\x08\x12\x12\n\x08required\x18\xb8\xbev \x01(\x08\x12\x14\n\nwrite_only\x18\xbd\xbev \x01(\x08\x12\x13\n\tread_only\x18\xc3\xbev \x01(\x08\x12\x17\n\ris_credential\x18\xc4\xbev \x01(\x08\x12\x11\n\x07targets\x18\xc6\xbev \x03(\t\x12\x1d\n\x13terraform_force_new\x18\xbc\xbev \x01(\x08\x12\x1d\n\x13terraform_sensitive\x18\xbe\xbev \x01(\x08\x12&\n\x1cterraform_diff_suppress_func\x18\xc7\xbev \x01(\t\x12\x1c\n\x12terraform_computed\x18\xca\xbev \x01(\x08\x12#\n\x06\x63ustom\x18\xb9\xbev \x01(\x0b\x32\x11.v1.CustomOptions\x12\x44\n\x12read_only_override\x18\xc0\xbev \x03(\x0b\x32&.v1.FieldOptions.ReadOnlyOverrideEntry\x12\x13\n\tcondition\x18\xcb\xbev \x01(\t\x12\x15\n\x0b\x65xpect_file\x18\xcc\xbev \x01(\x08\x1a\x37\n\x15ReadOnlyOverrideEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01:\x17\xfa\xf8\xb3\x07\x12\xd2\xf3\xb3\x07\r!json_gateway\"\x8f\x05\n\rCustomOptions\x12\x13\n\tconverter\x18\xbd\xbev \x01(\t\x12O\n\x17porcelain_type_override\x18\xbe\xbev \x03(\x0b\x32,.v1.CustomOptions.PorcelainTypeOverrideEntry\x12O\n\x17porcelain_name_override\x18\xc8\xbev \x03(\x0b\x32,.v1.CustomOptions.PorcelainNameOverrideEntry\x12\x42\n\x10\x63omment_override\x18\xd3\xbev \x03(\x0b\x32&.v1.CustomOptions.CommentOverrideEntry\x12H\n\x13\x64\x65precated_override\x18\xc0\xbev \x03(\x0b\x32).v1.CustomOptions.DeprecatedOverrideEntry\x12\x1d\n\x13terraform_elem_type\x18\xbf\xbev \x01(\t\x12\x12\n\x08unstable\x18\xc1\xbev \x01(\x08\x1a<\n\x1aPorcelainTypeOverrideEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a<\n\x1aPorcelainNameOverrideEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x36\n\x14\x43ommentOverrideEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x39\n\x17\x44\x65precatedOverrideEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01:\x17\xfa\xf8\xb3\x07\x12\xd2\xf3\xb3\x07\r!json_gateway\"m\n\rTerraformDocs\x12\x1f\n\x15resource_example_path\x18\xb4\xbev \x01(\t\x12\"\n\x18\x64\x61ta_source_example_path\x18\xb5\xbev \x01(\t:\x17\xfa\xf8\xb3\x07\x12\xd2\xf3\xb3\x07\r!json_gateway:E\n\x0c\x66ile_options\x12\x1c.google.protobuf.FileOptions\x18\xa8\xc2v \x01(\x0b\x32\x0f.v1.FileOptions:N\n\x0fservice_options\x12\x1f.google.protobuf.ServiceOptions\x18\x99\xbfv \x01(\x0b\x32\x12.v1.ServiceOptions:K\n\x0emethod_options\x12\x1e.google.protobuf.MethodOptions\x18\x90\xbfv \x01(\x0b\x32\x11.v1.MethodOptions:N\n\x0fmessage_options\x12\x1f.google.protobuf.MessageOptions\x18\x8f\xbfv \x01(\x0b\x32\x12.v1.MessageOptions:H\n\roneof_options\x12\x1d.google.protobuf.OneofOptions\x18\x85\xbfv \x01(\x0b\x32\x10.v1.OneofOptions:H\n\rfield_options\x12\x1d.google.protobuf.FieldOptions\x18\x8e\xbfv \x01(\x0b\x32\x10.v1.FieldOptionsBR\n\x19\x63om.strongdm.api.plumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1b\x06proto3')
|
33
33
|
|
34
34
|
|
35
35
|
FILE_OPTIONS_FIELD_NUMBER = 1941800
|
@@ -193,27 +193,27 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
193
193
|
_FILEOPTIONS._serialized_start=55
|
194
194
|
_FILEOPTIONS._serialized_end=112
|
195
195
|
_SERVICEOPTIONS._serialized_start=115
|
196
|
-
_SERVICEOPTIONS._serialized_end=
|
197
|
-
_METHODOPTIONS._serialized_start=
|
198
|
-
_METHODOPTIONS._serialized_end=
|
199
|
-
_MESSAGEOPTIONS._serialized_start=
|
200
|
-
_MESSAGEOPTIONS._serialized_end=
|
201
|
-
_ONEOFOPTIONS._serialized_start=
|
202
|
-
_ONEOFOPTIONS._serialized_end=
|
203
|
-
_FIELDOPTIONS._serialized_start=
|
204
|
-
_FIELDOPTIONS._serialized_end=
|
205
|
-
_FIELDOPTIONS_READONLYOVERRIDEENTRY._serialized_start=
|
206
|
-
_FIELDOPTIONS_READONLYOVERRIDEENTRY._serialized_end=
|
207
|
-
_CUSTOMOPTIONS._serialized_start=
|
208
|
-
_CUSTOMOPTIONS._serialized_end=
|
209
|
-
_CUSTOMOPTIONS_PORCELAINTYPEOVERRIDEENTRY._serialized_start=
|
210
|
-
_CUSTOMOPTIONS_PORCELAINTYPEOVERRIDEENTRY._serialized_end=
|
211
|
-
_CUSTOMOPTIONS_PORCELAINNAMEOVERRIDEENTRY._serialized_start=
|
212
|
-
_CUSTOMOPTIONS_PORCELAINNAMEOVERRIDEENTRY._serialized_end=
|
213
|
-
_CUSTOMOPTIONS_COMMENTOVERRIDEENTRY._serialized_start=
|
214
|
-
_CUSTOMOPTIONS_COMMENTOVERRIDEENTRY._serialized_end=
|
215
|
-
_CUSTOMOPTIONS_DEPRECATEDOVERRIDEENTRY._serialized_start=
|
216
|
-
_CUSTOMOPTIONS_DEPRECATEDOVERRIDEENTRY._serialized_end=
|
217
|
-
_TERRAFORMDOCS._serialized_start=
|
218
|
-
_TERRAFORMDOCS._serialized_end=
|
196
|
+
_SERVICEOPTIONS._serialized_end=335
|
197
|
+
_METHODOPTIONS._serialized_start=337
|
198
|
+
_METHODOPTIONS._serialized_end=457
|
199
|
+
_MESSAGEOPTIONS._serialized_start=460
|
200
|
+
_MESSAGEOPTIONS._serialized_end=702
|
201
|
+
_ONEOFOPTIONS._serialized_start=704
|
202
|
+
_ONEOFOPTIONS._serialized_end=768
|
203
|
+
_FIELDOPTIONS._serialized_start=771
|
204
|
+
_FIELDOPTIONS._serialized_end=1298
|
205
|
+
_FIELDOPTIONS_READONLYOVERRIDEENTRY._serialized_start=1218
|
206
|
+
_FIELDOPTIONS_READONLYOVERRIDEENTRY._serialized_end=1273
|
207
|
+
_CUSTOMOPTIONS._serialized_start=1301
|
208
|
+
_CUSTOMOPTIONS._serialized_end=1956
|
209
|
+
_CUSTOMOPTIONS_PORCELAINTYPEOVERRIDEENTRY._serialized_start=1694
|
210
|
+
_CUSTOMOPTIONS_PORCELAINTYPEOVERRIDEENTRY._serialized_end=1754
|
211
|
+
_CUSTOMOPTIONS_PORCELAINNAMEOVERRIDEENTRY._serialized_start=1756
|
212
|
+
_CUSTOMOPTIONS_PORCELAINNAMEOVERRIDEENTRY._serialized_end=1816
|
213
|
+
_CUSTOMOPTIONS_COMMENTOVERRIDEENTRY._serialized_start=1818
|
214
|
+
_CUSTOMOPTIONS_COMMENTOVERRIDEENTRY._serialized_end=1872
|
215
|
+
_CUSTOMOPTIONS_DEPRECATEDOVERRIDEENTRY._serialized_start=1874
|
216
|
+
_CUSTOMOPTIONS_DEPRECATEDOVERRIDEENTRY._serialized_end=1931
|
217
|
+
_TERRAFORMDOCS._serialized_start=1958
|
218
|
+
_TERRAFORMDOCS._serialized_end=2067
|
219
219
|
# @@protoc_insertion_point(module_scope)
|
@@ -59,6 +59,8 @@ from .peering_group_nodes_pb2 import *
|
|
59
59
|
from .peering_group_peers_pb2 import *
|
60
60
|
from .peering_group_resources_pb2 import *
|
61
61
|
from .peering_groups_pb2 import *
|
62
|
+
from .policies_pb2 import *
|
63
|
+
from .policies_history_pb2 import *
|
62
64
|
from .queries_pb2 import *
|
63
65
|
from .remote_identities_pb2 import *
|
64
66
|
from .remote_identities_history_pb2 import *
|
@@ -160,6 +162,8 @@ def convert_aks_to_porcelain(plumbing):
|
|
160
162
|
if plumbing is None:
|
161
163
|
return None
|
162
164
|
porcelain = models.AKS()
|
165
|
+
porcelain.allow_resource_role_bypass = (
|
166
|
+
plumbing.allow_resource_role_bypass)
|
163
167
|
porcelain.bind_interface = (plumbing.bind_interface)
|
164
168
|
porcelain.certificate_authority = (plumbing.certificate_authority)
|
165
169
|
porcelain.client_certificate = (plumbing.client_certificate)
|
@@ -187,6 +191,8 @@ def convert_aks_to_plumbing(porcelain):
|
|
187
191
|
plumbing = AKS()
|
188
192
|
if porcelain is None:
|
189
193
|
return plumbing
|
194
|
+
plumbing.allow_resource_role_bypass = (
|
195
|
+
porcelain.allow_resource_role_bypass)
|
190
196
|
plumbing.bind_interface = (porcelain.bind_interface)
|
191
197
|
plumbing.certificate_authority = (porcelain.certificate_authority)
|
192
198
|
plumbing.client_certificate = (porcelain.client_certificate)
|
@@ -277,6 +283,8 @@ def convert_aks_service_account_to_porcelain(plumbing):
|
|
277
283
|
if plumbing is None:
|
278
284
|
return None
|
279
285
|
porcelain = models.AKSServiceAccount()
|
286
|
+
porcelain.allow_resource_role_bypass = (
|
287
|
+
plumbing.allow_resource_role_bypass)
|
280
288
|
porcelain.bind_interface = (plumbing.bind_interface)
|
281
289
|
porcelain.discovery_enabled = (plumbing.discovery_enabled)
|
282
290
|
porcelain.discovery_username = (plumbing.discovery_username)
|
@@ -302,6 +310,8 @@ def convert_aks_service_account_to_plumbing(porcelain):
|
|
302
310
|
plumbing = AKSServiceAccount()
|
303
311
|
if porcelain is None:
|
304
312
|
return plumbing
|
313
|
+
plumbing.allow_resource_role_bypass = (
|
314
|
+
porcelain.allow_resource_role_bypass)
|
305
315
|
plumbing.bind_interface = (porcelain.bind_interface)
|
306
316
|
plumbing.discovery_enabled = (porcelain.discovery_enabled)
|
307
317
|
plumbing.discovery_username = (porcelain.discovery_username)
|
@@ -1909,6 +1919,8 @@ def convert_amazon_eks_to_porcelain(plumbing):
|
|
1909
1919
|
return None
|
1910
1920
|
porcelain = models.AmazonEKS()
|
1911
1921
|
porcelain.access_key = (plumbing.access_key)
|
1922
|
+
porcelain.allow_resource_role_bypass = (
|
1923
|
+
plumbing.allow_resource_role_bypass)
|
1912
1924
|
porcelain.bind_interface = (plumbing.bind_interface)
|
1913
1925
|
porcelain.certificate_authority = (plumbing.certificate_authority)
|
1914
1926
|
porcelain.cluster_name = (plumbing.cluster_name)
|
@@ -1939,6 +1951,8 @@ def convert_amazon_eks_to_plumbing(porcelain):
|
|
1939
1951
|
if porcelain is None:
|
1940
1952
|
return plumbing
|
1941
1953
|
plumbing.access_key = (porcelain.access_key)
|
1954
|
+
plumbing.allow_resource_role_bypass = (
|
1955
|
+
porcelain.allow_resource_role_bypass)
|
1942
1956
|
plumbing.bind_interface = (porcelain.bind_interface)
|
1943
1957
|
plumbing.certificate_authority = (porcelain.certificate_authority)
|
1944
1958
|
plumbing.cluster_name = (porcelain.cluster_name)
|
@@ -1980,6 +1994,8 @@ def convert_amazon_eks_instance_profile_to_porcelain(plumbing):
|
|
1980
1994
|
if plumbing is None:
|
1981
1995
|
return None
|
1982
1996
|
porcelain = models.AmazonEKSInstanceProfile()
|
1997
|
+
porcelain.allow_resource_role_bypass = (
|
1998
|
+
plumbing.allow_resource_role_bypass)
|
1983
1999
|
porcelain.bind_interface = (plumbing.bind_interface)
|
1984
2000
|
porcelain.certificate_authority = (plumbing.certificate_authority)
|
1985
2001
|
porcelain.cluster_name = (plumbing.cluster_name)
|
@@ -2008,6 +2024,8 @@ def convert_amazon_eks_instance_profile_to_plumbing(porcelain):
|
|
2008
2024
|
plumbing = AmazonEKSInstanceProfile()
|
2009
2025
|
if porcelain is None:
|
2010
2026
|
return plumbing
|
2027
|
+
plumbing.allow_resource_role_bypass = (
|
2028
|
+
porcelain.allow_resource_role_bypass)
|
2011
2029
|
plumbing.bind_interface = (porcelain.bind_interface)
|
2012
2030
|
plumbing.certificate_authority = (porcelain.certificate_authority)
|
2013
2031
|
plumbing.cluster_name = (porcelain.cluster_name)
|
@@ -4740,6 +4758,8 @@ def convert_google_gke_to_porcelain(plumbing):
|
|
4740
4758
|
if plumbing is None:
|
4741
4759
|
return None
|
4742
4760
|
porcelain = models.GoogleGKE()
|
4761
|
+
porcelain.allow_resource_role_bypass = (
|
4762
|
+
plumbing.allow_resource_role_bypass)
|
4743
4763
|
porcelain.bind_interface = (plumbing.bind_interface)
|
4744
4764
|
porcelain.certificate_authority = (plumbing.certificate_authority)
|
4745
4765
|
porcelain.discovery_enabled = (plumbing.discovery_enabled)
|
@@ -4765,6 +4785,8 @@ def convert_google_gke_to_plumbing(porcelain):
|
|
4765
4785
|
plumbing = GoogleGKE()
|
4766
4786
|
if porcelain is None:
|
4767
4787
|
return plumbing
|
4788
|
+
plumbing.allow_resource_role_bypass = (
|
4789
|
+
porcelain.allow_resource_role_bypass)
|
4768
4790
|
plumbing.bind_interface = (porcelain.bind_interface)
|
4769
4791
|
plumbing.certificate_authority = (porcelain.certificate_authority)
|
4770
4792
|
plumbing.discovery_enabled = (porcelain.discovery_enabled)
|
@@ -5647,6 +5669,8 @@ def convert_kubernetes_to_porcelain(plumbing):
|
|
5647
5669
|
if plumbing is None:
|
5648
5670
|
return None
|
5649
5671
|
porcelain = models.Kubernetes()
|
5672
|
+
porcelain.allow_resource_role_bypass = (
|
5673
|
+
plumbing.allow_resource_role_bypass)
|
5650
5674
|
porcelain.bind_interface = (plumbing.bind_interface)
|
5651
5675
|
porcelain.certificate_authority = (plumbing.certificate_authority)
|
5652
5676
|
porcelain.client_certificate = (plumbing.client_certificate)
|
@@ -5674,6 +5698,8 @@ def convert_kubernetes_to_plumbing(porcelain):
|
|
5674
5698
|
plumbing = Kubernetes()
|
5675
5699
|
if porcelain is None:
|
5676
5700
|
return plumbing
|
5701
|
+
plumbing.allow_resource_role_bypass = (
|
5702
|
+
porcelain.allow_resource_role_bypass)
|
5677
5703
|
plumbing.bind_interface = (porcelain.bind_interface)
|
5678
5704
|
plumbing.certificate_authority = (porcelain.certificate_authority)
|
5679
5705
|
plumbing.client_certificate = (porcelain.client_certificate)
|
@@ -5769,6 +5795,8 @@ def convert_kubernetes_service_account_to_porcelain(plumbing):
|
|
5769
5795
|
if plumbing is None:
|
5770
5796
|
return None
|
5771
5797
|
porcelain = models.KubernetesServiceAccount()
|
5798
|
+
porcelain.allow_resource_role_bypass = (
|
5799
|
+
plumbing.allow_resource_role_bypass)
|
5772
5800
|
porcelain.bind_interface = (plumbing.bind_interface)
|
5773
5801
|
porcelain.discovery_enabled = (plumbing.discovery_enabled)
|
5774
5802
|
porcelain.discovery_username = (plumbing.discovery_username)
|
@@ -5794,6 +5822,8 @@ def convert_kubernetes_service_account_to_plumbing(porcelain):
|
|
5794
5822
|
plumbing = KubernetesServiceAccount()
|
5795
5823
|
if porcelain is None:
|
5796
5824
|
return plumbing
|
5825
|
+
plumbing.allow_resource_role_bypass = (
|
5826
|
+
porcelain.allow_resource_role_bypass)
|
5797
5827
|
plumbing.bind_interface = (porcelain.bind_interface)
|
5798
5828
|
plumbing.discovery_enabled = (porcelain.discovery_enabled)
|
5799
5829
|
plumbing.discovery_username = (porcelain.discovery_username)
|
@@ -7726,6 +7756,242 @@ def convert_repeated_peering_group_resource_get_response_to_porcelain(
|
|
7726
7756
|
]
|
7727
7757
|
|
7728
7758
|
|
7759
|
+
def convert_policy_to_porcelain(plumbing):
|
7760
|
+
if plumbing is None:
|
7761
|
+
return None
|
7762
|
+
porcelain = models.Policy()
|
7763
|
+
porcelain.description = (plumbing.description)
|
7764
|
+
porcelain.id = (plumbing.id)
|
7765
|
+
porcelain.name = (plumbing.name)
|
7766
|
+
porcelain.policy = (plumbing.policy)
|
7767
|
+
return porcelain
|
7768
|
+
|
7769
|
+
|
7770
|
+
def convert_policy_to_plumbing(porcelain):
|
7771
|
+
plumbing = Policy()
|
7772
|
+
if porcelain is None:
|
7773
|
+
return plumbing
|
7774
|
+
plumbing.description = (porcelain.description)
|
7775
|
+
plumbing.id = (porcelain.id)
|
7776
|
+
plumbing.name = (porcelain.name)
|
7777
|
+
plumbing.policy = (porcelain.policy)
|
7778
|
+
return plumbing
|
7779
|
+
|
7780
|
+
|
7781
|
+
def convert_repeated_policy_to_plumbing(porcelains):
|
7782
|
+
return [convert_policy_to_plumbing(porcelain) for porcelain in porcelains]
|
7783
|
+
|
7784
|
+
|
7785
|
+
def convert_repeated_policy_to_porcelain(plumbings):
|
7786
|
+
return [convert_policy_to_porcelain(plumbing) for plumbing in plumbings]
|
7787
|
+
|
7788
|
+
|
7789
|
+
def convert_policy_create_response_to_porcelain(plumbing):
|
7790
|
+
if plumbing is None:
|
7791
|
+
return None
|
7792
|
+
porcelain = models.PolicyCreateResponse()
|
7793
|
+
porcelain.policy = convert_policy_to_porcelain(plumbing.policy)
|
7794
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
|
7795
|
+
plumbing.rate_limit)
|
7796
|
+
return porcelain
|
7797
|
+
|
7798
|
+
|
7799
|
+
def convert_policy_create_response_to_plumbing(porcelain):
|
7800
|
+
plumbing = PolicyCreateResponse()
|
7801
|
+
if porcelain is None:
|
7802
|
+
return plumbing
|
7803
|
+
plumbing.policy.CopyFrom(convert_policy_to_plumbing(porcelain.policy))
|
7804
|
+
plumbing.rate_limit.CopyFrom(
|
7805
|
+
convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
|
7806
|
+
return plumbing
|
7807
|
+
|
7808
|
+
|
7809
|
+
def convert_repeated_policy_create_response_to_plumbing(porcelains):
|
7810
|
+
return [
|
7811
|
+
convert_policy_create_response_to_plumbing(porcelain)
|
7812
|
+
for porcelain in porcelains
|
7813
|
+
]
|
7814
|
+
|
7815
|
+
|
7816
|
+
def convert_repeated_policy_create_response_to_porcelain(plumbings):
|
7817
|
+
return [
|
7818
|
+
convert_policy_create_response_to_porcelain(plumbing)
|
7819
|
+
for plumbing in plumbings
|
7820
|
+
]
|
7821
|
+
|
7822
|
+
|
7823
|
+
def convert_policy_delete_response_to_porcelain(plumbing):
|
7824
|
+
if plumbing is None:
|
7825
|
+
return None
|
7826
|
+
porcelain = models.PolicyDeleteResponse()
|
7827
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
|
7828
|
+
plumbing.rate_limit)
|
7829
|
+
return porcelain
|
7830
|
+
|
7831
|
+
|
7832
|
+
def convert_policy_delete_response_to_plumbing(porcelain):
|
7833
|
+
plumbing = PolicyDeleteResponse()
|
7834
|
+
if porcelain is None:
|
7835
|
+
return plumbing
|
7836
|
+
plumbing.rate_limit.CopyFrom(
|
7837
|
+
convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
|
7838
|
+
return plumbing
|
7839
|
+
|
7840
|
+
|
7841
|
+
def convert_repeated_policy_delete_response_to_plumbing(porcelains):
|
7842
|
+
return [
|
7843
|
+
convert_policy_delete_response_to_plumbing(porcelain)
|
7844
|
+
for porcelain in porcelains
|
7845
|
+
]
|
7846
|
+
|
7847
|
+
|
7848
|
+
def convert_repeated_policy_delete_response_to_porcelain(plumbings):
|
7849
|
+
return [
|
7850
|
+
convert_policy_delete_response_to_porcelain(plumbing)
|
7851
|
+
for plumbing in plumbings
|
7852
|
+
]
|
7853
|
+
|
7854
|
+
|
7855
|
+
def convert_policy_get_response_to_porcelain(plumbing):
|
7856
|
+
if plumbing is None:
|
7857
|
+
return None
|
7858
|
+
porcelain = models.PolicyGetResponse()
|
7859
|
+
porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
|
7860
|
+
porcelain.policy = convert_policy_to_porcelain(plumbing.policy)
|
7861
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
|
7862
|
+
plumbing.rate_limit)
|
7863
|
+
return porcelain
|
7864
|
+
|
7865
|
+
|
7866
|
+
def convert_policy_get_response_to_plumbing(porcelain):
|
7867
|
+
plumbing = PolicyGetResponse()
|
7868
|
+
if porcelain is None:
|
7869
|
+
return plumbing
|
7870
|
+
plumbing.meta.CopyFrom(
|
7871
|
+
convert_get_response_metadata_to_plumbing(porcelain.meta))
|
7872
|
+
plumbing.policy.CopyFrom(convert_policy_to_plumbing(porcelain.policy))
|
7873
|
+
plumbing.rate_limit.CopyFrom(
|
7874
|
+
convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
|
7875
|
+
return plumbing
|
7876
|
+
|
7877
|
+
|
7878
|
+
def convert_repeated_policy_get_response_to_plumbing(porcelains):
|
7879
|
+
return [
|
7880
|
+
convert_policy_get_response_to_plumbing(porcelain)
|
7881
|
+
for porcelain in porcelains
|
7882
|
+
]
|
7883
|
+
|
7884
|
+
|
7885
|
+
def convert_repeated_policy_get_response_to_porcelain(plumbings):
|
7886
|
+
return [
|
7887
|
+
convert_policy_get_response_to_porcelain(plumbing)
|
7888
|
+
for plumbing in plumbings
|
7889
|
+
]
|
7890
|
+
|
7891
|
+
|
7892
|
+
def convert_policy_history_to_porcelain(plumbing):
|
7893
|
+
if plumbing is None:
|
7894
|
+
return None
|
7895
|
+
porcelain = models.PolicyHistory()
|
7896
|
+
porcelain.activity_id = (plumbing.activity_id)
|
7897
|
+
porcelain.deleted_at = convert_timestamp_to_porcelain(plumbing.deleted_at)
|
7898
|
+
porcelain.policy = convert_policy_to_porcelain(plumbing.policy)
|
7899
|
+
porcelain.timestamp = convert_timestamp_to_porcelain(plumbing.timestamp)
|
7900
|
+
return porcelain
|
7901
|
+
|
7902
|
+
|
7903
|
+
def convert_policy_history_to_plumbing(porcelain):
|
7904
|
+
plumbing = PolicyHistory()
|
7905
|
+
if porcelain is None:
|
7906
|
+
return plumbing
|
7907
|
+
plumbing.activity_id = (porcelain.activity_id)
|
7908
|
+
plumbing.deleted_at.CopyFrom(
|
7909
|
+
convert_timestamp_to_plumbing(porcelain.deleted_at))
|
7910
|
+
plumbing.policy.CopyFrom(convert_policy_to_plumbing(porcelain.policy))
|
7911
|
+
plumbing.timestamp.CopyFrom(
|
7912
|
+
convert_timestamp_to_plumbing(porcelain.timestamp))
|
7913
|
+
return plumbing
|
7914
|
+
|
7915
|
+
|
7916
|
+
def convert_repeated_policy_history_to_plumbing(porcelains):
|
7917
|
+
return [
|
7918
|
+
convert_policy_history_to_plumbing(porcelain)
|
7919
|
+
for porcelain in porcelains
|
7920
|
+
]
|
7921
|
+
|
7922
|
+
|
7923
|
+
def convert_repeated_policy_history_to_porcelain(plumbings):
|
7924
|
+
return [
|
7925
|
+
convert_policy_history_to_porcelain(plumbing) for plumbing in plumbings
|
7926
|
+
]
|
7927
|
+
|
7928
|
+
|
7929
|
+
def convert_policy_list_response_to_porcelain(plumbing):
|
7930
|
+
if plumbing is None:
|
7931
|
+
return None
|
7932
|
+
porcelain = models.PolicyListResponse()
|
7933
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
|
7934
|
+
plumbing.rate_limit)
|
7935
|
+
return porcelain
|
7936
|
+
|
7937
|
+
|
7938
|
+
def convert_policy_list_response_to_plumbing(porcelain):
|
7939
|
+
plumbing = PolicyListResponse()
|
7940
|
+
if porcelain is None:
|
7941
|
+
return plumbing
|
7942
|
+
plumbing.rate_limit.CopyFrom(
|
7943
|
+
convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
|
7944
|
+
return plumbing
|
7945
|
+
|
7946
|
+
|
7947
|
+
def convert_repeated_policy_list_response_to_plumbing(porcelains):
|
7948
|
+
return [
|
7949
|
+
convert_policy_list_response_to_plumbing(porcelain)
|
7950
|
+
for porcelain in porcelains
|
7951
|
+
]
|
7952
|
+
|
7953
|
+
|
7954
|
+
def convert_repeated_policy_list_response_to_porcelain(plumbings):
|
7955
|
+
return [
|
7956
|
+
convert_policy_list_response_to_porcelain(plumbing)
|
7957
|
+
for plumbing in plumbings
|
7958
|
+
]
|
7959
|
+
|
7960
|
+
|
7961
|
+
def convert_policy_update_response_to_porcelain(plumbing):
|
7962
|
+
if plumbing is None:
|
7963
|
+
return None
|
7964
|
+
porcelain = models.PolicyUpdateResponse()
|
7965
|
+
porcelain.policy = convert_policy_to_porcelain(plumbing.policy)
|
7966
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
|
7967
|
+
plumbing.rate_limit)
|
7968
|
+
return porcelain
|
7969
|
+
|
7970
|
+
|
7971
|
+
def convert_policy_update_response_to_plumbing(porcelain):
|
7972
|
+
plumbing = PolicyUpdateResponse()
|
7973
|
+
if porcelain is None:
|
7974
|
+
return plumbing
|
7975
|
+
plumbing.policy.CopyFrom(convert_policy_to_plumbing(porcelain.policy))
|
7976
|
+
plumbing.rate_limit.CopyFrom(
|
7977
|
+
convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
|
7978
|
+
return plumbing
|
7979
|
+
|
7980
|
+
|
7981
|
+
def convert_repeated_policy_update_response_to_plumbing(porcelains):
|
7982
|
+
return [
|
7983
|
+
convert_policy_update_response_to_plumbing(porcelain)
|
7984
|
+
for porcelain in porcelains
|
7985
|
+
]
|
7986
|
+
|
7987
|
+
|
7988
|
+
def convert_repeated_policy_update_response_to_porcelain(plumbings):
|
7989
|
+
return [
|
7990
|
+
convert_policy_update_response_to_porcelain(plumbing)
|
7991
|
+
for plumbing in plumbings
|
7992
|
+
]
|
7993
|
+
|
7994
|
+
|
7729
7995
|
def convert_postgres_to_porcelain(plumbing):
|
7730
7996
|
if plumbing is None:
|
7731
7997
|
return None
|
@@ -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\xe6\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]\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\x05\xe0\xf9\xb3\x07\x01\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\005\340\371\263\007\001\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=1009
|
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)
|