yandexcloud 0.335.0__py3-none-any.whl → 0.336.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.
- yandex/cloud/cic/v1/common/lag_allocation_settings_pb2.py +4 -4
- yandex/cloud/cic/v1/common/lag_allocation_settings_pb2.pyi +3 -9
- yandex/cloud/cic/v1/trunk_connection_pb2.py +5 -5
- yandex/cloud/cic/v1/trunk_connection_pb2.pyi +2 -0
- yandex/cloud/cic/v1/trunk_connection_service_pb2.py +36 -35
- yandex/cloud/cic/v1/trunk_connection_service_pb2.pyi +9 -1
- yandex/cloud/iot/devices/v1/device_pb2.py +4 -4
- yandex/cloud/iot/devices/v1/device_pb2.pyi +6 -2
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.py +22 -22
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.pyi +5 -1
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.py +56 -56
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.pyi +10 -2
- yandex/cloud/lockbox/v1/secret_service_pb2.py +46 -50
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +74 -70
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +151 -5
- yandex/cloud/mdb/clickhouse/v1/user_pb2.py +32 -28
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +198 -10
- yandex/cloud/serverless/eventrouter/v1/bus_pb2.py +17 -7
- yandex/cloud/serverless/eventrouter/v1/bus_pb2.pyi +46 -2
- yandex/cloud/serverless/eventrouter/v1/bus_service_pb2.py +22 -22
- yandex/cloud/serverless/eventrouter/v1/bus_service_pb2.pyi +24 -3
- yandex/cloud/video/v1/channel_pb2.py +10 -4
- yandex/cloud/video/v1/channel_pb2.pyi +73 -2
- yandex/cloud/video/v1/video_pb2.py +20 -19
- yandex/cloud/video/v1/video_pb2.pyi +12 -2
- yandex/cloud/video/v1/video_service_pb2.py +64 -63
- yandex/cloud/video/v1/video_service_pb2.pyi +23 -4
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.335.0.dist-info → yandexcloud-0.336.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.335.0.dist-info → yandexcloud-0.336.0.dist-info}/RECORD +34 -34
- {yandexcloud-0.335.0.dist-info → yandexcloud-0.336.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.335.0.dist-info → yandexcloud-0.336.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.335.0.dist-info → yandexcloud-0.336.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.335.0.dist-info → yandexcloud-0.336.0.dist-info}/top_level.txt +0 -0
|
@@ -386,6 +386,33 @@ class UserSettings(google.protobuf.message.Message):
|
|
|
386
386
|
LOAD_BALANCING_FIRST_OR_RANDOM: UserSettings.LoadBalancing.ValueType # 4
|
|
387
387
|
LOAD_BALANCING_ROUND_ROBIN: UserSettings.LoadBalancing.ValueType # 5
|
|
388
388
|
|
|
389
|
+
class _QueryCacheNondeterministicFunctionHandling:
|
|
390
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
391
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
392
|
+
|
|
393
|
+
class _QueryCacheNondeterministicFunctionHandlingEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[UserSettings._QueryCacheNondeterministicFunctionHandling.ValueType], builtins.type):
|
|
394
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
395
|
+
QUERY_CACHE_NONDETERMINISTIC_FUNCTION_HANDLING_UNSPECIFIED: UserSettings._QueryCacheNondeterministicFunctionHandling.ValueType # 0
|
|
396
|
+
QUERY_CACHE_NONDETERMINISTIC_FUNCTION_HANDLING_THROW: UserSettings._QueryCacheNondeterministicFunctionHandling.ValueType # 1
|
|
397
|
+
"""Throw an exception and don't cache the query result."""
|
|
398
|
+
QUERY_CACHE_NONDETERMINISTIC_FUNCTION_HANDLING_SAVE: UserSettings._QueryCacheNondeterministicFunctionHandling.ValueType # 2
|
|
399
|
+
"""Cache the query result."""
|
|
400
|
+
QUERY_CACHE_NONDETERMINISTIC_FUNCTION_HANDLING_IGNORE: UserSettings._QueryCacheNondeterministicFunctionHandling.ValueType # 3
|
|
401
|
+
"""Don't cache the query result and don't throw an exception."""
|
|
402
|
+
|
|
403
|
+
class QueryCacheNondeterministicFunctionHandling(_QueryCacheNondeterministicFunctionHandling, metaclass=_QueryCacheNondeterministicFunctionHandlingEnumTypeWrapper):
|
|
404
|
+
"""Controls how the query cache handles SELECT queries with non-deterministic functions like rand() or now().
|
|
405
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#query_cache_nondeterministic_function_handling).
|
|
406
|
+
"""
|
|
407
|
+
|
|
408
|
+
QUERY_CACHE_NONDETERMINISTIC_FUNCTION_HANDLING_UNSPECIFIED: UserSettings.QueryCacheNondeterministicFunctionHandling.ValueType # 0
|
|
409
|
+
QUERY_CACHE_NONDETERMINISTIC_FUNCTION_HANDLING_THROW: UserSettings.QueryCacheNondeterministicFunctionHandling.ValueType # 1
|
|
410
|
+
"""Throw an exception and don't cache the query result."""
|
|
411
|
+
QUERY_CACHE_NONDETERMINISTIC_FUNCTION_HANDLING_SAVE: UserSettings.QueryCacheNondeterministicFunctionHandling.ValueType # 2
|
|
412
|
+
"""Cache the query result."""
|
|
413
|
+
QUERY_CACHE_NONDETERMINISTIC_FUNCTION_HANDLING_IGNORE: UserSettings.QueryCacheNondeterministicFunctionHandling.ValueType # 3
|
|
414
|
+
"""Don't cache the query result and don't throw an exception."""
|
|
415
|
+
|
|
389
416
|
READONLY_FIELD_NUMBER: builtins.int
|
|
390
417
|
ALLOW_DDL_FIELD_NUMBER: builtins.int
|
|
391
418
|
ALLOW_INTROSPECTION_FUNCTIONS_FIELD_NUMBER: builtins.int
|
|
@@ -490,6 +517,8 @@ class UserSettings(google.protobuf.message.Message):
|
|
|
490
517
|
ADD_HTTP_CORS_HEADER_FIELD_NUMBER: builtins.int
|
|
491
518
|
CANCEL_HTTP_READONLY_QUERIES_ON_CLIENT_CLOSE_FIELD_NUMBER: builtins.int
|
|
492
519
|
MAX_HTTP_GET_REDIRECTS_FIELD_NUMBER: builtins.int
|
|
520
|
+
HTTP_MAX_FIELD_NAME_SIZE_FIELD_NUMBER: builtins.int
|
|
521
|
+
HTTP_MAX_FIELD_VALUE_SIZE_FIELD_NUMBER: builtins.int
|
|
493
522
|
JOINED_SUBQUERY_REQUIRES_ALIAS_FIELD_NUMBER: builtins.int
|
|
494
523
|
JOIN_USE_NULLS_FIELD_NUMBER: builtins.int
|
|
495
524
|
TRANSFORM_NULL_IN_FIELD_NUMBER: builtins.int
|
|
@@ -504,12 +533,14 @@ class UserSettings(google.protobuf.message.Message):
|
|
|
504
533
|
WAIT_FOR_ASYNC_INSERT_TIMEOUT_FIELD_NUMBER: builtins.int
|
|
505
534
|
ASYNC_INSERT_MAX_DATA_SIZE_FIELD_NUMBER: builtins.int
|
|
506
535
|
ASYNC_INSERT_BUSY_TIMEOUT_FIELD_NUMBER: builtins.int
|
|
507
|
-
|
|
536
|
+
ASYNC_INSERT_USE_ADAPTIVE_BUSY_TIMEOUT_FIELD_NUMBER: builtins.int
|
|
508
537
|
MEMORY_PROFILER_STEP_FIELD_NUMBER: builtins.int
|
|
509
538
|
MEMORY_PROFILER_SAMPLE_PROBABILITY_FIELD_NUMBER: builtins.int
|
|
510
539
|
MAX_FINAL_THREADS_FIELD_NUMBER: builtins.int
|
|
511
540
|
INPUT_FORMAT_PARALLEL_PARSING_FIELD_NUMBER: builtins.int
|
|
512
541
|
INPUT_FORMAT_IMPORT_NESTED_JSON_FIELD_NUMBER: builtins.int
|
|
542
|
+
FORMAT_AVRO_SCHEMA_REGISTRY_URL_FIELD_NUMBER: builtins.int
|
|
543
|
+
DATA_TYPE_DEFAULT_NULLABLE_FIELD_NUMBER: builtins.int
|
|
513
544
|
LOCAL_FILESYSTEM_READ_METHOD_FIELD_NUMBER: builtins.int
|
|
514
545
|
MAX_READ_BUFFER_SIZE_FIELD_NUMBER: builtins.int
|
|
515
546
|
INSERT_KEEPER_MAX_RETRIES_FIELD_NUMBER: builtins.int
|
|
@@ -521,14 +552,31 @@ class UserSettings(google.protobuf.message.Message):
|
|
|
521
552
|
MEMORY_OVERCOMMIT_RATIO_DENOMINATOR_FOR_USER_FIELD_NUMBER: builtins.int
|
|
522
553
|
MEMORY_USAGE_OVERCOMMIT_MAX_WAIT_MICROSECONDS_FIELD_NUMBER: builtins.int
|
|
523
554
|
LOG_QUERY_THREADS_FIELD_NUMBER: builtins.int
|
|
555
|
+
LOG_QUERY_VIEWS_FIELD_NUMBER: builtins.int
|
|
556
|
+
LOG_QUERIES_PROBABILITY_FIELD_NUMBER: builtins.int
|
|
557
|
+
LOG_PROCESSORS_PROFILES_FIELD_NUMBER: builtins.int
|
|
558
|
+
USE_QUERY_CACHE_FIELD_NUMBER: builtins.int
|
|
559
|
+
ENABLE_READS_FROM_QUERY_CACHE_FIELD_NUMBER: builtins.int
|
|
560
|
+
ENABLE_WRITES_TO_QUERY_CACHE_FIELD_NUMBER: builtins.int
|
|
561
|
+
QUERY_CACHE_MIN_QUERY_RUNS_FIELD_NUMBER: builtins.int
|
|
562
|
+
QUERY_CACHE_MIN_QUERY_DURATION_FIELD_NUMBER: builtins.int
|
|
563
|
+
QUERY_CACHE_TTL_FIELD_NUMBER: builtins.int
|
|
564
|
+
QUERY_CACHE_MAX_ENTRIES_FIELD_NUMBER: builtins.int
|
|
565
|
+
QUERY_CACHE_MAX_SIZE_IN_BYTES_FIELD_NUMBER: builtins.int
|
|
566
|
+
QUERY_CACHE_TAG_FIELD_NUMBER: builtins.int
|
|
567
|
+
QUERY_CACHE_SHARE_BETWEEN_USERS_FIELD_NUMBER: builtins.int
|
|
568
|
+
QUERY_CACHE_NONDETERMINISTIC_FUNCTION_HANDLING_FIELD_NUMBER: builtins.int
|
|
524
569
|
MAX_INSERT_THREADS_FIELD_NUMBER: builtins.int
|
|
525
570
|
USE_HEDGED_REQUESTS_FIELD_NUMBER: builtins.int
|
|
526
571
|
IDLE_CONNECTION_TIMEOUT_FIELD_NUMBER: builtins.int
|
|
527
572
|
HEDGED_CONNECTION_TIMEOUT_MS_FIELD_NUMBER: builtins.int
|
|
528
573
|
LOAD_BALANCING_FIELD_NUMBER: builtins.int
|
|
529
574
|
PREFER_LOCALHOST_REPLICA_FIELD_NUMBER: builtins.int
|
|
575
|
+
DO_NOT_MERGE_ACROSS_PARTITIONS_SELECT_FINAL_FIELD_NUMBER: builtins.int
|
|
576
|
+
IGNORE_MATERIALIZED_VIEWS_WITH_DROPPED_TARGET_TABLE_FIELD_NUMBER: builtins.int
|
|
530
577
|
COMPILE_FIELD_NUMBER: builtins.int
|
|
531
578
|
MIN_COUNT_TO_COMPILE_FIELD_NUMBER: builtins.int
|
|
579
|
+
ASYNC_INSERT_STALE_TIMEOUT_FIELD_NUMBER: builtins.int
|
|
532
580
|
distributed_product_mode: global___UserSettings.DistributedProductMode.ValueType
|
|
533
581
|
"""Determine the behavior of distributed subqueries.
|
|
534
582
|
|
|
@@ -597,6 +645,10 @@ class UserSettings(google.protobuf.message.Message):
|
|
|
597
645
|
"""Regular expression (for Regexp format)"""
|
|
598
646
|
format_regexp_escaping_rule: global___UserSettings.FormatRegexpEscapingRule.ValueType
|
|
599
647
|
"""See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_escaping_rule)."""
|
|
648
|
+
format_avro_schema_registry_url: builtins.str
|
|
649
|
+
"""Avro schema registry URL.
|
|
650
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/formats#format_avro_schema_registry_url).
|
|
651
|
+
"""
|
|
600
652
|
local_filesystem_read_method: global___UserSettings.LocalFilesystemReadMethod.ValueType
|
|
601
653
|
"""Method of reading data from local filesystem, one of: read, pread, mmap, io_uring, pread_threadpool. The 'io_uring' method is experimental and does not work for Log, TinyLog, StripeLog, File, Set and Join, and other tables with append-able files in presence of concurrent reads and writes."""
|
|
602
654
|
remote_filesystem_read_method: global___UserSettings.RemoteFilesystemReadMethod.ValueType
|
|
@@ -605,6 +657,14 @@ class UserSettings(google.protobuf.message.Message):
|
|
|
605
657
|
Min_version: 21.11
|
|
606
658
|
See in-depth description in [ClickHouse GitHub](https://github.com/ClickHouse/ClickHouse/blob/f9558345e886876b9132d9c018e357f7fa9b22a3/src/Core/Settings.h#L660)
|
|
607
659
|
"""
|
|
660
|
+
query_cache_tag: builtins.str
|
|
661
|
+
"""A string which acts as a label for query cache entries. The same queries with different tags are considered different by the query cache.
|
|
662
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#query_cache_tag).
|
|
663
|
+
"""
|
|
664
|
+
query_cache_nondeterministic_function_handling: global___UserSettings.QueryCacheNondeterministicFunctionHandling.ValueType
|
|
665
|
+
"""Controls how the query cache handles SELECT queries with non-deterministic functions like rand() or now().
|
|
666
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#query_cache_nondeterministic_function_handling).
|
|
667
|
+
"""
|
|
608
668
|
load_balancing: global___UserSettings.LoadBalancing.ValueType
|
|
609
669
|
"""Specifies the algorithm of replicas selection that is used for distributed query processing, one of: random, nearest_hostname, in_order, first_or_random, round_robin.
|
|
610
670
|
Default: random
|
|
@@ -1389,6 +1449,18 @@ class UserSettings(google.protobuf.message.Message):
|
|
|
1389
1449
|
More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_http_get_redirects).
|
|
1390
1450
|
"""
|
|
1391
1451
|
|
|
1452
|
+
@property
|
|
1453
|
+
def http_max_field_name_size(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1454
|
+
"""Maximum length of field name in HTTP header.
|
|
1455
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#http_max_field_name_size).
|
|
1456
|
+
"""
|
|
1457
|
+
|
|
1458
|
+
@property
|
|
1459
|
+
def http_max_field_value_size(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1460
|
+
"""Maximum length of field value in HTTP header.
|
|
1461
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#http_max_field_value_size).
|
|
1462
|
+
"""
|
|
1463
|
+
|
|
1392
1464
|
@property
|
|
1393
1465
|
def joined_subquery_requires_alias(self) -> google.protobuf.wrappers_pb2.BoolValue: ...
|
|
1394
1466
|
@property
|
|
@@ -1459,10 +1531,9 @@ class UserSettings(google.protobuf.message.Message):
|
|
|
1459
1531
|
"""
|
|
1460
1532
|
|
|
1461
1533
|
@property
|
|
1462
|
-
def
|
|
1463
|
-
"""
|
|
1464
|
-
|
|
1465
|
-
More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-stale-timeout-ms).
|
|
1534
|
+
def async_insert_use_adaptive_busy_timeout(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
1535
|
+
"""If it is set to true, use adaptive busy timeout for asynchronous inserts.
|
|
1536
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#async_insert_use_adaptive_busy_timeout).
|
|
1466
1537
|
"""
|
|
1467
1538
|
|
|
1468
1539
|
@property
|
|
@@ -1499,6 +1570,12 @@ class UserSettings(google.protobuf.message.Message):
|
|
|
1499
1570
|
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
|
|
1500
1571
|
"""
|
|
1501
1572
|
|
|
1573
|
+
@property
|
|
1574
|
+
def data_type_default_nullable(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
1575
|
+
"""Allows data types without explicit modifiers NULL or NOT NULL in column definition will be Nullable.
|
|
1576
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#data_type_default_nullable).
|
|
1577
|
+
"""
|
|
1578
|
+
|
|
1502
1579
|
@property
|
|
1503
1580
|
def max_read_buffer_size(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1504
1581
|
"""The maximum size of the buffer to read from the filesystem.
|
|
@@ -1564,10 +1641,83 @@ class UserSettings(google.protobuf.message.Message):
|
|
|
1564
1641
|
@property
|
|
1565
1642
|
def log_query_threads(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
1566
1643
|
"""Setting up query threads logging. Query threads log into the [system.query_thread_log](https://clickhouse.com/docs/en/operations/system-tables/query_thread_log) table. This setting has effect only when [log_queries](https://clickhouse.com/docs/en/operations/settings/settings#log-queries) is true. Queries threads run by ClickHouse with this setup are logged according to the rules in the [query_thread_log](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings#server_configuration_parameters-query_thread_log) server configuration parameter.
|
|
1567
|
-
Default:
|
|
1644
|
+
Default: false
|
|
1568
1645
|
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#log_query_threads)
|
|
1569
1646
|
"""
|
|
1570
1647
|
|
|
1648
|
+
@property
|
|
1649
|
+
def log_query_views(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
1650
|
+
"""Enables or disables query views logging to the the system.query_view_log table.
|
|
1651
|
+
Default: true
|
|
1652
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#log_query_views)
|
|
1653
|
+
"""
|
|
1654
|
+
|
|
1655
|
+
@property
|
|
1656
|
+
def log_queries_probability(self) -> google.protobuf.wrappers_pb2.DoubleValue:
|
|
1657
|
+
"""Log queries with the specified probability.
|
|
1658
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#log_queries_probability).
|
|
1659
|
+
"""
|
|
1660
|
+
|
|
1661
|
+
@property
|
|
1662
|
+
def log_processors_profiles(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
1663
|
+
"""Enabled or disable logging of processors level profiling data to the the system.log_processors_profiles table.
|
|
1664
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#log_processors_profiles).
|
|
1665
|
+
"""
|
|
1666
|
+
|
|
1667
|
+
@property
|
|
1668
|
+
def use_query_cache(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
1669
|
+
"""If turned on, SELECT queries may utilize the query cache.
|
|
1670
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#use_query_cache).
|
|
1671
|
+
"""
|
|
1672
|
+
|
|
1673
|
+
@property
|
|
1674
|
+
def enable_reads_from_query_cache(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
1675
|
+
"""If turned on, results of SELECT queries are retrieved from the query cache.
|
|
1676
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#enable_reads_from_query_cache).
|
|
1677
|
+
"""
|
|
1678
|
+
|
|
1679
|
+
@property
|
|
1680
|
+
def enable_writes_to_query_cache(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
1681
|
+
"""If turned on, results of SELECT queries are stored in the query cache.
|
|
1682
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#enable_writes_to_query_cache).
|
|
1683
|
+
"""
|
|
1684
|
+
|
|
1685
|
+
@property
|
|
1686
|
+
def query_cache_min_query_runs(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1687
|
+
"""Minimum number of times a SELECT query must run before its result is stored in the query cache.
|
|
1688
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#query_cache_min_query_runs).
|
|
1689
|
+
"""
|
|
1690
|
+
|
|
1691
|
+
@property
|
|
1692
|
+
def query_cache_min_query_duration(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1693
|
+
"""Minimum duration in milliseconds a query needs to run for its result to be stored in the query cache.
|
|
1694
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#query_cache_min_query_duration).
|
|
1695
|
+
"""
|
|
1696
|
+
|
|
1697
|
+
@property
|
|
1698
|
+
def query_cache_ttl(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1699
|
+
"""After this time in seconds entries in the query cache become stale.
|
|
1700
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#query_cache_ttl).
|
|
1701
|
+
"""
|
|
1702
|
+
|
|
1703
|
+
@property
|
|
1704
|
+
def query_cache_max_entries(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1705
|
+
"""The maximum number of query results the current user may store in the query cache. 0 means unlimited.
|
|
1706
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#query_cache_max_entries).
|
|
1707
|
+
"""
|
|
1708
|
+
|
|
1709
|
+
@property
|
|
1710
|
+
def query_cache_max_size_in_bytes(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1711
|
+
"""The maximum amount of memory (in bytes) the current user may allocate in the query cache. 0 means unlimited.
|
|
1712
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#query_cache_max_size_in_bytes).
|
|
1713
|
+
"""
|
|
1714
|
+
|
|
1715
|
+
@property
|
|
1716
|
+
def query_cache_share_between_users(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
1717
|
+
"""If turned on, the result of SELECT queries cached in the query cache can be read by other users. It is not recommended to enable this setting due to security reasons.
|
|
1718
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#query_cache_share_between_users).
|
|
1719
|
+
"""
|
|
1720
|
+
|
|
1571
1721
|
@property
|
|
1572
1722
|
def max_insert_threads(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1573
1723
|
"""The maximum number of threads to execute the INSERT SELECT query.
|
|
@@ -1598,11 +1748,24 @@ class UserSettings(google.protobuf.message.Message):
|
|
|
1598
1748
|
|
|
1599
1749
|
@property
|
|
1600
1750
|
def prefer_localhost_replica(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
1601
|
-
"""Enables
|
|
1751
|
+
"""Enables or disables preferable using the localhost replica when processing distributed queries.
|
|
1602
1752
|
Default: true
|
|
1603
1753
|
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#prefer_localhost_replica)
|
|
1604
1754
|
"""
|
|
1605
1755
|
|
|
1756
|
+
@property
|
|
1757
|
+
def do_not_merge_across_partitions_select_final(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
1758
|
+
"""Enables or disable independent processing of partitions for SELECT queries with FINAL.
|
|
1759
|
+
Default: false
|
|
1760
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/guides/replacing-merge-tree#exploiting-partitions-with-replacingmergetree)
|
|
1761
|
+
"""
|
|
1762
|
+
|
|
1763
|
+
@property
|
|
1764
|
+
def ignore_materialized_views_with_dropped_target_table(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
1765
|
+
"""Ignore materialized views with dropped target table during pushing to views.
|
|
1766
|
+
See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#ignore_materialized_views_with_dropped_target_table).
|
|
1767
|
+
"""
|
|
1768
|
+
|
|
1606
1769
|
@property
|
|
1607
1770
|
def compile(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
1608
1771
|
"""The setting is deprecated and has no effect."""
|
|
@@ -1611,6 +1774,10 @@ class UserSettings(google.protobuf.message.Message):
|
|
|
1611
1774
|
def min_count_to_compile(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1612
1775
|
"""The setting is deprecated and has no effect."""
|
|
1613
1776
|
|
|
1777
|
+
@property
|
|
1778
|
+
def async_insert_stale_timeout(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1779
|
+
"""The setting is deprecated and has no effect."""
|
|
1780
|
+
|
|
1614
1781
|
def __init__(
|
|
1615
1782
|
self,
|
|
1616
1783
|
*,
|
|
@@ -1718,6 +1885,8 @@ class UserSettings(google.protobuf.message.Message):
|
|
|
1718
1885
|
add_http_cors_header: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1719
1886
|
cancel_http_readonly_queries_on_client_close: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1720
1887
|
max_http_get_redirects: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1888
|
+
http_max_field_name_size: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1889
|
+
http_max_field_value_size: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1721
1890
|
joined_subquery_requires_alias: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1722
1891
|
join_use_nulls: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1723
1892
|
transform_null_in: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
@@ -1732,12 +1901,14 @@ class UserSettings(google.protobuf.message.Message):
|
|
|
1732
1901
|
wait_for_async_insert_timeout: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1733
1902
|
async_insert_max_data_size: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1734
1903
|
async_insert_busy_timeout: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1735
|
-
|
|
1904
|
+
async_insert_use_adaptive_busy_timeout: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1736
1905
|
memory_profiler_step: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1737
1906
|
memory_profiler_sample_probability: google.protobuf.wrappers_pb2.DoubleValue | None = ...,
|
|
1738
1907
|
max_final_threads: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1739
1908
|
input_format_parallel_parsing: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1740
1909
|
input_format_import_nested_json: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1910
|
+
format_avro_schema_registry_url: builtins.str = ...,
|
|
1911
|
+
data_type_default_nullable: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1741
1912
|
local_filesystem_read_method: global___UserSettings.LocalFilesystemReadMethod.ValueType = ...,
|
|
1742
1913
|
max_read_buffer_size: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1743
1914
|
insert_keeper_max_retries: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
@@ -1749,17 +1920,34 @@ class UserSettings(google.protobuf.message.Message):
|
|
|
1749
1920
|
memory_overcommit_ratio_denominator_for_user: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1750
1921
|
memory_usage_overcommit_max_wait_microseconds: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1751
1922
|
log_query_threads: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1923
|
+
log_query_views: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1924
|
+
log_queries_probability: google.protobuf.wrappers_pb2.DoubleValue | None = ...,
|
|
1925
|
+
log_processors_profiles: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1926
|
+
use_query_cache: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1927
|
+
enable_reads_from_query_cache: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1928
|
+
enable_writes_to_query_cache: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1929
|
+
query_cache_min_query_runs: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1930
|
+
query_cache_min_query_duration: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1931
|
+
query_cache_ttl: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1932
|
+
query_cache_max_entries: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1933
|
+
query_cache_max_size_in_bytes: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1934
|
+
query_cache_tag: builtins.str = ...,
|
|
1935
|
+
query_cache_share_between_users: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1936
|
+
query_cache_nondeterministic_function_handling: global___UserSettings.QueryCacheNondeterministicFunctionHandling.ValueType = ...,
|
|
1752
1937
|
max_insert_threads: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1753
1938
|
use_hedged_requests: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1754
1939
|
idle_connection_timeout: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1755
1940
|
hedged_connection_timeout_ms: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1756
1941
|
load_balancing: global___UserSettings.LoadBalancing.ValueType = ...,
|
|
1757
1942
|
prefer_localhost_replica: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1943
|
+
do_not_merge_across_partitions_select_final: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1944
|
+
ignore_materialized_views_with_dropped_target_table: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1758
1945
|
compile: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1759
1946
|
min_count_to_compile: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1947
|
+
async_insert_stale_timeout: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1760
1948
|
) -> None: ...
|
|
1761
|
-
def HasField(self, field_name: typing.Literal["add_http_cors_header", b"add_http_cors_header", "allow_ddl", b"allow_ddl", "allow_introspection_functions", b"allow_introspection_functions", "allow_suspicious_low_cardinality_types", b"allow_suspicious_low_cardinality_types", "any_join_distinct_right_table_keys", b"any_join_distinct_right_table_keys", "async_insert", b"async_insert", "async_insert_busy_timeout", b"async_insert_busy_timeout", "async_insert_max_data_size", b"async_insert_max_data_size", "async_insert_stale_timeout", b"async_insert_stale_timeout", "async_insert_threads", b"async_insert_threads", "cancel_http_readonly_queries_on_client_close", b"cancel_http_readonly_queries_on_client_close", "compile", b"compile", "compile_expressions", b"compile_expressions", "connect_timeout", b"connect_timeout", "connect_timeout_with_failover", b"connect_timeout_with_failover", "deduplicate_blocks_in_dependent_materialized_views", b"deduplicate_blocks_in_dependent_materialized_views", "distributed_aggregation_memory_efficient", b"distributed_aggregation_memory_efficient", "distributed_ddl_task_timeout", b"distributed_ddl_task_timeout", "empty_result_for_aggregation_by_empty_set", b"empty_result_for_aggregation_by_empty_set", "enable_http_compression", b"enable_http_compression", "fallback_to_stale_replicas_for_distributed_queries", b"fallback_to_stale_replicas_for_distributed_queries", "flatten_nested", b"flatten_nested", "force_index_by_date", b"force_index_by_date", "force_primary_key", b"force_primary_key", "format_regexp_skip_unmatched", b"format_regexp_skip_unmatched", "group_by_two_level_threshold", b"group_by_two_level_threshold", "group_by_two_level_threshold_bytes", b"group_by_two_level_threshold_bytes", "hedged_connection_timeout_ms", b"hedged_connection_timeout_ms", "http_connection_timeout", b"http_connection_timeout", "http_headers_progress_interval", b"http_headers_progress_interval", "http_receive_timeout", b"http_receive_timeout", "http_send_timeout", b"http_send_timeout", "idle_connection_timeout", b"idle_connection_timeout", "input_format_defaults_for_omitted_fields", b"input_format_defaults_for_omitted_fields", "input_format_import_nested_json", b"input_format_import_nested_json", "input_format_null_as_default", b"input_format_null_as_default", "input_format_parallel_parsing", b"input_format_parallel_parsing", "input_format_values_interpret_expressions", b"input_format_values_interpret_expressions", "input_format_with_names_use_header", b"input_format_with_names_use_header", "insert_keeper_max_retries", b"insert_keeper_max_retries", "insert_null_as_default", b"insert_null_as_default", "insert_quorum", b"insert_quorum", "insert_quorum_parallel", b"insert_quorum_parallel", "insert_quorum_timeout", b"insert_quorum_timeout", "join_use_nulls", b"join_use_nulls", "joined_subquery_requires_alias", b"joined_subquery_requires_alias", "log_query_threads", b"log_query_threads", "low_cardinality_allow_in_native_format", b"low_cardinality_allow_in_native_format", "max_ast_depth", b"max_ast_depth", "max_ast_elements", b"max_ast_elements", "max_block_size", b"max_block_size", "max_bytes_before_external_group_by", b"max_bytes_before_external_group_by", "max_bytes_before_external_sort", b"max_bytes_before_external_sort", "max_bytes_in_distinct", b"max_bytes_in_distinct", "max_bytes_in_join", b"max_bytes_in_join", "max_bytes_in_set", b"max_bytes_in_set", "max_bytes_to_read", b"max_bytes_to_read", "max_bytes_to_sort", b"max_bytes_to_sort", "max_bytes_to_transfer", b"max_bytes_to_transfer", "max_columns_to_read", b"max_columns_to_read", "max_concurrent_queries_for_user", b"max_concurrent_queries_for_user", "max_execution_time", b"max_execution_time", "max_expanded_ast_elements", b"max_expanded_ast_elements", "max_final_threads", b"max_final_threads", "max_http_get_redirects", b"max_http_get_redirects", "max_insert_block_size", b"max_insert_block_size", "max_insert_threads", b"max_insert_threads", "max_memory_usage", b"max_memory_usage", "max_memory_usage_for_user", b"max_memory_usage_for_user", "max_network_bandwidth", b"max_network_bandwidth", "max_network_bandwidth_for_user", b"max_network_bandwidth_for_user", "max_parser_depth", b"max_parser_depth", "max_partitions_per_insert_block", b"max_partitions_per_insert_block", "max_query_size", b"max_query_size", "max_read_buffer_size", b"max_read_buffer_size", "max_replica_delay_for_distributed_queries", b"max_replica_delay_for_distributed_queries", "max_result_bytes", b"max_result_bytes", "max_result_rows", b"max_result_rows", "max_rows_in_distinct", b"max_rows_in_distinct", "max_rows_in_join", b"max_rows_in_join", "max_rows_in_set", b"max_rows_in_set", "max_rows_to_group_by", b"max_rows_to_group_by", "max_rows_to_read", b"max_rows_to_read", "max_rows_to_sort", b"max_rows_to_sort", "max_rows_to_transfer", b"max_rows_to_transfer", "max_temporary_columns", b"max_temporary_columns", "max_temporary_data_on_disk_size_for_query", b"max_temporary_data_on_disk_size_for_query", "max_temporary_data_on_disk_size_for_user", b"max_temporary_data_on_disk_size_for_user", "max_temporary_non_const_columns", b"max_temporary_non_const_columns", "max_threads", b"max_threads", "memory_overcommit_ratio_denominator", b"memory_overcommit_ratio_denominator", "memory_overcommit_ratio_denominator_for_user", b"memory_overcommit_ratio_denominator_for_user", "memory_profiler_sample_probability", b"memory_profiler_sample_probability", "memory_profiler_step", b"memory_profiler_step", "memory_usage_overcommit_max_wait_microseconds", b"memory_usage_overcommit_max_wait_microseconds", "merge_tree_max_bytes_to_use_cache", b"merge_tree_max_bytes_to_use_cache", "merge_tree_max_rows_to_use_cache", b"merge_tree_max_rows_to_use_cache", "merge_tree_min_bytes_for_concurrent_read", b"merge_tree_min_bytes_for_concurrent_read", "merge_tree_min_rows_for_concurrent_read", b"merge_tree_min_rows_for_concurrent_read", "min_bytes_to_use_direct_io", b"min_bytes_to_use_direct_io", "min_count_to_compile", b"min_count_to_compile", "min_count_to_compile_expression", b"min_count_to_compile_expression", "min_execution_speed", b"min_execution_speed", "min_execution_speed_bytes", b"min_execution_speed_bytes", "min_insert_block_size_bytes", b"min_insert_block_size_bytes", "min_insert_block_size_rows", b"min_insert_block_size_rows", "output_format_json_quote_64bit_integers", b"output_format_json_quote_64bit_integers", "output_format_json_quote_denormals", b"output_format_json_quote_denormals", "prefer_localhost_replica", b"prefer_localhost_replica", "priority", b"priority", "readonly", b"readonly", "receive_timeout", b"receive_timeout", "replication_alter_partitions_sync", b"replication_alter_partitions_sync", "select_sequential_consistency", b"select_sequential_consistency", "send_progress_in_http_headers", b"send_progress_in_http_headers", "send_timeout", b"send_timeout", "skip_unavailable_shards", b"skip_unavailable_shards", "timeout_before_checking_execution_speed", b"timeout_before_checking_execution_speed", "transform_null_in", b"transform_null_in", "use_hedged_requests", b"use_hedged_requests", "use_uncompressed_cache", b"use_uncompressed_cache", "wait_for_async_insert", b"wait_for_async_insert", "wait_for_async_insert_timeout", b"wait_for_async_insert_timeout"]) -> builtins.bool: ...
|
|
1762
|
-
def ClearField(self, field_name: typing.Literal["add_http_cors_header", b"add_http_cors_header", "allow_ddl", b"allow_ddl", "allow_introspection_functions", b"allow_introspection_functions", "allow_suspicious_low_cardinality_types", b"allow_suspicious_low_cardinality_types", "any_join_distinct_right_table_keys", b"any_join_distinct_right_table_keys", "async_insert", b"async_insert", "async_insert_busy_timeout", b"async_insert_busy_timeout", "async_insert_max_data_size", b"async_insert_max_data_size", "async_insert_stale_timeout", b"async_insert_stale_timeout", "async_insert_threads", b"async_insert_threads", "cancel_http_readonly_queries_on_client_close", b"cancel_http_readonly_queries_on_client_close", "compile", b"compile", "compile_expressions", b"compile_expressions", "connect_timeout", b"connect_timeout", "connect_timeout_with_failover", b"connect_timeout_with_failover", "count_distinct_implementation", b"count_distinct_implementation", "date_time_input_format", b"date_time_input_format", "date_time_output_format", b"date_time_output_format", "deduplicate_blocks_in_dependent_materialized_views", b"deduplicate_blocks_in_dependent_materialized_views", "distinct_overflow_mode", b"distinct_overflow_mode", "distributed_aggregation_memory_efficient", b"distributed_aggregation_memory_efficient", "distributed_ddl_task_timeout", b"distributed_ddl_task_timeout", "distributed_product_mode", b"distributed_product_mode", "empty_result_for_aggregation_by_empty_set", b"empty_result_for_aggregation_by_empty_set", "enable_http_compression", b"enable_http_compression", "fallback_to_stale_replicas_for_distributed_queries", b"fallback_to_stale_replicas_for_distributed_queries", "flatten_nested", b"flatten_nested", "force_index_by_date", b"force_index_by_date", "force_primary_key", b"force_primary_key", "format_regexp", b"format_regexp", "format_regexp_escaping_rule", b"format_regexp_escaping_rule", "format_regexp_skip_unmatched", b"format_regexp_skip_unmatched", "group_by_overflow_mode", b"group_by_overflow_mode", "group_by_two_level_threshold", b"group_by_two_level_threshold", "group_by_two_level_threshold_bytes", b"group_by_two_level_threshold_bytes", "hedged_connection_timeout_ms", b"hedged_connection_timeout_ms", "http_connection_timeout", b"http_connection_timeout", "http_headers_progress_interval", b"http_headers_progress_interval", "http_receive_timeout", b"http_receive_timeout", "http_send_timeout", b"http_send_timeout", "idle_connection_timeout", b"idle_connection_timeout", "input_format_defaults_for_omitted_fields", b"input_format_defaults_for_omitted_fields", "input_format_import_nested_json", b"input_format_import_nested_json", "input_format_null_as_default", b"input_format_null_as_default", "input_format_parallel_parsing", b"input_format_parallel_parsing", "input_format_values_interpret_expressions", b"input_format_values_interpret_expressions", "input_format_with_names_use_header", b"input_format_with_names_use_header", "insert_keeper_max_retries", b"insert_keeper_max_retries", "insert_null_as_default", b"insert_null_as_default", "insert_quorum", b"insert_quorum", "insert_quorum_parallel", b"insert_quorum_parallel", "insert_quorum_timeout", b"insert_quorum_timeout", "join_algorithm", b"join_algorithm", "join_overflow_mode", b"join_overflow_mode", "join_use_nulls", b"join_use_nulls", "joined_subquery_requires_alias", b"joined_subquery_requires_alias", "load_balancing", b"load_balancing", "local_filesystem_read_method", b"local_filesystem_read_method", "log_query_threads", b"log_query_threads", "low_cardinality_allow_in_native_format", b"low_cardinality_allow_in_native_format", "max_ast_depth", b"max_ast_depth", "max_ast_elements", b"max_ast_elements", "max_block_size", b"max_block_size", "max_bytes_before_external_group_by", b"max_bytes_before_external_group_by", "max_bytes_before_external_sort", b"max_bytes_before_external_sort", "max_bytes_in_distinct", b"max_bytes_in_distinct", "max_bytes_in_join", b"max_bytes_in_join", "max_bytes_in_set", b"max_bytes_in_set", "max_bytes_to_read", b"max_bytes_to_read", "max_bytes_to_sort", b"max_bytes_to_sort", "max_bytes_to_transfer", b"max_bytes_to_transfer", "max_columns_to_read", b"max_columns_to_read", "max_concurrent_queries_for_user", b"max_concurrent_queries_for_user", "max_execution_time", b"max_execution_time", "max_expanded_ast_elements", b"max_expanded_ast_elements", "max_final_threads", b"max_final_threads", "max_http_get_redirects", b"max_http_get_redirects", "max_insert_block_size", b"max_insert_block_size", "max_insert_threads", b"max_insert_threads", "max_memory_usage", b"max_memory_usage", "max_memory_usage_for_user", b"max_memory_usage_for_user", "max_network_bandwidth", b"max_network_bandwidth", "max_network_bandwidth_for_user", b"max_network_bandwidth_for_user", "max_parser_depth", b"max_parser_depth", "max_partitions_per_insert_block", b"max_partitions_per_insert_block", "max_query_size", b"max_query_size", "max_read_buffer_size", b"max_read_buffer_size", "max_replica_delay_for_distributed_queries", b"max_replica_delay_for_distributed_queries", "max_result_bytes", b"max_result_bytes", "max_result_rows", b"max_result_rows", "max_rows_in_distinct", b"max_rows_in_distinct", "max_rows_in_join", b"max_rows_in_join", "max_rows_in_set", b"max_rows_in_set", "max_rows_to_group_by", b"max_rows_to_group_by", "max_rows_to_read", b"max_rows_to_read", "max_rows_to_sort", b"max_rows_to_sort", "max_rows_to_transfer", b"max_rows_to_transfer", "max_temporary_columns", b"max_temporary_columns", "max_temporary_data_on_disk_size_for_query", b"max_temporary_data_on_disk_size_for_query", "max_temporary_data_on_disk_size_for_user", b"max_temporary_data_on_disk_size_for_user", "max_temporary_non_const_columns", b"max_temporary_non_const_columns", "max_threads", b"max_threads", "memory_overcommit_ratio_denominator", b"memory_overcommit_ratio_denominator", "memory_overcommit_ratio_denominator_for_user", b"memory_overcommit_ratio_denominator_for_user", "memory_profiler_sample_probability", b"memory_profiler_sample_probability", "memory_profiler_step", b"memory_profiler_step", "memory_usage_overcommit_max_wait_microseconds", b"memory_usage_overcommit_max_wait_microseconds", "merge_tree_max_bytes_to_use_cache", b"merge_tree_max_bytes_to_use_cache", "merge_tree_max_rows_to_use_cache", b"merge_tree_max_rows_to_use_cache", "merge_tree_min_bytes_for_concurrent_read", b"merge_tree_min_bytes_for_concurrent_read", "merge_tree_min_rows_for_concurrent_read", b"merge_tree_min_rows_for_concurrent_read", "min_bytes_to_use_direct_io", b"min_bytes_to_use_direct_io", "min_count_to_compile", b"min_count_to_compile", "min_count_to_compile_expression", b"min_count_to_compile_expression", "min_execution_speed", b"min_execution_speed", "min_execution_speed_bytes", b"min_execution_speed_bytes", "min_insert_block_size_bytes", b"min_insert_block_size_bytes", "min_insert_block_size_rows", b"min_insert_block_size_rows", "output_format_json_quote_64bit_integers", b"output_format_json_quote_64bit_integers", "output_format_json_quote_denormals", b"output_format_json_quote_denormals", "prefer_localhost_replica", b"prefer_localhost_replica", "priority", b"priority", "quota_mode", b"quota_mode", "read_overflow_mode", b"read_overflow_mode", "readonly", b"readonly", "receive_timeout", b"receive_timeout", "remote_filesystem_read_method", b"remote_filesystem_read_method", "replication_alter_partitions_sync", b"replication_alter_partitions_sync", "result_overflow_mode", b"result_overflow_mode", "select_sequential_consistency", b"select_sequential_consistency", "send_progress_in_http_headers", b"send_progress_in_http_headers", "send_timeout", b"send_timeout", "set_overflow_mode", b"set_overflow_mode", "skip_unavailable_shards", b"skip_unavailable_shards", "sort_overflow_mode", b"sort_overflow_mode", "timeout_before_checking_execution_speed", b"timeout_before_checking_execution_speed", "timeout_overflow_mode", b"timeout_overflow_mode", "transfer_overflow_mode", b"transfer_overflow_mode", "transform_null_in", b"transform_null_in", "use_hedged_requests", b"use_hedged_requests", "use_uncompressed_cache", b"use_uncompressed_cache", "wait_for_async_insert", b"wait_for_async_insert", "wait_for_async_insert_timeout", b"wait_for_async_insert_timeout"]) -> None: ...
|
|
1949
|
+
def HasField(self, field_name: typing.Literal["add_http_cors_header", b"add_http_cors_header", "allow_ddl", b"allow_ddl", "allow_introspection_functions", b"allow_introspection_functions", "allow_suspicious_low_cardinality_types", b"allow_suspicious_low_cardinality_types", "any_join_distinct_right_table_keys", b"any_join_distinct_right_table_keys", "async_insert", b"async_insert", "async_insert_busy_timeout", b"async_insert_busy_timeout", "async_insert_max_data_size", b"async_insert_max_data_size", "async_insert_stale_timeout", b"async_insert_stale_timeout", "async_insert_threads", b"async_insert_threads", "async_insert_use_adaptive_busy_timeout", b"async_insert_use_adaptive_busy_timeout", "cancel_http_readonly_queries_on_client_close", b"cancel_http_readonly_queries_on_client_close", "compile", b"compile", "compile_expressions", b"compile_expressions", "connect_timeout", b"connect_timeout", "connect_timeout_with_failover", b"connect_timeout_with_failover", "data_type_default_nullable", b"data_type_default_nullable", "deduplicate_blocks_in_dependent_materialized_views", b"deduplicate_blocks_in_dependent_materialized_views", "distributed_aggregation_memory_efficient", b"distributed_aggregation_memory_efficient", "distributed_ddl_task_timeout", b"distributed_ddl_task_timeout", "do_not_merge_across_partitions_select_final", b"do_not_merge_across_partitions_select_final", "empty_result_for_aggregation_by_empty_set", b"empty_result_for_aggregation_by_empty_set", "enable_http_compression", b"enable_http_compression", "enable_reads_from_query_cache", b"enable_reads_from_query_cache", "enable_writes_to_query_cache", b"enable_writes_to_query_cache", "fallback_to_stale_replicas_for_distributed_queries", b"fallback_to_stale_replicas_for_distributed_queries", "flatten_nested", b"flatten_nested", "force_index_by_date", b"force_index_by_date", "force_primary_key", b"force_primary_key", "format_regexp_skip_unmatched", b"format_regexp_skip_unmatched", "group_by_two_level_threshold", b"group_by_two_level_threshold", "group_by_two_level_threshold_bytes", b"group_by_two_level_threshold_bytes", "hedged_connection_timeout_ms", b"hedged_connection_timeout_ms", "http_connection_timeout", b"http_connection_timeout", "http_headers_progress_interval", b"http_headers_progress_interval", "http_max_field_name_size", b"http_max_field_name_size", "http_max_field_value_size", b"http_max_field_value_size", "http_receive_timeout", b"http_receive_timeout", "http_send_timeout", b"http_send_timeout", "idle_connection_timeout", b"idle_connection_timeout", "ignore_materialized_views_with_dropped_target_table", b"ignore_materialized_views_with_dropped_target_table", "input_format_defaults_for_omitted_fields", b"input_format_defaults_for_omitted_fields", "input_format_import_nested_json", b"input_format_import_nested_json", "input_format_null_as_default", b"input_format_null_as_default", "input_format_parallel_parsing", b"input_format_parallel_parsing", "input_format_values_interpret_expressions", b"input_format_values_interpret_expressions", "input_format_with_names_use_header", b"input_format_with_names_use_header", "insert_keeper_max_retries", b"insert_keeper_max_retries", "insert_null_as_default", b"insert_null_as_default", "insert_quorum", b"insert_quorum", "insert_quorum_parallel", b"insert_quorum_parallel", "insert_quorum_timeout", b"insert_quorum_timeout", "join_use_nulls", b"join_use_nulls", "joined_subquery_requires_alias", b"joined_subquery_requires_alias", "log_processors_profiles", b"log_processors_profiles", "log_queries_probability", b"log_queries_probability", "log_query_threads", b"log_query_threads", "log_query_views", b"log_query_views", "low_cardinality_allow_in_native_format", b"low_cardinality_allow_in_native_format", "max_ast_depth", b"max_ast_depth", "max_ast_elements", b"max_ast_elements", "max_block_size", b"max_block_size", "max_bytes_before_external_group_by", b"max_bytes_before_external_group_by", "max_bytes_before_external_sort", b"max_bytes_before_external_sort", "max_bytes_in_distinct", b"max_bytes_in_distinct", "max_bytes_in_join", b"max_bytes_in_join", "max_bytes_in_set", b"max_bytes_in_set", "max_bytes_to_read", b"max_bytes_to_read", "max_bytes_to_sort", b"max_bytes_to_sort", "max_bytes_to_transfer", b"max_bytes_to_transfer", "max_columns_to_read", b"max_columns_to_read", "max_concurrent_queries_for_user", b"max_concurrent_queries_for_user", "max_execution_time", b"max_execution_time", "max_expanded_ast_elements", b"max_expanded_ast_elements", "max_final_threads", b"max_final_threads", "max_http_get_redirects", b"max_http_get_redirects", "max_insert_block_size", b"max_insert_block_size", "max_insert_threads", b"max_insert_threads", "max_memory_usage", b"max_memory_usage", "max_memory_usage_for_user", b"max_memory_usage_for_user", "max_network_bandwidth", b"max_network_bandwidth", "max_network_bandwidth_for_user", b"max_network_bandwidth_for_user", "max_parser_depth", b"max_parser_depth", "max_partitions_per_insert_block", b"max_partitions_per_insert_block", "max_query_size", b"max_query_size", "max_read_buffer_size", b"max_read_buffer_size", "max_replica_delay_for_distributed_queries", b"max_replica_delay_for_distributed_queries", "max_result_bytes", b"max_result_bytes", "max_result_rows", b"max_result_rows", "max_rows_in_distinct", b"max_rows_in_distinct", "max_rows_in_join", b"max_rows_in_join", "max_rows_in_set", b"max_rows_in_set", "max_rows_to_group_by", b"max_rows_to_group_by", "max_rows_to_read", b"max_rows_to_read", "max_rows_to_sort", b"max_rows_to_sort", "max_rows_to_transfer", b"max_rows_to_transfer", "max_temporary_columns", b"max_temporary_columns", "max_temporary_data_on_disk_size_for_query", b"max_temporary_data_on_disk_size_for_query", "max_temporary_data_on_disk_size_for_user", b"max_temporary_data_on_disk_size_for_user", "max_temporary_non_const_columns", b"max_temporary_non_const_columns", "max_threads", b"max_threads", "memory_overcommit_ratio_denominator", b"memory_overcommit_ratio_denominator", "memory_overcommit_ratio_denominator_for_user", b"memory_overcommit_ratio_denominator_for_user", "memory_profiler_sample_probability", b"memory_profiler_sample_probability", "memory_profiler_step", b"memory_profiler_step", "memory_usage_overcommit_max_wait_microseconds", b"memory_usage_overcommit_max_wait_microseconds", "merge_tree_max_bytes_to_use_cache", b"merge_tree_max_bytes_to_use_cache", "merge_tree_max_rows_to_use_cache", b"merge_tree_max_rows_to_use_cache", "merge_tree_min_bytes_for_concurrent_read", b"merge_tree_min_bytes_for_concurrent_read", "merge_tree_min_rows_for_concurrent_read", b"merge_tree_min_rows_for_concurrent_read", "min_bytes_to_use_direct_io", b"min_bytes_to_use_direct_io", "min_count_to_compile", b"min_count_to_compile", "min_count_to_compile_expression", b"min_count_to_compile_expression", "min_execution_speed", b"min_execution_speed", "min_execution_speed_bytes", b"min_execution_speed_bytes", "min_insert_block_size_bytes", b"min_insert_block_size_bytes", "min_insert_block_size_rows", b"min_insert_block_size_rows", "output_format_json_quote_64bit_integers", b"output_format_json_quote_64bit_integers", "output_format_json_quote_denormals", b"output_format_json_quote_denormals", "prefer_localhost_replica", b"prefer_localhost_replica", "priority", b"priority", "query_cache_max_entries", b"query_cache_max_entries", "query_cache_max_size_in_bytes", b"query_cache_max_size_in_bytes", "query_cache_min_query_duration", b"query_cache_min_query_duration", "query_cache_min_query_runs", b"query_cache_min_query_runs", "query_cache_share_between_users", b"query_cache_share_between_users", "query_cache_ttl", b"query_cache_ttl", "readonly", b"readonly", "receive_timeout", b"receive_timeout", "replication_alter_partitions_sync", b"replication_alter_partitions_sync", "select_sequential_consistency", b"select_sequential_consistency", "send_progress_in_http_headers", b"send_progress_in_http_headers", "send_timeout", b"send_timeout", "skip_unavailable_shards", b"skip_unavailable_shards", "timeout_before_checking_execution_speed", b"timeout_before_checking_execution_speed", "transform_null_in", b"transform_null_in", "use_hedged_requests", b"use_hedged_requests", "use_query_cache", b"use_query_cache", "use_uncompressed_cache", b"use_uncompressed_cache", "wait_for_async_insert", b"wait_for_async_insert", "wait_for_async_insert_timeout", b"wait_for_async_insert_timeout"]) -> builtins.bool: ...
|
|
1950
|
+
def ClearField(self, field_name: typing.Literal["add_http_cors_header", b"add_http_cors_header", "allow_ddl", b"allow_ddl", "allow_introspection_functions", b"allow_introspection_functions", "allow_suspicious_low_cardinality_types", b"allow_suspicious_low_cardinality_types", "any_join_distinct_right_table_keys", b"any_join_distinct_right_table_keys", "async_insert", b"async_insert", "async_insert_busy_timeout", b"async_insert_busy_timeout", "async_insert_max_data_size", b"async_insert_max_data_size", "async_insert_stale_timeout", b"async_insert_stale_timeout", "async_insert_threads", b"async_insert_threads", "async_insert_use_adaptive_busy_timeout", b"async_insert_use_adaptive_busy_timeout", "cancel_http_readonly_queries_on_client_close", b"cancel_http_readonly_queries_on_client_close", "compile", b"compile", "compile_expressions", b"compile_expressions", "connect_timeout", b"connect_timeout", "connect_timeout_with_failover", b"connect_timeout_with_failover", "count_distinct_implementation", b"count_distinct_implementation", "data_type_default_nullable", b"data_type_default_nullable", "date_time_input_format", b"date_time_input_format", "date_time_output_format", b"date_time_output_format", "deduplicate_blocks_in_dependent_materialized_views", b"deduplicate_blocks_in_dependent_materialized_views", "distinct_overflow_mode", b"distinct_overflow_mode", "distributed_aggregation_memory_efficient", b"distributed_aggregation_memory_efficient", "distributed_ddl_task_timeout", b"distributed_ddl_task_timeout", "distributed_product_mode", b"distributed_product_mode", "do_not_merge_across_partitions_select_final", b"do_not_merge_across_partitions_select_final", "empty_result_for_aggregation_by_empty_set", b"empty_result_for_aggregation_by_empty_set", "enable_http_compression", b"enable_http_compression", "enable_reads_from_query_cache", b"enable_reads_from_query_cache", "enable_writes_to_query_cache", b"enable_writes_to_query_cache", "fallback_to_stale_replicas_for_distributed_queries", b"fallback_to_stale_replicas_for_distributed_queries", "flatten_nested", b"flatten_nested", "force_index_by_date", b"force_index_by_date", "force_primary_key", b"force_primary_key", "format_avro_schema_registry_url", b"format_avro_schema_registry_url", "format_regexp", b"format_regexp", "format_regexp_escaping_rule", b"format_regexp_escaping_rule", "format_regexp_skip_unmatched", b"format_regexp_skip_unmatched", "group_by_overflow_mode", b"group_by_overflow_mode", "group_by_two_level_threshold", b"group_by_two_level_threshold", "group_by_two_level_threshold_bytes", b"group_by_two_level_threshold_bytes", "hedged_connection_timeout_ms", b"hedged_connection_timeout_ms", "http_connection_timeout", b"http_connection_timeout", "http_headers_progress_interval", b"http_headers_progress_interval", "http_max_field_name_size", b"http_max_field_name_size", "http_max_field_value_size", b"http_max_field_value_size", "http_receive_timeout", b"http_receive_timeout", "http_send_timeout", b"http_send_timeout", "idle_connection_timeout", b"idle_connection_timeout", "ignore_materialized_views_with_dropped_target_table", b"ignore_materialized_views_with_dropped_target_table", "input_format_defaults_for_omitted_fields", b"input_format_defaults_for_omitted_fields", "input_format_import_nested_json", b"input_format_import_nested_json", "input_format_null_as_default", b"input_format_null_as_default", "input_format_parallel_parsing", b"input_format_parallel_parsing", "input_format_values_interpret_expressions", b"input_format_values_interpret_expressions", "input_format_with_names_use_header", b"input_format_with_names_use_header", "insert_keeper_max_retries", b"insert_keeper_max_retries", "insert_null_as_default", b"insert_null_as_default", "insert_quorum", b"insert_quorum", "insert_quorum_parallel", b"insert_quorum_parallel", "insert_quorum_timeout", b"insert_quorum_timeout", "join_algorithm", b"join_algorithm", "join_overflow_mode", b"join_overflow_mode", "join_use_nulls", b"join_use_nulls", "joined_subquery_requires_alias", b"joined_subquery_requires_alias", "load_balancing", b"load_balancing", "local_filesystem_read_method", b"local_filesystem_read_method", "log_processors_profiles", b"log_processors_profiles", "log_queries_probability", b"log_queries_probability", "log_query_threads", b"log_query_threads", "log_query_views", b"log_query_views", "low_cardinality_allow_in_native_format", b"low_cardinality_allow_in_native_format", "max_ast_depth", b"max_ast_depth", "max_ast_elements", b"max_ast_elements", "max_block_size", b"max_block_size", "max_bytes_before_external_group_by", b"max_bytes_before_external_group_by", "max_bytes_before_external_sort", b"max_bytes_before_external_sort", "max_bytes_in_distinct", b"max_bytes_in_distinct", "max_bytes_in_join", b"max_bytes_in_join", "max_bytes_in_set", b"max_bytes_in_set", "max_bytes_to_read", b"max_bytes_to_read", "max_bytes_to_sort", b"max_bytes_to_sort", "max_bytes_to_transfer", b"max_bytes_to_transfer", "max_columns_to_read", b"max_columns_to_read", "max_concurrent_queries_for_user", b"max_concurrent_queries_for_user", "max_execution_time", b"max_execution_time", "max_expanded_ast_elements", b"max_expanded_ast_elements", "max_final_threads", b"max_final_threads", "max_http_get_redirects", b"max_http_get_redirects", "max_insert_block_size", b"max_insert_block_size", "max_insert_threads", b"max_insert_threads", "max_memory_usage", b"max_memory_usage", "max_memory_usage_for_user", b"max_memory_usage_for_user", "max_network_bandwidth", b"max_network_bandwidth", "max_network_bandwidth_for_user", b"max_network_bandwidth_for_user", "max_parser_depth", b"max_parser_depth", "max_partitions_per_insert_block", b"max_partitions_per_insert_block", "max_query_size", b"max_query_size", "max_read_buffer_size", b"max_read_buffer_size", "max_replica_delay_for_distributed_queries", b"max_replica_delay_for_distributed_queries", "max_result_bytes", b"max_result_bytes", "max_result_rows", b"max_result_rows", "max_rows_in_distinct", b"max_rows_in_distinct", "max_rows_in_join", b"max_rows_in_join", "max_rows_in_set", b"max_rows_in_set", "max_rows_to_group_by", b"max_rows_to_group_by", "max_rows_to_read", b"max_rows_to_read", "max_rows_to_sort", b"max_rows_to_sort", "max_rows_to_transfer", b"max_rows_to_transfer", "max_temporary_columns", b"max_temporary_columns", "max_temporary_data_on_disk_size_for_query", b"max_temporary_data_on_disk_size_for_query", "max_temporary_data_on_disk_size_for_user", b"max_temporary_data_on_disk_size_for_user", "max_temporary_non_const_columns", b"max_temporary_non_const_columns", "max_threads", b"max_threads", "memory_overcommit_ratio_denominator", b"memory_overcommit_ratio_denominator", "memory_overcommit_ratio_denominator_for_user", b"memory_overcommit_ratio_denominator_for_user", "memory_profiler_sample_probability", b"memory_profiler_sample_probability", "memory_profiler_step", b"memory_profiler_step", "memory_usage_overcommit_max_wait_microseconds", b"memory_usage_overcommit_max_wait_microseconds", "merge_tree_max_bytes_to_use_cache", b"merge_tree_max_bytes_to_use_cache", "merge_tree_max_rows_to_use_cache", b"merge_tree_max_rows_to_use_cache", "merge_tree_min_bytes_for_concurrent_read", b"merge_tree_min_bytes_for_concurrent_read", "merge_tree_min_rows_for_concurrent_read", b"merge_tree_min_rows_for_concurrent_read", "min_bytes_to_use_direct_io", b"min_bytes_to_use_direct_io", "min_count_to_compile", b"min_count_to_compile", "min_count_to_compile_expression", b"min_count_to_compile_expression", "min_execution_speed", b"min_execution_speed", "min_execution_speed_bytes", b"min_execution_speed_bytes", "min_insert_block_size_bytes", b"min_insert_block_size_bytes", "min_insert_block_size_rows", b"min_insert_block_size_rows", "output_format_json_quote_64bit_integers", b"output_format_json_quote_64bit_integers", "output_format_json_quote_denormals", b"output_format_json_quote_denormals", "prefer_localhost_replica", b"prefer_localhost_replica", "priority", b"priority", "query_cache_max_entries", b"query_cache_max_entries", "query_cache_max_size_in_bytes", b"query_cache_max_size_in_bytes", "query_cache_min_query_duration", b"query_cache_min_query_duration", "query_cache_min_query_runs", b"query_cache_min_query_runs", "query_cache_nondeterministic_function_handling", b"query_cache_nondeterministic_function_handling", "query_cache_share_between_users", b"query_cache_share_between_users", "query_cache_tag", b"query_cache_tag", "query_cache_ttl", b"query_cache_ttl", "quota_mode", b"quota_mode", "read_overflow_mode", b"read_overflow_mode", "readonly", b"readonly", "receive_timeout", b"receive_timeout", "remote_filesystem_read_method", b"remote_filesystem_read_method", "replication_alter_partitions_sync", b"replication_alter_partitions_sync", "result_overflow_mode", b"result_overflow_mode", "select_sequential_consistency", b"select_sequential_consistency", "send_progress_in_http_headers", b"send_progress_in_http_headers", "send_timeout", b"send_timeout", "set_overflow_mode", b"set_overflow_mode", "skip_unavailable_shards", b"skip_unavailable_shards", "sort_overflow_mode", b"sort_overflow_mode", "timeout_before_checking_execution_speed", b"timeout_before_checking_execution_speed", "timeout_overflow_mode", b"timeout_overflow_mode", "transfer_overflow_mode", b"transfer_overflow_mode", "transform_null_in", b"transform_null_in", "use_hedged_requests", b"use_hedged_requests", "use_query_cache", b"use_query_cache", "use_uncompressed_cache", b"use_uncompressed_cache", "wait_for_async_insert", b"wait_for_async_insert", "wait_for_async_insert_timeout", b"wait_for_async_insert_timeout"]) -> None: ...
|
|
1763
1951
|
|
|
1764
1952
|
global___UserSettings = UserSettings
|
|
1765
1953
|
|
|
@@ -23,9 +23,11 @@ _sym_db = _symbol_database.Default()
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
|
+
from yandex.cloud.logging.v1 import log_entry_pb2 as yandex_dot_cloud_dot_logging_dot_v1_dot_log__entry__pb2
|
|
27
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
26
28
|
|
|
27
29
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0yandex/cloud/serverless/eventrouter/v1/bus.proto\x12&yandex.cloud.serverless.eventrouter.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0yandex/cloud/serverless/eventrouter/v1/bus.proto\x12&yandex.cloud.serverless.eventrouter.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\'yandex/cloud/logging/v1/log_entry.proto\x1a\x1dyandex/cloud/validation.proto\"\xc2\x01\n\nLogOptions\x12 \n\x0clog_group_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1d\n\tfolder_id\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12:\n\tmin_level\x18\x03 \x01(\x0e\x32\'.yandex.cloud.logging.v1.LogLevel.Level\x12(\n\x12service_account_id\x18\x04 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50B\r\n\x0b\x64\x65stination\"\x8e\x04\n\x03\x42us\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12\x10\n\x08\x63loud_id\x18\x03 \x01(\t\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12G\n\x06labels\x18\x07 \x03(\x0b\x32\x37.yandex.cloud.serverless.eventrouter.v1.Bus.LabelsEntry\x12\x1b\n\x13\x64\x65letion_protection\x18\x08 \x01(\x08\x12\x42\n\x06status\x18\t \x01(\x0e\x32\x32.yandex.cloud.serverless.eventrouter.v1.Bus.Status\x12\x17\n\x0flogging_enabled\x18\n \x01(\x08\x12G\n\x0blog_options\x18\x0b \x01(\x0b\x32\x32.yandex.cloud.serverless.eventrouter.v1.LogOptions\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"H\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x42\x8a\x01\n*yandex.cloud.api.serverless.eventrouter.v1B\x04PERBZVgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/eventrouter/v1;eventrouterb\x06proto3')
|
|
29
31
|
|
|
30
32
|
_globals = globals()
|
|
31
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -33,12 +35,20 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.serverless.eve
|
|
|
33
35
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
36
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
37
|
_globals['DESCRIPTOR']._serialized_options = b'\n*yandex.cloud.api.serverless.eventrouter.v1B\004PERBZVgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/eventrouter/v1;eventrouter'
|
|
38
|
+
_globals['_LOGOPTIONS'].fields_by_name['log_group_id']._loaded_options = None
|
|
39
|
+
_globals['_LOGOPTIONS'].fields_by_name['log_group_id']._serialized_options = b'\212\3101\004<=50'
|
|
40
|
+
_globals['_LOGOPTIONS'].fields_by_name['folder_id']._loaded_options = None
|
|
41
|
+
_globals['_LOGOPTIONS'].fields_by_name['folder_id']._serialized_options = b'\212\3101\004<=50'
|
|
42
|
+
_globals['_LOGOPTIONS'].fields_by_name['service_account_id']._loaded_options = None
|
|
43
|
+
_globals['_LOGOPTIONS'].fields_by_name['service_account_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
36
44
|
_globals['_BUS_LABELSENTRY']._loaded_options = None
|
|
37
45
|
_globals['_BUS_LABELSENTRY']._serialized_options = b'8\001'
|
|
38
|
-
_globals['
|
|
39
|
-
_globals['
|
|
40
|
-
_globals['
|
|
41
|
-
_globals['
|
|
42
|
-
_globals['
|
|
43
|
-
_globals['
|
|
46
|
+
_globals['_LOGOPTIONS']._serialized_start=198
|
|
47
|
+
_globals['_LOGOPTIONS']._serialized_end=392
|
|
48
|
+
_globals['_BUS']._serialized_start=395
|
|
49
|
+
_globals['_BUS']._serialized_end=921
|
|
50
|
+
_globals['_BUS_LABELSENTRY']._serialized_start=802
|
|
51
|
+
_globals['_BUS_LABELSENTRY']._serialized_end=847
|
|
52
|
+
_globals['_BUS_STATUS']._serialized_start=849
|
|
53
|
+
_globals['_BUS_STATUS']._serialized_end=921
|
|
44
54
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -12,6 +12,7 @@ import google.protobuf.message
|
|
|
12
12
|
import google.protobuf.timestamp_pb2
|
|
13
13
|
import sys
|
|
14
14
|
import typing
|
|
15
|
+
import yandex.cloud.logging.v1.log_entry_pb2
|
|
15
16
|
|
|
16
17
|
if sys.version_info >= (3, 10):
|
|
17
18
|
import typing as typing_extensions
|
|
@@ -20,6 +21,39 @@ else:
|
|
|
20
21
|
|
|
21
22
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
22
23
|
|
|
24
|
+
@typing.final
|
|
25
|
+
class LogOptions(google.protobuf.message.Message):
|
|
26
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
27
|
+
|
|
28
|
+
LOG_GROUP_ID_FIELD_NUMBER: builtins.int
|
|
29
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
30
|
+
MIN_LEVEL_FIELD_NUMBER: builtins.int
|
|
31
|
+
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
32
|
+
log_group_id: builtins.str
|
|
33
|
+
"""Entry will be written to log group resolved by ID."""
|
|
34
|
+
folder_id: builtins.str
|
|
35
|
+
"""Entry will be written to default log group for specified folder."""
|
|
36
|
+
min_level: yandex.cloud.logging.v1.log_entry_pb2.LogLevel.Level.ValueType
|
|
37
|
+
"""Minimum log entry level.
|
|
38
|
+
|
|
39
|
+
See [LogLevel.Level] for details.
|
|
40
|
+
"""
|
|
41
|
+
service_account_id: builtins.str
|
|
42
|
+
"""Service account, which has permission to write to destination"""
|
|
43
|
+
def __init__(
|
|
44
|
+
self,
|
|
45
|
+
*,
|
|
46
|
+
log_group_id: builtins.str = ...,
|
|
47
|
+
folder_id: builtins.str = ...,
|
|
48
|
+
min_level: yandex.cloud.logging.v1.log_entry_pb2.LogLevel.Level.ValueType = ...,
|
|
49
|
+
service_account_id: builtins.str = ...,
|
|
50
|
+
) -> None: ...
|
|
51
|
+
def HasField(self, field_name: typing.Literal["destination", b"destination", "folder_id", b"folder_id", "log_group_id", b"log_group_id"]) -> builtins.bool: ...
|
|
52
|
+
def ClearField(self, field_name: typing.Literal["destination", b"destination", "folder_id", b"folder_id", "log_group_id", b"log_group_id", "min_level", b"min_level", "service_account_id", b"service_account_id"]) -> None: ...
|
|
53
|
+
def WhichOneof(self, oneof_group: typing.Literal["destination", b"destination"]) -> typing.Literal["log_group_id", "folder_id"] | None: ...
|
|
54
|
+
|
|
55
|
+
global___LogOptions = LogOptions
|
|
56
|
+
|
|
23
57
|
@typing.final
|
|
24
58
|
class Bus(google.protobuf.message.Message):
|
|
25
59
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -66,6 +100,8 @@ class Bus(google.protobuf.message.Message):
|
|
|
66
100
|
LABELS_FIELD_NUMBER: builtins.int
|
|
67
101
|
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
68
102
|
STATUS_FIELD_NUMBER: builtins.int
|
|
103
|
+
LOGGING_ENABLED_FIELD_NUMBER: builtins.int
|
|
104
|
+
LOG_OPTIONS_FIELD_NUMBER: builtins.int
|
|
69
105
|
id: builtins.str
|
|
70
106
|
"""ID of the bus."""
|
|
71
107
|
folder_id: builtins.str
|
|
@@ -80,6 +116,8 @@ class Bus(google.protobuf.message.Message):
|
|
|
80
116
|
"""Deletion protection."""
|
|
81
117
|
status: global___Bus.Status.ValueType
|
|
82
118
|
"""Status of the bus."""
|
|
119
|
+
logging_enabled: builtins.bool
|
|
120
|
+
"""Is logging from the bus enabled."""
|
|
83
121
|
@property
|
|
84
122
|
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
85
123
|
"""Creation timestamp."""
|
|
@@ -88,6 +126,10 @@ class Bus(google.protobuf.message.Message):
|
|
|
88
126
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
89
127
|
"""Resource labels as `key:value` pairs."""
|
|
90
128
|
|
|
129
|
+
@property
|
|
130
|
+
def log_options(self) -> global___LogOptions:
|
|
131
|
+
"""Options for logging from the bus."""
|
|
132
|
+
|
|
91
133
|
def __init__(
|
|
92
134
|
self,
|
|
93
135
|
*,
|
|
@@ -100,8 +142,10 @@ class Bus(google.protobuf.message.Message):
|
|
|
100
142
|
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
101
143
|
deletion_protection: builtins.bool = ...,
|
|
102
144
|
status: global___Bus.Status.ValueType = ...,
|
|
145
|
+
logging_enabled: builtins.bool = ...,
|
|
146
|
+
log_options: global___LogOptions | None = ...,
|
|
103
147
|
) -> None: ...
|
|
104
|
-
def HasField(self, field_name: typing.Literal["created_at", b"created_at"]) -> builtins.bool: ...
|
|
105
|
-
def ClearField(self, field_name: typing.Literal["cloud_id", b"cloud_id", "created_at", b"created_at", "deletion_protection", b"deletion_protection", "description", b"description", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "name", b"name", "status", b"status"]) -> None: ...
|
|
148
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "log_options", b"log_options"]) -> builtins.bool: ...
|
|
149
|
+
def ClearField(self, field_name: typing.Literal["cloud_id", b"cloud_id", "created_at", b"created_at", "deletion_protection", b"deletion_protection", "description", b"description", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "log_options", b"log_options", "logging_enabled", b"logging_enabled", "name", b"name", "status", b"status"]) -> None: ...
|
|
106
150
|
|
|
107
151
|
global___Bus = Bus
|