@opentdf/sdk 0.3.1 → 0.3.2-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/access/access-fetch.js +155 -0
- package/dist/cjs/src/access/access-rpc.js +131 -0
- package/dist/cjs/src/access.js +81 -107
- package/dist/cjs/src/auth/oidc.js +2 -2
- package/dist/cjs/src/nanotdf/Client.js +17 -13
- package/dist/cjs/src/nanotdf/models/Header.js +2 -2
- package/dist/cjs/src/nanotdf-crypto/keyAgreement.js +2 -2
- package/dist/cjs/src/opentdf.js +42 -8
- package/dist/cjs/src/platform/authorization/authorization_pb.js +138 -0
- package/dist/cjs/src/platform/buf/validate/validate_pb.js +410 -0
- package/dist/cjs/src/platform/common/common_pb.js +79 -0
- package/dist/cjs/src/platform/entityresolution/entity_resolution_pb.js +49 -0
- package/dist/cjs/src/platform/google/api/annotations_pb.js +30 -0
- package/dist/cjs/src/platform/google/api/http_pb.js +37 -0
- package/dist/cjs/src/platform/kas/kas_pb.js +96 -0
- package/dist/cjs/src/platform/policy/actions/actions_pb.js +70 -0
- package/dist/cjs/src/platform/policy/attributes/attributes_pb.js +240 -0
- package/dist/cjs/src/platform/policy/kasregistry/key_access_server_registry_pb.js +236 -0
- package/dist/cjs/src/platform/policy/keymanagement/key_management_pb.js +70 -0
- package/dist/cjs/src/platform/policy/namespaces/namespaces_pb.js +121 -0
- package/dist/cjs/src/platform/policy/objects_pb.js +395 -0
- package/dist/cjs/src/platform/policy/registeredresources/registered_resources_pb.js +132 -0
- package/dist/cjs/src/platform/policy/resourcemapping/resource_mapping_pb.js +139 -0
- package/dist/cjs/src/platform/policy/selectors_pb.js +67 -0
- package/dist/cjs/src/platform/policy/subjectmapping/subject_mapping_pb.js +146 -0
- package/dist/cjs/src/platform/policy/unsafe/unsafe_pb.js +124 -0
- package/dist/cjs/src/platform/protoc-gen-openapiv2/options/annotations_pb.js +68 -0
- package/dist/cjs/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.js +307 -0
- package/dist/cjs/src/platform/wellknownconfiguration/wellknown_configuration_pb.js +33 -0
- package/dist/cjs/src/platform.js +124 -0
- package/dist/cjs/src/policy/api.js +21 -38
- package/dist/cjs/src/policy/attributes.js +4 -1
- package/dist/cjs/src/policy/granter.js +9 -9
- package/dist/cjs/src/utils.js +31 -1
- package/dist/cjs/src/version.js +2 -2
- package/dist/cjs/tdf3/src/client/index.js +23 -18
- package/dist/cjs/tdf3/src/tdf.js +5 -5
- package/dist/types/src/access/access-fetch.d.ts +21 -0
- package/dist/types/src/access/access-fetch.d.ts.map +1 -0
- package/dist/types/src/access/access-rpc.d.ts +22 -0
- package/dist/types/src/access/access-rpc.d.ts.map +1 -0
- package/dist/types/src/access.d.ts +19 -11
- package/dist/types/src/access.d.ts.map +1 -1
- package/dist/types/src/nanotdf/Client.d.ts +3 -1
- package/dist/types/src/nanotdf/Client.d.ts.map +1 -1
- package/dist/types/src/opentdf.d.ts +5 -1
- package/dist/types/src/opentdf.d.ts.map +1 -1
- package/dist/types/src/platform/authorization/authorization_pb.d.ts +609 -0
- package/dist/types/src/platform/authorization/authorization_pb.d.ts.map +1 -0
- package/dist/types/src/platform/buf/validate/validate_pb.d.ts +4466 -0
- package/dist/types/src/platform/buf/validate/validate_pb.d.ts.map +1 -0
- package/dist/types/src/platform/common/common_pb.d.ts +112 -0
- package/dist/types/src/platform/common/common_pb.d.ts.map +1 -0
- package/dist/types/src/platform/entityresolution/entity_resolution_pb.d.ts +199 -0
- package/dist/types/src/platform/entityresolution/entity_resolution_pb.d.ts.map +1 -0
- package/dist/types/src/platform/google/api/annotations_pb.d.ts +14 -0
- package/dist/types/src/platform/google/api/annotations_pb.d.ts.map +1 -0
- package/dist/types/src/platform/google/api/http_pb.d.ts +441 -0
- package/dist/types/src/platform/google/api/http_pb.d.ts.map +1 -0
- package/dist/types/src/platform/kas/kas_pb.d.ts +404 -0
- package/dist/types/src/platform/kas/kas_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/actions/actions_pb.d.ts +265 -0
- package/dist/types/src/platform/policy/actions/actions_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/attributes/attributes_pb.d.ts +1022 -0
- package/dist/types/src/platform/policy/attributes/attributes_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts +1306 -0
- package/dist/types/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/keymanagement/key_management_pb.d.ts +269 -0
- package/dist/types/src/platform/policy/keymanagement/key_management_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/namespaces/namespaces_pb.d.ts +448 -0
- package/dist/types/src/platform/policy/namespaces/namespaces_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/objects_pb.d.ts +1112 -0
- package/dist/types/src/platform/policy/objects_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/registeredresources/registered_resources_pb.d.ts +539 -0
- package/dist/types/src/platform/policy/registeredresources/registered_resources_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts +558 -0
- package/dist/types/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/selectors_pb.d.ts +221 -0
- package/dist/types/src/platform/policy/selectors_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts +582 -0
- package/dist/types/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/unsafe/unsafe_pb.d.ts +513 -0
- package/dist/types/src/platform/policy/unsafe/unsafe_pb.d.ts.map +1 -0
- package/dist/types/src/platform/protoc-gen-openapiv2/options/annotations_pb.d.ts +62 -0
- package/dist/types/src/platform/protoc-gen-openapiv2/options/annotations_pb.d.ts.map +1 -0
- package/dist/types/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +1441 -0
- package/dist/types/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.d.ts.map +1 -0
- package/dist/types/src/platform/wellknownconfiguration/wellknown_configuration_pb.d.ts +59 -0
- package/dist/types/src/platform/wellknownconfiguration/wellknown_configuration_pb.d.ts.map +1 -0
- package/dist/types/src/platform.d.ts +49 -0
- package/dist/types/src/platform.d.ts.map +1 -0
- package/dist/types/src/policy/api.d.ts +1 -1
- package/dist/types/src/policy/api.d.ts.map +1 -1
- package/dist/types/src/policy/attributes.d.ts +10 -87
- package/dist/types/src/policy/attributes.d.ts.map +1 -1
- package/dist/types/src/policy/granter.d.ts.map +1 -1
- package/dist/types/src/utils.d.ts +10 -0
- package/dist/types/src/utils.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/dist/types/tdf3/src/client/index.d.ts +8 -3
- package/dist/types/tdf3/src/client/index.d.ts.map +1 -1
- package/dist/types/tdf3/src/tdf.d.ts.map +1 -1
- package/dist/web/src/access/access-fetch.js +150 -0
- package/dist/web/src/access/access-rpc.js +125 -0
- package/dist/web/src/access.js +82 -110
- package/dist/web/src/auth/oidc.js +2 -2
- package/dist/web/src/nanotdf/Client.js +18 -14
- package/dist/web/src/nanotdf/models/Header.js +2 -2
- package/dist/web/src/nanotdf-crypto/keyAgreement.js +2 -2
- package/dist/web/src/opentdf.js +43 -9
- package/dist/web/src/platform/authorization/authorization_pb.js +135 -0
- package/dist/web/src/platform/buf/validate/validate_pb.js +407 -0
- package/dist/web/src/platform/common/common_pb.js +76 -0
- package/dist/web/src/platform/entityresolution/entity_resolution_pb.js +46 -0
- package/dist/web/src/platform/google/api/annotations_pb.js +27 -0
- package/dist/web/src/platform/google/api/http_pb.js +34 -0
- package/dist/web/src/platform/kas/kas_pb.js +93 -0
- package/dist/web/src/platform/policy/actions/actions_pb.js +67 -0
- package/dist/web/src/platform/policy/attributes/attributes_pb.js +237 -0
- package/dist/web/src/platform/policy/kasregistry/key_access_server_registry_pb.js +233 -0
- package/dist/web/src/platform/policy/keymanagement/key_management_pb.js +67 -0
- package/dist/web/src/platform/policy/namespaces/namespaces_pb.js +118 -0
- package/dist/web/src/platform/policy/objects_pb.js +392 -0
- package/dist/web/src/platform/policy/registeredresources/registered_resources_pb.js +129 -0
- package/dist/web/src/platform/policy/resourcemapping/resource_mapping_pb.js +136 -0
- package/dist/web/src/platform/policy/selectors_pb.js +64 -0
- package/dist/web/src/platform/policy/subjectmapping/subject_mapping_pb.js +143 -0
- package/dist/web/src/platform/policy/unsafe/unsafe_pb.js +121 -0
- package/dist/web/src/platform/protoc-gen-openapiv2/options/annotations_pb.js +65 -0
- package/dist/web/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.js +304 -0
- package/dist/web/src/platform/wellknownconfiguration/wellknown_configuration_pb.js +30 -0
- package/dist/web/src/platform.js +87 -0
- package/dist/web/src/policy/api.js +23 -40
- package/dist/web/src/policy/attributes.js +3 -2
- package/dist/web/src/policy/granter.js +9 -9
- package/dist/web/src/utils.js +29 -1
- package/dist/web/src/version.js +2 -2
- package/dist/web/tdf3/src/client/index.js +25 -20
- package/dist/web/tdf3/src/tdf.js +5 -5
- package/package.json +17 -1
- package/src/access/access-fetch.ts +202 -0
- package/src/access/access-rpc.ts +175 -0
- package/src/access.ts +113 -138
- package/src/auth/oidc.ts +1 -1
- package/src/nanotdf/Client.ts +28 -18
- package/src/nanotdf/models/Header.ts +1 -1
- package/src/nanotdf-crypto/keyAgreement.ts +1 -1
- package/src/opentdf.ts +66 -10
- package/src/platform/authorization/authorization_pb.ts +689 -0
- package/src/platform/buf/validate/validate_pb.ts +4626 -0
- package/src/platform/common/common_pb.ts +135 -0
- package/src/platform/entityresolution/entity_resolution_pb.ts +233 -0
- package/src/platform/google/api/annotations_pb.ts +39 -0
- package/src/platform/google/api/http_pb.ts +474 -0
- package/src/platform/kas/kas_pb.ts +484 -0
- package/src/platform/policy/actions/actions_pb.ts +312 -0
- package/src/platform/policy/attributes/attributes_pb.ts +1181 -0
- package/src/platform/policy/kasregistry/key_access_server_registry_pb.ts +1482 -0
- package/src/platform/policy/keymanagement/key_management_pb.ts +316 -0
- package/src/platform/policy/namespaces/namespaces_pb.ts +528 -0
- package/src/platform/policy/objects_pb.ts +1319 -0
- package/src/platform/policy/registeredresources/registered_resources_pb.ts +623 -0
- package/src/platform/policy/resourcemapping/resource_mapping_pb.ts +658 -0
- package/src/platform/policy/selectors_pb.ts +277 -0
- package/src/platform/policy/subjectmapping/subject_mapping_pb.ts +687 -0
- package/src/platform/policy/unsafe/unsafe_pb.ts +593 -0
- package/src/platform/protoc-gen-openapiv2/options/annotations_pb.ts +83 -0
- package/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.ts +1615 -0
- package/src/platform/wellknownconfiguration/wellknown_configuration_pb.ts +78 -0
- package/src/platform.ts +122 -0
- package/src/policy/api.ts +29 -42
- package/src/policy/attributes.ts +12 -108
- package/src/policy/granter.ts +7 -8
- package/src/utils.ts +30 -0
- package/src/version.ts +1 -1
- package/tdf3/src/client/index.ts +40 -19
- package/tdf3/src/tdf.ts +5 -6
- package/src/platform/authorization/authorization_connect.d.ts +0 -44
- package/src/platform/authorization/authorization_connect.js +0 -44
- package/src/platform/authorization/authorization_pb.d.ts +0 -707
- package/src/platform/authorization/authorization_pb.js +0 -372
- package/src/platform/common/common_pb.d.ts +0 -129
- package/src/platform/common/common_pb.js +0 -58
- package/src/platform/entityresolution/entity_resolution_connect.d.ts +0 -35
- package/src/platform/entityresolution/entity_resolution_connect.js +0 -35
- package/src/platform/entityresolution/entity_resolution_pb.d.ts +0 -242
- package/src/platform/entityresolution/entity_resolution_pb.js +0 -139
- package/src/platform/kas/kas_connect.d.ts +0 -59
- package/src/platform/kas/kas_connect.js +0 -59
- package/src/platform/kas/kas_pb.d.ts +0 -200
- package/src/platform/kas/kas_pb.js +0 -84
- package/src/platform/policy/attributes/attributes_connect.d.ts +0 -168
- package/src/platform/policy/attributes/attributes_connect.js +0 -168
- package/src/platform/policy/attributes/attributes_pb.d.ts +0 -929
- package/src/platform/policy/attributes/attributes_pb.js +0 -363
- package/src/platform/policy/kasregistry/key_access_server_registry_connect.d.ts +0 -62
- package/src/platform/policy/kasregistry/key_access_server_registry_connect.js +0 -62
- package/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts +0 -283
- package/src/platform/policy/kasregistry/key_access_server_registry_pb.js +0 -113
- package/src/platform/policy/namespaces/namespaces_connect.d.ts +0 -62
- package/src/platform/policy/namespaces/namespaces_connect.js +0 -62
- package/src/platform/policy/namespaces/namespaces_pb.d.ts +0 -270
- package/src/platform/policy/namespaces/namespaces_pb.js +0 -110
- package/src/platform/policy/objects_pb.d.ts +0 -725
- package/src/platform/policy/objects_pb.js +0 -288
- package/src/platform/policy/resourcemapping/resource_mapping_connect.d.ts +0 -259
- package/src/platform/policy/resourcemapping/resource_mapping_connect.js +0 -259
- package/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts +0 -314
- package/src/platform/policy/resourcemapping/resource_mapping_pb.js +0 -142
- package/src/platform/policy/selectors_pb.d.ts +0 -269
- package/src/platform/policy/selectors_pb.js +0 -110
- package/src/platform/policy/subjectmapping/subject_mapping_connect.d.ts +0 -118
- package/src/platform/policy/subjectmapping/subject_mapping_connect.js +0 -118
- package/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts +0 -672
- package/src/platform/policy/subjectmapping/subject_mapping_pb.js +0 -260
- package/src/platform/wellknownconfiguration/wellknown_configuration_connect.d.ts +0 -26
- package/src/platform/wellknownconfiguration/wellknown_configuration_connect.js +0 -26
- package/src/platform/wellknownconfiguration/wellknown_configuration_pb.d.ts +0 -75
- package/src/platform/wellknownconfiguration/wellknown_configuration_pb.js +0 -35
|
@@ -1,672 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v1.9.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
-
// @generated from file policy/subjectmapping/subject_mapping.proto (package policy.subjectmapping, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
|
-
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
-
import type { Action, SubjectConditionSet, SubjectMapping, SubjectProperty, SubjectSet } from "../objects_pb";
|
|
9
|
-
import type { MetadataMutable, MetadataUpdateEnum } from "../../common/common_pb";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* MatchSubjectMappingsRequest liberally returns a list of SubjectMappings based on the provided SubjectProperties. The SubjectMappings are returned
|
|
13
|
-
* if there is any single condition found among the structures that matches for one of the provided properties:
|
|
14
|
-
* 1. The external selector value, external value, and an IN operator
|
|
15
|
-
* 2. The external selector value, _no_ external value, and a NOT_IN operator
|
|
16
|
-
*
|
|
17
|
-
* Without this filtering, if a selector value was something like '.emailAddress' or '.username', every Subject is probably going to relate to that mapping
|
|
18
|
-
* in some way or another, potentially matching every single attribute in the DB if a policy admin has relied heavily on that field. There is no
|
|
19
|
-
* logic applied beyond a single condition within the query to avoid business logic interpreting the supplied conditions beyond the bare minimum
|
|
20
|
-
* initial filter.
|
|
21
|
-
*
|
|
22
|
-
* NOTE: if you have any issues, debug logs are available within the service to help identify why a mapping was or was not returned.
|
|
23
|
-
*
|
|
24
|
-
* @generated from message policy.subjectmapping.MatchSubjectMappingsRequest
|
|
25
|
-
*/
|
|
26
|
-
export declare class MatchSubjectMappingsRequest extends Message<MatchSubjectMappingsRequest> {
|
|
27
|
-
/**
|
|
28
|
-
* @generated from field: repeated policy.SubjectProperty subject_properties = 1;
|
|
29
|
-
*/
|
|
30
|
-
subjectProperties: SubjectProperty[];
|
|
31
|
-
|
|
32
|
-
constructor(data?: PartialMessage<MatchSubjectMappingsRequest>);
|
|
33
|
-
|
|
34
|
-
static readonly runtime: typeof proto3;
|
|
35
|
-
static readonly typeName = "policy.subjectmapping.MatchSubjectMappingsRequest";
|
|
36
|
-
static readonly fields: FieldList;
|
|
37
|
-
|
|
38
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MatchSubjectMappingsRequest;
|
|
39
|
-
|
|
40
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MatchSubjectMappingsRequest;
|
|
41
|
-
|
|
42
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MatchSubjectMappingsRequest;
|
|
43
|
-
|
|
44
|
-
static equals(a: MatchSubjectMappingsRequest | PlainMessage<MatchSubjectMappingsRequest> | undefined, b: MatchSubjectMappingsRequest | PlainMessage<MatchSubjectMappingsRequest> | undefined): boolean;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* @generated from message policy.subjectmapping.MatchSubjectMappingsResponse
|
|
49
|
-
*/
|
|
50
|
-
export declare class MatchSubjectMappingsResponse extends Message<MatchSubjectMappingsResponse> {
|
|
51
|
-
/**
|
|
52
|
-
* @generated from field: repeated policy.SubjectMapping subject_mappings = 1;
|
|
53
|
-
*/
|
|
54
|
-
subjectMappings: SubjectMapping[];
|
|
55
|
-
|
|
56
|
-
constructor(data?: PartialMessage<MatchSubjectMappingsResponse>);
|
|
57
|
-
|
|
58
|
-
static readonly runtime: typeof proto3;
|
|
59
|
-
static readonly typeName = "policy.subjectmapping.MatchSubjectMappingsResponse";
|
|
60
|
-
static readonly fields: FieldList;
|
|
61
|
-
|
|
62
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MatchSubjectMappingsResponse;
|
|
63
|
-
|
|
64
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MatchSubjectMappingsResponse;
|
|
65
|
-
|
|
66
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MatchSubjectMappingsResponse;
|
|
67
|
-
|
|
68
|
-
static equals(a: MatchSubjectMappingsResponse | PlainMessage<MatchSubjectMappingsResponse> | undefined, b: MatchSubjectMappingsResponse | PlainMessage<MatchSubjectMappingsResponse> | undefined): boolean;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @generated from message policy.subjectmapping.GetSubjectMappingRequest
|
|
73
|
-
*/
|
|
74
|
-
export declare class GetSubjectMappingRequest extends Message<GetSubjectMappingRequest> {
|
|
75
|
-
/**
|
|
76
|
-
* @generated from field: string id = 1;
|
|
77
|
-
*/
|
|
78
|
-
id: string;
|
|
79
|
-
|
|
80
|
-
constructor(data?: PartialMessage<GetSubjectMappingRequest>);
|
|
81
|
-
|
|
82
|
-
static readonly runtime: typeof proto3;
|
|
83
|
-
static readonly typeName = "policy.subjectmapping.GetSubjectMappingRequest";
|
|
84
|
-
static readonly fields: FieldList;
|
|
85
|
-
|
|
86
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSubjectMappingRequest;
|
|
87
|
-
|
|
88
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSubjectMappingRequest;
|
|
89
|
-
|
|
90
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSubjectMappingRequest;
|
|
91
|
-
|
|
92
|
-
static equals(a: GetSubjectMappingRequest | PlainMessage<GetSubjectMappingRequest> | undefined, b: GetSubjectMappingRequest | PlainMessage<GetSubjectMappingRequest> | undefined): boolean;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* @generated from message policy.subjectmapping.GetSubjectMappingResponse
|
|
97
|
-
*/
|
|
98
|
-
export declare class GetSubjectMappingResponse extends Message<GetSubjectMappingResponse> {
|
|
99
|
-
/**
|
|
100
|
-
* @generated from field: policy.SubjectMapping subject_mapping = 1;
|
|
101
|
-
*/
|
|
102
|
-
subjectMapping?: SubjectMapping;
|
|
103
|
-
|
|
104
|
-
constructor(data?: PartialMessage<GetSubjectMappingResponse>);
|
|
105
|
-
|
|
106
|
-
static readonly runtime: typeof proto3;
|
|
107
|
-
static readonly typeName = "policy.subjectmapping.GetSubjectMappingResponse";
|
|
108
|
-
static readonly fields: FieldList;
|
|
109
|
-
|
|
110
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSubjectMappingResponse;
|
|
111
|
-
|
|
112
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSubjectMappingResponse;
|
|
113
|
-
|
|
114
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSubjectMappingResponse;
|
|
115
|
-
|
|
116
|
-
static equals(a: GetSubjectMappingResponse | PlainMessage<GetSubjectMappingResponse> | undefined, b: GetSubjectMappingResponse | PlainMessage<GetSubjectMappingResponse> | undefined): boolean;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* @generated from message policy.subjectmapping.ListSubjectMappingsRequest
|
|
121
|
-
*/
|
|
122
|
-
export declare class ListSubjectMappingsRequest extends Message<ListSubjectMappingsRequest> {
|
|
123
|
-
constructor(data?: PartialMessage<ListSubjectMappingsRequest>);
|
|
124
|
-
|
|
125
|
-
static readonly runtime: typeof proto3;
|
|
126
|
-
static readonly typeName = "policy.subjectmapping.ListSubjectMappingsRequest";
|
|
127
|
-
static readonly fields: FieldList;
|
|
128
|
-
|
|
129
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSubjectMappingsRequest;
|
|
130
|
-
|
|
131
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSubjectMappingsRequest;
|
|
132
|
-
|
|
133
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSubjectMappingsRequest;
|
|
134
|
-
|
|
135
|
-
static equals(a: ListSubjectMappingsRequest | PlainMessage<ListSubjectMappingsRequest> | undefined, b: ListSubjectMappingsRequest | PlainMessage<ListSubjectMappingsRequest> | undefined): boolean;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* @generated from message policy.subjectmapping.ListSubjectMappingsResponse
|
|
140
|
-
*/
|
|
141
|
-
export declare class ListSubjectMappingsResponse extends Message<ListSubjectMappingsResponse> {
|
|
142
|
-
/**
|
|
143
|
-
* @generated from field: repeated policy.SubjectMapping subject_mappings = 1;
|
|
144
|
-
*/
|
|
145
|
-
subjectMappings: SubjectMapping[];
|
|
146
|
-
|
|
147
|
-
constructor(data?: PartialMessage<ListSubjectMappingsResponse>);
|
|
148
|
-
|
|
149
|
-
static readonly runtime: typeof proto3;
|
|
150
|
-
static readonly typeName = "policy.subjectmapping.ListSubjectMappingsResponse";
|
|
151
|
-
static readonly fields: FieldList;
|
|
152
|
-
|
|
153
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSubjectMappingsResponse;
|
|
154
|
-
|
|
155
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSubjectMappingsResponse;
|
|
156
|
-
|
|
157
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSubjectMappingsResponse;
|
|
158
|
-
|
|
159
|
-
static equals(a: ListSubjectMappingsResponse | PlainMessage<ListSubjectMappingsResponse> | undefined, b: ListSubjectMappingsResponse | PlainMessage<ListSubjectMappingsResponse> | undefined): boolean;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* @generated from message policy.subjectmapping.CreateSubjectMappingRequest
|
|
164
|
-
*/
|
|
165
|
-
export declare class CreateSubjectMappingRequest extends Message<CreateSubjectMappingRequest> {
|
|
166
|
-
/**
|
|
167
|
-
* Required
|
|
168
|
-
* Attribute Value to be mapped to
|
|
169
|
-
*
|
|
170
|
-
* @generated from field: string attribute_value_id = 1;
|
|
171
|
-
*/
|
|
172
|
-
attributeValueId: string;
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* The actions permitted by subjects in this mapping
|
|
176
|
-
*
|
|
177
|
-
* @generated from field: repeated policy.Action actions = 2;
|
|
178
|
-
*/
|
|
179
|
-
actions: Action[];
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Either of the following:
|
|
183
|
-
* Reuse existing SubjectConditionSet (NOTE: prioritized over new_subject_condition_set)
|
|
184
|
-
*
|
|
185
|
-
* @generated from field: string existing_subject_condition_set_id = 3;
|
|
186
|
-
*/
|
|
187
|
-
existingSubjectConditionSetId: string;
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* Create new SubjectConditionSet (NOTE: ignored if existing_subject_condition_set_id is provided)
|
|
191
|
-
*
|
|
192
|
-
* @generated from field: policy.subjectmapping.SubjectConditionSetCreate new_subject_condition_set = 4;
|
|
193
|
-
*/
|
|
194
|
-
newSubjectConditionSet?: SubjectConditionSetCreate;
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Optional
|
|
198
|
-
*
|
|
199
|
-
* @generated from field: common.MetadataMutable metadata = 100;
|
|
200
|
-
*/
|
|
201
|
-
metadata?: MetadataMutable;
|
|
202
|
-
|
|
203
|
-
constructor(data?: PartialMessage<CreateSubjectMappingRequest>);
|
|
204
|
-
|
|
205
|
-
static readonly runtime: typeof proto3;
|
|
206
|
-
static readonly typeName = "policy.subjectmapping.CreateSubjectMappingRequest";
|
|
207
|
-
static readonly fields: FieldList;
|
|
208
|
-
|
|
209
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSubjectMappingRequest;
|
|
210
|
-
|
|
211
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSubjectMappingRequest;
|
|
212
|
-
|
|
213
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSubjectMappingRequest;
|
|
214
|
-
|
|
215
|
-
static equals(a: CreateSubjectMappingRequest | PlainMessage<CreateSubjectMappingRequest> | undefined, b: CreateSubjectMappingRequest | PlainMessage<CreateSubjectMappingRequest> | undefined): boolean;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* @generated from message policy.subjectmapping.CreateSubjectMappingResponse
|
|
220
|
-
*/
|
|
221
|
-
export declare class CreateSubjectMappingResponse extends Message<CreateSubjectMappingResponse> {
|
|
222
|
-
/**
|
|
223
|
-
* @generated from field: policy.SubjectMapping subject_mapping = 1;
|
|
224
|
-
*/
|
|
225
|
-
subjectMapping?: SubjectMapping;
|
|
226
|
-
|
|
227
|
-
constructor(data?: PartialMessage<CreateSubjectMappingResponse>);
|
|
228
|
-
|
|
229
|
-
static readonly runtime: typeof proto3;
|
|
230
|
-
static readonly typeName = "policy.subjectmapping.CreateSubjectMappingResponse";
|
|
231
|
-
static readonly fields: FieldList;
|
|
232
|
-
|
|
233
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSubjectMappingResponse;
|
|
234
|
-
|
|
235
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSubjectMappingResponse;
|
|
236
|
-
|
|
237
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSubjectMappingResponse;
|
|
238
|
-
|
|
239
|
-
static equals(a: CreateSubjectMappingResponse | PlainMessage<CreateSubjectMappingResponse> | undefined, b: CreateSubjectMappingResponse | PlainMessage<CreateSubjectMappingResponse> | undefined): boolean;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* @generated from message policy.subjectmapping.UpdateSubjectMappingRequest
|
|
244
|
-
*/
|
|
245
|
-
export declare class UpdateSubjectMappingRequest extends Message<UpdateSubjectMappingRequest> {
|
|
246
|
-
/**
|
|
247
|
-
* Required
|
|
248
|
-
*
|
|
249
|
-
* @generated from field: string id = 1;
|
|
250
|
-
*/
|
|
251
|
-
id: string;
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* Optional
|
|
255
|
-
* Replaces the existing SubjectConditionSet id with a new one
|
|
256
|
-
*
|
|
257
|
-
* @generated from field: string subject_condition_set_id = 2;
|
|
258
|
-
*/
|
|
259
|
-
subjectConditionSetId: string;
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* Replaces entire list of actions permitted by subjects
|
|
263
|
-
*
|
|
264
|
-
* @generated from field: repeated policy.Action actions = 3;
|
|
265
|
-
*/
|
|
266
|
-
actions: Action[];
|
|
267
|
-
|
|
268
|
-
/**
|
|
269
|
-
* Common metadata
|
|
270
|
-
*
|
|
271
|
-
* @generated from field: common.MetadataMutable metadata = 100;
|
|
272
|
-
*/
|
|
273
|
-
metadata?: MetadataMutable;
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* @generated from field: common.MetadataUpdateEnum metadata_update_behavior = 101;
|
|
277
|
-
*/
|
|
278
|
-
metadataUpdateBehavior: MetadataUpdateEnum;
|
|
279
|
-
|
|
280
|
-
constructor(data?: PartialMessage<UpdateSubjectMappingRequest>);
|
|
281
|
-
|
|
282
|
-
static readonly runtime: typeof proto3;
|
|
283
|
-
static readonly typeName = "policy.subjectmapping.UpdateSubjectMappingRequest";
|
|
284
|
-
static readonly fields: FieldList;
|
|
285
|
-
|
|
286
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSubjectMappingRequest;
|
|
287
|
-
|
|
288
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSubjectMappingRequest;
|
|
289
|
-
|
|
290
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSubjectMappingRequest;
|
|
291
|
-
|
|
292
|
-
static equals(a: UpdateSubjectMappingRequest | PlainMessage<UpdateSubjectMappingRequest> | undefined, b: UpdateSubjectMappingRequest | PlainMessage<UpdateSubjectMappingRequest> | undefined): boolean;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
/**
|
|
296
|
-
* @generated from message policy.subjectmapping.UpdateSubjectMappingResponse
|
|
297
|
-
*/
|
|
298
|
-
export declare class UpdateSubjectMappingResponse extends Message<UpdateSubjectMappingResponse> {
|
|
299
|
-
/**
|
|
300
|
-
* Only ID of the updated Subject Mapping provided
|
|
301
|
-
*
|
|
302
|
-
* @generated from field: policy.SubjectMapping subject_mapping = 1;
|
|
303
|
-
*/
|
|
304
|
-
subjectMapping?: SubjectMapping;
|
|
305
|
-
|
|
306
|
-
constructor(data?: PartialMessage<UpdateSubjectMappingResponse>);
|
|
307
|
-
|
|
308
|
-
static readonly runtime: typeof proto3;
|
|
309
|
-
static readonly typeName = "policy.subjectmapping.UpdateSubjectMappingResponse";
|
|
310
|
-
static readonly fields: FieldList;
|
|
311
|
-
|
|
312
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSubjectMappingResponse;
|
|
313
|
-
|
|
314
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSubjectMappingResponse;
|
|
315
|
-
|
|
316
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSubjectMappingResponse;
|
|
317
|
-
|
|
318
|
-
static equals(a: UpdateSubjectMappingResponse | PlainMessage<UpdateSubjectMappingResponse> | undefined, b: UpdateSubjectMappingResponse | PlainMessage<UpdateSubjectMappingResponse> | undefined): boolean;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* @generated from message policy.subjectmapping.DeleteSubjectMappingRequest
|
|
323
|
-
*/
|
|
324
|
-
export declare class DeleteSubjectMappingRequest extends Message<DeleteSubjectMappingRequest> {
|
|
325
|
-
/**
|
|
326
|
-
* @generated from field: string id = 1;
|
|
327
|
-
*/
|
|
328
|
-
id: string;
|
|
329
|
-
|
|
330
|
-
constructor(data?: PartialMessage<DeleteSubjectMappingRequest>);
|
|
331
|
-
|
|
332
|
-
static readonly runtime: typeof proto3;
|
|
333
|
-
static readonly typeName = "policy.subjectmapping.DeleteSubjectMappingRequest";
|
|
334
|
-
static readonly fields: FieldList;
|
|
335
|
-
|
|
336
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSubjectMappingRequest;
|
|
337
|
-
|
|
338
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSubjectMappingRequest;
|
|
339
|
-
|
|
340
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteSubjectMappingRequest;
|
|
341
|
-
|
|
342
|
-
static equals(a: DeleteSubjectMappingRequest | PlainMessage<DeleteSubjectMappingRequest> | undefined, b: DeleteSubjectMappingRequest | PlainMessage<DeleteSubjectMappingRequest> | undefined): boolean;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
/**
|
|
346
|
-
* @generated from message policy.subjectmapping.DeleteSubjectMappingResponse
|
|
347
|
-
*/
|
|
348
|
-
export declare class DeleteSubjectMappingResponse extends Message<DeleteSubjectMappingResponse> {
|
|
349
|
-
/**
|
|
350
|
-
* Only ID of the updated Subject Mapping provided
|
|
351
|
-
*
|
|
352
|
-
* @generated from field: policy.SubjectMapping subject_mapping = 1;
|
|
353
|
-
*/
|
|
354
|
-
subjectMapping?: SubjectMapping;
|
|
355
|
-
|
|
356
|
-
constructor(data?: PartialMessage<DeleteSubjectMappingResponse>);
|
|
357
|
-
|
|
358
|
-
static readonly runtime: typeof proto3;
|
|
359
|
-
static readonly typeName = "policy.subjectmapping.DeleteSubjectMappingResponse";
|
|
360
|
-
static readonly fields: FieldList;
|
|
361
|
-
|
|
362
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSubjectMappingResponse;
|
|
363
|
-
|
|
364
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSubjectMappingResponse;
|
|
365
|
-
|
|
366
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteSubjectMappingResponse;
|
|
367
|
-
|
|
368
|
-
static equals(a: DeleteSubjectMappingResponse | PlainMessage<DeleteSubjectMappingResponse> | undefined, b: DeleteSubjectMappingResponse | PlainMessage<DeleteSubjectMappingResponse> | undefined): boolean;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* @generated from message policy.subjectmapping.GetSubjectConditionSetRequest
|
|
373
|
-
*/
|
|
374
|
-
export declare class GetSubjectConditionSetRequest extends Message<GetSubjectConditionSetRequest> {
|
|
375
|
-
/**
|
|
376
|
-
* @generated from field: string id = 1;
|
|
377
|
-
*/
|
|
378
|
-
id: string;
|
|
379
|
-
|
|
380
|
-
constructor(data?: PartialMessage<GetSubjectConditionSetRequest>);
|
|
381
|
-
|
|
382
|
-
static readonly runtime: typeof proto3;
|
|
383
|
-
static readonly typeName = "policy.subjectmapping.GetSubjectConditionSetRequest";
|
|
384
|
-
static readonly fields: FieldList;
|
|
385
|
-
|
|
386
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSubjectConditionSetRequest;
|
|
387
|
-
|
|
388
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSubjectConditionSetRequest;
|
|
389
|
-
|
|
390
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSubjectConditionSetRequest;
|
|
391
|
-
|
|
392
|
-
static equals(a: GetSubjectConditionSetRequest | PlainMessage<GetSubjectConditionSetRequest> | undefined, b: GetSubjectConditionSetRequest | PlainMessage<GetSubjectConditionSetRequest> | undefined): boolean;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
* @generated from message policy.subjectmapping.GetSubjectConditionSetResponse
|
|
397
|
-
*/
|
|
398
|
-
export declare class GetSubjectConditionSetResponse extends Message<GetSubjectConditionSetResponse> {
|
|
399
|
-
/**
|
|
400
|
-
* @generated from field: policy.SubjectConditionSet subject_condition_set = 1;
|
|
401
|
-
*/
|
|
402
|
-
subjectConditionSet?: SubjectConditionSet;
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* contextualized Subject Mappings associated with this SubjectConditionSet
|
|
406
|
-
*
|
|
407
|
-
* @generated from field: repeated policy.SubjectMapping associated_subject_mappings = 2;
|
|
408
|
-
*/
|
|
409
|
-
associatedSubjectMappings: SubjectMapping[];
|
|
410
|
-
|
|
411
|
-
constructor(data?: PartialMessage<GetSubjectConditionSetResponse>);
|
|
412
|
-
|
|
413
|
-
static readonly runtime: typeof proto3;
|
|
414
|
-
static readonly typeName = "policy.subjectmapping.GetSubjectConditionSetResponse";
|
|
415
|
-
static readonly fields: FieldList;
|
|
416
|
-
|
|
417
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSubjectConditionSetResponse;
|
|
418
|
-
|
|
419
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSubjectConditionSetResponse;
|
|
420
|
-
|
|
421
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSubjectConditionSetResponse;
|
|
422
|
-
|
|
423
|
-
static equals(a: GetSubjectConditionSetResponse | PlainMessage<GetSubjectConditionSetResponse> | undefined, b: GetSubjectConditionSetResponse | PlainMessage<GetSubjectConditionSetResponse> | undefined): boolean;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
/**
|
|
427
|
-
* @generated from message policy.subjectmapping.ListSubjectConditionSetsRequest
|
|
428
|
-
*/
|
|
429
|
-
export declare class ListSubjectConditionSetsRequest extends Message<ListSubjectConditionSetsRequest> {
|
|
430
|
-
constructor(data?: PartialMessage<ListSubjectConditionSetsRequest>);
|
|
431
|
-
|
|
432
|
-
static readonly runtime: typeof proto3;
|
|
433
|
-
static readonly typeName = "policy.subjectmapping.ListSubjectConditionSetsRequest";
|
|
434
|
-
static readonly fields: FieldList;
|
|
435
|
-
|
|
436
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSubjectConditionSetsRequest;
|
|
437
|
-
|
|
438
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSubjectConditionSetsRequest;
|
|
439
|
-
|
|
440
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSubjectConditionSetsRequest;
|
|
441
|
-
|
|
442
|
-
static equals(a: ListSubjectConditionSetsRequest | PlainMessage<ListSubjectConditionSetsRequest> | undefined, b: ListSubjectConditionSetsRequest | PlainMessage<ListSubjectConditionSetsRequest> | undefined): boolean;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
/**
|
|
446
|
-
* @generated from message policy.subjectmapping.ListSubjectConditionSetsResponse
|
|
447
|
-
*/
|
|
448
|
-
export declare class ListSubjectConditionSetsResponse extends Message<ListSubjectConditionSetsResponse> {
|
|
449
|
-
/**
|
|
450
|
-
* @generated from field: repeated policy.SubjectConditionSet subject_condition_sets = 1;
|
|
451
|
-
*/
|
|
452
|
-
subjectConditionSets: SubjectConditionSet[];
|
|
453
|
-
|
|
454
|
-
constructor(data?: PartialMessage<ListSubjectConditionSetsResponse>);
|
|
455
|
-
|
|
456
|
-
static readonly runtime: typeof proto3;
|
|
457
|
-
static readonly typeName = "policy.subjectmapping.ListSubjectConditionSetsResponse";
|
|
458
|
-
static readonly fields: FieldList;
|
|
459
|
-
|
|
460
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSubjectConditionSetsResponse;
|
|
461
|
-
|
|
462
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSubjectConditionSetsResponse;
|
|
463
|
-
|
|
464
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSubjectConditionSetsResponse;
|
|
465
|
-
|
|
466
|
-
static equals(a: ListSubjectConditionSetsResponse | PlainMessage<ListSubjectConditionSetsResponse> | undefined, b: ListSubjectConditionSetsResponse | PlainMessage<ListSubjectConditionSetsResponse> | undefined): boolean;
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
/**
|
|
470
|
-
* @generated from message policy.subjectmapping.SubjectConditionSetCreate
|
|
471
|
-
*/
|
|
472
|
-
export declare class SubjectConditionSetCreate extends Message<SubjectConditionSetCreate> {
|
|
473
|
-
/**
|
|
474
|
-
* Required
|
|
475
|
-
*
|
|
476
|
-
* @generated from field: repeated policy.SubjectSet subject_sets = 1;
|
|
477
|
-
*/
|
|
478
|
-
subjectSets: SubjectSet[];
|
|
479
|
-
|
|
480
|
-
/**
|
|
481
|
-
* Optional
|
|
482
|
-
* Common metadata
|
|
483
|
-
*
|
|
484
|
-
* @generated from field: common.MetadataMutable metadata = 100;
|
|
485
|
-
*/
|
|
486
|
-
metadata?: MetadataMutable;
|
|
487
|
-
|
|
488
|
-
constructor(data?: PartialMessage<SubjectConditionSetCreate>);
|
|
489
|
-
|
|
490
|
-
static readonly runtime: typeof proto3;
|
|
491
|
-
static readonly typeName = "policy.subjectmapping.SubjectConditionSetCreate";
|
|
492
|
-
static readonly fields: FieldList;
|
|
493
|
-
|
|
494
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubjectConditionSetCreate;
|
|
495
|
-
|
|
496
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubjectConditionSetCreate;
|
|
497
|
-
|
|
498
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubjectConditionSetCreate;
|
|
499
|
-
|
|
500
|
-
static equals(a: SubjectConditionSetCreate | PlainMessage<SubjectConditionSetCreate> | undefined, b: SubjectConditionSetCreate | PlainMessage<SubjectConditionSetCreate> | undefined): boolean;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
/**
|
|
504
|
-
* @generated from message policy.subjectmapping.CreateSubjectConditionSetRequest
|
|
505
|
-
*/
|
|
506
|
-
export declare class CreateSubjectConditionSetRequest extends Message<CreateSubjectConditionSetRequest> {
|
|
507
|
-
/**
|
|
508
|
-
* @generated from field: policy.subjectmapping.SubjectConditionSetCreate subject_condition_set = 1;
|
|
509
|
-
*/
|
|
510
|
-
subjectConditionSet?: SubjectConditionSetCreate;
|
|
511
|
-
|
|
512
|
-
constructor(data?: PartialMessage<CreateSubjectConditionSetRequest>);
|
|
513
|
-
|
|
514
|
-
static readonly runtime: typeof proto3;
|
|
515
|
-
static readonly typeName = "policy.subjectmapping.CreateSubjectConditionSetRequest";
|
|
516
|
-
static readonly fields: FieldList;
|
|
517
|
-
|
|
518
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSubjectConditionSetRequest;
|
|
519
|
-
|
|
520
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSubjectConditionSetRequest;
|
|
521
|
-
|
|
522
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSubjectConditionSetRequest;
|
|
523
|
-
|
|
524
|
-
static equals(a: CreateSubjectConditionSetRequest | PlainMessage<CreateSubjectConditionSetRequest> | undefined, b: CreateSubjectConditionSetRequest | PlainMessage<CreateSubjectConditionSetRequest> | undefined): boolean;
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
/**
|
|
528
|
-
* @generated from message policy.subjectmapping.CreateSubjectConditionSetResponse
|
|
529
|
-
*/
|
|
530
|
-
export declare class CreateSubjectConditionSetResponse extends Message<CreateSubjectConditionSetResponse> {
|
|
531
|
-
/**
|
|
532
|
-
* @generated from field: policy.SubjectConditionSet subject_condition_set = 1;
|
|
533
|
-
*/
|
|
534
|
-
subjectConditionSet?: SubjectConditionSet;
|
|
535
|
-
|
|
536
|
-
constructor(data?: PartialMessage<CreateSubjectConditionSetResponse>);
|
|
537
|
-
|
|
538
|
-
static readonly runtime: typeof proto3;
|
|
539
|
-
static readonly typeName = "policy.subjectmapping.CreateSubjectConditionSetResponse";
|
|
540
|
-
static readonly fields: FieldList;
|
|
541
|
-
|
|
542
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSubjectConditionSetResponse;
|
|
543
|
-
|
|
544
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSubjectConditionSetResponse;
|
|
545
|
-
|
|
546
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSubjectConditionSetResponse;
|
|
547
|
-
|
|
548
|
-
static equals(a: CreateSubjectConditionSetResponse | PlainMessage<CreateSubjectConditionSetResponse> | undefined, b: CreateSubjectConditionSetResponse | PlainMessage<CreateSubjectConditionSetResponse> | undefined): boolean;
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
/**
|
|
552
|
-
* @generated from message policy.subjectmapping.UpdateSubjectConditionSetRequest
|
|
553
|
-
*/
|
|
554
|
-
export declare class UpdateSubjectConditionSetRequest extends Message<UpdateSubjectConditionSetRequest> {
|
|
555
|
-
/**
|
|
556
|
-
* Required
|
|
557
|
-
*
|
|
558
|
-
* @generated from field: string id = 1;
|
|
559
|
-
*/
|
|
560
|
-
id: string;
|
|
561
|
-
|
|
562
|
-
/**
|
|
563
|
-
* Optional
|
|
564
|
-
* If provided, replaces entire existing structure of Subject Sets, Condition Groups, & Conditions
|
|
565
|
-
*
|
|
566
|
-
* @generated from field: repeated policy.SubjectSet subject_sets = 2;
|
|
567
|
-
*/
|
|
568
|
-
subjectSets: SubjectSet[];
|
|
569
|
-
|
|
570
|
-
/**
|
|
571
|
-
* Common metadata
|
|
572
|
-
*
|
|
573
|
-
* @generated from field: common.MetadataMutable metadata = 100;
|
|
574
|
-
*/
|
|
575
|
-
metadata?: MetadataMutable;
|
|
576
|
-
|
|
577
|
-
/**
|
|
578
|
-
* @generated from field: common.MetadataUpdateEnum metadata_update_behavior = 101;
|
|
579
|
-
*/
|
|
580
|
-
metadataUpdateBehavior: MetadataUpdateEnum;
|
|
581
|
-
|
|
582
|
-
constructor(data?: PartialMessage<UpdateSubjectConditionSetRequest>);
|
|
583
|
-
|
|
584
|
-
static readonly runtime: typeof proto3;
|
|
585
|
-
static readonly typeName = "policy.subjectmapping.UpdateSubjectConditionSetRequest";
|
|
586
|
-
static readonly fields: FieldList;
|
|
587
|
-
|
|
588
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSubjectConditionSetRequest;
|
|
589
|
-
|
|
590
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSubjectConditionSetRequest;
|
|
591
|
-
|
|
592
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSubjectConditionSetRequest;
|
|
593
|
-
|
|
594
|
-
static equals(a: UpdateSubjectConditionSetRequest | PlainMessage<UpdateSubjectConditionSetRequest> | undefined, b: UpdateSubjectConditionSetRequest | PlainMessage<UpdateSubjectConditionSetRequest> | undefined): boolean;
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
/**
|
|
598
|
-
* @generated from message policy.subjectmapping.UpdateSubjectConditionSetResponse
|
|
599
|
-
*/
|
|
600
|
-
export declare class UpdateSubjectConditionSetResponse extends Message<UpdateSubjectConditionSetResponse> {
|
|
601
|
-
/**
|
|
602
|
-
* Only ID of updated Subject Condition Set provided
|
|
603
|
-
*
|
|
604
|
-
* @generated from field: policy.SubjectConditionSet subject_condition_set = 1;
|
|
605
|
-
*/
|
|
606
|
-
subjectConditionSet?: SubjectConditionSet;
|
|
607
|
-
|
|
608
|
-
constructor(data?: PartialMessage<UpdateSubjectConditionSetResponse>);
|
|
609
|
-
|
|
610
|
-
static readonly runtime: typeof proto3;
|
|
611
|
-
static readonly typeName = "policy.subjectmapping.UpdateSubjectConditionSetResponse";
|
|
612
|
-
static readonly fields: FieldList;
|
|
613
|
-
|
|
614
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSubjectConditionSetResponse;
|
|
615
|
-
|
|
616
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSubjectConditionSetResponse;
|
|
617
|
-
|
|
618
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSubjectConditionSetResponse;
|
|
619
|
-
|
|
620
|
-
static equals(a: UpdateSubjectConditionSetResponse | PlainMessage<UpdateSubjectConditionSetResponse> | undefined, b: UpdateSubjectConditionSetResponse | PlainMessage<UpdateSubjectConditionSetResponse> | undefined): boolean;
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
/**
|
|
624
|
-
* @generated from message policy.subjectmapping.DeleteSubjectConditionSetRequest
|
|
625
|
-
*/
|
|
626
|
-
export declare class DeleteSubjectConditionSetRequest extends Message<DeleteSubjectConditionSetRequest> {
|
|
627
|
-
/**
|
|
628
|
-
* @generated from field: string id = 1;
|
|
629
|
-
*/
|
|
630
|
-
id: string;
|
|
631
|
-
|
|
632
|
-
constructor(data?: PartialMessage<DeleteSubjectConditionSetRequest>);
|
|
633
|
-
|
|
634
|
-
static readonly runtime: typeof proto3;
|
|
635
|
-
static readonly typeName = "policy.subjectmapping.DeleteSubjectConditionSetRequest";
|
|
636
|
-
static readonly fields: FieldList;
|
|
637
|
-
|
|
638
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSubjectConditionSetRequest;
|
|
639
|
-
|
|
640
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSubjectConditionSetRequest;
|
|
641
|
-
|
|
642
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteSubjectConditionSetRequest;
|
|
643
|
-
|
|
644
|
-
static equals(a: DeleteSubjectConditionSetRequest | PlainMessage<DeleteSubjectConditionSetRequest> | undefined, b: DeleteSubjectConditionSetRequest | PlainMessage<DeleteSubjectConditionSetRequest> | undefined): boolean;
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
/**
|
|
648
|
-
* @generated from message policy.subjectmapping.DeleteSubjectConditionSetResponse
|
|
649
|
-
*/
|
|
650
|
-
export declare class DeleteSubjectConditionSetResponse extends Message<DeleteSubjectConditionSetResponse> {
|
|
651
|
-
/**
|
|
652
|
-
* Only ID of deleted Subject Condition Set provided
|
|
653
|
-
*
|
|
654
|
-
* @generated from field: policy.SubjectConditionSet subject_condition_set = 1;
|
|
655
|
-
*/
|
|
656
|
-
subjectConditionSet?: SubjectConditionSet;
|
|
657
|
-
|
|
658
|
-
constructor(data?: PartialMessage<DeleteSubjectConditionSetResponse>);
|
|
659
|
-
|
|
660
|
-
static readonly runtime: typeof proto3;
|
|
661
|
-
static readonly typeName = "policy.subjectmapping.DeleteSubjectConditionSetResponse";
|
|
662
|
-
static readonly fields: FieldList;
|
|
663
|
-
|
|
664
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSubjectConditionSetResponse;
|
|
665
|
-
|
|
666
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSubjectConditionSetResponse;
|
|
667
|
-
|
|
668
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteSubjectConditionSetResponse;
|
|
669
|
-
|
|
670
|
-
static equals(a: DeleteSubjectConditionSetResponse | PlainMessage<DeleteSubjectConditionSetResponse> | undefined, b: DeleteSubjectConditionSetResponse | PlainMessage<DeleteSubjectConditionSetResponse> | undefined): boolean;
|
|
671
|
-
}
|
|
672
|
-
|