raystack-proton 2025.10.8.102837__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.
Potentially problematic release.
This version of raystack-proton might be problematic. Click here for more details.
- google/__init__.py +0 -0
- google/api/__init__.py +0 -0
- google/api/annotations_pb2.py +37 -0
- google/api/annotations_pb2.pyi +8 -0
- google/api/field_behavior_pb2.py +38 -0
- google/api/field_behavior_pb2.pyi +27 -0
- google/api/http_pb2.py +41 -0
- google/api/http_pb2.pyi +47 -0
- google/api/httpbody_pb2.py +38 -0
- google/api/httpbody_pb2.pyi +18 -0
- protoc_gen_openapiv2/__init__.py +0 -0
- protoc_gen_openapiv2/options/__init__.py +0 -0
- protoc_gen_openapiv2/options/annotations_pb2.py +37 -0
- protoc_gen_openapiv2/options/annotations_pb2.pyi +16 -0
- protoc_gen_openapiv2/options/openapiv2_pb2.py +142 -0
- protoc_gen_openapiv2/options/openapiv2_pb2.pyi +463 -0
- raystack/__init__.py +0 -0
- raystack/assets/__init__.py +0 -0
- raystack/assets/v1beta1/__init__.py +0 -0
- raystack/assets/v1beta1/bucket_pb2.py +45 -0
- raystack/assets/v1beta1/bucket_pb2.pyi +59 -0
- raystack/assets/v1beta1/dashboard_pb2.py +45 -0
- raystack/assets/v1beta1/dashboard_pb2.pyi +65 -0
- raystack/assets/v1beta1/event_pb2.py +38 -0
- raystack/assets/v1beta1/event_pb2.pyi +19 -0
- raystack/assets/v1beta1/group_pb2.py +43 -0
- raystack/assets/v1beta1/group_pb2.pyi +35 -0
- raystack/assets/v1beta1/job_pb2.py +43 -0
- raystack/assets/v1beta1/job_pb2.pyi +28 -0
- raystack/assets/v1beta1/lineage_pb2.py +38 -0
- raystack/assets/v1beta1/lineage_pb2.pyi +16 -0
- raystack/assets/v1beta1/ownership_pb2.py +39 -0
- raystack/assets/v1beta1/ownership_pb2.pyi +25 -0
- raystack/assets/v1beta1/preview_pb2.py +38 -0
- raystack/assets/v1beta1/preview_pb2.pyi +16 -0
- raystack/assets/v1beta1/properties_pb2.py +42 -0
- raystack/assets/v1beta1/properties_pb2.pyi +25 -0
- raystack/assets/v1beta1/resource_pb2.py +37 -0
- raystack/assets/v1beta1/resource_pb2.pyi +21 -0
- raystack/assets/v1beta1/schema_pb2.py +44 -0
- raystack/assets/v1beta1/schema_pb2.pyi +58 -0
- raystack/assets/v1beta1/table_pb2.py +49 -0
- raystack/assets/v1beta1/table_pb2.pyi +63 -0
- raystack/assets/v1beta1/timestamp_pb2.py +40 -0
- raystack/assets/v1beta1/timestamp_pb2.pyi +25 -0
- raystack/assets/v1beta1/topic_pb2.py +46 -0
- raystack/assets/v1beta1/topic_pb2.pyi +41 -0
- raystack/assets/v1beta1/user_pb2.py +45 -0
- raystack/assets/v1beta1/user_pb2.pyi +63 -0
- raystack/assets/v1beta2/__init__.py +0 -0
- raystack/assets/v1beta2/application_pb2.py +39 -0
- raystack/assets/v1beta2/application_pb2.pyi +24 -0
- raystack/assets/v1beta2/asset_pb2.py +44 -0
- raystack/assets/v1beta2/asset_pb2.pyi +49 -0
- raystack/assets/v1beta2/bucket_pb2.py +42 -0
- raystack/assets/v1beta2/bucket_pb2.pyi +54 -0
- raystack/assets/v1beta2/common_pb2.py +44 -0
- raystack/assets/v1beta2/common_pb2.pyi +52 -0
- raystack/assets/v1beta2/dashboard_pb2.py +42 -0
- raystack/assets/v1beta2/dashboard_pb2.pyi +60 -0
- raystack/assets/v1beta2/experiment_pb2.py +41 -0
- raystack/assets/v1beta2/experiment_pb2.pyi +40 -0
- raystack/assets/v1beta2/feature_table_pb2.py +47 -0
- raystack/assets/v1beta2/feature_table_pb2.pyi +59 -0
- raystack/assets/v1beta2/group_pb2.py +40 -0
- raystack/assets/v1beta2/group_pb2.pyi +26 -0
- raystack/assets/v1beta2/job_pb2.py +39 -0
- raystack/assets/v1beta2/job_pb2.pyi +20 -0
- raystack/assets/v1beta2/metric_pb2.py +39 -0
- raystack/assets/v1beta2/metric_pb2.pyi +28 -0
- raystack/assets/v1beta2/model_pb2.py +49 -0
- raystack/assets/v1beta2/model_pb2.pyi +73 -0
- raystack/assets/v1beta2/table_pb2.py +47 -0
- raystack/assets/v1beta2/table_pb2.pyi +93 -0
- raystack/assets/v1beta2/topic_pb2.py +43 -0
- raystack/assets/v1beta2/topic_pb2.pyi +40 -0
- raystack/assets/v1beta2/user_pb2.py +43 -0
- raystack/assets/v1beta2/user_pb2.pyi +61 -0
- raystack/common/__init__.py +0 -0
- raystack/common/v1/__init__.py +0 -0
- raystack/common/v1/service_connect.py +119 -0
- raystack/common/v1/service_pb2.py +48 -0
- raystack/common/v1/service_pb2.pyi +39 -0
- raystack/compass/__init__.py +0 -0
- raystack/compass/v1beta1/__init__.py +0 -0
- raystack/compass/v1beta1/service_connect.py +2784 -0
- raystack/compass/v1beta1/service_pb2.py +581 -0
- raystack/compass/v1beta1/service_pb2.pyi +1055 -0
- raystack/entropy/__init__.py +0 -0
- raystack/entropy/v1beta1/__init__.py +0 -0
- raystack/entropy/v1beta1/module_connect.py +379 -0
- raystack/entropy/v1beta1/module_pb2.py +72 -0
- raystack/entropy/v1beta1/module_pb2.pyi +88 -0
- raystack/entropy/v1beta1/resource_connect.py +574 -0
- raystack/entropy/v1beta1/resource_pb2.py +134 -0
- raystack/entropy/v1beta1/resource_pb2.pyi +268 -0
- raystack/frontier/__init__.py +0 -0
- raystack/frontier/v1beta1/__init__.py +0 -0
- raystack/frontier/v1beta1/admin_connect.py +4021 -0
- raystack/frontier/v1beta1/admin_pb2.py +617 -0
- raystack/frontier/v1beta1/admin_pb2.pyi +1151 -0
- raystack/frontier/v1beta1/frontier_connect.py +11169 -0
- raystack/frontier/v1beta1/frontier_pb2.py +1648 -0
- raystack/frontier/v1beta1/frontier_pb2.pyi +2730 -0
- raystack/frontier/v1beta1/models_pb2.py +398 -0
- raystack/frontier/v1beta1/models_pb2.pyi +1150 -0
- raystack/guardian/__init__.py +0 -0
- raystack/guardian/v1beta1/__init__.py +0 -0
- raystack/guardian/v1beta1/guardian_connect.py +2654 -0
- raystack/guardian/v1beta1/guardian_pb2.py +527 -0
- raystack/guardian/v1beta1/guardian_pb2.pyi +1257 -0
- raystack/optimus/__init__.py +0 -0
- raystack/optimus/core/__init__.py +0 -0
- raystack/optimus/core/v1beta1/__init__.py +0 -0
- raystack/optimus/core/v1beta1/backup_connect.py +249 -0
- raystack/optimus/core/v1beta1/backup_pb2.py +70 -0
- raystack/optimus/core/v1beta1/backup_pb2.pyi +108 -0
- raystack/optimus/core/v1beta1/job_run_connect.py +314 -0
- raystack/optimus/core/v1beta1/job_run_pb2.py +88 -0
- raystack/optimus/core/v1beta1/job_run_pb2.pyi +164 -0
- raystack/optimus/core/v1beta1/job_spec_connect.py +1289 -0
- raystack/optimus/core/v1beta1/job_spec_pb2.py +229 -0
- raystack/optimus/core/v1beta1/job_spec_pb2.pyi +700 -0
- raystack/optimus/core/v1beta1/namespace_connect.py +249 -0
- raystack/optimus/core/v1beta1/namespace_pb2.py +63 -0
- raystack/optimus/core/v1beta1/namespace_pb2.pyi +66 -0
- raystack/optimus/core/v1beta1/project_connect.py +249 -0
- raystack/optimus/core/v1beta1/project_pb2.py +63 -0
- raystack/optimus/core/v1beta1/project_pb2.pyi +60 -0
- raystack/optimus/core/v1beta1/replay_connect.py +314 -0
- raystack/optimus/core/v1beta1/replay_pb2.py +72 -0
- raystack/optimus/core/v1beta1/replay_pb2.pyi +127 -0
- raystack/optimus/core/v1beta1/resource_connect.py +509 -0
- raystack/optimus/core/v1beta1/resource_pb2.py +93 -0
- raystack/optimus/core/v1beta1/resource_pb2.pyi +182 -0
- raystack/optimus/core/v1beta1/runtime_connect.py +119 -0
- raystack/optimus/core/v1beta1/runtime_pb2.py +45 -0
- raystack/optimus/core/v1beta1/runtime_pb2.pyi +19 -0
- raystack/optimus/core/v1beta1/secret_connect.py +314 -0
- raystack/optimus/core/v1beta1/secret_pb2.py +66 -0
- raystack/optimus/core/v1beta1/secret_pb2.pyi +81 -0
- raystack/optimus/core/v1beta1/status_pb2.py +39 -0
- raystack/optimus/core/v1beta1/status_pb2.pyi +31 -0
- raystack/optimus/integration/__init__.py +0 -0
- raystack/optimus/integration/v1beta1/__init__.py +0 -0
- raystack/optimus/integration/v1beta1/event_pb2.py +50 -0
- raystack/optimus/integration/v1beta1/event_pb2.pyi +94 -0
- raystack/optimus/plugins/__init__.py +0 -0
- raystack/optimus/plugins/v1beta1/__init__.py +0 -0
- raystack/optimus/plugins/v1beta1/dependency_resolver_connect.py +314 -0
- raystack/optimus/plugins/v1beta1/dependency_resolver_pb2.py +66 -0
- raystack/optimus/plugins/v1beta1/dependency_resolver_pb2.pyi +118 -0
- raystack/predator/__init__.py +0 -0
- raystack/predator/v1beta1/__init__.py +0 -0
- raystack/predator/v1beta1/metrics_log_pb2.py +46 -0
- raystack/predator/v1beta1/metrics_log_pb2.pyi +68 -0
- raystack/predator/v1beta1/result_log_pb2.py +45 -0
- raystack/predator/v1beta1/result_log_pb2.pyi +61 -0
- raystack/raccoon/__init__.py +0 -0
- raystack/raccoon/v1beta1/__init__.py +0 -0
- raystack/raccoon/v1beta1/raccoon_connect.py +119 -0
- raystack/raccoon/v1beta1/raccoon_pb2.py +52 -0
- raystack/raccoon/v1beta1/raccoon_pb2.pyi +74 -0
- raystack/siren/__init__.py +0 -0
- raystack/siren/v1beta1/__init__.py +0 -0
- raystack/siren/v1beta1/siren_connect.py +2329 -0
- raystack/siren/v1beta1/siren_pb2.py +415 -0
- raystack/siren/v1beta1/siren_pb2.pyi +890 -0
- raystack/stencil/__init__.py +0 -0
- raystack/stencil/v1beta1/__init__.py +0 -0
- raystack/stencil/v1beta1/stencil_connect.py +1094 -0
- raystack/stencil/v1beta1/stencil_pb2.py +158 -0
- raystack/stencil/v1beta1/stencil_pb2.pyi +357 -0
- raystack_proton-2025.10.8.102837.dist-info/METADATA +101 -0
- raystack_proton-2025.10.8.102837.dist-info/RECORD +181 -0
- raystack_proton-2025.10.8.102837.dist-info/WHEEL +5 -0
- raystack_proton-2025.10.8.102837.dist-info/licenses/LICENSE +201 -0
- raystack_proton-2025.10.8.102837.dist-info/top_level.txt +4 -0
- validate/__init__.py +0 -0
- validate/validate_pb2.py +86 -0
- validate/validate_pb2.pyi +497 -0
|
@@ -0,0 +1,1257 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
|
|
3
|
+
from google.api import annotations_pb2 as _annotations_pb2
|
|
4
|
+
from google.api import field_behavior_pb2 as _field_behavior_pb2
|
|
5
|
+
from google.protobuf import struct_pb2 as _struct_pb2
|
|
6
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
7
|
+
from protoc_gen_openapiv2.options import annotations_pb2 as _annotations_pb2_1
|
|
8
|
+
from validate import validate_pb2 as _validate_pb2
|
|
9
|
+
from google.protobuf.internal import containers as _containers
|
|
10
|
+
from google.protobuf import descriptor as _descriptor
|
|
11
|
+
from google.protobuf import message as _message
|
|
12
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
13
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
14
|
+
|
|
15
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
16
|
+
|
|
17
|
+
class ListProvidersRequest(_message.Message):
|
|
18
|
+
__slots__ = ("type", "urn")
|
|
19
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
URN_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
type: str
|
|
22
|
+
urn: str
|
|
23
|
+
def __init__(self, type: _Optional[str] = ..., urn: _Optional[str] = ...) -> None: ...
|
|
24
|
+
|
|
25
|
+
class ListProvidersResponse(_message.Message):
|
|
26
|
+
__slots__ = ("providers",)
|
|
27
|
+
PROVIDERS_FIELD_NUMBER: _ClassVar[int]
|
|
28
|
+
providers: _containers.RepeatedCompositeFieldContainer[Provider]
|
|
29
|
+
def __init__(self, providers: _Optional[_Iterable[_Union[Provider, _Mapping]]] = ...) -> None: ...
|
|
30
|
+
|
|
31
|
+
class GetProviderRequest(_message.Message):
|
|
32
|
+
__slots__ = ("id",)
|
|
33
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
+
id: str
|
|
35
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
36
|
+
|
|
37
|
+
class GetProviderResponse(_message.Message):
|
|
38
|
+
__slots__ = ("provider",)
|
|
39
|
+
PROVIDER_FIELD_NUMBER: _ClassVar[int]
|
|
40
|
+
provider: Provider
|
|
41
|
+
def __init__(self, provider: _Optional[_Union[Provider, _Mapping]] = ...) -> None: ...
|
|
42
|
+
|
|
43
|
+
class GetProviderTypesRequest(_message.Message):
|
|
44
|
+
__slots__ = ()
|
|
45
|
+
def __init__(self) -> None: ...
|
|
46
|
+
|
|
47
|
+
class GetProviderTypesResponse(_message.Message):
|
|
48
|
+
__slots__ = ("provider_types",)
|
|
49
|
+
PROVIDER_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
provider_types: _containers.RepeatedCompositeFieldContainer[ProviderType]
|
|
51
|
+
def __init__(self, provider_types: _Optional[_Iterable[_Union[ProviderType, _Mapping]]] = ...) -> None: ...
|
|
52
|
+
|
|
53
|
+
class CreateProviderRequest(_message.Message):
|
|
54
|
+
__slots__ = ("config", "dry_run")
|
|
55
|
+
CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
+
DRY_RUN_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
+
config: ProviderConfig
|
|
58
|
+
dry_run: bool
|
|
59
|
+
def __init__(self, config: _Optional[_Union[ProviderConfig, _Mapping]] = ..., dry_run: _Optional[bool] = ...) -> None: ...
|
|
60
|
+
|
|
61
|
+
class CreateProviderResponse(_message.Message):
|
|
62
|
+
__slots__ = ("provider",)
|
|
63
|
+
PROVIDER_FIELD_NUMBER: _ClassVar[int]
|
|
64
|
+
provider: Provider
|
|
65
|
+
def __init__(self, provider: _Optional[_Union[Provider, _Mapping]] = ...) -> None: ...
|
|
66
|
+
|
|
67
|
+
class UpdateProviderRequest(_message.Message):
|
|
68
|
+
__slots__ = ("id", "config", "dry_run")
|
|
69
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
70
|
+
CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
71
|
+
DRY_RUN_FIELD_NUMBER: _ClassVar[int]
|
|
72
|
+
id: str
|
|
73
|
+
config: ProviderConfig
|
|
74
|
+
dry_run: bool
|
|
75
|
+
def __init__(self, id: _Optional[str] = ..., config: _Optional[_Union[ProviderConfig, _Mapping]] = ..., dry_run: _Optional[bool] = ...) -> None: ...
|
|
76
|
+
|
|
77
|
+
class UpdateProviderResponse(_message.Message):
|
|
78
|
+
__slots__ = ("provider",)
|
|
79
|
+
PROVIDER_FIELD_NUMBER: _ClassVar[int]
|
|
80
|
+
provider: Provider
|
|
81
|
+
def __init__(self, provider: _Optional[_Union[Provider, _Mapping]] = ...) -> None: ...
|
|
82
|
+
|
|
83
|
+
class DeleteProviderRequest(_message.Message):
|
|
84
|
+
__slots__ = ("id",)
|
|
85
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
86
|
+
id: str
|
|
87
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
88
|
+
|
|
89
|
+
class DeleteProviderResponse(_message.Message):
|
|
90
|
+
__slots__ = ()
|
|
91
|
+
def __init__(self) -> None: ...
|
|
92
|
+
|
|
93
|
+
class ImportGrantsFromProviderRequest(_message.Message):
|
|
94
|
+
__slots__ = ("provider_id", "resource_ids", "resource_types", "resource_urns")
|
|
95
|
+
PROVIDER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
96
|
+
RESOURCE_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
97
|
+
RESOURCE_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
98
|
+
RESOURCE_URNS_FIELD_NUMBER: _ClassVar[int]
|
|
99
|
+
provider_id: str
|
|
100
|
+
resource_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
101
|
+
resource_types: _containers.RepeatedScalarFieldContainer[str]
|
|
102
|
+
resource_urns: _containers.RepeatedScalarFieldContainer[str]
|
|
103
|
+
def __init__(self, provider_id: _Optional[str] = ..., resource_ids: _Optional[_Iterable[str]] = ..., resource_types: _Optional[_Iterable[str]] = ..., resource_urns: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
104
|
+
|
|
105
|
+
class ImportGrantsFromProviderResponse(_message.Message):
|
|
106
|
+
__slots__ = ("grants",)
|
|
107
|
+
GRANTS_FIELD_NUMBER: _ClassVar[int]
|
|
108
|
+
grants: _containers.RepeatedCompositeFieldContainer[Grant]
|
|
109
|
+
def __init__(self, grants: _Optional[_Iterable[_Union[Grant, _Mapping]]] = ...) -> None: ...
|
|
110
|
+
|
|
111
|
+
class ListRolesRequest(_message.Message):
|
|
112
|
+
__slots__ = ("id", "resource_type")
|
|
113
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
114
|
+
RESOURCE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
115
|
+
id: str
|
|
116
|
+
resource_type: str
|
|
117
|
+
def __init__(self, id: _Optional[str] = ..., resource_type: _Optional[str] = ...) -> None: ...
|
|
118
|
+
|
|
119
|
+
class ListRolesResponse(_message.Message):
|
|
120
|
+
__slots__ = ("roles",)
|
|
121
|
+
ROLES_FIELD_NUMBER: _ClassVar[int]
|
|
122
|
+
roles: _containers.RepeatedCompositeFieldContainer[Role]
|
|
123
|
+
def __init__(self, roles: _Optional[_Iterable[_Union[Role, _Mapping]]] = ...) -> None: ...
|
|
124
|
+
|
|
125
|
+
class ImportActivitiesRequest(_message.Message):
|
|
126
|
+
__slots__ = ("provider_id", "account_ids", "resource_ids", "timestamp_gte", "timestamp_lte")
|
|
127
|
+
PROVIDER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
128
|
+
ACCOUNT_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
129
|
+
RESOURCE_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
130
|
+
TIMESTAMP_GTE_FIELD_NUMBER: _ClassVar[int]
|
|
131
|
+
TIMESTAMP_LTE_FIELD_NUMBER: _ClassVar[int]
|
|
132
|
+
provider_id: str
|
|
133
|
+
account_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
134
|
+
resource_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
135
|
+
timestamp_gte: _timestamp_pb2.Timestamp
|
|
136
|
+
timestamp_lte: _timestamp_pb2.Timestamp
|
|
137
|
+
def __init__(self, provider_id: _Optional[str] = ..., account_ids: _Optional[_Iterable[str]] = ..., resource_ids: _Optional[_Iterable[str]] = ..., timestamp_gte: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., timestamp_lte: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
138
|
+
|
|
139
|
+
class ImportActivitiesResponse(_message.Message):
|
|
140
|
+
__slots__ = ("activities",)
|
|
141
|
+
ACTIVITIES_FIELD_NUMBER: _ClassVar[int]
|
|
142
|
+
activities: _containers.RepeatedCompositeFieldContainer[ProviderActivity]
|
|
143
|
+
def __init__(self, activities: _Optional[_Iterable[_Union[ProviderActivity, _Mapping]]] = ...) -> None: ...
|
|
144
|
+
|
|
145
|
+
class GetActivityRequest(_message.Message):
|
|
146
|
+
__slots__ = ("id",)
|
|
147
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
148
|
+
id: str
|
|
149
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
150
|
+
|
|
151
|
+
class GetActivityResponse(_message.Message):
|
|
152
|
+
__slots__ = ("activity",)
|
|
153
|
+
ACTIVITY_FIELD_NUMBER: _ClassVar[int]
|
|
154
|
+
activity: ProviderActivity
|
|
155
|
+
def __init__(self, activity: _Optional[_Union[ProviderActivity, _Mapping]] = ...) -> None: ...
|
|
156
|
+
|
|
157
|
+
class ListActivitiesRequest(_message.Message):
|
|
158
|
+
__slots__ = ("provider_ids", "account_ids", "resource_ids", "types", "timestamp_gte", "timestamp_lte")
|
|
159
|
+
PROVIDER_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
160
|
+
ACCOUNT_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
161
|
+
RESOURCE_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
162
|
+
TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
163
|
+
TIMESTAMP_GTE_FIELD_NUMBER: _ClassVar[int]
|
|
164
|
+
TIMESTAMP_LTE_FIELD_NUMBER: _ClassVar[int]
|
|
165
|
+
provider_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
166
|
+
account_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
167
|
+
resource_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
168
|
+
types: _containers.RepeatedScalarFieldContainer[str]
|
|
169
|
+
timestamp_gte: _timestamp_pb2.Timestamp
|
|
170
|
+
timestamp_lte: _timestamp_pb2.Timestamp
|
|
171
|
+
def __init__(self, provider_ids: _Optional[_Iterable[str]] = ..., account_ids: _Optional[_Iterable[str]] = ..., resource_ids: _Optional[_Iterable[str]] = ..., types: _Optional[_Iterable[str]] = ..., timestamp_gte: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., timestamp_lte: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
172
|
+
|
|
173
|
+
class ListActivitiesResponse(_message.Message):
|
|
174
|
+
__slots__ = ("activities",)
|
|
175
|
+
ACTIVITIES_FIELD_NUMBER: _ClassVar[int]
|
|
176
|
+
activities: _containers.RepeatedCompositeFieldContainer[ProviderActivity]
|
|
177
|
+
def __init__(self, activities: _Optional[_Iterable[_Union[ProviderActivity, _Mapping]]] = ...) -> None: ...
|
|
178
|
+
|
|
179
|
+
class ListPoliciesRequest(_message.Message):
|
|
180
|
+
__slots__ = ()
|
|
181
|
+
def __init__(self) -> None: ...
|
|
182
|
+
|
|
183
|
+
class ListPoliciesResponse(_message.Message):
|
|
184
|
+
__slots__ = ("policies",)
|
|
185
|
+
POLICIES_FIELD_NUMBER: _ClassVar[int]
|
|
186
|
+
policies: _containers.RepeatedCompositeFieldContainer[Policy]
|
|
187
|
+
def __init__(self, policies: _Optional[_Iterable[_Union[Policy, _Mapping]]] = ...) -> None: ...
|
|
188
|
+
|
|
189
|
+
class GetPolicyRequest(_message.Message):
|
|
190
|
+
__slots__ = ("id", "version")
|
|
191
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
192
|
+
VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
193
|
+
id: str
|
|
194
|
+
version: int
|
|
195
|
+
def __init__(self, id: _Optional[str] = ..., version: _Optional[int] = ...) -> None: ...
|
|
196
|
+
|
|
197
|
+
class GetPolicyPreferencesRequest(_message.Message):
|
|
198
|
+
__slots__ = ("id", "version")
|
|
199
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
200
|
+
VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
201
|
+
id: str
|
|
202
|
+
version: int
|
|
203
|
+
def __init__(self, id: _Optional[str] = ..., version: _Optional[int] = ...) -> None: ...
|
|
204
|
+
|
|
205
|
+
class GetPolicyPreferencesResponse(_message.Message):
|
|
206
|
+
__slots__ = ("appeal",)
|
|
207
|
+
APPEAL_FIELD_NUMBER: _ClassVar[int]
|
|
208
|
+
appeal: PolicyAppealConfig
|
|
209
|
+
def __init__(self, appeal: _Optional[_Union[PolicyAppealConfig, _Mapping]] = ...) -> None: ...
|
|
210
|
+
|
|
211
|
+
class GetPolicyResponse(_message.Message):
|
|
212
|
+
__slots__ = ("policy",)
|
|
213
|
+
POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
214
|
+
policy: Policy
|
|
215
|
+
def __init__(self, policy: _Optional[_Union[Policy, _Mapping]] = ...) -> None: ...
|
|
216
|
+
|
|
217
|
+
class CreatePolicyRequest(_message.Message):
|
|
218
|
+
__slots__ = ("policy", "dry_run")
|
|
219
|
+
POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
220
|
+
DRY_RUN_FIELD_NUMBER: _ClassVar[int]
|
|
221
|
+
policy: Policy
|
|
222
|
+
dry_run: bool
|
|
223
|
+
def __init__(self, policy: _Optional[_Union[Policy, _Mapping]] = ..., dry_run: _Optional[bool] = ...) -> None: ...
|
|
224
|
+
|
|
225
|
+
class CreatePolicyResponse(_message.Message):
|
|
226
|
+
__slots__ = ("policy",)
|
|
227
|
+
POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
228
|
+
policy: Policy
|
|
229
|
+
def __init__(self, policy: _Optional[_Union[Policy, _Mapping]] = ...) -> None: ...
|
|
230
|
+
|
|
231
|
+
class UpdatePolicyRequest(_message.Message):
|
|
232
|
+
__slots__ = ("id", "policy", "dry_run")
|
|
233
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
234
|
+
POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
235
|
+
DRY_RUN_FIELD_NUMBER: _ClassVar[int]
|
|
236
|
+
id: str
|
|
237
|
+
policy: Policy
|
|
238
|
+
dry_run: bool
|
|
239
|
+
def __init__(self, id: _Optional[str] = ..., policy: _Optional[_Union[Policy, _Mapping]] = ..., dry_run: _Optional[bool] = ...) -> None: ...
|
|
240
|
+
|
|
241
|
+
class UpdatePolicyResponse(_message.Message):
|
|
242
|
+
__slots__ = ("policy",)
|
|
243
|
+
POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
244
|
+
policy: Policy
|
|
245
|
+
def __init__(self, policy: _Optional[_Union[Policy, _Mapping]] = ...) -> None: ...
|
|
246
|
+
|
|
247
|
+
class ListResourcesRequest(_message.Message):
|
|
248
|
+
__slots__ = ("is_deleted", "provider_type", "provider_urn", "type", "urn", "name", "details")
|
|
249
|
+
IS_DELETED_FIELD_NUMBER: _ClassVar[int]
|
|
250
|
+
PROVIDER_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
251
|
+
PROVIDER_URN_FIELD_NUMBER: _ClassVar[int]
|
|
252
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
253
|
+
URN_FIELD_NUMBER: _ClassVar[int]
|
|
254
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
255
|
+
DETAILS_FIELD_NUMBER: _ClassVar[int]
|
|
256
|
+
is_deleted: bool
|
|
257
|
+
provider_type: str
|
|
258
|
+
provider_urn: str
|
|
259
|
+
type: str
|
|
260
|
+
urn: str
|
|
261
|
+
name: str
|
|
262
|
+
details: _containers.RepeatedScalarFieldContainer[str]
|
|
263
|
+
def __init__(self, is_deleted: _Optional[bool] = ..., provider_type: _Optional[str] = ..., provider_urn: _Optional[str] = ..., type: _Optional[str] = ..., urn: _Optional[str] = ..., name: _Optional[str] = ..., details: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
264
|
+
|
|
265
|
+
class ListResourcesResponse(_message.Message):
|
|
266
|
+
__slots__ = ("resources",)
|
|
267
|
+
RESOURCES_FIELD_NUMBER: _ClassVar[int]
|
|
268
|
+
resources: _containers.RepeatedCompositeFieldContainer[Resource]
|
|
269
|
+
def __init__(self, resources: _Optional[_Iterable[_Union[Resource, _Mapping]]] = ...) -> None: ...
|
|
270
|
+
|
|
271
|
+
class GetResourceRequest(_message.Message):
|
|
272
|
+
__slots__ = ("id",)
|
|
273
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
274
|
+
id: str
|
|
275
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
276
|
+
|
|
277
|
+
class GetResourceResponse(_message.Message):
|
|
278
|
+
__slots__ = ("resource",)
|
|
279
|
+
RESOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
280
|
+
resource: Resource
|
|
281
|
+
def __init__(self, resource: _Optional[_Union[Resource, _Mapping]] = ...) -> None: ...
|
|
282
|
+
|
|
283
|
+
class UpdateResourceRequest(_message.Message):
|
|
284
|
+
__slots__ = ("id", "resource")
|
|
285
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
286
|
+
RESOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
287
|
+
id: str
|
|
288
|
+
resource: Resource
|
|
289
|
+
def __init__(self, id: _Optional[str] = ..., resource: _Optional[_Union[Resource, _Mapping]] = ...) -> None: ...
|
|
290
|
+
|
|
291
|
+
class UpdateResourceResponse(_message.Message):
|
|
292
|
+
__slots__ = ("resource",)
|
|
293
|
+
RESOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
294
|
+
resource: Resource
|
|
295
|
+
def __init__(self, resource: _Optional[_Union[Resource, _Mapping]] = ...) -> None: ...
|
|
296
|
+
|
|
297
|
+
class DeleteResourceRequest(_message.Message):
|
|
298
|
+
__slots__ = ("id",)
|
|
299
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
300
|
+
id: str
|
|
301
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
302
|
+
|
|
303
|
+
class DeleteResourceResponse(_message.Message):
|
|
304
|
+
__slots__ = ()
|
|
305
|
+
def __init__(self) -> None: ...
|
|
306
|
+
|
|
307
|
+
class ListUserAppealsRequest(_message.Message):
|
|
308
|
+
__slots__ = ("statuses", "role", "provider_types", "provider_urns", "resource_types", "resource_urns", "order_by", "size", "offset", "q", "account_types")
|
|
309
|
+
STATUSES_FIELD_NUMBER: _ClassVar[int]
|
|
310
|
+
ROLE_FIELD_NUMBER: _ClassVar[int]
|
|
311
|
+
PROVIDER_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
312
|
+
PROVIDER_URNS_FIELD_NUMBER: _ClassVar[int]
|
|
313
|
+
RESOURCE_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
314
|
+
RESOURCE_URNS_FIELD_NUMBER: _ClassVar[int]
|
|
315
|
+
ORDER_BY_FIELD_NUMBER: _ClassVar[int]
|
|
316
|
+
SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
317
|
+
OFFSET_FIELD_NUMBER: _ClassVar[int]
|
|
318
|
+
Q_FIELD_NUMBER: _ClassVar[int]
|
|
319
|
+
ACCOUNT_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
320
|
+
statuses: _containers.RepeatedScalarFieldContainer[str]
|
|
321
|
+
role: str
|
|
322
|
+
provider_types: _containers.RepeatedScalarFieldContainer[str]
|
|
323
|
+
provider_urns: _containers.RepeatedScalarFieldContainer[str]
|
|
324
|
+
resource_types: _containers.RepeatedScalarFieldContainer[str]
|
|
325
|
+
resource_urns: _containers.RepeatedScalarFieldContainer[str]
|
|
326
|
+
order_by: _containers.RepeatedScalarFieldContainer[str]
|
|
327
|
+
size: int
|
|
328
|
+
offset: int
|
|
329
|
+
q: str
|
|
330
|
+
account_types: _containers.RepeatedScalarFieldContainer[str]
|
|
331
|
+
def __init__(self, statuses: _Optional[_Iterable[str]] = ..., role: _Optional[str] = ..., provider_types: _Optional[_Iterable[str]] = ..., provider_urns: _Optional[_Iterable[str]] = ..., resource_types: _Optional[_Iterable[str]] = ..., resource_urns: _Optional[_Iterable[str]] = ..., order_by: _Optional[_Iterable[str]] = ..., size: _Optional[int] = ..., offset: _Optional[int] = ..., q: _Optional[str] = ..., account_types: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
332
|
+
|
|
333
|
+
class ListUserAppealsResponse(_message.Message):
|
|
334
|
+
__slots__ = ("appeals", "total")
|
|
335
|
+
APPEALS_FIELD_NUMBER: _ClassVar[int]
|
|
336
|
+
TOTAL_FIELD_NUMBER: _ClassVar[int]
|
|
337
|
+
appeals: _containers.RepeatedCompositeFieldContainer[Appeal]
|
|
338
|
+
total: int
|
|
339
|
+
def __init__(self, appeals: _Optional[_Iterable[_Union[Appeal, _Mapping]]] = ..., total: _Optional[int] = ...) -> None: ...
|
|
340
|
+
|
|
341
|
+
class ListAppealsRequest(_message.Message):
|
|
342
|
+
__slots__ = ("account_id", "statuses", "role", "provider_types", "provider_urns", "resource_types", "resource_urns", "order_by", "created_by", "size", "offset", "q", "account_types")
|
|
343
|
+
ACCOUNT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
344
|
+
STATUSES_FIELD_NUMBER: _ClassVar[int]
|
|
345
|
+
ROLE_FIELD_NUMBER: _ClassVar[int]
|
|
346
|
+
PROVIDER_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
347
|
+
PROVIDER_URNS_FIELD_NUMBER: _ClassVar[int]
|
|
348
|
+
RESOURCE_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
349
|
+
RESOURCE_URNS_FIELD_NUMBER: _ClassVar[int]
|
|
350
|
+
ORDER_BY_FIELD_NUMBER: _ClassVar[int]
|
|
351
|
+
CREATED_BY_FIELD_NUMBER: _ClassVar[int]
|
|
352
|
+
SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
353
|
+
OFFSET_FIELD_NUMBER: _ClassVar[int]
|
|
354
|
+
Q_FIELD_NUMBER: _ClassVar[int]
|
|
355
|
+
ACCOUNT_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
356
|
+
account_id: str
|
|
357
|
+
statuses: _containers.RepeatedScalarFieldContainer[str]
|
|
358
|
+
role: str
|
|
359
|
+
provider_types: _containers.RepeatedScalarFieldContainer[str]
|
|
360
|
+
provider_urns: _containers.RepeatedScalarFieldContainer[str]
|
|
361
|
+
resource_types: _containers.RepeatedScalarFieldContainer[str]
|
|
362
|
+
resource_urns: _containers.RepeatedScalarFieldContainer[str]
|
|
363
|
+
order_by: _containers.RepeatedScalarFieldContainer[str]
|
|
364
|
+
created_by: str
|
|
365
|
+
size: int
|
|
366
|
+
offset: int
|
|
367
|
+
q: str
|
|
368
|
+
account_types: _containers.RepeatedScalarFieldContainer[str]
|
|
369
|
+
def __init__(self, account_id: _Optional[str] = ..., statuses: _Optional[_Iterable[str]] = ..., role: _Optional[str] = ..., provider_types: _Optional[_Iterable[str]] = ..., provider_urns: _Optional[_Iterable[str]] = ..., resource_types: _Optional[_Iterable[str]] = ..., resource_urns: _Optional[_Iterable[str]] = ..., order_by: _Optional[_Iterable[str]] = ..., created_by: _Optional[str] = ..., size: _Optional[int] = ..., offset: _Optional[int] = ..., q: _Optional[str] = ..., account_types: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
370
|
+
|
|
371
|
+
class ListAppealsResponse(_message.Message):
|
|
372
|
+
__slots__ = ("appeals", "total")
|
|
373
|
+
APPEALS_FIELD_NUMBER: _ClassVar[int]
|
|
374
|
+
TOTAL_FIELD_NUMBER: _ClassVar[int]
|
|
375
|
+
appeals: _containers.RepeatedCompositeFieldContainer[Appeal]
|
|
376
|
+
total: int
|
|
377
|
+
def __init__(self, appeals: _Optional[_Iterable[_Union[Appeal, _Mapping]]] = ..., total: _Optional[int] = ...) -> None: ...
|
|
378
|
+
|
|
379
|
+
class GetAppealRequest(_message.Message):
|
|
380
|
+
__slots__ = ("id",)
|
|
381
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
382
|
+
id: str
|
|
383
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
384
|
+
|
|
385
|
+
class GetAppealResponse(_message.Message):
|
|
386
|
+
__slots__ = ("appeal",)
|
|
387
|
+
APPEAL_FIELD_NUMBER: _ClassVar[int]
|
|
388
|
+
appeal: Appeal
|
|
389
|
+
def __init__(self, appeal: _Optional[_Union[Appeal, _Mapping]] = ...) -> None: ...
|
|
390
|
+
|
|
391
|
+
class CancelAppealRequest(_message.Message):
|
|
392
|
+
__slots__ = ("id",)
|
|
393
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
394
|
+
id: str
|
|
395
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
396
|
+
|
|
397
|
+
class CancelAppealResponse(_message.Message):
|
|
398
|
+
__slots__ = ("appeal",)
|
|
399
|
+
APPEAL_FIELD_NUMBER: _ClassVar[int]
|
|
400
|
+
appeal: Appeal
|
|
401
|
+
def __init__(self, appeal: _Optional[_Union[Appeal, _Mapping]] = ...) -> None: ...
|
|
402
|
+
|
|
403
|
+
class RevokeAppealRequest(_message.Message):
|
|
404
|
+
__slots__ = ("id", "reason")
|
|
405
|
+
class Reason(_message.Message):
|
|
406
|
+
__slots__ = ("reason",)
|
|
407
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
408
|
+
reason: str
|
|
409
|
+
def __init__(self, reason: _Optional[str] = ...) -> None: ...
|
|
410
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
411
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
412
|
+
id: str
|
|
413
|
+
reason: RevokeAppealRequest.Reason
|
|
414
|
+
def __init__(self, id: _Optional[str] = ..., reason: _Optional[_Union[RevokeAppealRequest.Reason, _Mapping]] = ...) -> None: ...
|
|
415
|
+
|
|
416
|
+
class RevokeAppealResponse(_message.Message):
|
|
417
|
+
__slots__ = ("appeal",)
|
|
418
|
+
APPEAL_FIELD_NUMBER: _ClassVar[int]
|
|
419
|
+
appeal: Appeal
|
|
420
|
+
def __init__(self, appeal: _Optional[_Union[Appeal, _Mapping]] = ...) -> None: ...
|
|
421
|
+
|
|
422
|
+
class RevokeAppealsRequest(_message.Message):
|
|
423
|
+
__slots__ = ("account_ids", "provider_types", "provider_urns", "resource_types", "resource_urns", "reason")
|
|
424
|
+
ACCOUNT_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
425
|
+
PROVIDER_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
426
|
+
PROVIDER_URNS_FIELD_NUMBER: _ClassVar[int]
|
|
427
|
+
RESOURCE_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
428
|
+
RESOURCE_URNS_FIELD_NUMBER: _ClassVar[int]
|
|
429
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
430
|
+
account_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
431
|
+
provider_types: _containers.RepeatedScalarFieldContainer[str]
|
|
432
|
+
provider_urns: _containers.RepeatedScalarFieldContainer[str]
|
|
433
|
+
resource_types: _containers.RepeatedScalarFieldContainer[str]
|
|
434
|
+
resource_urns: _containers.RepeatedScalarFieldContainer[str]
|
|
435
|
+
reason: str
|
|
436
|
+
def __init__(self, account_ids: _Optional[_Iterable[str]] = ..., provider_types: _Optional[_Iterable[str]] = ..., provider_urns: _Optional[_Iterable[str]] = ..., resource_types: _Optional[_Iterable[str]] = ..., resource_urns: _Optional[_Iterable[str]] = ..., reason: _Optional[str] = ...) -> None: ...
|
|
437
|
+
|
|
438
|
+
class RevokeAppealsResponse(_message.Message):
|
|
439
|
+
__slots__ = ("appeals",)
|
|
440
|
+
APPEALS_FIELD_NUMBER: _ClassVar[int]
|
|
441
|
+
appeals: _containers.RepeatedCompositeFieldContainer[Appeal]
|
|
442
|
+
def __init__(self, appeals: _Optional[_Iterable[_Union[Appeal, _Mapping]]] = ...) -> None: ...
|
|
443
|
+
|
|
444
|
+
class CreateAppealRequest(_message.Message):
|
|
445
|
+
__slots__ = ("account_id", "resources", "account_type", "description")
|
|
446
|
+
class Resource(_message.Message):
|
|
447
|
+
__slots__ = ("id", "role", "options", "details")
|
|
448
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
449
|
+
ROLE_FIELD_NUMBER: _ClassVar[int]
|
|
450
|
+
OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
451
|
+
DETAILS_FIELD_NUMBER: _ClassVar[int]
|
|
452
|
+
id: str
|
|
453
|
+
role: str
|
|
454
|
+
options: _struct_pb2.Struct
|
|
455
|
+
details: _struct_pb2.Struct
|
|
456
|
+
def __init__(self, id: _Optional[str] = ..., role: _Optional[str] = ..., options: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., details: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
|
|
457
|
+
ACCOUNT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
458
|
+
RESOURCES_FIELD_NUMBER: _ClassVar[int]
|
|
459
|
+
ACCOUNT_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
460
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
461
|
+
account_id: str
|
|
462
|
+
resources: _containers.RepeatedCompositeFieldContainer[CreateAppealRequest.Resource]
|
|
463
|
+
account_type: str
|
|
464
|
+
description: str
|
|
465
|
+
def __init__(self, account_id: _Optional[str] = ..., resources: _Optional[_Iterable[_Union[CreateAppealRequest.Resource, _Mapping]]] = ..., account_type: _Optional[str] = ..., description: _Optional[str] = ...) -> None: ...
|
|
466
|
+
|
|
467
|
+
class CreateAppealResponse(_message.Message):
|
|
468
|
+
__slots__ = ("appeals",)
|
|
469
|
+
APPEALS_FIELD_NUMBER: _ClassVar[int]
|
|
470
|
+
appeals: _containers.RepeatedCompositeFieldContainer[Appeal]
|
|
471
|
+
def __init__(self, appeals: _Optional[_Iterable[_Union[Appeal, _Mapping]]] = ...) -> None: ...
|
|
472
|
+
|
|
473
|
+
class ListUserApprovalsRequest(_message.Message):
|
|
474
|
+
__slots__ = ("statuses", "order_by", "account_id", "size", "offset", "appeal_statuses", "q", "account_types", "resource_types")
|
|
475
|
+
STATUSES_FIELD_NUMBER: _ClassVar[int]
|
|
476
|
+
ORDER_BY_FIELD_NUMBER: _ClassVar[int]
|
|
477
|
+
ACCOUNT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
478
|
+
SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
479
|
+
OFFSET_FIELD_NUMBER: _ClassVar[int]
|
|
480
|
+
APPEAL_STATUSES_FIELD_NUMBER: _ClassVar[int]
|
|
481
|
+
Q_FIELD_NUMBER: _ClassVar[int]
|
|
482
|
+
ACCOUNT_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
483
|
+
RESOURCE_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
484
|
+
statuses: _containers.RepeatedScalarFieldContainer[str]
|
|
485
|
+
order_by: _containers.RepeatedScalarFieldContainer[str]
|
|
486
|
+
account_id: str
|
|
487
|
+
size: int
|
|
488
|
+
offset: int
|
|
489
|
+
appeal_statuses: _containers.RepeatedScalarFieldContainer[str]
|
|
490
|
+
q: str
|
|
491
|
+
account_types: _containers.RepeatedScalarFieldContainer[str]
|
|
492
|
+
resource_types: _containers.RepeatedScalarFieldContainer[str]
|
|
493
|
+
def __init__(self, statuses: _Optional[_Iterable[str]] = ..., order_by: _Optional[_Iterable[str]] = ..., account_id: _Optional[str] = ..., size: _Optional[int] = ..., offset: _Optional[int] = ..., appeal_statuses: _Optional[_Iterable[str]] = ..., q: _Optional[str] = ..., account_types: _Optional[_Iterable[str]] = ..., resource_types: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
494
|
+
|
|
495
|
+
class ListUserApprovalsResponse(_message.Message):
|
|
496
|
+
__slots__ = ("approvals", "total")
|
|
497
|
+
APPROVALS_FIELD_NUMBER: _ClassVar[int]
|
|
498
|
+
TOTAL_FIELD_NUMBER: _ClassVar[int]
|
|
499
|
+
approvals: _containers.RepeatedCompositeFieldContainer[Approval]
|
|
500
|
+
total: int
|
|
501
|
+
def __init__(self, approvals: _Optional[_Iterable[_Union[Approval, _Mapping]]] = ..., total: _Optional[int] = ...) -> None: ...
|
|
502
|
+
|
|
503
|
+
class ListApprovalsRequest(_message.Message):
|
|
504
|
+
__slots__ = ("account_id", "statuses", "order_by", "created_by", "size", "offset", "appeal_statuses", "q", "account_types", "resource_types")
|
|
505
|
+
ACCOUNT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
506
|
+
STATUSES_FIELD_NUMBER: _ClassVar[int]
|
|
507
|
+
ORDER_BY_FIELD_NUMBER: _ClassVar[int]
|
|
508
|
+
CREATED_BY_FIELD_NUMBER: _ClassVar[int]
|
|
509
|
+
SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
510
|
+
OFFSET_FIELD_NUMBER: _ClassVar[int]
|
|
511
|
+
APPEAL_STATUSES_FIELD_NUMBER: _ClassVar[int]
|
|
512
|
+
Q_FIELD_NUMBER: _ClassVar[int]
|
|
513
|
+
ACCOUNT_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
514
|
+
RESOURCE_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
515
|
+
account_id: str
|
|
516
|
+
statuses: _containers.RepeatedScalarFieldContainer[str]
|
|
517
|
+
order_by: _containers.RepeatedScalarFieldContainer[str]
|
|
518
|
+
created_by: str
|
|
519
|
+
size: int
|
|
520
|
+
offset: int
|
|
521
|
+
appeal_statuses: _containers.RepeatedScalarFieldContainer[str]
|
|
522
|
+
q: str
|
|
523
|
+
account_types: _containers.RepeatedScalarFieldContainer[str]
|
|
524
|
+
resource_types: _containers.RepeatedScalarFieldContainer[str]
|
|
525
|
+
def __init__(self, account_id: _Optional[str] = ..., statuses: _Optional[_Iterable[str]] = ..., order_by: _Optional[_Iterable[str]] = ..., created_by: _Optional[str] = ..., size: _Optional[int] = ..., offset: _Optional[int] = ..., appeal_statuses: _Optional[_Iterable[str]] = ..., q: _Optional[str] = ..., account_types: _Optional[_Iterable[str]] = ..., resource_types: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
526
|
+
|
|
527
|
+
class ListApprovalsResponse(_message.Message):
|
|
528
|
+
__slots__ = ("approvals", "total")
|
|
529
|
+
APPROVALS_FIELD_NUMBER: _ClassVar[int]
|
|
530
|
+
TOTAL_FIELD_NUMBER: _ClassVar[int]
|
|
531
|
+
approvals: _containers.RepeatedCompositeFieldContainer[Approval]
|
|
532
|
+
total: int
|
|
533
|
+
def __init__(self, approvals: _Optional[_Iterable[_Union[Approval, _Mapping]]] = ..., total: _Optional[int] = ...) -> None: ...
|
|
534
|
+
|
|
535
|
+
class UpdateApprovalRequest(_message.Message):
|
|
536
|
+
__slots__ = ("id", "approval_name", "action")
|
|
537
|
+
class Action(_message.Message):
|
|
538
|
+
__slots__ = ("action", "reason")
|
|
539
|
+
ACTION_FIELD_NUMBER: _ClassVar[int]
|
|
540
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
541
|
+
action: str
|
|
542
|
+
reason: str
|
|
543
|
+
def __init__(self, action: _Optional[str] = ..., reason: _Optional[str] = ...) -> None: ...
|
|
544
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
545
|
+
APPROVAL_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
546
|
+
ACTION_FIELD_NUMBER: _ClassVar[int]
|
|
547
|
+
id: str
|
|
548
|
+
approval_name: str
|
|
549
|
+
action: UpdateApprovalRequest.Action
|
|
550
|
+
def __init__(self, id: _Optional[str] = ..., approval_name: _Optional[str] = ..., action: _Optional[_Union[UpdateApprovalRequest.Action, _Mapping]] = ...) -> None: ...
|
|
551
|
+
|
|
552
|
+
class UpdateApprovalResponse(_message.Message):
|
|
553
|
+
__slots__ = ("appeal",)
|
|
554
|
+
APPEAL_FIELD_NUMBER: _ClassVar[int]
|
|
555
|
+
appeal: Appeal
|
|
556
|
+
def __init__(self, appeal: _Optional[_Union[Appeal, _Mapping]] = ...) -> None: ...
|
|
557
|
+
|
|
558
|
+
class AddApproverRequest(_message.Message):
|
|
559
|
+
__slots__ = ("appeal_id", "approval_id", "email")
|
|
560
|
+
APPEAL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
561
|
+
APPROVAL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
562
|
+
EMAIL_FIELD_NUMBER: _ClassVar[int]
|
|
563
|
+
appeal_id: str
|
|
564
|
+
approval_id: str
|
|
565
|
+
email: str
|
|
566
|
+
def __init__(self, appeal_id: _Optional[str] = ..., approval_id: _Optional[str] = ..., email: _Optional[str] = ...) -> None: ...
|
|
567
|
+
|
|
568
|
+
class AddApproverResponse(_message.Message):
|
|
569
|
+
__slots__ = ("appeal",)
|
|
570
|
+
APPEAL_FIELD_NUMBER: _ClassVar[int]
|
|
571
|
+
appeal: Appeal
|
|
572
|
+
def __init__(self, appeal: _Optional[_Union[Appeal, _Mapping]] = ...) -> None: ...
|
|
573
|
+
|
|
574
|
+
class DeleteApproverRequest(_message.Message):
|
|
575
|
+
__slots__ = ("appeal_id", "approval_id", "email")
|
|
576
|
+
APPEAL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
577
|
+
APPROVAL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
578
|
+
EMAIL_FIELD_NUMBER: _ClassVar[int]
|
|
579
|
+
appeal_id: str
|
|
580
|
+
approval_id: str
|
|
581
|
+
email: str
|
|
582
|
+
def __init__(self, appeal_id: _Optional[str] = ..., approval_id: _Optional[str] = ..., email: _Optional[str] = ...) -> None: ...
|
|
583
|
+
|
|
584
|
+
class DeleteApproverResponse(_message.Message):
|
|
585
|
+
__slots__ = ("appeal",)
|
|
586
|
+
APPEAL_FIELD_NUMBER: _ClassVar[int]
|
|
587
|
+
appeal: Appeal
|
|
588
|
+
def __init__(self, appeal: _Optional[_Union[Appeal, _Mapping]] = ...) -> None: ...
|
|
589
|
+
|
|
590
|
+
class ListGrantsRequest(_message.Message):
|
|
591
|
+
__slots__ = ("statuses", "account_ids", "account_types", "resource_ids", "provider_types", "provider_urns", "resource_types", "resource_urns", "roles", "created_by", "order_by", "owner", "size", "offset", "q")
|
|
592
|
+
STATUSES_FIELD_NUMBER: _ClassVar[int]
|
|
593
|
+
ACCOUNT_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
594
|
+
ACCOUNT_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
595
|
+
RESOURCE_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
596
|
+
PROVIDER_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
597
|
+
PROVIDER_URNS_FIELD_NUMBER: _ClassVar[int]
|
|
598
|
+
RESOURCE_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
599
|
+
RESOURCE_URNS_FIELD_NUMBER: _ClassVar[int]
|
|
600
|
+
ROLES_FIELD_NUMBER: _ClassVar[int]
|
|
601
|
+
CREATED_BY_FIELD_NUMBER: _ClassVar[int]
|
|
602
|
+
ORDER_BY_FIELD_NUMBER: _ClassVar[int]
|
|
603
|
+
OWNER_FIELD_NUMBER: _ClassVar[int]
|
|
604
|
+
SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
605
|
+
OFFSET_FIELD_NUMBER: _ClassVar[int]
|
|
606
|
+
Q_FIELD_NUMBER: _ClassVar[int]
|
|
607
|
+
statuses: _containers.RepeatedScalarFieldContainer[str]
|
|
608
|
+
account_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
609
|
+
account_types: _containers.RepeatedScalarFieldContainer[str]
|
|
610
|
+
resource_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
611
|
+
provider_types: _containers.RepeatedScalarFieldContainer[str]
|
|
612
|
+
provider_urns: _containers.RepeatedScalarFieldContainer[str]
|
|
613
|
+
resource_types: _containers.RepeatedScalarFieldContainer[str]
|
|
614
|
+
resource_urns: _containers.RepeatedScalarFieldContainer[str]
|
|
615
|
+
roles: _containers.RepeatedScalarFieldContainer[str]
|
|
616
|
+
created_by: str
|
|
617
|
+
order_by: _containers.RepeatedScalarFieldContainer[str]
|
|
618
|
+
owner: str
|
|
619
|
+
size: int
|
|
620
|
+
offset: int
|
|
621
|
+
q: str
|
|
622
|
+
def __init__(self, statuses: _Optional[_Iterable[str]] = ..., account_ids: _Optional[_Iterable[str]] = ..., account_types: _Optional[_Iterable[str]] = ..., resource_ids: _Optional[_Iterable[str]] = ..., provider_types: _Optional[_Iterable[str]] = ..., provider_urns: _Optional[_Iterable[str]] = ..., resource_types: _Optional[_Iterable[str]] = ..., resource_urns: _Optional[_Iterable[str]] = ..., roles: _Optional[_Iterable[str]] = ..., created_by: _Optional[str] = ..., order_by: _Optional[_Iterable[str]] = ..., owner: _Optional[str] = ..., size: _Optional[int] = ..., offset: _Optional[int] = ..., q: _Optional[str] = ...) -> None: ...
|
|
623
|
+
|
|
624
|
+
class ListGrantsResponse(_message.Message):
|
|
625
|
+
__slots__ = ("grants", "total")
|
|
626
|
+
GRANTS_FIELD_NUMBER: _ClassVar[int]
|
|
627
|
+
TOTAL_FIELD_NUMBER: _ClassVar[int]
|
|
628
|
+
grants: _containers.RepeatedCompositeFieldContainer[Grant]
|
|
629
|
+
total: int
|
|
630
|
+
def __init__(self, grants: _Optional[_Iterable[_Union[Grant, _Mapping]]] = ..., total: _Optional[int] = ...) -> None: ...
|
|
631
|
+
|
|
632
|
+
class ListUserGrantsRequest(_message.Message):
|
|
633
|
+
__slots__ = ("statuses", "account_ids", "account_types", "resource_ids", "provider_types", "provider_urns", "resource_types", "resource_urns", "roles", "order_by", "size", "offset", "q")
|
|
634
|
+
STATUSES_FIELD_NUMBER: _ClassVar[int]
|
|
635
|
+
ACCOUNT_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
636
|
+
ACCOUNT_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
637
|
+
RESOURCE_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
638
|
+
PROVIDER_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
639
|
+
PROVIDER_URNS_FIELD_NUMBER: _ClassVar[int]
|
|
640
|
+
RESOURCE_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
641
|
+
RESOURCE_URNS_FIELD_NUMBER: _ClassVar[int]
|
|
642
|
+
ROLES_FIELD_NUMBER: _ClassVar[int]
|
|
643
|
+
ORDER_BY_FIELD_NUMBER: _ClassVar[int]
|
|
644
|
+
SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
645
|
+
OFFSET_FIELD_NUMBER: _ClassVar[int]
|
|
646
|
+
Q_FIELD_NUMBER: _ClassVar[int]
|
|
647
|
+
statuses: _containers.RepeatedScalarFieldContainer[str]
|
|
648
|
+
account_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
649
|
+
account_types: _containers.RepeatedScalarFieldContainer[str]
|
|
650
|
+
resource_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
651
|
+
provider_types: _containers.RepeatedScalarFieldContainer[str]
|
|
652
|
+
provider_urns: _containers.RepeatedScalarFieldContainer[str]
|
|
653
|
+
resource_types: _containers.RepeatedScalarFieldContainer[str]
|
|
654
|
+
resource_urns: _containers.RepeatedScalarFieldContainer[str]
|
|
655
|
+
roles: _containers.RepeatedScalarFieldContainer[str]
|
|
656
|
+
order_by: _containers.RepeatedScalarFieldContainer[str]
|
|
657
|
+
size: int
|
|
658
|
+
offset: int
|
|
659
|
+
q: str
|
|
660
|
+
def __init__(self, statuses: _Optional[_Iterable[str]] = ..., account_ids: _Optional[_Iterable[str]] = ..., account_types: _Optional[_Iterable[str]] = ..., resource_ids: _Optional[_Iterable[str]] = ..., provider_types: _Optional[_Iterable[str]] = ..., provider_urns: _Optional[_Iterable[str]] = ..., resource_types: _Optional[_Iterable[str]] = ..., resource_urns: _Optional[_Iterable[str]] = ..., roles: _Optional[_Iterable[str]] = ..., order_by: _Optional[_Iterable[str]] = ..., size: _Optional[int] = ..., offset: _Optional[int] = ..., q: _Optional[str] = ...) -> None: ...
|
|
661
|
+
|
|
662
|
+
class ListUserGrantsResponse(_message.Message):
|
|
663
|
+
__slots__ = ("grants", "total")
|
|
664
|
+
GRANTS_FIELD_NUMBER: _ClassVar[int]
|
|
665
|
+
TOTAL_FIELD_NUMBER: _ClassVar[int]
|
|
666
|
+
grants: _containers.RepeatedCompositeFieldContainer[Grant]
|
|
667
|
+
total: int
|
|
668
|
+
def __init__(self, grants: _Optional[_Iterable[_Union[Grant, _Mapping]]] = ..., total: _Optional[int] = ...) -> None: ...
|
|
669
|
+
|
|
670
|
+
class GetGrantRequest(_message.Message):
|
|
671
|
+
__slots__ = ("id",)
|
|
672
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
673
|
+
id: str
|
|
674
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
675
|
+
|
|
676
|
+
class GetGrantResponse(_message.Message):
|
|
677
|
+
__slots__ = ("grant",)
|
|
678
|
+
GRANT_FIELD_NUMBER: _ClassVar[int]
|
|
679
|
+
grant: Grant
|
|
680
|
+
def __init__(self, grant: _Optional[_Union[Grant, _Mapping]] = ...) -> None: ...
|
|
681
|
+
|
|
682
|
+
class UpdateGrantRequest(_message.Message):
|
|
683
|
+
__slots__ = ("id", "owner")
|
|
684
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
685
|
+
OWNER_FIELD_NUMBER: _ClassVar[int]
|
|
686
|
+
id: str
|
|
687
|
+
owner: str
|
|
688
|
+
def __init__(self, id: _Optional[str] = ..., owner: _Optional[str] = ...) -> None: ...
|
|
689
|
+
|
|
690
|
+
class UpdateGrantResponse(_message.Message):
|
|
691
|
+
__slots__ = ("grant",)
|
|
692
|
+
GRANT_FIELD_NUMBER: _ClassVar[int]
|
|
693
|
+
grant: Grant
|
|
694
|
+
def __init__(self, grant: _Optional[_Union[Grant, _Mapping]] = ...) -> None: ...
|
|
695
|
+
|
|
696
|
+
class RevokeGrantRequest(_message.Message):
|
|
697
|
+
__slots__ = ("id", "reason")
|
|
698
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
699
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
700
|
+
id: str
|
|
701
|
+
reason: str
|
|
702
|
+
def __init__(self, id: _Optional[str] = ..., reason: _Optional[str] = ...) -> None: ...
|
|
703
|
+
|
|
704
|
+
class RevokeGrantResponse(_message.Message):
|
|
705
|
+
__slots__ = ("grant",)
|
|
706
|
+
GRANT_FIELD_NUMBER: _ClassVar[int]
|
|
707
|
+
grant: Grant
|
|
708
|
+
def __init__(self, grant: _Optional[_Union[Grant, _Mapping]] = ...) -> None: ...
|
|
709
|
+
|
|
710
|
+
class RevokeGrantsRequest(_message.Message):
|
|
711
|
+
__slots__ = ("account_ids", "provider_types", "provider_urns", "resource_types", "resource_urns", "reason")
|
|
712
|
+
ACCOUNT_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
713
|
+
PROVIDER_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
714
|
+
PROVIDER_URNS_FIELD_NUMBER: _ClassVar[int]
|
|
715
|
+
RESOURCE_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
716
|
+
RESOURCE_URNS_FIELD_NUMBER: _ClassVar[int]
|
|
717
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
718
|
+
account_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
719
|
+
provider_types: _containers.RepeatedScalarFieldContainer[str]
|
|
720
|
+
provider_urns: _containers.RepeatedScalarFieldContainer[str]
|
|
721
|
+
resource_types: _containers.RepeatedScalarFieldContainer[str]
|
|
722
|
+
resource_urns: _containers.RepeatedScalarFieldContainer[str]
|
|
723
|
+
reason: str
|
|
724
|
+
def __init__(self, account_ids: _Optional[_Iterable[str]] = ..., provider_types: _Optional[_Iterable[str]] = ..., provider_urns: _Optional[_Iterable[str]] = ..., resource_types: _Optional[_Iterable[str]] = ..., resource_urns: _Optional[_Iterable[str]] = ..., reason: _Optional[str] = ...) -> None: ...
|
|
725
|
+
|
|
726
|
+
class RevokeGrantsResponse(_message.Message):
|
|
727
|
+
__slots__ = ("grants",)
|
|
728
|
+
GRANTS_FIELD_NUMBER: _ClassVar[int]
|
|
729
|
+
grants: _containers.RepeatedCompositeFieldContainer[Grant]
|
|
730
|
+
def __init__(self, grants: _Optional[_Iterable[_Union[Grant, _Mapping]]] = ...) -> None: ...
|
|
731
|
+
|
|
732
|
+
class Role(_message.Message):
|
|
733
|
+
__slots__ = ("id", "name", "description", "permissions")
|
|
734
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
735
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
736
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
737
|
+
PERMISSIONS_FIELD_NUMBER: _ClassVar[int]
|
|
738
|
+
id: str
|
|
739
|
+
name: str
|
|
740
|
+
description: str
|
|
741
|
+
permissions: _containers.RepeatedCompositeFieldContainer[_struct_pb2.Value]
|
|
742
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., permissions: _Optional[_Iterable[_Union[_struct_pb2.Value, _Mapping]]] = ...) -> None: ...
|
|
743
|
+
|
|
744
|
+
class PolicyConfig(_message.Message):
|
|
745
|
+
__slots__ = ("id", "version")
|
|
746
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
747
|
+
VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
748
|
+
id: str
|
|
749
|
+
version: int
|
|
750
|
+
def __init__(self, id: _Optional[str] = ..., version: _Optional[int] = ...) -> None: ...
|
|
751
|
+
|
|
752
|
+
class ProviderConfig(_message.Message):
|
|
753
|
+
__slots__ = ("type", "urn", "labels", "credentials", "appeal", "resources", "allowed_account_types", "parameters")
|
|
754
|
+
class LabelsEntry(_message.Message):
|
|
755
|
+
__slots__ = ("key", "value")
|
|
756
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
757
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
758
|
+
key: str
|
|
759
|
+
value: str
|
|
760
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
761
|
+
class AppealConfig(_message.Message):
|
|
762
|
+
__slots__ = ("allow_permanent_access", "allow_active_access_extension_in")
|
|
763
|
+
ALLOW_PERMANENT_ACCESS_FIELD_NUMBER: _ClassVar[int]
|
|
764
|
+
ALLOW_ACTIVE_ACCESS_EXTENSION_IN_FIELD_NUMBER: _ClassVar[int]
|
|
765
|
+
allow_permanent_access: bool
|
|
766
|
+
allow_active_access_extension_in: str
|
|
767
|
+
def __init__(self, allow_permanent_access: _Optional[bool] = ..., allow_active_access_extension_in: _Optional[str] = ...) -> None: ...
|
|
768
|
+
class ResourceConfig(_message.Message):
|
|
769
|
+
__slots__ = ("type", "policy", "roles", "filter")
|
|
770
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
771
|
+
POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
772
|
+
ROLES_FIELD_NUMBER: _ClassVar[int]
|
|
773
|
+
FILTER_FIELD_NUMBER: _ClassVar[int]
|
|
774
|
+
type: str
|
|
775
|
+
policy: PolicyConfig
|
|
776
|
+
roles: _containers.RepeatedCompositeFieldContainer[Role]
|
|
777
|
+
filter: str
|
|
778
|
+
def __init__(self, type: _Optional[str] = ..., policy: _Optional[_Union[PolicyConfig, _Mapping]] = ..., roles: _Optional[_Iterable[_Union[Role, _Mapping]]] = ..., filter: _Optional[str] = ...) -> None: ...
|
|
779
|
+
class ProviderParameter(_message.Message):
|
|
780
|
+
__slots__ = ("key", "label", "required", "description")
|
|
781
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
782
|
+
LABEL_FIELD_NUMBER: _ClassVar[int]
|
|
783
|
+
REQUIRED_FIELD_NUMBER: _ClassVar[int]
|
|
784
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
785
|
+
key: str
|
|
786
|
+
label: str
|
|
787
|
+
required: bool
|
|
788
|
+
description: str
|
|
789
|
+
def __init__(self, key: _Optional[str] = ..., label: _Optional[str] = ..., required: _Optional[bool] = ..., description: _Optional[str] = ...) -> None: ...
|
|
790
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
791
|
+
URN_FIELD_NUMBER: _ClassVar[int]
|
|
792
|
+
LABELS_FIELD_NUMBER: _ClassVar[int]
|
|
793
|
+
CREDENTIALS_FIELD_NUMBER: _ClassVar[int]
|
|
794
|
+
APPEAL_FIELD_NUMBER: _ClassVar[int]
|
|
795
|
+
RESOURCES_FIELD_NUMBER: _ClassVar[int]
|
|
796
|
+
ALLOWED_ACCOUNT_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
797
|
+
PARAMETERS_FIELD_NUMBER: _ClassVar[int]
|
|
798
|
+
type: str
|
|
799
|
+
urn: str
|
|
800
|
+
labels: _containers.ScalarMap[str, str]
|
|
801
|
+
credentials: _struct_pb2.Value
|
|
802
|
+
appeal: ProviderConfig.AppealConfig
|
|
803
|
+
resources: _containers.RepeatedCompositeFieldContainer[ProviderConfig.ResourceConfig]
|
|
804
|
+
allowed_account_types: _containers.RepeatedScalarFieldContainer[str]
|
|
805
|
+
parameters: _containers.RepeatedCompositeFieldContainer[ProviderConfig.ProviderParameter]
|
|
806
|
+
def __init__(self, type: _Optional[str] = ..., urn: _Optional[str] = ..., labels: _Optional[_Mapping[str, str]] = ..., credentials: _Optional[_Union[_struct_pb2.Value, _Mapping]] = ..., appeal: _Optional[_Union[ProviderConfig.AppealConfig, _Mapping]] = ..., resources: _Optional[_Iterable[_Union[ProviderConfig.ResourceConfig, _Mapping]]] = ..., allowed_account_types: _Optional[_Iterable[str]] = ..., parameters: _Optional[_Iterable[_Union[ProviderConfig.ProviderParameter, _Mapping]]] = ...) -> None: ...
|
|
807
|
+
|
|
808
|
+
class Provider(_message.Message):
|
|
809
|
+
__slots__ = ("id", "type", "urn", "config", "created_at", "updated_at")
|
|
810
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
811
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
812
|
+
URN_FIELD_NUMBER: _ClassVar[int]
|
|
813
|
+
CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
814
|
+
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
815
|
+
UPDATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
816
|
+
id: str
|
|
817
|
+
type: str
|
|
818
|
+
urn: str
|
|
819
|
+
config: ProviderConfig
|
|
820
|
+
created_at: _timestamp_pb2.Timestamp
|
|
821
|
+
updated_at: _timestamp_pb2.Timestamp
|
|
822
|
+
def __init__(self, id: _Optional[str] = ..., type: _Optional[str] = ..., urn: _Optional[str] = ..., config: _Optional[_Union[ProviderConfig, _Mapping]] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
823
|
+
|
|
824
|
+
class ProviderType(_message.Message):
|
|
825
|
+
__slots__ = ("name", "resource_types")
|
|
826
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
827
|
+
RESOURCE_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
828
|
+
name: str
|
|
829
|
+
resource_types: _containers.RepeatedScalarFieldContainer[str]
|
|
830
|
+
def __init__(self, name: _Optional[str] = ..., resource_types: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
831
|
+
|
|
832
|
+
class Condition(_message.Message):
|
|
833
|
+
__slots__ = ("field", "match")
|
|
834
|
+
class MatchCondition(_message.Message):
|
|
835
|
+
__slots__ = ("eq",)
|
|
836
|
+
EQ_FIELD_NUMBER: _ClassVar[int]
|
|
837
|
+
eq: _struct_pb2.Value
|
|
838
|
+
def __init__(self, eq: _Optional[_Union[_struct_pb2.Value, _Mapping]] = ...) -> None: ...
|
|
839
|
+
FIELD_FIELD_NUMBER: _ClassVar[int]
|
|
840
|
+
MATCH_FIELD_NUMBER: _ClassVar[int]
|
|
841
|
+
field: str
|
|
842
|
+
match: Condition.MatchCondition
|
|
843
|
+
def __init__(self, field: _Optional[str] = ..., match: _Optional[_Union[Condition.MatchCondition, _Mapping]] = ...) -> None: ...
|
|
844
|
+
|
|
845
|
+
class PolicyAppealConfig(_message.Message):
|
|
846
|
+
__slots__ = ("duration_options", "allow_on_behalf", "allow_permanent_access", "allow_active_access_extension_in", "questions", "allow_creator_details_failure")
|
|
847
|
+
class DurationOptions(_message.Message):
|
|
848
|
+
__slots__ = ("name", "value")
|
|
849
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
850
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
851
|
+
name: str
|
|
852
|
+
value: str
|
|
853
|
+
def __init__(self, name: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
854
|
+
class Question(_message.Message):
|
|
855
|
+
__slots__ = ("key", "question", "required", "description")
|
|
856
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
857
|
+
QUESTION_FIELD_NUMBER: _ClassVar[int]
|
|
858
|
+
REQUIRED_FIELD_NUMBER: _ClassVar[int]
|
|
859
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
860
|
+
key: str
|
|
861
|
+
question: str
|
|
862
|
+
required: bool
|
|
863
|
+
description: str
|
|
864
|
+
def __init__(self, key: _Optional[str] = ..., question: _Optional[str] = ..., required: _Optional[bool] = ..., description: _Optional[str] = ...) -> None: ...
|
|
865
|
+
DURATION_OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
866
|
+
ALLOW_ON_BEHALF_FIELD_NUMBER: _ClassVar[int]
|
|
867
|
+
ALLOW_PERMANENT_ACCESS_FIELD_NUMBER: _ClassVar[int]
|
|
868
|
+
ALLOW_ACTIVE_ACCESS_EXTENSION_IN_FIELD_NUMBER: _ClassVar[int]
|
|
869
|
+
QUESTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
870
|
+
ALLOW_CREATOR_DETAILS_FAILURE_FIELD_NUMBER: _ClassVar[int]
|
|
871
|
+
duration_options: _containers.RepeatedCompositeFieldContainer[PolicyAppealConfig.DurationOptions]
|
|
872
|
+
allow_on_behalf: bool
|
|
873
|
+
allow_permanent_access: bool
|
|
874
|
+
allow_active_access_extension_in: str
|
|
875
|
+
questions: _containers.RepeatedCompositeFieldContainer[PolicyAppealConfig.Question]
|
|
876
|
+
allow_creator_details_failure: bool
|
|
877
|
+
def __init__(self, duration_options: _Optional[_Iterable[_Union[PolicyAppealConfig.DurationOptions, _Mapping]]] = ..., allow_on_behalf: _Optional[bool] = ..., allow_permanent_access: _Optional[bool] = ..., allow_active_access_extension_in: _Optional[str] = ..., questions: _Optional[_Iterable[_Union[PolicyAppealConfig.Question, _Mapping]]] = ..., allow_creator_details_failure: _Optional[bool] = ...) -> None: ...
|
|
878
|
+
|
|
879
|
+
class Policy(_message.Message):
|
|
880
|
+
__slots__ = ("id", "version", "description", "steps", "labels", "created_at", "updated_at", "requirements", "iam", "appeal", "title", "created_by")
|
|
881
|
+
class ApprovalStep(_message.Message):
|
|
882
|
+
__slots__ = ("name", "description", "allow_failed", "when", "strategy", "approve_if", "approvers", "rejection_reason")
|
|
883
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
884
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
885
|
+
ALLOW_FAILED_FIELD_NUMBER: _ClassVar[int]
|
|
886
|
+
WHEN_FIELD_NUMBER: _ClassVar[int]
|
|
887
|
+
STRATEGY_FIELD_NUMBER: _ClassVar[int]
|
|
888
|
+
APPROVE_IF_FIELD_NUMBER: _ClassVar[int]
|
|
889
|
+
APPROVERS_FIELD_NUMBER: _ClassVar[int]
|
|
890
|
+
REJECTION_REASON_FIELD_NUMBER: _ClassVar[int]
|
|
891
|
+
name: str
|
|
892
|
+
description: str
|
|
893
|
+
allow_failed: bool
|
|
894
|
+
when: str
|
|
895
|
+
strategy: str
|
|
896
|
+
approve_if: str
|
|
897
|
+
approvers: _containers.RepeatedScalarFieldContainer[str]
|
|
898
|
+
rejection_reason: str
|
|
899
|
+
def __init__(self, name: _Optional[str] = ..., description: _Optional[str] = ..., allow_failed: _Optional[bool] = ..., when: _Optional[str] = ..., strategy: _Optional[str] = ..., approve_if: _Optional[str] = ..., approvers: _Optional[_Iterable[str]] = ..., rejection_reason: _Optional[str] = ...) -> None: ...
|
|
900
|
+
class LabelsEntry(_message.Message):
|
|
901
|
+
__slots__ = ("key", "value")
|
|
902
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
903
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
904
|
+
key: str
|
|
905
|
+
value: str
|
|
906
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
907
|
+
class Requirement(_message.Message):
|
|
908
|
+
__slots__ = ("on", "appeals")
|
|
909
|
+
class RequirementTrigger(_message.Message):
|
|
910
|
+
__slots__ = ("provider_type", "provider_urn", "resource_type", "resource_urn", "role", "conditions", "expression")
|
|
911
|
+
PROVIDER_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
912
|
+
PROVIDER_URN_FIELD_NUMBER: _ClassVar[int]
|
|
913
|
+
RESOURCE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
914
|
+
RESOURCE_URN_FIELD_NUMBER: _ClassVar[int]
|
|
915
|
+
ROLE_FIELD_NUMBER: _ClassVar[int]
|
|
916
|
+
CONDITIONS_FIELD_NUMBER: _ClassVar[int]
|
|
917
|
+
EXPRESSION_FIELD_NUMBER: _ClassVar[int]
|
|
918
|
+
provider_type: str
|
|
919
|
+
provider_urn: str
|
|
920
|
+
resource_type: str
|
|
921
|
+
resource_urn: str
|
|
922
|
+
role: str
|
|
923
|
+
conditions: _containers.RepeatedCompositeFieldContainer[Condition]
|
|
924
|
+
expression: str
|
|
925
|
+
def __init__(self, provider_type: _Optional[str] = ..., provider_urn: _Optional[str] = ..., resource_type: _Optional[str] = ..., resource_urn: _Optional[str] = ..., role: _Optional[str] = ..., conditions: _Optional[_Iterable[_Union[Condition, _Mapping]]] = ..., expression: _Optional[str] = ...) -> None: ...
|
|
926
|
+
class AdditionalAppeal(_message.Message):
|
|
927
|
+
__slots__ = ("resource", "role", "options", "policy")
|
|
928
|
+
class ResourceIdentifier(_message.Message):
|
|
929
|
+
__slots__ = ("provider_type", "provider_urn", "type", "urn", "id")
|
|
930
|
+
PROVIDER_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
931
|
+
PROVIDER_URN_FIELD_NUMBER: _ClassVar[int]
|
|
932
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
933
|
+
URN_FIELD_NUMBER: _ClassVar[int]
|
|
934
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
935
|
+
provider_type: str
|
|
936
|
+
provider_urn: str
|
|
937
|
+
type: str
|
|
938
|
+
urn: str
|
|
939
|
+
id: str
|
|
940
|
+
def __init__(self, provider_type: _Optional[str] = ..., provider_urn: _Optional[str] = ..., type: _Optional[str] = ..., urn: _Optional[str] = ..., id: _Optional[str] = ...) -> None: ...
|
|
941
|
+
RESOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
942
|
+
ROLE_FIELD_NUMBER: _ClassVar[int]
|
|
943
|
+
OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
944
|
+
POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
945
|
+
resource: Policy.Requirement.AdditionalAppeal.ResourceIdentifier
|
|
946
|
+
role: str
|
|
947
|
+
options: AppealOptions
|
|
948
|
+
policy: PolicyConfig
|
|
949
|
+
def __init__(self, resource: _Optional[_Union[Policy.Requirement.AdditionalAppeal.ResourceIdentifier, _Mapping]] = ..., role: _Optional[str] = ..., options: _Optional[_Union[AppealOptions, _Mapping]] = ..., policy: _Optional[_Union[PolicyConfig, _Mapping]] = ...) -> None: ...
|
|
950
|
+
ON_FIELD_NUMBER: _ClassVar[int]
|
|
951
|
+
APPEALS_FIELD_NUMBER: _ClassVar[int]
|
|
952
|
+
on: Policy.Requirement.RequirementTrigger
|
|
953
|
+
appeals: _containers.RepeatedCompositeFieldContainer[Policy.Requirement.AdditionalAppeal]
|
|
954
|
+
def __init__(self, on: _Optional[_Union[Policy.Requirement.RequirementTrigger, _Mapping]] = ..., appeals: _Optional[_Iterable[_Union[Policy.Requirement.AdditionalAppeal, _Mapping]]] = ...) -> None: ...
|
|
955
|
+
class IAM(_message.Message):
|
|
956
|
+
__slots__ = ("provider", "config", "schema")
|
|
957
|
+
class SchemaEntry(_message.Message):
|
|
958
|
+
__slots__ = ("key", "value")
|
|
959
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
960
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
961
|
+
key: str
|
|
962
|
+
value: str
|
|
963
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
964
|
+
PROVIDER_FIELD_NUMBER: _ClassVar[int]
|
|
965
|
+
CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
966
|
+
SCHEMA_FIELD_NUMBER: _ClassVar[int]
|
|
967
|
+
provider: str
|
|
968
|
+
config: _struct_pb2.Value
|
|
969
|
+
schema: _containers.ScalarMap[str, str]
|
|
970
|
+
def __init__(self, provider: _Optional[str] = ..., config: _Optional[_Union[_struct_pb2.Value, _Mapping]] = ..., schema: _Optional[_Mapping[str, str]] = ...) -> None: ...
|
|
971
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
972
|
+
VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
973
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
974
|
+
STEPS_FIELD_NUMBER: _ClassVar[int]
|
|
975
|
+
LABELS_FIELD_NUMBER: _ClassVar[int]
|
|
976
|
+
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
977
|
+
UPDATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
978
|
+
REQUIREMENTS_FIELD_NUMBER: _ClassVar[int]
|
|
979
|
+
IAM_FIELD_NUMBER: _ClassVar[int]
|
|
980
|
+
APPEAL_FIELD_NUMBER: _ClassVar[int]
|
|
981
|
+
TITLE_FIELD_NUMBER: _ClassVar[int]
|
|
982
|
+
CREATED_BY_FIELD_NUMBER: _ClassVar[int]
|
|
983
|
+
id: str
|
|
984
|
+
version: int
|
|
985
|
+
description: str
|
|
986
|
+
steps: _containers.RepeatedCompositeFieldContainer[Policy.ApprovalStep]
|
|
987
|
+
labels: _containers.ScalarMap[str, str]
|
|
988
|
+
created_at: _timestamp_pb2.Timestamp
|
|
989
|
+
updated_at: _timestamp_pb2.Timestamp
|
|
990
|
+
requirements: _containers.RepeatedCompositeFieldContainer[Policy.Requirement]
|
|
991
|
+
iam: Policy.IAM
|
|
992
|
+
appeal: PolicyAppealConfig
|
|
993
|
+
title: str
|
|
994
|
+
created_by: str
|
|
995
|
+
def __init__(self, id: _Optional[str] = ..., version: _Optional[int] = ..., description: _Optional[str] = ..., steps: _Optional[_Iterable[_Union[Policy.ApprovalStep, _Mapping]]] = ..., labels: _Optional[_Mapping[str, str]] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., requirements: _Optional[_Iterable[_Union[Policy.Requirement, _Mapping]]] = ..., iam: _Optional[_Union[Policy.IAM, _Mapping]] = ..., appeal: _Optional[_Union[PolicyAppealConfig, _Mapping]] = ..., title: _Optional[str] = ..., created_by: _Optional[str] = ...) -> None: ...
|
|
996
|
+
|
|
997
|
+
class AppealOptions(_message.Message):
|
|
998
|
+
__slots__ = ("expiration_date", "duration")
|
|
999
|
+
EXPIRATION_DATE_FIELD_NUMBER: _ClassVar[int]
|
|
1000
|
+
DURATION_FIELD_NUMBER: _ClassVar[int]
|
|
1001
|
+
expiration_date: _timestamp_pb2.Timestamp
|
|
1002
|
+
duration: str
|
|
1003
|
+
def __init__(self, expiration_date: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., duration: _Optional[str] = ...) -> None: ...
|
|
1004
|
+
|
|
1005
|
+
class Appeal(_message.Message):
|
|
1006
|
+
__slots__ = ("id", "resource_id", "policy_id", "policy_version", "status", "account_id", "role", "options", "labels", "resource", "approvals", "created_at", "updated_at", "details", "account_type", "created_by", "creator", "permissions", "grant", "description")
|
|
1007
|
+
class LabelsEntry(_message.Message):
|
|
1008
|
+
__slots__ = ("key", "value")
|
|
1009
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
1010
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
1011
|
+
key: str
|
|
1012
|
+
value: str
|
|
1013
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
1014
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
1015
|
+
RESOURCE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
1016
|
+
POLICY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
1017
|
+
POLICY_VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
1018
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
1019
|
+
ACCOUNT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
1020
|
+
ROLE_FIELD_NUMBER: _ClassVar[int]
|
|
1021
|
+
OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
1022
|
+
LABELS_FIELD_NUMBER: _ClassVar[int]
|
|
1023
|
+
RESOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
1024
|
+
APPROVALS_FIELD_NUMBER: _ClassVar[int]
|
|
1025
|
+
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
1026
|
+
UPDATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
1027
|
+
DETAILS_FIELD_NUMBER: _ClassVar[int]
|
|
1028
|
+
ACCOUNT_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
1029
|
+
CREATED_BY_FIELD_NUMBER: _ClassVar[int]
|
|
1030
|
+
CREATOR_FIELD_NUMBER: _ClassVar[int]
|
|
1031
|
+
PERMISSIONS_FIELD_NUMBER: _ClassVar[int]
|
|
1032
|
+
GRANT_FIELD_NUMBER: _ClassVar[int]
|
|
1033
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
1034
|
+
id: str
|
|
1035
|
+
resource_id: str
|
|
1036
|
+
policy_id: str
|
|
1037
|
+
policy_version: int
|
|
1038
|
+
status: str
|
|
1039
|
+
account_id: str
|
|
1040
|
+
role: str
|
|
1041
|
+
options: AppealOptions
|
|
1042
|
+
labels: _containers.ScalarMap[str, str]
|
|
1043
|
+
resource: Resource
|
|
1044
|
+
approvals: _containers.RepeatedCompositeFieldContainer[Approval]
|
|
1045
|
+
created_at: _timestamp_pb2.Timestamp
|
|
1046
|
+
updated_at: _timestamp_pb2.Timestamp
|
|
1047
|
+
details: _struct_pb2.Struct
|
|
1048
|
+
account_type: str
|
|
1049
|
+
created_by: str
|
|
1050
|
+
creator: _struct_pb2.Value
|
|
1051
|
+
permissions: _containers.RepeatedScalarFieldContainer[str]
|
|
1052
|
+
grant: Grant
|
|
1053
|
+
description: str
|
|
1054
|
+
def __init__(self, id: _Optional[str] = ..., resource_id: _Optional[str] = ..., policy_id: _Optional[str] = ..., policy_version: _Optional[int] = ..., status: _Optional[str] = ..., account_id: _Optional[str] = ..., role: _Optional[str] = ..., options: _Optional[_Union[AppealOptions, _Mapping]] = ..., labels: _Optional[_Mapping[str, str]] = ..., resource: _Optional[_Union[Resource, _Mapping]] = ..., approvals: _Optional[_Iterable[_Union[Approval, _Mapping]]] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., details: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., account_type: _Optional[str] = ..., created_by: _Optional[str] = ..., creator: _Optional[_Union[_struct_pb2.Value, _Mapping]] = ..., permissions: _Optional[_Iterable[str]] = ..., grant: _Optional[_Union[Grant, _Mapping]] = ..., description: _Optional[str] = ...) -> None: ...
|
|
1055
|
+
|
|
1056
|
+
class Approval(_message.Message):
|
|
1057
|
+
__slots__ = ("id", "name", "appeal_id", "status", "actor", "policy_id", "policy_version", "approvers", "appeal", "created_at", "updated_at", "reason")
|
|
1058
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
1059
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
1060
|
+
APPEAL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
1061
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
1062
|
+
ACTOR_FIELD_NUMBER: _ClassVar[int]
|
|
1063
|
+
POLICY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
1064
|
+
POLICY_VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
1065
|
+
APPROVERS_FIELD_NUMBER: _ClassVar[int]
|
|
1066
|
+
APPEAL_FIELD_NUMBER: _ClassVar[int]
|
|
1067
|
+
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
1068
|
+
UPDATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
1069
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
1070
|
+
id: str
|
|
1071
|
+
name: str
|
|
1072
|
+
appeal_id: str
|
|
1073
|
+
status: str
|
|
1074
|
+
actor: str
|
|
1075
|
+
policy_id: str
|
|
1076
|
+
policy_version: int
|
|
1077
|
+
approvers: _containers.RepeatedScalarFieldContainer[str]
|
|
1078
|
+
appeal: Appeal
|
|
1079
|
+
created_at: _timestamp_pb2.Timestamp
|
|
1080
|
+
updated_at: _timestamp_pb2.Timestamp
|
|
1081
|
+
reason: str
|
|
1082
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., appeal_id: _Optional[str] = ..., status: _Optional[str] = ..., actor: _Optional[str] = ..., policy_id: _Optional[str] = ..., policy_version: _Optional[int] = ..., approvers: _Optional[_Iterable[str]] = ..., appeal: _Optional[_Union[Appeal, _Mapping]] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., reason: _Optional[str] = ...) -> None: ...
|
|
1083
|
+
|
|
1084
|
+
class Resource(_message.Message):
|
|
1085
|
+
__slots__ = ("id", "provider_type", "provider_urn", "type", "urn", "name", "details", "labels", "created_at", "updated_at", "is_deleted", "parent_id", "children")
|
|
1086
|
+
class LabelsEntry(_message.Message):
|
|
1087
|
+
__slots__ = ("key", "value")
|
|
1088
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
1089
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
1090
|
+
key: str
|
|
1091
|
+
value: str
|
|
1092
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
1093
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
1094
|
+
PROVIDER_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
1095
|
+
PROVIDER_URN_FIELD_NUMBER: _ClassVar[int]
|
|
1096
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
1097
|
+
URN_FIELD_NUMBER: _ClassVar[int]
|
|
1098
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
1099
|
+
DETAILS_FIELD_NUMBER: _ClassVar[int]
|
|
1100
|
+
LABELS_FIELD_NUMBER: _ClassVar[int]
|
|
1101
|
+
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
1102
|
+
UPDATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
1103
|
+
IS_DELETED_FIELD_NUMBER: _ClassVar[int]
|
|
1104
|
+
PARENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
1105
|
+
CHILDREN_FIELD_NUMBER: _ClassVar[int]
|
|
1106
|
+
id: str
|
|
1107
|
+
provider_type: str
|
|
1108
|
+
provider_urn: str
|
|
1109
|
+
type: str
|
|
1110
|
+
urn: str
|
|
1111
|
+
name: str
|
|
1112
|
+
details: _struct_pb2.Struct
|
|
1113
|
+
labels: _containers.ScalarMap[str, str]
|
|
1114
|
+
created_at: _timestamp_pb2.Timestamp
|
|
1115
|
+
updated_at: _timestamp_pb2.Timestamp
|
|
1116
|
+
is_deleted: bool
|
|
1117
|
+
parent_id: str
|
|
1118
|
+
children: _containers.RepeatedCompositeFieldContainer[Resource]
|
|
1119
|
+
def __init__(self, id: _Optional[str] = ..., provider_type: _Optional[str] = ..., provider_urn: _Optional[str] = ..., type: _Optional[str] = ..., urn: _Optional[str] = ..., name: _Optional[str] = ..., details: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., labels: _Optional[_Mapping[str, str]] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., is_deleted: _Optional[bool] = ..., parent_id: _Optional[str] = ..., children: _Optional[_Iterable[_Union[Resource, _Mapping]]] = ...) -> None: ...
|
|
1120
|
+
|
|
1121
|
+
class Grant(_message.Message):
|
|
1122
|
+
__slots__ = ("id", "status", "account_id", "account_type", "resource_id", "role", "permissions", "expiration_date", "appeal_id", "revoked_by", "revoked_at", "revoke_reason", "created_by", "created_at", "updated_at", "resource", "appeal", "is_permanent", "source", "status_in_provider", "owner")
|
|
1123
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
1124
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
1125
|
+
ACCOUNT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
1126
|
+
ACCOUNT_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
1127
|
+
RESOURCE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
1128
|
+
ROLE_FIELD_NUMBER: _ClassVar[int]
|
|
1129
|
+
PERMISSIONS_FIELD_NUMBER: _ClassVar[int]
|
|
1130
|
+
EXPIRATION_DATE_FIELD_NUMBER: _ClassVar[int]
|
|
1131
|
+
APPEAL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
1132
|
+
REVOKED_BY_FIELD_NUMBER: _ClassVar[int]
|
|
1133
|
+
REVOKED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
1134
|
+
REVOKE_REASON_FIELD_NUMBER: _ClassVar[int]
|
|
1135
|
+
CREATED_BY_FIELD_NUMBER: _ClassVar[int]
|
|
1136
|
+
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
1137
|
+
UPDATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
1138
|
+
RESOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
1139
|
+
APPEAL_FIELD_NUMBER: _ClassVar[int]
|
|
1140
|
+
IS_PERMANENT_FIELD_NUMBER: _ClassVar[int]
|
|
1141
|
+
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
1142
|
+
STATUS_IN_PROVIDER_FIELD_NUMBER: _ClassVar[int]
|
|
1143
|
+
OWNER_FIELD_NUMBER: _ClassVar[int]
|
|
1144
|
+
id: str
|
|
1145
|
+
status: str
|
|
1146
|
+
account_id: str
|
|
1147
|
+
account_type: str
|
|
1148
|
+
resource_id: str
|
|
1149
|
+
role: str
|
|
1150
|
+
permissions: _containers.RepeatedScalarFieldContainer[str]
|
|
1151
|
+
expiration_date: _timestamp_pb2.Timestamp
|
|
1152
|
+
appeal_id: str
|
|
1153
|
+
revoked_by: str
|
|
1154
|
+
revoked_at: _timestamp_pb2.Timestamp
|
|
1155
|
+
revoke_reason: str
|
|
1156
|
+
created_by: str
|
|
1157
|
+
created_at: _timestamp_pb2.Timestamp
|
|
1158
|
+
updated_at: _timestamp_pb2.Timestamp
|
|
1159
|
+
resource: Resource
|
|
1160
|
+
appeal: Appeal
|
|
1161
|
+
is_permanent: bool
|
|
1162
|
+
source: str
|
|
1163
|
+
status_in_provider: str
|
|
1164
|
+
owner: str
|
|
1165
|
+
def __init__(self, id: _Optional[str] = ..., status: _Optional[str] = ..., account_id: _Optional[str] = ..., account_type: _Optional[str] = ..., resource_id: _Optional[str] = ..., role: _Optional[str] = ..., permissions: _Optional[_Iterable[str]] = ..., expiration_date: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., appeal_id: _Optional[str] = ..., revoked_by: _Optional[str] = ..., revoked_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., revoke_reason: _Optional[str] = ..., created_by: _Optional[str] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., resource: _Optional[_Union[Resource, _Mapping]] = ..., appeal: _Optional[_Union[Appeal, _Mapping]] = ..., is_permanent: _Optional[bool] = ..., source: _Optional[str] = ..., status_in_provider: _Optional[str] = ..., owner: _Optional[str] = ...) -> None: ...
|
|
1166
|
+
|
|
1167
|
+
class ProviderActivity(_message.Message):
|
|
1168
|
+
__slots__ = ("id", "provider_id", "resource_id", "account_id", "account_type", "timestamp", "authorizations", "type", "metadata", "created_at", "provider", "resource", "provider_activity_id", "related_permissions")
|
|
1169
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
1170
|
+
PROVIDER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
1171
|
+
RESOURCE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
1172
|
+
ACCOUNT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
1173
|
+
ACCOUNT_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
1174
|
+
TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
|
|
1175
|
+
AUTHORIZATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
1176
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
1177
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
1178
|
+
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
1179
|
+
PROVIDER_FIELD_NUMBER: _ClassVar[int]
|
|
1180
|
+
RESOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
1181
|
+
PROVIDER_ACTIVITY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
1182
|
+
RELATED_PERMISSIONS_FIELD_NUMBER: _ClassVar[int]
|
|
1183
|
+
id: str
|
|
1184
|
+
provider_id: str
|
|
1185
|
+
resource_id: str
|
|
1186
|
+
account_id: str
|
|
1187
|
+
account_type: str
|
|
1188
|
+
timestamp: _timestamp_pb2.Timestamp
|
|
1189
|
+
authorizations: _containers.RepeatedScalarFieldContainer[str]
|
|
1190
|
+
type: str
|
|
1191
|
+
metadata: _struct_pb2.Struct
|
|
1192
|
+
created_at: _timestamp_pb2.Timestamp
|
|
1193
|
+
provider: Provider
|
|
1194
|
+
resource: Resource
|
|
1195
|
+
provider_activity_id: str
|
|
1196
|
+
related_permissions: _containers.RepeatedScalarFieldContainer[str]
|
|
1197
|
+
def __init__(self, id: _Optional[str] = ..., provider_id: _Optional[str] = ..., resource_id: _Optional[str] = ..., account_id: _Optional[str] = ..., account_type: _Optional[str] = ..., timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., authorizations: _Optional[_Iterable[str]] = ..., type: _Optional[str] = ..., metadata: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., provider: _Optional[_Union[Provider, _Mapping]] = ..., resource: _Optional[_Union[Resource, _Mapping]] = ..., provider_activity_id: _Optional[str] = ..., related_permissions: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
1198
|
+
|
|
1199
|
+
class Namespace(_message.Message):
|
|
1200
|
+
__slots__ = ("id", "name", "state", "metadata", "created_at", "updated_at")
|
|
1201
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
1202
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
1203
|
+
STATE_FIELD_NUMBER: _ClassVar[int]
|
|
1204
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
1205
|
+
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
1206
|
+
UPDATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
1207
|
+
id: str
|
|
1208
|
+
name: str
|
|
1209
|
+
state: str
|
|
1210
|
+
metadata: _struct_pb2.Struct
|
|
1211
|
+
created_at: _timestamp_pb2.Timestamp
|
|
1212
|
+
updated_at: _timestamp_pb2.Timestamp
|
|
1213
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., state: _Optional[str] = ..., metadata: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
1214
|
+
|
|
1215
|
+
class CreateNamespaceRequest(_message.Message):
|
|
1216
|
+
__slots__ = ("namespace",)
|
|
1217
|
+
NAMESPACE_FIELD_NUMBER: _ClassVar[int]
|
|
1218
|
+
namespace: Namespace
|
|
1219
|
+
def __init__(self, namespace: _Optional[_Union[Namespace, _Mapping]] = ...) -> None: ...
|
|
1220
|
+
|
|
1221
|
+
class CreateNamespaceResponse(_message.Message):
|
|
1222
|
+
__slots__ = ()
|
|
1223
|
+
def __init__(self) -> None: ...
|
|
1224
|
+
|
|
1225
|
+
class GetNamespaceRequest(_message.Message):
|
|
1226
|
+
__slots__ = ("id",)
|
|
1227
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
1228
|
+
id: str
|
|
1229
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
1230
|
+
|
|
1231
|
+
class GetNamespaceResponse(_message.Message):
|
|
1232
|
+
__slots__ = ("namespace",)
|
|
1233
|
+
NAMESPACE_FIELD_NUMBER: _ClassVar[int]
|
|
1234
|
+
namespace: Namespace
|
|
1235
|
+
def __init__(self, namespace: _Optional[_Union[Namespace, _Mapping]] = ...) -> None: ...
|
|
1236
|
+
|
|
1237
|
+
class ListNamespacesRequest(_message.Message):
|
|
1238
|
+
__slots__ = ()
|
|
1239
|
+
def __init__(self) -> None: ...
|
|
1240
|
+
|
|
1241
|
+
class ListNamespacesResponse(_message.Message):
|
|
1242
|
+
__slots__ = ("namespaces",)
|
|
1243
|
+
NAMESPACES_FIELD_NUMBER: _ClassVar[int]
|
|
1244
|
+
namespaces: _containers.RepeatedCompositeFieldContainer[Namespace]
|
|
1245
|
+
def __init__(self, namespaces: _Optional[_Iterable[_Union[Namespace, _Mapping]]] = ...) -> None: ...
|
|
1246
|
+
|
|
1247
|
+
class UpdateNamespaceRequest(_message.Message):
|
|
1248
|
+
__slots__ = ("id", "namespace")
|
|
1249
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
1250
|
+
NAMESPACE_FIELD_NUMBER: _ClassVar[int]
|
|
1251
|
+
id: str
|
|
1252
|
+
namespace: Namespace
|
|
1253
|
+
def __init__(self, id: _Optional[str] = ..., namespace: _Optional[_Union[Namespace, _Mapping]] = ...) -> None: ...
|
|
1254
|
+
|
|
1255
|
+
class UpdateNamespaceResponse(_message.Message):
|
|
1256
|
+
__slots__ = ()
|
|
1257
|
+
def __init__(self) -> None: ...
|