otdf-python 0.12.0__py3-none-any.whl → 0.13.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.12.0.dist-info → otdf_python-0.13.0.dist-info}/METADATA +1 -1
- {otdf_python-0.12.0.dist-info → otdf_python-0.13.0.dist-info}/RECORD +37 -31
- otdf_python_proto/authorization/v2/authorization_pb2.py +40 -40
- otdf_python_proto/authorization/v2/authorization_pb2.pyi +4 -2
- otdf_python_proto/legacy_grpc/policy/attributes/attributes_pb2_grpc.py +94 -1
- otdf_python_proto/legacy_grpc/policy/dynamicvaluemapping/__init__.py +0 -0
- otdf_python_proto/legacy_grpc/policy/dynamicvaluemapping/dynamic_value_mapping_pb2_grpc.py +249 -0
- otdf_python_proto/legacy_grpc/policy/unsafe/unsafe_pb2_grpc.py +44 -1
- otdf_python_proto/policy/attributes/attributes_connect.py +138 -0
- otdf_python_proto/policy/attributes/attributes_pb2.py +149 -98
- otdf_python_proto/policy/attributes/attributes_pb2.pyi +108 -4
- otdf_python_proto/policy/dynamicvaluemapping/__init__.py +11 -0
- otdf_python_proto/policy/dynamicvaluemapping/dynamic_value_mapping_connect.py +391 -0
- otdf_python_proto/policy/dynamicvaluemapping/dynamic_value_mapping_pb2.py +110 -0
- otdf_python_proto/policy/dynamicvaluemapping/dynamic_value_mapping_pb2.pyi +126 -0
- otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.py +113 -113
- otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.pyi +10 -4
- otdf_python_proto/policy/keymanagement/key_management_pb2.py +26 -20
- otdf_python_proto/policy/keymanagement/key_management_pb2.pyi +11 -2
- otdf_python_proto/policy/namespaces/namespaces_pb2.py +36 -36
- otdf_python_proto/policy/namespaces/namespaces_pb2.pyi +4 -2
- otdf_python_proto/policy/objects_pb2.py +75 -67
- otdf_python_proto/policy/objects_pb2.pyi +38 -2
- otdf_python_proto/policy/obligations/obligations_pb2.py +46 -46
- otdf_python_proto/policy/obligations/obligations_pb2.pyi +4 -2
- otdf_python_proto/policy/registeredresources/registered_resources_pb2.py +44 -44
- otdf_python_proto/policy/registeredresources/registered_resources_pb2.pyi +4 -2
- otdf_python_proto/policy/resourcemapping/resource_mapping_pb2.py +86 -56
- otdf_python_proto/policy/resourcemapping/resource_mapping_pb2.pyi +30 -12
- otdf_python_proto/policy/selectors_pb2.py +30 -25
- otdf_python_proto/policy/selectors_pb2.pyi +7 -0
- otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.py +50 -50
- otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.pyi +8 -4
- otdf_python_proto/policy/unsafe/unsafe_connect.py +65 -0
- otdf_python_proto/policy/unsafe/unsafe_pb2.py +13 -3
- otdf_python_proto/policy/unsafe/unsafe_pb2.pyi +16 -0
- {otdf_python-0.12.0.dist-info → otdf_python-0.13.0.dist-info}/WHEEL +0 -0
|
@@ -54,8 +54,8 @@ otdf_python_proto/authorization/authorization_pb2.py,sha256=5AmimPWIr1un-hBvZiH8
|
|
|
54
54
|
otdf_python_proto/authorization/authorization_pb2.pyi,sha256=OT7-6IuBHYo65rRWO7b9jhwUoYwYDTqYfJCT-zkfIlo,8868
|
|
55
55
|
otdf_python_proto/authorization/v2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
56
56
|
otdf_python_proto/authorization/v2/authorization_connect.py,sha256=fQMJK4zSYeK0MBp2uYOXY9p5p80sHHoDiuVDI76Y9Nk,16537
|
|
57
|
-
otdf_python_proto/authorization/v2/authorization_pb2.py,sha256=
|
|
58
|
-
otdf_python_proto/authorization/v2/authorization_pb2.pyi,sha256
|
|
57
|
+
otdf_python_proto/authorization/v2/authorization_pb2.py,sha256=BtQzMlFz3oVUIUQuqhcF39ZQL4jIKhU1PaSkxljenI4,15509
|
|
58
|
+
otdf_python_proto/authorization/v2/authorization_pb2.pyi,sha256=Tm00JmUsOUCKKCb4odNO09a0NxyoEbIWdxeZfLArQM8,8563
|
|
59
59
|
otdf_python_proto/common/__init__.py,sha256=cJlVANj7I0xoLUerst-2su60AFtywyrFHPOIKIzS65Q,35
|
|
60
60
|
otdf_python_proto/common/common_pb2.py,sha256=s8OkQ7bbEr6oSb-apDi30n9xxsPLkdF9xOHVUWLEFI0,5981
|
|
61
61
|
otdf_python_proto/common/common_pb2.pyi,sha256=m6yv5IKl6PXhv0mUGeTgXdmm-wEOwRKpiW-qaW76Y3I,3438
|
|
@@ -98,7 +98,9 @@ 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=61Ryip4ZP3gwGsjr149YoKKP8zM6Z43uNSS5E2Ne1kQ,44975
|
|
102
|
+
otdf_python_proto/legacy_grpc/policy/dynamicvaluemapping/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
103
|
+
otdf_python_proto/legacy_grpc/policy/dynamicvaluemapping/dynamic_value_mapping_pb2_grpc.py,sha256=Sf-zdM0uygvYY4h6fOgFa31CYHefh2VO9vCCfWp1OU4,12471
|
|
102
104
|
otdf_python_proto/legacy_grpc/policy/kasregistry/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
103
105
|
otdf_python_proto/legacy_grpc/policy/kasregistry/key_access_server_registry_pb2_grpc.py,sha256=VYUxb0IY7K0K1TTgwd1QsHEnsMVLbOGxLi1t_je13WY,30624
|
|
104
106
|
otdf_python_proto/legacy_grpc/policy/keymanagement/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -114,7 +116,7 @@ otdf_python_proto/legacy_grpc/policy/resourcemapping/resource_mapping_pb2_grpc.p
|
|
|
114
116
|
otdf_python_proto/legacy_grpc/policy/subjectmapping/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
115
117
|
otdf_python_proto/legacy_grpc/policy/subjectmapping/subject_mapping_pb2_grpc.py,sha256=GZgqhIieGaXqVVuMpD17JjmSsqyc3PzBXry514gvbP0,26820
|
|
116
118
|
otdf_python_proto/legacy_grpc/policy/unsafe/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
117
|
-
otdf_python_proto/legacy_grpc/policy/unsafe/unsafe_pb2_grpc.py,sha256=
|
|
119
|
+
otdf_python_proto/legacy_grpc/policy/unsafe/unsafe_pb2_grpc.py,sha256=d8moHYhJKB6ObUUrED3oSbMFEHkLaQkEiy0YRXNkMng,23190
|
|
118
120
|
otdf_python_proto/legacy_grpc/wellknownconfiguration/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
119
121
|
otdf_python_proto/legacy_grpc/wellknownconfiguration/wellknown_configuration_pb2_grpc.py,sha256=dCFsCFxcDzT9RZ2M09pX-zu4qZazu_1UGSNJjS7JhzU,3348
|
|
120
122
|
otdf_python_proto/logger/__init__.py,sha256=gMDNk1OB1THsKqwevYeQERG-DCJ-PspkYdo9jnqLyas,35
|
|
@@ -122,54 +124,58 @@ otdf_python_proto/logger/audit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
122
124
|
otdf_python_proto/logger/audit/test_pb2.py,sha256=FbhQNp-ENPvhFlYtGqPaq9aaFLxXn_NaxOO0PJzvFzI,3028
|
|
123
125
|
otdf_python_proto/logger/audit/test_pb2.pyi,sha256=uqHbuyrpKspEObm4F3edJthw2IZSdojaoBalXEQgA1U,2346
|
|
124
126
|
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=
|
|
127
|
+
otdf_python_proto/policy/objects_pb2.py,sha256=JfmaR13RLbayRpxEcFbedPa75WhYlWm_OiJPBmaBjfM,27961
|
|
128
|
+
otdf_python_proto/policy/objects_pb2.pyi,sha256=hcYRaMBtvThiSpDnAMQCNlfOx97tvhJ_K7TrGuCcZCY,32028
|
|
129
|
+
otdf_python_proto/policy/selectors_pb2.py,sha256=z8neZsgrPBTSbx9fbaWjNQ7ppo6IXeSmzvThAzyA7AQ,6024
|
|
130
|
+
otdf_python_proto/policy/selectors_pb2.pyi,sha256=nZ3bI_XS6PEwUn-RrzvWe2WdQsIWBeylsAkK-pSV2sI,5828
|
|
129
131
|
otdf_python_proto/policy/actions/__init__.py,sha256=GPRrOk6_i6Jgj9PrWX8tCdqYoVKdJJp7ucu1XtY3iFU,208
|
|
130
132
|
otdf_python_proto/policy/actions/actions_connect.py,sha256=ICw24aQ_bzLIjlZqodSzkukhyYsPHAlE1No1aFSt2AU,18314
|
|
131
133
|
otdf_python_proto/policy/actions/actions_pb2.py,sha256=Yip1vFSy-jeoHroTxivoR3_NGWjZ61632x1PcKhyNDU,11392
|
|
132
134
|
otdf_python_proto/policy/actions/actions_pb2.pyi,sha256=3ffqIZQmW3TRhVOErJ-KbrlfDrMF00E6WvwFk55NGMc,5029
|
|
133
135
|
otdf_python_proto/policy/attributes/__init__.py,sha256=3lHYfbXDGAuuhfSwb1YJfVJJWPvTtcoshyhLOi_hIr0,226
|
|
134
|
-
otdf_python_proto/policy/attributes/attributes_connect.py,sha256=
|
|
135
|
-
otdf_python_proto/policy/attributes/attributes_pb2.py,sha256=
|
|
136
|
-
otdf_python_proto/policy/attributes/attributes_pb2.pyi,sha256=
|
|
136
|
+
otdf_python_proto/policy/attributes/attributes_connect.py,sha256=lf6x_F3CFB1Tz-RUedhEor2AIGaO7MOuHKLX5QjEP4E,80468
|
|
137
|
+
otdf_python_proto/policy/attributes/attributes_pb2.py,sha256=7IqfjSMwTQzJ4wzh6yWDaNnCJsu1JJPMuBg9kN4lsBw,45750
|
|
138
|
+
otdf_python_proto/policy/attributes/attributes_pb2.pyi,sha256=saj_O-OdB_Q3TcXOa0Uj5yfhMIAPvO7SfU8u7637EV8,25938
|
|
139
|
+
otdf_python_proto/policy/dynamicvaluemapping/__init__.py,sha256=9ADhRgWx5TZGlyzkan4Ld74EyqdsttwEbD-VC_OnIcg,282
|
|
140
|
+
otdf_python_proto/policy/dynamicvaluemapping/dynamic_value_mapping_connect.py,sha256=5AngeUwn-DGCizzFXTxLkvMmQEukGTDTolmEFV-lw_s,23748
|
|
141
|
+
otdf_python_proto/policy/dynamicvaluemapping/dynamic_value_mapping_pb2.py,sha256=vjRDlkYY0Nw_jNtkJyS9jZstuwK5wxhSMx-Nf9hcNw4,16147
|
|
142
|
+
otdf_python_proto/policy/dynamicvaluemapping/dynamic_value_mapping_pb2.pyi,sha256=K65CRZjuxc4vcnZskcmuRu2OcslJj5YPgDEw8EPsVD0,7910
|
|
137
143
|
otdf_python_proto/policy/kasregistry/__init__.py,sha256=zj_8G65KIhOSiOeMkyMEZFomWYkfD9E5aWASgwV4n3M,295
|
|
138
144
|
otdf_python_proto/policy/kasregistry/key_access_server_registry_connect.py,sha256=6wJE1WSPbb6oZhevrdEocFr32whwCxbof6dNS3O0l2A,56809
|
|
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=
|
|
145
|
+
otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.py,sha256=zZ35oMOdUIuXk4ncpa5P8EKR4UXUfEZShTFqtUJbQbs,51133
|
|
146
|
+
otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.pyi,sha256=GNT36-ARgpa-WGF_bI7RWEVLoHdKHvjLlbQof1kjzzw,29390
|
|
141
147
|
otdf_python_proto/policy/keymanagement/__init__.py,sha256=baBSBdjBbaErAIjjn0GxUPfYYRq7R4MfsrvpK02uews,245
|
|
142
148
|
otdf_python_proto/policy/keymanagement/key_management_connect.py,sha256=IPJqI9uuteOyepXRLNl3EVHk95QoBm1H9OPUcqqDV_c,21110
|
|
143
|
-
otdf_python_proto/policy/keymanagement/key_management_pb2.py,sha256=
|
|
144
|
-
otdf_python_proto/policy/keymanagement/key_management_pb2.pyi,sha256=
|
|
149
|
+
otdf_python_proto/policy/keymanagement/key_management_pb2.py,sha256=mTofT8kJfaUgP7bPlCdby2KruzxrHxP1K-c4CTgaM-s,9887
|
|
150
|
+
otdf_python_proto/policy/keymanagement/key_management_pb2.pyi,sha256=DumzRMBUeGYtRW437Oa-1p4_GbN-BIyEFrNGEQzVrKg,5191
|
|
145
151
|
otdf_python_proto/policy/namespaces/__init__.py,sha256=JIdic8yq55x9BrQzaJtgEp3J7AcnOZ1c0eiTXd2iDpw,222
|
|
146
152
|
otdf_python_proto/policy/namespaces/namespaces_connect.py,sha256=GMeMDNnwaMxya-Z4_knW2lmfKIy3VLIhsmmQIbXgOMg,35390
|
|
147
|
-
otdf_python_proto/policy/namespaces/namespaces_pb2.py,sha256=
|
|
148
|
-
otdf_python_proto/policy/namespaces/namespaces_pb2.pyi,sha256=
|
|
153
|
+
otdf_python_proto/policy/namespaces/namespaces_pb2.py,sha256=4fH1AxcBrX_h53tafzPM9Ly2FAAV3pWyrVyITwz-y7A,17116
|
|
154
|
+
otdf_python_proto/policy/namespaces/namespaces_pb2.pyi,sha256=DN9A76LWNC34ygXJr_vdIFpQCE2NUQaiWWE_dDOxeyw,8627
|
|
149
155
|
otdf_python_proto/policy/obligations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
150
156
|
otdf_python_proto/policy/obligations/obligations_connect.py,sha256=JLr2II45VlNmYc5ROpurCGPgZayXdRC6SAnnIdAZAOM,56518
|
|
151
|
-
otdf_python_proto/policy/obligations/obligations_pb2.py,sha256=
|
|
152
|
-
otdf_python_proto/policy/obligations/obligations_pb2.pyi,sha256=
|
|
157
|
+
otdf_python_proto/policy/obligations/obligations_pb2.py,sha256=gvdX62aNY9zVTyOuzKkVnJt5u--Bo2nJ712hw3nyovs,30474
|
|
158
|
+
otdf_python_proto/policy/obligations/obligations_pb2.pyi,sha256=_EA_k4dMLp-yfzgvOMT8OrTij1OpEyS5nzKAWBZ9G9A,15305
|
|
153
159
|
otdf_python_proto/policy/registeredresources/__init__.py,sha256=U6A5CRMFUhwjxOdxaRpgfIBx9bJZ7KcnBNKPQouSaeI,281
|
|
154
160
|
otdf_python_proto/policy/registeredresources/registered_resources_connect.py,sha256=1oPpM55PvZo1ztHjpHi4-7XblQUECkXTN8V_KFjDQZc,48796
|
|
155
|
-
otdf_python_proto/policy/registeredresources/registered_resources_pb2.py,sha256=
|
|
156
|
-
otdf_python_proto/policy/registeredresources/registered_resources_pb2.pyi,sha256=
|
|
161
|
+
otdf_python_proto/policy/registeredresources/registered_resources_pb2.py,sha256=_53R2ave5pmlB7vkRCEL1tXLc0_qVWEgA-6DRgKzORI,27466
|
|
162
|
+
otdf_python_proto/policy/registeredresources/registered_resources_pb2.pyi,sha256=yaH0Gji6uS5D5DM57xFsSdhUw_cGVhon6y9xBMeLu9c,12443
|
|
157
163
|
otdf_python_proto/policy/resourcemapping/__init__.py,sha256=9_It9dJRLAOIf1y9n3LxEQa7-WI51B_E3OfhKBNuFw4,257
|
|
158
164
|
otdf_python_proto/policy/resourcemapping/resource_mapping_connect.py,sha256=fRjz4H_Z1syA08UMOGp1aDqHrlQrZZm7uhcNdJkycjY,46632
|
|
159
|
-
otdf_python_proto/policy/resourcemapping/resource_mapping_pb2.py,sha256=
|
|
160
|
-
otdf_python_proto/policy/resourcemapping/resource_mapping_pb2.pyi,sha256=
|
|
165
|
+
otdf_python_proto/policy/resourcemapping/resource_mapping_pb2.py,sha256=EFxcEEDGwZOg9O9QONjst4GVBj9p2fh8jfmFXoQXNNg,25434
|
|
166
|
+
otdf_python_proto/policy/resourcemapping/resource_mapping_pb2.pyi,sha256=DOXKlNU0TE8sOxjI9kJt55uwEL2-jeJvpd9tH94zRWo,11484
|
|
161
167
|
otdf_python_proto/policy/subjectmapping/__init__.py,sha256=Cyaic3XmuOOqIWOVO31JJvafc-YQMoLCcohzoeZU6Yc,251
|
|
162
168
|
otdf_python_proto/policy/subjectmapping/subject_mapping_connect.py,sha256=gGCNUtspa2SpT2t8qYl87toYp-BBMCXTkM11fitN3Qw,49663
|
|
163
|
-
otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.py,sha256=
|
|
164
|
-
otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.pyi,sha256=
|
|
169
|
+
otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.py,sha256=v7esKAH8zV3PVgHEbmN2aQJMHlNIy5U_UOnmGGp0bEQ,24806
|
|
170
|
+
otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.pyi,sha256=Qrnf7oLqComWp4XL8vZALWX4FyTQDCrNq2AGjZlGBh4,14621
|
|
165
171
|
otdf_python_proto/policy/unsafe/__init__.py,sha256=1TYTtYZyHxNQ2HaMCONHJ1U9dZDp3ZoZv19wZ78NhBI,202
|
|
166
|
-
otdf_python_proto/policy/unsafe/unsafe_connect.py,sha256=
|
|
167
|
-
otdf_python_proto/policy/unsafe/unsafe_pb2.py,sha256=
|
|
168
|
-
otdf_python_proto/policy/unsafe/unsafe_pb2.pyi,sha256=
|
|
172
|
+
otdf_python_proto/policy/unsafe/unsafe_connect.py,sha256=6SDMaKedHvLKBE8cFkJy_ubuCHgHpJ4g8-ylFg5KNns,40704
|
|
173
|
+
otdf_python_proto/policy/unsafe/unsafe_pb2.py,sha256=z4jirW1twF0qc7qw_LECaUPVm_SqWyBE1JRWNGutVeQ,17180
|
|
174
|
+
otdf_python_proto/policy/unsafe/unsafe_pb2.pyi,sha256=tHJpolt2G57cOrfGddnMP6TTqn2OQB4BlzJleoZqNfg,7059
|
|
169
175
|
otdf_python_proto/wellknownconfiguration/__init__.py,sha256=xK8XUrwCL9elWuMTx6vVgWdWdcACugoF0b5OYsFclj4,240
|
|
170
176
|
otdf_python_proto/wellknownconfiguration/wellknown_configuration_connect.py,sha256=HShWKFfd_7p1aZzqZKJiT1lDma0IINTB4kfv_DcrBA0,6585
|
|
171
177
|
otdf_python_proto/wellknownconfiguration/wellknown_configuration_pb2.py,sha256=KXjTE12hr8GV7apJLTzv2VDBv8jw-74jZUjQnIzzP8g,3633
|
|
172
178
|
otdf_python_proto/wellknownconfiguration/wellknown_configuration_pb2.pyi,sha256=H-Pjnl-fvckhUilvIHIuuSbHTDovejk-e7HFQ8f8eOc,1431
|
|
173
|
-
otdf_python-0.
|
|
174
|
-
otdf_python-0.
|
|
175
|
-
otdf_python-0.
|
|
179
|
+
otdf_python-0.13.0.dist-info/METADATA,sha256=8PYWbujgzcdvEW9Ytsdv4kanvPxHF3Q_QJl1RGF_qwE,5884
|
|
180
|
+
otdf_python-0.13.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
181
|
+
otdf_python-0.13.0.dist-info/RECORD,,
|
|
@@ -28,7 +28,7 @@ from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb
|
|
|
28
28
|
from policy import objects_pb2 as policy_dot_objects__pb2
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$authorization/v2/authorization.proto\x12\x10\x61uthorization.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x13\x65ntity/entity.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x14policy/objects.proto\"\
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$authorization/v2/authorization.proto\x12\x10\x61uthorization.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x13\x65ntity/entity.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x14policy/objects.proto\"\xe9\x04\n\x10\x45ntityIdentifier\x12\xc3\x01\n\x0c\x65ntity_chain\x18\x01 \x01(\x0b\x32\x13.entity.EntityChainB\x88\x01\xbaH\x84\x01\xba\x01\x80\x01\n\x15\x65ntity_chain_required\x12\x37\x65ntities must be provided and contain at least 1 entity\x1a.has(this.entities) && this.entities.size() > 0H\x00R\x0b\x65ntityChain\x12O\n\x1dregistered_resource_value_fqn\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x01\x88\x01\x01H\x00R\x1aregisteredResourceValueFqn\x12{\n\x05token\x18\x03 \x01(\x0b\x32\r.entity.TokenBT\xbaHQ\xba\x01N\n\x0etoken_required\x12\x16token must be provided\x1a$has(this.jwt) && this.jwt.size() > 0H\x00R\x05token\x12\xab\x01\n\x12with_request_token\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB_\xbaH\\\xba\x01Y\n\x1fwith_request_token_must_be_true\x12(with_request_token must be true when set\x1a\x0cthis == trueH\x00R\x10withRequestTokenB\x13\n\nidentifier\x12\x05\xbaH\x02\x08\x01\"\xc3\x03\n\x12\x45ntityEntitlements\x12!\n\x0c\x65phemeral_id\x18\x01 \x01(\tR\x0b\x65phemeralId\x12\x8b\x01\n\x1f\x61\x63tions_per_attribute_value_fqn\x18\x02 \x03(\x0b\x32\x45.authorization.v2.EntityEntitlements.ActionsPerAttributeValueFqnEntryR\x1b\x61\x63tionsPerAttributeValueFqn\x12@\n\x0f\x65ntity_category\x18\x03 \x01(\x0e\x32\x17.entity.Entity.CategoryR\x0e\x65ntityCategory\x1a\x37\n\x0b\x41\x63tionsList\x12(\n\x07\x61\x63tions\x18\x01 \x03(\x0b\x32\x0e.policy.ActionR\x07\x61\x63tions\x1a\x80\x01\n ActionsPerAttributeValueFqnEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x46\n\x05value\x18\x02 \x01(\x0b\x32\x30.authorization.v2.EntityEntitlements.ActionsListR\x05value:\x02\x38\x01\"\xb6\x03\n\x08Resource\x12!\n\x0c\x65phemeral_id\x18\x01 \x01(\tR\x0b\x65phemeralId\x12\x82\x02\n\x10\x61ttribute_values\x18\x02 \x01(\x0b\x32*.authorization.v2.Resource.AttributeValuesB\xa8\x01\xbaH\xa4\x01\xba\x01\xa0\x01\n\x19\x61ttribute_values_required\x12Hif provided, resource.attribute_values must contain at least 1 valid FQN\x1a\x39this.fqns.size() > 0 && this.fqns.all(item, item.isUri())H\x00R\x0f\x61ttributeValues\x12O\n\x1dregistered_resource_value_fqn\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x01\x88\x01\x01H\x00R\x1aregisteredResourceValueFqn\x1a%\n\x0f\x41ttributeValues\x12\x12\n\x04\x66qns\x18\x01 \x03(\tR\x04\x66qnsB\n\n\x08resource\"\xb1\x01\n\x10ResourceDecision\x12\x32\n\x15\x65phemeral_resource_id\x18\x01 \x01(\tR\x13\x65phemeralResourceId\x12\x36\n\x08\x64\x65\x63ision\x18\x02 \x01(\x0e\x32\x1a.authorization.v2.DecisionR\x08\x64\x65\x63ision\x12\x31\n\x14required_obligations\x18\x03 \x03(\tR\x13requiredObligations\"\xa6\x04\n\x12GetDecisionRequest\x12W\n\x11\x65ntity_identifier\x18\x01 \x01(\x0b\x32\".authorization.v2.EntityIdentifierB\x06\xbaH\x03\xc8\x01\x01R\x10\x65ntityIdentifier\x12.\n\x06\x61\x63tion\x18\x02 \x01(\x0b\x32\x0e.policy.ActionB\x06\xbaH\x03\xc8\x01\x01R\x06\x61\x63tion\x12>\n\x08resource\x18\x03 \x01(\x0b\x32\x1a.authorization.v2.ResourceB\x06\xbaH\x03\xc8\x01\x01R\x08resource\x12\xdf\x01\n\x1b\x66ulfillable_obligation_fqns\x18\x04 \x03(\tB\x9e\x01\xbaH\x9a\x01\xba\x01\x96\x01\n\x1bobligation_value_fqns_valid\x12\x45if provided, fulfillable_obligation_fqns must contain only valid FQNs\x1a\x30this.size() == 0 || this.all(item, item.isUri())R\x19\x66ulfillableObligationFqns:e\xbaHb\x1a`\n)get_decision_request.action_name_required\x12\x1c\x61\x63tion.name must be provided\x1a\x15has(this.action.name)\"U\n\x13GetDecisionResponse\x12>\n\x08\x64\x65\x63ision\x18\x01 \x01(\x0b\x32\".authorization.v2.ResourceDecisionR\x08\x64\x65\x63ision\"\xbd\x04\n\x1fGetDecisionMultiResourceRequest\x12W\n\x11\x65ntity_identifier\x18\x01 \x01(\x0b\x32\".authorization.v2.EntityIdentifierB\x06\xbaH\x03\xc8\x01\x01R\x10\x65ntityIdentifier\x12.\n\x06\x61\x63tion\x18\x02 \x01(\x0b\x32\x0e.policy.ActionB\x06\xbaH\x03\xc8\x01\x01R\x06\x61\x63tion\x12\x42\n\tresources\x18\x03 \x03(\x0b\x32\x1a.authorization.v2.ResourceB\x08\xbaH\x05\x92\x01\x02\x08\x01R\tresources\x12\xdf\x01\n\x1b\x66ulfillable_obligation_fqns\x18\x04 \x03(\tB\x9e\x01\xbaH\x9a\x01\xba\x01\x96\x01\n\x1bobligation_value_fqns_valid\x12\x45if provided, fulfillable_obligation_fqns must contain only valid FQNs\x1a\x30this.size() == 0 || this.all(item, item.isUri())R\x19\x66ulfillableObligationFqns:k\xbaHh\x1a\x66\n/get_decision_multi_request.action_name_required\x12\x1c\x61\x63tion.name must be provided\x1a\x15has(this.action.name)\"\xb6\x01\n GetDecisionMultiResourceResponse\x12?\n\rall_permitted\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x0c\x61llPermitted\x12Q\n\x12resource_decisions\x18\x02 \x03(\x0b\x32\".authorization.v2.ResourceDecisionR\x11resourceDecisions\"\x82\x01\n\x16GetDecisionBulkRequest\x12h\n\x11\x64\x65\x63ision_requests\x18\x01 \x03(\x0b\x32\x31.authorization.v2.GetDecisionMultiResourceRequestB\x08\xbaH\x05\x92\x01\x02\x08\x01R\x10\x64\x65\x63isionRequests\"|\n\x17GetDecisionBulkResponse\x12\x61\n\x12\x64\x65\x63ision_responses\x18\x01 \x03(\x0b\x32\x32.authorization.v2.GetDecisionMultiResourceResponseR\x11\x64\x65\x63isionResponses\"\xd9\x01\n\x16GetEntitlementsRequest\x12W\n\x11\x65ntity_identifier\x18\x01 \x01(\x0b\x32\".authorization.v2.EntityIdentifierB\x06\xbaH\x03\xc8\x01\x01R\x10\x65ntityIdentifier\x12\x45\n\x1cwith_comprehensive_hierarchy\x18\x02 \x01(\x08H\x00R\x1awithComprehensiveHierarchy\x88\x01\x01\x42\x1f\n\x1d_with_comprehensive_hierarchy\"c\n\x17GetEntitlementsResponse\x12H\n\x0c\x65ntitlements\x18\x01 \x03(\x0b\x32$.authorization.v2.EntityEntitlementsR\x0c\x65ntitlements*L\n\x08\x44\x65\x63ision\x12\x18\n\x14\x44\x45\x43ISION_UNSPECIFIED\x10\x00\x12\x11\n\rDECISION_DENY\x10\x01\x12\x13\n\x0f\x44\x45\x43ISION_PERMIT\x10\x02\x32\xce\x03\n\x14\x41uthorizationService\x12\\\n\x0bGetDecision\x12$.authorization.v2.GetDecisionRequest\x1a%.authorization.v2.GetDecisionResponse\"\x00\x12\x83\x01\n\x18GetDecisionMultiResource\x12\x31.authorization.v2.GetDecisionMultiResourceRequest\x1a\x32.authorization.v2.GetDecisionMultiResourceResponse\"\x00\x12h\n\x0fGetDecisionBulk\x12(.authorization.v2.GetDecisionBulkRequest\x1a).authorization.v2.GetDecisionBulkResponse\"\x00\x12h\n\x0fGetEntitlements\x12(.authorization.v2.GetEntitlementsRequest\x1a).authorization.v2.GetEntitlementsResponse\"\x00\x42\x8b\x01\n\x14\x63om.authorization.v2B\x12\x41uthorizationProtoP\x01\xa2\x02\x03\x41XX\xaa\x02\x10\x41uthorization.V2\xca\x02\x10\x41uthorization\\V2\xe2\x02\x1c\x41uthorization\\V2\\GPBMetadata\xea\x02\x11\x41uthorization::V2b\x06proto3')
|
|
32
32
|
|
|
33
33
|
_globals = globals()
|
|
34
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -39,7 +39,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
39
39
|
_globals['_ENTITYIDENTIFIER'].oneofs_by_name['identifier']._loaded_options = None
|
|
40
40
|
_globals['_ENTITYIDENTIFIER'].oneofs_by_name['identifier']._serialized_options = b'\272H\002\010\001'
|
|
41
41
|
_globals['_ENTITYIDENTIFIER'].fields_by_name['entity_chain']._loaded_options = None
|
|
42
|
-
_globals['_ENTITYIDENTIFIER'].fields_by_name['entity_chain']._serialized_options = b'\272H\
|
|
42
|
+
_globals['_ENTITYIDENTIFIER'].fields_by_name['entity_chain']._serialized_options = b'\272H\204\001\272\001\200\001\n\025entity_chain_required\0227entities must be provided and contain at least 1 entity\032.has(this.entities) && this.entities.size() > 0'
|
|
43
43
|
_globals['_ENTITYIDENTIFIER'].fields_by_name['registered_resource_value_fqn']._loaded_options = None
|
|
44
44
|
_globals['_ENTITYIDENTIFIER'].fields_by_name['registered_resource_value_fqn']._serialized_options = b'\272H\007r\005\020\001\210\001\001'
|
|
45
45
|
_globals['_ENTITYIDENTIFIER'].fields_by_name['token']._loaded_options = None
|
|
@@ -49,7 +49,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
49
49
|
_globals['_ENTITYENTITLEMENTS_ACTIONSPERATTRIBUTEVALUEFQNENTRY']._loaded_options = None
|
|
50
50
|
_globals['_ENTITYENTITLEMENTS_ACTIONSPERATTRIBUTEVALUEFQNENTRY']._serialized_options = b'8\001'
|
|
51
51
|
_globals['_RESOURCE'].fields_by_name['attribute_values']._loaded_options = None
|
|
52
|
-
_globals['_RESOURCE'].fields_by_name['attribute_values']._serialized_options = b'\272H\
|
|
52
|
+
_globals['_RESOURCE'].fields_by_name['attribute_values']._serialized_options = b'\272H\244\001\272\001\240\001\n\031attribute_values_required\022Hif provided, resource.attribute_values must contain at least 1 valid FQN\0329this.fqns.size() > 0 && this.fqns.all(item, item.isUri())'
|
|
53
53
|
_globals['_RESOURCE'].fields_by_name['registered_resource_value_fqn']._loaded_options = None
|
|
54
54
|
_globals['_RESOURCE'].fields_by_name['registered_resource_value_fqn']._serialized_options = b'\272H\007r\005\020\001\210\001\001'
|
|
55
55
|
_globals['_GETDECISIONREQUEST'].fields_by_name['entity_identifier']._loaded_options = None
|
|
@@ -59,7 +59,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
59
59
|
_globals['_GETDECISIONREQUEST'].fields_by_name['resource']._loaded_options = None
|
|
60
60
|
_globals['_GETDECISIONREQUEST'].fields_by_name['resource']._serialized_options = b'\272H\003\310\001\001'
|
|
61
61
|
_globals['_GETDECISIONREQUEST'].fields_by_name['fulfillable_obligation_fqns']._loaded_options = None
|
|
62
|
-
_globals['_GETDECISIONREQUEST'].fields_by_name['fulfillable_obligation_fqns']._serialized_options = b'\272H\
|
|
62
|
+
_globals['_GETDECISIONREQUEST'].fields_by_name['fulfillable_obligation_fqns']._serialized_options = b'\272H\232\001\272\001\226\001\n\033obligation_value_fqns_valid\022Eif provided, fulfillable_obligation_fqns must contain only valid FQNs\0320this.size() == 0 || this.all(item, item.isUri())'
|
|
63
63
|
_globals['_GETDECISIONREQUEST']._loaded_options = None
|
|
64
64
|
_globals['_GETDECISIONREQUEST']._serialized_options = b'\272Hb\032`\n)get_decision_request.action_name_required\022\034action.name must be provided\032\025has(this.action.name)'
|
|
65
65
|
_globals['_GETDECISIONMULTIRESOURCEREQUEST'].fields_by_name['entity_identifier']._loaded_options = None
|
|
@@ -67,47 +67,47 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
67
67
|
_globals['_GETDECISIONMULTIRESOURCEREQUEST'].fields_by_name['action']._loaded_options = None
|
|
68
68
|
_globals['_GETDECISIONMULTIRESOURCEREQUEST'].fields_by_name['action']._serialized_options = b'\272H\003\310\001\001'
|
|
69
69
|
_globals['_GETDECISIONMULTIRESOURCEREQUEST'].fields_by_name['resources']._loaded_options = None
|
|
70
|
-
_globals['_GETDECISIONMULTIRESOURCEREQUEST'].fields_by_name['resources']._serialized_options = b'\272H\
|
|
70
|
+
_globals['_GETDECISIONMULTIRESOURCEREQUEST'].fields_by_name['resources']._serialized_options = b'\272H\005\222\001\002\010\001'
|
|
71
71
|
_globals['_GETDECISIONMULTIRESOURCEREQUEST'].fields_by_name['fulfillable_obligation_fqns']._loaded_options = None
|
|
72
|
-
_globals['_GETDECISIONMULTIRESOURCEREQUEST'].fields_by_name['fulfillable_obligation_fqns']._serialized_options = b'\272H\
|
|
72
|
+
_globals['_GETDECISIONMULTIRESOURCEREQUEST'].fields_by_name['fulfillable_obligation_fqns']._serialized_options = b'\272H\232\001\272\001\226\001\n\033obligation_value_fqns_valid\022Eif provided, fulfillable_obligation_fqns must contain only valid FQNs\0320this.size() == 0 || this.all(item, item.isUri())'
|
|
73
73
|
_globals['_GETDECISIONMULTIRESOURCEREQUEST']._loaded_options = None
|
|
74
74
|
_globals['_GETDECISIONMULTIRESOURCEREQUEST']._serialized_options = b'\272Hh\032f\n/get_decision_multi_request.action_name_required\022\034action.name must be provided\032\025has(this.action.name)'
|
|
75
75
|
_globals['_GETDECISIONBULKREQUEST'].fields_by_name['decision_requests']._loaded_options = None
|
|
76
|
-
_globals['_GETDECISIONBULKREQUEST'].fields_by_name['decision_requests']._serialized_options = b'\272H\
|
|
76
|
+
_globals['_GETDECISIONBULKREQUEST'].fields_by_name['decision_requests']._serialized_options = b'\272H\005\222\001\002\010\001'
|
|
77
77
|
_globals['_GETENTITLEMENTSREQUEST'].fields_by_name['entity_identifier']._loaded_options = None
|
|
78
78
|
_globals['_GETENTITLEMENTSREQUEST'].fields_by_name['entity_identifier']._serialized_options = b'\272H\003\310\001\001'
|
|
79
|
-
_globals['_DECISION']._serialized_start=
|
|
80
|
-
_globals['_DECISION']._serialized_end=
|
|
79
|
+
_globals['_DECISION']._serialized_start=3838
|
|
80
|
+
_globals['_DECISION']._serialized_end=3914
|
|
81
81
|
_globals['_ENTITYIDENTIFIER']._serialized_start=163
|
|
82
|
-
_globals['_ENTITYIDENTIFIER']._serialized_end=
|
|
83
|
-
_globals['_ENTITYENTITLEMENTS']._serialized_start=
|
|
84
|
-
_globals['_ENTITYENTITLEMENTS']._serialized_end=
|
|
85
|
-
_globals['_ENTITYENTITLEMENTS_ACTIONSLIST']._serialized_start=
|
|
86
|
-
_globals['_ENTITYENTITLEMENTS_ACTIONSLIST']._serialized_end=
|
|
87
|
-
_globals['_ENTITYENTITLEMENTS_ACTIONSPERATTRIBUTEVALUEFQNENTRY']._serialized_start=
|
|
88
|
-
_globals['_ENTITYENTITLEMENTS_ACTIONSPERATTRIBUTEVALUEFQNENTRY']._serialized_end=
|
|
89
|
-
_globals['_RESOURCE']._serialized_start=
|
|
90
|
-
_globals['_RESOURCE']._serialized_end=
|
|
91
|
-
_globals['_RESOURCE_ATTRIBUTEVALUES']._serialized_start=
|
|
92
|
-
_globals['_RESOURCE_ATTRIBUTEVALUES']._serialized_end=
|
|
93
|
-
_globals['_RESOURCEDECISION']._serialized_start=
|
|
94
|
-
_globals['_RESOURCEDECISION']._serialized_end=
|
|
95
|
-
_globals['_GETDECISIONREQUEST']._serialized_start=
|
|
96
|
-
_globals['_GETDECISIONREQUEST']._serialized_end=
|
|
97
|
-
_globals['_GETDECISIONRESPONSE']._serialized_start=
|
|
98
|
-
_globals['_GETDECISIONRESPONSE']._serialized_end=
|
|
99
|
-
_globals['_GETDECISIONMULTIRESOURCEREQUEST']._serialized_start=
|
|
100
|
-
_globals['_GETDECISIONMULTIRESOURCEREQUEST']._serialized_end=
|
|
101
|
-
_globals['_GETDECISIONMULTIRESOURCERESPONSE']._serialized_start=
|
|
102
|
-
_globals['_GETDECISIONMULTIRESOURCERESPONSE']._serialized_end=
|
|
103
|
-
_globals['_GETDECISIONBULKREQUEST']._serialized_start=
|
|
104
|
-
_globals['_GETDECISIONBULKREQUEST']._serialized_end=
|
|
105
|
-
_globals['_GETDECISIONBULKRESPONSE']._serialized_start=
|
|
106
|
-
_globals['_GETDECISIONBULKRESPONSE']._serialized_end=
|
|
107
|
-
_globals['_GETENTITLEMENTSREQUEST']._serialized_start=
|
|
108
|
-
_globals['_GETENTITLEMENTSREQUEST']._serialized_end=
|
|
109
|
-
_globals['_GETENTITLEMENTSRESPONSE']._serialized_start=
|
|
110
|
-
_globals['_GETENTITLEMENTSRESPONSE']._serialized_end=
|
|
111
|
-
_globals['_AUTHORIZATIONSERVICE']._serialized_start=
|
|
112
|
-
_globals['_AUTHORIZATIONSERVICE']._serialized_end=
|
|
82
|
+
_globals['_ENTITYIDENTIFIER']._serialized_end=780
|
|
83
|
+
_globals['_ENTITYENTITLEMENTS']._serialized_start=783
|
|
84
|
+
_globals['_ENTITYENTITLEMENTS']._serialized_end=1234
|
|
85
|
+
_globals['_ENTITYENTITLEMENTS_ACTIONSLIST']._serialized_start=1048
|
|
86
|
+
_globals['_ENTITYENTITLEMENTS_ACTIONSLIST']._serialized_end=1103
|
|
87
|
+
_globals['_ENTITYENTITLEMENTS_ACTIONSPERATTRIBUTEVALUEFQNENTRY']._serialized_start=1106
|
|
88
|
+
_globals['_ENTITYENTITLEMENTS_ACTIONSPERATTRIBUTEVALUEFQNENTRY']._serialized_end=1234
|
|
89
|
+
_globals['_RESOURCE']._serialized_start=1237
|
|
90
|
+
_globals['_RESOURCE']._serialized_end=1675
|
|
91
|
+
_globals['_RESOURCE_ATTRIBUTEVALUES']._serialized_start=1626
|
|
92
|
+
_globals['_RESOURCE_ATTRIBUTEVALUES']._serialized_end=1663
|
|
93
|
+
_globals['_RESOURCEDECISION']._serialized_start=1678
|
|
94
|
+
_globals['_RESOURCEDECISION']._serialized_end=1855
|
|
95
|
+
_globals['_GETDECISIONREQUEST']._serialized_start=1858
|
|
96
|
+
_globals['_GETDECISIONREQUEST']._serialized_end=2408
|
|
97
|
+
_globals['_GETDECISIONRESPONSE']._serialized_start=2410
|
|
98
|
+
_globals['_GETDECISIONRESPONSE']._serialized_end=2495
|
|
99
|
+
_globals['_GETDECISIONMULTIRESOURCEREQUEST']._serialized_start=2498
|
|
100
|
+
_globals['_GETDECISIONMULTIRESOURCEREQUEST']._serialized_end=3071
|
|
101
|
+
_globals['_GETDECISIONMULTIRESOURCERESPONSE']._serialized_start=3074
|
|
102
|
+
_globals['_GETDECISIONMULTIRESOURCERESPONSE']._serialized_end=3256
|
|
103
|
+
_globals['_GETDECISIONBULKREQUEST']._serialized_start=3259
|
|
104
|
+
_globals['_GETDECISIONBULKREQUEST']._serialized_end=3389
|
|
105
|
+
_globals['_GETDECISIONBULKRESPONSE']._serialized_start=3391
|
|
106
|
+
_globals['_GETDECISIONBULKRESPONSE']._serialized_end=3515
|
|
107
|
+
_globals['_GETENTITLEMENTSREQUEST']._serialized_start=3518
|
|
108
|
+
_globals['_GETENTITLEMENTSREQUEST']._serialized_end=3735
|
|
109
|
+
_globals['_GETENTITLEMENTSRESPONSE']._serialized_start=3737
|
|
110
|
+
_globals['_GETENTITLEMENTSRESPONSE']._serialized_end=3836
|
|
111
|
+
_globals['_AUTHORIZATIONSERVICE']._serialized_start=3917
|
|
112
|
+
_globals['_AUTHORIZATIONSERVICE']._serialized_end=4379
|
|
113
113
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -33,7 +33,7 @@ class EntityIdentifier(_message.Message):
|
|
|
33
33
|
def __init__(self, entity_chain: _Optional[_Union[_entity_pb2.EntityChain, _Mapping]] = ..., registered_resource_value_fqn: _Optional[str] = ..., token: _Optional[_Union[_entity_pb2.Token, _Mapping]] = ..., with_request_token: _Optional[_Union[_wrappers_pb2.BoolValue, _Mapping]] = ...) -> None: ...
|
|
34
34
|
|
|
35
35
|
class EntityEntitlements(_message.Message):
|
|
36
|
-
__slots__ = ("ephemeral_id", "actions_per_attribute_value_fqn")
|
|
36
|
+
__slots__ = ("ephemeral_id", "actions_per_attribute_value_fqn", "entity_category")
|
|
37
37
|
class ActionsList(_message.Message):
|
|
38
38
|
__slots__ = ("actions",)
|
|
39
39
|
ACTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -48,9 +48,11 @@ class EntityEntitlements(_message.Message):
|
|
|
48
48
|
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[EntityEntitlements.ActionsList, _Mapping]] = ...) -> None: ...
|
|
49
49
|
EPHEMERAL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
50
50
|
ACTIONS_PER_ATTRIBUTE_VALUE_FQN_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
ENTITY_CATEGORY_FIELD_NUMBER: _ClassVar[int]
|
|
51
52
|
ephemeral_id: str
|
|
52
53
|
actions_per_attribute_value_fqn: _containers.MessageMap[str, EntityEntitlements.ActionsList]
|
|
53
|
-
|
|
54
|
+
entity_category: _entity_pb2.Entity.Category
|
|
55
|
+
def __init__(self, ephemeral_id: _Optional[str] = ..., actions_per_attribute_value_fqn: _Optional[_Mapping[str, EntityEntitlements.ActionsList]] = ..., entity_category: _Optional[_Union[_entity_pb2.Entity.Category, str]] = ...) -> None: ...
|
|
54
56
|
|
|
55
57
|
class Resource(_message.Message):
|
|
56
58
|
__slots__ = ("ephemeral_id", "attribute_values", "registered_resource_value_fqn")
|
|
@@ -37,6 +37,16 @@ class AttributesServiceStub(object):
|
|
|
37
37
|
request_serializer=policy_dot_attributes_dot_attributes__pb2.GetAttributeValuesByFqnsRequest.SerializeToString,
|
|
38
38
|
response_deserializer=policy_dot_attributes_dot_attributes__pb2.GetAttributeValuesByFqnsResponse.FromString,
|
|
39
39
|
_registered_method=True)
|
|
40
|
+
self.GetKeyMappingsByFqns = channel.unary_unary(
|
|
41
|
+
'/policy.attributes.AttributesService/GetKeyMappingsByFqns',
|
|
42
|
+
request_serializer=policy_dot_attributes_dot_attributes__pb2.GetKeyMappingsByFqnsRequest.SerializeToString,
|
|
43
|
+
response_deserializer=policy_dot_attributes_dot_attributes__pb2.GetKeyMappingsByFqnsResponse.FromString,
|
|
44
|
+
_registered_method=True)
|
|
45
|
+
self.GetEntitleableAttributesByFqns = channel.unary_unary(
|
|
46
|
+
'/policy.attributes.AttributesService/GetEntitleableAttributesByFqns',
|
|
47
|
+
request_serializer=policy_dot_attributes_dot_attributes__pb2.GetEntitleableAttributesByFqnsRequest.SerializeToString,
|
|
48
|
+
response_deserializer=policy_dot_attributes_dot_attributes__pb2.GetEntitleableAttributesByFqnsResponse.FromString,
|
|
49
|
+
_registered_method=True)
|
|
40
50
|
self.CreateAttribute = channel.unary_unary(
|
|
41
51
|
'/policy.attributes.AttributesService/CreateAttribute',
|
|
42
52
|
request_serializer=policy_dot_attributes_dot_attributes__pb2.CreateAttributeRequest.SerializeToString,
|
|
@@ -144,7 +154,26 @@ class AttributesServiceServicer(object):
|
|
|
144
154
|
raise NotImplementedError('Method not implemented!')
|
|
145
155
|
|
|
146
156
|
def GetAttributeValuesByFqns(self, request, context):
|
|
147
|
-
"""
|
|
157
|
+
"""Deprecated: Use GetKeyMappingsByFqns for client-side key splits and
|
|
158
|
+
GetEntitleableAttributesByFqns for server-side entitlement resolution.
|
|
159
|
+
"""
|
|
160
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
161
|
+
context.set_details('Method not implemented!')
|
|
162
|
+
raise NotImplementedError('Method not implemented!')
|
|
163
|
+
|
|
164
|
+
def GetKeyMappingsByFqns(self, request, context):
|
|
165
|
+
"""Returns only key-mapping information (rule and effective KAS keys) for the
|
|
166
|
+
requested attribute value FQNs, for client-side key split construction.
|
|
167
|
+
"""
|
|
168
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
169
|
+
context.set_details('Method not implemented!')
|
|
170
|
+
raise NotImplementedError('Method not implemented!')
|
|
171
|
+
|
|
172
|
+
def GetEntitleableAttributesByFqns(self, request, context):
|
|
173
|
+
"""Returns only entitlement-relevant information (rule, value identity, ordered
|
|
174
|
+
definition values, subject mappings, and dynamic mappings) for the requested attribute value
|
|
175
|
+
FQNs, for server-side decisioning / entitlement resolution.
|
|
176
|
+
"""
|
|
148
177
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
149
178
|
context.set_details('Method not implemented!')
|
|
150
179
|
raise NotImplementedError('Method not implemented!')
|
|
@@ -277,6 +306,16 @@ def add_AttributesServiceServicer_to_server(servicer, server):
|
|
|
277
306
|
request_deserializer=policy_dot_attributes_dot_attributes__pb2.GetAttributeValuesByFqnsRequest.FromString,
|
|
278
307
|
response_serializer=policy_dot_attributes_dot_attributes__pb2.GetAttributeValuesByFqnsResponse.SerializeToString,
|
|
279
308
|
),
|
|
309
|
+
'GetKeyMappingsByFqns': grpc.unary_unary_rpc_method_handler(
|
|
310
|
+
servicer.GetKeyMappingsByFqns,
|
|
311
|
+
request_deserializer=policy_dot_attributes_dot_attributes__pb2.GetKeyMappingsByFqnsRequest.FromString,
|
|
312
|
+
response_serializer=policy_dot_attributes_dot_attributes__pb2.GetKeyMappingsByFqnsResponse.SerializeToString,
|
|
313
|
+
),
|
|
314
|
+
'GetEntitleableAttributesByFqns': grpc.unary_unary_rpc_method_handler(
|
|
315
|
+
servicer.GetEntitleableAttributesByFqns,
|
|
316
|
+
request_deserializer=policy_dot_attributes_dot_attributes__pb2.GetEntitleableAttributesByFqnsRequest.FromString,
|
|
317
|
+
response_serializer=policy_dot_attributes_dot_attributes__pb2.GetEntitleableAttributesByFqnsResponse.SerializeToString,
|
|
318
|
+
),
|
|
280
319
|
'CreateAttribute': grpc.unary_unary_rpc_method_handler(
|
|
281
320
|
servicer.CreateAttribute,
|
|
282
321
|
request_deserializer=policy_dot_attributes_dot_attributes__pb2.CreateAttributeRequest.FromString,
|
|
@@ -474,6 +513,60 @@ class AttributesService(object):
|
|
|
474
513
|
metadata,
|
|
475
514
|
_registered_method=True)
|
|
476
515
|
|
|
516
|
+
@staticmethod
|
|
517
|
+
def GetKeyMappingsByFqns(request,
|
|
518
|
+
target,
|
|
519
|
+
options=(),
|
|
520
|
+
channel_credentials=None,
|
|
521
|
+
call_credentials=None,
|
|
522
|
+
insecure=False,
|
|
523
|
+
compression=None,
|
|
524
|
+
wait_for_ready=None,
|
|
525
|
+
timeout=None,
|
|
526
|
+
metadata=None):
|
|
527
|
+
return grpc.experimental.unary_unary(
|
|
528
|
+
request,
|
|
529
|
+
target,
|
|
530
|
+
'/policy.attributes.AttributesService/GetKeyMappingsByFqns',
|
|
531
|
+
policy_dot_attributes_dot_attributes__pb2.GetKeyMappingsByFqnsRequest.SerializeToString,
|
|
532
|
+
policy_dot_attributes_dot_attributes__pb2.GetKeyMappingsByFqnsResponse.FromString,
|
|
533
|
+
options,
|
|
534
|
+
channel_credentials,
|
|
535
|
+
insecure,
|
|
536
|
+
call_credentials,
|
|
537
|
+
compression,
|
|
538
|
+
wait_for_ready,
|
|
539
|
+
timeout,
|
|
540
|
+
metadata,
|
|
541
|
+
_registered_method=True)
|
|
542
|
+
|
|
543
|
+
@staticmethod
|
|
544
|
+
def GetEntitleableAttributesByFqns(request,
|
|
545
|
+
target,
|
|
546
|
+
options=(),
|
|
547
|
+
channel_credentials=None,
|
|
548
|
+
call_credentials=None,
|
|
549
|
+
insecure=False,
|
|
550
|
+
compression=None,
|
|
551
|
+
wait_for_ready=None,
|
|
552
|
+
timeout=None,
|
|
553
|
+
metadata=None):
|
|
554
|
+
return grpc.experimental.unary_unary(
|
|
555
|
+
request,
|
|
556
|
+
target,
|
|
557
|
+
'/policy.attributes.AttributesService/GetEntitleableAttributesByFqns',
|
|
558
|
+
policy_dot_attributes_dot_attributes__pb2.GetEntitleableAttributesByFqnsRequest.SerializeToString,
|
|
559
|
+
policy_dot_attributes_dot_attributes__pb2.GetEntitleableAttributesByFqnsResponse.FromString,
|
|
560
|
+
options,
|
|
561
|
+
channel_credentials,
|
|
562
|
+
insecure,
|
|
563
|
+
call_credentials,
|
|
564
|
+
compression,
|
|
565
|
+
wait_for_ready,
|
|
566
|
+
timeout,
|
|
567
|
+
metadata,
|
|
568
|
+
_registered_method=True)
|
|
569
|
+
|
|
477
570
|
@staticmethod
|
|
478
571
|
def CreateAttribute(request,
|
|
479
572
|
target,
|
|
File without changes
|