yandexcloud 0.310.0__py3-none-any.whl → 0.312.0__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 yandexcloud might be problematic. Click here for more details.
- yandex/cloud/ai/translate/v2/translation_service_pb2_grpc.py +6 -0
- yandex/cloud/ai/translate/v2/translation_service_pb2_grpc.pyi +12 -3
- yandex/cloud/audittrails/v1/trail_pb2.py +57 -37
- yandex/cloud/audittrails/v1/trail_pb2.pyi +115 -4
- yandex/cloud/audittrails/v1/trail_service_pb2.py +25 -23
- yandex/cloud/audittrails/v1/trail_service_pb2.pyi +22 -6
- yandex/cloud/compute/v1/instance_service_pb2.py +127 -127
- yandex/cloud/compute/v1/instance_service_pb2.pyi +0 -1
- yandex/cloud/compute/v1/instancegroup/instance_group_pb2.py +77 -77
- yandex/cloud/compute/v1/instancegroup/instance_group_pb2.pyi +1 -3
- yandex/cloud/iam/v1/workload/__init__.py +0 -0
- yandex/cloud/iam/v1/workload/federated_credential_pb2.py +27 -0
- yandex/cloud/iam/v1/workload/federated_credential_pb2.pyi +49 -0
- yandex/cloud/iam/v1/workload/federated_credential_pb2_grpc.py +4 -0
- yandex/cloud/iam/v1/workload/federated_credential_pb2_grpc.pyi +17 -0
- yandex/cloud/iam/v1/workload/federated_credential_service_pb2.py +69 -0
- yandex/cloud/iam/v1/workload/federated_credential_service_pb2.pyi +170 -0
- yandex/cloud/iam/v1/workload/federated_credential_service_pb2_grpc.py +176 -0
- yandex/cloud/iam/v1/workload/federated_credential_service_pb2_grpc.pyi +121 -0
- yandex/cloud/iam/v1/workload/oidc/__init__.py +0 -0
- yandex/cloud/iam/v1/workload/oidc/federation_pb2.py +31 -0
- yandex/cloud/iam/v1/workload/oidc/federation_pb2.pyi +95 -0
- yandex/cloud/iam/v1/workload/oidc/federation_pb2_grpc.py +4 -0
- yandex/cloud/iam/v1/workload/oidc/federation_pb2_grpc.pyi +17 -0
- yandex/cloud/iam/v1/workload/oidc/federation_service_pb2.py +100 -0
- yandex/cloud/iam/v1/workload/oidc/federation_service_pb2.pyi +304 -0
- yandex/cloud/iam/v1/workload/oidc/federation_service_pb2_grpc.py +210 -0
- yandex/cloud/iam/v1/workload/oidc/federation_service_pb2_grpc.pyi +141 -0
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +92 -60
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +304 -10
- yandex/cloud/mdb/clickhouse/v1/user_pb2.py +34 -26
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +84 -2
- yandex/cloud/vpc/v1/route_table_pb2.pyi +2 -2
- {yandexcloud-0.310.0.dist-info → yandexcloud-0.312.0.dist-info}/METADATA +8 -8
- {yandexcloud-0.310.0.dist-info → yandexcloud-0.312.0.dist-info}/RECORD +39 -21
- {yandexcloud-0.310.0.dist-info → yandexcloud-0.312.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.310.0.dist-info → yandexcloud-0.312.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.310.0.dist-info → yandexcloud-0.312.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.310.0.dist-info → yandexcloud-0.312.0.dist-info}/top_level.txt +0 -0
|
@@ -7,6 +7,8 @@ from yandex.cloud.ai.translate.v2 import translation_service_pb2 as yandex_dot_c
|
|
|
7
7
|
|
|
8
8
|
class TranslationServiceStub(object):
|
|
9
9
|
"""A set of methods for the Translate service.
|
|
10
|
+
|
|
11
|
+
Make sure you send your [authentication](/docs/translate/api-ref/authentication) credentials in the `Authorization` header of each request.
|
|
10
12
|
"""
|
|
11
13
|
|
|
12
14
|
def __init__(self, channel):
|
|
@@ -34,6 +36,8 @@ class TranslationServiceStub(object):
|
|
|
34
36
|
|
|
35
37
|
class TranslationServiceServicer(object):
|
|
36
38
|
"""A set of methods for the Translate service.
|
|
39
|
+
|
|
40
|
+
Make sure you send your [authentication](/docs/translate/api-ref/authentication) credentials in the `Authorization` header of each request.
|
|
37
41
|
"""
|
|
38
42
|
|
|
39
43
|
def Translate(self, request, context):
|
|
@@ -84,6 +88,8 @@ def add_TranslationServiceServicer_to_server(servicer, server):
|
|
|
84
88
|
# This class is part of an EXPERIMENTAL API.
|
|
85
89
|
class TranslationService(object):
|
|
86
90
|
"""A set of methods for the Translate service.
|
|
91
|
+
|
|
92
|
+
Make sure you send your [authentication](/docs/translate/api-ref/authentication) credentials in the `Authorization` header of each request.
|
|
87
93
|
"""
|
|
88
94
|
|
|
89
95
|
@staticmethod
|
|
@@ -18,7 +18,10 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
|
|
|
18
18
|
...
|
|
19
19
|
|
|
20
20
|
class TranslationServiceStub:
|
|
21
|
-
"""A set of methods for the Translate service.
|
|
21
|
+
"""A set of methods for the Translate service.
|
|
22
|
+
|
|
23
|
+
Make sure you send your [authentication](/docs/translate/api-ref/authentication) credentials in the `Authorization` header of each request.
|
|
24
|
+
"""
|
|
22
25
|
|
|
23
26
|
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
24
27
|
Translate: grpc.UnaryUnaryMultiCallable[
|
|
@@ -40,7 +43,10 @@ class TranslationServiceStub:
|
|
|
40
43
|
"""Retrieves the list of supported languages."""
|
|
41
44
|
|
|
42
45
|
class TranslationServiceAsyncStub:
|
|
43
|
-
"""A set of methods for the Translate service.
|
|
46
|
+
"""A set of methods for the Translate service.
|
|
47
|
+
|
|
48
|
+
Make sure you send your [authentication](/docs/translate/api-ref/authentication) credentials in the `Authorization` header of each request.
|
|
49
|
+
"""
|
|
44
50
|
|
|
45
51
|
Translate: grpc.aio.UnaryUnaryMultiCallable[
|
|
46
52
|
yandex.cloud.ai.translate.v2.translation_service_pb2.TranslateRequest,
|
|
@@ -61,7 +67,10 @@ class TranslationServiceAsyncStub:
|
|
|
61
67
|
"""Retrieves the list of supported languages."""
|
|
62
68
|
|
|
63
69
|
class TranslationServiceServicer(metaclass=abc.ABCMeta):
|
|
64
|
-
"""A set of methods for the Translate service.
|
|
70
|
+
"""A set of methods for the Translate service.
|
|
71
|
+
|
|
72
|
+
Make sure you send your [authentication](/docs/translate/api-ref/authentication) credentials in the `Authorization` header of each request.
|
|
73
|
+
"""
|
|
65
74
|
|
|
66
75
|
@abc.abstractmethod
|
|
67
76
|
def Translate(
|
|
@@ -15,7 +15,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
15
15
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'yandex/cloud/audittrails/v1/trail.proto\x12\x1byandex.cloud.audittrails.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'yandex/cloud/audittrails/v1/trail.proto\x12\x1byandex.cloud.audittrails.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\xfc\x1a\n\x05Trail\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1f\n\tfolder_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x34\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe8\xc7\x31\x01\x12\x34\n\nupdated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe8\xc7\x31\x01\x12\x32\n\x04name\x18\x05 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1f\n\x0b\x64\x65scription\x18\x06 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12{\n\x06labels\x18\x07 \x03(\x0b\x32..yandex.cloud.audittrails.v1.Trail.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x12I\n\x0b\x64\x65stination\x18\x08 \x01(\x0b\x32..yandex.cloud.audittrails.v1.Trail.DestinationB\x04\xe8\xc7\x31\x01\x12$\n\x12service_account_id\x18\t \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12?\n\x06status\x18\n \x01(\x0e\x32).yandex.cloud.audittrails.v1.Trail.StatusB\x04\xe8\xc7\x31\x01\x12=\n\x06\x66ilter\x18\x0b \x01(\x0b\x32).yandex.cloud.audittrails.v1.Trail.FilterB\x02\x18\x01\x12\x1c\n\x14status_error_message\x18\x0c \x01(\t\x12\x1e\n\x08\x63loud_id\x18\x0e \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12L\n\x10\x66iltering_policy\x18\x0f \x01(\x0b\x32\x32.yandex.cloud.audittrails.v1.Trail.FilteringPolicy\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x84\x02\n\x0b\x44\x65stination\x12J\n\x0eobject_storage\x18\x01 \x01(\x0b\x32\x30.yandex.cloud.audittrails.v1.Trail.ObjectStorageH\x00\x12H\n\rcloud_logging\x18\x03 \x01(\x0b\x32/.yandex.cloud.audittrails.v1.Trail.CloudLoggingH\x00\x12\x44\n\x0b\x64\x61ta_stream\x18\x04 \x01(\x0b\x32-.yandex.cloud.audittrails.v1.Trail.DataStreamH\x00\x42\x13\n\x0b\x64\x65stination\x12\x04\xc0\xc1\x31\x01J\x04\x08\x02\x10\x03\x1a\x43\n\rObjectStorage\x12\x1b\n\tbucket_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04\x33-63\x12\x15\n\robject_prefix\x18\x02 \x01(\t\x1a\x45\n\x0c\x43loudLogging\x12 \n\x0clog_group_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=64H\x00\x42\r\n\x0b\x64\x65stinationJ\x04\x08\x02\x10\x03\x1a\x36\n\nDataStream\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\t\x12\x13\n\x0bstream_name\x18\x02 \x01(\t\x1a\x98\x01\n\x06\x46ilter\x12\x42\n\x0bpath_filter\x18\x01 \x01(\x0b\x32-.yandex.cloud.audittrails.v1.Trail.PathFilter\x12J\n\x0c\x65vent_filter\x18\x02 \x01(\x0b\x32..yandex.cloud.audittrails.v1.Trail.EventFilterB\x04\xe8\xc7\x31\x01\x1aV\n\nPathFilter\x12H\n\x04root\x18\x01 \x01(\x0b\x32\x34.yandex.cloud.audittrails.v1.Trail.PathFilterElementB\x04\xe8\xc7\x31\x01\x1a\xc4\x01\n\x11PathFilterElement\x12M\n\nany_filter\x18\x01 \x01(\x0b\x32\x37.yandex.cloud.audittrails.v1.Trail.PathFilterElementAnyH\x00\x12O\n\x0bsome_filter\x18\x02 \x01(\x0b\x32\x38.yandex.cloud.audittrails.v1.Trail.PathFilterElementSomeH\x00\x42\x0f\n\x07\x65lement\x12\x04\xc0\xc1\x31\x01\x1a[\n\x14PathFilterElementAny\x12\x43\n\x08resource\x18\x01 \x01(\x0b\x32+.yandex.cloud.audittrails.v1.Trail.ResourceB\x04\xe8\xc7\x31\x01\x1a\xab\x01\n\x15PathFilterElementSome\x12\x43\n\x08resource\x18\x01 \x01(\x0b\x32+.yandex.cloud.audittrails.v1.Trail.ResourceB\x04\xe8\xc7\x31\x01\x12M\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x34.yandex.cloud.audittrails.v1.Trail.PathFilterElementB\x06\x82\xc8\x31\x02>0\x1a@\n\x08Resource\x12\x18\n\x02id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=64\x12\x1a\n\x04type\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x1a^\n\x0b\x45ventFilter\x12O\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x35.yandex.cloud.audittrails.v1.Trail.EventFilterElementB\x07\x82\xc8\x31\x03>=0\x1a\xd0\x01\n\x12\x45ventFilterElement\x12\x15\n\x07service\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12Y\n\ncategories\x18\x02 \x03(\x0b\x32=.yandex.cloud.audittrails.v1.Trail.EventFilterElementCategoryB\x06\x82\xc8\x31\x02>0\x12H\n\x0bpath_filter\x18\x03 \x01(\x0b\x32-.yandex.cloud.audittrails.v1.Trail.PathFilterB\x04\xe8\xc7\x31\x01\x1a\xb7\x01\n\x1a\x45ventFilterElementCategory\x12K\n\x05plane\x18\x01 \x01(\x0e\x32\x36.yandex.cloud.audittrails.v1.Trail.EventCategoryFilterB\x04\xe8\xc7\x31\x01\x12L\n\x04type\x18\x02 \x01(\x0e\x32\x38.yandex.cloud.audittrails.v1.Trail.EventAccessTypeFilterB\x04\xe8\xc7\x31\x01\x1a\xa6\x02\n\x13\x44\x61taEventsFiltering\x12\x15\n\x07service\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12H\n\x0fincluded_events\x18\x02 \x01(\x0b\x32-.yandex.cloud.audittrails.v1.Trail.EventTypesH\x00\x12H\n\x0f\x65xcluded_events\x18\x03 \x01(\x0b\x32-.yandex.cloud.audittrails.v1.Trail.EventTypesH\x00\x12P\n\x0fresource_scopes\x18\x04 \x03(\x0b\x32+.yandex.cloud.audittrails.v1.Trail.ResourceB\n\x82\xc8\x31\x06\x31-1024B\x12\n\x10\x61\x64\x64itional_rules\x1a-\n\nEventTypes\x12\x1f\n\x0b\x65vent_types\x18\x01 \x03(\tB\n\x82\xc8\x31\x06\x31-1024\x1am\n\x19ManagementEventsFiltering\x12P\n\x0fresource_scopes\x18\x01 \x03(\x0b\x32+.yandex.cloud.audittrails.v1.Trail.ResourceB\n\x82\xc8\x31\x06\x31-1024\x1a\xd6\x01\n\x0f\x46ilteringPolicy\x12\x64\n\x18management_events_filter\x18\x01 \x01(\x0b\x32<.yandex.cloud.audittrails.v1.Trail.ManagementEventsFilteringB\x04\xe8\xc7\x31\x00\x12]\n\x13\x64\x61ta_events_filters\x18\x02 \x03(\x0b\x32\x36.yandex.cloud.audittrails.v1.Trail.DataEventsFilteringB\x08\x82\xc8\x31\x04<128\"D\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\t\n\x05\x45RROR\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x03\"_\n\x13\x45ventCategoryFilter\x12%\n!EVENT_CATEGORY_FILTER_UNSPECIFIED\x10\x00\x12\x11\n\rCONTROL_PLANE\x10\x01\x12\x0e\n\nDATA_PLANE\x10\x02\"V\n\x15\x45ventAccessTypeFilter\x12(\n$EVENT_ACCESS_TYPE_FILTER_UNSPECIFIED\x10\x00\x12\t\n\x05WRITE\x10\x01\x12\x08\n\x04READ\x10\x02\x42r\n\x1fyandex.cloud.api.audittrails.v1B\x02\x41TZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/audittrails/v1;audittrailsb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_globals = globals()
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -59,6 +59,18 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
59
59
|
_TRAIL_EVENTFILTERELEMENTCATEGORY.fields_by_name['plane']._serialized_options = b'\350\3071\001'
|
|
60
60
|
_TRAIL_EVENTFILTERELEMENTCATEGORY.fields_by_name['type']._options = None
|
|
61
61
|
_TRAIL_EVENTFILTERELEMENTCATEGORY.fields_by_name['type']._serialized_options = b'\350\3071\001'
|
|
62
|
+
_TRAIL_DATAEVENTSFILTERING.fields_by_name['service']._options = None
|
|
63
|
+
_TRAIL_DATAEVENTSFILTERING.fields_by_name['service']._serialized_options = b'\350\3071\001'
|
|
64
|
+
_TRAIL_DATAEVENTSFILTERING.fields_by_name['resource_scopes']._options = None
|
|
65
|
+
_TRAIL_DATAEVENTSFILTERING.fields_by_name['resource_scopes']._serialized_options = b'\202\3101\0061-1024'
|
|
66
|
+
_TRAIL_EVENTTYPES.fields_by_name['event_types']._options = None
|
|
67
|
+
_TRAIL_EVENTTYPES.fields_by_name['event_types']._serialized_options = b'\202\3101\0061-1024'
|
|
68
|
+
_TRAIL_MANAGEMENTEVENTSFILTERING.fields_by_name['resource_scopes']._options = None
|
|
69
|
+
_TRAIL_MANAGEMENTEVENTSFILTERING.fields_by_name['resource_scopes']._serialized_options = b'\202\3101\0061-1024'
|
|
70
|
+
_TRAIL_FILTERINGPOLICY.fields_by_name['management_events_filter']._options = None
|
|
71
|
+
_TRAIL_FILTERINGPOLICY.fields_by_name['management_events_filter']._serialized_options = b'\350\3071\000'
|
|
72
|
+
_TRAIL_FILTERINGPOLICY.fields_by_name['data_events_filters']._options = None
|
|
73
|
+
_TRAIL_FILTERINGPOLICY.fields_by_name['data_events_filters']._serialized_options = b'\202\3101\004<128'
|
|
62
74
|
_TRAIL.fields_by_name['folder_id']._options = None
|
|
63
75
|
_TRAIL.fields_by_name['folder_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
64
76
|
_TRAIL.fields_by_name['created_at']._options = None
|
|
@@ -78,43 +90,51 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
78
90
|
_TRAIL.fields_by_name['status']._options = None
|
|
79
91
|
_TRAIL.fields_by_name['status']._serialized_options = b'\350\3071\001'
|
|
80
92
|
_TRAIL.fields_by_name['filter']._options = None
|
|
81
|
-
_TRAIL.fields_by_name['filter']._serialized_options = b'\
|
|
93
|
+
_TRAIL.fields_by_name['filter']._serialized_options = b'\030\001'
|
|
82
94
|
_TRAIL.fields_by_name['cloud_id']._options = None
|
|
83
95
|
_TRAIL.fields_by_name['cloud_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
84
96
|
_globals['_TRAIL']._serialized_start=137
|
|
85
|
-
_globals['_TRAIL']._serialized_end=
|
|
86
|
-
_globals['_TRAIL_LABELSENTRY']._serialized_start=
|
|
87
|
-
_globals['_TRAIL_LABELSENTRY']._serialized_end=
|
|
88
|
-
_globals['_TRAIL_DESTINATION']._serialized_start=
|
|
89
|
-
_globals['_TRAIL_DESTINATION']._serialized_end=
|
|
90
|
-
_globals['_TRAIL_OBJECTSTORAGE']._serialized_start=
|
|
91
|
-
_globals['_TRAIL_OBJECTSTORAGE']._serialized_end=
|
|
92
|
-
_globals['_TRAIL_CLOUDLOGGING']._serialized_start=
|
|
93
|
-
_globals['_TRAIL_CLOUDLOGGING']._serialized_end=
|
|
94
|
-
_globals['_TRAIL_DATASTREAM']._serialized_start=
|
|
95
|
-
_globals['_TRAIL_DATASTREAM']._serialized_end=
|
|
96
|
-
_globals['_TRAIL_FILTER']._serialized_start=
|
|
97
|
-
_globals['_TRAIL_FILTER']._serialized_end=
|
|
98
|
-
_globals['_TRAIL_PATHFILTER']._serialized_start=
|
|
99
|
-
_globals['_TRAIL_PATHFILTER']._serialized_end=
|
|
100
|
-
_globals['_TRAIL_PATHFILTERELEMENT']._serialized_start=
|
|
101
|
-
_globals['_TRAIL_PATHFILTERELEMENT']._serialized_end=
|
|
102
|
-
_globals['_TRAIL_PATHFILTERELEMENTANY']._serialized_start=
|
|
103
|
-
_globals['_TRAIL_PATHFILTERELEMENTANY']._serialized_end=
|
|
104
|
-
_globals['_TRAIL_PATHFILTERELEMENTSOME']._serialized_start=
|
|
105
|
-
_globals['_TRAIL_PATHFILTERELEMENTSOME']._serialized_end=
|
|
106
|
-
_globals['_TRAIL_RESOURCE']._serialized_start=
|
|
107
|
-
_globals['_TRAIL_RESOURCE']._serialized_end=
|
|
108
|
-
_globals['_TRAIL_EVENTFILTER']._serialized_start=
|
|
109
|
-
_globals['_TRAIL_EVENTFILTER']._serialized_end=
|
|
110
|
-
_globals['_TRAIL_EVENTFILTERELEMENT']._serialized_start=
|
|
111
|
-
_globals['_TRAIL_EVENTFILTERELEMENT']._serialized_end=
|
|
112
|
-
_globals['_TRAIL_EVENTFILTERELEMENTCATEGORY']._serialized_start=
|
|
113
|
-
_globals['_TRAIL_EVENTFILTERELEMENTCATEGORY']._serialized_end=
|
|
114
|
-
_globals['
|
|
115
|
-
_globals['
|
|
116
|
-
_globals['
|
|
117
|
-
_globals['
|
|
118
|
-
_globals['
|
|
119
|
-
_globals['
|
|
97
|
+
_globals['_TRAIL']._serialized_end=3589
|
|
98
|
+
_globals['_TRAIL_LABELSENTRY']._serialized_start=890
|
|
99
|
+
_globals['_TRAIL_LABELSENTRY']._serialized_end=935
|
|
100
|
+
_globals['_TRAIL_DESTINATION']._serialized_start=938
|
|
101
|
+
_globals['_TRAIL_DESTINATION']._serialized_end=1198
|
|
102
|
+
_globals['_TRAIL_OBJECTSTORAGE']._serialized_start=1200
|
|
103
|
+
_globals['_TRAIL_OBJECTSTORAGE']._serialized_end=1267
|
|
104
|
+
_globals['_TRAIL_CLOUDLOGGING']._serialized_start=1269
|
|
105
|
+
_globals['_TRAIL_CLOUDLOGGING']._serialized_end=1338
|
|
106
|
+
_globals['_TRAIL_DATASTREAM']._serialized_start=1340
|
|
107
|
+
_globals['_TRAIL_DATASTREAM']._serialized_end=1394
|
|
108
|
+
_globals['_TRAIL_FILTER']._serialized_start=1397
|
|
109
|
+
_globals['_TRAIL_FILTER']._serialized_end=1549
|
|
110
|
+
_globals['_TRAIL_PATHFILTER']._serialized_start=1551
|
|
111
|
+
_globals['_TRAIL_PATHFILTER']._serialized_end=1637
|
|
112
|
+
_globals['_TRAIL_PATHFILTERELEMENT']._serialized_start=1640
|
|
113
|
+
_globals['_TRAIL_PATHFILTERELEMENT']._serialized_end=1836
|
|
114
|
+
_globals['_TRAIL_PATHFILTERELEMENTANY']._serialized_start=1838
|
|
115
|
+
_globals['_TRAIL_PATHFILTERELEMENTANY']._serialized_end=1929
|
|
116
|
+
_globals['_TRAIL_PATHFILTERELEMENTSOME']._serialized_start=1932
|
|
117
|
+
_globals['_TRAIL_PATHFILTERELEMENTSOME']._serialized_end=2103
|
|
118
|
+
_globals['_TRAIL_RESOURCE']._serialized_start=2105
|
|
119
|
+
_globals['_TRAIL_RESOURCE']._serialized_end=2169
|
|
120
|
+
_globals['_TRAIL_EVENTFILTER']._serialized_start=2171
|
|
121
|
+
_globals['_TRAIL_EVENTFILTER']._serialized_end=2265
|
|
122
|
+
_globals['_TRAIL_EVENTFILTERELEMENT']._serialized_start=2268
|
|
123
|
+
_globals['_TRAIL_EVENTFILTERELEMENT']._serialized_end=2476
|
|
124
|
+
_globals['_TRAIL_EVENTFILTERELEMENTCATEGORY']._serialized_start=2479
|
|
125
|
+
_globals['_TRAIL_EVENTFILTERELEMENTCATEGORY']._serialized_end=2662
|
|
126
|
+
_globals['_TRAIL_DATAEVENTSFILTERING']._serialized_start=2665
|
|
127
|
+
_globals['_TRAIL_DATAEVENTSFILTERING']._serialized_end=2959
|
|
128
|
+
_globals['_TRAIL_EVENTTYPES']._serialized_start=2961
|
|
129
|
+
_globals['_TRAIL_EVENTTYPES']._serialized_end=3006
|
|
130
|
+
_globals['_TRAIL_MANAGEMENTEVENTSFILTERING']._serialized_start=3008
|
|
131
|
+
_globals['_TRAIL_MANAGEMENTEVENTSFILTERING']._serialized_end=3117
|
|
132
|
+
_globals['_TRAIL_FILTERINGPOLICY']._serialized_start=3120
|
|
133
|
+
_globals['_TRAIL_FILTERINGPOLICY']._serialized_end=3334
|
|
134
|
+
_globals['_TRAIL_STATUS']._serialized_start=3336
|
|
135
|
+
_globals['_TRAIL_STATUS']._serialized_end=3404
|
|
136
|
+
_globals['_TRAIL_EVENTCATEGORYFILTER']._serialized_start=3406
|
|
137
|
+
_globals['_TRAIL_EVENTCATEGORYFILTER']._serialized_end=3501
|
|
138
|
+
_globals['_TRAIL_EVENTACCESSTYPEFILTER']._serialized_start=3503
|
|
139
|
+
_globals['_TRAIL_EVENTACCESSTYPEFILTER']._serialized_end=3589
|
|
120
140
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -283,7 +283,7 @@ class Trail(google.protobuf.message.Message):
|
|
|
283
283
|
FILTERS_FIELD_NUMBER: builtins.int
|
|
284
284
|
@property
|
|
285
285
|
def resource(self) -> global___Trail.Resource:
|
|
286
|
-
"""Definition of the resource that contains"""
|
|
286
|
+
"""Definition of the resource that contains nested resources"""
|
|
287
287
|
|
|
288
288
|
@property
|
|
289
289
|
def filters(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Trail.PathFilterElement]:
|
|
@@ -377,6 +377,107 @@ class Trail(google.protobuf.message.Message):
|
|
|
377
377
|
) -> None: ...
|
|
378
378
|
def ClearField(self, field_name: typing.Literal["plane", b"plane", "type", b"type"]) -> None: ...
|
|
379
379
|
|
|
380
|
+
@typing.final
|
|
381
|
+
class DataEventsFiltering(google.protobuf.message.Message):
|
|
382
|
+
"""Policy for gathering data events"""
|
|
383
|
+
|
|
384
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
385
|
+
|
|
386
|
+
SERVICE_FIELD_NUMBER: builtins.int
|
|
387
|
+
INCLUDED_EVENTS_FIELD_NUMBER: builtins.int
|
|
388
|
+
EXCLUDED_EVENTS_FIELD_NUMBER: builtins.int
|
|
389
|
+
RESOURCE_SCOPES_FIELD_NUMBER: builtins.int
|
|
390
|
+
service: builtins.str
|
|
391
|
+
"""Name of the service whose events will be delivered"""
|
|
392
|
+
@property
|
|
393
|
+
def included_events(self) -> global___Trail.EventTypes:
|
|
394
|
+
"""Explicitly included events of specified service
|
|
395
|
+
New events of the service won't be delivered by default
|
|
396
|
+
"""
|
|
397
|
+
|
|
398
|
+
@property
|
|
399
|
+
def excluded_events(self) -> global___Trail.EventTypes:
|
|
400
|
+
"""Explicitly excluded events of specified service
|
|
401
|
+
New events of the service will be delivered by default
|
|
402
|
+
"""
|
|
403
|
+
|
|
404
|
+
@property
|
|
405
|
+
def resource_scopes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Trail.Resource]:
|
|
406
|
+
"""A list of resources which will be monitored by the trail"""
|
|
407
|
+
|
|
408
|
+
def __init__(
|
|
409
|
+
self,
|
|
410
|
+
*,
|
|
411
|
+
service: builtins.str = ...,
|
|
412
|
+
included_events: global___Trail.EventTypes | None = ...,
|
|
413
|
+
excluded_events: global___Trail.EventTypes | None = ...,
|
|
414
|
+
resource_scopes: collections.abc.Iterable[global___Trail.Resource] | None = ...,
|
|
415
|
+
) -> None: ...
|
|
416
|
+
def HasField(self, field_name: typing.Literal["additional_rules", b"additional_rules", "excluded_events", b"excluded_events", "included_events", b"included_events"]) -> builtins.bool: ...
|
|
417
|
+
def ClearField(self, field_name: typing.Literal["additional_rules", b"additional_rules", "excluded_events", b"excluded_events", "included_events", b"included_events", "resource_scopes", b"resource_scopes", "service", b"service"]) -> None: ...
|
|
418
|
+
def WhichOneof(self, oneof_group: typing.Literal["additional_rules", b"additional_rules"]) -> typing.Literal["included_events", "excluded_events"] | None: ...
|
|
419
|
+
|
|
420
|
+
@typing.final
|
|
421
|
+
class EventTypes(google.protobuf.message.Message):
|
|
422
|
+
"""Policy with explicitly specified event group"""
|
|
423
|
+
|
|
424
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
425
|
+
|
|
426
|
+
EVENT_TYPES_FIELD_NUMBER: builtins.int
|
|
427
|
+
@property
|
|
428
|
+
def event_types(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
429
|
+
def __init__(
|
|
430
|
+
self,
|
|
431
|
+
*,
|
|
432
|
+
event_types: collections.abc.Iterable[builtins.str] | None = ...,
|
|
433
|
+
) -> None: ...
|
|
434
|
+
def ClearField(self, field_name: typing.Literal["event_types", b"event_types"]) -> None: ...
|
|
435
|
+
|
|
436
|
+
@typing.final
|
|
437
|
+
class ManagementEventsFiltering(google.protobuf.message.Message):
|
|
438
|
+
"""Policy for gathering management events"""
|
|
439
|
+
|
|
440
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
441
|
+
|
|
442
|
+
RESOURCE_SCOPES_FIELD_NUMBER: builtins.int
|
|
443
|
+
@property
|
|
444
|
+
def resource_scopes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Trail.Resource]:
|
|
445
|
+
"""A list of resources which will be monitored by the trail"""
|
|
446
|
+
|
|
447
|
+
def __init__(
|
|
448
|
+
self,
|
|
449
|
+
*,
|
|
450
|
+
resource_scopes: collections.abc.Iterable[global___Trail.Resource] | None = ...,
|
|
451
|
+
) -> None: ...
|
|
452
|
+
def ClearField(self, field_name: typing.Literal["resource_scopes", b"resource_scopes"]) -> None: ...
|
|
453
|
+
|
|
454
|
+
@typing.final
|
|
455
|
+
class FilteringPolicy(google.protobuf.message.Message):
|
|
456
|
+
"""Combination of policies describing event filtering process of the trail
|
|
457
|
+
At least one filed must be filled
|
|
458
|
+
"""
|
|
459
|
+
|
|
460
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
461
|
+
|
|
462
|
+
MANAGEMENT_EVENTS_FILTER_FIELD_NUMBER: builtins.int
|
|
463
|
+
DATA_EVENTS_FILTERS_FIELD_NUMBER: builtins.int
|
|
464
|
+
@property
|
|
465
|
+
def management_events_filter(self) -> global___Trail.ManagementEventsFiltering:
|
|
466
|
+
"""Singular filter describing gathering management events"""
|
|
467
|
+
|
|
468
|
+
@property
|
|
469
|
+
def data_events_filters(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Trail.DataEventsFiltering]:
|
|
470
|
+
"""List of filters describing gathering data events"""
|
|
471
|
+
|
|
472
|
+
def __init__(
|
|
473
|
+
self,
|
|
474
|
+
*,
|
|
475
|
+
management_events_filter: global___Trail.ManagementEventsFiltering | None = ...,
|
|
476
|
+
data_events_filters: collections.abc.Iterable[global___Trail.DataEventsFiltering] | None = ...,
|
|
477
|
+
) -> None: ...
|
|
478
|
+
def HasField(self, field_name: typing.Literal["management_events_filter", b"management_events_filter"]) -> builtins.bool: ...
|
|
479
|
+
def ClearField(self, field_name: typing.Literal["data_events_filters", b"data_events_filters", "management_events_filter", b"management_events_filter"]) -> None: ...
|
|
480
|
+
|
|
380
481
|
ID_FIELD_NUMBER: builtins.int
|
|
381
482
|
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
382
483
|
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
@@ -390,6 +491,7 @@ class Trail(google.protobuf.message.Message):
|
|
|
390
491
|
FILTER_FIELD_NUMBER: builtins.int
|
|
391
492
|
STATUS_ERROR_MESSAGE_FIELD_NUMBER: builtins.int
|
|
392
493
|
CLOUD_ID_FIELD_NUMBER: builtins.int
|
|
494
|
+
FILTERING_POLICY_FIELD_NUMBER: builtins.int
|
|
393
495
|
id: builtins.str
|
|
394
496
|
"""ID of the trail"""
|
|
395
497
|
folder_id: builtins.str
|
|
@@ -424,7 +526,15 @@ class Trail(google.protobuf.message.Message):
|
|
|
424
526
|
|
|
425
527
|
@property
|
|
426
528
|
def filter(self) -> global___Trail.Filter:
|
|
427
|
-
"""Filtering configuration of the trail
|
|
529
|
+
"""Filtering configuration of the trail
|
|
530
|
+
deprecated: use filtering_policy instead
|
|
531
|
+
"""
|
|
532
|
+
|
|
533
|
+
@property
|
|
534
|
+
def filtering_policy(self) -> global___Trail.FilteringPolicy:
|
|
535
|
+
"""Event filtering policy
|
|
536
|
+
Describes which groups of events will be sent and which resources will be monitored
|
|
537
|
+
"""
|
|
428
538
|
|
|
429
539
|
def __init__(
|
|
430
540
|
self,
|
|
@@ -442,8 +552,9 @@ class Trail(google.protobuf.message.Message):
|
|
|
442
552
|
filter: global___Trail.Filter | None = ...,
|
|
443
553
|
status_error_message: builtins.str = ...,
|
|
444
554
|
cloud_id: builtins.str = ...,
|
|
555
|
+
filtering_policy: global___Trail.FilteringPolicy | None = ...,
|
|
445
556
|
) -> None: ...
|
|
446
|
-
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "destination", b"destination", "filter", b"filter", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
447
|
-
def ClearField(self, field_name: typing.Literal["cloud_id", b"cloud_id", "created_at", b"created_at", "description", b"description", "destination", b"destination", "filter", b"filter", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "name", b"name", "service_account_id", b"service_account_id", "status", b"status", "status_error_message", b"status_error_message", "updated_at", b"updated_at"]) -> None: ...
|
|
557
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "destination", b"destination", "filter", b"filter", "filtering_policy", b"filtering_policy", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
558
|
+
def ClearField(self, field_name: typing.Literal["cloud_id", b"cloud_id", "created_at", b"created_at", "description", b"description", "destination", b"destination", "filter", b"filter", "filtering_policy", b"filtering_policy", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "name", b"name", "service_account_id", b"service_account_id", "status", b"status", "status_error_message", b"status_error_message", "updated_at", b"updated_at"]) -> None: ...
|
|
448
559
|
|
|
449
560
|
global___Trail = Trail
|
|
@@ -20,7 +20,7 @@ from yandex.cloud.audittrails.v1 import trail_pb2 as yandex_dot_cloud_dot_auditt
|
|
|
20
20
|
from yandex.cloud.access import access_pb2 as yandex_dot_cloud_dot_access_dot_access__pb2
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/yandex/cloud/audittrails/v1/trail_service.proto\x12\x1byandex.cloud.audittrails.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a\'yandex/cloud/audittrails/v1/trail.proto\x1a yandex/cloud/access/access.proto\"7\n\x0fGetTrailRequest\x12\x1e\n\x08trail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50J\x04\x08\x02\x10\x03\"\x94\x01\n\x11ListTrailsRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"a\n\x12ListTrailsResponse\x12\x32\n\x06trails\x18\x01 \x03(\x0b\x32\".yandex.cloud.audittrails.v1.Trail\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\
|
|
23
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/yandex/cloud/audittrails/v1/trail_service.proto\x12\x1byandex.cloud.audittrails.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a\'yandex/cloud/audittrails/v1/trail.proto\x1a yandex/cloud/access/access.proto\"7\n\x0fGetTrailRequest\x12\x1e\n\x08trail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50J\x04\x08\x02\x10\x03\"\x94\x01\n\x11ListTrailsRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"a\n\x12ListTrailsResponse\x12\x32\n\x06trails\x18\x01 \x03(\x0b\x32\".yandex.cloud.audittrails.v1.Trail\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc6\x04\n\x12\x43reateTrailRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x32\n\x04name\x18\x02 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1f\n\x0b\x64\x65scription\x18\x03 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12\x88\x01\n\x06labels\x18\x04 \x03(\x0b\x32;.yandex.cloud.audittrails.v1.CreateTrailRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x12I\n\x0b\x64\x65stination\x18\x05 \x01(\x0b\x32..yandex.cloud.audittrails.v1.Trail.DestinationB\x04\xe8\xc7\x31\x01\x12(\n\x12service_account_id\x18\x06 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12=\n\x06\x66ilter\x18\x07 \x01(\x0b\x32).yandex.cloud.audittrails.v1.Trail.FilterB\x02\x18\x01\x12L\n\x10\x66iltering_policy\x18\x08 \x01(\x0b\x32\x32.yandex.cloud.audittrails.v1.Trail.FilteringPolicy\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xec\x04\n\x12UpdateTrailRequest\x12\x1e\n\x08trail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x32\n\x04name\x18\x03 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1f\n\x0b\x64\x65scription\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12\x88\x01\n\x06labels\x18\x05 \x03(\x0b\x32;.yandex.cloud.audittrails.v1.UpdateTrailRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x12\x43\n\x0b\x64\x65stination\x18\x06 \x01(\x0b\x32..yandex.cloud.audittrails.v1.Trail.Destination\x12$\n\x12service_account_id\x18\x07 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12=\n\x06\x66ilter\x18\x08 \x01(\x0b\x32).yandex.cloud.audittrails.v1.Trail.FilterB\x02\x18\x01\x12L\n\x10\x66iltering_policy\x18\t \x01(\x0b\x32\x32.yandex.cloud.audittrails.v1.Trail.FilteringPolicy\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"4\n\x12\x44\x65leteTrailRequest\x12\x1e\n\x08trail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\'\n\x13\x43reateTrailMetadata\x12\x10\n\x08trail_id\x18\x01 \x01(\t\"\'\n\x13UpdateTrailMetadata\x12\x10\n\x08trail_id\x18\x01 \x01(\t\"\'\n\x13\x44\x65leteTrailMetadata\x12\x10\n\x08trail_id\x18\x01 \x01(\t\"z\n\x1aListTrailOperationsRequest\x12\x1e\n\x08trail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"m\n\x1bListTrailOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\x81\r\n\x0cTrailService\x12\x83\x01\n\x03Get\x12,.yandex.cloud.audittrails.v1.GetTrailRequest\x1a\".yandex.cloud.audittrails.v1.Trail\"*\x82\xd3\xe4\x93\x02$\x12\"/audit-trails/v1/trails/{trail_id}\x12\x88\x01\n\x04List\x12..yandex.cloud.audittrails.v1.ListTrailsRequest\x1a/.yandex.cloud.audittrails.v1.ListTrailsResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/audit-trails/v1/trails\x12\xa0\x01\n\x06\x43reate\x12/.yandex.cloud.audittrails.v1.CreateTrailRequest\x1a!.yandex.cloud.operation.Operation\"B\xb2\xd2*\x1c\n\x13\x43reateTrailMetadata\x12\x05Trail\x82\xd3\xe4\x93\x02\x1c\"\x17/audit-trails/v1/trails:\x01*\x12\xab\x01\n\x06Update\x12/.yandex.cloud.audittrails.v1.UpdateTrailRequest\x1a!.yandex.cloud.operation.Operation\"M\xb2\xd2*\x1c\n\x13UpdateTrailMetadata\x12\x05Trail\x82\xd3\xe4\x93\x02\'2\"/audit-trails/v1/trails/{trail_id}:\x01*\x12\xb8\x01\n\x06\x44\x65lete\x12/.yandex.cloud.audittrails.v1.DeleteTrailRequest\x1a!.yandex.cloud.operation.Operation\"Z\xb2\xd2*,\n\x13\x44\x65leteTrailMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02$*\"/audit-trails/v1/trails/{trail_id}\x12\xba\x01\n\x0eListOperations\x12\x37.yandex.cloud.audittrails.v1.ListTrailOperationsRequest\x1a\x38.yandex.cloud.audittrails.v1.ListTrailOperationsResponse\"5\x82\xd3\xe4\x93\x02/\x12-/audit-trails/v1/trails/{trail_id}/operations\x12\xb7\x01\n\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/audit-trails/v1/trails/{resource_id}:listAccessBindings\x12\xe6\x01\n\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x7f\xb2\xd2*9\n access.SetAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02<\"7/audit-trails/v1/trails/{resource_id}:setAccessBindings:\x01*\x12\xf3\x01\n\x14UpdateAccessBindings\x12\x30.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x85\x01\xb2\xd2*<\n#access.UpdateAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02?\":/audit-trails/v1/trails/{resource_id}:updateAccessBindings:\x01*Bs\n\x1fyandex.cloud.api.audittrails.v1B\x03\x41TSZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/audittrails/v1;audittrailsb\x06proto3')
|
|
24
24
|
|
|
25
25
|
_globals = globals()
|
|
26
26
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -51,7 +51,7 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
51
51
|
_CREATETRAILREQUEST.fields_by_name['service_account_id']._options = None
|
|
52
52
|
_CREATETRAILREQUEST.fields_by_name['service_account_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
53
53
|
_CREATETRAILREQUEST.fields_by_name['filter']._options = None
|
|
54
|
-
_CREATETRAILREQUEST.fields_by_name['filter']._serialized_options = b'\
|
|
54
|
+
_CREATETRAILREQUEST.fields_by_name['filter']._serialized_options = b'\030\001'
|
|
55
55
|
_UPDATETRAILREQUEST_LABELSENTRY._options = None
|
|
56
56
|
_UPDATETRAILREQUEST_LABELSENTRY._serialized_options = b'8\001'
|
|
57
57
|
_UPDATETRAILREQUEST.fields_by_name['trail_id']._options = None
|
|
@@ -64,6 +64,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
64
64
|
_UPDATETRAILREQUEST.fields_by_name['labels']._serialized_options = b'\362\3071\013[-_0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\004<=63'
|
|
65
65
|
_UPDATETRAILREQUEST.fields_by_name['service_account_id']._options = None
|
|
66
66
|
_UPDATETRAILREQUEST.fields_by_name['service_account_id']._serialized_options = b'\212\3101\004<=50'
|
|
67
|
+
_UPDATETRAILREQUEST.fields_by_name['filter']._options = None
|
|
68
|
+
_UPDATETRAILREQUEST.fields_by_name['filter']._serialized_options = b'\030\001'
|
|
67
69
|
_DELETETRAILREQUEST.fields_by_name['trail_id']._options = None
|
|
68
70
|
_DELETETRAILREQUEST.fields_by_name['trail_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
69
71
|
_LISTTRAILOPERATIONSREQUEST.fields_by_name['trail_id']._options = None
|
|
@@ -97,25 +99,25 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
97
99
|
_globals['_LISTTRAILSRESPONSE']._serialized_start=532
|
|
98
100
|
_globals['_LISTTRAILSRESPONSE']._serialized_end=629
|
|
99
101
|
_globals['_CREATETRAILREQUEST']._serialized_start=632
|
|
100
|
-
_globals['_CREATETRAILREQUEST']._serialized_end=
|
|
101
|
-
_globals['_CREATETRAILREQUEST_LABELSENTRY']._serialized_start=
|
|
102
|
-
_globals['_CREATETRAILREQUEST_LABELSENTRY']._serialized_end=
|
|
103
|
-
_globals['_UPDATETRAILREQUEST']._serialized_start=
|
|
104
|
-
_globals['_UPDATETRAILREQUEST']._serialized_end=
|
|
105
|
-
_globals['_UPDATETRAILREQUEST_LABELSENTRY']._serialized_start=
|
|
106
|
-
_globals['_UPDATETRAILREQUEST_LABELSENTRY']._serialized_end=
|
|
107
|
-
_globals['_DELETETRAILREQUEST']._serialized_start=
|
|
108
|
-
_globals['_DELETETRAILREQUEST']._serialized_end=
|
|
109
|
-
_globals['_CREATETRAILMETADATA']._serialized_start=
|
|
110
|
-
_globals['_CREATETRAILMETADATA']._serialized_end=
|
|
111
|
-
_globals['_UPDATETRAILMETADATA']._serialized_start=
|
|
112
|
-
_globals['_UPDATETRAILMETADATA']._serialized_end=
|
|
113
|
-
_globals['_DELETETRAILMETADATA']._serialized_start=
|
|
114
|
-
_globals['_DELETETRAILMETADATA']._serialized_end=
|
|
115
|
-
_globals['_LISTTRAILOPERATIONSREQUEST']._serialized_start=
|
|
116
|
-
_globals['_LISTTRAILOPERATIONSREQUEST']._serialized_end=
|
|
117
|
-
_globals['_LISTTRAILOPERATIONSRESPONSE']._serialized_start=
|
|
118
|
-
_globals['_LISTTRAILOPERATIONSRESPONSE']._serialized_end=
|
|
119
|
-
_globals['_TRAILSERVICE']._serialized_start=
|
|
120
|
-
_globals['_TRAILSERVICE']._serialized_end=
|
|
102
|
+
_globals['_CREATETRAILREQUEST']._serialized_end=1214
|
|
103
|
+
_globals['_CREATETRAILREQUEST_LABELSENTRY']._serialized_start=1169
|
|
104
|
+
_globals['_CREATETRAILREQUEST_LABELSENTRY']._serialized_end=1214
|
|
105
|
+
_globals['_UPDATETRAILREQUEST']._serialized_start=1217
|
|
106
|
+
_globals['_UPDATETRAILREQUEST']._serialized_end=1837
|
|
107
|
+
_globals['_UPDATETRAILREQUEST_LABELSENTRY']._serialized_start=1169
|
|
108
|
+
_globals['_UPDATETRAILREQUEST_LABELSENTRY']._serialized_end=1214
|
|
109
|
+
_globals['_DELETETRAILREQUEST']._serialized_start=1839
|
|
110
|
+
_globals['_DELETETRAILREQUEST']._serialized_end=1891
|
|
111
|
+
_globals['_CREATETRAILMETADATA']._serialized_start=1893
|
|
112
|
+
_globals['_CREATETRAILMETADATA']._serialized_end=1932
|
|
113
|
+
_globals['_UPDATETRAILMETADATA']._serialized_start=1934
|
|
114
|
+
_globals['_UPDATETRAILMETADATA']._serialized_end=1973
|
|
115
|
+
_globals['_DELETETRAILMETADATA']._serialized_start=1975
|
|
116
|
+
_globals['_DELETETRAILMETADATA']._serialized_end=2014
|
|
117
|
+
_globals['_LISTTRAILOPERATIONSREQUEST']._serialized_start=2016
|
|
118
|
+
_globals['_LISTTRAILOPERATIONSREQUEST']._serialized_end=2138
|
|
119
|
+
_globals['_LISTTRAILOPERATIONSRESPONSE']._serialized_start=2140
|
|
120
|
+
_globals['_LISTTRAILOPERATIONSRESPONSE']._serialized_end=2249
|
|
121
|
+
_globals['_TRAILSERVICE']._serialized_start=2252
|
|
122
|
+
_globals['_TRAILSERVICE']._serialized_end=3917
|
|
121
123
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -135,6 +135,7 @@ class CreateTrailRequest(google.protobuf.message.Message):
|
|
|
135
135
|
DESTINATION_FIELD_NUMBER: builtins.int
|
|
136
136
|
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
137
137
|
FILTER_FIELD_NUMBER: builtins.int
|
|
138
|
+
FILTERING_POLICY_FIELD_NUMBER: builtins.int
|
|
138
139
|
folder_id: builtins.str
|
|
139
140
|
"""ID of the folder to create a trail in."""
|
|
140
141
|
name: builtins.str
|
|
@@ -155,7 +156,13 @@ class CreateTrailRequest(google.protobuf.message.Message):
|
|
|
155
156
|
|
|
156
157
|
@property
|
|
157
158
|
def filter(self) -> yandex.cloud.audittrails.v1.trail_pb2.Trail.Filter:
|
|
158
|
-
"""Event filtering configuration of the trail
|
|
159
|
+
"""Event filtering configuration of the trail
|
|
160
|
+
deprecated: use filtering_policy instead
|
|
161
|
+
"""
|
|
162
|
+
|
|
163
|
+
@property
|
|
164
|
+
def filtering_policy(self) -> yandex.cloud.audittrails.v1.trail_pb2.Trail.FilteringPolicy:
|
|
165
|
+
"""Event filtering policy of the trail"""
|
|
159
166
|
|
|
160
167
|
def __init__(
|
|
161
168
|
self,
|
|
@@ -167,9 +174,10 @@ class CreateTrailRequest(google.protobuf.message.Message):
|
|
|
167
174
|
destination: yandex.cloud.audittrails.v1.trail_pb2.Trail.Destination | None = ...,
|
|
168
175
|
service_account_id: builtins.str = ...,
|
|
169
176
|
filter: yandex.cloud.audittrails.v1.trail_pb2.Trail.Filter | None = ...,
|
|
177
|
+
filtering_policy: yandex.cloud.audittrails.v1.trail_pb2.Trail.FilteringPolicy | None = ...,
|
|
170
178
|
) -> None: ...
|
|
171
|
-
def HasField(self, field_name: typing.Literal["destination", b"destination", "filter", b"filter"]) -> builtins.bool: ...
|
|
172
|
-
def ClearField(self, field_name: typing.Literal["description", b"description", "destination", b"destination", "filter", b"filter", "folder_id", b"folder_id", "labels", b"labels", "name", b"name", "service_account_id", b"service_account_id"]) -> None: ...
|
|
179
|
+
def HasField(self, field_name: typing.Literal["destination", b"destination", "filter", b"filter", "filtering_policy", b"filtering_policy"]) -> builtins.bool: ...
|
|
180
|
+
def ClearField(self, field_name: typing.Literal["description", b"description", "destination", b"destination", "filter", b"filter", "filtering_policy", b"filtering_policy", "folder_id", b"folder_id", "labels", b"labels", "name", b"name", "service_account_id", b"service_account_id"]) -> None: ...
|
|
173
181
|
|
|
174
182
|
global___CreateTrailRequest = CreateTrailRequest
|
|
175
183
|
|
|
@@ -201,6 +209,7 @@ class UpdateTrailRequest(google.protobuf.message.Message):
|
|
|
201
209
|
DESTINATION_FIELD_NUMBER: builtins.int
|
|
202
210
|
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
203
211
|
FILTER_FIELD_NUMBER: builtins.int
|
|
212
|
+
FILTERING_POLICY_FIELD_NUMBER: builtins.int
|
|
204
213
|
trail_id: builtins.str
|
|
205
214
|
"""ID of the trail to update."""
|
|
206
215
|
name: builtins.str
|
|
@@ -223,7 +232,13 @@ class UpdateTrailRequest(google.protobuf.message.Message):
|
|
|
223
232
|
|
|
224
233
|
@property
|
|
225
234
|
def filter(self) -> yandex.cloud.audittrails.v1.trail_pb2.Trail.Filter:
|
|
226
|
-
"""
|
|
235
|
+
"""Updated filtering configuration of the trail
|
|
236
|
+
deprecated: use filtering_policy instead
|
|
237
|
+
"""
|
|
238
|
+
|
|
239
|
+
@property
|
|
240
|
+
def filtering_policy(self) -> yandex.cloud.audittrails.v1.trail_pb2.Trail.FilteringPolicy:
|
|
241
|
+
"""Updated event filtering policy"""
|
|
227
242
|
|
|
228
243
|
def __init__(
|
|
229
244
|
self,
|
|
@@ -236,9 +251,10 @@ class UpdateTrailRequest(google.protobuf.message.Message):
|
|
|
236
251
|
destination: yandex.cloud.audittrails.v1.trail_pb2.Trail.Destination | None = ...,
|
|
237
252
|
service_account_id: builtins.str = ...,
|
|
238
253
|
filter: yandex.cloud.audittrails.v1.trail_pb2.Trail.Filter | None = ...,
|
|
254
|
+
filtering_policy: yandex.cloud.audittrails.v1.trail_pb2.Trail.FilteringPolicy | None = ...,
|
|
239
255
|
) -> None: ...
|
|
240
|
-
def HasField(self, field_name: typing.Literal["destination", b"destination", "filter", b"filter", "update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
241
|
-
def ClearField(self, field_name: typing.Literal["description", b"description", "destination", b"destination", "filter", b"filter", "labels", b"labels", "name", b"name", "service_account_id", b"service_account_id", "trail_id", b"trail_id", "update_mask", b"update_mask"]) -> None: ...
|
|
256
|
+
def HasField(self, field_name: typing.Literal["destination", b"destination", "filter", b"filter", "filtering_policy", b"filtering_policy", "update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
257
|
+
def ClearField(self, field_name: typing.Literal["description", b"description", "destination", b"destination", "filter", b"filter", "filtering_policy", b"filtering_policy", "labels", b"labels", "name", b"name", "service_account_id", b"service_account_id", "trail_id", b"trail_id", "update_mask", b"update_mask"]) -> None: ...
|
|
242
258
|
|
|
243
259
|
global___UpdateTrailRequest = UpdateTrailRequest
|
|
244
260
|
|