yandexcloud 0.354.0__py3-none-any.whl → 0.355.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/assistants/v1/common_pb2.py +58 -30
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +178 -3
- yandex/cloud/airflow/v1/cluster_pb2.py +12 -8
- yandex/cloud/airflow/v1/cluster_pb2.pyi +4 -0
- yandex/cloud/apploadbalancer/v1/virtual_host_pb2.py +32 -32
- yandex/cloud/apploadbalancer/v1/virtual_host_pb2.pyi +5 -1
- yandex/cloud/apploadbalancer/v1/virtual_host_service_pb2.py +6 -6
- yandex/cloud/apploadbalancer/v1/virtual_host_service_pb2.pyi +5 -1
- yandex/cloud/backup/v1/resource_pb2.py +2 -2
- yandex/cloud/backup/v1/resource_pb2.pyi +8 -0
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2.py +12 -8
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2.pyi +16 -2
- yandex/cloud/compute/v1/maintenance_service_pb2.py +47 -0
- yandex/cloud/compute/v1/maintenance_service_pb2.pyi +8 -0
- yandex/cloud/compute/v1/maintenance_service_pb2_grpc.py +190 -0
- yandex/cloud/compute/v1/maintenance_service_pb2_grpc.pyi +91 -0
- yandex/cloud/compute/v1/reserved_instance_pool_pb2.py +8 -4
- yandex/cloud/compute/v1/reserved_instance_pool_pb2.pyi +69 -2
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.py +44 -20
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.pyi +138 -2
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.py +88 -0
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.pyi +40 -0
- yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +2 -4
- yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.py +3 -6
- yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.pyi +3 -9
- yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +2 -4
- yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.py +6 -3
- yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.pyi +6 -0
- yandex/cloud/iam/v1/oauth_client_pb2.py +39 -0
- yandex/cloud/iam/v1/oauth_client_pb2.pyi +85 -0
- yandex/cloud/iam/v1/oauth_client_pb2_grpc.py +24 -0
- yandex/cloud/iam/v1/oauth_client_pb2_grpc.pyi +17 -0
- yandex/cloud/iam/v1/oauth_client_secret_pb2.py +38 -0
- yandex/cloud/iam/v1/oauth_client_secret_pb2.pyi +49 -0
- yandex/cloud/iam/v1/oauth_client_secret_pb2_grpc.py +24 -0
- yandex/cloud/iam/v1/oauth_client_secret_pb2_grpc.pyi +17 -0
- yandex/cloud/iam/v1/oauth_client_secret_service_pb2.py +80 -0
- yandex/cloud/iam/v1/oauth_client_secret_service_pb2.pyi +188 -0
- yandex/cloud/iam/v1/oauth_client_secret_service_pb2_grpc.py +237 -0
- yandex/cloud/iam/v1/oauth_client_secret_service_pb2_grpc.pyi +121 -0
- yandex/cloud/iam/v1/oauth_client_service_pb2.py +99 -0
- yandex/cloud/iam/v1/oauth_client_service_pb2.pyi +257 -0
- yandex/cloud/iam/v1/oauth_client_service_pb2_grpc.py +281 -0
- yandex/cloud/iam/v1/oauth_client_service_pb2_grpc.pyi +141 -0
- yandex/cloud/iot/broker/v1/broker_service_pb2.py +50 -50
- yandex/cloud/iot/devices/v1/device_service_pb2.py +61 -61
- yandex/cloud/iot/devices/v1/registry_service_pb2.py +82 -82
- yandex/cloud/maintenance/__init__.py +0 -0
- yandex/cloud/maintenance/v2/__init__.py +0 -0
- yandex/cloud/maintenance/v2/common_pb2.py +73 -0
- yandex/cloud/maintenance/v2/common_pb2.pyi +324 -0
- yandex/cloud/maintenance/v2/common_pb2_grpc.py +24 -0
- yandex/cloud/maintenance/v2/common_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +190 -150
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +1712 -1025
- yandex/cloud/mdb/clickhouse/v1/user_pb2.py +98 -86
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +1248 -792
- yandex/cloud/mdb/opensearch/v1/backup_pb2.py +14 -14
- yandex/cloud/mdb/opensearch/v1/backup_pb2.pyi +13 -1
- yandex/cloud/metastore/v1/cluster_pb2.py +18 -16
- yandex/cloud/metastore/v1/cluster_pb2.pyi +31 -1
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +10 -10
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +7 -1
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.py +50 -18
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.pyi +241 -2
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.py +18 -18
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.pyi +22 -2
- yandex/cloud/trino/v1/cluster_service_pb2.py +36 -36
- yandex/cloud/trino/v1/cluster_service_pb2.pyi +14 -2
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.355.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.355.0.dist-info}/RECORD +76 -50
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.355.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.355.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.355.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.355.0.dist-info}/top_level.txt +0 -0
|
@@ -27,7 +27,7 @@ from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb
|
|
|
27
27
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/mdb/opensearch/v1/backup.proto\x12\x1eyandex.cloud.mdb.opensearch.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1dyandex/cloud/validation.proto\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/mdb/opensearch/v1/backup.proto\x12\x1eyandex.cloud.mdb.opensearch.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1dyandex/cloud/validation.proto\"\xe2\x02\n\x06\x42\x61\x63kup\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12\x19\n\x11source_cluster_id\x18\x03 \x01(\t\x12.\n\nstarted_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1a\n\x07indices\x18\x06 \x03(\tB\t\x82\xc8\x31\x05<=100\x12\x1a\n\x12opensearch_version\x18\x07 \x01(\t\x12\x12\n\nsize_bytes\x18\x08 \x01(\x03\x12\x15\n\rindices_total\x18\t \x01(\x03\x12\x1e\n\x16incremental_size_bytes\x18\n \x01(\x03\x12\x18\n\x10total_size_bytes\x18\x0b \x01(\x03\x12!\n\x19\x66ree_space_required_bytes\x18\x0c \x01(\x03\"\xa6\x01\n\x12SnapshotManagement\x12K\n\x11snapshot_schedule\x18\x01 \x01(\x0b\x32\x30.yandex.cloud.mdb.opensearch.v1.SnapshotSchedule\x12\x43\n\x15snapshot_max_age_days\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x07\xfa\xc7\x31\x03>=7\"\xb6\x02\n\x10SnapshotSchedule\x12Z\n\x18hourly_snapshot_schedule\x18\x01 \x01(\x0b\x32\x36.yandex.cloud.mdb.opensearch.v1.HourlySnapshotScheduleH\x00\x12X\n\x17\x64\x61ily_snapshot_schedule\x18\x02 \x01(\x0b\x32\x35.yandex.cloud.mdb.opensearch.v1.DailySnapshotScheduleH\x00\x12Z\n\x18weekly_snapshot_schedule\x18\x03 \x01(\x0b\x32\x36.yandex.cloud.mdb.opensearch.v1.WeeklySnapshotScheduleH\x00\x42\x10\n\x08schedule\x12\x04\xc0\xc1\x31\x01\"2\n\x16HourlySnapshotSchedule\x12\x18\n\x06minute\x18\x01 \x01(\x03\x42\x08\xfa\xc7\x31\x04\x30-59\"I\n\x15\x44\x61ilySnapshotSchedule\x12\x16\n\x04hour\x18\x01 \x01(\x03\x42\x08\xfa\xc7\x31\x04\x30-23\x12\x18\n\x06minute\x18\x02 \x01(\x03\x42\x08\xfa\xc7\x31\x04\x30-59\"\xfb\x01\n\x16WeeklySnapshotSchedule\x12K\n\x03\x64\x61y\x18\x01 \x01(\x0e\x32>.yandex.cloud.mdb.opensearch.v1.WeeklySnapshotSchedule.WeekDay\x12\x16\n\x04hour\x18\x02 \x01(\x03\x42\x08\xfa\xc7\x31\x04\x30-23\x12\x18\n\x06minute\x18\x03 \x01(\x03\x42\x08\xfa\xc7\x31\x04\x30-59\"b\n\x07WeekDay\x12\x18\n\x14WEEK_DAY_UNSPECIFIED\x10\x00\x12\x07\n\x03MON\x10\x01\x12\x07\n\x03TUE\x10\x02\x12\x07\n\x03WED\x10\x03\x12\x07\n\x03THU\x10\x04\x12\x07\n\x03\x46RI\x10\x05\x12\x07\n\x03SAT\x10\x06\x12\x07\n\x03SUN\x10\x07\x42s\n\"yandex.cloud.api.mdb.opensearch.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/opensearch/v1;opensearchb\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -52,17 +52,17 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
52
52
|
_globals['_WEEKLYSNAPSHOTSCHEDULE'].fields_by_name['minute']._loaded_options = None
|
|
53
53
|
_globals['_WEEKLYSNAPSHOTSCHEDULE'].fields_by_name['minute']._serialized_options = b'\372\3071\0040-59'
|
|
54
54
|
_globals['_BACKUP']._serialized_start=176
|
|
55
|
-
_globals['_BACKUP']._serialized_end=
|
|
56
|
-
_globals['_SNAPSHOTMANAGEMENT']._serialized_start=
|
|
57
|
-
_globals['_SNAPSHOTMANAGEMENT']._serialized_end=
|
|
58
|
-
_globals['_SNAPSHOTSCHEDULE']._serialized_start=
|
|
59
|
-
_globals['_SNAPSHOTSCHEDULE']._serialized_end=
|
|
60
|
-
_globals['_HOURLYSNAPSHOTSCHEDULE']._serialized_start=
|
|
61
|
-
_globals['_HOURLYSNAPSHOTSCHEDULE']._serialized_end=
|
|
62
|
-
_globals['_DAILYSNAPSHOTSCHEDULE']._serialized_start=
|
|
63
|
-
_globals['_DAILYSNAPSHOTSCHEDULE']._serialized_end=
|
|
64
|
-
_globals['_WEEKLYSNAPSHOTSCHEDULE']._serialized_start=
|
|
65
|
-
_globals['_WEEKLYSNAPSHOTSCHEDULE']._serialized_end=
|
|
66
|
-
_globals['_WEEKLYSNAPSHOTSCHEDULE_WEEKDAY']._serialized_start=
|
|
67
|
-
_globals['_WEEKLYSNAPSHOTSCHEDULE_WEEKDAY']._serialized_end=
|
|
55
|
+
_globals['_BACKUP']._serialized_end=530
|
|
56
|
+
_globals['_SNAPSHOTMANAGEMENT']._serialized_start=533
|
|
57
|
+
_globals['_SNAPSHOTMANAGEMENT']._serialized_end=699
|
|
58
|
+
_globals['_SNAPSHOTSCHEDULE']._serialized_start=702
|
|
59
|
+
_globals['_SNAPSHOTSCHEDULE']._serialized_end=1012
|
|
60
|
+
_globals['_HOURLYSNAPSHOTSCHEDULE']._serialized_start=1014
|
|
61
|
+
_globals['_HOURLYSNAPSHOTSCHEDULE']._serialized_end=1064
|
|
62
|
+
_globals['_DAILYSNAPSHOTSCHEDULE']._serialized_start=1066
|
|
63
|
+
_globals['_DAILYSNAPSHOTSCHEDULE']._serialized_end=1139
|
|
64
|
+
_globals['_WEEKLYSNAPSHOTSCHEDULE']._serialized_start=1142
|
|
65
|
+
_globals['_WEEKLYSNAPSHOTSCHEDULE']._serialized_end=1393
|
|
66
|
+
_globals['_WEEKLYSNAPSHOTSCHEDULE_WEEKDAY']._serialized_start=1295
|
|
67
|
+
_globals['_WEEKLYSNAPSHOTSCHEDULE_WEEKDAY']._serialized_end=1393
|
|
68
68
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -34,6 +34,9 @@ class Backup(google.protobuf.message.Message):
|
|
|
34
34
|
OPENSEARCH_VERSION_FIELD_NUMBER: builtins.int
|
|
35
35
|
SIZE_BYTES_FIELD_NUMBER: builtins.int
|
|
36
36
|
INDICES_TOTAL_FIELD_NUMBER: builtins.int
|
|
37
|
+
INCREMENTAL_SIZE_BYTES_FIELD_NUMBER: builtins.int
|
|
38
|
+
TOTAL_SIZE_BYTES_FIELD_NUMBER: builtins.int
|
|
39
|
+
FREE_SPACE_REQUIRED_BYTES_FIELD_NUMBER: builtins.int
|
|
37
40
|
id: builtins.str
|
|
38
41
|
"""Required. ID of the backup."""
|
|
39
42
|
folder_id: builtins.str
|
|
@@ -46,6 +49,12 @@ class Backup(google.protobuf.message.Message):
|
|
|
46
49
|
"""Size of the backup in bytes."""
|
|
47
50
|
indices_total: builtins.int
|
|
48
51
|
"""The number of indices in the backup."""
|
|
52
|
+
incremental_size_bytes: builtins.int
|
|
53
|
+
"""Size of files which were copied as part of the incremental snapshot."""
|
|
54
|
+
total_size_bytes: builtins.int
|
|
55
|
+
"""Size of files that are referenced by the snapshot."""
|
|
56
|
+
free_space_required_bytes: builtins.int
|
|
57
|
+
"""The space amount required to restore from this backup."""
|
|
49
58
|
@property
|
|
50
59
|
def started_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
51
60
|
"""Time when the backup operation was started."""
|
|
@@ -70,9 +79,12 @@ class Backup(google.protobuf.message.Message):
|
|
|
70
79
|
opensearch_version: builtins.str = ...,
|
|
71
80
|
size_bytes: builtins.int = ...,
|
|
72
81
|
indices_total: builtins.int = ...,
|
|
82
|
+
incremental_size_bytes: builtins.int = ...,
|
|
83
|
+
total_size_bytes: builtins.int = ...,
|
|
84
|
+
free_space_required_bytes: builtins.int = ...,
|
|
73
85
|
) -> None: ...
|
|
74
86
|
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "started_at", b"started_at"]) -> builtins.bool: ...
|
|
75
|
-
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "folder_id", b"folder_id", "id", b"id", "indices", b"indices", "indices_total", b"indices_total", "opensearch_version", b"opensearch_version", "size_bytes", b"size_bytes", "source_cluster_id", b"source_cluster_id", "started_at", b"started_at"]) -> None: ...
|
|
87
|
+
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "folder_id", b"folder_id", "free_space_required_bytes", b"free_space_required_bytes", "id", b"id", "incremental_size_bytes", b"incremental_size_bytes", "indices", b"indices", "indices_total", b"indices_total", "opensearch_version", b"opensearch_version", "size_bytes", b"size_bytes", "source_cluster_id", b"source_cluster_id", "started_at", b"started_at", "total_size_bytes", b"total_size_bytes"]) -> None: ...
|
|
76
88
|
|
|
77
89
|
global___Backup = Backup
|
|
78
90
|
|
|
@@ -28,7 +28,7 @@ from yandex.cloud.metastore.v1 import maintenance_pb2 as yandex_dot_cloud_dot_me
|
|
|
28
28
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'yandex/cloud/metastore/v1/cluster.proto\x12\x19yandex.cloud.metastore.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\'yandex/cloud/logging/v1/log_entry.proto\x1a+yandex/cloud/metastore/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\"\
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'yandex/cloud/metastore/v1/cluster.proto\x12\x19yandex.cloud.metastore.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\'yandex/cloud/logging/v1/log_entry.proto\x1a+yandex/cloud/metastore/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\"\x9e\x08\n\x07\x43luster\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12>\n\x06labels\x18\x06 \x03(\x0b\x32..yandex.cloud.metastore.v1.Cluster.LabelsEntry\x12\x39\n\nmonitoring\x18\x07 \x03(\x0b\x32%.yandex.cloud.metastore.v1.Monitoring\x12\x39\n\x06health\x18\x08 \x01(\x0e\x32).yandex.cloud.metastore.v1.Cluster.Health\x12\x39\n\x06status\x18\t \x01(\x0e\x32).yandex.cloud.metastore.v1.Cluster.Status\x12\x1b\n\x13\x64\x65letion_protection\x18\x10 \x01(\x08\x12\x0f\n\x07version\x18\x11 \x01(\t\x12\x12\n\nnetwork_id\x18\x12 \x01(\t\x12\x13\n\x0b\x65ndpoint_ip\x18\x13 \x01(\t\x12@\n\x0e\x63luster_config\x18\x14 \x01(\x0b\x32(.yandex.cloud.metastore.v1.ClusterConfig\x12\x1a\n\x12service_account_id\x18\x15 \x01(\t\x12\x39\n\x07logging\x18\x16 \x01(\x0b\x32(.yandex.cloud.metastore.v1.LoggingConfig\x12\x39\n\x07network\x18\x17 \x01(\x0b\x32(.yandex.cloud.metastore.v1.NetworkConfig\x12H\n\x12maintenance_window\x18\x18 \x01(\x0b\x32,.yandex.cloud.metastore.v1.MaintenanceWindow\x12J\n\x11planned_operation\x18\x19 \x01(\x0b\x32/.yandex.cloud.metastore.v1.MaintenanceOperation\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"?\n\x06Health\x12\x12\n\x0eHEALTH_UNKNOWN\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\"y\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x0c\n\x08STOPPING\x10\x05\x12\x0b\n\x07STOPPED\x10\x06\x12\x0c\n\x08STARTING\x10\x07J\x04\x08\n\x10\x10\"=\n\nMonitoring\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04link\x18\x03 \x01(\t\"N\n\rClusterConfig\x12\x37\n\tresources\x18\x02 \x01(\x0b\x32$.yandex.cloud.metastore.v1.ResourcesJ\x04\x08\x01\x10\x02\"?\n\rNetworkConfig\x12\x12\n\nsubnet_ids\x18\x01 \x03(\t\x12\x1a\n\x12security_group_ids\x18\x02 \x03(\t\"5\n\tResources\x12(\n\x12resource_preset_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xe2\x01\n\rLoggingConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x38\n\tfolder_id\x18\x02 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x12;\n\x0clog_group_id\x18\x03 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x12:\n\tmin_level\x18\x04 \x01(\x0e\x32\'.yandex.cloud.logging.v1.LogLevel.LevelB\r\n\x0b\x64\x65stinationBh\n\x1dyandex.cloud.api.metastore.v1ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/metastore/v1;metastoreb\x06proto3')
|
|
32
32
|
|
|
33
33
|
_globals = globals()
|
|
34
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -45,19 +45,21 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
45
45
|
_globals['_LOGGINGCONFIG'].fields_by_name['log_group_id']._loaded_options = None
|
|
46
46
|
_globals['_LOGGINGCONFIG'].fields_by_name['log_group_id']._serialized_options = b'\362\3071\037([a-zA-Z][-a-zA-Z0-9_.]{0,63})?'
|
|
47
47
|
_globals['_CLUSTER']._serialized_start=221
|
|
48
|
-
_globals['_CLUSTER']._serialized_end=
|
|
49
|
-
_globals['_CLUSTER_LABELSENTRY']._serialized_start=
|
|
50
|
-
_globals['_CLUSTER_LABELSENTRY']._serialized_end=
|
|
51
|
-
_globals['_CLUSTER_HEALTH']._serialized_start=
|
|
52
|
-
_globals['_CLUSTER_HEALTH']._serialized_end=
|
|
53
|
-
_globals['_CLUSTER_STATUS']._serialized_start=
|
|
54
|
-
_globals['_CLUSTER_STATUS']._serialized_end=
|
|
55
|
-
_globals['
|
|
56
|
-
_globals['
|
|
57
|
-
_globals['
|
|
58
|
-
_globals['
|
|
59
|
-
_globals['
|
|
60
|
-
_globals['
|
|
61
|
-
_globals['
|
|
62
|
-
_globals['
|
|
48
|
+
_globals['_CLUSTER']._serialized_end=1275
|
|
49
|
+
_globals['_CLUSTER_LABELSENTRY']._serialized_start=1036
|
|
50
|
+
_globals['_CLUSTER_LABELSENTRY']._serialized_end=1081
|
|
51
|
+
_globals['_CLUSTER_HEALTH']._serialized_start=1083
|
|
52
|
+
_globals['_CLUSTER_HEALTH']._serialized_end=1146
|
|
53
|
+
_globals['_CLUSTER_STATUS']._serialized_start=1148
|
|
54
|
+
_globals['_CLUSTER_STATUS']._serialized_end=1269
|
|
55
|
+
_globals['_MONITORING']._serialized_start=1277
|
|
56
|
+
_globals['_MONITORING']._serialized_end=1338
|
|
57
|
+
_globals['_CLUSTERCONFIG']._serialized_start=1340
|
|
58
|
+
_globals['_CLUSTERCONFIG']._serialized_end=1418
|
|
59
|
+
_globals['_NETWORKCONFIG']._serialized_start=1420
|
|
60
|
+
_globals['_NETWORKCONFIG']._serialized_end=1483
|
|
61
|
+
_globals['_RESOURCES']._serialized_start=1485
|
|
62
|
+
_globals['_RESOURCES']._serialized_end=1538
|
|
63
|
+
_globals['_LOGGINGCONFIG']._serialized_start=1541
|
|
64
|
+
_globals['_LOGGINGCONFIG']._serialized_end=1767
|
|
63
65
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -116,6 +116,7 @@ class Cluster(google.protobuf.message.Message):
|
|
|
116
116
|
NAME_FIELD_NUMBER: builtins.int
|
|
117
117
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
118
118
|
LABELS_FIELD_NUMBER: builtins.int
|
|
119
|
+
MONITORING_FIELD_NUMBER: builtins.int
|
|
119
120
|
HEALTH_FIELD_NUMBER: builtins.int
|
|
120
121
|
STATUS_FIELD_NUMBER: builtins.int
|
|
121
122
|
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
@@ -162,6 +163,10 @@ class Cluster(google.protobuf.message.Message):
|
|
|
162
163
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
163
164
|
"""Custom labels for the Metastore Cluster as `` key:value `` pairs."""
|
|
164
165
|
|
|
166
|
+
@property
|
|
167
|
+
def monitoring(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Monitoring]:
|
|
168
|
+
"""Monitoring systems relevant to the Metastore Cluster."""
|
|
169
|
+
|
|
165
170
|
@property
|
|
166
171
|
def cluster_config(self) -> global___ClusterConfig:
|
|
167
172
|
"""Configuration of the Metastore Cluster."""
|
|
@@ -191,6 +196,7 @@ class Cluster(google.protobuf.message.Message):
|
|
|
191
196
|
name: builtins.str = ...,
|
|
192
197
|
description: builtins.str = ...,
|
|
193
198
|
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
199
|
+
monitoring: collections.abc.Iterable[global___Monitoring] | None = ...,
|
|
194
200
|
health: global___Cluster.Health.ValueType = ...,
|
|
195
201
|
status: global___Cluster.Status.ValueType = ...,
|
|
196
202
|
deletion_protection: builtins.bool = ...,
|
|
@@ -205,10 +211,34 @@ class Cluster(google.protobuf.message.Message):
|
|
|
205
211
|
planned_operation: yandex.cloud.metastore.v1.maintenance_pb2.MaintenanceOperation | None = ...,
|
|
206
212
|
) -> None: ...
|
|
207
213
|
def HasField(self, field_name: typing.Literal["cluster_config", b"cluster_config", "created_at", b"created_at", "logging", b"logging", "maintenance_window", b"maintenance_window", "network", b"network", "planned_operation", b"planned_operation"]) -> builtins.bool: ...
|
|
208
|
-
def ClearField(self, field_name: typing.Literal["cluster_config", b"cluster_config", "created_at", b"created_at", "deletion_protection", b"deletion_protection", "description", b"description", "endpoint_ip", b"endpoint_ip", "folder_id", b"folder_id", "health", b"health", "id", b"id", "labels", b"labels", "logging", b"logging", "maintenance_window", b"maintenance_window", "name", b"name", "network", b"network", "network_id", b"network_id", "planned_operation", b"planned_operation", "service_account_id", b"service_account_id", "status", b"status", "version", b"version"]) -> None: ...
|
|
214
|
+
def ClearField(self, field_name: typing.Literal["cluster_config", b"cluster_config", "created_at", b"created_at", "deletion_protection", b"deletion_protection", "description", b"description", "endpoint_ip", b"endpoint_ip", "folder_id", b"folder_id", "health", b"health", "id", b"id", "labels", b"labels", "logging", b"logging", "maintenance_window", b"maintenance_window", "monitoring", b"monitoring", "name", b"name", "network", b"network", "network_id", b"network_id", "planned_operation", b"planned_operation", "service_account_id", b"service_account_id", "status", b"status", "version", b"version"]) -> None: ...
|
|
209
215
|
|
|
210
216
|
global___Cluster = Cluster
|
|
211
217
|
|
|
218
|
+
@typing.final
|
|
219
|
+
class Monitoring(google.protobuf.message.Message):
|
|
220
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
221
|
+
|
|
222
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
223
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
224
|
+
LINK_FIELD_NUMBER: builtins.int
|
|
225
|
+
name: builtins.str
|
|
226
|
+
"""Name of the monitoring system."""
|
|
227
|
+
description: builtins.str
|
|
228
|
+
"""Description of the monitoring system."""
|
|
229
|
+
link: builtins.str
|
|
230
|
+
"""Link to the monitoring system."""
|
|
231
|
+
def __init__(
|
|
232
|
+
self,
|
|
233
|
+
*,
|
|
234
|
+
name: builtins.str = ...,
|
|
235
|
+
description: builtins.str = ...,
|
|
236
|
+
link: builtins.str = ...,
|
|
237
|
+
) -> None: ...
|
|
238
|
+
def ClearField(self, field_name: typing.Literal["description", b"description", "link", b"link", "name", b"name"]) -> None: ...
|
|
239
|
+
|
|
240
|
+
global___Monitoring = Monitoring
|
|
241
|
+
|
|
212
242
|
@typing.final
|
|
213
243
|
class ClusterConfig(google.protobuf.message.Message):
|
|
214
244
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -27,7 +27,7 @@ from yandex.cloud.searchapi.v2 import search_query_pb2 as yandex_dot_cloud_dot_s
|
|
|
27
27
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/searchapi/v2/gen_search_service.proto\x12\x19yandex.cloud.searchapi.v2\x1a\x1dyandex/cloud/validation.proto\x1a,yandex/cloud/searchapi/v2/search_query.proto\x1a\x1cgoogle/api/annotations.proto\"i\n\x10GenSearchMessage\x12 \n\x07\x63ontent\x18\x01 \x01(\tB\x0f\xe8\xc7\x31\x01\x8a\xc8\x31\x07<=16384\x12\x33\n\x04role\x18\x02 \x01(\x0e\x32\x1f.yandex.cloud.searchapi.v2.RoleB\x04\xe8\xc7\x31\x01\"\xe4\x08\n\x10GenSearchRequest\x12H\n\x08messages\x18\x01 \x03(\x0b\x32+.yandex.cloud.searchapi.v2.GenSearchMessageB\t\x82\xc8\x31\x05\x31-100\x12\x1f\n\tfolder_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x46\n\x04site\x18\x03 \x01(\x0b\x32\x36.yandex.cloud.searchapi.v2.GenSearchRequest.SiteOptionH\x00\x12\x46\n\x04host\x18\x04 \x01(\x0b\x32\x36.yandex.cloud.searchapi.v2.GenSearchRequest.HostOptionH\x00\x12\x44\n\x03url\x18\x05 \x01(\x0b\x32\x35.yandex.cloud.searchapi.v2.GenSearchRequest.UrlOptionH\x00\x12\x14\n\x0c\x66ix_misspell\x18\x06 \x01(\x08\x12\x18\n\x10\x65nable_nrfm_docs\x18\x07 \x01(\x08\x12Z\n\x0esearch_filters\x18\x08 \x03(\x0b\x32\x38.yandex.cloud.searchapi.v2.GenSearchRequest.SearchFilterB\x08\x82\xc8\x31\x04<=10\x12\x46\n\x0bsearch_type\x18\t \x01(\x0e\x32\x31.yandex.cloud.searchapi.v2.SearchQuery.SearchType\x1a/\n\nSiteOption\x12!\n\x04site\x18\x01 \x03(\tB\x13\x82\xc8\x31\x05<=100\x8a\xc8\x31\x06<=1024\x1a-\n\tUrlOption\x12 \n\x03url\x18\x01 \x03(\tB\x13\x82\xc8\x31\x05<=100\x8a\xc8\x31\x06<=1024\x1a/\n\nHostOption\x12!\n\x04host\x18\x01 \x03(\tB\x13\x82\xc8\x31\x05<=100\x8a\xc8\x31\x06<=1024\x1a\x99\x03\n\x0cSearchFilter\x12\x18\n\x04\x64\x61te\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=25H\x00\x12\x15\n\x04lang\x18\x02 \x01(\tB\x05\x8a\xc8\x31\x01\x32H\x00\x12T\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\x42.yandex.cloud.searchapi.v2.GenSearchRequest.SearchFilter.DocFormatH\x00\"\xef\x01\n\tDocFormat\x12\x1a\n\x16\x44OC_FORMAT_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x44OC_FORMAT_PDF\x10\x01\x12\x12\n\x0e\x44OC_FORMAT_XLS\x10\x02\x12\x12\n\x0e\x44OC_FORMAT_ODS\x10\x03\x12\x12\n\x0e\x44OC_FORMAT_RTF\x10\x04\x12\x12\n\x0e\x44OC_FORMAT_PPT\x10\x05\x12\x12\n\x0e\x44OC_FORMAT_ODP\x10\x06\x12\x12\n\x0e\x44OC_FORMAT_SWF\x10\x07\x12\x12\n\x0e\x44OC_FORMAT_ODT\x10\x08\x12\x12\n\x0e\x44OC_FORMAT_ODG\x10\t\x12\x12\n\x0e\x44OC_FORMAT_DOC\x10\nB\x10\n\x0e\x66ilter_optionsB\x0e\n\x0csite_options\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/searchapi/v2/gen_search_service.proto\x12\x19yandex.cloud.searchapi.v2\x1a\x1dyandex/cloud/validation.proto\x1a,yandex/cloud/searchapi/v2/search_query.proto\x1a\x1cgoogle/api/annotations.proto\"i\n\x10GenSearchMessage\x12 \n\x07\x63ontent\x18\x01 \x01(\tB\x0f\xe8\xc7\x31\x01\x8a\xc8\x31\x07<=16384\x12\x33\n\x04role\x18\x02 \x01(\x0e\x32\x1f.yandex.cloud.searchapi.v2.RoleB\x04\xe8\xc7\x31\x01\"\xe4\x08\n\x10GenSearchRequest\x12H\n\x08messages\x18\x01 \x03(\x0b\x32+.yandex.cloud.searchapi.v2.GenSearchMessageB\t\x82\xc8\x31\x05\x31-100\x12\x1f\n\tfolder_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x46\n\x04site\x18\x03 \x01(\x0b\x32\x36.yandex.cloud.searchapi.v2.GenSearchRequest.SiteOptionH\x00\x12\x46\n\x04host\x18\x04 \x01(\x0b\x32\x36.yandex.cloud.searchapi.v2.GenSearchRequest.HostOptionH\x00\x12\x44\n\x03url\x18\x05 \x01(\x0b\x32\x35.yandex.cloud.searchapi.v2.GenSearchRequest.UrlOptionH\x00\x12\x14\n\x0c\x66ix_misspell\x18\x06 \x01(\x08\x12\x18\n\x10\x65nable_nrfm_docs\x18\x07 \x01(\x08\x12Z\n\x0esearch_filters\x18\x08 \x03(\x0b\x32\x38.yandex.cloud.searchapi.v2.GenSearchRequest.SearchFilterB\x08\x82\xc8\x31\x04<=10\x12\x46\n\x0bsearch_type\x18\t \x01(\x0e\x32\x31.yandex.cloud.searchapi.v2.SearchQuery.SearchType\x1a/\n\nSiteOption\x12!\n\x04site\x18\x01 \x03(\tB\x13\x82\xc8\x31\x05<=100\x8a\xc8\x31\x06<=1024\x1a-\n\tUrlOption\x12 \n\x03url\x18\x01 \x03(\tB\x13\x82\xc8\x31\x05<=100\x8a\xc8\x31\x06<=1024\x1a/\n\nHostOption\x12!\n\x04host\x18\x01 \x03(\tB\x13\x82\xc8\x31\x05<=100\x8a\xc8\x31\x06<=1024\x1a\x99\x03\n\x0cSearchFilter\x12\x18\n\x04\x64\x61te\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=25H\x00\x12\x15\n\x04lang\x18\x02 \x01(\tB\x05\x8a\xc8\x31\x01\x32H\x00\x12T\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\x42.yandex.cloud.searchapi.v2.GenSearchRequest.SearchFilter.DocFormatH\x00\"\xef\x01\n\tDocFormat\x12\x1a\n\x16\x44OC_FORMAT_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x44OC_FORMAT_PDF\x10\x01\x12\x12\n\x0e\x44OC_FORMAT_XLS\x10\x02\x12\x12\n\x0e\x44OC_FORMAT_ODS\x10\x03\x12\x12\n\x0e\x44OC_FORMAT_RTF\x10\x04\x12\x12\n\x0e\x44OC_FORMAT_PPT\x10\x05\x12\x12\n\x0e\x44OC_FORMAT_ODP\x10\x06\x12\x12\n\x0e\x44OC_FORMAT_SWF\x10\x07\x12\x12\n\x0e\x44OC_FORMAT_ODT\x10\x08\x12\x12\n\x0e\x44OC_FORMAT_ODG\x10\t\x12\x12\n\x0e\x44OC_FORMAT_DOC\x10\nB\x10\n\x0e\x66ilter_optionsB\x0e\n\x0csite_options\"\xad\x03\n\x11GenSearchResponse\x12<\n\x07message\x18\x01 \x01(\x0b\x32+.yandex.cloud.searchapi.v2.GenSearchMessage\x12\x44\n\x07sources\x18\x02 \x03(\x0b\x32\x33.yandex.cloud.searchapi.v2.GenSearchResponse.Source\x12P\n\x0esearch_queries\x18\x03 \x03(\x0b\x32\x38.yandex.cloud.searchapi.v2.GenSearchResponse.SearchQuery\x12\x1c\n\x14\x66ixed_misspell_query\x18\x04 \x01(\t\x12\x1a\n\x12is_answer_rejected\x18\x05 \x01(\x08\x12\x18\n\x10is_bullet_answer\x18\x06 \x01(\x08\x12\r\n\x05hints\x18\x07 \x03(\t\x1a\x32\n\x06Source\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0c\n\x04used\x18\x03 \x01(\x08\x1a+\n\x0bSearchQuery\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x0e\n\x06req_id\x18\x02 \x01(\t*?\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\r\n\tROLE_USER\x10\x01\x12\x12\n\x0eROLE_ASSISTANT\x10\x02\x32\x95\x01\n\x10GenSearchService\x12\x80\x01\n\x06Search\x12+.yandex.cloud.searchapi.v2.GenSearchRequest\x1a,.yandex.cloud.searchapi.v2.GenSearchResponse\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/v2/gen/search:\x01*0\x01\x42\x65\n\x1ayandex.cloud.api.search.v2ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/searchapi/v2;searchapib\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -57,8 +57,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
57
57
|
_globals['_GENSEARCHREQUEST'].fields_by_name['search_filters']._serialized_options = b'\202\3101\004<=10'
|
|
58
58
|
_globals['_GENSEARCHSERVICE'].methods_by_name['Search']._loaded_options = None
|
|
59
59
|
_globals['_GENSEARCHSERVICE'].methods_by_name['Search']._serialized_options = b'\202\323\344\223\002\023\"\016/v2/gen/search:\001*'
|
|
60
|
-
_globals['_ROLE']._serialized_start=
|
|
61
|
-
_globals['_ROLE']._serialized_end=
|
|
60
|
+
_globals['_ROLE']._serialized_start=1854
|
|
61
|
+
_globals['_ROLE']._serialized_end=1917
|
|
62
62
|
_globals['_GENSEARCHMESSAGE']._serialized_start=188
|
|
63
63
|
_globals['_GENSEARCHMESSAGE']._serialized_end=293
|
|
64
64
|
_globals['_GENSEARCHREQUEST']._serialized_start=296
|
|
@@ -74,11 +74,11 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
74
74
|
_globals['_GENSEARCHREQUEST_SEARCHFILTER_DOCFORMAT']._serialized_start=1147
|
|
75
75
|
_globals['_GENSEARCHREQUEST_SEARCHFILTER_DOCFORMAT']._serialized_end=1386
|
|
76
76
|
_globals['_GENSEARCHRESPONSE']._serialized_start=1423
|
|
77
|
-
_globals['_GENSEARCHRESPONSE']._serialized_end=
|
|
78
|
-
_globals['_GENSEARCHRESPONSE_SOURCE']._serialized_start=
|
|
79
|
-
_globals['_GENSEARCHRESPONSE_SOURCE']._serialized_end=
|
|
80
|
-
_globals['_GENSEARCHRESPONSE_SEARCHQUERY']._serialized_start=
|
|
81
|
-
_globals['_GENSEARCHRESPONSE_SEARCHQUERY']._serialized_end=
|
|
82
|
-
_globals['_GENSEARCHSERVICE']._serialized_start=
|
|
83
|
-
_globals['_GENSEARCHSERVICE']._serialized_end=
|
|
77
|
+
_globals['_GENSEARCHRESPONSE']._serialized_end=1852
|
|
78
|
+
_globals['_GENSEARCHRESPONSE_SOURCE']._serialized_start=1757
|
|
79
|
+
_globals['_GENSEARCHRESPONSE_SOURCE']._serialized_end=1807
|
|
80
|
+
_globals['_GENSEARCHRESPONSE_SEARCHQUERY']._serialized_start=1809
|
|
81
|
+
_globals['_GENSEARCHRESPONSE_SEARCHQUERY']._serialized_end=1852
|
|
82
|
+
_globals['_GENSEARCHSERVICE']._serialized_start=1920
|
|
83
|
+
_globals['_GENSEARCHSERVICE']._serialized_end=2069
|
|
84
84
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -268,6 +268,7 @@ class GenSearchResponse(google.protobuf.message.Message):
|
|
|
268
268
|
FIXED_MISSPELL_QUERY_FIELD_NUMBER: builtins.int
|
|
269
269
|
IS_ANSWER_REJECTED_FIELD_NUMBER: builtins.int
|
|
270
270
|
IS_BULLET_ANSWER_FIELD_NUMBER: builtins.int
|
|
271
|
+
HINTS_FIELD_NUMBER: builtins.int
|
|
271
272
|
fixed_misspell_query: builtins.str
|
|
272
273
|
"""The text of the search query with fixed misspells."""
|
|
273
274
|
is_answer_rejected: builtins.bool
|
|
@@ -286,6 +287,10 @@ class GenSearchResponse(google.protobuf.message.Message):
|
|
|
286
287
|
def search_queries(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___GenSearchResponse.SearchQuery]:
|
|
287
288
|
"""The search queries, refined by the YandexGPT model and used for the generative response."""
|
|
288
289
|
|
|
290
|
+
@property
|
|
291
|
+
def hints(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
292
|
+
"""Search hints"""
|
|
293
|
+
|
|
289
294
|
def __init__(
|
|
290
295
|
self,
|
|
291
296
|
*,
|
|
@@ -295,8 +300,9 @@ class GenSearchResponse(google.protobuf.message.Message):
|
|
|
295
300
|
fixed_misspell_query: builtins.str = ...,
|
|
296
301
|
is_answer_rejected: builtins.bool = ...,
|
|
297
302
|
is_bullet_answer: builtins.bool = ...,
|
|
303
|
+
hints: collections.abc.Iterable[builtins.str] | None = ...,
|
|
298
304
|
) -> None: ...
|
|
299
305
|
def HasField(self, field_name: typing.Literal["message", b"message"]) -> builtins.bool: ...
|
|
300
|
-
def ClearField(self, field_name: typing.Literal["fixed_misspell_query", b"fixed_misspell_query", "is_answer_rejected", b"is_answer_rejected", "is_bullet_answer", b"is_bullet_answer", "message", b"message", "search_queries", b"search_queries", "sources", b"sources"]) -> None: ...
|
|
306
|
+
def ClearField(self, field_name: typing.Literal["fixed_misspell_query", b"fixed_misspell_query", "hints", b"hints", "is_answer_rejected", b"is_answer_rejected", "is_bullet_answer", b"is_bullet_answer", "message", b"message", "search_queries", b"search_queries", "sources", b"sources"]) -> None: ...
|
|
301
307
|
|
|
302
308
|
global___GenSearchResponse = GenSearchResponse
|
|
@@ -27,7 +27,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
|
27
27
|
from yandex.cloud.smartwebsecurity.v1 import security_profile_pb2 as yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_security__profile__pb2
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6yandex/cloud/smartwebsecurity/v1/waf/waf_profile.proto\x12$yandex.cloud.smartwebsecurity.v1.waf\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x37yandex/cloud/smartwebsecurity/v1/security_profile.proto\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6yandex/cloud/smartwebsecurity/v1/waf/waf_profile.proto\x12$yandex.cloud.smartwebsecurity.v1.waf\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x37yandex/cloud/smartwebsecurity/v1/security_profile.proto\"\xad\x15\n\nWafProfile\x12\x10\n\x02id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x17\n\tfolder_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x16\n\x08\x63loud_id\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x38\n\x04name\x18\x04 \x01(\tB*\xe8\xc7\x31\x01\xf2\xc7\x31\x1a[a-zA-Z0-9][a-zA-Z0-9-_.]*\x8a\xc8\x31\x04\x31-50\x12\x1e\n\x0b\x64\x65scription\x18\x05 \x01(\tB\t\x8a\xc8\x31\x05<=512\x12\x89\x01\n\x06labels\x18\x06 \x03(\x0b\x32<.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.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\x31-63\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x05rules\x18\t \x03(\x0b\x32\x34.yandex.cloud.smartwebsecurity.v1.waf.WafProfileRule\x12V\n\x0f\x65xclusion_rules\x18\n \x03(\x0b\x32=.yandex.cloud.smartwebsecurity.v1.waf.WafProfileExclusionRule\x12U\n\rcore_rule_set\x18\x0b \x01(\x0b\x32<.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.CoreRuleSetH\x00\x12\x65\n\x14\x61nalyze_request_body\x18\x0c \x01(\x0b\x32\x43.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.AnalyzeRequestBodyB\x02\x18\x01\x12U\n\trule_sets\x18\r \x03(\x0b\x32\x42.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.WafProfileRuleSet\x12\x1b\n\x13match_all_rule_sets\x18\x0e \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xa5\x01\n\x0b\x43oreRuleSet\x12*\n\x15inbound_anomaly_score\x18\x01 \x01(\x03\x42\x0b\xfa\xc7\x31\x07\x32-10000\x12#\n\x0eparanoia_level\x18\x02 \x01(\x03\x42\x0b\xfa\xc7\x31\x07\x31,2,3,4\x12\x45\n\x08rule_set\x18\x03 \x01(\x0b\x32-.yandex.cloud.smartwebsecurity.v1.waf.RuleSetB\x04\xe8\xc7\x31\x01\x1a\xf9\x01\n\x12\x41nalyzeRequestBody\x12\x12\n\nis_enabled\x18\x01 \x01(\x08\x12\x30\n\nsize_limit\x18\x02 \x01(\x03\x42\x1c\xfa\xc7\x31\x18\x30,8,16,32,64,128,256,512\x12\x65\n\x11size_limit_action\x18\x03 \x01(\x0e\x32J.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.AnalyzeRequestBody.Action\"6\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\n\n\x06IGNORE\x10\x01\x12\x08\n\x04\x44\x45NY\x10\x02\x1a\x8b\x0b\n\x11WafProfileRuleSet\x12q\n\rcore_rule_set\x18\x01 \x01(\x0b\x32X.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.WafProfileRuleSet.WafProfileCoreRuleSetH\x00\x12m\n\x0bya_rule_set\x18\x02 \x01(\x0b\x32V.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.WafProfileRuleSet.WafProfileYaRuleSetH\x00\x12m\n\x0bml_rule_set\x18\x03 \x01(\x0b\x32V.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.WafProfileRuleSet.WafProfileMlRuleSetH\x00\x12\x1e\n\x08priority\x18\x04 \x01(\x03\x42\x0c\xfa\xc7\x31\x08\x31-999999\x12\x12\n\nis_enabled\x18\x05 \x01(\x08\x12`\n\x06\x61\x63tion\x18\x06 \x01(\x0e\x32P.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.WafProfileRuleSet.RuleSetAction\x1a\xfd\x01\n\tRuleGroup\x12\n\n\x02id\x18\x01 \x01(\t\x12\x63\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32S.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.WafProfileRuleSet.RuleGroup.Action\x12*\n\x15inbound_anomaly_score\x18\x03 \x01(\x03\x42\x0b\xfa\xc7\x31\x07\x31-10000\x12\x12\n\nis_enabled\x18\x04 \x01(\x08\"?\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\x08\n\x04\x44\x45NY\x10\x01\x12\x07\n\x03LOG\x10\x02\x12\n\n\x06IGNORE\x10\x03\x1a\xaf\x01\n\x15WafProfileCoreRuleSet\x12\x45\n\x08rule_set\x18\x01 \x01(\x0b\x32-.yandex.cloud.smartwebsecurity.v1.waf.RuleSetB\x04\xe8\xc7\x31\x01\x12*\n\x15inbound_anomaly_score\x18\x02 \x01(\x03\x42\x0b\xfa\xc7\x31\x07\x32-10000\x12#\n\x0eparanoia_level\x18\x03 \x01(\x03\x42\x0b\xfa\xc7\x31\x07\x31,2,3,4\x1a\xbf\x01\n\x13WafProfileYaRuleSet\x12\x45\n\x08rule_set\x18\x01 \x01(\x0b\x32-.yandex.cloud.smartwebsecurity.v1.waf.RuleSetB\x04\xe8\xc7\x31\x01\x12\x61\n\x0brule_groups\x18\x02 \x03(\x0b\x32L.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.WafProfileRuleSet.RuleGroup\x1a\xbf\x01\n\x13WafProfileMlRuleSet\x12\x45\n\x08rule_set\x18\x01 \x01(\x0b\x32-.yandex.cloud.smartwebsecurity.v1.waf.RuleSetB\x04\xe8\xc7\x31\x01\x12\x61\n\x0brule_groups\x18\x02 \x03(\x0b\x32L.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.WafProfileRuleSet.RuleGroup\"G\n\rRuleSetAction\x12\x1f\n\x1bRULE_SET_ACTION_UNSPECIFIED\x10\x00\x12\x08\n\x04\x44\x45NY\x10\x01\x12\x0b\n\x07\x43\x41PTCHA\x10\x02\x42\x10\n\x08rule_set\x12\x04\xc0\xc1\x31\x01\x42\x10\n\x08rule_set\x12\x04\xc0\xc1\x31\x01J\x04\x08\x08\x10\t\"P\n\x0eWafProfileRule\x12\x15\n\x07rule_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x12\n\nis_enabled\x18\x02 \x01(\x08\x12\x13\n\x0bis_blocking\x18\x03 \x01(\x08\"\xc3\x02\n\x17WafProfileExclusionRule\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1e\n\x0b\x64\x65scription\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=512\x12>\n\tcondition\x18\x03 \x01(\x0b\x32+.yandex.cloud.smartwebsecurity.v1.Condition\x12g\n\rexclude_rules\x18\x04 \x01(\x0b\x32J.yandex.cloud.smartwebsecurity.v1.waf.WafProfileExclusionRule.ExcludeRulesB\x04\xe8\xc7\x31\x01\x12\x14\n\x0clog_excluded\x18\x05 \x01(\x08\x1a\x35\n\x0c\x45xcludeRules\x12\x13\n\x0b\x65xclude_all\x18\x01 \x01(\x08\x12\x10\n\x08rule_ids\x18\x02 \x03(\t\"\xd1\x01\n\x07RuleSet\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x15\n\x07version\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12G\n\x04type\x18\x03 \x01(\x0e\x32\x39.yandex.cloud.smartwebsecurity.v1.waf.RuleSet.RuleSetType\x12\n\n\x02id\x18\x04 \x01(\t\"F\n\x0bRuleSetType\x12\x1d\n\x19RULE_SET_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x43ORE\x10\x01\x12\x06\n\x02YA\x10\x02\x12\x06\n\x02ML\x10\x03\x42\x85\x01\n(yandex.cloud.api.smartwebsecurity.v1.wafZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/smartwebsecurity/v1/waf;smartwebsecurityb\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -45,6 +45,22 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
45
45
|
_globals['_WAFPROFILE_CORERULESET'].fields_by_name['rule_set']._serialized_options = b'\350\3071\001'
|
|
46
46
|
_globals['_WAFPROFILE_ANALYZEREQUESTBODY'].fields_by_name['size_limit']._loaded_options = None
|
|
47
47
|
_globals['_WAFPROFILE_ANALYZEREQUESTBODY'].fields_by_name['size_limit']._serialized_options = b'\372\3071\0300,8,16,32,64,128,256,512'
|
|
48
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_RULEGROUP'].fields_by_name['inbound_anomaly_score']._loaded_options = None
|
|
49
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_RULEGROUP'].fields_by_name['inbound_anomaly_score']._serialized_options = b'\372\3071\0071-10000'
|
|
50
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILECORERULESET'].fields_by_name['rule_set']._loaded_options = None
|
|
51
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILECORERULESET'].fields_by_name['rule_set']._serialized_options = b'\350\3071\001'
|
|
52
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILECORERULESET'].fields_by_name['inbound_anomaly_score']._loaded_options = None
|
|
53
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILECORERULESET'].fields_by_name['inbound_anomaly_score']._serialized_options = b'\372\3071\0072-10000'
|
|
54
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILECORERULESET'].fields_by_name['paranoia_level']._loaded_options = None
|
|
55
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILECORERULESET'].fields_by_name['paranoia_level']._serialized_options = b'\372\3071\0071,2,3,4'
|
|
56
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILEYARULESET'].fields_by_name['rule_set']._loaded_options = None
|
|
57
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILEYARULESET'].fields_by_name['rule_set']._serialized_options = b'\350\3071\001'
|
|
58
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILEMLRULESET'].fields_by_name['rule_set']._loaded_options = None
|
|
59
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILEMLRULESET'].fields_by_name['rule_set']._serialized_options = b'\350\3071\001'
|
|
60
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET'].oneofs_by_name['rule_set']._loaded_options = None
|
|
61
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET'].oneofs_by_name['rule_set']._serialized_options = b'\300\3011\001'
|
|
62
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET'].fields_by_name['priority']._loaded_options = None
|
|
63
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET'].fields_by_name['priority']._serialized_options = b'\372\3071\0101-999999'
|
|
48
64
|
_globals['_WAFPROFILE'].oneofs_by_name['rule_set']._loaded_options = None
|
|
49
65
|
_globals['_WAFPROFILE'].oneofs_by_name['rule_set']._serialized_options = b'\300\3011\001'
|
|
50
66
|
_globals['_WAFPROFILE'].fields_by_name['id']._loaded_options = None
|
|
@@ -74,21 +90,37 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
74
90
|
_globals['_RULESET'].fields_by_name['version']._loaded_options = None
|
|
75
91
|
_globals['_RULESET'].fields_by_name['version']._serialized_options = b'\350\3071\001'
|
|
76
92
|
_globals['_WAFPROFILE']._serialized_start=218
|
|
77
|
-
_globals['_WAFPROFILE']._serialized_end=
|
|
78
|
-
_globals['_WAFPROFILE_LABELSENTRY']._serialized_start=
|
|
79
|
-
_globals['_WAFPROFILE_LABELSENTRY']._serialized_end=
|
|
80
|
-
_globals['_WAFPROFILE_CORERULESET']._serialized_start=
|
|
81
|
-
_globals['_WAFPROFILE_CORERULESET']._serialized_end=
|
|
82
|
-
_globals['_WAFPROFILE_ANALYZEREQUESTBODY']._serialized_start=
|
|
83
|
-
_globals['_WAFPROFILE_ANALYZEREQUESTBODY']._serialized_end=
|
|
84
|
-
_globals['_WAFPROFILE_ANALYZEREQUESTBODY_ACTION']._serialized_start=
|
|
85
|
-
_globals['_WAFPROFILE_ANALYZEREQUESTBODY_ACTION']._serialized_end=
|
|
86
|
-
_globals['
|
|
87
|
-
_globals['
|
|
88
|
-
_globals['
|
|
89
|
-
_globals['
|
|
90
|
-
_globals['
|
|
91
|
-
_globals['
|
|
92
|
-
_globals['
|
|
93
|
-
_globals['
|
|
93
|
+
_globals['_WAFPROFILE']._serialized_end=2951
|
|
94
|
+
_globals['_WAFPROFILE_LABELSENTRY']._serialized_start=1040
|
|
95
|
+
_globals['_WAFPROFILE_LABELSENTRY']._serialized_end=1085
|
|
96
|
+
_globals['_WAFPROFILE_CORERULESET']._serialized_start=1088
|
|
97
|
+
_globals['_WAFPROFILE_CORERULESET']._serialized_end=1253
|
|
98
|
+
_globals['_WAFPROFILE_ANALYZEREQUESTBODY']._serialized_start=1256
|
|
99
|
+
_globals['_WAFPROFILE_ANALYZEREQUESTBODY']._serialized_end=1505
|
|
100
|
+
_globals['_WAFPROFILE_ANALYZEREQUESTBODY_ACTION']._serialized_start=1451
|
|
101
|
+
_globals['_WAFPROFILE_ANALYZEREQUESTBODY_ACTION']._serialized_end=1505
|
|
102
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET']._serialized_start=1508
|
|
103
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET']._serialized_end=2927
|
|
104
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_RULEGROUP']._serialized_start=2017
|
|
105
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_RULEGROUP']._serialized_end=2270
|
|
106
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_RULEGROUP_ACTION']._serialized_start=2207
|
|
107
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_RULEGROUP_ACTION']._serialized_end=2270
|
|
108
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILECORERULESET']._serialized_start=2273
|
|
109
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILECORERULESET']._serialized_end=2448
|
|
110
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILEYARULESET']._serialized_start=2451
|
|
111
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILEYARULESET']._serialized_end=2642
|
|
112
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILEMLRULESET']._serialized_start=2645
|
|
113
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILEMLRULESET']._serialized_end=2836
|
|
114
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_RULESETACTION']._serialized_start=2838
|
|
115
|
+
_globals['_WAFPROFILE_WAFPROFILERULESET_RULESETACTION']._serialized_end=2909
|
|
116
|
+
_globals['_WAFPROFILERULE']._serialized_start=2953
|
|
117
|
+
_globals['_WAFPROFILERULE']._serialized_end=3033
|
|
118
|
+
_globals['_WAFPROFILEEXCLUSIONRULE']._serialized_start=3036
|
|
119
|
+
_globals['_WAFPROFILEEXCLUSIONRULE']._serialized_end=3359
|
|
120
|
+
_globals['_WAFPROFILEEXCLUSIONRULE_EXCLUDERULES']._serialized_start=3306
|
|
121
|
+
_globals['_WAFPROFILEEXCLUSIONRULE_EXCLUDERULES']._serialized_end=3359
|
|
122
|
+
_globals['_RULESET']._serialized_start=3362
|
|
123
|
+
_globals['_RULESET']._serialized_end=3571
|
|
124
|
+
_globals['_RULESET_RULESETTYPE']._serialized_start=3501
|
|
125
|
+
_globals['_RULESET_RULESETTYPE']._serialized_end=3571
|
|
94
126
|
# @@protoc_insertion_point(module_scope)
|