strongdm 6.8.0__zip → 6.9.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-6.8.0 → strongdm-6.9.0}/PKG-INFO +2 -2
- {strongdm-6.8.0 → strongdm-6.9.0}/setup.py +2 -2
- strongdm-6.9.0/strongdm/approval_workflow_approvers_history_pb2.py +100 -0
- strongdm-6.9.0/strongdm/approval_workflow_approvers_history_pb2_grpc.py +84 -0
- strongdm-6.9.0/strongdm/approval_workflow_approvers_pb2.py +190 -0
- strongdm-6.9.0/strongdm/approval_workflow_approvers_pb2_grpc.py +186 -0
- strongdm-6.9.0/strongdm/approval_workflow_steps_history_pb2.py +100 -0
- strongdm-6.9.0/strongdm/approval_workflow_steps_history_pb2_grpc.py +84 -0
- strongdm-6.9.0/strongdm/approval_workflow_steps_pb2.py +184 -0
- strongdm-6.9.0/strongdm/approval_workflow_steps_pb2_grpc.py +186 -0
- strongdm-6.9.0/strongdm/approval_workflows_history_pb2.py +100 -0
- strongdm-6.9.0/strongdm/approval_workflows_history_pb2_grpc.py +84 -0
- strongdm-6.9.0/strongdm/approval_workflows_pb2.py +218 -0
- strongdm-6.9.0/strongdm/approval_workflows_pb2_grpc.py +223 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/client.py +70 -1
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/constants.py +1 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/models.py +924 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/plumbing.py +770 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/svc.py +702 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm.egg-info/PKG-INFO +2 -2
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm.egg-info/SOURCES.txt +12 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/LICENSE +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/README.md +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/setup.cfg +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/__init__.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/access_request_events_history_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/access_request_events_history_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/access_requests_history_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/access_requests_history_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/access_requests_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/access_requests_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/account_attachments_history_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/account_attachments_history_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/account_attachments_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/account_attachments_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/account_grants_history_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/account_grants_history_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/account_grants_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/account_grants_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/account_permissions_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/account_permissions_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/account_resources_history_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/account_resources_history_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/account_resources_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/account_resources_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/accounts_history_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/accounts_history_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/accounts_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/accounts_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/activities_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/activities_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/control_panel_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/control_panel_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/drivers_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/drivers_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/errors.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/nodes_history_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/nodes_history_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/nodes_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/nodes_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/options_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/options_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/organization_history_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/organization_history_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/peering_group_nodes_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/peering_group_nodes_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/peering_group_peers_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/peering_group_peers_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/peering_group_resources_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/peering_group_resources_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/peering_groups_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/peering_groups_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/queries_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/queries_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/remote_identities_history_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/remote_identities_history_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/remote_identities_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/remote_identities_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/remote_identity_groups_history_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/remote_identity_groups_history_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/remote_identity_groups_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/remote_identity_groups_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/replays_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/replays_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/resources_history_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/resources_history_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/resources_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/resources_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/role_resources_history_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/role_resources_history_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/role_resources_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/role_resources_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/roles_history_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/roles_history_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/roles_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/roles_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/secret_store_healths_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/secret_store_healths_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/secret_store_types_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/secret_store_types_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/secret_stores_history_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/secret_stores_history_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/secret_stores_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/secret_stores_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/spec_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/spec_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/tags_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/tags_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/workflow_approvers_history_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/workflow_approvers_history_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/workflow_approvers_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/workflow_approvers_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/workflow_assignments_history_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/workflow_assignments_history_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/workflow_assignments_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/workflow_assignments_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/workflow_roles_history_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/workflow_roles_history_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/workflow_roles_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/workflow_roles_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/workflows_history_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/workflows_history_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/workflows_pb2.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm/workflows_pb2_grpc.py +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm.egg-info/dependency_links.txt +0 -0
- {strongdm-6.8.0 → strongdm-6.9.0}/strongdm.egg-info/requires.txt +0 -0
- {strongdm-6.8.0 → strongdm-6.9.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: approval_workflow_steps_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 approval_workflow_steps_pb2 as approval__workflow__steps__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%approval_workflow_steps_history.proto\x12\x02v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1d\x61pproval_workflow_steps.proto\x1a\roptions.proto\x1a\nspec.proto\"\x95\x01\n&ApprovalWorkflowStepHistoryListRequest\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\"\x92\x02\n\'ApprovalWorkflowStepHistoryListResponse\x12&\n\x04meta\x18\x01 \x01(\x0b\x32\x18.v1.ListResponseMetadata\x12<\n\x07history\x18\x02 \x03(\x0b\x32\x1f.v1.ApprovalWorkflowStepHistoryB\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\"\xaf\x02\n\x1b\x41pprovalWorkflowStepHistory\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\x44\n\x16\x61pproval_workflow_step\x18\x03 \x01(\x0b\x32\x18.v1.ApprovalWorkflowStepB\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\x95\x02\n\x1c\x41pprovalWorkflowStepsHistory\x12\x9b\x01\n\x04List\x12*.v1.ApprovalWorkflowStepHistoryListRequest\x1a+.v1.ApprovalWorkflowStepHistoryListResponse\":\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07(\xaa\xf3\xb3\x07#/v1/approval-workflow-steps-history\x1aW\xca\xf9\xb3\x07 \xc2\xf9\xb3\x07\x1b\x41pprovalWorkflowStepHistory\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\xa0\x01\n\x19\x63om.strongdm.api.plumbingB$ApprovalWorkflowStepsHistoryPlumbingZ5github.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
|
+
_APPROVALWORKFLOWSTEPHISTORYLISTREQUEST = DESCRIPTOR.message_types_by_name['ApprovalWorkflowStepHistoryListRequest']
|
40
|
+
_APPROVALWORKFLOWSTEPHISTORYLISTRESPONSE = DESCRIPTOR.message_types_by_name['ApprovalWorkflowStepHistoryListResponse']
|
41
|
+
_APPROVALWORKFLOWSTEPHISTORY = DESCRIPTOR.message_types_by_name['ApprovalWorkflowStepHistory']
|
42
|
+
ApprovalWorkflowStepHistoryListRequest = _reflection.GeneratedProtocolMessageType('ApprovalWorkflowStepHistoryListRequest', (_message.Message,), {
|
43
|
+
'DESCRIPTOR' : _APPROVALWORKFLOWSTEPHISTORYLISTREQUEST,
|
44
|
+
'__module__' : 'approval_workflow_steps_history_pb2'
|
45
|
+
# @@protoc_insertion_point(class_scope:v1.ApprovalWorkflowStepHistoryListRequest)
|
46
|
+
})
|
47
|
+
_sym_db.RegisterMessage(ApprovalWorkflowStepHistoryListRequest)
|
48
|
+
|
49
|
+
ApprovalWorkflowStepHistoryListResponse = _reflection.GeneratedProtocolMessageType('ApprovalWorkflowStepHistoryListResponse', (_message.Message,), {
|
50
|
+
'DESCRIPTOR' : _APPROVALWORKFLOWSTEPHISTORYLISTRESPONSE,
|
51
|
+
'__module__' : 'approval_workflow_steps_history_pb2'
|
52
|
+
# @@protoc_insertion_point(class_scope:v1.ApprovalWorkflowStepHistoryListResponse)
|
53
|
+
})
|
54
|
+
_sym_db.RegisterMessage(ApprovalWorkflowStepHistoryListResponse)
|
55
|
+
|
56
|
+
ApprovalWorkflowStepHistory = _reflection.GeneratedProtocolMessageType('ApprovalWorkflowStepHistory', (_message.Message,), {
|
57
|
+
'DESCRIPTOR' : _APPROVALWORKFLOWSTEPHISTORY,
|
58
|
+
'__module__' : 'approval_workflow_steps_history_pb2'
|
59
|
+
# @@protoc_insertion_point(class_scope:v1.ApprovalWorkflowStepHistory)
|
60
|
+
})
|
61
|
+
_sym_db.RegisterMessage(ApprovalWorkflowStepHistory)
|
62
|
+
|
63
|
+
_APPROVALWORKFLOWSTEPSHISTORY = DESCRIPTOR.services_by_name['ApprovalWorkflowStepsHistory']
|
64
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
65
|
+
|
66
|
+
DESCRIPTOR._options = None
|
67
|
+
DESCRIPTOR._serialized_options = b'\n\031com.strongdm.api.plumbingB$ApprovalWorkflowStepsHistoryPlumbingZ5github.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
|
+
_APPROVALWORKFLOWSTEPHISTORYLISTREQUEST.fields_by_name['filter']._options = None
|
69
|
+
_APPROVALWORKFLOWSTEPHISTORYLISTREQUEST.fields_by_name['filter']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
70
|
+
_APPROVALWORKFLOWSTEPHISTORYLISTREQUEST._options = None
|
71
|
+
_APPROVALWORKFLOWSTEPHISTORYLISTREQUEST._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
|
+
_APPROVALWORKFLOWSTEPHISTORYLISTRESPONSE.fields_by_name['history']._options = None
|
73
|
+
_APPROVALWORKFLOWSTEPHISTORYLISTRESPONSE.fields_by_name['history']._serialized_options = b'\362\370\263\007\005\270\363\263\007\001'
|
74
|
+
_APPROVALWORKFLOWSTEPHISTORYLISTRESPONSE.fields_by_name['rate_limit']._options = None
|
75
|
+
_APPROVALWORKFLOWSTEPHISTORYLISTRESPONSE.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
|
+
_APPROVALWORKFLOWSTEPHISTORYLISTRESPONSE._options = None
|
77
|
+
_APPROVALWORKFLOWSTEPHISTORYLISTRESPONSE._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
|
+
_APPROVALWORKFLOWSTEPHISTORY.fields_by_name['activity_id']._options = None
|
79
|
+
_APPROVALWORKFLOWSTEPHISTORY.fields_by_name['activity_id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
80
|
+
_APPROVALWORKFLOWSTEPHISTORY.fields_by_name['timestamp']._options = None
|
81
|
+
_APPROVALWORKFLOWSTEPHISTORY.fields_by_name['timestamp']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
82
|
+
_APPROVALWORKFLOWSTEPHISTORY.fields_by_name['approval_workflow_step']._options = None
|
83
|
+
_APPROVALWORKFLOWSTEPHISTORY.fields_by_name['approval_workflow_step']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
84
|
+
_APPROVALWORKFLOWSTEPHISTORY.fields_by_name['deleted_at']._options = None
|
85
|
+
_APPROVALWORKFLOWSTEPHISTORY.fields_by_name['deleted_at']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
86
|
+
_APPROVALWORKFLOWSTEPHISTORY._options = None
|
87
|
+
_APPROVALWORKFLOWSTEPHISTORY._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
|
+
_APPROVALWORKFLOWSTEPSHISTORY._options = None
|
89
|
+
_APPROVALWORKFLOWSTEPSHISTORY._serialized_options = b'\312\371\263\007 \302\371\263\007\033ApprovalWorkflowStepHistory\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
|
+
_APPROVALWORKFLOWSTEPSHISTORY.methods_by_name['List']._options = None
|
91
|
+
_APPROVALWORKFLOWSTEPSHISTORY.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#/v1/approval-workflow-steps-history'
|
92
|
+
_APPROVALWORKFLOWSTEPHISTORYLISTREQUEST._serialized_start=137
|
93
|
+
_APPROVALWORKFLOWSTEPHISTORYLISTREQUEST._serialized_end=286
|
94
|
+
_APPROVALWORKFLOWSTEPHISTORYLISTRESPONSE._serialized_start=289
|
95
|
+
_APPROVALWORKFLOWSTEPHISTORYLISTRESPONSE._serialized_end=563
|
96
|
+
_APPROVALWORKFLOWSTEPHISTORY._serialized_start=566
|
97
|
+
_APPROVALWORKFLOWSTEPHISTORY._serialized_end=869
|
98
|
+
_APPROVALWORKFLOWSTEPSHISTORY._serialized_start=872
|
99
|
+
_APPROVALWORKFLOWSTEPSHISTORY._serialized_end=1149
|
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 approval_workflow_steps_history_pb2 as approval__workflow__steps__history__pb2
|
20
|
+
|
21
|
+
|
22
|
+
class ApprovalWorkflowStepsHistoryStub(object):
|
23
|
+
"""ApprovalWorkflowStepsHistory records all changes to the state of an ApprovalWorkflowStep.
|
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.ApprovalWorkflowStepsHistory/List',
|
34
|
+
request_serializer=approval__workflow__steps__history__pb2.ApprovalWorkflowStepHistoryListRequest.SerializeToString,
|
35
|
+
response_deserializer=approval__workflow__steps__history__pb2.ApprovalWorkflowStepHistoryListResponse.FromString,
|
36
|
+
)
|
37
|
+
|
38
|
+
|
39
|
+
class ApprovalWorkflowStepsHistoryServicer(object):
|
40
|
+
"""ApprovalWorkflowStepsHistory records all changes to the state of an ApprovalWorkflowStep.
|
41
|
+
"""
|
42
|
+
|
43
|
+
def List(self, request, context):
|
44
|
+
"""List gets a list of ApprovalWorkflowStepHistory 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_ApprovalWorkflowStepsHistoryServicer_to_server(servicer, server):
|
52
|
+
rpc_method_handlers = {
|
53
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
54
|
+
servicer.List,
|
55
|
+
request_deserializer=approval__workflow__steps__history__pb2.ApprovalWorkflowStepHistoryListRequest.FromString,
|
56
|
+
response_serializer=approval__workflow__steps__history__pb2.ApprovalWorkflowStepHistoryListResponse.SerializeToString,
|
57
|
+
),
|
58
|
+
}
|
59
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
60
|
+
'v1.ApprovalWorkflowStepsHistory', rpc_method_handlers)
|
61
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
62
|
+
|
63
|
+
|
64
|
+
# This class is part of an EXPERIMENTAL API.
|
65
|
+
class ApprovalWorkflowStepsHistory(object):
|
66
|
+
"""ApprovalWorkflowStepsHistory records all changes to the state of an ApprovalWorkflowStep.
|
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.ApprovalWorkflowStepsHistory/List',
|
81
|
+
approval__workflow__steps__history__pb2.ApprovalWorkflowStepHistoryListRequest.SerializeToString,
|
82
|
+
approval__workflow__steps__history__pb2.ApprovalWorkflowStepHistoryListResponse.FromString,
|
83
|
+
options, channel_credentials,
|
84
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
@@ -0,0 +1,184 @@
|
|
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: approval_workflow_steps.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\x1d\x61pproval_workflow_steps.proto\x12\x02v1\x1a\roptions.proto\x1a\nspec.proto\"\x92\x01\n!ApprovalWorkflowStepCreateRequest\x12\'\n\x04meta\x18\x01 \x01(\x0b\x32\x19.v1.CreateRequestMetadata\x12\x44\n\x16\x61pproval_workflow_step\x18\x02 \x01(\x0b\x32\x18.v1.ApprovalWorkflowStepB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\"\xf9\x01\n\"ApprovalWorkflowStepCreateResponse\x12(\n\x04meta\x18\x01 \x01(\x0b\x32\x1a.v1.CreateResponseMetadata\x12\x44\n\x16\x61pproval_workflow_step\x18\x02 \x01(\x0b\x32\x18.v1.ApprovalWorkflowStepB\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\x1e\x41pprovalWorkflowStepGetRequest\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\"\xff\x01\n\x1f\x41pprovalWorkflowStepGetResponse\x12\x31\n\x04meta\x18\x01 \x01(\x0b\x32\x17.v1.GetResponseMetadataB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x44\n\x16\x61pproval_workflow_step\x18\x02 \x01(\x0b\x32\x18.v1.ApprovalWorkflowStepB\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\"d\n!ApprovalWorkflowStepDeleteRequest\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\"\xcb\x01\n\"ApprovalWorkflowStepDeleteResponse\x12(\n\x04meta\x18\x01 \x01(\x0b\x32\x1a.v1.DeleteResponseMetadata\x12\x16\n\x02id\x18\x02 \x01(\tB\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\"d\n\x1f\x41pprovalWorkflowStepListRequest\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\"\xf6\x01\n ApprovalWorkflowStepListResponse\x12&\n\x04meta\x18\x01 \x01(\x0b\x32\x18.v1.ListResponseMetadata\x12\x45\n\x17\x61pproval_workflow_steps\x18\x02 \x03(\x0b\x32\x18.v1.ApprovalWorkflowStepB\n\xf2\xf8\xb3\x07\x05\xb8\xf3\xb3\x07\x01\x12W\n\nrate_limit\x18\x03 \x01(\x0b\x32\x15.v1.RateLimitMetadataB,\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\xf2\xf8\xb3\x07\x06\xb2\xf4\xb3\x07\x01*\xf2\xf8\xb3\x07\x12\xb2\xf4\xb3\x07\r!json_gateway:\n\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\"\xdc\x01\n\x14\x41pprovalWorkflowStep\x12\x16\n\x02id\x18\x01 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12)\n\x10\x61pproval_flow_id\x18\x02 \x01(\tB\x0f\xf2\xf8\xb3\x07\n\xb0\xf3\xb3\x07\x01\xc0\xf3\xb3\x07\x01:\x80\x01\xfa\xf8\xb3\x07{\xa8\xf3\xb3\x07\x01\xc2\xf3\xb3\x07k\xa2\xf3\xb3\x07/tf_examples/approval_workflow_step_resource.txt\xaa\xf3\xb3\x07\x32tf_examples/approval_workflow_step_data_source.txt\xd2\xf3\xb3\x07\x01*2\xf6\x04\n\x15\x41pprovalWorkflowSteps\x12\x8c\x01\n\x06\x43reate\x12%.v1.ApprovalWorkflowStepCreateRequest\x1a&.v1.ApprovalWorkflowStepCreateResponse\"3\x82\xf9\xb3\x07\t\xa2\xf3\xb3\x07\x04post\x82\xf9\xb3\x07 \xaa\xf3\xb3\x07\x1b/v1/approval-workflow-steps\x12\x86\x01\n\x03Get\x12\".v1.ApprovalWorkflowStepGetRequest\x1a#.v1.ApprovalWorkflowStepGetResponse\"6\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07$\xaa\xf3\xb3\x07\x1f/v1/approval-workflow-step/{id}\x12\x8e\x01\n\x06\x44\x65lete\x12%.v1.ApprovalWorkflowStepDeleteRequest\x1a&.v1.ApprovalWorkflowStepDeleteResponse\"5\x82\xf9\xb3\x07\x0b\xa2\xf3\xb3\x07\x06\x64\x65lete\x82\xf9\xb3\x07 \xaa\xf3\xb3\x07\x1b/v1/approval-workflow-steps\x12\x85\x01\n\x04List\x12#.v1.ApprovalWorkflowStepListRequest\x1a$.v1.ApprovalWorkflowStepListResponse\"2\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07 \xaa\xf3\xb3\x07\x1b/v1/approval-workflow-steps\x1a,\xca\xf9\xb3\x07\x19\xc2\xf9\xb3\x07\x14\x41pprovalWorkflowStep\xca\xf9\xb3\x07\t\xd2\xf9\xb3\x07\x04\x61\x66s-Bq\n\x19\x63om.strongdm.api.plumbingB\x1d\x41pprovalWorkflowStepsPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1b\x06proto3')
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
_APPROVALWORKFLOWSTEPCREATEREQUEST = DESCRIPTOR.message_types_by_name['ApprovalWorkflowStepCreateRequest']
|
38
|
+
_APPROVALWORKFLOWSTEPCREATERESPONSE = DESCRIPTOR.message_types_by_name['ApprovalWorkflowStepCreateResponse']
|
39
|
+
_APPROVALWORKFLOWSTEPGETREQUEST = DESCRIPTOR.message_types_by_name['ApprovalWorkflowStepGetRequest']
|
40
|
+
_APPROVALWORKFLOWSTEPGETRESPONSE = DESCRIPTOR.message_types_by_name['ApprovalWorkflowStepGetResponse']
|
41
|
+
_APPROVALWORKFLOWSTEPDELETEREQUEST = DESCRIPTOR.message_types_by_name['ApprovalWorkflowStepDeleteRequest']
|
42
|
+
_APPROVALWORKFLOWSTEPDELETERESPONSE = DESCRIPTOR.message_types_by_name['ApprovalWorkflowStepDeleteResponse']
|
43
|
+
_APPROVALWORKFLOWSTEPLISTREQUEST = DESCRIPTOR.message_types_by_name['ApprovalWorkflowStepListRequest']
|
44
|
+
_APPROVALWORKFLOWSTEPLISTRESPONSE = DESCRIPTOR.message_types_by_name['ApprovalWorkflowStepListResponse']
|
45
|
+
_APPROVALWORKFLOWSTEP = DESCRIPTOR.message_types_by_name['ApprovalWorkflowStep']
|
46
|
+
ApprovalWorkflowStepCreateRequest = _reflection.GeneratedProtocolMessageType('ApprovalWorkflowStepCreateRequest', (_message.Message,), {
|
47
|
+
'DESCRIPTOR' : _APPROVALWORKFLOWSTEPCREATEREQUEST,
|
48
|
+
'__module__' : 'approval_workflow_steps_pb2'
|
49
|
+
# @@protoc_insertion_point(class_scope:v1.ApprovalWorkflowStepCreateRequest)
|
50
|
+
})
|
51
|
+
_sym_db.RegisterMessage(ApprovalWorkflowStepCreateRequest)
|
52
|
+
|
53
|
+
ApprovalWorkflowStepCreateResponse = _reflection.GeneratedProtocolMessageType('ApprovalWorkflowStepCreateResponse', (_message.Message,), {
|
54
|
+
'DESCRIPTOR' : _APPROVALWORKFLOWSTEPCREATERESPONSE,
|
55
|
+
'__module__' : 'approval_workflow_steps_pb2'
|
56
|
+
# @@protoc_insertion_point(class_scope:v1.ApprovalWorkflowStepCreateResponse)
|
57
|
+
})
|
58
|
+
_sym_db.RegisterMessage(ApprovalWorkflowStepCreateResponse)
|
59
|
+
|
60
|
+
ApprovalWorkflowStepGetRequest = _reflection.GeneratedProtocolMessageType('ApprovalWorkflowStepGetRequest', (_message.Message,), {
|
61
|
+
'DESCRIPTOR' : _APPROVALWORKFLOWSTEPGETREQUEST,
|
62
|
+
'__module__' : 'approval_workflow_steps_pb2'
|
63
|
+
# @@protoc_insertion_point(class_scope:v1.ApprovalWorkflowStepGetRequest)
|
64
|
+
})
|
65
|
+
_sym_db.RegisterMessage(ApprovalWorkflowStepGetRequest)
|
66
|
+
|
67
|
+
ApprovalWorkflowStepGetResponse = _reflection.GeneratedProtocolMessageType('ApprovalWorkflowStepGetResponse', (_message.Message,), {
|
68
|
+
'DESCRIPTOR' : _APPROVALWORKFLOWSTEPGETRESPONSE,
|
69
|
+
'__module__' : 'approval_workflow_steps_pb2'
|
70
|
+
# @@protoc_insertion_point(class_scope:v1.ApprovalWorkflowStepGetResponse)
|
71
|
+
})
|
72
|
+
_sym_db.RegisterMessage(ApprovalWorkflowStepGetResponse)
|
73
|
+
|
74
|
+
ApprovalWorkflowStepDeleteRequest = _reflection.GeneratedProtocolMessageType('ApprovalWorkflowStepDeleteRequest', (_message.Message,), {
|
75
|
+
'DESCRIPTOR' : _APPROVALWORKFLOWSTEPDELETEREQUEST,
|
76
|
+
'__module__' : 'approval_workflow_steps_pb2'
|
77
|
+
# @@protoc_insertion_point(class_scope:v1.ApprovalWorkflowStepDeleteRequest)
|
78
|
+
})
|
79
|
+
_sym_db.RegisterMessage(ApprovalWorkflowStepDeleteRequest)
|
80
|
+
|
81
|
+
ApprovalWorkflowStepDeleteResponse = _reflection.GeneratedProtocolMessageType('ApprovalWorkflowStepDeleteResponse', (_message.Message,), {
|
82
|
+
'DESCRIPTOR' : _APPROVALWORKFLOWSTEPDELETERESPONSE,
|
83
|
+
'__module__' : 'approval_workflow_steps_pb2'
|
84
|
+
# @@protoc_insertion_point(class_scope:v1.ApprovalWorkflowStepDeleteResponse)
|
85
|
+
})
|
86
|
+
_sym_db.RegisterMessage(ApprovalWorkflowStepDeleteResponse)
|
87
|
+
|
88
|
+
ApprovalWorkflowStepListRequest = _reflection.GeneratedProtocolMessageType('ApprovalWorkflowStepListRequest', (_message.Message,), {
|
89
|
+
'DESCRIPTOR' : _APPROVALWORKFLOWSTEPLISTREQUEST,
|
90
|
+
'__module__' : 'approval_workflow_steps_pb2'
|
91
|
+
# @@protoc_insertion_point(class_scope:v1.ApprovalWorkflowStepListRequest)
|
92
|
+
})
|
93
|
+
_sym_db.RegisterMessage(ApprovalWorkflowStepListRequest)
|
94
|
+
|
95
|
+
ApprovalWorkflowStepListResponse = _reflection.GeneratedProtocolMessageType('ApprovalWorkflowStepListResponse', (_message.Message,), {
|
96
|
+
'DESCRIPTOR' : _APPROVALWORKFLOWSTEPLISTRESPONSE,
|
97
|
+
'__module__' : 'approval_workflow_steps_pb2'
|
98
|
+
# @@protoc_insertion_point(class_scope:v1.ApprovalWorkflowStepListResponse)
|
99
|
+
})
|
100
|
+
_sym_db.RegisterMessage(ApprovalWorkflowStepListResponse)
|
101
|
+
|
102
|
+
ApprovalWorkflowStep = _reflection.GeneratedProtocolMessageType('ApprovalWorkflowStep', (_message.Message,), {
|
103
|
+
'DESCRIPTOR' : _APPROVALWORKFLOWSTEP,
|
104
|
+
'__module__' : 'approval_workflow_steps_pb2'
|
105
|
+
# @@protoc_insertion_point(class_scope:v1.ApprovalWorkflowStep)
|
106
|
+
})
|
107
|
+
_sym_db.RegisterMessage(ApprovalWorkflowStep)
|
108
|
+
|
109
|
+
_APPROVALWORKFLOWSTEPS = DESCRIPTOR.services_by_name['ApprovalWorkflowSteps']
|
110
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
111
|
+
|
112
|
+
DESCRIPTOR._options = None
|
113
|
+
DESCRIPTOR._serialized_options = b'\n\031com.strongdm.api.plumbingB\035ApprovalWorkflowStepsPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1'
|
114
|
+
_APPROVALWORKFLOWSTEPCREATEREQUEST.fields_by_name['approval_workflow_step']._options = None
|
115
|
+
_APPROVALWORKFLOWSTEPCREATEREQUEST.fields_by_name['approval_workflow_step']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
116
|
+
_APPROVALWORKFLOWSTEPCREATERESPONSE.fields_by_name['approval_workflow_step']._options = None
|
117
|
+
_APPROVALWORKFLOWSTEPCREATERESPONSE.fields_by_name['approval_workflow_step']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
118
|
+
_APPROVALWORKFLOWSTEPCREATERESPONSE.fields_by_name['rate_limit']._options = None
|
119
|
+
_APPROVALWORKFLOWSTEPCREATERESPONSE.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'
|
120
|
+
_APPROVALWORKFLOWSTEPCREATERESPONSE._options = None
|
121
|
+
_APPROVALWORKFLOWSTEPCREATERESPONSE._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
|
122
|
+
_APPROVALWORKFLOWSTEPGETREQUEST.fields_by_name['id']._options = None
|
123
|
+
_APPROVALWORKFLOWSTEPGETREQUEST.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
124
|
+
_APPROVALWORKFLOWSTEPGETRESPONSE.fields_by_name['meta']._options = None
|
125
|
+
_APPROVALWORKFLOWSTEPGETRESPONSE.fields_by_name['meta']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
126
|
+
_APPROVALWORKFLOWSTEPGETRESPONSE.fields_by_name['approval_workflow_step']._options = None
|
127
|
+
_APPROVALWORKFLOWSTEPGETRESPONSE.fields_by_name['approval_workflow_step']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
128
|
+
_APPROVALWORKFLOWSTEPGETRESPONSE.fields_by_name['rate_limit']._options = None
|
129
|
+
_APPROVALWORKFLOWSTEPGETRESPONSE.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'
|
130
|
+
_APPROVALWORKFLOWSTEPGETRESPONSE._options = None
|
131
|
+
_APPROVALWORKFLOWSTEPGETRESPONSE._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
|
132
|
+
_APPROVALWORKFLOWSTEPDELETEREQUEST.fields_by_name['id']._options = None
|
133
|
+
_APPROVALWORKFLOWSTEPDELETEREQUEST.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
134
|
+
_APPROVALWORKFLOWSTEPDELETERESPONSE.fields_by_name['id']._options = None
|
135
|
+
_APPROVALWORKFLOWSTEPDELETERESPONSE.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
136
|
+
_APPROVALWORKFLOWSTEPDELETERESPONSE.fields_by_name['rate_limit']._options = None
|
137
|
+
_APPROVALWORKFLOWSTEPDELETERESPONSE.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
|
+
_APPROVALWORKFLOWSTEPDELETERESPONSE._options = None
|
139
|
+
_APPROVALWORKFLOWSTEPDELETERESPONSE._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
|
140
|
+
_APPROVALWORKFLOWSTEPLISTREQUEST.fields_by_name['filter']._options = None
|
141
|
+
_APPROVALWORKFLOWSTEPLISTREQUEST.fields_by_name['filter']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
142
|
+
_APPROVALWORKFLOWSTEPLISTRESPONSE.fields_by_name['approval_workflow_steps']._options = None
|
143
|
+
_APPROVALWORKFLOWSTEPLISTRESPONSE.fields_by_name['approval_workflow_steps']._serialized_options = b'\362\370\263\007\005\270\363\263\007\001'
|
144
|
+
_APPROVALWORKFLOWSTEPLISTRESPONSE.fields_by_name['rate_limit']._options = None
|
145
|
+
_APPROVALWORKFLOWSTEPLISTRESPONSE.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'
|
146
|
+
_APPROVALWORKFLOWSTEPLISTRESPONSE._options = None
|
147
|
+
_APPROVALWORKFLOWSTEPLISTRESPONSE._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
|
148
|
+
_APPROVALWORKFLOWSTEP.fields_by_name['id']._options = None
|
149
|
+
_APPROVALWORKFLOWSTEP.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
150
|
+
_APPROVALWORKFLOWSTEP.fields_by_name['approval_flow_id']._options = None
|
151
|
+
_APPROVALWORKFLOWSTEP.fields_by_name['approval_flow_id']._serialized_options = b'\362\370\263\007\n\260\363\263\007\001\300\363\263\007\001'
|
152
|
+
_APPROVALWORKFLOWSTEP._options = None
|
153
|
+
_APPROVALWORKFLOWSTEP._serialized_options = b'\372\370\263\007{\250\363\263\007\001\302\363\263\007k\242\363\263\007/tf_examples/approval_workflow_step_resource.txt\252\363\263\0072tf_examples/approval_workflow_step_data_source.txt\322\363\263\007\001*'
|
154
|
+
_APPROVALWORKFLOWSTEPS._options = None
|
155
|
+
_APPROVALWORKFLOWSTEPS._serialized_options = b'\312\371\263\007\031\302\371\263\007\024ApprovalWorkflowStep\312\371\263\007\t\322\371\263\007\004afs-'
|
156
|
+
_APPROVALWORKFLOWSTEPS.methods_by_name['Create']._options = None
|
157
|
+
_APPROVALWORKFLOWSTEPS.methods_by_name['Create']._serialized_options = b'\202\371\263\007\t\242\363\263\007\004post\202\371\263\007 \252\363\263\007\033/v1/approval-workflow-steps'
|
158
|
+
_APPROVALWORKFLOWSTEPS.methods_by_name['Get']._options = None
|
159
|
+
_APPROVALWORKFLOWSTEPS.methods_by_name['Get']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003get\202\371\263\007$\252\363\263\007\037/v1/approval-workflow-step/{id}'
|
160
|
+
_APPROVALWORKFLOWSTEPS.methods_by_name['Delete']._options = None
|
161
|
+
_APPROVALWORKFLOWSTEPS.methods_by_name['Delete']._serialized_options = b'\202\371\263\007\013\242\363\263\007\006delete\202\371\263\007 \252\363\263\007\033/v1/approval-workflow-steps'
|
162
|
+
_APPROVALWORKFLOWSTEPS.methods_by_name['List']._options = None
|
163
|
+
_APPROVALWORKFLOWSTEPS.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\033/v1/approval-workflow-steps'
|
164
|
+
_APPROVALWORKFLOWSTEPCREATEREQUEST._serialized_start=65
|
165
|
+
_APPROVALWORKFLOWSTEPCREATEREQUEST._serialized_end=211
|
166
|
+
_APPROVALWORKFLOWSTEPCREATERESPONSE._serialized_start=214
|
167
|
+
_APPROVALWORKFLOWSTEPCREATERESPONSE._serialized_end=463
|
168
|
+
_APPROVALWORKFLOWSTEPGETREQUEST._serialized_start=465
|
169
|
+
_APPROVALWORKFLOWSTEPGETREQUEST._serialized_end=559
|
170
|
+
_APPROVALWORKFLOWSTEPGETRESPONSE._serialized_start=562
|
171
|
+
_APPROVALWORKFLOWSTEPGETRESPONSE._serialized_end=817
|
172
|
+
_APPROVALWORKFLOWSTEPDELETEREQUEST._serialized_start=819
|
173
|
+
_APPROVALWORKFLOWSTEPDELETEREQUEST._serialized_end=919
|
174
|
+
_APPROVALWORKFLOWSTEPDELETERESPONSE._serialized_start=922
|
175
|
+
_APPROVALWORKFLOWSTEPDELETERESPONSE._serialized_end=1125
|
176
|
+
_APPROVALWORKFLOWSTEPLISTREQUEST._serialized_start=1127
|
177
|
+
_APPROVALWORKFLOWSTEPLISTREQUEST._serialized_end=1227
|
178
|
+
_APPROVALWORKFLOWSTEPLISTRESPONSE._serialized_start=1230
|
179
|
+
_APPROVALWORKFLOWSTEPLISTRESPONSE._serialized_end=1476
|
180
|
+
_APPROVALWORKFLOWSTEP._serialized_start=1479
|
181
|
+
_APPROVALWORKFLOWSTEP._serialized_end=1699
|
182
|
+
_APPROVALWORKFLOWSTEPS._serialized_start=1702
|
183
|
+
_APPROVALWORKFLOWSTEPS._serialized_end=2332
|
184
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,186 @@
|
|
1
|
+
# Copyright 2020 StrongDM Inc
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
#
|
15
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
16
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
17
|
+
import grpc
|
18
|
+
|
19
|
+
from . import approval_workflow_steps_pb2 as approval__workflow__steps__pb2
|
20
|
+
|
21
|
+
|
22
|
+
class ApprovalWorkflowStepsStub(object):
|
23
|
+
"""ApprovalWorkflowSteps link approval workflow steps to an ApprovalWorkflow
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self, channel):
|
27
|
+
"""Constructor.
|
28
|
+
|
29
|
+
Args:
|
30
|
+
channel: A grpc.Channel.
|
31
|
+
"""
|
32
|
+
self.Create = channel.unary_unary(
|
33
|
+
'/v1.ApprovalWorkflowSteps/Create',
|
34
|
+
request_serializer=approval__workflow__steps__pb2.ApprovalWorkflowStepCreateRequest.SerializeToString,
|
35
|
+
response_deserializer=approval__workflow__steps__pb2.ApprovalWorkflowStepCreateResponse.FromString,
|
36
|
+
)
|
37
|
+
self.Get = channel.unary_unary(
|
38
|
+
'/v1.ApprovalWorkflowSteps/Get',
|
39
|
+
request_serializer=approval__workflow__steps__pb2.ApprovalWorkflowStepGetRequest.SerializeToString,
|
40
|
+
response_deserializer=approval__workflow__steps__pb2.ApprovalWorkflowStepGetResponse.FromString,
|
41
|
+
)
|
42
|
+
self.Delete = channel.unary_unary(
|
43
|
+
'/v1.ApprovalWorkflowSteps/Delete',
|
44
|
+
request_serializer=approval__workflow__steps__pb2.ApprovalWorkflowStepDeleteRequest.SerializeToString,
|
45
|
+
response_deserializer=approval__workflow__steps__pb2.ApprovalWorkflowStepDeleteResponse.FromString,
|
46
|
+
)
|
47
|
+
self.List = channel.unary_unary(
|
48
|
+
'/v1.ApprovalWorkflowSteps/List',
|
49
|
+
request_serializer=approval__workflow__steps__pb2.ApprovalWorkflowStepListRequest.SerializeToString,
|
50
|
+
response_deserializer=approval__workflow__steps__pb2.ApprovalWorkflowStepListResponse.FromString,
|
51
|
+
)
|
52
|
+
|
53
|
+
|
54
|
+
class ApprovalWorkflowStepsServicer(object):
|
55
|
+
"""ApprovalWorkflowSteps link approval workflow steps to an ApprovalWorkflow
|
56
|
+
"""
|
57
|
+
|
58
|
+
def Create(self, request, context):
|
59
|
+
"""Create creates a new approval workflow step.
|
60
|
+
"""
|
61
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
62
|
+
context.set_details('Method not implemented!')
|
63
|
+
raise NotImplementedError('Method not implemented!')
|
64
|
+
|
65
|
+
def Get(self, request, context):
|
66
|
+
"""Get reads one approval workflow step by ID.
|
67
|
+
"""
|
68
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
69
|
+
context.set_details('Method not implemented!')
|
70
|
+
raise NotImplementedError('Method not implemented!')
|
71
|
+
|
72
|
+
def Delete(self, request, context):
|
73
|
+
"""Delete deletes an existing approval workflow step.
|
74
|
+
"""
|
75
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
76
|
+
context.set_details('Method not implemented!')
|
77
|
+
raise NotImplementedError('Method not implemented!')
|
78
|
+
|
79
|
+
def List(self, request, context):
|
80
|
+
"""Lists existing approval workflow steps.
|
81
|
+
"""
|
82
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
83
|
+
context.set_details('Method not implemented!')
|
84
|
+
raise NotImplementedError('Method not implemented!')
|
85
|
+
|
86
|
+
|
87
|
+
def add_ApprovalWorkflowStepsServicer_to_server(servicer, server):
|
88
|
+
rpc_method_handlers = {
|
89
|
+
'Create': grpc.unary_unary_rpc_method_handler(
|
90
|
+
servicer.Create,
|
91
|
+
request_deserializer=approval__workflow__steps__pb2.ApprovalWorkflowStepCreateRequest.FromString,
|
92
|
+
response_serializer=approval__workflow__steps__pb2.ApprovalWorkflowStepCreateResponse.SerializeToString,
|
93
|
+
),
|
94
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
95
|
+
servicer.Get,
|
96
|
+
request_deserializer=approval__workflow__steps__pb2.ApprovalWorkflowStepGetRequest.FromString,
|
97
|
+
response_serializer=approval__workflow__steps__pb2.ApprovalWorkflowStepGetResponse.SerializeToString,
|
98
|
+
),
|
99
|
+
'Delete': grpc.unary_unary_rpc_method_handler(
|
100
|
+
servicer.Delete,
|
101
|
+
request_deserializer=approval__workflow__steps__pb2.ApprovalWorkflowStepDeleteRequest.FromString,
|
102
|
+
response_serializer=approval__workflow__steps__pb2.ApprovalWorkflowStepDeleteResponse.SerializeToString,
|
103
|
+
),
|
104
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
105
|
+
servicer.List,
|
106
|
+
request_deserializer=approval__workflow__steps__pb2.ApprovalWorkflowStepListRequest.FromString,
|
107
|
+
response_serializer=approval__workflow__steps__pb2.ApprovalWorkflowStepListResponse.SerializeToString,
|
108
|
+
),
|
109
|
+
}
|
110
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
111
|
+
'v1.ApprovalWorkflowSteps', rpc_method_handlers)
|
112
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
113
|
+
|
114
|
+
|
115
|
+
# This class is part of an EXPERIMENTAL API.
|
116
|
+
class ApprovalWorkflowSteps(object):
|
117
|
+
"""ApprovalWorkflowSteps link approval workflow steps to an ApprovalWorkflow
|
118
|
+
"""
|
119
|
+
|
120
|
+
@staticmethod
|
121
|
+
def Create(request,
|
122
|
+
target,
|
123
|
+
options=(),
|
124
|
+
channel_credentials=None,
|
125
|
+
call_credentials=None,
|
126
|
+
insecure=False,
|
127
|
+
compression=None,
|
128
|
+
wait_for_ready=None,
|
129
|
+
timeout=None,
|
130
|
+
metadata=None):
|
131
|
+
return grpc.experimental.unary_unary(request, target, '/v1.ApprovalWorkflowSteps/Create',
|
132
|
+
approval__workflow__steps__pb2.ApprovalWorkflowStepCreateRequest.SerializeToString,
|
133
|
+
approval__workflow__steps__pb2.ApprovalWorkflowStepCreateResponse.FromString,
|
134
|
+
options, channel_credentials,
|
135
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
136
|
+
|
137
|
+
@staticmethod
|
138
|
+
def Get(request,
|
139
|
+
target,
|
140
|
+
options=(),
|
141
|
+
channel_credentials=None,
|
142
|
+
call_credentials=None,
|
143
|
+
insecure=False,
|
144
|
+
compression=None,
|
145
|
+
wait_for_ready=None,
|
146
|
+
timeout=None,
|
147
|
+
metadata=None):
|
148
|
+
return grpc.experimental.unary_unary(request, target, '/v1.ApprovalWorkflowSteps/Get',
|
149
|
+
approval__workflow__steps__pb2.ApprovalWorkflowStepGetRequest.SerializeToString,
|
150
|
+
approval__workflow__steps__pb2.ApprovalWorkflowStepGetResponse.FromString,
|
151
|
+
options, channel_credentials,
|
152
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
153
|
+
|
154
|
+
@staticmethod
|
155
|
+
def Delete(request,
|
156
|
+
target,
|
157
|
+
options=(),
|
158
|
+
channel_credentials=None,
|
159
|
+
call_credentials=None,
|
160
|
+
insecure=False,
|
161
|
+
compression=None,
|
162
|
+
wait_for_ready=None,
|
163
|
+
timeout=None,
|
164
|
+
metadata=None):
|
165
|
+
return grpc.experimental.unary_unary(request, target, '/v1.ApprovalWorkflowSteps/Delete',
|
166
|
+
approval__workflow__steps__pb2.ApprovalWorkflowStepDeleteRequest.SerializeToString,
|
167
|
+
approval__workflow__steps__pb2.ApprovalWorkflowStepDeleteResponse.FromString,
|
168
|
+
options, channel_credentials,
|
169
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
170
|
+
|
171
|
+
@staticmethod
|
172
|
+
def List(request,
|
173
|
+
target,
|
174
|
+
options=(),
|
175
|
+
channel_credentials=None,
|
176
|
+
call_credentials=None,
|
177
|
+
insecure=False,
|
178
|
+
compression=None,
|
179
|
+
wait_for_ready=None,
|
180
|
+
timeout=None,
|
181
|
+
metadata=None):
|
182
|
+
return grpc.experimental.unary_unary(request, target, '/v1.ApprovalWorkflowSteps/List',
|
183
|
+
approval__workflow__steps__pb2.ApprovalWorkflowStepListRequest.SerializeToString,
|
184
|
+
approval__workflow__steps__pb2.ApprovalWorkflowStepListResponse.FromString,
|
185
|
+
options, channel_credentials,
|
186
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|