otdf-python 0.1.9__py3-none-any.whl → 0.3.1__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.
Files changed (144) hide show
  1. otdf_python/__init__.py +25 -0
  2. otdf_python/__main__.py +12 -0
  3. otdf_python/address_normalizer.py +84 -0
  4. otdf_python/aesgcm.py +55 -0
  5. otdf_python/assertion_config.py +84 -0
  6. otdf_python/asym_crypto.py +85 -0
  7. otdf_python/asym_decryption.py +53 -0
  8. otdf_python/asym_encryption.py +75 -0
  9. otdf_python/auth_headers.py +21 -0
  10. otdf_python/autoconfigure_utils.py +113 -0
  11. otdf_python/cli.py +570 -0
  12. otdf_python/collection_store.py +41 -0
  13. otdf_python/collection_store_impl.py +22 -0
  14. otdf_python/config.py +69 -0
  15. otdf_python/connect_client.py +0 -0
  16. otdf_python/constants.py +1 -0
  17. otdf_python/crypto_utils.py +78 -0
  18. otdf_python/dpop.py +81 -0
  19. otdf_python/ecc_mode.py +32 -0
  20. otdf_python/eckeypair.py +75 -0
  21. otdf_python/header.py +143 -0
  22. otdf_python/invalid_zip_exception.py +8 -0
  23. otdf_python/kas_client.py +603 -0
  24. otdf_python/kas_connect_rpc_client.py +207 -0
  25. otdf_python/kas_info.py +25 -0
  26. otdf_python/kas_key_cache.py +52 -0
  27. otdf_python/key_type.py +31 -0
  28. otdf_python/key_type_constants.py +43 -0
  29. otdf_python/manifest.py +215 -0
  30. otdf_python/nanotdf.py +553 -0
  31. otdf_python/nanotdf_ecdsa_struct.py +132 -0
  32. otdf_python/nanotdf_type.py +43 -0
  33. otdf_python/policy_binding_serializer.py +39 -0
  34. otdf_python/policy_info.py +78 -0
  35. otdf_python/policy_object.py +22 -0
  36. otdf_python/policy_stub.py +2 -0
  37. otdf_python/resource_locator.py +44 -0
  38. otdf_python/sdk.py +528 -0
  39. otdf_python/sdk_builder.py +448 -0
  40. otdf_python/sdk_exceptions.py +16 -0
  41. otdf_python/symmetric_and_payload_config.py +30 -0
  42. otdf_python/tdf.py +479 -0
  43. otdf_python/tdf_reader.py +153 -0
  44. otdf_python/tdf_writer.py +23 -0
  45. otdf_python/token_source.py +34 -0
  46. otdf_python/version.py +57 -0
  47. otdf_python/zip_reader.py +47 -0
  48. otdf_python/zip_writer.py +70 -0
  49. otdf_python-0.3.1.dist-info/METADATA +231 -0
  50. otdf_python-0.3.1.dist-info/RECORD +137 -0
  51. {otdf_python-0.1.9.dist-info → otdf_python-0.3.1.dist-info}/WHEEL +1 -2
  52. {otdf_python-0.1.9.dist-info → otdf_python-0.3.1.dist-info/licenses}/LICENSE +1 -1
  53. otdf_python_proto/__init__.py +37 -0
  54. otdf_python_proto/authorization/__init__.py +1 -0
  55. otdf_python_proto/authorization/authorization_pb2.py +80 -0
  56. otdf_python_proto/authorization/authorization_pb2.pyi +161 -0
  57. otdf_python_proto/authorization/authorization_pb2_connect.py +191 -0
  58. otdf_python_proto/authorization/v2/authorization_pb2.py +105 -0
  59. otdf_python_proto/authorization/v2/authorization_pb2.pyi +134 -0
  60. otdf_python_proto/authorization/v2/authorization_pb2_connect.py +233 -0
  61. otdf_python_proto/common/__init__.py +1 -0
  62. otdf_python_proto/common/common_pb2.py +52 -0
  63. otdf_python_proto/common/common_pb2.pyi +61 -0
  64. otdf_python_proto/entity/__init__.py +1 -0
  65. otdf_python_proto/entity/entity_pb2.py +47 -0
  66. otdf_python_proto/entity/entity_pb2.pyi +50 -0
  67. otdf_python_proto/entityresolution/__init__.py +1 -0
  68. otdf_python_proto/entityresolution/entity_resolution_pb2.py +57 -0
  69. otdf_python_proto/entityresolution/entity_resolution_pb2.pyi +55 -0
  70. otdf_python_proto/entityresolution/entity_resolution_pb2_connect.py +149 -0
  71. otdf_python_proto/entityresolution/v2/entity_resolution_pb2.py +55 -0
  72. otdf_python_proto/entityresolution/v2/entity_resolution_pb2.pyi +55 -0
  73. otdf_python_proto/entityresolution/v2/entity_resolution_pb2_connect.py +149 -0
  74. otdf_python_proto/kas/__init__.py +9 -0
  75. otdf_python_proto/kas/kas_pb2.py +103 -0
  76. otdf_python_proto/kas/kas_pb2.pyi +170 -0
  77. otdf_python_proto/kas/kas_pb2_connect.py +192 -0
  78. otdf_python_proto/legacy_grpc/__init__.py +1 -0
  79. otdf_python_proto/legacy_grpc/authorization/authorization_pb2_grpc.py +163 -0
  80. otdf_python_proto/legacy_grpc/authorization/v2/authorization_pb2_grpc.py +206 -0
  81. otdf_python_proto/legacy_grpc/common/common_pb2_grpc.py +4 -0
  82. otdf_python_proto/legacy_grpc/entity/entity_pb2_grpc.py +4 -0
  83. otdf_python_proto/legacy_grpc/entityresolution/entity_resolution_pb2_grpc.py +122 -0
  84. otdf_python_proto/legacy_grpc/entityresolution/v2/entity_resolution_pb2_grpc.py +120 -0
  85. otdf_python_proto/legacy_grpc/kas/kas_pb2_grpc.py +172 -0
  86. otdf_python_proto/legacy_grpc/logger/audit/test_pb2_grpc.py +4 -0
  87. otdf_python_proto/legacy_grpc/policy/actions/actions_pb2_grpc.py +249 -0
  88. otdf_python_proto/legacy_grpc/policy/attributes/attributes_pb2_grpc.py +873 -0
  89. otdf_python_proto/legacy_grpc/policy/kasregistry/key_access_server_registry_pb2_grpc.py +602 -0
  90. otdf_python_proto/legacy_grpc/policy/keymanagement/key_management_pb2_grpc.py +251 -0
  91. otdf_python_proto/legacy_grpc/policy/namespaces/namespaces_pb2_grpc.py +427 -0
  92. otdf_python_proto/legacy_grpc/policy/objects_pb2_grpc.py +4 -0
  93. otdf_python_proto/legacy_grpc/policy/registeredresources/registered_resources_pb2_grpc.py +524 -0
  94. otdf_python_proto/legacy_grpc/policy/resourcemapping/resource_mapping_pb2_grpc.py +516 -0
  95. otdf_python_proto/legacy_grpc/policy/selectors_pb2_grpc.py +4 -0
  96. otdf_python_proto/legacy_grpc/policy/subjectmapping/subject_mapping_pb2_grpc.py +551 -0
  97. otdf_python_proto/legacy_grpc/policy/unsafe/unsafe_pb2_grpc.py +485 -0
  98. otdf_python_proto/legacy_grpc/wellknownconfiguration/wellknown_configuration_pb2_grpc.py +77 -0
  99. otdf_python_proto/logger/__init__.py +1 -0
  100. otdf_python_proto/logger/audit/test_pb2.py +43 -0
  101. otdf_python_proto/logger/audit/test_pb2.pyi +45 -0
  102. otdf_python_proto/policy/__init__.py +1 -0
  103. otdf_python_proto/policy/actions/actions_pb2.py +75 -0
  104. otdf_python_proto/policy/actions/actions_pb2.pyi +87 -0
  105. otdf_python_proto/policy/actions/actions_pb2_connect.py +275 -0
  106. otdf_python_proto/policy/attributes/attributes_pb2.py +234 -0
  107. otdf_python_proto/policy/attributes/attributes_pb2.pyi +328 -0
  108. otdf_python_proto/policy/attributes/attributes_pb2_connect.py +863 -0
  109. otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.py +266 -0
  110. otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.pyi +450 -0
  111. otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2_connect.py +611 -0
  112. otdf_python_proto/policy/keymanagement/key_management_pb2.py +79 -0
  113. otdf_python_proto/policy/keymanagement/key_management_pb2.pyi +87 -0
  114. otdf_python_proto/policy/keymanagement/key_management_pb2_connect.py +275 -0
  115. otdf_python_proto/policy/namespaces/namespaces_pb2.py +117 -0
  116. otdf_python_proto/policy/namespaces/namespaces_pb2.pyi +147 -0
  117. otdf_python_proto/policy/namespaces/namespaces_pb2_connect.py +443 -0
  118. otdf_python_proto/policy/objects_pb2.py +150 -0
  119. otdf_python_proto/policy/objects_pb2.pyi +464 -0
  120. otdf_python_proto/policy/registeredresources/registered_resources_pb2.py +139 -0
  121. otdf_python_proto/policy/registeredresources/registered_resources_pb2.pyi +196 -0
  122. otdf_python_proto/policy/registeredresources/registered_resources_pb2_connect.py +527 -0
  123. otdf_python_proto/policy/resourcemapping/resource_mapping_pb2.py +139 -0
  124. otdf_python_proto/policy/resourcemapping/resource_mapping_pb2.pyi +194 -0
  125. otdf_python_proto/policy/resourcemapping/resource_mapping_pb2_connect.py +527 -0
  126. otdf_python_proto/policy/selectors_pb2.py +57 -0
  127. otdf_python_proto/policy/selectors_pb2.pyi +90 -0
  128. otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.py +127 -0
  129. otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.pyi +189 -0
  130. otdf_python_proto/policy/subjectmapping/subject_mapping_pb2_connect.py +569 -0
  131. otdf_python_proto/policy/unsafe/unsafe_pb2.py +113 -0
  132. otdf_python_proto/policy/unsafe/unsafe_pb2.pyi +145 -0
  133. otdf_python_proto/policy/unsafe/unsafe_pb2_connect.py +485 -0
  134. otdf_python_proto/wellknownconfiguration/__init__.py +1 -0
  135. otdf_python_proto/wellknownconfiguration/wellknown_configuration_pb2.py +51 -0
  136. otdf_python_proto/wellknownconfiguration/wellknown_configuration_pb2.pyi +32 -0
  137. otdf_python_proto/wellknownconfiguration/wellknown_configuration_pb2_connect.py +107 -0
  138. otdf_python/_gotdf_python.cpython-312-darwin.so +0 -0
  139. otdf_python/build.py +0 -190
  140. otdf_python/go.py +0 -1478
  141. otdf_python/gotdf_python.py +0 -383
  142. otdf_python-0.1.9.dist-info/METADATA +0 -149
  143. otdf_python-0.1.9.dist-info/RECORD +0 -10
  144. otdf_python-0.1.9.dist-info/top_level.txt +0 -1
@@ -0,0 +1,139 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: policy/registeredresources/registered_resources.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'policy/registeredresources/registered_resources.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
26
+ from common import common_pb2 as common_dot_common__pb2
27
+ from policy import objects_pb2 as policy_dot_objects__pb2
28
+ from policy import selectors_pb2 as policy_dot_selectors__pb2
29
+
30
+
31
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5policy/registeredresources/registered_resources.proto\x12\x1apolicy.registeredresources\x1a\x1b\x62uf/validate/validate.proto\x1a\x13\x63ommon/common.proto\x1a\x14policy/objects.proto\x1a\x16policy/selectors.proto\"\xd9\x03\n\x1f\x43reateRegisteredResourceRequest\x12\xa8\x02\n\x04name\x18\x01 \x01(\tB\x93\x02\xbaH\x8f\x02r\x03\x18\xfd\x01\xba\x01\x83\x02\n\x0err_name_format\x12\xb3\x01Registered Resource Name must be an alphanumeric string, allowing hyphens and underscores but not as the first or last character. The stored name will be normalized to lower case.\x1a;this.matches(\'^[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?$\')\xc8\x01\x01R\x04name\x12V\n\x06values\x18\x02 \x03(\tB>\xbaH;\x92\x01\x38\x08\x00\x18\x01\"2r0\x18\xfd\x01\x32+^[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?$R\x06values\x12\x33\n\x08metadata\x18\x64 \x01(\x0b\x32\x17.common.MetadataMutableR\x08metadata\"Z\n CreateRegisteredResourceResponse\x12\x36\n\x08resource\x18\x01 \x01(\x0b\x32\x1a.policy.RegisteredResourceR\x08resource\"\x94\x03\n\x1cGetRegisteredResourceRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01H\x00R\x02id\x12\xc2\x02\n\x04name\x18\x02 \x01(\tB\xab\x02\xbaH\xa7\x02r\x03\x18\xfd\x01\xba\x01\x9b\x02\n\x0err_name_format\x12\xb3\x01Registered Resource Name must be an alphanumeric string, allowing hyphens and underscores but not as the first or last character. The stored name will be normalized to lower case.\x1aSsize(this) > 0 ? this.matches(\'^[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?$\') : true\xc8\x01\x00H\x00R\x04nameB\x13\n\nidentifier\x12\x05\xbaH\x02\x08\x01\"W\n\x1dGetRegisteredResourceResponse\x12\x36\n\x08resource\x18\x01 \x01(\x0b\x32\x1a.policy.RegisteredResourceR\x08resource\"U\n\x1eListRegisteredResourcesRequest\x12\x33\n\npagination\x18\n \x01(\x0b\x32\x13.policy.PageRequestR\npagination\"\x91\x01\n\x1fListRegisteredResourcesResponse\x12\x38\n\tresources\x18\x01 \x03(\x0b\x32\x1a.policy.RegisteredResourceR\tresources\x12\x34\n\npagination\x18\n \x01(\x0b\x32\x14.policy.PageResponseR\npagination\"\x89\x04\n\x1fUpdateRegisteredResourceRequest\x12\x18\n\x02id\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x02id\x12\xc0\x02\n\x04name\x18\x02 \x01(\tB\xab\x02\xbaH\xa7\x02r\x03\x18\xfd\x01\xba\x01\x9b\x02\n\x0err_name_format\x12\xb3\x01Registered Resource Name must be an alphanumeric string, allowing hyphens and underscores but not as the first or last character. The stored name will be normalized to lower case.\x1aSsize(this) > 0 ? this.matches(\'^[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?$\') : true\xc8\x01\x00R\x04name\x12\x33\n\x08metadata\x18\x64 \x01(\x0b\x32\x17.common.MetadataMutableR\x08metadata\x12T\n\x18metadata_update_behavior\x18\x65 \x01(\x0e\x32\x1a.common.MetadataUpdateEnumR\x16metadataUpdateBehavior\"Z\n UpdateRegisteredResourceResponse\x12\x36\n\x08resource\x18\x01 \x01(\x0b\x32\x1a.policy.RegisteredResourceR\x08resource\";\n\x1f\x44\x65leteRegisteredResourceRequest\x12\x18\n\x02id\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x02id\"Z\n DeleteRegisteredResourceResponse\x12\x36\n\x08resource\x18\x01 \x01(\x0b\x32\x1a.policy.RegisteredResourceR\x08resource\"\xad\x04\n\x14\x41\x63tionAttributeValue\x12\'\n\taction_id\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01H\x00R\x08\x61\x63tionId\x12\xb2\x02\n\x0b\x61\x63tion_name\x18\x02 \x01(\tB\x8e\x02\xbaH\x8a\x02r\x03\x18\xfd\x01\xba\x01\x81\x02\n\x12\x61\x63tion_name_format\x12\xad\x01\x41\x63tion name must be an alphanumeric string, allowing hyphens and underscores but not as the first or last character. The stored action name will be normalized to lower case.\x1a;this.matches(\'^[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?$\')H\x00R\nactionName\x12\x38\n\x12\x61ttribute_value_id\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01H\x01R\x10\x61ttributeValueId\x12<\n\x13\x61ttribute_value_fqn\x18\x04 \x01(\tB\n\xbaH\x07r\x05\x10\x01\x88\x01\x01H\x01R\x11\x61ttributeValueFqnB\x1a\n\x11\x61\x63tion_identifier\x12\x05\xbaH\x02\x08\x01\x42#\n\x1a\x61ttribute_value_identifier\x12\x05\xbaH\x02\x08\x01\"\xa0\x04\n$CreateRegisteredResourceValueRequest\x12)\n\x0bresource_id\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\nresourceId\x12\xad\x02\n\x05value\x18\x02 \x01(\tB\x96\x02\xbaH\x92\x02r\x03\x18\xfd\x01\xba\x01\x86\x02\n\x0frr_value_format\x12\xb5\x01Registered Resource Value must be an alphanumeric string, allowing hyphens and underscores but not as the first or last character. The stored value will be normalized to lower case.\x1a;this.matches(\'^[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?$\')\xc8\x01\x01R\x05value\x12h\n\x17\x61\x63tion_attribute_values\x18\x03 \x03(\x0b\x32\x30.policy.registeredresources.ActionAttributeValueR\x15\x61\x63tionAttributeValues\x12\x33\n\x08metadata\x18\x64 \x01(\x0b\x32\x17.common.MetadataMutableR\x08metadata\"^\n%CreateRegisteredResourceValueResponse\x12\x35\n\x05value\x18\x01 \x01(\x0b\x32\x1f.policy.RegisteredResourceValueR\x05value\"t\n!GetRegisteredResourceValueRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01H\x00R\x02id\x12\x1e\n\x03\x66qn\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x01\x88\x01\x01H\x00R\x03\x66qnB\x13\n\nidentifier\x12\x05\xbaH\x02\x08\x01\"[\n\"GetRegisteredResourceValueResponse\x12\x35\n\x05value\x18\x01 \x01(\x0b\x32\x1f.policy.RegisteredResourceValueR\x05value\"S\n(GetRegisteredResourceValuesByFQNsRequest\x12\'\n\x04\x66qns\x18\x01 \x03(\tB\x13\xbaH\x10\x92\x01\r\x08\x01\x18\x01\"\x07r\x05\x10\x01\x88\x01\x01R\x04\x66qns\"\x88\x02\n)GetRegisteredResourceValuesByFQNsResponse\x12z\n\rfqn_value_map\x18\x01 \x03(\x0b\x32V.policy.registeredresources.GetRegisteredResourceValuesByFQNsResponse.FqnValueMapEntryR\x0b\x66qnValueMap\x1a_\n\x10\x46qnValueMapEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32\x1f.policy.RegisteredResourceValueR\x05value:\x02\x38\x01\"\xb2\x02\n#ListRegisteredResourceValuesRequest\x12\xd5\x01\n\x0bresource_id\x18\x01 \x01(\tB\xb3\x01\xbaH\xaf\x01\xba\x01\xab\x01\n\x14optional_uuid_format\x12#Optional field must be a valid UUID\x1ansize(this) == 0 || this.matches(\'[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\')R\nresourceId\x12\x33\n\npagination\x18\n \x01(\x0b\x32\x13.policy.PageRequestR\npagination\"\x95\x01\n$ListRegisteredResourceValuesResponse\x12\x37\n\x06values\x18\x01 \x03(\x0b\x32\x1f.policy.RegisteredResourceValueR\x06values\x12\x34\n\npagination\x18\n \x01(\x0b\x32\x14.policy.PageResponseR\npagination\"\xfd\x04\n$UpdateRegisteredResourceValueRequest\x12\x18\n\x02id\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x02id\x12\xc5\x02\n\x05value\x18\x02 \x01(\tB\xae\x02\xbaH\xaa\x02r\x03\x18\xfd\x01\xba\x01\x9e\x02\n\x0frr_value_format\x12\xb5\x01Registered Resource Value must be an alphanumeric string, allowing hyphens and underscores but not as the first or last character. The stored value will be normalized to lower case.\x1aSsize(this) > 0 ? this.matches(\'^[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?$\') : true\xc8\x01\x00R\x05value\x12h\n\x17\x61\x63tion_attribute_values\x18\x03 \x03(\x0b\x32\x30.policy.registeredresources.ActionAttributeValueR\x15\x61\x63tionAttributeValues\x12\x33\n\x08metadata\x18\x64 \x01(\x0b\x32\x17.common.MetadataMutableR\x08metadata\x12T\n\x18metadata_update_behavior\x18\x65 \x01(\x0e\x32\x1a.common.MetadataUpdateEnumR\x16metadataUpdateBehavior\"^\n%UpdateRegisteredResourceValueResponse\x12\x35\n\x05value\x18\x01 \x01(\x0b\x32\x1f.policy.RegisteredResourceValueR\x05value\"@\n$DeleteRegisteredResourceValueRequest\x12\x18\n\x02id\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x02id\"^\n%DeleteRegisteredResourceValueResponse\x12\x35\n\x05value\x18\x01 \x01(\x0b\x32\x1f.policy.RegisteredResourceValueR\x05value2\x88\x0e\n\x1aRegisteredResourcesService\x12\x97\x01\n\x18\x43reateRegisteredResource\x12;.policy.registeredresources.CreateRegisteredResourceRequest\x1a<.policy.registeredresources.CreateRegisteredResourceResponse\"\x00\x12\x8e\x01\n\x15GetRegisteredResource\x12\x38.policy.registeredresources.GetRegisteredResourceRequest\x1a\x39.policy.registeredresources.GetRegisteredResourceResponse\"\x00\x12\x94\x01\n\x17ListRegisteredResources\x12:.policy.registeredresources.ListRegisteredResourcesRequest\x1a;.policy.registeredresources.ListRegisteredResourcesResponse\"\x00\x12\x97\x01\n\x18UpdateRegisteredResource\x12;.policy.registeredresources.UpdateRegisteredResourceRequest\x1a<.policy.registeredresources.UpdateRegisteredResourceResponse\"\x00\x12\x97\x01\n\x18\x44\x65leteRegisteredResource\x12;.policy.registeredresources.DeleteRegisteredResourceRequest\x1a<.policy.registeredresources.DeleteRegisteredResourceResponse\"\x00\x12\xa6\x01\n\x1d\x43reateRegisteredResourceValue\x12@.policy.registeredresources.CreateRegisteredResourceValueRequest\x1a\x41.policy.registeredresources.CreateRegisteredResourceValueResponse\"\x00\x12\x9d\x01\n\x1aGetRegisteredResourceValue\x12=.policy.registeredresources.GetRegisteredResourceValueRequest\x1a>.policy.registeredresources.GetRegisteredResourceValueResponse\"\x00\x12\xb2\x01\n!GetRegisteredResourceValuesByFQNs\x12\x44.policy.registeredresources.GetRegisteredResourceValuesByFQNsRequest\x1a\x45.policy.registeredresources.GetRegisteredResourceValuesByFQNsResponse\"\x00\x12\xa3\x01\n\x1cListRegisteredResourceValues\x12?.policy.registeredresources.ListRegisteredResourceValuesRequest\x1a@.policy.registeredresources.ListRegisteredResourceValuesResponse\"\x00\x12\xa6\x01\n\x1dUpdateRegisteredResourceValue\x12@.policy.registeredresources.UpdateRegisteredResourceValueRequest\x1a\x41.policy.registeredresources.UpdateRegisteredResourceValueResponse\"\x00\x12\xa6\x01\n\x1d\x44\x65leteRegisteredResourceValue\x12@.policy.registeredresources.DeleteRegisteredResourceValueRequest\x1a\x41.policy.registeredresources.DeleteRegisteredResourceValueResponse\"\x00\x42\xc3\x01\n\x1e\x63om.policy.registeredresourcesB\x18RegisteredResourcesProtoP\x01\xa2\x02\x03PRX\xaa\x02\x1aPolicy.Registeredresources\xca\x02\x1aPolicy\\Registeredresources\xe2\x02&Policy\\Registeredresources\\GPBMetadata\xea\x02\x1bPolicy::Registeredresourcesb\x06proto3')
32
+
33
+ _globals = globals()
34
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
35
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'policy.registeredresources.registered_resources_pb2', _globals)
36
+ if not _descriptor._USE_C_DESCRIPTORS:
37
+ _globals['DESCRIPTOR']._loaded_options = None
38
+ _globals['DESCRIPTOR']._serialized_options = b'\n\036com.policy.registeredresourcesB\030RegisteredResourcesProtoP\001\242\002\003PRX\252\002\032Policy.Registeredresources\312\002\032Policy\\Registeredresources\342\002&Policy\\Registeredresources\\GPBMetadata\352\002\033Policy::Registeredresources'
39
+ _globals['_CREATEREGISTEREDRESOURCEREQUEST'].fields_by_name['name']._loaded_options = None
40
+ _globals['_CREATEREGISTEREDRESOURCEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\217\002r\003\030\375\001\272\001\203\002\n\016rr_name_format\022\263\001Registered Resource Name must be an alphanumeric string, allowing hyphens and underscores but not as the first or last character. The stored name will be normalized to lower case.\032;this.matches(\'^[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?$\')\310\001\001'
41
+ _globals['_CREATEREGISTEREDRESOURCEREQUEST'].fields_by_name['values']._loaded_options = None
42
+ _globals['_CREATEREGISTEREDRESOURCEREQUEST'].fields_by_name['values']._serialized_options = b'\272H;\222\0018\010\000\030\001\"2r0\030\375\0012+^[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?$'
43
+ _globals['_GETREGISTEREDRESOURCEREQUEST'].oneofs_by_name['identifier']._loaded_options = None
44
+ _globals['_GETREGISTEREDRESOURCEREQUEST'].oneofs_by_name['identifier']._serialized_options = b'\272H\002\010\001'
45
+ _globals['_GETREGISTEREDRESOURCEREQUEST'].fields_by_name['id']._loaded_options = None
46
+ _globals['_GETREGISTEREDRESOURCEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\005r\003\260\001\001'
47
+ _globals['_GETREGISTEREDRESOURCEREQUEST'].fields_by_name['name']._loaded_options = None
48
+ _globals['_GETREGISTEREDRESOURCEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\247\002r\003\030\375\001\272\001\233\002\n\016rr_name_format\022\263\001Registered Resource Name must be an alphanumeric string, allowing hyphens and underscores but not as the first or last character. The stored name will be normalized to lower case.\032Ssize(this) > 0 ? this.matches(\'^[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?$\') : true\310\001\000'
49
+ _globals['_UPDATEREGISTEREDRESOURCEREQUEST'].fields_by_name['id']._loaded_options = None
50
+ _globals['_UPDATEREGISTEREDRESOURCEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\005r\003\260\001\001'
51
+ _globals['_UPDATEREGISTEREDRESOURCEREQUEST'].fields_by_name['name']._loaded_options = None
52
+ _globals['_UPDATEREGISTEREDRESOURCEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\247\002r\003\030\375\001\272\001\233\002\n\016rr_name_format\022\263\001Registered Resource Name must be an alphanumeric string, allowing hyphens and underscores but not as the first or last character. The stored name will be normalized to lower case.\032Ssize(this) > 0 ? this.matches(\'^[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?$\') : true\310\001\000'
53
+ _globals['_DELETEREGISTEREDRESOURCEREQUEST'].fields_by_name['id']._loaded_options = None
54
+ _globals['_DELETEREGISTEREDRESOURCEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\005r\003\260\001\001'
55
+ _globals['_ACTIONATTRIBUTEVALUE'].oneofs_by_name['action_identifier']._loaded_options = None
56
+ _globals['_ACTIONATTRIBUTEVALUE'].oneofs_by_name['action_identifier']._serialized_options = b'\272H\002\010\001'
57
+ _globals['_ACTIONATTRIBUTEVALUE'].oneofs_by_name['attribute_value_identifier']._loaded_options = None
58
+ _globals['_ACTIONATTRIBUTEVALUE'].oneofs_by_name['attribute_value_identifier']._serialized_options = b'\272H\002\010\001'
59
+ _globals['_ACTIONATTRIBUTEVALUE'].fields_by_name['action_id']._loaded_options = None
60
+ _globals['_ACTIONATTRIBUTEVALUE'].fields_by_name['action_id']._serialized_options = b'\272H\005r\003\260\001\001'
61
+ _globals['_ACTIONATTRIBUTEVALUE'].fields_by_name['action_name']._loaded_options = None
62
+ _globals['_ACTIONATTRIBUTEVALUE'].fields_by_name['action_name']._serialized_options = b'\272H\212\002r\003\030\375\001\272\001\201\002\n\022action_name_format\022\255\001Action name must be an alphanumeric string, allowing hyphens and underscores but not as the first or last character. The stored action name will be normalized to lower case.\032;this.matches(\'^[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?$\')'
63
+ _globals['_ACTIONATTRIBUTEVALUE'].fields_by_name['attribute_value_id']._loaded_options = None
64
+ _globals['_ACTIONATTRIBUTEVALUE'].fields_by_name['attribute_value_id']._serialized_options = b'\272H\005r\003\260\001\001'
65
+ _globals['_ACTIONATTRIBUTEVALUE'].fields_by_name['attribute_value_fqn']._loaded_options = None
66
+ _globals['_ACTIONATTRIBUTEVALUE'].fields_by_name['attribute_value_fqn']._serialized_options = b'\272H\007r\005\020\001\210\001\001'
67
+ _globals['_CREATEREGISTEREDRESOURCEVALUEREQUEST'].fields_by_name['resource_id']._loaded_options = None
68
+ _globals['_CREATEREGISTEREDRESOURCEVALUEREQUEST'].fields_by_name['resource_id']._serialized_options = b'\272H\005r\003\260\001\001'
69
+ _globals['_CREATEREGISTEREDRESOURCEVALUEREQUEST'].fields_by_name['value']._loaded_options = None
70
+ _globals['_CREATEREGISTEREDRESOURCEVALUEREQUEST'].fields_by_name['value']._serialized_options = b'\272H\222\002r\003\030\375\001\272\001\206\002\n\017rr_value_format\022\265\001Registered Resource Value must be an alphanumeric string, allowing hyphens and underscores but not as the first or last character. The stored value will be normalized to lower case.\032;this.matches(\'^[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?$\')\310\001\001'
71
+ _globals['_GETREGISTEREDRESOURCEVALUEREQUEST'].oneofs_by_name['identifier']._loaded_options = None
72
+ _globals['_GETREGISTEREDRESOURCEVALUEREQUEST'].oneofs_by_name['identifier']._serialized_options = b'\272H\002\010\001'
73
+ _globals['_GETREGISTEREDRESOURCEVALUEREQUEST'].fields_by_name['id']._loaded_options = None
74
+ _globals['_GETREGISTEREDRESOURCEVALUEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\005r\003\260\001\001'
75
+ _globals['_GETREGISTEREDRESOURCEVALUEREQUEST'].fields_by_name['fqn']._loaded_options = None
76
+ _globals['_GETREGISTEREDRESOURCEVALUEREQUEST'].fields_by_name['fqn']._serialized_options = b'\272H\007r\005\020\001\210\001\001'
77
+ _globals['_GETREGISTEREDRESOURCEVALUESBYFQNSREQUEST'].fields_by_name['fqns']._loaded_options = None
78
+ _globals['_GETREGISTEREDRESOURCEVALUESBYFQNSREQUEST'].fields_by_name['fqns']._serialized_options = b'\272H\020\222\001\r\010\001\030\001\"\007r\005\020\001\210\001\001'
79
+ _globals['_GETREGISTEREDRESOURCEVALUESBYFQNSRESPONSE_FQNVALUEMAPENTRY']._loaded_options = None
80
+ _globals['_GETREGISTEREDRESOURCEVALUESBYFQNSRESPONSE_FQNVALUEMAPENTRY']._serialized_options = b'8\001'
81
+ _globals['_LISTREGISTEREDRESOURCEVALUESREQUEST'].fields_by_name['resource_id']._loaded_options = None
82
+ _globals['_LISTREGISTEREDRESOURCEVALUESREQUEST'].fields_by_name['resource_id']._serialized_options = b'\272H\257\001\272\001\253\001\n\024optional_uuid_format\022#Optional field must be a valid UUID\032nsize(this) == 0 || this.matches(\'[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\')'
83
+ _globals['_UPDATEREGISTEREDRESOURCEVALUEREQUEST'].fields_by_name['id']._loaded_options = None
84
+ _globals['_UPDATEREGISTEREDRESOURCEVALUEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\005r\003\260\001\001'
85
+ _globals['_UPDATEREGISTEREDRESOURCEVALUEREQUEST'].fields_by_name['value']._loaded_options = None
86
+ _globals['_UPDATEREGISTEREDRESOURCEVALUEREQUEST'].fields_by_name['value']._serialized_options = b'\272H\252\002r\003\030\375\001\272\001\236\002\n\017rr_value_format\022\265\001Registered Resource Value must be an alphanumeric string, allowing hyphens and underscores but not as the first or last character. The stored value will be normalized to lower case.\032Ssize(this) > 0 ? this.matches(\'^[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?$\') : true\310\001\000'
87
+ _globals['_DELETEREGISTEREDRESOURCEVALUEREQUEST'].fields_by_name['id']._loaded_options = None
88
+ _globals['_DELETEREGISTEREDRESOURCEVALUEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\005r\003\260\001\001'
89
+ _globals['_CREATEREGISTEREDRESOURCEREQUEST']._serialized_start=182
90
+ _globals['_CREATEREGISTEREDRESOURCEREQUEST']._serialized_end=655
91
+ _globals['_CREATEREGISTEREDRESOURCERESPONSE']._serialized_start=657
92
+ _globals['_CREATEREGISTEREDRESOURCERESPONSE']._serialized_end=747
93
+ _globals['_GETREGISTEREDRESOURCEREQUEST']._serialized_start=750
94
+ _globals['_GETREGISTEREDRESOURCEREQUEST']._serialized_end=1154
95
+ _globals['_GETREGISTEREDRESOURCERESPONSE']._serialized_start=1156
96
+ _globals['_GETREGISTEREDRESOURCERESPONSE']._serialized_end=1243
97
+ _globals['_LISTREGISTEREDRESOURCESREQUEST']._serialized_start=1245
98
+ _globals['_LISTREGISTEREDRESOURCESREQUEST']._serialized_end=1330
99
+ _globals['_LISTREGISTEREDRESOURCESRESPONSE']._serialized_start=1333
100
+ _globals['_LISTREGISTEREDRESOURCESRESPONSE']._serialized_end=1478
101
+ _globals['_UPDATEREGISTEREDRESOURCEREQUEST']._serialized_start=1481
102
+ _globals['_UPDATEREGISTEREDRESOURCEREQUEST']._serialized_end=2002
103
+ _globals['_UPDATEREGISTEREDRESOURCERESPONSE']._serialized_start=2004
104
+ _globals['_UPDATEREGISTEREDRESOURCERESPONSE']._serialized_end=2094
105
+ _globals['_DELETEREGISTEREDRESOURCEREQUEST']._serialized_start=2096
106
+ _globals['_DELETEREGISTEREDRESOURCEREQUEST']._serialized_end=2155
107
+ _globals['_DELETEREGISTEREDRESOURCERESPONSE']._serialized_start=2157
108
+ _globals['_DELETEREGISTEREDRESOURCERESPONSE']._serialized_end=2247
109
+ _globals['_ACTIONATTRIBUTEVALUE']._serialized_start=2250
110
+ _globals['_ACTIONATTRIBUTEVALUE']._serialized_end=2807
111
+ _globals['_CREATEREGISTEREDRESOURCEVALUEREQUEST']._serialized_start=2810
112
+ _globals['_CREATEREGISTEREDRESOURCEVALUEREQUEST']._serialized_end=3354
113
+ _globals['_CREATEREGISTEREDRESOURCEVALUERESPONSE']._serialized_start=3356
114
+ _globals['_CREATEREGISTEREDRESOURCEVALUERESPONSE']._serialized_end=3450
115
+ _globals['_GETREGISTEREDRESOURCEVALUEREQUEST']._serialized_start=3452
116
+ _globals['_GETREGISTEREDRESOURCEVALUEREQUEST']._serialized_end=3568
117
+ _globals['_GETREGISTEREDRESOURCEVALUERESPONSE']._serialized_start=3570
118
+ _globals['_GETREGISTEREDRESOURCEVALUERESPONSE']._serialized_end=3661
119
+ _globals['_GETREGISTEREDRESOURCEVALUESBYFQNSREQUEST']._serialized_start=3663
120
+ _globals['_GETREGISTEREDRESOURCEVALUESBYFQNSREQUEST']._serialized_end=3746
121
+ _globals['_GETREGISTEREDRESOURCEVALUESBYFQNSRESPONSE']._serialized_start=3749
122
+ _globals['_GETREGISTEREDRESOURCEVALUESBYFQNSRESPONSE']._serialized_end=4013
123
+ _globals['_GETREGISTEREDRESOURCEVALUESBYFQNSRESPONSE_FQNVALUEMAPENTRY']._serialized_start=3918
124
+ _globals['_GETREGISTEREDRESOURCEVALUESBYFQNSRESPONSE_FQNVALUEMAPENTRY']._serialized_end=4013
125
+ _globals['_LISTREGISTEREDRESOURCEVALUESREQUEST']._serialized_start=4016
126
+ _globals['_LISTREGISTEREDRESOURCEVALUESREQUEST']._serialized_end=4322
127
+ _globals['_LISTREGISTEREDRESOURCEVALUESRESPONSE']._serialized_start=4325
128
+ _globals['_LISTREGISTEREDRESOURCEVALUESRESPONSE']._serialized_end=4474
129
+ _globals['_UPDATEREGISTEREDRESOURCEVALUEREQUEST']._serialized_start=4477
130
+ _globals['_UPDATEREGISTEREDRESOURCEVALUEREQUEST']._serialized_end=5114
131
+ _globals['_UPDATEREGISTEREDRESOURCEVALUERESPONSE']._serialized_start=5116
132
+ _globals['_UPDATEREGISTEREDRESOURCEVALUERESPONSE']._serialized_end=5210
133
+ _globals['_DELETEREGISTEREDRESOURCEVALUEREQUEST']._serialized_start=5212
134
+ _globals['_DELETEREGISTEREDRESOURCEVALUEREQUEST']._serialized_end=5276
135
+ _globals['_DELETEREGISTEREDRESOURCEVALUERESPONSE']._serialized_start=5278
136
+ _globals['_DELETEREGISTEREDRESOURCEVALUERESPONSE']._serialized_end=5372
137
+ _globals['_REGISTEREDRESOURCESSERVICE']._serialized_start=5375
138
+ _globals['_REGISTEREDRESOURCESSERVICE']._serialized_end=7175
139
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,196 @@
1
+ from buf.validate import validate_pb2 as _validate_pb2
2
+ from common import common_pb2 as _common_pb2
3
+ from policy import objects_pb2 as _objects_pb2
4
+ from policy import selectors_pb2 as _selectors_pb2
5
+ from google.protobuf.internal import containers as _containers
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import message as _message
8
+ from collections.abc import Iterable as _Iterable, Mapping as _Mapping
9
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
10
+
11
+ DESCRIPTOR: _descriptor.FileDescriptor
12
+
13
+ class CreateRegisteredResourceRequest(_message.Message):
14
+ __slots__ = ("name", "values", "metadata")
15
+ NAME_FIELD_NUMBER: _ClassVar[int]
16
+ VALUES_FIELD_NUMBER: _ClassVar[int]
17
+ METADATA_FIELD_NUMBER: _ClassVar[int]
18
+ name: str
19
+ values: _containers.RepeatedScalarFieldContainer[str]
20
+ metadata: _common_pb2.MetadataMutable
21
+ def __init__(self, name: _Optional[str] = ..., values: _Optional[_Iterable[str]] = ..., metadata: _Optional[_Union[_common_pb2.MetadataMutable, _Mapping]] = ...) -> None: ...
22
+
23
+ class CreateRegisteredResourceResponse(_message.Message):
24
+ __slots__ = ("resource",)
25
+ RESOURCE_FIELD_NUMBER: _ClassVar[int]
26
+ resource: _objects_pb2.RegisteredResource
27
+ def __init__(self, resource: _Optional[_Union[_objects_pb2.RegisteredResource, _Mapping]] = ...) -> None: ...
28
+
29
+ class GetRegisteredResourceRequest(_message.Message):
30
+ __slots__ = ("id", "name")
31
+ ID_FIELD_NUMBER: _ClassVar[int]
32
+ NAME_FIELD_NUMBER: _ClassVar[int]
33
+ id: str
34
+ name: str
35
+ def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ...) -> None: ...
36
+
37
+ class GetRegisteredResourceResponse(_message.Message):
38
+ __slots__ = ("resource",)
39
+ RESOURCE_FIELD_NUMBER: _ClassVar[int]
40
+ resource: _objects_pb2.RegisteredResource
41
+ def __init__(self, resource: _Optional[_Union[_objects_pb2.RegisteredResource, _Mapping]] = ...) -> None: ...
42
+
43
+ class ListRegisteredResourcesRequest(_message.Message):
44
+ __slots__ = ("pagination",)
45
+ PAGINATION_FIELD_NUMBER: _ClassVar[int]
46
+ pagination: _selectors_pb2.PageRequest
47
+ def __init__(self, pagination: _Optional[_Union[_selectors_pb2.PageRequest, _Mapping]] = ...) -> None: ...
48
+
49
+ class ListRegisteredResourcesResponse(_message.Message):
50
+ __slots__ = ("resources", "pagination")
51
+ RESOURCES_FIELD_NUMBER: _ClassVar[int]
52
+ PAGINATION_FIELD_NUMBER: _ClassVar[int]
53
+ resources: _containers.RepeatedCompositeFieldContainer[_objects_pb2.RegisteredResource]
54
+ pagination: _selectors_pb2.PageResponse
55
+ def __init__(self, resources: _Optional[_Iterable[_Union[_objects_pb2.RegisteredResource, _Mapping]]] = ..., pagination: _Optional[_Union[_selectors_pb2.PageResponse, _Mapping]] = ...) -> None: ...
56
+
57
+ class UpdateRegisteredResourceRequest(_message.Message):
58
+ __slots__ = ("id", "name", "metadata", "metadata_update_behavior")
59
+ ID_FIELD_NUMBER: _ClassVar[int]
60
+ NAME_FIELD_NUMBER: _ClassVar[int]
61
+ METADATA_FIELD_NUMBER: _ClassVar[int]
62
+ METADATA_UPDATE_BEHAVIOR_FIELD_NUMBER: _ClassVar[int]
63
+ id: str
64
+ name: str
65
+ metadata: _common_pb2.MetadataMutable
66
+ metadata_update_behavior: _common_pb2.MetadataUpdateEnum
67
+ def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., metadata: _Optional[_Union[_common_pb2.MetadataMutable, _Mapping]] = ..., metadata_update_behavior: _Optional[_Union[_common_pb2.MetadataUpdateEnum, str]] = ...) -> None: ...
68
+
69
+ class UpdateRegisteredResourceResponse(_message.Message):
70
+ __slots__ = ("resource",)
71
+ RESOURCE_FIELD_NUMBER: _ClassVar[int]
72
+ resource: _objects_pb2.RegisteredResource
73
+ def __init__(self, resource: _Optional[_Union[_objects_pb2.RegisteredResource, _Mapping]] = ...) -> None: ...
74
+
75
+ class DeleteRegisteredResourceRequest(_message.Message):
76
+ __slots__ = ("id",)
77
+ ID_FIELD_NUMBER: _ClassVar[int]
78
+ id: str
79
+ def __init__(self, id: _Optional[str] = ...) -> None: ...
80
+
81
+ class DeleteRegisteredResourceResponse(_message.Message):
82
+ __slots__ = ("resource",)
83
+ RESOURCE_FIELD_NUMBER: _ClassVar[int]
84
+ resource: _objects_pb2.RegisteredResource
85
+ def __init__(self, resource: _Optional[_Union[_objects_pb2.RegisteredResource, _Mapping]] = ...) -> None: ...
86
+
87
+ class ActionAttributeValue(_message.Message):
88
+ __slots__ = ("action_id", "action_name", "attribute_value_id", "attribute_value_fqn")
89
+ ACTION_ID_FIELD_NUMBER: _ClassVar[int]
90
+ ACTION_NAME_FIELD_NUMBER: _ClassVar[int]
91
+ ATTRIBUTE_VALUE_ID_FIELD_NUMBER: _ClassVar[int]
92
+ ATTRIBUTE_VALUE_FQN_FIELD_NUMBER: _ClassVar[int]
93
+ action_id: str
94
+ action_name: str
95
+ attribute_value_id: str
96
+ attribute_value_fqn: str
97
+ def __init__(self, action_id: _Optional[str] = ..., action_name: _Optional[str] = ..., attribute_value_id: _Optional[str] = ..., attribute_value_fqn: _Optional[str] = ...) -> None: ...
98
+
99
+ class CreateRegisteredResourceValueRequest(_message.Message):
100
+ __slots__ = ("resource_id", "value", "action_attribute_values", "metadata")
101
+ RESOURCE_ID_FIELD_NUMBER: _ClassVar[int]
102
+ VALUE_FIELD_NUMBER: _ClassVar[int]
103
+ ACTION_ATTRIBUTE_VALUES_FIELD_NUMBER: _ClassVar[int]
104
+ METADATA_FIELD_NUMBER: _ClassVar[int]
105
+ resource_id: str
106
+ value: str
107
+ action_attribute_values: _containers.RepeatedCompositeFieldContainer[ActionAttributeValue]
108
+ metadata: _common_pb2.MetadataMutable
109
+ def __init__(self, resource_id: _Optional[str] = ..., value: _Optional[str] = ..., action_attribute_values: _Optional[_Iterable[_Union[ActionAttributeValue, _Mapping]]] = ..., metadata: _Optional[_Union[_common_pb2.MetadataMutable, _Mapping]] = ...) -> None: ...
110
+
111
+ class CreateRegisteredResourceValueResponse(_message.Message):
112
+ __slots__ = ("value",)
113
+ VALUE_FIELD_NUMBER: _ClassVar[int]
114
+ value: _objects_pb2.RegisteredResourceValue
115
+ def __init__(self, value: _Optional[_Union[_objects_pb2.RegisteredResourceValue, _Mapping]] = ...) -> None: ...
116
+
117
+ class GetRegisteredResourceValueRequest(_message.Message):
118
+ __slots__ = ("id", "fqn")
119
+ ID_FIELD_NUMBER: _ClassVar[int]
120
+ FQN_FIELD_NUMBER: _ClassVar[int]
121
+ id: str
122
+ fqn: str
123
+ def __init__(self, id: _Optional[str] = ..., fqn: _Optional[str] = ...) -> None: ...
124
+
125
+ class GetRegisteredResourceValueResponse(_message.Message):
126
+ __slots__ = ("value",)
127
+ VALUE_FIELD_NUMBER: _ClassVar[int]
128
+ value: _objects_pb2.RegisteredResourceValue
129
+ def __init__(self, value: _Optional[_Union[_objects_pb2.RegisteredResourceValue, _Mapping]] = ...) -> None: ...
130
+
131
+ class GetRegisteredResourceValuesByFQNsRequest(_message.Message):
132
+ __slots__ = ("fqns",)
133
+ FQNS_FIELD_NUMBER: _ClassVar[int]
134
+ fqns: _containers.RepeatedScalarFieldContainer[str]
135
+ def __init__(self, fqns: _Optional[_Iterable[str]] = ...) -> None: ...
136
+
137
+ class GetRegisteredResourceValuesByFQNsResponse(_message.Message):
138
+ __slots__ = ("fqn_value_map",)
139
+ class FqnValueMapEntry(_message.Message):
140
+ __slots__ = ("key", "value")
141
+ KEY_FIELD_NUMBER: _ClassVar[int]
142
+ VALUE_FIELD_NUMBER: _ClassVar[int]
143
+ key: str
144
+ value: _objects_pb2.RegisteredResourceValue
145
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_objects_pb2.RegisteredResourceValue, _Mapping]] = ...) -> None: ...
146
+ FQN_VALUE_MAP_FIELD_NUMBER: _ClassVar[int]
147
+ fqn_value_map: _containers.MessageMap[str, _objects_pb2.RegisteredResourceValue]
148
+ def __init__(self, fqn_value_map: _Optional[_Mapping[str, _objects_pb2.RegisteredResourceValue]] = ...) -> None: ...
149
+
150
+ class ListRegisteredResourceValuesRequest(_message.Message):
151
+ __slots__ = ("resource_id", "pagination")
152
+ RESOURCE_ID_FIELD_NUMBER: _ClassVar[int]
153
+ PAGINATION_FIELD_NUMBER: _ClassVar[int]
154
+ resource_id: str
155
+ pagination: _selectors_pb2.PageRequest
156
+ def __init__(self, resource_id: _Optional[str] = ..., pagination: _Optional[_Union[_selectors_pb2.PageRequest, _Mapping]] = ...) -> None: ...
157
+
158
+ class ListRegisteredResourceValuesResponse(_message.Message):
159
+ __slots__ = ("values", "pagination")
160
+ VALUES_FIELD_NUMBER: _ClassVar[int]
161
+ PAGINATION_FIELD_NUMBER: _ClassVar[int]
162
+ values: _containers.RepeatedCompositeFieldContainer[_objects_pb2.RegisteredResourceValue]
163
+ pagination: _selectors_pb2.PageResponse
164
+ def __init__(self, values: _Optional[_Iterable[_Union[_objects_pb2.RegisteredResourceValue, _Mapping]]] = ..., pagination: _Optional[_Union[_selectors_pb2.PageResponse, _Mapping]] = ...) -> None: ...
165
+
166
+ class UpdateRegisteredResourceValueRequest(_message.Message):
167
+ __slots__ = ("id", "value", "action_attribute_values", "metadata", "metadata_update_behavior")
168
+ ID_FIELD_NUMBER: _ClassVar[int]
169
+ VALUE_FIELD_NUMBER: _ClassVar[int]
170
+ ACTION_ATTRIBUTE_VALUES_FIELD_NUMBER: _ClassVar[int]
171
+ METADATA_FIELD_NUMBER: _ClassVar[int]
172
+ METADATA_UPDATE_BEHAVIOR_FIELD_NUMBER: _ClassVar[int]
173
+ id: str
174
+ value: str
175
+ action_attribute_values: _containers.RepeatedCompositeFieldContainer[ActionAttributeValue]
176
+ metadata: _common_pb2.MetadataMutable
177
+ metadata_update_behavior: _common_pb2.MetadataUpdateEnum
178
+ def __init__(self, id: _Optional[str] = ..., value: _Optional[str] = ..., action_attribute_values: _Optional[_Iterable[_Union[ActionAttributeValue, _Mapping]]] = ..., metadata: _Optional[_Union[_common_pb2.MetadataMutable, _Mapping]] = ..., metadata_update_behavior: _Optional[_Union[_common_pb2.MetadataUpdateEnum, str]] = ...) -> None: ...
179
+
180
+ class UpdateRegisteredResourceValueResponse(_message.Message):
181
+ __slots__ = ("value",)
182
+ VALUE_FIELD_NUMBER: _ClassVar[int]
183
+ value: _objects_pb2.RegisteredResourceValue
184
+ def __init__(self, value: _Optional[_Union[_objects_pb2.RegisteredResourceValue, _Mapping]] = ...) -> None: ...
185
+
186
+ class DeleteRegisteredResourceValueRequest(_message.Message):
187
+ __slots__ = ("id",)
188
+ ID_FIELD_NUMBER: _ClassVar[int]
189
+ id: str
190
+ def __init__(self, id: _Optional[str] = ...) -> None: ...
191
+
192
+ class DeleteRegisteredResourceValueResponse(_message.Message):
193
+ __slots__ = ("value",)
194
+ VALUE_FIELD_NUMBER: _ClassVar[int]
195
+ value: _objects_pb2.RegisteredResourceValue
196
+ def __init__(self, value: _Optional[_Union[_objects_pb2.RegisteredResourceValue, _Mapping]] = ...) -> None: ...