otdf-python 0.7.3__py3-none-any.whl → 0.8.0__py3-none-any.whl
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.
- {otdf_python-0.7.3.dist-info → otdf_python-0.8.0.dist-info}/METADATA +1 -1
- {otdf_python-0.7.3.dist-info → otdf_python-0.8.0.dist-info}/RECORD +26 -26
- otdf_python_proto/legacy_grpc/policy/attributes/attributes_pb2_grpc.py +3 -1
- otdf_python_proto/legacy_grpc/policy/namespaces/namespaces_pb2_grpc.py +0 -87
- otdf_python_proto/legacy_grpc/policy/obligations/obligations_pb2_grpc.py +44 -1
- otdf_python_proto/policy/actions/actions_pb2.py +40 -22
- otdf_python_proto/policy/actions/actions_pb2.pyi +18 -6
- otdf_python_proto/policy/attributes/attributes_pb2.py +90 -84
- otdf_python_proto/policy/attributes/attributes_pb2.pyi +24 -2
- otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.py +111 -105
- otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.pyi +26 -2
- otdf_python_proto/policy/namespaces/namespaces_connect.py +0 -130
- otdf_python_proto/policy/namespaces/namespaces_pb2.py +41 -55
- otdf_python_proto/policy/namespaces/namespaces_pb2.pyi +26 -40
- otdf_python_proto/policy/objects_pb2.py +60 -62
- otdf_python_proto/policy/objects_pb2.pyi +18 -22
- otdf_python_proto/policy/obligations/obligations_connect.py +69 -0
- otdf_python_proto/policy/obligations/obligations_pb2.py +79 -65
- otdf_python_proto/policy/obligations/obligations_pb2.pyi +38 -2
- otdf_python_proto/policy/registeredresources/registered_resources_pb2.py +74 -50
- otdf_python_proto/policy/registeredresources/registered_resources_pb2.pyi +40 -6
- otdf_python_proto/policy/selectors_pb2.py +3 -1
- otdf_python_proto/policy/selectors_pb2.pyi +10 -0
- otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.py +81 -45
- otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.pyi +63 -8
- {otdf_python-0.7.3.dist-info → otdf_python-0.8.0.dist-info}/WHEEL +0 -0
|
@@ -98,15 +98,15 @@ otdf_python_proto/legacy_grpc/policy/selectors_pb2_grpc.py,sha256=1oboBPFxaTEXt9
|
|
|
98
98
|
otdf_python_proto/legacy_grpc/policy/actions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
99
99
|
otdf_python_proto/legacy_grpc/policy/actions/actions_pb2_grpc.py,sha256=cwsrUzJrypSl4NaImV9FzM8TIy8u8kpj-r_M1beI8_8,10380
|
|
100
100
|
otdf_python_proto/legacy_grpc/policy/attributes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
101
|
-
otdf_python_proto/legacy_grpc/policy/attributes/attributes_pb2_grpc.py,sha256=
|
|
101
|
+
otdf_python_proto/legacy_grpc/policy/attributes/attributes_pb2_grpc.py,sha256=HE2nVoaK-rYeITMvHVQVeIkMI9pKeNI2EyzKoTUTbdU,40393
|
|
102
102
|
otdf_python_proto/legacy_grpc/policy/kasregistry/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
103
103
|
otdf_python_proto/legacy_grpc/policy/kasregistry/key_access_server_registry_pb2_grpc.py,sha256=VYUxb0IY7K0K1TTgwd1QsHEnsMVLbOGxLi1t_je13WY,30624
|
|
104
104
|
otdf_python_proto/legacy_grpc/policy/keymanagement/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
105
105
|
otdf_python_proto/legacy_grpc/policy/keymanagement/key_management_pb2_grpc.py,sha256=LynB9ChgzqaLUw1NGVk0ONdRIeEA7WT44-yv64sxMg0,11526
|
|
106
106
|
otdf_python_proto/legacy_grpc/policy/namespaces/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
107
|
-
otdf_python_proto/legacy_grpc/policy/namespaces/namespaces_pb2_grpc.py,sha256=
|
|
107
|
+
otdf_python_proto/legacy_grpc/policy/namespaces/namespaces_pb2_grpc.py,sha256=ObTkK1kKu2NSsbKVq_u-cEb3LdPGqFJpLzCoGmKIXsg,19722
|
|
108
108
|
otdf_python_proto/legacy_grpc/policy/obligations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
109
|
-
otdf_python_proto/legacy_grpc/policy/obligations/obligations_pb2_grpc.py,sha256=
|
|
109
|
+
otdf_python_proto/legacy_grpc/policy/obligations/obligations_pb2_grpc.py,sha256=BIYq3_FaWLGQEXmelDT2ZL_-qR5eK7iTlk-D76KhTjM,32849
|
|
110
110
|
otdf_python_proto/legacy_grpc/policy/registeredresources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
111
111
|
otdf_python_proto/legacy_grpc/policy/registeredresources/registered_resources_pb2_grpc.py,sha256=Bz6kkWw_exluCLkn8JqQ5drDS_Cu_v0ostNQJ_7yVCI,26156
|
|
112
112
|
otdf_python_proto/legacy_grpc/policy/resourcemapping/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -122,46 +122,46 @@ otdf_python_proto/logger/audit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
122
122
|
otdf_python_proto/logger/audit/test_pb2.py,sha256=FbhQNp-ENPvhFlYtGqPaq9aaFLxXn_NaxOO0PJzvFzI,3028
|
|
123
123
|
otdf_python_proto/logger/audit/test_pb2.pyi,sha256=uqHbuyrpKspEObm4F3edJthw2IZSdojaoBalXEQgA1U,2346
|
|
124
124
|
otdf_python_proto/policy/__init__.py,sha256=yrbwH5e3KjoqN4PSnFcOfC4xV9YuvzPa8OxDlGoOfkk,35
|
|
125
|
-
otdf_python_proto/policy/objects_pb2.py,sha256=
|
|
126
|
-
otdf_python_proto/policy/objects_pb2.pyi,sha256=
|
|
127
|
-
otdf_python_proto/policy/selectors_pb2.py,sha256=
|
|
128
|
-
otdf_python_proto/policy/selectors_pb2.pyi,sha256=
|
|
125
|
+
otdf_python_proto/policy/objects_pb2.py,sha256=HJ4lptnz_sCRUkChoVleqnx4CYJ6kAq6ykXJOGyAAN0,25598
|
|
126
|
+
otdf_python_proto/policy/objects_pb2.pyi,sha256=zDZm4Gbeq58ioOU__EQa0tb0_ruJ9RRSqF8BAElKBxI,28770
|
|
127
|
+
otdf_python_proto/policy/selectors_pb2.py,sha256=4apD99l1f2NRrhuuEluOs5T1wiCUMuVJCyA_8EQqA7k,5554
|
|
128
|
+
otdf_python_proto/policy/selectors_pb2.pyi,sha256=PoWaqc69hLAzhNZPpuESVna8hTWtHF_47UIiASm4J-M,5598
|
|
129
129
|
otdf_python_proto/policy/actions/__init__.py,sha256=GPRrOk6_i6Jgj9PrWX8tCdqYoVKdJJp7ucu1XtY3iFU,208
|
|
130
130
|
otdf_python_proto/policy/actions/actions_connect.py,sha256=jdmPjw8LdyaEACeHVsU075FUqV39vmGs8tIxF151Uj8,18087
|
|
131
|
-
otdf_python_proto/policy/actions/actions_pb2.py,sha256=
|
|
132
|
-
otdf_python_proto/policy/actions/actions_pb2.pyi,sha256=
|
|
131
|
+
otdf_python_proto/policy/actions/actions_pb2.py,sha256=Yip1vFSy-jeoHroTxivoR3_NGWjZ61632x1PcKhyNDU,11392
|
|
132
|
+
otdf_python_proto/policy/actions/actions_pb2.pyi,sha256=3ffqIZQmW3TRhVOErJ-KbrlfDrMF00E6WvwFk55NGMc,5029
|
|
133
133
|
otdf_python_proto/policy/attributes/__init__.py,sha256=3lHYfbXDGAuuhfSwb1YJfVJJWPvTtcoshyhLOi_hIr0,226
|
|
134
134
|
otdf_python_proto/policy/attributes/attributes_connect.py,sha256=r-_r5pqiFr_CCQ05UnzbEcYld2KOY4nY5q0s2cYxnp4,72451
|
|
135
|
-
otdf_python_proto/policy/attributes/attributes_pb2.py,sha256=
|
|
136
|
-
otdf_python_proto/policy/attributes/attributes_pb2.pyi,sha256=
|
|
135
|
+
otdf_python_proto/policy/attributes/attributes_pb2.py,sha256=v1_S4JHu25GpHSKlSJzMltRmtXkvp7lDC_0V2Ja0tO4,34185
|
|
136
|
+
otdf_python_proto/policy/attributes/attributes_pb2.pyi,sha256=VBITeEjStR85KH81ThxsJA3OXwpGoGbmSA35kYD4_DQ,17534
|
|
137
137
|
otdf_python_proto/policy/kasregistry/__init__.py,sha256=zj_8G65KIhOSiOeMkyMEZFomWYkfD9E5aWASgwV4n3M,295
|
|
138
138
|
otdf_python_proto/policy/kasregistry/key_access_server_registry_connect.py,sha256=EEU9fDmKiTFyAmYBTtnWfogc5y9iKNNrwMgH5Dd0bgg,56582
|
|
139
|
-
otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.py,sha256=
|
|
140
|
-
otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.pyi,sha256=
|
|
139
|
+
otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.py,sha256=21oO8Sux-aVOCzAqrbqUzN9XYQ0mAccae9sUq0q8L7I,49254
|
|
140
|
+
otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.pyi,sha256=yWFfroNor_p8xSzBw1kKFIH1YvWQ7kJPOTzg7b-iPKQ,27947
|
|
141
141
|
otdf_python_proto/policy/keymanagement/__init__.py,sha256=baBSBdjBbaErAIjjn0GxUPfYYRq7R4MfsrvpK02uews,245
|
|
142
142
|
otdf_python_proto/policy/keymanagement/key_management_connect.py,sha256=-e1fc4S3-xJ_Tdy9T0JMMTXIFhMeN7qx0sls-gMUjeM,20883
|
|
143
143
|
otdf_python_proto/policy/keymanagement/key_management_pb2.py,sha256=d0JVCBB8Vrm4O7oRFpmi0v9QhRFQ_fq84zrAMYYTrX0,8970
|
|
144
144
|
otdf_python_proto/policy/keymanagement/key_management_pb2.pyi,sha256=IISqg5QnUjY9xV53vDxLr66yMJqMRyYZkmosHkDoNLY,4681
|
|
145
145
|
otdf_python_proto/policy/namespaces/__init__.py,sha256=JIdic8yq55x9BrQzaJtgEp3J7AcnOZ1c0eiTXd2iDpw,222
|
|
146
|
-
otdf_python_proto/policy/namespaces/namespaces_connect.py,sha256=
|
|
147
|
-
otdf_python_proto/policy/namespaces/namespaces_pb2.py,sha256=
|
|
148
|
-
otdf_python_proto/policy/namespaces/namespaces_pb2.pyi,sha256=
|
|
146
|
+
otdf_python_proto/policy/namespaces/namespaces_connect.py,sha256=gJmN8r8bCDX9KTyEJc7X5RnvgxPiANfRvTTFNom06wk,35163
|
|
147
|
+
otdf_python_proto/policy/namespaces/namespaces_pb2.py,sha256=khX1QFYA6Z73T4R6xaNyPE2l9xgbT2ZMMkGL0pSObwo,16600
|
|
148
|
+
otdf_python_proto/policy/namespaces/namespaces_pb2.pyi,sha256=7IGB_9xo_GoAbl5BngR9whm2fPKCZtpIrMEE9ZXYdos,8477
|
|
149
149
|
otdf_python_proto/policy/obligations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
150
|
-
otdf_python_proto/policy/obligations/obligations_connect.py,sha256=
|
|
151
|
-
otdf_python_proto/policy/obligations/obligations_pb2.py,sha256=
|
|
152
|
-
otdf_python_proto/policy/obligations/obligations_pb2.pyi,sha256=
|
|
150
|
+
otdf_python_proto/policy/obligations/obligations_connect.py,sha256=e1OooaYYkuILXRoK7srTEsLAyLhRAzDUDv8ImYkcCu4,56291
|
|
151
|
+
otdf_python_proto/policy/obligations/obligations_pb2.py,sha256=P4BoSXBA8wXVqu0yquy1dm5vLWoM4iy70bGLxYhF-mk,29954
|
|
152
|
+
otdf_python_proto/policy/obligations/obligations_pb2.pyi,sha256=MZ3pR_UAEkeGKSnOcHaVtCyG8STlpakrxgonWuYr1v8,15155
|
|
153
153
|
otdf_python_proto/policy/registeredresources/__init__.py,sha256=U6A5CRMFUhwjxOdxaRpgfIBx9bJZ7KcnBNKPQouSaeI,281
|
|
154
154
|
otdf_python_proto/policy/registeredresources/registered_resources_connect.py,sha256=FVJPkbH7vO_oUiJRW6qW2nkJhmomO_9YQ1yDCEYYhQ8,48569
|
|
155
|
-
otdf_python_proto/policy/registeredresources/registered_resources_pb2.py,sha256=
|
|
156
|
-
otdf_python_proto/policy/registeredresources/registered_resources_pb2.pyi,sha256=
|
|
155
|
+
otdf_python_proto/policy/registeredresources/registered_resources_pb2.py,sha256=xFoSt5-39_MyX3uAXb7I70jRGfLVel0ImJDLQ2TOhEs,26917
|
|
156
|
+
otdf_python_proto/policy/registeredresources/registered_resources_pb2.pyi,sha256=YsGfL7N1-UU2SR9O9PVgw9J0cjrbqZRQWOMVFEhJyzQ,12293
|
|
157
157
|
otdf_python_proto/policy/resourcemapping/__init__.py,sha256=9_It9dJRLAOIf1y9n3LxEQa7-WI51B_E3OfhKBNuFw4,257
|
|
158
158
|
otdf_python_proto/policy/resourcemapping/resource_mapping_connect.py,sha256=RdhIMj6FLUxFNsCL2edVJRRJPefEe9enkWpsU2Y9djo,46405
|
|
159
159
|
otdf_python_proto/policy/resourcemapping/resource_mapping_pb2.py,sha256=vnMJu2jEr3NHH5aUx5hquQAyHlUwtgh2lL9YdXil2bs,21745
|
|
160
160
|
otdf_python_proto/policy/resourcemapping/resource_mapping_pb2.pyi,sha256=B4I6nj1bHNI8VZImfuBeXJ6S_-tovN0DbwfncTujUw4,10380
|
|
161
161
|
otdf_python_proto/policy/subjectmapping/__init__.py,sha256=Cyaic3XmuOOqIWOVO31JJvafc-YQMoLCcohzoeZU6Yc,251
|
|
162
162
|
otdf_python_proto/policy/subjectmapping/subject_mapping_connect.py,sha256=lMcaLSAs_N6245as4-Wdp746LyjKwldeDdD_QQiwr_Q,49436
|
|
163
|
-
otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.py,sha256=
|
|
164
|
-
otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.pyi,sha256=
|
|
163
|
+
otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.py,sha256=7ZQLiVqWcBJPLqpEkq6E_h4NCmt7CruJQQHhfzG7XPQ,23721
|
|
164
|
+
otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.pyi,sha256=pI3Nmq56TLDtEoQ76u-GS8j1CsFk2NsouBb-gbxi6t8,14321
|
|
165
165
|
otdf_python_proto/policy/unsafe/__init__.py,sha256=1TYTtYZyHxNQ2HaMCONHJ1U9dZDp3ZoZv19wZ78NhBI,202
|
|
166
166
|
otdf_python_proto/policy/unsafe/unsafe_connect.py,sha256=f-WA7NClXBfxs9wkdSVKUf7LwvK5WfDGkNsqboZ2k2g,37202
|
|
167
167
|
otdf_python_proto/policy/unsafe/unsafe_pb2.py,sha256=MiO5LlGcHP3E9r0lRyL4XdUZWnXc6Qc5TyQFLXkY0CU,15704
|
|
@@ -170,6 +170,6 @@ otdf_python_proto/wellknownconfiguration/__init__.py,sha256=xK8XUrwCL9elWuMTx6vV
|
|
|
170
170
|
otdf_python_proto/wellknownconfiguration/wellknown_configuration_connect.py,sha256=wnfZ7K9vAB_Rub25KrdnKIfx5Yxq8yCc8c6zHjBtFH8,6358
|
|
171
171
|
otdf_python_proto/wellknownconfiguration/wellknown_configuration_pb2.py,sha256=g9xSm9TxX0IPMqiFCaridJvI2TrL8PrXVFPgu8tX9VM,3863
|
|
172
172
|
otdf_python_proto/wellknownconfiguration/wellknown_configuration_pb2.pyi,sha256=Zw4vROvTgomnFqsalJrYda632ojXH0FVXSzTXxerybw,1490
|
|
173
|
-
otdf_python-0.
|
|
174
|
-
otdf_python-0.
|
|
175
|
-
otdf_python-0.
|
|
173
|
+
otdf_python-0.8.0.dist-info/METADATA,sha256=tOU6zYj1mwOFjG47UZQcThPktprFtj2UtVyoIVRaKns,5037
|
|
174
|
+
otdf_python-0.8.0.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
|
|
175
|
+
otdf_python-0.8.0.dist-info/RECORD,,
|
|
@@ -130,7 +130,9 @@ class AttributesServiceServicer(object):
|
|
|
130
130
|
raise NotImplementedError('Method not implemented!')
|
|
131
131
|
|
|
132
132
|
def ListAttributeValues(self, request, context):
|
|
133
|
-
"""
|
|
133
|
+
"""Deprecated
|
|
134
|
+
Use GetAttribute
|
|
135
|
+
"""
|
|
134
136
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
135
137
|
context.set_details('Method not implemented!')
|
|
136
138
|
raise NotImplementedError('Method not implemented!')
|
|
@@ -59,16 +59,6 @@ class NamespaceServiceStub(object):
|
|
|
59
59
|
request_serializer=policy_dot_namespaces_dot_namespaces__pb2.RemovePublicKeyFromNamespaceRequest.SerializeToString,
|
|
60
60
|
response_deserializer=policy_dot_namespaces_dot_namespaces__pb2.RemovePublicKeyFromNamespaceResponse.FromString,
|
|
61
61
|
_registered_method=True)
|
|
62
|
-
self.AssignCertificateToNamespace = channel.unary_unary(
|
|
63
|
-
'/policy.namespaces.NamespaceService/AssignCertificateToNamespace',
|
|
64
|
-
request_serializer=policy_dot_namespaces_dot_namespaces__pb2.AssignCertificateToNamespaceRequest.SerializeToString,
|
|
65
|
-
response_deserializer=policy_dot_namespaces_dot_namespaces__pb2.AssignCertificateToNamespaceResponse.FromString,
|
|
66
|
-
_registered_method=True)
|
|
67
|
-
self.RemoveCertificateFromNamespace = channel.unary_unary(
|
|
68
|
-
'/policy.namespaces.NamespaceService/RemoveCertificateFromNamespace',
|
|
69
|
-
request_serializer=policy_dot_namespaces_dot_namespaces__pb2.RemoveCertificateFromNamespaceRequest.SerializeToString,
|
|
70
|
-
response_deserializer=policy_dot_namespaces_dot_namespaces__pb2.RemoveCertificateFromNamespaceResponse.FromString,
|
|
71
|
-
_registered_method=True)
|
|
72
62
|
|
|
73
63
|
|
|
74
64
|
class NamespaceServiceServicer(object):
|
|
@@ -137,19 +127,6 @@ class NamespaceServiceServicer(object):
|
|
|
137
127
|
context.set_details('Method not implemented!')
|
|
138
128
|
raise NotImplementedError('Method not implemented!')
|
|
139
129
|
|
|
140
|
-
def AssignCertificateToNamespace(self, request, context):
|
|
141
|
-
"""Namespace <> Certificate RPCs
|
|
142
|
-
"""
|
|
143
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
144
|
-
context.set_details('Method not implemented!')
|
|
145
|
-
raise NotImplementedError('Method not implemented!')
|
|
146
|
-
|
|
147
|
-
def RemoveCertificateFromNamespace(self, request, context):
|
|
148
|
-
"""Missing associated documentation comment in .proto file."""
|
|
149
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
150
|
-
context.set_details('Method not implemented!')
|
|
151
|
-
raise NotImplementedError('Method not implemented!')
|
|
152
|
-
|
|
153
130
|
|
|
154
131
|
def add_NamespaceServiceServicer_to_server(servicer, server):
|
|
155
132
|
rpc_method_handlers = {
|
|
@@ -198,16 +175,6 @@ def add_NamespaceServiceServicer_to_server(servicer, server):
|
|
|
198
175
|
request_deserializer=policy_dot_namespaces_dot_namespaces__pb2.RemovePublicKeyFromNamespaceRequest.FromString,
|
|
199
176
|
response_serializer=policy_dot_namespaces_dot_namespaces__pb2.RemovePublicKeyFromNamespaceResponse.SerializeToString,
|
|
200
177
|
),
|
|
201
|
-
'AssignCertificateToNamespace': grpc.unary_unary_rpc_method_handler(
|
|
202
|
-
servicer.AssignCertificateToNamespace,
|
|
203
|
-
request_deserializer=policy_dot_namespaces_dot_namespaces__pb2.AssignCertificateToNamespaceRequest.FromString,
|
|
204
|
-
response_serializer=policy_dot_namespaces_dot_namespaces__pb2.AssignCertificateToNamespaceResponse.SerializeToString,
|
|
205
|
-
),
|
|
206
|
-
'RemoveCertificateFromNamespace': grpc.unary_unary_rpc_method_handler(
|
|
207
|
-
servicer.RemoveCertificateFromNamespace,
|
|
208
|
-
request_deserializer=policy_dot_namespaces_dot_namespaces__pb2.RemoveCertificateFromNamespaceRequest.FromString,
|
|
209
|
-
response_serializer=policy_dot_namespaces_dot_namespaces__pb2.RemoveCertificateFromNamespaceResponse.SerializeToString,
|
|
210
|
-
),
|
|
211
178
|
}
|
|
212
179
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
213
180
|
'policy.namespaces.NamespaceService', rpc_method_handlers)
|
|
@@ -461,57 +428,3 @@ class NamespaceService(object):
|
|
|
461
428
|
timeout,
|
|
462
429
|
metadata,
|
|
463
430
|
_registered_method=True)
|
|
464
|
-
|
|
465
|
-
@staticmethod
|
|
466
|
-
def AssignCertificateToNamespace(request,
|
|
467
|
-
target,
|
|
468
|
-
options=(),
|
|
469
|
-
channel_credentials=None,
|
|
470
|
-
call_credentials=None,
|
|
471
|
-
insecure=False,
|
|
472
|
-
compression=None,
|
|
473
|
-
wait_for_ready=None,
|
|
474
|
-
timeout=None,
|
|
475
|
-
metadata=None):
|
|
476
|
-
return grpc.experimental.unary_unary(
|
|
477
|
-
request,
|
|
478
|
-
target,
|
|
479
|
-
'/policy.namespaces.NamespaceService/AssignCertificateToNamespace',
|
|
480
|
-
policy_dot_namespaces_dot_namespaces__pb2.AssignCertificateToNamespaceRequest.SerializeToString,
|
|
481
|
-
policy_dot_namespaces_dot_namespaces__pb2.AssignCertificateToNamespaceResponse.FromString,
|
|
482
|
-
options,
|
|
483
|
-
channel_credentials,
|
|
484
|
-
insecure,
|
|
485
|
-
call_credentials,
|
|
486
|
-
compression,
|
|
487
|
-
wait_for_ready,
|
|
488
|
-
timeout,
|
|
489
|
-
metadata,
|
|
490
|
-
_registered_method=True)
|
|
491
|
-
|
|
492
|
-
@staticmethod
|
|
493
|
-
def RemoveCertificateFromNamespace(request,
|
|
494
|
-
target,
|
|
495
|
-
options=(),
|
|
496
|
-
channel_credentials=None,
|
|
497
|
-
call_credentials=None,
|
|
498
|
-
insecure=False,
|
|
499
|
-
compression=None,
|
|
500
|
-
wait_for_ready=None,
|
|
501
|
-
timeout=None,
|
|
502
|
-
metadata=None):
|
|
503
|
-
return grpc.experimental.unary_unary(
|
|
504
|
-
request,
|
|
505
|
-
target,
|
|
506
|
-
'/policy.namespaces.NamespaceService/RemoveCertificateFromNamespace',
|
|
507
|
-
policy_dot_namespaces_dot_namespaces__pb2.RemoveCertificateFromNamespaceRequest.SerializeToString,
|
|
508
|
-
policy_dot_namespaces_dot_namespaces__pb2.RemoveCertificateFromNamespaceResponse.FromString,
|
|
509
|
-
options,
|
|
510
|
-
channel_credentials,
|
|
511
|
-
insecure,
|
|
512
|
-
call_credentials,
|
|
513
|
-
compression,
|
|
514
|
-
wait_for_ready,
|
|
515
|
-
timeout,
|
|
516
|
-
metadata,
|
|
517
|
-
_registered_method=True)
|
|
@@ -94,6 +94,11 @@ class ServiceStub(object):
|
|
|
94
94
|
request_serializer=policy_dot_obligations_dot_obligations__pb2.DeleteObligationValueRequest.SerializeToString,
|
|
95
95
|
response_deserializer=policy_dot_obligations_dot_obligations__pb2.DeleteObligationValueResponse.FromString,
|
|
96
96
|
_registered_method=True)
|
|
97
|
+
self.GetObligationTrigger = channel.unary_unary(
|
|
98
|
+
'/policy.obligations.Service/GetObligationTrigger',
|
|
99
|
+
request_serializer=policy_dot_obligations_dot_obligations__pb2.GetObligationTriggerRequest.SerializeToString,
|
|
100
|
+
response_deserializer=policy_dot_obligations_dot_obligations__pb2.GetObligationTriggerResponse.FromString,
|
|
101
|
+
_registered_method=True)
|
|
97
102
|
self.AddObligationTrigger = channel.unary_unary(
|
|
98
103
|
'/policy.obligations.Service/AddObligationTrigger',
|
|
99
104
|
request_serializer=policy_dot_obligations_dot_obligations__pb2.AddObligationTriggerRequest.SerializeToString,
|
|
@@ -213,7 +218,7 @@ class ServiceServicer(object):
|
|
|
213
218
|
context.set_details('Method not implemented!')
|
|
214
219
|
raise NotImplementedError('Method not implemented!')
|
|
215
220
|
|
|
216
|
-
def
|
|
221
|
+
def GetObligationTrigger(self, request, context):
|
|
217
222
|
"""--------------------------------------*
|
|
218
223
|
Trigger RPCs
|
|
219
224
|
--------------------------------------
|
|
@@ -223,6 +228,12 @@ class ServiceServicer(object):
|
|
|
223
228
|
context.set_details('Method not implemented!')
|
|
224
229
|
raise NotImplementedError('Method not implemented!')
|
|
225
230
|
|
|
231
|
+
def AddObligationTrigger(self, request, context):
|
|
232
|
+
"""Missing associated documentation comment in .proto file."""
|
|
233
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
234
|
+
context.set_details('Method not implemented!')
|
|
235
|
+
raise NotImplementedError('Method not implemented!')
|
|
236
|
+
|
|
226
237
|
def RemoveObligationTrigger(self, request, context):
|
|
227
238
|
"""Missing associated documentation comment in .proto file."""
|
|
228
239
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
@@ -293,6 +304,11 @@ def add_ServiceServicer_to_server(servicer, server):
|
|
|
293
304
|
request_deserializer=policy_dot_obligations_dot_obligations__pb2.DeleteObligationValueRequest.FromString,
|
|
294
305
|
response_serializer=policy_dot_obligations_dot_obligations__pb2.DeleteObligationValueResponse.SerializeToString,
|
|
295
306
|
),
|
|
307
|
+
'GetObligationTrigger': grpc.unary_unary_rpc_method_handler(
|
|
308
|
+
servicer.GetObligationTrigger,
|
|
309
|
+
request_deserializer=policy_dot_obligations_dot_obligations__pb2.GetObligationTriggerRequest.FromString,
|
|
310
|
+
response_serializer=policy_dot_obligations_dot_obligations__pb2.GetObligationTriggerResponse.SerializeToString,
|
|
311
|
+
),
|
|
296
312
|
'AddObligationTrigger': grpc.unary_unary_rpc_method_handler(
|
|
297
313
|
servicer.AddObligationTrigger,
|
|
298
314
|
request_deserializer=policy_dot_obligations_dot_obligations__pb2.AddObligationTriggerRequest.FromString,
|
|
@@ -641,6 +657,33 @@ class Service(object):
|
|
|
641
657
|
metadata,
|
|
642
658
|
_registered_method=True)
|
|
643
659
|
|
|
660
|
+
@staticmethod
|
|
661
|
+
def GetObligationTrigger(request,
|
|
662
|
+
target,
|
|
663
|
+
options=(),
|
|
664
|
+
channel_credentials=None,
|
|
665
|
+
call_credentials=None,
|
|
666
|
+
insecure=False,
|
|
667
|
+
compression=None,
|
|
668
|
+
wait_for_ready=None,
|
|
669
|
+
timeout=None,
|
|
670
|
+
metadata=None):
|
|
671
|
+
return grpc.experimental.unary_unary(
|
|
672
|
+
request,
|
|
673
|
+
target,
|
|
674
|
+
'/policy.obligations.Service/GetObligationTrigger',
|
|
675
|
+
policy_dot_obligations_dot_obligations__pb2.GetObligationTriggerRequest.SerializeToString,
|
|
676
|
+
policy_dot_obligations_dot_obligations__pb2.GetObligationTriggerResponse.FromString,
|
|
677
|
+
options,
|
|
678
|
+
channel_credentials,
|
|
679
|
+
insecure,
|
|
680
|
+
call_credentials,
|
|
681
|
+
compression,
|
|
682
|
+
wait_for_ready,
|
|
683
|
+
timeout,
|
|
684
|
+
metadata,
|
|
685
|
+
_registered_method=True)
|
|
686
|
+
|
|
644
687
|
@staticmethod
|
|
645
688
|
def AddObligationTrigger(request,
|
|
646
689
|
target,
|
|
@@ -28,7 +28,7 @@ from policy import objects_pb2 as policy_dot_objects__pb2
|
|
|
28
28
|
from policy import selectors_pb2 as policy_dot_selectors__pb2
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cpolicy/actions/actions.proto\x12\x0epolicy.actions\x1a\x1b\x62uf/validate/validate.proto\x1a\x13\x63ommon/common.proto\x1a\x14policy/objects.proto\x1a\x16policy/selectors.proto\"\
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cpolicy/actions/actions.proto\x12\x0epolicy.actions\x1a\x1b\x62uf/validate/validate.proto\x1a\x13\x63ommon/common.proto\x1a\x14policy/objects.proto\x1a\x16policy/selectors.proto\"\xf5\x03\n\x10GetActionRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01H\x00R\x02id\x12\xa5\x02\n\x04name\x18\x02 \x01(\tB\x8e\x02\xbaH\x8a\x02r\x03\x18\xfd\x01\xba\x01\x81\x02\n\x12\x61\x63tion_name_format\x12\xad\x01\x41\x63tion name must be an alphanumeric string, allowing hyphens and underscores but not as the first or last character. The stored action name will be normalized to lower case.\x1a;this.matches(\'^[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?$\')H\x00R\x04name\x12.\n\x0cnamespace_id\x18\x03 \x01(\tB\x0b\xbaH\x08r\x03\xb0\x01\x01\xd8\x01\x01R\x0bnamespaceId\x12\x32\n\rnamespace_fqn\x18\x04 \x01(\tB\r\xbaH\nr\x05\x10\x01\x88\x01\x01\xd8\x01\x01R\x0cnamespaceFqn:$\xbaH!\"\x1f\n\x0cnamespace_id\n\rnamespace_fqn\x10\x00\x42\x13\n\nidentifier\x12\x05\xbaH\x02\x08\x01\"~\n\x11GetActionResponse\x12&\n\x06\x61\x63tion\x18\x01 \x01(\x0b\x32\x0e.policy.ActionR\x06\x61\x63tion\x12\x41\n\x10subject_mappings\x18\x02 \x03(\x0b\x32\x16.policy.SubjectMappingR\x0fsubjectMappings\"\xcd\x01\n\x12ListActionsRequest\x12+\n\x0cnamespace_id\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x0bnamespaceId\x12/\n\rnamespace_fqn\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x01\x88\x01\x01R\x0cnamespaceFqn\x12\x33\n\npagination\x18\n \x01(\x0b\x32\x13.policy.PageRequestR\npagination:$\xbaH!\"\x1f\n\x0cnamespace_id\n\rnamespace_fqn\x10\x00\"\xbd\x01\n\x13ListActionsResponse\x12\x39\n\x10\x61\x63tions_standard\x18\x01 \x03(\x0b\x32\x0e.policy.ActionR\x0f\x61\x63tionsStandard\x12\x35\n\x0e\x61\x63tions_custom\x18\x02 \x03(\x0b\x32\x0e.policy.ActionR\ractionsCustom\x12\x34\n\npagination\x18\n \x01(\x0b\x32\x14.policy.PageResponseR\npagination\"\xf7\x03\n\x13\x43reateActionRequest\x12\xa6\x02\n\x04name\x18\x01 \x01(\tB\x91\x02\xbaH\x8d\x02r\x03\x18\xfd\x01\xba\x01\x81\x02\n\x12\x61\x63tion_name_format\x12\xad\x01\x41\x63tion name must be an alphanumeric string, allowing hyphens and underscores but not as the first or last character. The stored action name will be normalized to lower case.\x1a;this.matches(\'^[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?$\')\xc8\x01\x01R\x04name\x12+\n\x0cnamespace_id\x18\x02 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x0bnamespaceId\x12/\n\rnamespace_fqn\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x01\x88\x01\x01R\x0cnamespaceFqn\x12\x33\n\x08metadata\x18\x64 \x01(\x0b\x32\x17.common.MetadataMutableR\x08metadata:$\xbaH!\"\x1f\n\x0cnamespace_id\n\rnamespace_fqn\x10\x00\">\n\x14\x43reateActionResponse\x12&\n\x06\x61\x63tion\x18\x01 \x01(\x0b\x32\x0e.policy.ActionR\x06\x61\x63tion\"\xf3\x03\n\x13UpdateActionRequest\x12\x18\n\x02id\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x02id\x12\xb6\x02\n\x04name\x18\x02 \x01(\tB\xa1\x02\xbaH\x9d\x02r\x03\x18\xfd\x01\xba\x01\x94\x02\n\x12\x61\x63tion_name_format\x12\xad\x01\x41\x63tion name must be an alphanumeric string, allowing hyphens and underscores but not as the first or last character. The stored action name will be normalized to lower case.\x1aNsize(this) == 0 || this.matches(\'^[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?$\')R\x04name\x12\x33\n\x08metadata\x18\x64 \x01(\x0b\x32\x17.common.MetadataMutableR\x08metadata\x12T\n\x18metadata_update_behavior\x18\x65 \x01(\x0e\x32\x1a.common.MetadataUpdateEnumR\x16metadataUpdateBehavior\">\n\x14UpdateActionResponse\x12&\n\x06\x61\x63tion\x18\x01 \x01(\x0b\x32\x0e.policy.ActionR\x06\x61\x63tion\"/\n\x13\x44\x65leteActionRequest\x12\x18\n\x02id\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x02id\">\n\x14\x44\x65leteActionResponse\x12&\n\x06\x61\x63tion\x18\x01 \x01(\x0b\x32\x0e.policy.ActionR\x06\x61\x63tion2\xd4\x03\n\rActionService\x12R\n\tGetAction\x12 .policy.actions.GetActionRequest\x1a!.policy.actions.GetActionResponse\"\x00\x12X\n\x0bListActions\x12\".policy.actions.ListActionsRequest\x1a#.policy.actions.ListActionsResponse\"\x00\x12[\n\x0c\x43reateAction\x12#.policy.actions.CreateActionRequest\x1a$.policy.actions.CreateActionResponse\"\x00\x12[\n\x0cUpdateAction\x12#.policy.actions.UpdateActionRequest\x1a$.policy.actions.UpdateActionResponse\"\x00\x12[\n\x0c\x44\x65leteAction\x12#.policy.actions.DeleteActionRequest\x1a$.policy.actions.DeleteActionResponse\"\x00\x42{\n\x12\x63om.policy.actionsB\x0c\x41\x63tionsProtoP\x01\xa2\x02\x03PAX\xaa\x02\x0ePolicy.Actions\xca\x02\x0ePolicy\\Actions\xe2\x02\x1aPolicy\\Actions\\GPBMetadata\xea\x02\x0fPolicy::Actionsb\x06proto3')
|
|
32
32
|
|
|
33
33
|
_globals = globals()
|
|
34
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -42,8 +42,26 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
42
42
|
_globals['_GETACTIONREQUEST'].fields_by_name['id']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
43
43
|
_globals['_GETACTIONREQUEST'].fields_by_name['name']._loaded_options = None
|
|
44
44
|
_globals['_GETACTIONREQUEST'].fields_by_name['name']._serialized_options = b'\272H\212\002r\003\030\375\001\272\001\201\002\n\022action_name_format\022\255\001Action name must be an alphanumeric string, allowing hyphens and underscores but not as the first or last character. The stored action name will be normalized to lower case.\032;this.matches(\'^[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?$\')'
|
|
45
|
+
_globals['_GETACTIONREQUEST'].fields_by_name['namespace_id']._loaded_options = None
|
|
46
|
+
_globals['_GETACTIONREQUEST'].fields_by_name['namespace_id']._serialized_options = b'\272H\010r\003\260\001\001\330\001\001'
|
|
47
|
+
_globals['_GETACTIONREQUEST'].fields_by_name['namespace_fqn']._loaded_options = None
|
|
48
|
+
_globals['_GETACTIONREQUEST'].fields_by_name['namespace_fqn']._serialized_options = b'\272H\nr\005\020\001\210\001\001\330\001\001'
|
|
49
|
+
_globals['_GETACTIONREQUEST']._loaded_options = None
|
|
50
|
+
_globals['_GETACTIONREQUEST']._serialized_options = b'\272H!\"\037\n\014namespace_id\n\rnamespace_fqn\020\000'
|
|
51
|
+
_globals['_LISTACTIONSREQUEST'].fields_by_name['namespace_id']._loaded_options = None
|
|
52
|
+
_globals['_LISTACTIONSREQUEST'].fields_by_name['namespace_id']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
53
|
+
_globals['_LISTACTIONSREQUEST'].fields_by_name['namespace_fqn']._loaded_options = None
|
|
54
|
+
_globals['_LISTACTIONSREQUEST'].fields_by_name['namespace_fqn']._serialized_options = b'\272H\007r\005\020\001\210\001\001'
|
|
55
|
+
_globals['_LISTACTIONSREQUEST']._loaded_options = None
|
|
56
|
+
_globals['_LISTACTIONSREQUEST']._serialized_options = b'\272H!\"\037\n\014namespace_id\n\rnamespace_fqn\020\000'
|
|
45
57
|
_globals['_CREATEACTIONREQUEST'].fields_by_name['name']._loaded_options = None
|
|
46
58
|
_globals['_CREATEACTIONREQUEST'].fields_by_name['name']._serialized_options = b'\272H\215\002r\003\030\375\001\272\001\201\002\n\022action_name_format\022\255\001Action name must be an alphanumeric string, allowing hyphens and underscores but not as the first or last character. The stored action name will be normalized to lower case.\032;this.matches(\'^[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?$\')\310\001\001'
|
|
59
|
+
_globals['_CREATEACTIONREQUEST'].fields_by_name['namespace_id']._loaded_options = None
|
|
60
|
+
_globals['_CREATEACTIONREQUEST'].fields_by_name['namespace_id']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
61
|
+
_globals['_CREATEACTIONREQUEST'].fields_by_name['namespace_fqn']._loaded_options = None
|
|
62
|
+
_globals['_CREATEACTIONREQUEST'].fields_by_name['namespace_fqn']._serialized_options = b'\272H\007r\005\020\001\210\001\001'
|
|
63
|
+
_globals['_CREATEACTIONREQUEST']._loaded_options = None
|
|
64
|
+
_globals['_CREATEACTIONREQUEST']._serialized_options = b'\272H!\"\037\n\014namespace_id\n\rnamespace_fqn\020\000'
|
|
47
65
|
_globals['_UPDATEACTIONREQUEST'].fields_by_name['id']._loaded_options = None
|
|
48
66
|
_globals['_UPDATEACTIONREQUEST'].fields_by_name['id']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
49
67
|
_globals['_UPDATEACTIONREQUEST'].fields_by_name['name']._loaded_options = None
|
|
@@ -51,25 +69,25 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
51
69
|
_globals['_DELETEACTIONREQUEST'].fields_by_name['id']._loaded_options = None
|
|
52
70
|
_globals['_DELETEACTIONREQUEST'].fields_by_name['id']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
53
71
|
_globals['_GETACTIONREQUEST']._serialized_start=145
|
|
54
|
-
_globals['_GETACTIONREQUEST']._serialized_end=
|
|
55
|
-
_globals['_GETACTIONRESPONSE']._serialized_start=
|
|
56
|
-
_globals['_GETACTIONRESPONSE']._serialized_end=
|
|
57
|
-
_globals['_LISTACTIONSREQUEST']._serialized_start=
|
|
58
|
-
_globals['_LISTACTIONSREQUEST']._serialized_end=
|
|
59
|
-
_globals['_LISTACTIONSRESPONSE']._serialized_start=
|
|
60
|
-
_globals['_LISTACTIONSRESPONSE']._serialized_end=
|
|
61
|
-
_globals['_CREATEACTIONREQUEST']._serialized_start=
|
|
62
|
-
_globals['_CREATEACTIONREQUEST']._serialized_end=
|
|
63
|
-
_globals['_CREATEACTIONRESPONSE']._serialized_start=
|
|
64
|
-
_globals['_CREATEACTIONRESPONSE']._serialized_end=
|
|
65
|
-
_globals['_UPDATEACTIONREQUEST']._serialized_start=
|
|
66
|
-
_globals['_UPDATEACTIONREQUEST']._serialized_end=
|
|
67
|
-
_globals['_UPDATEACTIONRESPONSE']._serialized_start=
|
|
68
|
-
_globals['_UPDATEACTIONRESPONSE']._serialized_end=
|
|
69
|
-
_globals['_DELETEACTIONREQUEST']._serialized_start=
|
|
70
|
-
_globals['_DELETEACTIONREQUEST']._serialized_end=
|
|
71
|
-
_globals['_DELETEACTIONRESPONSE']._serialized_start=
|
|
72
|
-
_globals['_DELETEACTIONRESPONSE']._serialized_end=
|
|
73
|
-
_globals['_ACTIONSERVICE']._serialized_start=
|
|
74
|
-
_globals['_ACTIONSERVICE']._serialized_end=
|
|
72
|
+
_globals['_GETACTIONREQUEST']._serialized_end=646
|
|
73
|
+
_globals['_GETACTIONRESPONSE']._serialized_start=648
|
|
74
|
+
_globals['_GETACTIONRESPONSE']._serialized_end=774
|
|
75
|
+
_globals['_LISTACTIONSREQUEST']._serialized_start=777
|
|
76
|
+
_globals['_LISTACTIONSREQUEST']._serialized_end=982
|
|
77
|
+
_globals['_LISTACTIONSRESPONSE']._serialized_start=985
|
|
78
|
+
_globals['_LISTACTIONSRESPONSE']._serialized_end=1174
|
|
79
|
+
_globals['_CREATEACTIONREQUEST']._serialized_start=1177
|
|
80
|
+
_globals['_CREATEACTIONREQUEST']._serialized_end=1680
|
|
81
|
+
_globals['_CREATEACTIONRESPONSE']._serialized_start=1682
|
|
82
|
+
_globals['_CREATEACTIONRESPONSE']._serialized_end=1744
|
|
83
|
+
_globals['_UPDATEACTIONREQUEST']._serialized_start=1747
|
|
84
|
+
_globals['_UPDATEACTIONREQUEST']._serialized_end=2246
|
|
85
|
+
_globals['_UPDATEACTIONRESPONSE']._serialized_start=2248
|
|
86
|
+
_globals['_UPDATEACTIONRESPONSE']._serialized_end=2310
|
|
87
|
+
_globals['_DELETEACTIONREQUEST']._serialized_start=2312
|
|
88
|
+
_globals['_DELETEACTIONREQUEST']._serialized_end=2359
|
|
89
|
+
_globals['_DELETEACTIONRESPONSE']._serialized_start=2361
|
|
90
|
+
_globals['_DELETEACTIONRESPONSE']._serialized_end=2423
|
|
91
|
+
_globals['_ACTIONSERVICE']._serialized_start=2426
|
|
92
|
+
_globals['_ACTIONSERVICE']._serialized_end=2894
|
|
75
93
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -11,12 +11,16 @@ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
|
11
11
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
12
12
|
|
|
13
13
|
class GetActionRequest(_message.Message):
|
|
14
|
-
__slots__ = ("id", "name")
|
|
14
|
+
__slots__ = ("id", "name", "namespace_id", "namespace_fqn")
|
|
15
15
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
16
16
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
NAMESPACE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
NAMESPACE_FQN_FIELD_NUMBER: _ClassVar[int]
|
|
17
19
|
id: str
|
|
18
20
|
name: str
|
|
19
|
-
|
|
21
|
+
namespace_id: str
|
|
22
|
+
namespace_fqn: str
|
|
23
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., namespace_id: _Optional[str] = ..., namespace_fqn: _Optional[str] = ...) -> None: ...
|
|
20
24
|
|
|
21
25
|
class GetActionResponse(_message.Message):
|
|
22
26
|
__slots__ = ("action", "subject_mappings")
|
|
@@ -27,10 +31,14 @@ class GetActionResponse(_message.Message):
|
|
|
27
31
|
def __init__(self, action: _Optional[_Union[_objects_pb2.Action, _Mapping]] = ..., subject_mappings: _Optional[_Iterable[_Union[_objects_pb2.SubjectMapping, _Mapping]]] = ...) -> None: ...
|
|
28
32
|
|
|
29
33
|
class ListActionsRequest(_message.Message):
|
|
30
|
-
__slots__ = ("pagination"
|
|
34
|
+
__slots__ = ("namespace_id", "namespace_fqn", "pagination")
|
|
35
|
+
NAMESPACE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
36
|
+
NAMESPACE_FQN_FIELD_NUMBER: _ClassVar[int]
|
|
31
37
|
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
+
namespace_id: str
|
|
39
|
+
namespace_fqn: str
|
|
32
40
|
pagination: _selectors_pb2.PageRequest
|
|
33
|
-
def __init__(self, pagination: _Optional[_Union[_selectors_pb2.PageRequest, _Mapping]] = ...) -> None: ...
|
|
41
|
+
def __init__(self, namespace_id: _Optional[str] = ..., namespace_fqn: _Optional[str] = ..., pagination: _Optional[_Union[_selectors_pb2.PageRequest, _Mapping]] = ...) -> None: ...
|
|
34
42
|
|
|
35
43
|
class ListActionsResponse(_message.Message):
|
|
36
44
|
__slots__ = ("actions_standard", "actions_custom", "pagination")
|
|
@@ -43,12 +51,16 @@ class ListActionsResponse(_message.Message):
|
|
|
43
51
|
def __init__(self, actions_standard: _Optional[_Iterable[_Union[_objects_pb2.Action, _Mapping]]] = ..., actions_custom: _Optional[_Iterable[_Union[_objects_pb2.Action, _Mapping]]] = ..., pagination: _Optional[_Union[_selectors_pb2.PageResponse, _Mapping]] = ...) -> None: ...
|
|
44
52
|
|
|
45
53
|
class CreateActionRequest(_message.Message):
|
|
46
|
-
__slots__ = ("name", "metadata")
|
|
54
|
+
__slots__ = ("name", "namespace_id", "namespace_fqn", "metadata")
|
|
47
55
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
+
NAMESPACE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
+
NAMESPACE_FQN_FIELD_NUMBER: _ClassVar[int]
|
|
48
58
|
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
49
59
|
name: str
|
|
60
|
+
namespace_id: str
|
|
61
|
+
namespace_fqn: str
|
|
50
62
|
metadata: _common_pb2.MetadataMutable
|
|
51
|
-
def __init__(self, name: _Optional[str] = ..., metadata: _Optional[_Union[_common_pb2.MetadataMutable, _Mapping]] = ...) -> None: ...
|
|
63
|
+
def __init__(self, name: _Optional[str] = ..., namespace_id: _Optional[str] = ..., namespace_fqn: _Optional[str] = ..., metadata: _Optional[_Union[_common_pb2.MetadataMutable, _Mapping]] = ...) -> None: ...
|
|
52
64
|
|
|
53
65
|
class CreateActionResponse(_message.Message):
|
|
54
66
|
__slots__ = ("action",)
|