otdf-python 0.1.10__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.
- otdf_python/__init__.py +25 -0
- otdf_python/__main__.py +12 -0
- otdf_python/address_normalizer.py +84 -0
- otdf_python/aesgcm.py +55 -0
- otdf_python/assertion_config.py +84 -0
- otdf_python/asym_crypto.py +85 -0
- otdf_python/asym_decryption.py +53 -0
- otdf_python/asym_encryption.py +75 -0
- otdf_python/auth_headers.py +21 -0
- otdf_python/autoconfigure_utils.py +113 -0
- otdf_python/cli.py +570 -0
- otdf_python/collection_store.py +41 -0
- otdf_python/collection_store_impl.py +22 -0
- otdf_python/config.py +69 -0
- otdf_python/connect_client.py +0 -0
- otdf_python/constants.py +1 -0
- otdf_python/crypto_utils.py +78 -0
- otdf_python/dpop.py +81 -0
- otdf_python/ecc_mode.py +32 -0
- otdf_python/eckeypair.py +75 -0
- otdf_python/header.py +143 -0
- otdf_python/invalid_zip_exception.py +8 -0
- otdf_python/kas_client.py +603 -0
- otdf_python/kas_connect_rpc_client.py +207 -0
- otdf_python/kas_info.py +25 -0
- otdf_python/kas_key_cache.py +52 -0
- otdf_python/key_type.py +31 -0
- otdf_python/key_type_constants.py +43 -0
- otdf_python/manifest.py +215 -0
- otdf_python/nanotdf.py +553 -0
- otdf_python/nanotdf_ecdsa_struct.py +132 -0
- otdf_python/nanotdf_type.py +43 -0
- otdf_python/policy_binding_serializer.py +39 -0
- otdf_python/policy_info.py +78 -0
- otdf_python/policy_object.py +22 -0
- otdf_python/policy_stub.py +2 -0
- otdf_python/resource_locator.py +44 -0
- otdf_python/sdk.py +528 -0
- otdf_python/sdk_builder.py +448 -0
- otdf_python/sdk_exceptions.py +16 -0
- otdf_python/symmetric_and_payload_config.py +30 -0
- otdf_python/tdf.py +479 -0
- otdf_python/tdf_reader.py +153 -0
- otdf_python/tdf_writer.py +23 -0
- otdf_python/token_source.py +34 -0
- otdf_python/version.py +57 -0
- otdf_python/zip_reader.py +47 -0
- otdf_python/zip_writer.py +70 -0
- otdf_python-0.3.1.dist-info/METADATA +231 -0
- otdf_python-0.3.1.dist-info/RECORD +137 -0
- {otdf_python-0.1.10.dist-info → otdf_python-0.3.1.dist-info}/WHEEL +1 -2
- {otdf_python-0.1.10.dist-info → otdf_python-0.3.1.dist-info/licenses}/LICENSE +1 -1
- otdf_python_proto/__init__.py +37 -0
- otdf_python_proto/authorization/__init__.py +1 -0
- otdf_python_proto/authorization/authorization_pb2.py +80 -0
- otdf_python_proto/authorization/authorization_pb2.pyi +161 -0
- otdf_python_proto/authorization/authorization_pb2_connect.py +191 -0
- otdf_python_proto/authorization/v2/authorization_pb2.py +105 -0
- otdf_python_proto/authorization/v2/authorization_pb2.pyi +134 -0
- otdf_python_proto/authorization/v2/authorization_pb2_connect.py +233 -0
- otdf_python_proto/common/__init__.py +1 -0
- otdf_python_proto/common/common_pb2.py +52 -0
- otdf_python_proto/common/common_pb2.pyi +61 -0
- otdf_python_proto/entity/__init__.py +1 -0
- otdf_python_proto/entity/entity_pb2.py +47 -0
- otdf_python_proto/entity/entity_pb2.pyi +50 -0
- otdf_python_proto/entityresolution/__init__.py +1 -0
- otdf_python_proto/entityresolution/entity_resolution_pb2.py +57 -0
- otdf_python_proto/entityresolution/entity_resolution_pb2.pyi +55 -0
- otdf_python_proto/entityresolution/entity_resolution_pb2_connect.py +149 -0
- otdf_python_proto/entityresolution/v2/entity_resolution_pb2.py +55 -0
- otdf_python_proto/entityresolution/v2/entity_resolution_pb2.pyi +55 -0
- otdf_python_proto/entityresolution/v2/entity_resolution_pb2_connect.py +149 -0
- otdf_python_proto/kas/__init__.py +9 -0
- otdf_python_proto/kas/kas_pb2.py +103 -0
- otdf_python_proto/kas/kas_pb2.pyi +170 -0
- otdf_python_proto/kas/kas_pb2_connect.py +192 -0
- otdf_python_proto/legacy_grpc/__init__.py +1 -0
- otdf_python_proto/legacy_grpc/authorization/authorization_pb2_grpc.py +163 -0
- otdf_python_proto/legacy_grpc/authorization/v2/authorization_pb2_grpc.py +206 -0
- otdf_python_proto/legacy_grpc/common/common_pb2_grpc.py +4 -0
- otdf_python_proto/legacy_grpc/entity/entity_pb2_grpc.py +4 -0
- otdf_python_proto/legacy_grpc/entityresolution/entity_resolution_pb2_grpc.py +122 -0
- otdf_python_proto/legacy_grpc/entityresolution/v2/entity_resolution_pb2_grpc.py +120 -0
- otdf_python_proto/legacy_grpc/kas/kas_pb2_grpc.py +172 -0
- otdf_python_proto/legacy_grpc/logger/audit/test_pb2_grpc.py +4 -0
- otdf_python_proto/legacy_grpc/policy/actions/actions_pb2_grpc.py +249 -0
- otdf_python_proto/legacy_grpc/policy/attributes/attributes_pb2_grpc.py +873 -0
- otdf_python_proto/legacy_grpc/policy/kasregistry/key_access_server_registry_pb2_grpc.py +602 -0
- otdf_python_proto/legacy_grpc/policy/keymanagement/key_management_pb2_grpc.py +251 -0
- otdf_python_proto/legacy_grpc/policy/namespaces/namespaces_pb2_grpc.py +427 -0
- otdf_python_proto/legacy_grpc/policy/objects_pb2_grpc.py +4 -0
- otdf_python_proto/legacy_grpc/policy/registeredresources/registered_resources_pb2_grpc.py +524 -0
- otdf_python_proto/legacy_grpc/policy/resourcemapping/resource_mapping_pb2_grpc.py +516 -0
- otdf_python_proto/legacy_grpc/policy/selectors_pb2_grpc.py +4 -0
- otdf_python_proto/legacy_grpc/policy/subjectmapping/subject_mapping_pb2_grpc.py +551 -0
- otdf_python_proto/legacy_grpc/policy/unsafe/unsafe_pb2_grpc.py +485 -0
- otdf_python_proto/legacy_grpc/wellknownconfiguration/wellknown_configuration_pb2_grpc.py +77 -0
- otdf_python_proto/logger/__init__.py +1 -0
- otdf_python_proto/logger/audit/test_pb2.py +43 -0
- otdf_python_proto/logger/audit/test_pb2.pyi +45 -0
- otdf_python_proto/policy/__init__.py +1 -0
- otdf_python_proto/policy/actions/actions_pb2.py +75 -0
- otdf_python_proto/policy/actions/actions_pb2.pyi +87 -0
- otdf_python_proto/policy/actions/actions_pb2_connect.py +275 -0
- otdf_python_proto/policy/attributes/attributes_pb2.py +234 -0
- otdf_python_proto/policy/attributes/attributes_pb2.pyi +328 -0
- otdf_python_proto/policy/attributes/attributes_pb2_connect.py +863 -0
- otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.py +266 -0
- otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.pyi +450 -0
- otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2_connect.py +611 -0
- otdf_python_proto/policy/keymanagement/key_management_pb2.py +79 -0
- otdf_python_proto/policy/keymanagement/key_management_pb2.pyi +87 -0
- otdf_python_proto/policy/keymanagement/key_management_pb2_connect.py +275 -0
- otdf_python_proto/policy/namespaces/namespaces_pb2.py +117 -0
- otdf_python_proto/policy/namespaces/namespaces_pb2.pyi +147 -0
- otdf_python_proto/policy/namespaces/namespaces_pb2_connect.py +443 -0
- otdf_python_proto/policy/objects_pb2.py +150 -0
- otdf_python_proto/policy/objects_pb2.pyi +464 -0
- otdf_python_proto/policy/registeredresources/registered_resources_pb2.py +139 -0
- otdf_python_proto/policy/registeredresources/registered_resources_pb2.pyi +196 -0
- otdf_python_proto/policy/registeredresources/registered_resources_pb2_connect.py +527 -0
- otdf_python_proto/policy/resourcemapping/resource_mapping_pb2.py +139 -0
- otdf_python_proto/policy/resourcemapping/resource_mapping_pb2.pyi +194 -0
- otdf_python_proto/policy/resourcemapping/resource_mapping_pb2_connect.py +527 -0
- otdf_python_proto/policy/selectors_pb2.py +57 -0
- otdf_python_proto/policy/selectors_pb2.pyi +90 -0
- otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.py +127 -0
- otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.pyi +189 -0
- otdf_python_proto/policy/subjectmapping/subject_mapping_pb2_connect.py +569 -0
- otdf_python_proto/policy/unsafe/unsafe_pb2.py +113 -0
- otdf_python_proto/policy/unsafe/unsafe_pb2.pyi +145 -0
- otdf_python_proto/policy/unsafe/unsafe_pb2_connect.py +485 -0
- otdf_python_proto/wellknownconfiguration/__init__.py +1 -0
- otdf_python_proto/wellknownconfiguration/wellknown_configuration_pb2.py +51 -0
- otdf_python_proto/wellknownconfiguration/wellknown_configuration_pb2.pyi +32 -0
- otdf_python_proto/wellknownconfiguration/wellknown_configuration_pb2_connect.py +107 -0
- otdf_python/_gotdf_python.cpython-312-darwin.so +0 -0
- otdf_python/build.py +0 -190
- otdf_python/go.py +0 -1478
- otdf_python/gotdf_python.py +0 -383
- otdf_python-0.1.10.dist-info/METADATA +0 -149
- otdf_python-0.1.10.dist-info/RECORD +0 -10
- otdf_python-0.1.10.dist-info/top_level.txt +0 -1
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: policy/attributes/attributes.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/attributes/attributes.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 google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
28
|
+
from policy import objects_pb2 as policy_dot_objects__pb2
|
|
29
|
+
from policy import selectors_pb2 as policy_dot_selectors__pb2
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"policy/attributes/attributes.proto\x12\x11policy.attributes\x1a\x1b\x62uf/validate/validate.proto\x1a\x13\x63ommon/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x14policy/objects.proto\x1a\x16policy/selectors.proto\"\x86\x01\n\x18\x41ttributeKeyAccessServer\x12+\n\x0c\x61ttribute_id\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x0b\x61ttributeId\x12\x39\n\x14key_access_server_id\x18\x02 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x11keyAccessServerId:\x02\x18\x01\"z\n\x14ValueKeyAccessServer\x12#\n\x08value_id\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07valueId\x12\x39\n\x14key_access_server_id\x18\x02 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x11keyAccessServerId:\x02\x18\x01\"b\n\x0c\x41ttributeKey\x12.\n\x0c\x61ttribute_id\x18\x01 \x01(\tB\x0b\xbaH\x08r\x03\xb0\x01\x01\xc8\x01\x01R\x0b\x61ttributeId\x12\"\n\x06key_id\x18\x02 \x01(\tB\x0b\xbaH\x08r\x03\xb0\x01\x01\xc8\x01\x01R\x05keyId\"V\n\x08ValueKey\x12&\n\x08value_id\x18\x01 \x01(\tB\x0b\xbaH\x08r\x03\xb0\x01\x01\xc8\x01\x01R\x07valueId\x12\"\n\x06key_id\x18\x02 \x01(\tB\x0b\xbaH\x08r\x03\xb0\x01\x01\xc8\x01\x01R\x05keyId\"\x99\x01\n\x15ListAttributesRequest\x12-\n\x05state\x18\x01 \x01(\x0e\x32\x17.common.ActiveStateEnumR\x05state\x12\x1c\n\tnamespace\x18\x02 \x01(\tR\tnamespace\x12\x33\n\npagination\x18\n \x01(\x0b\x32\x13.policy.PageRequestR\npagination\"\x81\x01\n\x16ListAttributesResponse\x12\x31\n\nattributes\x18\x01 \x03(\x0b\x32\x11.policy.AttributeR\nattributes\x12\x34\n\npagination\x18\n \x01(\x0b\x32\x14.policy.PageResponseR\npagination\"\xbe\x03\n\x13GetAttributeRequest\x12\x1d\n\x02id\x18\x01 \x01(\tB\r\x18\x01\xbaH\x08r\x03\xb0\x01\x01\xd8\x01\x01R\x02id\x12-\n\x0c\x61ttribute_id\x18\x02 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01H\x00R\x0b\x61ttributeId\x12\x1e\n\x03\x66qn\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x01\x88\x01\x01H\x00R\x03\x66qn:\xaa\x02\xbaH\xa6\x02\x1a\xa2\x01\n\x10\x65xclusive_fields\x12PEither use deprecated \'id\' field or one of \'attribute_id\' or \'fqn\', but not both\x1a<!(has(this.id) && (has(this.attribute_id) || has(this.fqn)))\x1a\x7f\n\x0frequired_fields\x12\x33\x45ither id or one of attribute_id or fqn must be set\x1a\x37has(this.id) || has(this.attribute_id) || has(this.fqn)B\x0c\n\nidentifier\"G\n\x14GetAttributeResponse\x12/\n\tattribute\x18\x01 \x01(\x0b\x32\x11.policy.AttributeR\tattribute\"\xc4\x04\n\x16\x43reateAttributeRequest\x12+\n\x0cnamespace_id\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x0bnamespaceId\x12\xaf\x02\n\x04name\x18\x02 \x01(\tB\x9a\x02\xbaH\x96\x02r\x03\x18\xfd\x01\xba\x01\x8a\x02\n\x15\x61ttribute_name_format\x12\xb3\x01\x41ttribute name must be an alphanumeric string, allowing hyphens and underscores but not as the first or last character. The stored attribute name will be normalized to lower case.\x1a;this.matches(\'^[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?$\')\xc8\x01\x01R\x04name\x12>\n\x04rule\x18\x03 \x01(\x0e\x32\x1d.policy.AttributeRuleTypeEnumB\x0b\xbaH\x08\x82\x01\x02\x10\x01\xc8\x01\x01R\x04rule\x12V\n\x06values\x18\x04 \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\"J\n\x17\x43reateAttributeResponse\x12/\n\tattribute\x18\x01 \x01(\x0b\x32\x11.policy.AttributeR\tattribute\"\xbd\x01\n\x16UpdateAttributeRequest\x12\x18\n\x02id\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x02id\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\"J\n\x17UpdateAttributeResponse\x12/\n\tattribute\x18\x01 \x01(\x0b\x32\x11.policy.AttributeR\tattribute\"6\n\x1a\x44\x65\x61\x63tivateAttributeRequest\x12\x18\n\x02id\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x02id\"N\n\x1b\x44\x65\x61\x63tivateAttributeResponse\x12/\n\tattribute\x18\x01 \x01(\x0b\x32\x11.policy.AttributeR\tattribute\"\xab\x03\n\x18GetAttributeValueRequest\x12\x1d\n\x02id\x18\x01 \x01(\tB\r\x18\x01\xbaH\x08r\x03\xb0\x01\x01\xd8\x01\x01R\x02id\x12%\n\x08value_id\x18\x02 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01H\x00R\x07valueId\x12\x1e\n\x03\x66qn\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x01\x88\x01\x01H\x00R\x03\x66qn:\x9a\x02\xbaH\x96\x02\x1a\x9a\x01\n\x10\x65xclusive_fields\x12LEither use deprecated \'id\' field or one of \'value_id\' or \'fqn\', but not both\x1a\x38!(has(this.id) && (has(this.value_id) || has(this.fqn)))\x1aw\n\x0frequired_fields\x12/Either id or one of value_id or fqn must be set\x1a\x33has(this.id) || has(this.value_id) || has(this.fqn)B\x0c\n\nidentifier\"@\n\x19GetAttributeValueResponse\x12#\n\x05value\x18\x01 \x01(\x0b\x32\r.policy.ValueR\x05value\"\xad\x01\n\x1aListAttributeValuesRequest\x12+\n\x0c\x61ttribute_id\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x0b\x61ttributeId\x12-\n\x05state\x18\x02 \x01(\x0e\x32\x17.common.ActiveStateEnumR\x05state\x12\x33\n\npagination\x18\n \x01(\x0b\x32\x13.policy.PageRequestR\npagination\"z\n\x1bListAttributeValuesResponse\x12%\n\x06values\x18\x01 \x03(\x0b\x32\r.policy.ValueR\x06values\x12\x34\n\npagination\x18\n \x01(\x0b\x32\x14.policy.PageResponseR\npagination\"\xc5\x03\n\x1b\x43reateAttributeValueRequest\x12+\n\x0c\x61ttribute_id\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x0b\x61ttributeId\x12\xb4\x02\n\x05value\x18\x02 \x01(\tB\x9d\x02\xbaH\x99\x02r\x03\x18\xfd\x01\xba\x01\x8d\x02\n\x16\x61ttribute_value_format\x12\xb5\x01\x41ttribute value must be an alphanumeric string, allowing hyphens and underscores but not as the first or last character. The stored attribute 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\x12\x33\n\x08metadata\x18\x64 \x01(\x0b\x32\x17.common.MetadataMutableR\x08metadataJ\x04\x08\x03\x10\x04R\x07members\"C\n\x1c\x43reateAttributeValueResponse\x12#\n\x05value\x18\x01 \x01(\x0b\x32\r.policy.ValueR\x05value\"\xd1\x01\n\x1bUpdateAttributeValueRequest\x12\x18\n\x02id\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x02id\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\x16metadataUpdateBehaviorJ\x04\x08\x04\x10\x05R\x07members\"C\n\x1cUpdateAttributeValueResponse\x12#\n\x05value\x18\x01 \x01(\x0b\x32\r.policy.ValueR\x05value\";\n\x1f\x44\x65\x61\x63tivateAttributeValueRequest\x12\x18\n\x02id\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x02id\"G\n DeactivateAttributeValueResponse\x12#\n\x05value\x18\x01 \x01(\x0b\x32\r.policy.ValueR\x05value\"\x81\x01\n\x1fGetAttributeValuesByFqnsRequest\x12\x1f\n\x04\x66qns\x18\x01 \x03(\tB\x0b\xbaH\x08\x92\x01\x05\x08\x01\x10\xfa\x01R\x04\x66qns\x12=\n\nwith_value\x18\x02 \x01(\x0b\x32\x1e.policy.AttributeValueSelectorR\twithValue\"\x9b\x03\n GetAttributeValuesByFqnsResponse\x12}\n\x14\x66qn_attribute_values\x18\x01 \x03(\x0b\x32K.policy.attributes.GetAttributeValuesByFqnsResponse.FqnAttributeValuesEntryR\x12\x66qnAttributeValues\x1ai\n\x11\x41ttributeAndValue\x12/\n\tattribute\x18\x01 \x01(\x0b\x32\x11.policy.AttributeR\tattribute\x12#\n\x05value\x18\x02 \x01(\x0b\x32\r.policy.ValueR\x05value\x1a\x8c\x01\n\x17\x46qnAttributeValuesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12[\n\x05value\x18\x02 \x01(\x0b\x32\x45.policy.attributes.GetAttributeValuesByFqnsResponse.AttributeAndValueR\x05value:\x02\x38\x01\"\x99\x01\n\'AssignKeyAccessServerToAttributeRequest\x12j\n\x1b\x61ttribute_key_access_server\x18\x01 \x01(\x0b\x32+.policy.attributes.AttributeKeyAccessServerR\x18\x61ttributeKeyAccessServer:\x02\x18\x01\"\x9a\x01\n(AssignKeyAccessServerToAttributeResponse\x12j\n\x1b\x61ttribute_key_access_server\x18\x01 \x01(\x0b\x32+.policy.attributes.AttributeKeyAccessServerR\x18\x61ttributeKeyAccessServer:\x02\x18\x01\"\x9b\x01\n)RemoveKeyAccessServerFromAttributeRequest\x12j\n\x1b\x61ttribute_key_access_server\x18\x01 \x01(\x0b\x32+.policy.attributes.AttributeKeyAccessServerR\x18\x61ttributeKeyAccessServer:\x02\x18\x01\"\x9c\x01\n*RemoveKeyAccessServerFromAttributeResponse\x12j\n\x1b\x61ttribute_key_access_server\x18\x01 \x01(\x0b\x32+.policy.attributes.AttributeKeyAccessServerR\x18\x61ttributeKeyAccessServer:\x02\x18\x01\"\x89\x01\n#AssignKeyAccessServerToValueRequest\x12^\n\x17value_key_access_server\x18\x01 \x01(\x0b\x32\'.policy.attributes.ValueKeyAccessServerR\x14valueKeyAccessServer:\x02\x18\x01\"\x8a\x01\n$AssignKeyAccessServerToValueResponse\x12^\n\x17value_key_access_server\x18\x01 \x01(\x0b\x32\'.policy.attributes.ValueKeyAccessServerR\x14valueKeyAccessServer:\x02\x18\x01\"\x8b\x01\n%RemoveKeyAccessServerFromValueRequest\x12^\n\x17value_key_access_server\x18\x01 \x01(\x0b\x32\'.policy.attributes.ValueKeyAccessServerR\x14valueKeyAccessServer:\x02\x18\x01\"\x8c\x01\n&RemoveKeyAccessServerFromValueResponse\x12^\n\x17value_key_access_server\x18\x01 \x01(\x0b\x32\'.policy.attributes.ValueKeyAccessServerR\x14valueKeyAccessServer:\x02\x18\x01\"q\n!AssignPublicKeyToAttributeRequest\x12L\n\rattribute_key\x18\x01 \x01(\x0b\x32\x1f.policy.attributes.AttributeKeyB\x06\xbaH\x03\xc8\x01\x01R\x0c\x61ttributeKey\"j\n\"AssignPublicKeyToAttributeResponse\x12\x44\n\rattribute_key\x18\x01 \x01(\x0b\x32\x1f.policy.attributes.AttributeKeyR\x0c\x61ttributeKey\"s\n#RemovePublicKeyFromAttributeRequest\x12L\n\rattribute_key\x18\x01 \x01(\x0b\x32\x1f.policy.attributes.AttributeKeyB\x06\xbaH\x03\xc8\x01\x01R\x0c\x61ttributeKey\"l\n$RemovePublicKeyFromAttributeResponse\x12\x44\n\rattribute_key\x18\x01 \x01(\x0b\x32\x1f.policy.attributes.AttributeKeyR\x0c\x61ttributeKey\"a\n\x1d\x41ssignPublicKeyToValueRequest\x12@\n\tvalue_key\x18\x01 \x01(\x0b\x32\x1b.policy.attributes.ValueKeyB\x06\xbaH\x03\xc8\x01\x01R\x08valueKey\"Z\n\x1e\x41ssignPublicKeyToValueResponse\x12\x38\n\tvalue_key\x18\x01 \x01(\x0b\x32\x1b.policy.attributes.ValueKeyR\x08valueKey\"c\n\x1fRemovePublicKeyFromValueRequest\x12@\n\tvalue_key\x18\x01 \x01(\x0b\x32\x1b.policy.attributes.ValueKeyB\x06\xbaH\x03\xc8\x01\x01R\x08valueKey\"\\\n RemovePublicKeyFromValueResponse\x12\x38\n\tvalue_key\x18\x01 \x01(\x0b\x32\x1b.policy.attributes.ValueKeyR\x08valueKey2\xf2\x13\n\x11\x41ttributesService\x12j\n\x0eListAttributes\x12(.policy.attributes.ListAttributesRequest\x1a).policy.attributes.ListAttributesResponse\"\x03\x90\x02\x01\x12y\n\x13ListAttributeValues\x12-.policy.attributes.ListAttributeValuesRequest\x1a..policy.attributes.ListAttributeValuesResponse\"\x03\x90\x02\x01\x12\x64\n\x0cGetAttribute\x12&.policy.attributes.GetAttributeRequest\x1a\'.policy.attributes.GetAttributeResponse\"\x03\x90\x02\x01\x12\xa1\x01\n\x18GetAttributeValuesByFqns\x12\x32.policy.attributes.GetAttributeValuesByFqnsRequest\x1a\x33.policy.attributes.GetAttributeValuesByFqnsResponse\"\x1c\x90\x02\x01\x82\xd3\xe4\x93\x02\x13\x12\x11/attributes/*/fqn\x12j\n\x0f\x43reateAttribute\x12).policy.attributes.CreateAttributeRequest\x1a*.policy.attributes.CreateAttributeResponse\"\x00\x12j\n\x0fUpdateAttribute\x12).policy.attributes.UpdateAttributeRequest\x1a*.policy.attributes.UpdateAttributeResponse\"\x00\x12v\n\x13\x44\x65\x61\x63tivateAttribute\x12-.policy.attributes.DeactivateAttributeRequest\x1a..policy.attributes.DeactivateAttributeResponse\"\x00\x12s\n\x11GetAttributeValue\x12+.policy.attributes.GetAttributeValueRequest\x1a,.policy.attributes.GetAttributeValueResponse\"\x03\x90\x02\x01\x12y\n\x14\x43reateAttributeValue\x12..policy.attributes.CreateAttributeValueRequest\x1a/.policy.attributes.CreateAttributeValueResponse\"\x00\x12y\n\x14UpdateAttributeValue\x12..policy.attributes.UpdateAttributeValueRequest\x1a/.policy.attributes.UpdateAttributeValueResponse\"\x00\x12\x85\x01\n\x18\x44\x65\x61\x63tivateAttributeValue\x12\x32.policy.attributes.DeactivateAttributeValueRequest\x1a\x33.policy.attributes.DeactivateAttributeValueResponse\"\x00\x12\xa0\x01\n AssignKeyAccessServerToAttribute\x12:.policy.attributes.AssignKeyAccessServerToAttributeRequest\x1a;.policy.attributes.AssignKeyAccessServerToAttributeResponse\"\x03\x88\x02\x01\x12\xa6\x01\n\"RemoveKeyAccessServerFromAttribute\x12<.policy.attributes.RemoveKeyAccessServerFromAttributeRequest\x1a=.policy.attributes.RemoveKeyAccessServerFromAttributeResponse\"\x03\x88\x02\x01\x12\x94\x01\n\x1c\x41ssignKeyAccessServerToValue\x12\x36.policy.attributes.AssignKeyAccessServerToValueRequest\x1a\x37.policy.attributes.AssignKeyAccessServerToValueResponse\"\x03\x88\x02\x01\x12\x9a\x01\n\x1eRemoveKeyAccessServerFromValue\x12\x38.policy.attributes.RemoveKeyAccessServerFromValueRequest\x1a\x39.policy.attributes.RemoveKeyAccessServerFromValueResponse\"\x03\x88\x02\x01\x12\x8b\x01\n\x1a\x41ssignPublicKeyToAttribute\x12\x34.policy.attributes.AssignPublicKeyToAttributeRequest\x1a\x35.policy.attributes.AssignPublicKeyToAttributeResponse\"\x00\x12\x91\x01\n\x1cRemovePublicKeyFromAttribute\x12\x36.policy.attributes.RemovePublicKeyFromAttributeRequest\x1a\x37.policy.attributes.RemovePublicKeyFromAttributeResponse\"\x00\x12\x7f\n\x16\x41ssignPublicKeyToValue\x12\x30.policy.attributes.AssignPublicKeyToValueRequest\x1a\x31.policy.attributes.AssignPublicKeyToValueResponse\"\x00\x12\x85\x01\n\x18RemovePublicKeyFromValue\x12\x32.policy.attributes.RemovePublicKeyFromValueRequest\x1a\x33.policy.attributes.RemovePublicKeyFromValueResponse\"\x00\x42\x8d\x01\n\x15\x63om.policy.attributesB\x0f\x41ttributesProtoP\x01\xa2\x02\x03PAX\xaa\x02\x11Policy.Attributes\xca\x02\x11Policy\\Attributes\xe2\x02\x1dPolicy\\Attributes\\GPBMetadata\xea\x02\x12Policy::Attributesb\x06proto3')
|
|
33
|
+
|
|
34
|
+
_globals = globals()
|
|
35
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
36
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'policy.attributes.attributes_pb2', _globals)
|
|
37
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
38
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
39
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\025com.policy.attributesB\017AttributesProtoP\001\242\002\003PAX\252\002\021Policy.Attributes\312\002\021Policy\\Attributes\342\002\035Policy\\Attributes\\GPBMetadata\352\002\022Policy::Attributes'
|
|
40
|
+
_globals['_ATTRIBUTEKEYACCESSSERVER'].fields_by_name['attribute_id']._loaded_options = None
|
|
41
|
+
_globals['_ATTRIBUTEKEYACCESSSERVER'].fields_by_name['attribute_id']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
42
|
+
_globals['_ATTRIBUTEKEYACCESSSERVER'].fields_by_name['key_access_server_id']._loaded_options = None
|
|
43
|
+
_globals['_ATTRIBUTEKEYACCESSSERVER'].fields_by_name['key_access_server_id']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
44
|
+
_globals['_ATTRIBUTEKEYACCESSSERVER']._loaded_options = None
|
|
45
|
+
_globals['_ATTRIBUTEKEYACCESSSERVER']._serialized_options = b'\030\001'
|
|
46
|
+
_globals['_VALUEKEYACCESSSERVER'].fields_by_name['value_id']._loaded_options = None
|
|
47
|
+
_globals['_VALUEKEYACCESSSERVER'].fields_by_name['value_id']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
48
|
+
_globals['_VALUEKEYACCESSSERVER'].fields_by_name['key_access_server_id']._loaded_options = None
|
|
49
|
+
_globals['_VALUEKEYACCESSSERVER'].fields_by_name['key_access_server_id']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
50
|
+
_globals['_VALUEKEYACCESSSERVER']._loaded_options = None
|
|
51
|
+
_globals['_VALUEKEYACCESSSERVER']._serialized_options = b'\030\001'
|
|
52
|
+
_globals['_ATTRIBUTEKEY'].fields_by_name['attribute_id']._loaded_options = None
|
|
53
|
+
_globals['_ATTRIBUTEKEY'].fields_by_name['attribute_id']._serialized_options = b'\272H\010r\003\260\001\001\310\001\001'
|
|
54
|
+
_globals['_ATTRIBUTEKEY'].fields_by_name['key_id']._loaded_options = None
|
|
55
|
+
_globals['_ATTRIBUTEKEY'].fields_by_name['key_id']._serialized_options = b'\272H\010r\003\260\001\001\310\001\001'
|
|
56
|
+
_globals['_VALUEKEY'].fields_by_name['value_id']._loaded_options = None
|
|
57
|
+
_globals['_VALUEKEY'].fields_by_name['value_id']._serialized_options = b'\272H\010r\003\260\001\001\310\001\001'
|
|
58
|
+
_globals['_VALUEKEY'].fields_by_name['key_id']._loaded_options = None
|
|
59
|
+
_globals['_VALUEKEY'].fields_by_name['key_id']._serialized_options = b'\272H\010r\003\260\001\001\310\001\001'
|
|
60
|
+
_globals['_GETATTRIBUTEREQUEST'].fields_by_name['id']._loaded_options = None
|
|
61
|
+
_globals['_GETATTRIBUTEREQUEST'].fields_by_name['id']._serialized_options = b'\030\001\272H\010r\003\260\001\001\330\001\001'
|
|
62
|
+
_globals['_GETATTRIBUTEREQUEST'].fields_by_name['attribute_id']._loaded_options = None
|
|
63
|
+
_globals['_GETATTRIBUTEREQUEST'].fields_by_name['attribute_id']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
64
|
+
_globals['_GETATTRIBUTEREQUEST'].fields_by_name['fqn']._loaded_options = None
|
|
65
|
+
_globals['_GETATTRIBUTEREQUEST'].fields_by_name['fqn']._serialized_options = b'\272H\007r\005\020\001\210\001\001'
|
|
66
|
+
_globals['_GETATTRIBUTEREQUEST']._loaded_options = None
|
|
67
|
+
_globals['_GETATTRIBUTEREQUEST']._serialized_options = b'\272H\246\002\032\242\001\n\020exclusive_fields\022PEither use deprecated \'id\' field or one of \'attribute_id\' or \'fqn\', but not both\032<!(has(this.id) && (has(this.attribute_id) || has(this.fqn)))\032\177\n\017required_fields\0223Either id or one of attribute_id or fqn must be set\0327has(this.id) || has(this.attribute_id) || has(this.fqn)'
|
|
68
|
+
_globals['_CREATEATTRIBUTEREQUEST'].fields_by_name['namespace_id']._loaded_options = None
|
|
69
|
+
_globals['_CREATEATTRIBUTEREQUEST'].fields_by_name['namespace_id']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
70
|
+
_globals['_CREATEATTRIBUTEREQUEST'].fields_by_name['name']._loaded_options = None
|
|
71
|
+
_globals['_CREATEATTRIBUTEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\226\002r\003\030\375\001\272\001\212\002\n\025attribute_name_format\022\263\001Attribute name must be an alphanumeric string, allowing hyphens and underscores but not as the first or last character. The stored attribute 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'
|
|
72
|
+
_globals['_CREATEATTRIBUTEREQUEST'].fields_by_name['rule']._loaded_options = None
|
|
73
|
+
_globals['_CREATEATTRIBUTEREQUEST'].fields_by_name['rule']._serialized_options = b'\272H\010\202\001\002\020\001\310\001\001'
|
|
74
|
+
_globals['_CREATEATTRIBUTEREQUEST'].fields_by_name['values']._loaded_options = None
|
|
75
|
+
_globals['_CREATEATTRIBUTEREQUEST'].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])?$'
|
|
76
|
+
_globals['_UPDATEATTRIBUTEREQUEST'].fields_by_name['id']._loaded_options = None
|
|
77
|
+
_globals['_UPDATEATTRIBUTEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
78
|
+
_globals['_DEACTIVATEATTRIBUTEREQUEST'].fields_by_name['id']._loaded_options = None
|
|
79
|
+
_globals['_DEACTIVATEATTRIBUTEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
80
|
+
_globals['_GETATTRIBUTEVALUEREQUEST'].fields_by_name['id']._loaded_options = None
|
|
81
|
+
_globals['_GETATTRIBUTEVALUEREQUEST'].fields_by_name['id']._serialized_options = b'\030\001\272H\010r\003\260\001\001\330\001\001'
|
|
82
|
+
_globals['_GETATTRIBUTEVALUEREQUEST'].fields_by_name['value_id']._loaded_options = None
|
|
83
|
+
_globals['_GETATTRIBUTEVALUEREQUEST'].fields_by_name['value_id']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
84
|
+
_globals['_GETATTRIBUTEVALUEREQUEST'].fields_by_name['fqn']._loaded_options = None
|
|
85
|
+
_globals['_GETATTRIBUTEVALUEREQUEST'].fields_by_name['fqn']._serialized_options = b'\272H\007r\005\020\001\210\001\001'
|
|
86
|
+
_globals['_GETATTRIBUTEVALUEREQUEST']._loaded_options = None
|
|
87
|
+
_globals['_GETATTRIBUTEVALUEREQUEST']._serialized_options = b'\272H\226\002\032\232\001\n\020exclusive_fields\022LEither use deprecated \'id\' field or one of \'value_id\' or \'fqn\', but not both\0328!(has(this.id) && (has(this.value_id) || has(this.fqn)))\032w\n\017required_fields\022/Either id or one of value_id or fqn must be set\0323has(this.id) || has(this.value_id) || has(this.fqn)'
|
|
88
|
+
_globals['_LISTATTRIBUTEVALUESREQUEST'].fields_by_name['attribute_id']._loaded_options = None
|
|
89
|
+
_globals['_LISTATTRIBUTEVALUESREQUEST'].fields_by_name['attribute_id']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
90
|
+
_globals['_CREATEATTRIBUTEVALUEREQUEST'].fields_by_name['attribute_id']._loaded_options = None
|
|
91
|
+
_globals['_CREATEATTRIBUTEVALUEREQUEST'].fields_by_name['attribute_id']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
92
|
+
_globals['_CREATEATTRIBUTEVALUEREQUEST'].fields_by_name['value']._loaded_options = None
|
|
93
|
+
_globals['_CREATEATTRIBUTEVALUEREQUEST'].fields_by_name['value']._serialized_options = b'\272H\231\002r\003\030\375\001\272\001\215\002\n\026attribute_value_format\022\265\001Attribute value must be an alphanumeric string, allowing hyphens and underscores but not as the first or last character. The stored attribute 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'
|
|
94
|
+
_globals['_UPDATEATTRIBUTEVALUEREQUEST'].fields_by_name['id']._loaded_options = None
|
|
95
|
+
_globals['_UPDATEATTRIBUTEVALUEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
96
|
+
_globals['_DEACTIVATEATTRIBUTEVALUEREQUEST'].fields_by_name['id']._loaded_options = None
|
|
97
|
+
_globals['_DEACTIVATEATTRIBUTEVALUEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
98
|
+
_globals['_GETATTRIBUTEVALUESBYFQNSREQUEST'].fields_by_name['fqns']._loaded_options = None
|
|
99
|
+
_globals['_GETATTRIBUTEVALUESBYFQNSREQUEST'].fields_by_name['fqns']._serialized_options = b'\272H\010\222\001\005\010\001\020\372\001'
|
|
100
|
+
_globals['_GETATTRIBUTEVALUESBYFQNSRESPONSE_FQNATTRIBUTEVALUESENTRY']._loaded_options = None
|
|
101
|
+
_globals['_GETATTRIBUTEVALUESBYFQNSRESPONSE_FQNATTRIBUTEVALUESENTRY']._serialized_options = b'8\001'
|
|
102
|
+
_globals['_ASSIGNKEYACCESSSERVERTOATTRIBUTEREQUEST']._loaded_options = None
|
|
103
|
+
_globals['_ASSIGNKEYACCESSSERVERTOATTRIBUTEREQUEST']._serialized_options = b'\030\001'
|
|
104
|
+
_globals['_ASSIGNKEYACCESSSERVERTOATTRIBUTERESPONSE']._loaded_options = None
|
|
105
|
+
_globals['_ASSIGNKEYACCESSSERVERTOATTRIBUTERESPONSE']._serialized_options = b'\030\001'
|
|
106
|
+
_globals['_REMOVEKEYACCESSSERVERFROMATTRIBUTEREQUEST']._loaded_options = None
|
|
107
|
+
_globals['_REMOVEKEYACCESSSERVERFROMATTRIBUTEREQUEST']._serialized_options = b'\030\001'
|
|
108
|
+
_globals['_REMOVEKEYACCESSSERVERFROMATTRIBUTERESPONSE']._loaded_options = None
|
|
109
|
+
_globals['_REMOVEKEYACCESSSERVERFROMATTRIBUTERESPONSE']._serialized_options = b'\030\001'
|
|
110
|
+
_globals['_ASSIGNKEYACCESSSERVERTOVALUEREQUEST']._loaded_options = None
|
|
111
|
+
_globals['_ASSIGNKEYACCESSSERVERTOVALUEREQUEST']._serialized_options = b'\030\001'
|
|
112
|
+
_globals['_ASSIGNKEYACCESSSERVERTOVALUERESPONSE']._loaded_options = None
|
|
113
|
+
_globals['_ASSIGNKEYACCESSSERVERTOVALUERESPONSE']._serialized_options = b'\030\001'
|
|
114
|
+
_globals['_REMOVEKEYACCESSSERVERFROMVALUEREQUEST']._loaded_options = None
|
|
115
|
+
_globals['_REMOVEKEYACCESSSERVERFROMVALUEREQUEST']._serialized_options = b'\030\001'
|
|
116
|
+
_globals['_REMOVEKEYACCESSSERVERFROMVALUERESPONSE']._loaded_options = None
|
|
117
|
+
_globals['_REMOVEKEYACCESSSERVERFROMVALUERESPONSE']._serialized_options = b'\030\001'
|
|
118
|
+
_globals['_ASSIGNPUBLICKEYTOATTRIBUTEREQUEST'].fields_by_name['attribute_key']._loaded_options = None
|
|
119
|
+
_globals['_ASSIGNPUBLICKEYTOATTRIBUTEREQUEST'].fields_by_name['attribute_key']._serialized_options = b'\272H\003\310\001\001'
|
|
120
|
+
_globals['_REMOVEPUBLICKEYFROMATTRIBUTEREQUEST'].fields_by_name['attribute_key']._loaded_options = None
|
|
121
|
+
_globals['_REMOVEPUBLICKEYFROMATTRIBUTEREQUEST'].fields_by_name['attribute_key']._serialized_options = b'\272H\003\310\001\001'
|
|
122
|
+
_globals['_ASSIGNPUBLICKEYTOVALUEREQUEST'].fields_by_name['value_key']._loaded_options = None
|
|
123
|
+
_globals['_ASSIGNPUBLICKEYTOVALUEREQUEST'].fields_by_name['value_key']._serialized_options = b'\272H\003\310\001\001'
|
|
124
|
+
_globals['_REMOVEPUBLICKEYFROMVALUEREQUEST'].fields_by_name['value_key']._loaded_options = None
|
|
125
|
+
_globals['_REMOVEPUBLICKEYFROMVALUEREQUEST'].fields_by_name['value_key']._serialized_options = b'\272H\003\310\001\001'
|
|
126
|
+
_globals['_ATTRIBUTESSERVICE'].methods_by_name['ListAttributes']._loaded_options = None
|
|
127
|
+
_globals['_ATTRIBUTESSERVICE'].methods_by_name['ListAttributes']._serialized_options = b'\220\002\001'
|
|
128
|
+
_globals['_ATTRIBUTESSERVICE'].methods_by_name['ListAttributeValues']._loaded_options = None
|
|
129
|
+
_globals['_ATTRIBUTESSERVICE'].methods_by_name['ListAttributeValues']._serialized_options = b'\220\002\001'
|
|
130
|
+
_globals['_ATTRIBUTESSERVICE'].methods_by_name['GetAttribute']._loaded_options = None
|
|
131
|
+
_globals['_ATTRIBUTESSERVICE'].methods_by_name['GetAttribute']._serialized_options = b'\220\002\001'
|
|
132
|
+
_globals['_ATTRIBUTESSERVICE'].methods_by_name['GetAttributeValuesByFqns']._loaded_options = None
|
|
133
|
+
_globals['_ATTRIBUTESSERVICE'].methods_by_name['GetAttributeValuesByFqns']._serialized_options = b'\220\002\001\202\323\344\223\002\023\022\021/attributes/*/fqn'
|
|
134
|
+
_globals['_ATTRIBUTESSERVICE'].methods_by_name['GetAttributeValue']._loaded_options = None
|
|
135
|
+
_globals['_ATTRIBUTESSERVICE'].methods_by_name['GetAttributeValue']._serialized_options = b'\220\002\001'
|
|
136
|
+
_globals['_ATTRIBUTESSERVICE'].methods_by_name['AssignKeyAccessServerToAttribute']._loaded_options = None
|
|
137
|
+
_globals['_ATTRIBUTESSERVICE'].methods_by_name['AssignKeyAccessServerToAttribute']._serialized_options = b'\210\002\001'
|
|
138
|
+
_globals['_ATTRIBUTESSERVICE'].methods_by_name['RemoveKeyAccessServerFromAttribute']._loaded_options = None
|
|
139
|
+
_globals['_ATTRIBUTESSERVICE'].methods_by_name['RemoveKeyAccessServerFromAttribute']._serialized_options = b'\210\002\001'
|
|
140
|
+
_globals['_ATTRIBUTESSERVICE'].methods_by_name['AssignKeyAccessServerToValue']._loaded_options = None
|
|
141
|
+
_globals['_ATTRIBUTESSERVICE'].methods_by_name['AssignKeyAccessServerToValue']._serialized_options = b'\210\002\001'
|
|
142
|
+
_globals['_ATTRIBUTESSERVICE'].methods_by_name['RemoveKeyAccessServerFromValue']._loaded_options = None
|
|
143
|
+
_globals['_ATTRIBUTESSERVICE'].methods_by_name['RemoveKeyAccessServerFromValue']._serialized_options = b'\210\002\001'
|
|
144
|
+
_globals['_ATTRIBUTEKEYACCESSSERVER']._serialized_start=184
|
|
145
|
+
_globals['_ATTRIBUTEKEYACCESSSERVER']._serialized_end=318
|
|
146
|
+
_globals['_VALUEKEYACCESSSERVER']._serialized_start=320
|
|
147
|
+
_globals['_VALUEKEYACCESSSERVER']._serialized_end=442
|
|
148
|
+
_globals['_ATTRIBUTEKEY']._serialized_start=444
|
|
149
|
+
_globals['_ATTRIBUTEKEY']._serialized_end=542
|
|
150
|
+
_globals['_VALUEKEY']._serialized_start=544
|
|
151
|
+
_globals['_VALUEKEY']._serialized_end=630
|
|
152
|
+
_globals['_LISTATTRIBUTESREQUEST']._serialized_start=633
|
|
153
|
+
_globals['_LISTATTRIBUTESREQUEST']._serialized_end=786
|
|
154
|
+
_globals['_LISTATTRIBUTESRESPONSE']._serialized_start=789
|
|
155
|
+
_globals['_LISTATTRIBUTESRESPONSE']._serialized_end=918
|
|
156
|
+
_globals['_GETATTRIBUTEREQUEST']._serialized_start=921
|
|
157
|
+
_globals['_GETATTRIBUTEREQUEST']._serialized_end=1367
|
|
158
|
+
_globals['_GETATTRIBUTERESPONSE']._serialized_start=1369
|
|
159
|
+
_globals['_GETATTRIBUTERESPONSE']._serialized_end=1440
|
|
160
|
+
_globals['_CREATEATTRIBUTEREQUEST']._serialized_start=1443
|
|
161
|
+
_globals['_CREATEATTRIBUTEREQUEST']._serialized_end=2023
|
|
162
|
+
_globals['_CREATEATTRIBUTERESPONSE']._serialized_start=2025
|
|
163
|
+
_globals['_CREATEATTRIBUTERESPONSE']._serialized_end=2099
|
|
164
|
+
_globals['_UPDATEATTRIBUTEREQUEST']._serialized_start=2102
|
|
165
|
+
_globals['_UPDATEATTRIBUTEREQUEST']._serialized_end=2291
|
|
166
|
+
_globals['_UPDATEATTRIBUTERESPONSE']._serialized_start=2293
|
|
167
|
+
_globals['_UPDATEATTRIBUTERESPONSE']._serialized_end=2367
|
|
168
|
+
_globals['_DEACTIVATEATTRIBUTEREQUEST']._serialized_start=2369
|
|
169
|
+
_globals['_DEACTIVATEATTRIBUTEREQUEST']._serialized_end=2423
|
|
170
|
+
_globals['_DEACTIVATEATTRIBUTERESPONSE']._serialized_start=2425
|
|
171
|
+
_globals['_DEACTIVATEATTRIBUTERESPONSE']._serialized_end=2503
|
|
172
|
+
_globals['_GETATTRIBUTEVALUEREQUEST']._serialized_start=2506
|
|
173
|
+
_globals['_GETATTRIBUTEVALUEREQUEST']._serialized_end=2933
|
|
174
|
+
_globals['_GETATTRIBUTEVALUERESPONSE']._serialized_start=2935
|
|
175
|
+
_globals['_GETATTRIBUTEVALUERESPONSE']._serialized_end=2999
|
|
176
|
+
_globals['_LISTATTRIBUTEVALUESREQUEST']._serialized_start=3002
|
|
177
|
+
_globals['_LISTATTRIBUTEVALUESREQUEST']._serialized_end=3175
|
|
178
|
+
_globals['_LISTATTRIBUTEVALUESRESPONSE']._serialized_start=3177
|
|
179
|
+
_globals['_LISTATTRIBUTEVALUESRESPONSE']._serialized_end=3299
|
|
180
|
+
_globals['_CREATEATTRIBUTEVALUEREQUEST']._serialized_start=3302
|
|
181
|
+
_globals['_CREATEATTRIBUTEVALUEREQUEST']._serialized_end=3755
|
|
182
|
+
_globals['_CREATEATTRIBUTEVALUERESPONSE']._serialized_start=3757
|
|
183
|
+
_globals['_CREATEATTRIBUTEVALUERESPONSE']._serialized_end=3824
|
|
184
|
+
_globals['_UPDATEATTRIBUTEVALUEREQUEST']._serialized_start=3827
|
|
185
|
+
_globals['_UPDATEATTRIBUTEVALUEREQUEST']._serialized_end=4036
|
|
186
|
+
_globals['_UPDATEATTRIBUTEVALUERESPONSE']._serialized_start=4038
|
|
187
|
+
_globals['_UPDATEATTRIBUTEVALUERESPONSE']._serialized_end=4105
|
|
188
|
+
_globals['_DEACTIVATEATTRIBUTEVALUEREQUEST']._serialized_start=4107
|
|
189
|
+
_globals['_DEACTIVATEATTRIBUTEVALUEREQUEST']._serialized_end=4166
|
|
190
|
+
_globals['_DEACTIVATEATTRIBUTEVALUERESPONSE']._serialized_start=4168
|
|
191
|
+
_globals['_DEACTIVATEATTRIBUTEVALUERESPONSE']._serialized_end=4239
|
|
192
|
+
_globals['_GETATTRIBUTEVALUESBYFQNSREQUEST']._serialized_start=4242
|
|
193
|
+
_globals['_GETATTRIBUTEVALUESBYFQNSREQUEST']._serialized_end=4371
|
|
194
|
+
_globals['_GETATTRIBUTEVALUESBYFQNSRESPONSE']._serialized_start=4374
|
|
195
|
+
_globals['_GETATTRIBUTEVALUESBYFQNSRESPONSE']._serialized_end=4785
|
|
196
|
+
_globals['_GETATTRIBUTEVALUESBYFQNSRESPONSE_ATTRIBUTEANDVALUE']._serialized_start=4537
|
|
197
|
+
_globals['_GETATTRIBUTEVALUESBYFQNSRESPONSE_ATTRIBUTEANDVALUE']._serialized_end=4642
|
|
198
|
+
_globals['_GETATTRIBUTEVALUESBYFQNSRESPONSE_FQNATTRIBUTEVALUESENTRY']._serialized_start=4645
|
|
199
|
+
_globals['_GETATTRIBUTEVALUESBYFQNSRESPONSE_FQNATTRIBUTEVALUESENTRY']._serialized_end=4785
|
|
200
|
+
_globals['_ASSIGNKEYACCESSSERVERTOATTRIBUTEREQUEST']._serialized_start=4788
|
|
201
|
+
_globals['_ASSIGNKEYACCESSSERVERTOATTRIBUTEREQUEST']._serialized_end=4941
|
|
202
|
+
_globals['_ASSIGNKEYACCESSSERVERTOATTRIBUTERESPONSE']._serialized_start=4944
|
|
203
|
+
_globals['_ASSIGNKEYACCESSSERVERTOATTRIBUTERESPONSE']._serialized_end=5098
|
|
204
|
+
_globals['_REMOVEKEYACCESSSERVERFROMATTRIBUTEREQUEST']._serialized_start=5101
|
|
205
|
+
_globals['_REMOVEKEYACCESSSERVERFROMATTRIBUTEREQUEST']._serialized_end=5256
|
|
206
|
+
_globals['_REMOVEKEYACCESSSERVERFROMATTRIBUTERESPONSE']._serialized_start=5259
|
|
207
|
+
_globals['_REMOVEKEYACCESSSERVERFROMATTRIBUTERESPONSE']._serialized_end=5415
|
|
208
|
+
_globals['_ASSIGNKEYACCESSSERVERTOVALUEREQUEST']._serialized_start=5418
|
|
209
|
+
_globals['_ASSIGNKEYACCESSSERVERTOVALUEREQUEST']._serialized_end=5555
|
|
210
|
+
_globals['_ASSIGNKEYACCESSSERVERTOVALUERESPONSE']._serialized_start=5558
|
|
211
|
+
_globals['_ASSIGNKEYACCESSSERVERTOVALUERESPONSE']._serialized_end=5696
|
|
212
|
+
_globals['_REMOVEKEYACCESSSERVERFROMVALUEREQUEST']._serialized_start=5699
|
|
213
|
+
_globals['_REMOVEKEYACCESSSERVERFROMVALUEREQUEST']._serialized_end=5838
|
|
214
|
+
_globals['_REMOVEKEYACCESSSERVERFROMVALUERESPONSE']._serialized_start=5841
|
|
215
|
+
_globals['_REMOVEKEYACCESSSERVERFROMVALUERESPONSE']._serialized_end=5981
|
|
216
|
+
_globals['_ASSIGNPUBLICKEYTOATTRIBUTEREQUEST']._serialized_start=5983
|
|
217
|
+
_globals['_ASSIGNPUBLICKEYTOATTRIBUTEREQUEST']._serialized_end=6096
|
|
218
|
+
_globals['_ASSIGNPUBLICKEYTOATTRIBUTERESPONSE']._serialized_start=6098
|
|
219
|
+
_globals['_ASSIGNPUBLICKEYTOATTRIBUTERESPONSE']._serialized_end=6204
|
|
220
|
+
_globals['_REMOVEPUBLICKEYFROMATTRIBUTEREQUEST']._serialized_start=6206
|
|
221
|
+
_globals['_REMOVEPUBLICKEYFROMATTRIBUTEREQUEST']._serialized_end=6321
|
|
222
|
+
_globals['_REMOVEPUBLICKEYFROMATTRIBUTERESPONSE']._serialized_start=6323
|
|
223
|
+
_globals['_REMOVEPUBLICKEYFROMATTRIBUTERESPONSE']._serialized_end=6431
|
|
224
|
+
_globals['_ASSIGNPUBLICKEYTOVALUEREQUEST']._serialized_start=6433
|
|
225
|
+
_globals['_ASSIGNPUBLICKEYTOVALUEREQUEST']._serialized_end=6530
|
|
226
|
+
_globals['_ASSIGNPUBLICKEYTOVALUERESPONSE']._serialized_start=6532
|
|
227
|
+
_globals['_ASSIGNPUBLICKEYTOVALUERESPONSE']._serialized_end=6622
|
|
228
|
+
_globals['_REMOVEPUBLICKEYFROMVALUEREQUEST']._serialized_start=6624
|
|
229
|
+
_globals['_REMOVEPUBLICKEYFROMVALUEREQUEST']._serialized_end=6723
|
|
230
|
+
_globals['_REMOVEPUBLICKEYFROMVALUERESPONSE']._serialized_start=6725
|
|
231
|
+
_globals['_REMOVEPUBLICKEYFROMVALUERESPONSE']._serialized_end=6817
|
|
232
|
+
_globals['_ATTRIBUTESSERVICE']._serialized_start=6820
|
|
233
|
+
_globals['_ATTRIBUTESSERVICE']._serialized_end=9366
|
|
234
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
from buf.validate import validate_pb2 as _validate_pb2
|
|
2
|
+
from common import common_pb2 as _common_pb2
|
|
3
|
+
from google.api import annotations_pb2 as _annotations_pb2
|
|
4
|
+
from policy import objects_pb2 as _objects_pb2
|
|
5
|
+
from policy import selectors_pb2 as _selectors_pb2
|
|
6
|
+
from google.protobuf.internal import containers as _containers
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import message as _message
|
|
9
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
10
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
11
|
+
|
|
12
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
13
|
+
|
|
14
|
+
class AttributeKeyAccessServer(_message.Message):
|
|
15
|
+
__slots__ = ("attribute_id", "key_access_server_id")
|
|
16
|
+
ATTRIBUTE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
KEY_ACCESS_SERVER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
attribute_id: str
|
|
19
|
+
key_access_server_id: str
|
|
20
|
+
def __init__(self, attribute_id: _Optional[str] = ..., key_access_server_id: _Optional[str] = ...) -> None: ...
|
|
21
|
+
|
|
22
|
+
class ValueKeyAccessServer(_message.Message):
|
|
23
|
+
__slots__ = ("value_id", "key_access_server_id")
|
|
24
|
+
VALUE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
KEY_ACCESS_SERVER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
+
value_id: str
|
|
27
|
+
key_access_server_id: str
|
|
28
|
+
def __init__(self, value_id: _Optional[str] = ..., key_access_server_id: _Optional[str] = ...) -> None: ...
|
|
29
|
+
|
|
30
|
+
class AttributeKey(_message.Message):
|
|
31
|
+
__slots__ = ("attribute_id", "key_id")
|
|
32
|
+
ATTRIBUTE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
KEY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
+
attribute_id: str
|
|
35
|
+
key_id: str
|
|
36
|
+
def __init__(self, attribute_id: _Optional[str] = ..., key_id: _Optional[str] = ...) -> None: ...
|
|
37
|
+
|
|
38
|
+
class ValueKey(_message.Message):
|
|
39
|
+
__slots__ = ("value_id", "key_id")
|
|
40
|
+
VALUE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
41
|
+
KEY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
42
|
+
value_id: str
|
|
43
|
+
key_id: str
|
|
44
|
+
def __init__(self, value_id: _Optional[str] = ..., key_id: _Optional[str] = ...) -> None: ...
|
|
45
|
+
|
|
46
|
+
class ListAttributesRequest(_message.Message):
|
|
47
|
+
__slots__ = ("state", "namespace", "pagination")
|
|
48
|
+
STATE_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
NAMESPACE_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
state: _common_pb2.ActiveStateEnum
|
|
52
|
+
namespace: str
|
|
53
|
+
pagination: _selectors_pb2.PageRequest
|
|
54
|
+
def __init__(self, state: _Optional[_Union[_common_pb2.ActiveStateEnum, str]] = ..., namespace: _Optional[str] = ..., pagination: _Optional[_Union[_selectors_pb2.PageRequest, _Mapping]] = ...) -> None: ...
|
|
55
|
+
|
|
56
|
+
class ListAttributesResponse(_message.Message):
|
|
57
|
+
__slots__ = ("attributes", "pagination")
|
|
58
|
+
ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
59
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
+
attributes: _containers.RepeatedCompositeFieldContainer[_objects_pb2.Attribute]
|
|
61
|
+
pagination: _selectors_pb2.PageResponse
|
|
62
|
+
def __init__(self, attributes: _Optional[_Iterable[_Union[_objects_pb2.Attribute, _Mapping]]] = ..., pagination: _Optional[_Union[_selectors_pb2.PageResponse, _Mapping]] = ...) -> None: ...
|
|
63
|
+
|
|
64
|
+
class GetAttributeRequest(_message.Message):
|
|
65
|
+
__slots__ = ("id", "attribute_id", "fqn")
|
|
66
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
67
|
+
ATTRIBUTE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
68
|
+
FQN_FIELD_NUMBER: _ClassVar[int]
|
|
69
|
+
id: str
|
|
70
|
+
attribute_id: str
|
|
71
|
+
fqn: str
|
|
72
|
+
def __init__(self, id: _Optional[str] = ..., attribute_id: _Optional[str] = ..., fqn: _Optional[str] = ...) -> None: ...
|
|
73
|
+
|
|
74
|
+
class GetAttributeResponse(_message.Message):
|
|
75
|
+
__slots__ = ("attribute",)
|
|
76
|
+
ATTRIBUTE_FIELD_NUMBER: _ClassVar[int]
|
|
77
|
+
attribute: _objects_pb2.Attribute
|
|
78
|
+
def __init__(self, attribute: _Optional[_Union[_objects_pb2.Attribute, _Mapping]] = ...) -> None: ...
|
|
79
|
+
|
|
80
|
+
class CreateAttributeRequest(_message.Message):
|
|
81
|
+
__slots__ = ("namespace_id", "name", "rule", "values", "metadata")
|
|
82
|
+
NAMESPACE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
83
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
84
|
+
RULE_FIELD_NUMBER: _ClassVar[int]
|
|
85
|
+
VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
86
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
87
|
+
namespace_id: str
|
|
88
|
+
name: str
|
|
89
|
+
rule: _objects_pb2.AttributeRuleTypeEnum
|
|
90
|
+
values: _containers.RepeatedScalarFieldContainer[str]
|
|
91
|
+
metadata: _common_pb2.MetadataMutable
|
|
92
|
+
def __init__(self, namespace_id: _Optional[str] = ..., name: _Optional[str] = ..., rule: _Optional[_Union[_objects_pb2.AttributeRuleTypeEnum, str]] = ..., values: _Optional[_Iterable[str]] = ..., metadata: _Optional[_Union[_common_pb2.MetadataMutable, _Mapping]] = ...) -> None: ...
|
|
93
|
+
|
|
94
|
+
class CreateAttributeResponse(_message.Message):
|
|
95
|
+
__slots__ = ("attribute",)
|
|
96
|
+
ATTRIBUTE_FIELD_NUMBER: _ClassVar[int]
|
|
97
|
+
attribute: _objects_pb2.Attribute
|
|
98
|
+
def __init__(self, attribute: _Optional[_Union[_objects_pb2.Attribute, _Mapping]] = ...) -> None: ...
|
|
99
|
+
|
|
100
|
+
class UpdateAttributeRequest(_message.Message):
|
|
101
|
+
__slots__ = ("id", "metadata", "metadata_update_behavior")
|
|
102
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
103
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
104
|
+
METADATA_UPDATE_BEHAVIOR_FIELD_NUMBER: _ClassVar[int]
|
|
105
|
+
id: str
|
|
106
|
+
metadata: _common_pb2.MetadataMutable
|
|
107
|
+
metadata_update_behavior: _common_pb2.MetadataUpdateEnum
|
|
108
|
+
def __init__(self, id: _Optional[str] = ..., metadata: _Optional[_Union[_common_pb2.MetadataMutable, _Mapping]] = ..., metadata_update_behavior: _Optional[_Union[_common_pb2.MetadataUpdateEnum, str]] = ...) -> None: ...
|
|
109
|
+
|
|
110
|
+
class UpdateAttributeResponse(_message.Message):
|
|
111
|
+
__slots__ = ("attribute",)
|
|
112
|
+
ATTRIBUTE_FIELD_NUMBER: _ClassVar[int]
|
|
113
|
+
attribute: _objects_pb2.Attribute
|
|
114
|
+
def __init__(self, attribute: _Optional[_Union[_objects_pb2.Attribute, _Mapping]] = ...) -> None: ...
|
|
115
|
+
|
|
116
|
+
class DeactivateAttributeRequest(_message.Message):
|
|
117
|
+
__slots__ = ("id",)
|
|
118
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
119
|
+
id: str
|
|
120
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
121
|
+
|
|
122
|
+
class DeactivateAttributeResponse(_message.Message):
|
|
123
|
+
__slots__ = ("attribute",)
|
|
124
|
+
ATTRIBUTE_FIELD_NUMBER: _ClassVar[int]
|
|
125
|
+
attribute: _objects_pb2.Attribute
|
|
126
|
+
def __init__(self, attribute: _Optional[_Union[_objects_pb2.Attribute, _Mapping]] = ...) -> None: ...
|
|
127
|
+
|
|
128
|
+
class GetAttributeValueRequest(_message.Message):
|
|
129
|
+
__slots__ = ("id", "value_id", "fqn")
|
|
130
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
131
|
+
VALUE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
132
|
+
FQN_FIELD_NUMBER: _ClassVar[int]
|
|
133
|
+
id: str
|
|
134
|
+
value_id: str
|
|
135
|
+
fqn: str
|
|
136
|
+
def __init__(self, id: _Optional[str] = ..., value_id: _Optional[str] = ..., fqn: _Optional[str] = ...) -> None: ...
|
|
137
|
+
|
|
138
|
+
class GetAttributeValueResponse(_message.Message):
|
|
139
|
+
__slots__ = ("value",)
|
|
140
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
141
|
+
value: _objects_pb2.Value
|
|
142
|
+
def __init__(self, value: _Optional[_Union[_objects_pb2.Value, _Mapping]] = ...) -> None: ...
|
|
143
|
+
|
|
144
|
+
class ListAttributeValuesRequest(_message.Message):
|
|
145
|
+
__slots__ = ("attribute_id", "state", "pagination")
|
|
146
|
+
ATTRIBUTE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
147
|
+
STATE_FIELD_NUMBER: _ClassVar[int]
|
|
148
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
149
|
+
attribute_id: str
|
|
150
|
+
state: _common_pb2.ActiveStateEnum
|
|
151
|
+
pagination: _selectors_pb2.PageRequest
|
|
152
|
+
def __init__(self, attribute_id: _Optional[str] = ..., state: _Optional[_Union[_common_pb2.ActiveStateEnum, str]] = ..., pagination: _Optional[_Union[_selectors_pb2.PageRequest, _Mapping]] = ...) -> None: ...
|
|
153
|
+
|
|
154
|
+
class ListAttributeValuesResponse(_message.Message):
|
|
155
|
+
__slots__ = ("values", "pagination")
|
|
156
|
+
VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
157
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
158
|
+
values: _containers.RepeatedCompositeFieldContainer[_objects_pb2.Value]
|
|
159
|
+
pagination: _selectors_pb2.PageResponse
|
|
160
|
+
def __init__(self, values: _Optional[_Iterable[_Union[_objects_pb2.Value, _Mapping]]] = ..., pagination: _Optional[_Union[_selectors_pb2.PageResponse, _Mapping]] = ...) -> None: ...
|
|
161
|
+
|
|
162
|
+
class CreateAttributeValueRequest(_message.Message):
|
|
163
|
+
__slots__ = ("attribute_id", "value", "metadata")
|
|
164
|
+
ATTRIBUTE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
165
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
166
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
167
|
+
attribute_id: str
|
|
168
|
+
value: str
|
|
169
|
+
metadata: _common_pb2.MetadataMutable
|
|
170
|
+
def __init__(self, attribute_id: _Optional[str] = ..., value: _Optional[str] = ..., metadata: _Optional[_Union[_common_pb2.MetadataMutable, _Mapping]] = ...) -> None: ...
|
|
171
|
+
|
|
172
|
+
class CreateAttributeValueResponse(_message.Message):
|
|
173
|
+
__slots__ = ("value",)
|
|
174
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
175
|
+
value: _objects_pb2.Value
|
|
176
|
+
def __init__(self, value: _Optional[_Union[_objects_pb2.Value, _Mapping]] = ...) -> None: ...
|
|
177
|
+
|
|
178
|
+
class UpdateAttributeValueRequest(_message.Message):
|
|
179
|
+
__slots__ = ("id", "metadata", "metadata_update_behavior")
|
|
180
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
181
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
182
|
+
METADATA_UPDATE_BEHAVIOR_FIELD_NUMBER: _ClassVar[int]
|
|
183
|
+
id: str
|
|
184
|
+
metadata: _common_pb2.MetadataMutable
|
|
185
|
+
metadata_update_behavior: _common_pb2.MetadataUpdateEnum
|
|
186
|
+
def __init__(self, id: _Optional[str] = ..., metadata: _Optional[_Union[_common_pb2.MetadataMutable, _Mapping]] = ..., metadata_update_behavior: _Optional[_Union[_common_pb2.MetadataUpdateEnum, str]] = ...) -> None: ...
|
|
187
|
+
|
|
188
|
+
class UpdateAttributeValueResponse(_message.Message):
|
|
189
|
+
__slots__ = ("value",)
|
|
190
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
191
|
+
value: _objects_pb2.Value
|
|
192
|
+
def __init__(self, value: _Optional[_Union[_objects_pb2.Value, _Mapping]] = ...) -> None: ...
|
|
193
|
+
|
|
194
|
+
class DeactivateAttributeValueRequest(_message.Message):
|
|
195
|
+
__slots__ = ("id",)
|
|
196
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
197
|
+
id: str
|
|
198
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
199
|
+
|
|
200
|
+
class DeactivateAttributeValueResponse(_message.Message):
|
|
201
|
+
__slots__ = ("value",)
|
|
202
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
203
|
+
value: _objects_pb2.Value
|
|
204
|
+
def __init__(self, value: _Optional[_Union[_objects_pb2.Value, _Mapping]] = ...) -> None: ...
|
|
205
|
+
|
|
206
|
+
class GetAttributeValuesByFqnsRequest(_message.Message):
|
|
207
|
+
__slots__ = ("fqns", "with_value")
|
|
208
|
+
FQNS_FIELD_NUMBER: _ClassVar[int]
|
|
209
|
+
WITH_VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
210
|
+
fqns: _containers.RepeatedScalarFieldContainer[str]
|
|
211
|
+
with_value: _selectors_pb2.AttributeValueSelector
|
|
212
|
+
def __init__(self, fqns: _Optional[_Iterable[str]] = ..., with_value: _Optional[_Union[_selectors_pb2.AttributeValueSelector, _Mapping]] = ...) -> None: ...
|
|
213
|
+
|
|
214
|
+
class GetAttributeValuesByFqnsResponse(_message.Message):
|
|
215
|
+
__slots__ = ("fqn_attribute_values",)
|
|
216
|
+
class AttributeAndValue(_message.Message):
|
|
217
|
+
__slots__ = ("attribute", "value")
|
|
218
|
+
ATTRIBUTE_FIELD_NUMBER: _ClassVar[int]
|
|
219
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
220
|
+
attribute: _objects_pb2.Attribute
|
|
221
|
+
value: _objects_pb2.Value
|
|
222
|
+
def __init__(self, attribute: _Optional[_Union[_objects_pb2.Attribute, _Mapping]] = ..., value: _Optional[_Union[_objects_pb2.Value, _Mapping]] = ...) -> None: ...
|
|
223
|
+
class FqnAttributeValuesEntry(_message.Message):
|
|
224
|
+
__slots__ = ("key", "value")
|
|
225
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
226
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
227
|
+
key: str
|
|
228
|
+
value: GetAttributeValuesByFqnsResponse.AttributeAndValue
|
|
229
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[GetAttributeValuesByFqnsResponse.AttributeAndValue, _Mapping]] = ...) -> None: ...
|
|
230
|
+
FQN_ATTRIBUTE_VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
231
|
+
fqn_attribute_values: _containers.MessageMap[str, GetAttributeValuesByFqnsResponse.AttributeAndValue]
|
|
232
|
+
def __init__(self, fqn_attribute_values: _Optional[_Mapping[str, GetAttributeValuesByFqnsResponse.AttributeAndValue]] = ...) -> None: ...
|
|
233
|
+
|
|
234
|
+
class AssignKeyAccessServerToAttributeRequest(_message.Message):
|
|
235
|
+
__slots__ = ("attribute_key_access_server",)
|
|
236
|
+
ATTRIBUTE_KEY_ACCESS_SERVER_FIELD_NUMBER: _ClassVar[int]
|
|
237
|
+
attribute_key_access_server: AttributeKeyAccessServer
|
|
238
|
+
def __init__(self, attribute_key_access_server: _Optional[_Union[AttributeKeyAccessServer, _Mapping]] = ...) -> None: ...
|
|
239
|
+
|
|
240
|
+
class AssignKeyAccessServerToAttributeResponse(_message.Message):
|
|
241
|
+
__slots__ = ("attribute_key_access_server",)
|
|
242
|
+
ATTRIBUTE_KEY_ACCESS_SERVER_FIELD_NUMBER: _ClassVar[int]
|
|
243
|
+
attribute_key_access_server: AttributeKeyAccessServer
|
|
244
|
+
def __init__(self, attribute_key_access_server: _Optional[_Union[AttributeKeyAccessServer, _Mapping]] = ...) -> None: ...
|
|
245
|
+
|
|
246
|
+
class RemoveKeyAccessServerFromAttributeRequest(_message.Message):
|
|
247
|
+
__slots__ = ("attribute_key_access_server",)
|
|
248
|
+
ATTRIBUTE_KEY_ACCESS_SERVER_FIELD_NUMBER: _ClassVar[int]
|
|
249
|
+
attribute_key_access_server: AttributeKeyAccessServer
|
|
250
|
+
def __init__(self, attribute_key_access_server: _Optional[_Union[AttributeKeyAccessServer, _Mapping]] = ...) -> None: ...
|
|
251
|
+
|
|
252
|
+
class RemoveKeyAccessServerFromAttributeResponse(_message.Message):
|
|
253
|
+
__slots__ = ("attribute_key_access_server",)
|
|
254
|
+
ATTRIBUTE_KEY_ACCESS_SERVER_FIELD_NUMBER: _ClassVar[int]
|
|
255
|
+
attribute_key_access_server: AttributeKeyAccessServer
|
|
256
|
+
def __init__(self, attribute_key_access_server: _Optional[_Union[AttributeKeyAccessServer, _Mapping]] = ...) -> None: ...
|
|
257
|
+
|
|
258
|
+
class AssignKeyAccessServerToValueRequest(_message.Message):
|
|
259
|
+
__slots__ = ("value_key_access_server",)
|
|
260
|
+
VALUE_KEY_ACCESS_SERVER_FIELD_NUMBER: _ClassVar[int]
|
|
261
|
+
value_key_access_server: ValueKeyAccessServer
|
|
262
|
+
def __init__(self, value_key_access_server: _Optional[_Union[ValueKeyAccessServer, _Mapping]] = ...) -> None: ...
|
|
263
|
+
|
|
264
|
+
class AssignKeyAccessServerToValueResponse(_message.Message):
|
|
265
|
+
__slots__ = ("value_key_access_server",)
|
|
266
|
+
VALUE_KEY_ACCESS_SERVER_FIELD_NUMBER: _ClassVar[int]
|
|
267
|
+
value_key_access_server: ValueKeyAccessServer
|
|
268
|
+
def __init__(self, value_key_access_server: _Optional[_Union[ValueKeyAccessServer, _Mapping]] = ...) -> None: ...
|
|
269
|
+
|
|
270
|
+
class RemoveKeyAccessServerFromValueRequest(_message.Message):
|
|
271
|
+
__slots__ = ("value_key_access_server",)
|
|
272
|
+
VALUE_KEY_ACCESS_SERVER_FIELD_NUMBER: _ClassVar[int]
|
|
273
|
+
value_key_access_server: ValueKeyAccessServer
|
|
274
|
+
def __init__(self, value_key_access_server: _Optional[_Union[ValueKeyAccessServer, _Mapping]] = ...) -> None: ...
|
|
275
|
+
|
|
276
|
+
class RemoveKeyAccessServerFromValueResponse(_message.Message):
|
|
277
|
+
__slots__ = ("value_key_access_server",)
|
|
278
|
+
VALUE_KEY_ACCESS_SERVER_FIELD_NUMBER: _ClassVar[int]
|
|
279
|
+
value_key_access_server: ValueKeyAccessServer
|
|
280
|
+
def __init__(self, value_key_access_server: _Optional[_Union[ValueKeyAccessServer, _Mapping]] = ...) -> None: ...
|
|
281
|
+
|
|
282
|
+
class AssignPublicKeyToAttributeRequest(_message.Message):
|
|
283
|
+
__slots__ = ("attribute_key",)
|
|
284
|
+
ATTRIBUTE_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
285
|
+
attribute_key: AttributeKey
|
|
286
|
+
def __init__(self, attribute_key: _Optional[_Union[AttributeKey, _Mapping]] = ...) -> None: ...
|
|
287
|
+
|
|
288
|
+
class AssignPublicKeyToAttributeResponse(_message.Message):
|
|
289
|
+
__slots__ = ("attribute_key",)
|
|
290
|
+
ATTRIBUTE_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
291
|
+
attribute_key: AttributeKey
|
|
292
|
+
def __init__(self, attribute_key: _Optional[_Union[AttributeKey, _Mapping]] = ...) -> None: ...
|
|
293
|
+
|
|
294
|
+
class RemovePublicKeyFromAttributeRequest(_message.Message):
|
|
295
|
+
__slots__ = ("attribute_key",)
|
|
296
|
+
ATTRIBUTE_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
297
|
+
attribute_key: AttributeKey
|
|
298
|
+
def __init__(self, attribute_key: _Optional[_Union[AttributeKey, _Mapping]] = ...) -> None: ...
|
|
299
|
+
|
|
300
|
+
class RemovePublicKeyFromAttributeResponse(_message.Message):
|
|
301
|
+
__slots__ = ("attribute_key",)
|
|
302
|
+
ATTRIBUTE_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
303
|
+
attribute_key: AttributeKey
|
|
304
|
+
def __init__(self, attribute_key: _Optional[_Union[AttributeKey, _Mapping]] = ...) -> None: ...
|
|
305
|
+
|
|
306
|
+
class AssignPublicKeyToValueRequest(_message.Message):
|
|
307
|
+
__slots__ = ("value_key",)
|
|
308
|
+
VALUE_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
309
|
+
value_key: ValueKey
|
|
310
|
+
def __init__(self, value_key: _Optional[_Union[ValueKey, _Mapping]] = ...) -> None: ...
|
|
311
|
+
|
|
312
|
+
class AssignPublicKeyToValueResponse(_message.Message):
|
|
313
|
+
__slots__ = ("value_key",)
|
|
314
|
+
VALUE_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
315
|
+
value_key: ValueKey
|
|
316
|
+
def __init__(self, value_key: _Optional[_Union[ValueKey, _Mapping]] = ...) -> None: ...
|
|
317
|
+
|
|
318
|
+
class RemovePublicKeyFromValueRequest(_message.Message):
|
|
319
|
+
__slots__ = ("value_key",)
|
|
320
|
+
VALUE_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
321
|
+
value_key: ValueKey
|
|
322
|
+
def __init__(self, value_key: _Optional[_Union[ValueKey, _Mapping]] = ...) -> None: ...
|
|
323
|
+
|
|
324
|
+
class RemovePublicKeyFromValueResponse(_message.Message):
|
|
325
|
+
__slots__ = ("value_key",)
|
|
326
|
+
VALUE_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
327
|
+
value_key: ValueKey
|
|
328
|
+
def __init__(self, value_key: _Optional[_Union[ValueKey, _Mapping]] = ...) -> None: ...
|