@opentdf/sdk 0.3.1 → 0.3.2-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/dist/cjs/src/access/access-fetch.js +155 -0
  2. package/dist/cjs/src/access/access-rpc.js +131 -0
  3. package/dist/cjs/src/access.js +81 -107
  4. package/dist/cjs/src/auth/oidc.js +2 -2
  5. package/dist/cjs/src/nanotdf/Client.js +17 -13
  6. package/dist/cjs/src/nanotdf/models/Header.js +2 -2
  7. package/dist/cjs/src/nanotdf-crypto/keyAgreement.js +2 -2
  8. package/dist/cjs/src/opentdf.js +42 -8
  9. package/dist/cjs/src/platform/authorization/authorization_pb.js +138 -0
  10. package/dist/cjs/src/platform/buf/validate/validate_pb.js +410 -0
  11. package/dist/cjs/src/platform/common/common_pb.js +79 -0
  12. package/dist/cjs/src/platform/entityresolution/entity_resolution_pb.js +49 -0
  13. package/dist/cjs/src/platform/google/api/annotations_pb.js +30 -0
  14. package/dist/cjs/src/platform/google/api/http_pb.js +37 -0
  15. package/dist/cjs/src/platform/kas/kas_pb.js +96 -0
  16. package/dist/cjs/src/platform/policy/actions/actions_pb.js +70 -0
  17. package/dist/cjs/src/platform/policy/attributes/attributes_pb.js +240 -0
  18. package/dist/cjs/src/platform/policy/kasregistry/key_access_server_registry_pb.js +236 -0
  19. package/dist/cjs/src/platform/policy/keymanagement/key_management_pb.js +70 -0
  20. package/dist/cjs/src/platform/policy/namespaces/namespaces_pb.js +121 -0
  21. package/dist/cjs/src/platform/policy/objects_pb.js +395 -0
  22. package/dist/cjs/src/platform/policy/registeredresources/registered_resources_pb.js +132 -0
  23. package/dist/cjs/src/platform/policy/resourcemapping/resource_mapping_pb.js +139 -0
  24. package/dist/cjs/src/platform/policy/selectors_pb.js +67 -0
  25. package/dist/cjs/src/platform/policy/subjectmapping/subject_mapping_pb.js +146 -0
  26. package/dist/cjs/src/platform/policy/unsafe/unsafe_pb.js +124 -0
  27. package/dist/cjs/src/platform/protoc-gen-openapiv2/options/annotations_pb.js +68 -0
  28. package/dist/cjs/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.js +307 -0
  29. package/dist/cjs/src/platform/wellknownconfiguration/wellknown_configuration_pb.js +33 -0
  30. package/dist/cjs/src/platform.js +124 -0
  31. package/dist/cjs/src/policy/api.js +21 -38
  32. package/dist/cjs/src/policy/attributes.js +4 -1
  33. package/dist/cjs/src/policy/granter.js +9 -9
  34. package/dist/cjs/src/utils.js +31 -1
  35. package/dist/cjs/src/version.js +2 -2
  36. package/dist/cjs/tdf3/src/client/index.js +23 -18
  37. package/dist/cjs/tdf3/src/tdf.js +5 -5
  38. package/dist/types/src/access/access-fetch.d.ts +21 -0
  39. package/dist/types/src/access/access-fetch.d.ts.map +1 -0
  40. package/dist/types/src/access/access-rpc.d.ts +22 -0
  41. package/dist/types/src/access/access-rpc.d.ts.map +1 -0
  42. package/dist/types/src/access.d.ts +19 -11
  43. package/dist/types/src/access.d.ts.map +1 -1
  44. package/dist/types/src/nanotdf/Client.d.ts +3 -1
  45. package/dist/types/src/nanotdf/Client.d.ts.map +1 -1
  46. package/dist/types/src/opentdf.d.ts +5 -1
  47. package/dist/types/src/opentdf.d.ts.map +1 -1
  48. package/dist/types/src/platform/authorization/authorization_pb.d.ts +609 -0
  49. package/dist/types/src/platform/authorization/authorization_pb.d.ts.map +1 -0
  50. package/dist/types/src/platform/buf/validate/validate_pb.d.ts +4466 -0
  51. package/dist/types/src/platform/buf/validate/validate_pb.d.ts.map +1 -0
  52. package/dist/types/src/platform/common/common_pb.d.ts +112 -0
  53. package/dist/types/src/platform/common/common_pb.d.ts.map +1 -0
  54. package/dist/types/src/platform/entityresolution/entity_resolution_pb.d.ts +199 -0
  55. package/dist/types/src/platform/entityresolution/entity_resolution_pb.d.ts.map +1 -0
  56. package/dist/types/src/platform/google/api/annotations_pb.d.ts +14 -0
  57. package/dist/types/src/platform/google/api/annotations_pb.d.ts.map +1 -0
  58. package/dist/types/src/platform/google/api/http_pb.d.ts +441 -0
  59. package/dist/types/src/platform/google/api/http_pb.d.ts.map +1 -0
  60. package/dist/types/src/platform/kas/kas_pb.d.ts +404 -0
  61. package/dist/types/src/platform/kas/kas_pb.d.ts.map +1 -0
  62. package/dist/types/src/platform/policy/actions/actions_pb.d.ts +265 -0
  63. package/dist/types/src/platform/policy/actions/actions_pb.d.ts.map +1 -0
  64. package/dist/types/src/platform/policy/attributes/attributes_pb.d.ts +1022 -0
  65. package/dist/types/src/platform/policy/attributes/attributes_pb.d.ts.map +1 -0
  66. package/dist/types/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts +1306 -0
  67. package/dist/types/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts.map +1 -0
  68. package/dist/types/src/platform/policy/keymanagement/key_management_pb.d.ts +269 -0
  69. package/dist/types/src/platform/policy/keymanagement/key_management_pb.d.ts.map +1 -0
  70. package/dist/types/src/platform/policy/namespaces/namespaces_pb.d.ts +448 -0
  71. package/dist/types/src/platform/policy/namespaces/namespaces_pb.d.ts.map +1 -0
  72. package/dist/types/src/platform/policy/objects_pb.d.ts +1112 -0
  73. package/dist/types/src/platform/policy/objects_pb.d.ts.map +1 -0
  74. package/dist/types/src/platform/policy/registeredresources/registered_resources_pb.d.ts +539 -0
  75. package/dist/types/src/platform/policy/registeredresources/registered_resources_pb.d.ts.map +1 -0
  76. package/dist/types/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts +558 -0
  77. package/dist/types/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts.map +1 -0
  78. package/dist/types/src/platform/policy/selectors_pb.d.ts +221 -0
  79. package/dist/types/src/platform/policy/selectors_pb.d.ts.map +1 -0
  80. package/dist/types/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts +582 -0
  81. package/dist/types/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts.map +1 -0
  82. package/dist/types/src/platform/policy/unsafe/unsafe_pb.d.ts +513 -0
  83. package/dist/types/src/platform/policy/unsafe/unsafe_pb.d.ts.map +1 -0
  84. package/dist/types/src/platform/protoc-gen-openapiv2/options/annotations_pb.d.ts +62 -0
  85. package/dist/types/src/platform/protoc-gen-openapiv2/options/annotations_pb.d.ts.map +1 -0
  86. package/dist/types/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +1441 -0
  87. package/dist/types/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.d.ts.map +1 -0
  88. package/dist/types/src/platform/wellknownconfiguration/wellknown_configuration_pb.d.ts +59 -0
  89. package/dist/types/src/platform/wellknownconfiguration/wellknown_configuration_pb.d.ts.map +1 -0
  90. package/dist/types/src/platform.d.ts +49 -0
  91. package/dist/types/src/platform.d.ts.map +1 -0
  92. package/dist/types/src/policy/api.d.ts +1 -1
  93. package/dist/types/src/policy/api.d.ts.map +1 -1
  94. package/dist/types/src/policy/attributes.d.ts +10 -87
  95. package/dist/types/src/policy/attributes.d.ts.map +1 -1
  96. package/dist/types/src/policy/granter.d.ts.map +1 -1
  97. package/dist/types/src/utils.d.ts +10 -0
  98. package/dist/types/src/utils.d.ts.map +1 -1
  99. package/dist/types/src/version.d.ts +1 -1
  100. package/dist/types/tdf3/src/client/index.d.ts +8 -3
  101. package/dist/types/tdf3/src/client/index.d.ts.map +1 -1
  102. package/dist/types/tdf3/src/tdf.d.ts.map +1 -1
  103. package/dist/web/src/access/access-fetch.js +150 -0
  104. package/dist/web/src/access/access-rpc.js +125 -0
  105. package/dist/web/src/access.js +82 -110
  106. package/dist/web/src/auth/oidc.js +2 -2
  107. package/dist/web/src/nanotdf/Client.js +18 -14
  108. package/dist/web/src/nanotdf/models/Header.js +2 -2
  109. package/dist/web/src/nanotdf-crypto/keyAgreement.js +2 -2
  110. package/dist/web/src/opentdf.js +43 -9
  111. package/dist/web/src/platform/authorization/authorization_pb.js +135 -0
  112. package/dist/web/src/platform/buf/validate/validate_pb.js +407 -0
  113. package/dist/web/src/platform/common/common_pb.js +76 -0
  114. package/dist/web/src/platform/entityresolution/entity_resolution_pb.js +46 -0
  115. package/dist/web/src/platform/google/api/annotations_pb.js +27 -0
  116. package/dist/web/src/platform/google/api/http_pb.js +34 -0
  117. package/dist/web/src/platform/kas/kas_pb.js +93 -0
  118. package/dist/web/src/platform/policy/actions/actions_pb.js +67 -0
  119. package/dist/web/src/platform/policy/attributes/attributes_pb.js +237 -0
  120. package/dist/web/src/platform/policy/kasregistry/key_access_server_registry_pb.js +233 -0
  121. package/dist/web/src/platform/policy/keymanagement/key_management_pb.js +67 -0
  122. package/dist/web/src/platform/policy/namespaces/namespaces_pb.js +118 -0
  123. package/dist/web/src/platform/policy/objects_pb.js +392 -0
  124. package/dist/web/src/platform/policy/registeredresources/registered_resources_pb.js +129 -0
  125. package/dist/web/src/platform/policy/resourcemapping/resource_mapping_pb.js +136 -0
  126. package/dist/web/src/platform/policy/selectors_pb.js +64 -0
  127. package/dist/web/src/platform/policy/subjectmapping/subject_mapping_pb.js +143 -0
  128. package/dist/web/src/platform/policy/unsafe/unsafe_pb.js +121 -0
  129. package/dist/web/src/platform/protoc-gen-openapiv2/options/annotations_pb.js +65 -0
  130. package/dist/web/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.js +304 -0
  131. package/dist/web/src/platform/wellknownconfiguration/wellknown_configuration_pb.js +30 -0
  132. package/dist/web/src/platform.js +87 -0
  133. package/dist/web/src/policy/api.js +23 -40
  134. package/dist/web/src/policy/attributes.js +3 -2
  135. package/dist/web/src/policy/granter.js +9 -9
  136. package/dist/web/src/utils.js +29 -1
  137. package/dist/web/src/version.js +2 -2
  138. package/dist/web/tdf3/src/client/index.js +25 -20
  139. package/dist/web/tdf3/src/tdf.js +5 -5
  140. package/package.json +17 -1
  141. package/src/access/access-fetch.ts +202 -0
  142. package/src/access/access-rpc.ts +175 -0
  143. package/src/access.ts +113 -138
  144. package/src/auth/oidc.ts +1 -1
  145. package/src/nanotdf/Client.ts +28 -18
  146. package/src/nanotdf/models/Header.ts +1 -1
  147. package/src/nanotdf-crypto/keyAgreement.ts +1 -1
  148. package/src/opentdf.ts +66 -10
  149. package/src/platform/authorization/authorization_pb.ts +689 -0
  150. package/src/platform/buf/validate/validate_pb.ts +4626 -0
  151. package/src/platform/common/common_pb.ts +135 -0
  152. package/src/platform/entityresolution/entity_resolution_pb.ts +233 -0
  153. package/src/platform/google/api/annotations_pb.ts +39 -0
  154. package/src/platform/google/api/http_pb.ts +474 -0
  155. package/src/platform/kas/kas_pb.ts +484 -0
  156. package/src/platform/policy/actions/actions_pb.ts +312 -0
  157. package/src/platform/policy/attributes/attributes_pb.ts +1181 -0
  158. package/src/platform/policy/kasregistry/key_access_server_registry_pb.ts +1482 -0
  159. package/src/platform/policy/keymanagement/key_management_pb.ts +316 -0
  160. package/src/platform/policy/namespaces/namespaces_pb.ts +528 -0
  161. package/src/platform/policy/objects_pb.ts +1319 -0
  162. package/src/platform/policy/registeredresources/registered_resources_pb.ts +623 -0
  163. package/src/platform/policy/resourcemapping/resource_mapping_pb.ts +658 -0
  164. package/src/platform/policy/selectors_pb.ts +277 -0
  165. package/src/platform/policy/subjectmapping/subject_mapping_pb.ts +687 -0
  166. package/src/platform/policy/unsafe/unsafe_pb.ts +593 -0
  167. package/src/platform/protoc-gen-openapiv2/options/annotations_pb.ts +83 -0
  168. package/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.ts +1615 -0
  169. package/src/platform/wellknownconfiguration/wellknown_configuration_pb.ts +78 -0
  170. package/src/platform.ts +122 -0
  171. package/src/policy/api.ts +29 -42
  172. package/src/policy/attributes.ts +12 -108
  173. package/src/policy/granter.ts +7 -8
  174. package/src/utils.ts +30 -0
  175. package/src/version.ts +1 -1
  176. package/tdf3/src/client/index.ts +40 -19
  177. package/tdf3/src/tdf.ts +5 -6
  178. package/src/platform/authorization/authorization_connect.d.ts +0 -44
  179. package/src/platform/authorization/authorization_connect.js +0 -44
  180. package/src/platform/authorization/authorization_pb.d.ts +0 -707
  181. package/src/platform/authorization/authorization_pb.js +0 -372
  182. package/src/platform/common/common_pb.d.ts +0 -129
  183. package/src/platform/common/common_pb.js +0 -58
  184. package/src/platform/entityresolution/entity_resolution_connect.d.ts +0 -35
  185. package/src/platform/entityresolution/entity_resolution_connect.js +0 -35
  186. package/src/platform/entityresolution/entity_resolution_pb.d.ts +0 -242
  187. package/src/platform/entityresolution/entity_resolution_pb.js +0 -139
  188. package/src/platform/kas/kas_connect.d.ts +0 -59
  189. package/src/platform/kas/kas_connect.js +0 -59
  190. package/src/platform/kas/kas_pb.d.ts +0 -200
  191. package/src/platform/kas/kas_pb.js +0 -84
  192. package/src/platform/policy/attributes/attributes_connect.d.ts +0 -168
  193. package/src/platform/policy/attributes/attributes_connect.js +0 -168
  194. package/src/platform/policy/attributes/attributes_pb.d.ts +0 -929
  195. package/src/platform/policy/attributes/attributes_pb.js +0 -363
  196. package/src/platform/policy/kasregistry/key_access_server_registry_connect.d.ts +0 -62
  197. package/src/platform/policy/kasregistry/key_access_server_registry_connect.js +0 -62
  198. package/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts +0 -283
  199. package/src/platform/policy/kasregistry/key_access_server_registry_pb.js +0 -113
  200. package/src/platform/policy/namespaces/namespaces_connect.d.ts +0 -62
  201. package/src/platform/policy/namespaces/namespaces_connect.js +0 -62
  202. package/src/platform/policy/namespaces/namespaces_pb.d.ts +0 -270
  203. package/src/platform/policy/namespaces/namespaces_pb.js +0 -110
  204. package/src/platform/policy/objects_pb.d.ts +0 -725
  205. package/src/platform/policy/objects_pb.js +0 -288
  206. package/src/platform/policy/resourcemapping/resource_mapping_connect.d.ts +0 -259
  207. package/src/platform/policy/resourcemapping/resource_mapping_connect.js +0 -259
  208. package/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts +0 -314
  209. package/src/platform/policy/resourcemapping/resource_mapping_pb.js +0 -142
  210. package/src/platform/policy/selectors_pb.d.ts +0 -269
  211. package/src/platform/policy/selectors_pb.js +0 -110
  212. package/src/platform/policy/subjectmapping/subject_mapping_connect.d.ts +0 -118
  213. package/src/platform/policy/subjectmapping/subject_mapping_connect.js +0 -118
  214. package/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts +0 -672
  215. package/src/platform/policy/subjectmapping/subject_mapping_pb.js +0 -260
  216. package/src/platform/wellknownconfiguration/wellknown_configuration_connect.d.ts +0 -26
  217. package/src/platform/wellknownconfiguration/wellknown_configuration_connect.js +0 -26
  218. package/src/platform/wellknownconfiguration/wellknown_configuration_pb.d.ts +0 -75
  219. package/src/platform/wellknownconfiguration/wellknown_configuration_pb.js +0 -35
@@ -0,0 +1,1181 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.js"
2
+ // @generated from file policy/attributes/attributes.proto (package policy.attributes, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import { file_buf_validate_validate } from "../../buf/validate/validate_pb.js";
8
+ import type { ActiveStateEnum, MetadataMutable, MetadataUpdateEnum } from "../../common/common_pb.js";
9
+ import { file_common_common } from "../../common/common_pb.js";
10
+ import { file_google_api_annotations } from "../../google/api/annotations_pb.js";
11
+ import type { Attribute, AttributeRuleTypeEnum, Value } from "../objects_pb.js";
12
+ import { file_policy_objects } from "../objects_pb.js";
13
+ import type { AttributeValueSelector, PageRequest, PageResponse } from "../selectors_pb.js";
14
+ import { file_policy_selectors } from "../selectors_pb.js";
15
+ import type { Message } from "@bufbuild/protobuf";
16
+
17
+ /**
18
+ * Describes the file policy/attributes/attributes.proto.
19
+ */
20
+ export const file_policy_attributes_attributes: GenFile = /*@__PURE__*/
21
+ fileDesc("CiJwb2xpY3kvYXR0cmlidXRlcy9hdHRyaWJ1dGVzLnByb3RvEhFwb2xpY3kuYXR0cmlidXRlcyJiChhBdHRyaWJ1dGVLZXlBY2Nlc3NTZXJ2ZXISHgoMYXR0cmlidXRlX2lkGAEgASgJQgi6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ljS2V5VG9WYWx1ZVJlc3BvbnNlIgAShQEKGFJlbW92ZVB1YmxpY0tleUZyb21WYWx1ZRIyLnBvbGljeS5hdHRyaWJ1dGVzLlJlbW92ZVB1YmxpY0tleUZyb21WYWx1ZVJlcXVlc3QaMy5wb2xpY3kuYXR0cmlidXRlcy5SZW1vdmVQdWJsaWNLZXlGcm9tVmFsdWVSZXNwb25zZSIAYgZwcm90bzM", [file_buf_validate_validate, file_common_common, file_google_api_annotations, file_policy_objects, file_policy_selectors]);
22
+
23
+ /**
24
+ * @generated from message policy.attributes.AttributeKeyAccessServer
25
+ */
26
+ export type AttributeKeyAccessServer = Message<"policy.attributes.AttributeKeyAccessServer"> & {
27
+ /**
28
+ * Required
29
+ *
30
+ * @generated from field: string attribute_id = 1;
31
+ */
32
+ attributeId: string;
33
+
34
+ /**
35
+ * Required
36
+ *
37
+ * @generated from field: string key_access_server_id = 2;
38
+ */
39
+ keyAccessServerId: string;
40
+ };
41
+
42
+ /**
43
+ * Describes the message policy.attributes.AttributeKeyAccessServer.
44
+ * Use `create(AttributeKeyAccessServerSchema)` to create a new message.
45
+ */
46
+ export const AttributeKeyAccessServerSchema: GenMessage<AttributeKeyAccessServer> = /*@__PURE__*/
47
+ messageDesc(file_policy_attributes_attributes, 0);
48
+
49
+ /**
50
+ * @generated from message policy.attributes.ValueKeyAccessServer
51
+ */
52
+ export type ValueKeyAccessServer = Message<"policy.attributes.ValueKeyAccessServer"> & {
53
+ /**
54
+ * Required
55
+ *
56
+ * @generated from field: string value_id = 1;
57
+ */
58
+ valueId: string;
59
+
60
+ /**
61
+ * Required
62
+ *
63
+ * @generated from field: string key_access_server_id = 2;
64
+ */
65
+ keyAccessServerId: string;
66
+ };
67
+
68
+ /**
69
+ * Describes the message policy.attributes.ValueKeyAccessServer.
70
+ * Use `create(ValueKeyAccessServerSchema)` to create a new message.
71
+ */
72
+ export const ValueKeyAccessServerSchema: GenMessage<ValueKeyAccessServer> = /*@__PURE__*/
73
+ messageDesc(file_policy_attributes_attributes, 1);
74
+
75
+ /**
76
+ * @generated from message policy.attributes.AttributeKey
77
+ */
78
+ export type AttributeKey = Message<"policy.attributes.AttributeKey"> & {
79
+ /**
80
+ * Required
81
+ *
82
+ * @generated from field: string attribute_id = 1;
83
+ */
84
+ attributeId: string;
85
+
86
+ /**
87
+ * Required
88
+ *
89
+ * @generated from field: string key_id = 2;
90
+ */
91
+ keyId: string;
92
+ };
93
+
94
+ /**
95
+ * Describes the message policy.attributes.AttributeKey.
96
+ * Use `create(AttributeKeySchema)` to create a new message.
97
+ */
98
+ export const AttributeKeySchema: GenMessage<AttributeKey> = /*@__PURE__*/
99
+ messageDesc(file_policy_attributes_attributes, 2);
100
+
101
+ /**
102
+ * @generated from message policy.attributes.ValueKey
103
+ */
104
+ export type ValueKey = Message<"policy.attributes.ValueKey"> & {
105
+ /**
106
+ * Required
107
+ *
108
+ * @generated from field: string value_id = 1;
109
+ */
110
+ valueId: string;
111
+
112
+ /**
113
+ * Required (The id listed in the AsymmetricKeys object)
114
+ *
115
+ * @generated from field: string key_id = 2;
116
+ */
117
+ keyId: string;
118
+ };
119
+
120
+ /**
121
+ * Describes the message policy.attributes.ValueKey.
122
+ * Use `create(ValueKeySchema)` to create a new message.
123
+ */
124
+ export const ValueKeySchema: GenMessage<ValueKey> = /*@__PURE__*/
125
+ messageDesc(file_policy_attributes_attributes, 3);
126
+
127
+ /**
128
+ * @generated from message policy.attributes.ListAttributesRequest
129
+ */
130
+ export type ListAttributesRequest = Message<"policy.attributes.ListAttributesRequest"> & {
131
+ /**
132
+ * Optional
133
+ * ACTIVE by default when not specified
134
+ *
135
+ * @generated from field: common.ActiveStateEnum state = 1;
136
+ */
137
+ state: ActiveStateEnum;
138
+
139
+ /**
140
+ * Optional
141
+ * Namespace ID or name
142
+ *
143
+ * @generated from field: string namespace = 2;
144
+ */
145
+ namespace: string;
146
+
147
+ /**
148
+ * Optional
149
+ *
150
+ * @generated from field: policy.PageRequest pagination = 10;
151
+ */
152
+ pagination?: PageRequest;
153
+ };
154
+
155
+ /**
156
+ * Describes the message policy.attributes.ListAttributesRequest.
157
+ * Use `create(ListAttributesRequestSchema)` to create a new message.
158
+ */
159
+ export const ListAttributesRequestSchema: GenMessage<ListAttributesRequest> = /*@__PURE__*/
160
+ messageDesc(file_policy_attributes_attributes, 4);
161
+
162
+ /**
163
+ * @generated from message policy.attributes.ListAttributesResponse
164
+ */
165
+ export type ListAttributesResponse = Message<"policy.attributes.ListAttributesResponse"> & {
166
+ /**
167
+ * @generated from field: repeated policy.Attribute attributes = 1;
168
+ */
169
+ attributes: Attribute[];
170
+
171
+ /**
172
+ * @generated from field: policy.PageResponse pagination = 10;
173
+ */
174
+ pagination?: PageResponse;
175
+ };
176
+
177
+ /**
178
+ * Describes the message policy.attributes.ListAttributesResponse.
179
+ * Use `create(ListAttributesResponseSchema)` to create a new message.
180
+ */
181
+ export const ListAttributesResponseSchema: GenMessage<ListAttributesResponse> = /*@__PURE__*/
182
+ messageDesc(file_policy_attributes_attributes, 5);
183
+
184
+ /**
185
+ * @generated from message policy.attributes.GetAttributeRequest
186
+ */
187
+ export type GetAttributeRequest = Message<"policy.attributes.GetAttributeRequest"> & {
188
+ /**
189
+ * Deprecated
190
+ *
191
+ * @generated from field: string id = 1 [deprecated = true];
192
+ * @deprecated
193
+ */
194
+ id: string;
195
+
196
+ /**
197
+ * @generated from oneof policy.attributes.GetAttributeRequest.identifier
198
+ */
199
+ identifier: {
200
+ /**
201
+ * option (buf.validate.oneof).required = true; // TODO: enable this when we remove the deprecated field
202
+ *
203
+ * @generated from field: string attribute_id = 2;
204
+ */
205
+ value: string;
206
+ case: "attributeId";
207
+ } | {
208
+ /**
209
+ * @generated from field: string fqn = 3;
210
+ */
211
+ value: string;
212
+ case: "fqn";
213
+ } | { case: undefined; value?: undefined };
214
+ };
215
+
216
+ /**
217
+ * Describes the message policy.attributes.GetAttributeRequest.
218
+ * Use `create(GetAttributeRequestSchema)` to create a new message.
219
+ */
220
+ export const GetAttributeRequestSchema: GenMessage<GetAttributeRequest> = /*@__PURE__*/
221
+ messageDesc(file_policy_attributes_attributes, 6);
222
+
223
+ /**
224
+ * @generated from message policy.attributes.GetAttributeResponse
225
+ */
226
+ export type GetAttributeResponse = Message<"policy.attributes.GetAttributeResponse"> & {
227
+ /**
228
+ * @generated from field: policy.Attribute attribute = 1;
229
+ */
230
+ attribute?: Attribute;
231
+ };
232
+
233
+ /**
234
+ * Describes the message policy.attributes.GetAttributeResponse.
235
+ * Use `create(GetAttributeResponseSchema)` to create a new message.
236
+ */
237
+ export const GetAttributeResponseSchema: GenMessage<GetAttributeResponse> = /*@__PURE__*/
238
+ messageDesc(file_policy_attributes_attributes, 7);
239
+
240
+ /**
241
+ * @generated from message policy.attributes.CreateAttributeRequest
242
+ */
243
+ export type CreateAttributeRequest = Message<"policy.attributes.CreateAttributeRequest"> & {
244
+ /**
245
+ * Required
246
+ *
247
+ * @generated from field: string namespace_id = 1;
248
+ */
249
+ namespaceId: string;
250
+
251
+ /**
252
+ * Required
253
+ *
254
+ * @generated from field: string name = 2;
255
+ */
256
+ name: string;
257
+
258
+ /**
259
+ * Required
260
+ *
261
+ * @generated from field: policy.AttributeRuleTypeEnum rule = 3;
262
+ */
263
+ rule: AttributeRuleTypeEnum;
264
+
265
+ /**
266
+ * Optional
267
+ * Attribute values (when provided) must be alphanumeric strings, allowing hyphens and underscores but not as the first or last character.
268
+ * The stored attribute value will be normalized to lower case.
269
+ *
270
+ * @generated from field: repeated string values = 4;
271
+ */
272
+ values: string[];
273
+
274
+ /**
275
+ * Optional
276
+ *
277
+ * @generated from field: common.MetadataMutable metadata = 100;
278
+ */
279
+ metadata?: MetadataMutable;
280
+ };
281
+
282
+ /**
283
+ * Describes the message policy.attributes.CreateAttributeRequest.
284
+ * Use `create(CreateAttributeRequestSchema)` to create a new message.
285
+ */
286
+ export const CreateAttributeRequestSchema: GenMessage<CreateAttributeRequest> = /*@__PURE__*/
287
+ messageDesc(file_policy_attributes_attributes, 8);
288
+
289
+ /**
290
+ * @generated from message policy.attributes.CreateAttributeResponse
291
+ */
292
+ export type CreateAttributeResponse = Message<"policy.attributes.CreateAttributeResponse"> & {
293
+ /**
294
+ * @generated from field: policy.Attribute attribute = 1;
295
+ */
296
+ attribute?: Attribute;
297
+ };
298
+
299
+ /**
300
+ * Describes the message policy.attributes.CreateAttributeResponse.
301
+ * Use `create(CreateAttributeResponseSchema)` to create a new message.
302
+ */
303
+ export const CreateAttributeResponseSchema: GenMessage<CreateAttributeResponse> = /*@__PURE__*/
304
+ messageDesc(file_policy_attributes_attributes, 9);
305
+
306
+ /**
307
+ * @generated from message policy.attributes.UpdateAttributeRequest
308
+ */
309
+ export type UpdateAttributeRequest = Message<"policy.attributes.UpdateAttributeRequest"> & {
310
+ /**
311
+ * Required
312
+ *
313
+ * @generated from field: string id = 1;
314
+ */
315
+ id: string;
316
+
317
+ /**
318
+ * Optional
319
+ *
320
+ * @generated from field: common.MetadataMutable metadata = 100;
321
+ */
322
+ metadata?: MetadataMutable;
323
+
324
+ /**
325
+ * @generated from field: common.MetadataUpdateEnum metadata_update_behavior = 101;
326
+ */
327
+ metadataUpdateBehavior: MetadataUpdateEnum;
328
+ };
329
+
330
+ /**
331
+ * Describes the message policy.attributes.UpdateAttributeRequest.
332
+ * Use `create(UpdateAttributeRequestSchema)` to create a new message.
333
+ */
334
+ export const UpdateAttributeRequestSchema: GenMessage<UpdateAttributeRequest> = /*@__PURE__*/
335
+ messageDesc(file_policy_attributes_attributes, 10);
336
+
337
+ /**
338
+ * @generated from message policy.attributes.UpdateAttributeResponse
339
+ */
340
+ export type UpdateAttributeResponse = Message<"policy.attributes.UpdateAttributeResponse"> & {
341
+ /**
342
+ * @generated from field: policy.Attribute attribute = 1;
343
+ */
344
+ attribute?: Attribute;
345
+ };
346
+
347
+ /**
348
+ * Describes the message policy.attributes.UpdateAttributeResponse.
349
+ * Use `create(UpdateAttributeResponseSchema)` to create a new message.
350
+ */
351
+ export const UpdateAttributeResponseSchema: GenMessage<UpdateAttributeResponse> = /*@__PURE__*/
352
+ messageDesc(file_policy_attributes_attributes, 11);
353
+
354
+ /**
355
+ * @generated from message policy.attributes.DeactivateAttributeRequest
356
+ */
357
+ export type DeactivateAttributeRequest = Message<"policy.attributes.DeactivateAttributeRequest"> & {
358
+ /**
359
+ * Required
360
+ *
361
+ * @generated from field: string id = 1;
362
+ */
363
+ id: string;
364
+ };
365
+
366
+ /**
367
+ * Describes the message policy.attributes.DeactivateAttributeRequest.
368
+ * Use `create(DeactivateAttributeRequestSchema)` to create a new message.
369
+ */
370
+ export const DeactivateAttributeRequestSchema: GenMessage<DeactivateAttributeRequest> = /*@__PURE__*/
371
+ messageDesc(file_policy_attributes_attributes, 12);
372
+
373
+ /**
374
+ * @generated from message policy.attributes.DeactivateAttributeResponse
375
+ */
376
+ export type DeactivateAttributeResponse = Message<"policy.attributes.DeactivateAttributeResponse"> & {
377
+ /**
378
+ * @generated from field: policy.Attribute attribute = 1;
379
+ */
380
+ attribute?: Attribute;
381
+ };
382
+
383
+ /**
384
+ * Describes the message policy.attributes.DeactivateAttributeResponse.
385
+ * Use `create(DeactivateAttributeResponseSchema)` to create a new message.
386
+ */
387
+ export const DeactivateAttributeResponseSchema: GenMessage<DeactivateAttributeResponse> = /*@__PURE__*/
388
+ messageDesc(file_policy_attributes_attributes, 13);
389
+
390
+ /**
391
+ * /
392
+ * / Value RPC messages
393
+ * /
394
+ *
395
+ * @generated from message policy.attributes.GetAttributeValueRequest
396
+ */
397
+ export type GetAttributeValueRequest = Message<"policy.attributes.GetAttributeValueRequest"> & {
398
+ /**
399
+ * Deprecated
400
+ *
401
+ * @generated from field: string id = 1 [deprecated = true];
402
+ * @deprecated
403
+ */
404
+ id: string;
405
+
406
+ /**
407
+ * @generated from oneof policy.attributes.GetAttributeValueRequest.identifier
408
+ */
409
+ identifier: {
410
+ /**
411
+ * option (buf.validate.oneof).required = true; // TODO: enable this when we remove the deprecated field
412
+ *
413
+ * @generated from field: string value_id = 2;
414
+ */
415
+ value: string;
416
+ case: "valueId";
417
+ } | {
418
+ /**
419
+ * @generated from field: string fqn = 3;
420
+ */
421
+ value: string;
422
+ case: "fqn";
423
+ } | { case: undefined; value?: undefined };
424
+ };
425
+
426
+ /**
427
+ * Describes the message policy.attributes.GetAttributeValueRequest.
428
+ * Use `create(GetAttributeValueRequestSchema)` to create a new message.
429
+ */
430
+ export const GetAttributeValueRequestSchema: GenMessage<GetAttributeValueRequest> = /*@__PURE__*/
431
+ messageDesc(file_policy_attributes_attributes, 14);
432
+
433
+ /**
434
+ * @generated from message policy.attributes.GetAttributeValueResponse
435
+ */
436
+ export type GetAttributeValueResponse = Message<"policy.attributes.GetAttributeValueResponse"> & {
437
+ /**
438
+ * @generated from field: policy.Value value = 1;
439
+ */
440
+ value?: Value;
441
+ };
442
+
443
+ /**
444
+ * Describes the message policy.attributes.GetAttributeValueResponse.
445
+ * Use `create(GetAttributeValueResponseSchema)` to create a new message.
446
+ */
447
+ export const GetAttributeValueResponseSchema: GenMessage<GetAttributeValueResponse> = /*@__PURE__*/
448
+ messageDesc(file_policy_attributes_attributes, 15);
449
+
450
+ /**
451
+ * @generated from message policy.attributes.ListAttributeValuesRequest
452
+ */
453
+ export type ListAttributeValuesRequest = Message<"policy.attributes.ListAttributeValuesRequest"> & {
454
+ /**
455
+ * Required
456
+ *
457
+ * @generated from field: string attribute_id = 1;
458
+ */
459
+ attributeId: string;
460
+
461
+ /**
462
+ * Optional
463
+ * ACTIVE by default when not specified
464
+ *
465
+ * @generated from field: common.ActiveStateEnum state = 2;
466
+ */
467
+ state: ActiveStateEnum;
468
+
469
+ /**
470
+ * Optional
471
+ *
472
+ * @generated from field: policy.PageRequest pagination = 10;
473
+ */
474
+ pagination?: PageRequest;
475
+ };
476
+
477
+ /**
478
+ * Describes the message policy.attributes.ListAttributeValuesRequest.
479
+ * Use `create(ListAttributeValuesRequestSchema)` to create a new message.
480
+ */
481
+ export const ListAttributeValuesRequestSchema: GenMessage<ListAttributeValuesRequest> = /*@__PURE__*/
482
+ messageDesc(file_policy_attributes_attributes, 16);
483
+
484
+ /**
485
+ * @generated from message policy.attributes.ListAttributeValuesResponse
486
+ */
487
+ export type ListAttributeValuesResponse = Message<"policy.attributes.ListAttributeValuesResponse"> & {
488
+ /**
489
+ * @generated from field: repeated policy.Value values = 1;
490
+ */
491
+ values: Value[];
492
+
493
+ /**
494
+ * @generated from field: policy.PageResponse pagination = 10;
495
+ */
496
+ pagination?: PageResponse;
497
+ };
498
+
499
+ /**
500
+ * Describes the message policy.attributes.ListAttributeValuesResponse.
501
+ * Use `create(ListAttributeValuesResponseSchema)` to create a new message.
502
+ */
503
+ export const ListAttributeValuesResponseSchema: GenMessage<ListAttributeValuesResponse> = /*@__PURE__*/
504
+ messageDesc(file_policy_attributes_attributes, 17);
505
+
506
+ /**
507
+ * @generated from message policy.attributes.CreateAttributeValueRequest
508
+ */
509
+ export type CreateAttributeValueRequest = Message<"policy.attributes.CreateAttributeValueRequest"> & {
510
+ /**
511
+ * Required
512
+ *
513
+ * @generated from field: string attribute_id = 1;
514
+ */
515
+ attributeId: string;
516
+
517
+ /**
518
+ * Required
519
+ *
520
+ * @generated from field: string value = 2;
521
+ */
522
+ value: string;
523
+
524
+ /**
525
+ * Optional
526
+ * Common metadata
527
+ *
528
+ * @generated from field: common.MetadataMutable metadata = 100;
529
+ */
530
+ metadata?: MetadataMutable;
531
+ };
532
+
533
+ /**
534
+ * Describes the message policy.attributes.CreateAttributeValueRequest.
535
+ * Use `create(CreateAttributeValueRequestSchema)` to create a new message.
536
+ */
537
+ export const CreateAttributeValueRequestSchema: GenMessage<CreateAttributeValueRequest> = /*@__PURE__*/
538
+ messageDesc(file_policy_attributes_attributes, 18);
539
+
540
+ /**
541
+ * @generated from message policy.attributes.CreateAttributeValueResponse
542
+ */
543
+ export type CreateAttributeValueResponse = Message<"policy.attributes.CreateAttributeValueResponse"> & {
544
+ /**
545
+ * @generated from field: policy.Value value = 1;
546
+ */
547
+ value?: Value;
548
+ };
549
+
550
+ /**
551
+ * Describes the message policy.attributes.CreateAttributeValueResponse.
552
+ * Use `create(CreateAttributeValueResponseSchema)` to create a new message.
553
+ */
554
+ export const CreateAttributeValueResponseSchema: GenMessage<CreateAttributeValueResponse> = /*@__PURE__*/
555
+ messageDesc(file_policy_attributes_attributes, 19);
556
+
557
+ /**
558
+ * @generated from message policy.attributes.UpdateAttributeValueRequest
559
+ */
560
+ export type UpdateAttributeValueRequest = Message<"policy.attributes.UpdateAttributeValueRequest"> & {
561
+ /**
562
+ * Required
563
+ *
564
+ * @generated from field: string id = 1;
565
+ */
566
+ id: string;
567
+
568
+ /**
569
+ * Optional
570
+ * Common metadata
571
+ *
572
+ * @generated from field: common.MetadataMutable metadata = 100;
573
+ */
574
+ metadata?: MetadataMutable;
575
+
576
+ /**
577
+ * @generated from field: common.MetadataUpdateEnum metadata_update_behavior = 101;
578
+ */
579
+ metadataUpdateBehavior: MetadataUpdateEnum;
580
+ };
581
+
582
+ /**
583
+ * Describes the message policy.attributes.UpdateAttributeValueRequest.
584
+ * Use `create(UpdateAttributeValueRequestSchema)` to create a new message.
585
+ */
586
+ export const UpdateAttributeValueRequestSchema: GenMessage<UpdateAttributeValueRequest> = /*@__PURE__*/
587
+ messageDesc(file_policy_attributes_attributes, 20);
588
+
589
+ /**
590
+ * @generated from message policy.attributes.UpdateAttributeValueResponse
591
+ */
592
+ export type UpdateAttributeValueResponse = Message<"policy.attributes.UpdateAttributeValueResponse"> & {
593
+ /**
594
+ * @generated from field: policy.Value value = 1;
595
+ */
596
+ value?: Value;
597
+ };
598
+
599
+ /**
600
+ * Describes the message policy.attributes.UpdateAttributeValueResponse.
601
+ * Use `create(UpdateAttributeValueResponseSchema)` to create a new message.
602
+ */
603
+ export const UpdateAttributeValueResponseSchema: GenMessage<UpdateAttributeValueResponse> = /*@__PURE__*/
604
+ messageDesc(file_policy_attributes_attributes, 21);
605
+
606
+ /**
607
+ * @generated from message policy.attributes.DeactivateAttributeValueRequest
608
+ */
609
+ export type DeactivateAttributeValueRequest = Message<"policy.attributes.DeactivateAttributeValueRequest"> & {
610
+ /**
611
+ * Required
612
+ *
613
+ * @generated from field: string id = 1;
614
+ */
615
+ id: string;
616
+ };
617
+
618
+ /**
619
+ * Describes the message policy.attributes.DeactivateAttributeValueRequest.
620
+ * Use `create(DeactivateAttributeValueRequestSchema)` to create a new message.
621
+ */
622
+ export const DeactivateAttributeValueRequestSchema: GenMessage<DeactivateAttributeValueRequest> = /*@__PURE__*/
623
+ messageDesc(file_policy_attributes_attributes, 22);
624
+
625
+ /**
626
+ * @generated from message policy.attributes.DeactivateAttributeValueResponse
627
+ */
628
+ export type DeactivateAttributeValueResponse = Message<"policy.attributes.DeactivateAttributeValueResponse"> & {
629
+ /**
630
+ * @generated from field: policy.Value value = 1;
631
+ */
632
+ value?: Value;
633
+ };
634
+
635
+ /**
636
+ * Describes the message policy.attributes.DeactivateAttributeValueResponse.
637
+ * Use `create(DeactivateAttributeValueResponseSchema)` to create a new message.
638
+ */
639
+ export const DeactivateAttributeValueResponseSchema: GenMessage<DeactivateAttributeValueResponse> = /*@__PURE__*/
640
+ messageDesc(file_policy_attributes_attributes, 23);
641
+
642
+ /**
643
+ * @generated from message policy.attributes.GetAttributeValuesByFqnsRequest
644
+ */
645
+ export type GetAttributeValuesByFqnsRequest = Message<"policy.attributes.GetAttributeValuesByFqnsRequest"> & {
646
+ /**
647
+ * Required
648
+ * Fully Qualified Names of attribute values (i.e. https://<namespace>/attr/<attribute_name>/value/<value_name>), normalized to lower case.
649
+ *
650
+ * @generated from field: repeated string fqns = 1;
651
+ */
652
+ fqns: string[];
653
+
654
+ /**
655
+ * Optional
656
+ * This attribute value selector is not used currently, but left here for future use.
657
+ *
658
+ * @generated from field: policy.AttributeValueSelector with_value = 2;
659
+ */
660
+ withValue?: AttributeValueSelector;
661
+ };
662
+
663
+ /**
664
+ * Describes the message policy.attributes.GetAttributeValuesByFqnsRequest.
665
+ * Use `create(GetAttributeValuesByFqnsRequestSchema)` to create a new message.
666
+ */
667
+ export const GetAttributeValuesByFqnsRequestSchema: GenMessage<GetAttributeValuesByFqnsRequest> = /*@__PURE__*/
668
+ messageDesc(file_policy_attributes_attributes, 24);
669
+
670
+ /**
671
+ * @generated from message policy.attributes.GetAttributeValuesByFqnsResponse
672
+ */
673
+ export type GetAttributeValuesByFqnsResponse = Message<"policy.attributes.GetAttributeValuesByFqnsResponse"> & {
674
+ /**
675
+ * map of FQNs to complete attributes and the one selected value
676
+ *
677
+ * @generated from field: map<string, policy.attributes.GetAttributeValuesByFqnsResponse.AttributeAndValue> fqn_attribute_values = 1;
678
+ */
679
+ fqnAttributeValues: { [key: string]: GetAttributeValuesByFqnsResponse_AttributeAndValue };
680
+ };
681
+
682
+ /**
683
+ * Describes the message policy.attributes.GetAttributeValuesByFqnsResponse.
684
+ * Use `create(GetAttributeValuesByFqnsResponseSchema)` to create a new message.
685
+ */
686
+ export const GetAttributeValuesByFqnsResponseSchema: GenMessage<GetAttributeValuesByFqnsResponse> = /*@__PURE__*/
687
+ messageDesc(file_policy_attributes_attributes, 25);
688
+
689
+ /**
690
+ * @generated from message policy.attributes.GetAttributeValuesByFqnsResponse.AttributeAndValue
691
+ */
692
+ export type GetAttributeValuesByFqnsResponse_AttributeAndValue = Message<"policy.attributes.GetAttributeValuesByFqnsResponse.AttributeAndValue"> & {
693
+ /**
694
+ * @generated from field: policy.Attribute attribute = 1;
695
+ */
696
+ attribute?: Attribute;
697
+
698
+ /**
699
+ * @generated from field: policy.Value value = 2;
700
+ */
701
+ value?: Value;
702
+ };
703
+
704
+ /**
705
+ * Describes the message policy.attributes.GetAttributeValuesByFqnsResponse.AttributeAndValue.
706
+ * Use `create(GetAttributeValuesByFqnsResponse_AttributeAndValueSchema)` to create a new message.
707
+ */
708
+ export const GetAttributeValuesByFqnsResponse_AttributeAndValueSchema: GenMessage<GetAttributeValuesByFqnsResponse_AttributeAndValue> = /*@__PURE__*/
709
+ messageDesc(file_policy_attributes_attributes, 25, 0);
710
+
711
+ /**
712
+ * @generated from message policy.attributes.AssignKeyAccessServerToAttributeRequest
713
+ */
714
+ export type AssignKeyAccessServerToAttributeRequest = Message<"policy.attributes.AssignKeyAccessServerToAttributeRequest"> & {
715
+ /**
716
+ * Required
717
+ *
718
+ * @generated from field: policy.attributes.AttributeKeyAccessServer attribute_key_access_server = 1;
719
+ */
720
+ attributeKeyAccessServer?: AttributeKeyAccessServer;
721
+ };
722
+
723
+ /**
724
+ * Describes the message policy.attributes.AssignKeyAccessServerToAttributeRequest.
725
+ * Use `create(AssignKeyAccessServerToAttributeRequestSchema)` to create a new message.
726
+ */
727
+ export const AssignKeyAccessServerToAttributeRequestSchema: GenMessage<AssignKeyAccessServerToAttributeRequest> = /*@__PURE__*/
728
+ messageDesc(file_policy_attributes_attributes, 26);
729
+
730
+ /**
731
+ * @generated from message policy.attributes.AssignKeyAccessServerToAttributeResponse
732
+ */
733
+ export type AssignKeyAccessServerToAttributeResponse = Message<"policy.attributes.AssignKeyAccessServerToAttributeResponse"> & {
734
+ /**
735
+ * @generated from field: policy.attributes.AttributeKeyAccessServer attribute_key_access_server = 1;
736
+ */
737
+ attributeKeyAccessServer?: AttributeKeyAccessServer;
738
+ };
739
+
740
+ /**
741
+ * Describes the message policy.attributes.AssignKeyAccessServerToAttributeResponse.
742
+ * Use `create(AssignKeyAccessServerToAttributeResponseSchema)` to create a new message.
743
+ */
744
+ export const AssignKeyAccessServerToAttributeResponseSchema: GenMessage<AssignKeyAccessServerToAttributeResponse> = /*@__PURE__*/
745
+ messageDesc(file_policy_attributes_attributes, 27);
746
+
747
+ /**
748
+ * @generated from message policy.attributes.RemoveKeyAccessServerFromAttributeRequest
749
+ */
750
+ export type RemoveKeyAccessServerFromAttributeRequest = Message<"policy.attributes.RemoveKeyAccessServerFromAttributeRequest"> & {
751
+ /**
752
+ * Required
753
+ *
754
+ * @generated from field: policy.attributes.AttributeKeyAccessServer attribute_key_access_server = 1;
755
+ */
756
+ attributeKeyAccessServer?: AttributeKeyAccessServer;
757
+ };
758
+
759
+ /**
760
+ * Describes the message policy.attributes.RemoveKeyAccessServerFromAttributeRequest.
761
+ * Use `create(RemoveKeyAccessServerFromAttributeRequestSchema)` to create a new message.
762
+ */
763
+ export const RemoveKeyAccessServerFromAttributeRequestSchema: GenMessage<RemoveKeyAccessServerFromAttributeRequest> = /*@__PURE__*/
764
+ messageDesc(file_policy_attributes_attributes, 28);
765
+
766
+ /**
767
+ * @generated from message policy.attributes.RemoveKeyAccessServerFromAttributeResponse
768
+ */
769
+ export type RemoveKeyAccessServerFromAttributeResponse = Message<"policy.attributes.RemoveKeyAccessServerFromAttributeResponse"> & {
770
+ /**
771
+ * @generated from field: policy.attributes.AttributeKeyAccessServer attribute_key_access_server = 1;
772
+ */
773
+ attributeKeyAccessServer?: AttributeKeyAccessServer;
774
+ };
775
+
776
+ /**
777
+ * Describes the message policy.attributes.RemoveKeyAccessServerFromAttributeResponse.
778
+ * Use `create(RemoveKeyAccessServerFromAttributeResponseSchema)` to create a new message.
779
+ */
780
+ export const RemoveKeyAccessServerFromAttributeResponseSchema: GenMessage<RemoveKeyAccessServerFromAttributeResponse> = /*@__PURE__*/
781
+ messageDesc(file_policy_attributes_attributes, 29);
782
+
783
+ /**
784
+ * @generated from message policy.attributes.AssignKeyAccessServerToValueRequest
785
+ */
786
+ export type AssignKeyAccessServerToValueRequest = Message<"policy.attributes.AssignKeyAccessServerToValueRequest"> & {
787
+ /**
788
+ * Required
789
+ *
790
+ * @generated from field: policy.attributes.ValueKeyAccessServer value_key_access_server = 1;
791
+ */
792
+ valueKeyAccessServer?: ValueKeyAccessServer;
793
+ };
794
+
795
+ /**
796
+ * Describes the message policy.attributes.AssignKeyAccessServerToValueRequest.
797
+ * Use `create(AssignKeyAccessServerToValueRequestSchema)` to create a new message.
798
+ */
799
+ export const AssignKeyAccessServerToValueRequestSchema: GenMessage<AssignKeyAccessServerToValueRequest> = /*@__PURE__*/
800
+ messageDesc(file_policy_attributes_attributes, 30);
801
+
802
+ /**
803
+ * @generated from message policy.attributes.AssignKeyAccessServerToValueResponse
804
+ */
805
+ export type AssignKeyAccessServerToValueResponse = Message<"policy.attributes.AssignKeyAccessServerToValueResponse"> & {
806
+ /**
807
+ * @generated from field: policy.attributes.ValueKeyAccessServer value_key_access_server = 1;
808
+ */
809
+ valueKeyAccessServer?: ValueKeyAccessServer;
810
+ };
811
+
812
+ /**
813
+ * Describes the message policy.attributes.AssignKeyAccessServerToValueResponse.
814
+ * Use `create(AssignKeyAccessServerToValueResponseSchema)` to create a new message.
815
+ */
816
+ export const AssignKeyAccessServerToValueResponseSchema: GenMessage<AssignKeyAccessServerToValueResponse> = /*@__PURE__*/
817
+ messageDesc(file_policy_attributes_attributes, 31);
818
+
819
+ /**
820
+ * @generated from message policy.attributes.RemoveKeyAccessServerFromValueRequest
821
+ */
822
+ export type RemoveKeyAccessServerFromValueRequest = Message<"policy.attributes.RemoveKeyAccessServerFromValueRequest"> & {
823
+ /**
824
+ * Required
825
+ *
826
+ * @generated from field: policy.attributes.ValueKeyAccessServer value_key_access_server = 1;
827
+ */
828
+ valueKeyAccessServer?: ValueKeyAccessServer;
829
+ };
830
+
831
+ /**
832
+ * Describes the message policy.attributes.RemoveKeyAccessServerFromValueRequest.
833
+ * Use `create(RemoveKeyAccessServerFromValueRequestSchema)` to create a new message.
834
+ */
835
+ export const RemoveKeyAccessServerFromValueRequestSchema: GenMessage<RemoveKeyAccessServerFromValueRequest> = /*@__PURE__*/
836
+ messageDesc(file_policy_attributes_attributes, 32);
837
+
838
+ /**
839
+ * @generated from message policy.attributes.RemoveKeyAccessServerFromValueResponse
840
+ */
841
+ export type RemoveKeyAccessServerFromValueResponse = Message<"policy.attributes.RemoveKeyAccessServerFromValueResponse"> & {
842
+ /**
843
+ * @generated from field: policy.attributes.ValueKeyAccessServer value_key_access_server = 1;
844
+ */
845
+ valueKeyAccessServer?: ValueKeyAccessServer;
846
+ };
847
+
848
+ /**
849
+ * Describes the message policy.attributes.RemoveKeyAccessServerFromValueResponse.
850
+ * Use `create(RemoveKeyAccessServerFromValueResponseSchema)` to create a new message.
851
+ */
852
+ export const RemoveKeyAccessServerFromValueResponseSchema: GenMessage<RemoveKeyAccessServerFromValueResponse> = /*@__PURE__*/
853
+ messageDesc(file_policy_attributes_attributes, 33);
854
+
855
+ /**
856
+ * @generated from message policy.attributes.AssignPublicKeyToAttributeRequest
857
+ */
858
+ export type AssignPublicKeyToAttributeRequest = Message<"policy.attributes.AssignPublicKeyToAttributeRequest"> & {
859
+ /**
860
+ * Required
861
+ *
862
+ * @generated from field: policy.attributes.AttributeKey attribute_key = 1;
863
+ */
864
+ attributeKey?: AttributeKey;
865
+ };
866
+
867
+ /**
868
+ * Describes the message policy.attributes.AssignPublicKeyToAttributeRequest.
869
+ * Use `create(AssignPublicKeyToAttributeRequestSchema)` to create a new message.
870
+ */
871
+ export const AssignPublicKeyToAttributeRequestSchema: GenMessage<AssignPublicKeyToAttributeRequest> = /*@__PURE__*/
872
+ messageDesc(file_policy_attributes_attributes, 34);
873
+
874
+ /**
875
+ * @generated from message policy.attributes.AssignPublicKeyToAttributeResponse
876
+ */
877
+ export type AssignPublicKeyToAttributeResponse = Message<"policy.attributes.AssignPublicKeyToAttributeResponse"> & {
878
+ /**
879
+ * Required
880
+ *
881
+ * @generated from field: policy.attributes.AttributeKey attribute_key = 1;
882
+ */
883
+ attributeKey?: AttributeKey;
884
+ };
885
+
886
+ /**
887
+ * Describes the message policy.attributes.AssignPublicKeyToAttributeResponse.
888
+ * Use `create(AssignPublicKeyToAttributeResponseSchema)` to create a new message.
889
+ */
890
+ export const AssignPublicKeyToAttributeResponseSchema: GenMessage<AssignPublicKeyToAttributeResponse> = /*@__PURE__*/
891
+ messageDesc(file_policy_attributes_attributes, 35);
892
+
893
+ /**
894
+ * @generated from message policy.attributes.RemovePublicKeyFromAttributeRequest
895
+ */
896
+ export type RemovePublicKeyFromAttributeRequest = Message<"policy.attributes.RemovePublicKeyFromAttributeRequest"> & {
897
+ /**
898
+ * Required
899
+ *
900
+ * @generated from field: policy.attributes.AttributeKey attribute_key = 1;
901
+ */
902
+ attributeKey?: AttributeKey;
903
+ };
904
+
905
+ /**
906
+ * Describes the message policy.attributes.RemovePublicKeyFromAttributeRequest.
907
+ * Use `create(RemovePublicKeyFromAttributeRequestSchema)` to create a new message.
908
+ */
909
+ export const RemovePublicKeyFromAttributeRequestSchema: GenMessage<RemovePublicKeyFromAttributeRequest> = /*@__PURE__*/
910
+ messageDesc(file_policy_attributes_attributes, 36);
911
+
912
+ /**
913
+ * @generated from message policy.attributes.RemovePublicKeyFromAttributeResponse
914
+ */
915
+ export type RemovePublicKeyFromAttributeResponse = Message<"policy.attributes.RemovePublicKeyFromAttributeResponse"> & {
916
+ /**
917
+ * Required
918
+ *
919
+ * @generated from field: policy.attributes.AttributeKey attribute_key = 1;
920
+ */
921
+ attributeKey?: AttributeKey;
922
+ };
923
+
924
+ /**
925
+ * Describes the message policy.attributes.RemovePublicKeyFromAttributeResponse.
926
+ * Use `create(RemovePublicKeyFromAttributeResponseSchema)` to create a new message.
927
+ */
928
+ export const RemovePublicKeyFromAttributeResponseSchema: GenMessage<RemovePublicKeyFromAttributeResponse> = /*@__PURE__*/
929
+ messageDesc(file_policy_attributes_attributes, 37);
930
+
931
+ /**
932
+ * @generated from message policy.attributes.AssignPublicKeyToValueRequest
933
+ */
934
+ export type AssignPublicKeyToValueRequest = Message<"policy.attributes.AssignPublicKeyToValueRequest"> & {
935
+ /**
936
+ * Required
937
+ *
938
+ * @generated from field: policy.attributes.ValueKey value_key = 1;
939
+ */
940
+ valueKey?: ValueKey;
941
+ };
942
+
943
+ /**
944
+ * Describes the message policy.attributes.AssignPublicKeyToValueRequest.
945
+ * Use `create(AssignPublicKeyToValueRequestSchema)` to create a new message.
946
+ */
947
+ export const AssignPublicKeyToValueRequestSchema: GenMessage<AssignPublicKeyToValueRequest> = /*@__PURE__*/
948
+ messageDesc(file_policy_attributes_attributes, 38);
949
+
950
+ /**
951
+ * @generated from message policy.attributes.AssignPublicKeyToValueResponse
952
+ */
953
+ export type AssignPublicKeyToValueResponse = Message<"policy.attributes.AssignPublicKeyToValueResponse"> & {
954
+ /**
955
+ * Required
956
+ *
957
+ * @generated from field: policy.attributes.ValueKey value_key = 1;
958
+ */
959
+ valueKey?: ValueKey;
960
+ };
961
+
962
+ /**
963
+ * Describes the message policy.attributes.AssignPublicKeyToValueResponse.
964
+ * Use `create(AssignPublicKeyToValueResponseSchema)` to create a new message.
965
+ */
966
+ export const AssignPublicKeyToValueResponseSchema: GenMessage<AssignPublicKeyToValueResponse> = /*@__PURE__*/
967
+ messageDesc(file_policy_attributes_attributes, 39);
968
+
969
+ /**
970
+ * @generated from message policy.attributes.RemovePublicKeyFromValueRequest
971
+ */
972
+ export type RemovePublicKeyFromValueRequest = Message<"policy.attributes.RemovePublicKeyFromValueRequest"> & {
973
+ /**
974
+ * Required
975
+ *
976
+ * @generated from field: policy.attributes.ValueKey value_key = 1;
977
+ */
978
+ valueKey?: ValueKey;
979
+ };
980
+
981
+ /**
982
+ * Describes the message policy.attributes.RemovePublicKeyFromValueRequest.
983
+ * Use `create(RemovePublicKeyFromValueRequestSchema)` to create a new message.
984
+ */
985
+ export const RemovePublicKeyFromValueRequestSchema: GenMessage<RemovePublicKeyFromValueRequest> = /*@__PURE__*/
986
+ messageDesc(file_policy_attributes_attributes, 40);
987
+
988
+ /**
989
+ * @generated from message policy.attributes.RemovePublicKeyFromValueResponse
990
+ */
991
+ export type RemovePublicKeyFromValueResponse = Message<"policy.attributes.RemovePublicKeyFromValueResponse"> & {
992
+ /**
993
+ * Required
994
+ *
995
+ * @generated from field: policy.attributes.ValueKey value_key = 1;
996
+ */
997
+ valueKey?: ValueKey;
998
+ };
999
+
1000
+ /**
1001
+ * Describes the message policy.attributes.RemovePublicKeyFromValueResponse.
1002
+ * Use `create(RemovePublicKeyFromValueResponseSchema)` to create a new message.
1003
+ */
1004
+ export const RemovePublicKeyFromValueResponseSchema: GenMessage<RemovePublicKeyFromValueResponse> = /*@__PURE__*/
1005
+ messageDesc(file_policy_attributes_attributes, 41);
1006
+
1007
+ /**
1008
+ * /
1009
+ * / Attribute Service
1010
+ * /
1011
+ *
1012
+ * @generated from service policy.attributes.AttributesService
1013
+ */
1014
+ export const AttributesService: GenService<{
1015
+ /**
1016
+ * --------------------------------------*
1017
+ * Attribute RPCs
1018
+ * ---------------------------------------
1019
+ *
1020
+ * @generated from rpc policy.attributes.AttributesService.ListAttributes
1021
+ */
1022
+ listAttributes: {
1023
+ methodKind: "unary";
1024
+ input: typeof ListAttributesRequestSchema;
1025
+ output: typeof ListAttributesResponseSchema;
1026
+ },
1027
+ /**
1028
+ * @generated from rpc policy.attributes.AttributesService.ListAttributeValues
1029
+ */
1030
+ listAttributeValues: {
1031
+ methodKind: "unary";
1032
+ input: typeof ListAttributeValuesRequestSchema;
1033
+ output: typeof ListAttributeValuesResponseSchema;
1034
+ },
1035
+ /**
1036
+ * @generated from rpc policy.attributes.AttributesService.GetAttribute
1037
+ */
1038
+ getAttribute: {
1039
+ methodKind: "unary";
1040
+ input: typeof GetAttributeRequestSchema;
1041
+ output: typeof GetAttributeResponseSchema;
1042
+ },
1043
+ /**
1044
+ * @generated from rpc policy.attributes.AttributesService.GetAttributeValuesByFqns
1045
+ */
1046
+ getAttributeValuesByFqns: {
1047
+ methodKind: "unary";
1048
+ input: typeof GetAttributeValuesByFqnsRequestSchema;
1049
+ output: typeof GetAttributeValuesByFqnsResponseSchema;
1050
+ },
1051
+ /**
1052
+ * @generated from rpc policy.attributes.AttributesService.CreateAttribute
1053
+ */
1054
+ createAttribute: {
1055
+ methodKind: "unary";
1056
+ input: typeof CreateAttributeRequestSchema;
1057
+ output: typeof CreateAttributeResponseSchema;
1058
+ },
1059
+ /**
1060
+ * @generated from rpc policy.attributes.AttributesService.UpdateAttribute
1061
+ */
1062
+ updateAttribute: {
1063
+ methodKind: "unary";
1064
+ input: typeof UpdateAttributeRequestSchema;
1065
+ output: typeof UpdateAttributeResponseSchema;
1066
+ },
1067
+ /**
1068
+ * @generated from rpc policy.attributes.AttributesService.DeactivateAttribute
1069
+ */
1070
+ deactivateAttribute: {
1071
+ methodKind: "unary";
1072
+ input: typeof DeactivateAttributeRequestSchema;
1073
+ output: typeof DeactivateAttributeResponseSchema;
1074
+ },
1075
+ /**
1076
+ * --------------------------------------*
1077
+ * Value RPCs
1078
+ * ---------------------------------------
1079
+ *
1080
+ * @generated from rpc policy.attributes.AttributesService.GetAttributeValue
1081
+ */
1082
+ getAttributeValue: {
1083
+ methodKind: "unary";
1084
+ input: typeof GetAttributeValueRequestSchema;
1085
+ output: typeof GetAttributeValueResponseSchema;
1086
+ },
1087
+ /**
1088
+ * @generated from rpc policy.attributes.AttributesService.CreateAttributeValue
1089
+ */
1090
+ createAttributeValue: {
1091
+ methodKind: "unary";
1092
+ input: typeof CreateAttributeValueRequestSchema;
1093
+ output: typeof CreateAttributeValueResponseSchema;
1094
+ },
1095
+ /**
1096
+ * @generated from rpc policy.attributes.AttributesService.UpdateAttributeValue
1097
+ */
1098
+ updateAttributeValue: {
1099
+ methodKind: "unary";
1100
+ input: typeof UpdateAttributeValueRequestSchema;
1101
+ output: typeof UpdateAttributeValueResponseSchema;
1102
+ },
1103
+ /**
1104
+ * @generated from rpc policy.attributes.AttributesService.DeactivateAttributeValue
1105
+ */
1106
+ deactivateAttributeValue: {
1107
+ methodKind: "unary";
1108
+ input: typeof DeactivateAttributeValueRequestSchema;
1109
+ output: typeof DeactivateAttributeValueResponseSchema;
1110
+ },
1111
+ /**
1112
+ * --------------------------------------*
1113
+ * Attribute <> Key Access Server RPCs
1114
+ * ---------------------------------------
1115
+ *
1116
+ * @generated from rpc policy.attributes.AttributesService.AssignKeyAccessServerToAttribute
1117
+ */
1118
+ assignKeyAccessServerToAttribute: {
1119
+ methodKind: "unary";
1120
+ input: typeof AssignKeyAccessServerToAttributeRequestSchema;
1121
+ output: typeof AssignKeyAccessServerToAttributeResponseSchema;
1122
+ },
1123
+ /**
1124
+ * @generated from rpc policy.attributes.AttributesService.RemoveKeyAccessServerFromAttribute
1125
+ */
1126
+ removeKeyAccessServerFromAttribute: {
1127
+ methodKind: "unary";
1128
+ input: typeof RemoveKeyAccessServerFromAttributeRequestSchema;
1129
+ output: typeof RemoveKeyAccessServerFromAttributeResponseSchema;
1130
+ },
1131
+ /**
1132
+ * @generated from rpc policy.attributes.AttributesService.AssignKeyAccessServerToValue
1133
+ */
1134
+ assignKeyAccessServerToValue: {
1135
+ methodKind: "unary";
1136
+ input: typeof AssignKeyAccessServerToValueRequestSchema;
1137
+ output: typeof AssignKeyAccessServerToValueResponseSchema;
1138
+ },
1139
+ /**
1140
+ * @generated from rpc policy.attributes.AttributesService.RemoveKeyAccessServerFromValue
1141
+ */
1142
+ removeKeyAccessServerFromValue: {
1143
+ methodKind: "unary";
1144
+ input: typeof RemoveKeyAccessServerFromValueRequestSchema;
1145
+ output: typeof RemoveKeyAccessServerFromValueResponseSchema;
1146
+ },
1147
+ /**
1148
+ * @generated from rpc policy.attributes.AttributesService.AssignPublicKeyToAttribute
1149
+ */
1150
+ assignPublicKeyToAttribute: {
1151
+ methodKind: "unary";
1152
+ input: typeof AssignPublicKeyToAttributeRequestSchema;
1153
+ output: typeof AssignPublicKeyToAttributeResponseSchema;
1154
+ },
1155
+ /**
1156
+ * @generated from rpc policy.attributes.AttributesService.RemovePublicKeyFromAttribute
1157
+ */
1158
+ removePublicKeyFromAttribute: {
1159
+ methodKind: "unary";
1160
+ input: typeof RemovePublicKeyFromAttributeRequestSchema;
1161
+ output: typeof RemovePublicKeyFromAttributeResponseSchema;
1162
+ },
1163
+ /**
1164
+ * @generated from rpc policy.attributes.AttributesService.AssignPublicKeyToValue
1165
+ */
1166
+ assignPublicKeyToValue: {
1167
+ methodKind: "unary";
1168
+ input: typeof AssignPublicKeyToValueRequestSchema;
1169
+ output: typeof AssignPublicKeyToValueResponseSchema;
1170
+ },
1171
+ /**
1172
+ * @generated from rpc policy.attributes.AttributesService.RemovePublicKeyFromValue
1173
+ */
1174
+ removePublicKeyFromValue: {
1175
+ methodKind: "unary";
1176
+ input: typeof RemovePublicKeyFromValueRequestSchema;
1177
+ output: typeof RemovePublicKeyFromValueResponseSchema;
1178
+ },
1179
+ }> = /*@__PURE__*/
1180
+ serviceDesc(file_policy_attributes_attributes, 0);
1181
+