yandexcloud 0.331.0__py3-none-any.whl → 0.333.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/ai/assistants/v1/threads/message_pb2.py +29 -19
- yandex/cloud/ai/assistants/v1/threads/message_pb2.pyi +104 -1
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +66 -66
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +5 -1
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +50 -38
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +199 -3
- yandex/cloud/backup/v1/backup_service_pb2.py +17 -3
- yandex/cloud/backup/v1/backup_service_pb2.pyi +52 -0
- yandex/cloud/backup/v1/backup_service_pb2_grpc.py +44 -0
- yandex/cloud/backup/v1/backup_service_pb2_grpc.pyi +20 -0
- yandex/cloud/cloudregistry/v1/registry_pb2.py +5 -5
- yandex/cloud/cloudregistry/v1/registry_pb2.pyi +4 -0
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.py +9 -7
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.pyi +19 -0
- yandex/cloud/datatransfer/v1/endpoint/mysql_pb2.py +8 -8
- yandex/cloud/datatransfer/v1/endpoint/mysql_pb2.pyi +7 -3
- yandex/cloud/datatransfer/v1/endpoint/postgres_pb2.py +6 -6
- yandex/cloud/datatransfer/v1/endpoint/postgres_pb2.pyi +11 -4
- yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +33 -3
- yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.py +21 -8
- yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.pyi +41 -5
- yandex/cloud/datatransfer/v1/transfer_pb2.py +48 -46
- yandex/cloud/datatransfer/v1/transfer_pb2.pyi +22 -2
- yandex/cloud/datatransfer/v1/transfer_service_pb2.py +32 -32
- yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +53 -7
- yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.py +20 -7
- yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.pyi +55 -7
- yandex/cloud/k8s/v1/cluster_pb2.py +38 -38
- yandex/cloud/k8s/v1/cluster_pb2.pyi +6 -2
- yandex/cloud/k8s/v1/cluster_service_pb2.py +74 -63
- yandex/cloud/k8s/v1/cluster_service_pb2.pyi +39 -0
- yandex/cloud/k8s/v1/cluster_service_pb2_grpc.py +44 -0
- yandex/cloud/k8s/v1/cluster_service_pb2_grpc.pyi +20 -0
- yandex/cloud/k8s/v1/maintenance_pb2.py +14 -11
- yandex/cloud/k8s/v1/maintenance_pb2.pyi +36 -0
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +72 -68
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +33 -2
- yandex/cloud/mdb/clickhouse/v1/user_pb2.py +36 -34
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +34 -4
- yandex/cloud/mdb/clickhouse/v1/user_service_pb2.py +30 -29
- yandex/cloud/mdb/clickhouse/v1/user_service_pb2.pyi +9 -2
- yandex/cloud/mdb/mysql/v1/user_pb2.py +16 -14
- yandex/cloud/mdb/mysql/v1/user_pb2.pyi +32 -4
- yandex/cloud/mdb/mysql/v1/user_service_pb2.py +30 -29
- yandex/cloud/mdb/mysql/v1/user_service_pb2.pyi +9 -2
- yandex/cloud/mdb/postgresql/v1/backup_retention_policy_pb2.py +47 -0
- yandex/cloud/mdb/postgresql/v1/backup_retention_policy_pb2.pyi +82 -0
- yandex/cloud/mdb/postgresql/v1/backup_retention_policy_pb2_grpc.py +24 -0
- yandex/cloud/mdb/postgresql/v1/backup_retention_policy_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/backup_retention_policy_service_pb2.py +70 -0
- yandex/cloud/mdb/postgresql/v1/backup_retention_policy_service_pb2.pyi +159 -0
- yandex/cloud/mdb/postgresql/v1/backup_retention_policy_service_pb2_grpc.py +189 -0
- yandex/cloud/mdb/postgresql/v1/backup_retention_policy_service_pb2_grpc.pyi +90 -0
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +110 -105
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +41 -1
- yandex/cloud/mdb/postgresql/v1/user_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/user_pb2.pyi +32 -4
- yandex/cloud/mdb/postgresql/v1/user_service_pb2.py +18 -18
- yandex/cloud/mdb/postgresql/v1/user_service_pb2.pyi +8 -2
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.py +128 -125
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.pyi +22 -3
- yandex/cloud/mdb/redis/v1/config/redis_pb2.py +10 -8
- yandex/cloud/mdb/redis/v1/config/redis_pb2.pyi +8 -2
- yandex/cloud/quotamanager/__init__.py +0 -0
- yandex/cloud/quotamanager/v1/__init__.py +0 -0
- yandex/cloud/quotamanager/v1/quota_limit_service_pb2.py +79 -0
- yandex/cloud/quotamanager/v1/quota_limit_service_pb2.pyi +193 -0
- yandex/cloud/quotamanager/v1/quota_limit_service_pb2_grpc.py +189 -0
- yandex/cloud/quotamanager/v1/quota_limit_service_pb2_grpc.pyi +90 -0
- yandex/cloud/quotamanager/v1/resource_pb2.py +42 -0
- yandex/cloud/quotamanager/v1/resource_pb2.pyi +31 -0
- yandex/cloud/quotamanager/v1/resource_pb2_grpc.py +24 -0
- yandex/cloud/quotamanager/v1/resource_pb2_grpc.pyi +17 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.py +20 -18
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.pyi +1 -1
- yandex/cloud/video/v1/episode_service_pb2.py +35 -21
- yandex/cloud/video/v1/episode_service_pb2.pyi +42 -0
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +44 -0
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +20 -0
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.331.0.dist-info → yandexcloud-0.333.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.331.0.dist-info → yandexcloud-0.333.0.dist-info}/RECORD +86 -68
- {yandexcloud-0.331.0.dist-info → yandexcloud-0.333.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.331.0.dist-info → yandexcloud-0.333.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.331.0.dist-info → yandexcloud-0.333.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.331.0.dist-info → yandexcloud-0.333.0.dist-info}/top_level.txt +0 -0
|
@@ -23,6 +23,7 @@ import yandex.cloud.mdb.redis.v1.config.redis6_2_pb2
|
|
|
23
23
|
import yandex.cloud.mdb.redis.v1.config.redis7_0_pb2
|
|
24
24
|
import yandex.cloud.mdb.redis.v1.config.redis_pb2
|
|
25
25
|
import yandex.cloud.mdb.redis.v1.maintenance_pb2
|
|
26
|
+
import yandex.cloud.mdb.redis.v1.user_pb2
|
|
26
27
|
import yandex.cloud.operation.operation_pb2
|
|
27
28
|
|
|
28
29
|
if sys.version_info >= (3, 10):
|
|
@@ -182,6 +183,8 @@ class CreateClusterRequest(google.protobuf.message.Message):
|
|
|
182
183
|
PERSISTENCE_MODE_FIELD_NUMBER: builtins.int
|
|
183
184
|
ANNOUNCE_HOSTNAMES_FIELD_NUMBER: builtins.int
|
|
184
185
|
MAINTENANCE_WINDOW_FIELD_NUMBER: builtins.int
|
|
186
|
+
USER_SPECS_FIELD_NUMBER: builtins.int
|
|
187
|
+
AUTH_SENTINEL_FIELD_NUMBER: builtins.int
|
|
185
188
|
folder_id: builtins.str
|
|
186
189
|
"""ID of the folder to create the Redis cluster in."""
|
|
187
190
|
name: builtins.str
|
|
@@ -200,6 +203,8 @@ class CreateClusterRequest(google.protobuf.message.Message):
|
|
|
200
203
|
"""Persistence mode"""
|
|
201
204
|
announce_hostnames: builtins.bool
|
|
202
205
|
"""Enable FQDN instead of ip"""
|
|
206
|
+
auth_sentinel: builtins.bool
|
|
207
|
+
"""Allows to use ACL users to auth in sentinel"""
|
|
203
208
|
@property
|
|
204
209
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
205
210
|
"""Custom labels for the Redis cluster as `key:value` pairs. Maximum 64 per cluster.
|
|
@@ -226,6 +231,10 @@ class CreateClusterRequest(google.protobuf.message.Message):
|
|
|
226
231
|
def maintenance_window(self) -> yandex.cloud.mdb.redis.v1.maintenance_pb2.MaintenanceWindow:
|
|
227
232
|
"""Window of maintenance operations."""
|
|
228
233
|
|
|
234
|
+
@property
|
|
235
|
+
def user_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.mdb.redis.v1.user_pb2.UserSpec]:
|
|
236
|
+
"""Descriptions of users to be created in the Redis cluster."""
|
|
237
|
+
|
|
229
238
|
def __init__(
|
|
230
239
|
self,
|
|
231
240
|
*,
|
|
@@ -244,9 +253,11 @@ class CreateClusterRequest(google.protobuf.message.Message):
|
|
|
244
253
|
persistence_mode: yandex.cloud.mdb.redis.v1.cluster_pb2.Cluster.PersistenceMode.ValueType = ...,
|
|
245
254
|
announce_hostnames: builtins.bool = ...,
|
|
246
255
|
maintenance_window: yandex.cloud.mdb.redis.v1.maintenance_pb2.MaintenanceWindow | None = ...,
|
|
256
|
+
user_specs: collections.abc.Iterable[yandex.cloud.mdb.redis.v1.user_pb2.UserSpec] | None = ...,
|
|
257
|
+
auth_sentinel: builtins.bool = ...,
|
|
247
258
|
) -> None: ...
|
|
248
259
|
def HasField(self, field_name: typing.Literal["config_spec", b"config_spec", "maintenance_window", b"maintenance_window", "tls_enabled", b"tls_enabled"]) -> builtins.bool: ...
|
|
249
|
-
def ClearField(self, field_name: typing.Literal["announce_hostnames", b"announce_hostnames", "config_spec", b"config_spec", "deletion_protection", b"deletion_protection", "description", b"description", "environment", b"environment", "folder_id", b"folder_id", "host_specs", b"host_specs", "labels", b"labels", "maintenance_window", b"maintenance_window", "name", b"name", "network_id", b"network_id", "persistence_mode", b"persistence_mode", "security_group_ids", b"security_group_ids", "sharded", b"sharded", "tls_enabled", b"tls_enabled"]) -> None: ...
|
|
260
|
+
def ClearField(self, field_name: typing.Literal["announce_hostnames", b"announce_hostnames", "auth_sentinel", b"auth_sentinel", "config_spec", b"config_spec", "deletion_protection", b"deletion_protection", "description", b"description", "environment", b"environment", "folder_id", b"folder_id", "host_specs", b"host_specs", "labels", b"labels", "maintenance_window", b"maintenance_window", "name", b"name", "network_id", b"network_id", "persistence_mode", b"persistence_mode", "security_group_ids", b"security_group_ids", "sharded", b"sharded", "tls_enabled", b"tls_enabled", "user_specs", b"user_specs"]) -> None: ...
|
|
250
261
|
|
|
251
262
|
global___CreateClusterRequest = CreateClusterRequest
|
|
252
263
|
|
|
@@ -298,6 +309,7 @@ class UpdateClusterRequest(google.protobuf.message.Message):
|
|
|
298
309
|
PERSISTENCE_MODE_FIELD_NUMBER: builtins.int
|
|
299
310
|
NETWORK_ID_FIELD_NUMBER: builtins.int
|
|
300
311
|
ANNOUNCE_HOSTNAMES_FIELD_NUMBER: builtins.int
|
|
312
|
+
AUTH_SENTINEL_FIELD_NUMBER: builtins.int
|
|
301
313
|
cluster_id: builtins.str
|
|
302
314
|
"""ID of the Redis cluster to update.
|
|
303
315
|
To get the Redis cluster ID, use a [ClusterService.List] request.
|
|
@@ -314,6 +326,8 @@ class UpdateClusterRequest(google.protobuf.message.Message):
|
|
|
314
326
|
"""ID of the network to move the cluster to."""
|
|
315
327
|
announce_hostnames: builtins.bool
|
|
316
328
|
"""Enable FQDN instead of ip"""
|
|
329
|
+
auth_sentinel: builtins.bool
|
|
330
|
+
"""Allows to use ACL users to auth in sentinel"""
|
|
317
331
|
@property
|
|
318
332
|
def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
319
333
|
"""Field mask that specifies which fields of the Redis cluster should be updated."""
|
|
@@ -354,9 +368,10 @@ class UpdateClusterRequest(google.protobuf.message.Message):
|
|
|
354
368
|
persistence_mode: yandex.cloud.mdb.redis.v1.cluster_pb2.Cluster.PersistenceMode.ValueType = ...,
|
|
355
369
|
network_id: builtins.str = ...,
|
|
356
370
|
announce_hostnames: builtins.bool = ...,
|
|
371
|
+
auth_sentinel: builtins.bool = ...,
|
|
357
372
|
) -> None: ...
|
|
358
373
|
def HasField(self, field_name: typing.Literal["config_spec", b"config_spec", "maintenance_window", b"maintenance_window", "update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
359
|
-
def ClearField(self, field_name: typing.Literal["announce_hostnames", b"announce_hostnames", "cluster_id", b"cluster_id", "config_spec", b"config_spec", "deletion_protection", b"deletion_protection", "description", b"description", "labels", b"labels", "maintenance_window", b"maintenance_window", "name", b"name", "network_id", b"network_id", "persistence_mode", b"persistence_mode", "security_group_ids", b"security_group_ids", "update_mask", b"update_mask"]) -> None: ...
|
|
374
|
+
def ClearField(self, field_name: typing.Literal["announce_hostnames", b"announce_hostnames", "auth_sentinel", b"auth_sentinel", "cluster_id", b"cluster_id", "config_spec", b"config_spec", "deletion_protection", b"deletion_protection", "description", b"description", "labels", b"labels", "maintenance_window", b"maintenance_window", "name", b"name", "network_id", b"network_id", "persistence_mode", b"persistence_mode", "security_group_ids", b"security_group_ids", "update_mask", b"update_mask"]) -> None: ...
|
|
360
375
|
|
|
361
376
|
global___UpdateClusterRequest = UpdateClusterRequest
|
|
362
377
|
|
|
@@ -633,6 +648,7 @@ class RestoreClusterRequest(google.protobuf.message.Message):
|
|
|
633
648
|
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
634
649
|
ANNOUNCE_HOSTNAMES_FIELD_NUMBER: builtins.int
|
|
635
650
|
MAINTENANCE_WINDOW_FIELD_NUMBER: builtins.int
|
|
651
|
+
AUTH_SENTINEL_FIELD_NUMBER: builtins.int
|
|
636
652
|
backup_id: builtins.str
|
|
637
653
|
"""ID of the backup to create a cluster from.
|
|
638
654
|
To get the backup ID, use a [ClusterService.ListBackups] request.
|
|
@@ -653,6 +669,8 @@ class RestoreClusterRequest(google.protobuf.message.Message):
|
|
|
653
669
|
"""Deletion Protection inhibits deletion of the cluster"""
|
|
654
670
|
announce_hostnames: builtins.bool
|
|
655
671
|
"""Enable FQDN instead of ip"""
|
|
672
|
+
auth_sentinel: builtins.bool
|
|
673
|
+
"""Allows to use ACL users to auth in sentinel"""
|
|
656
674
|
@property
|
|
657
675
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
658
676
|
"""Custom labels for the Redis cluster as `` key:value `` pairs. Maximum 64 per cluster.
|
|
@@ -699,9 +717,10 @@ class RestoreClusterRequest(google.protobuf.message.Message):
|
|
|
699
717
|
deletion_protection: builtins.bool = ...,
|
|
700
718
|
announce_hostnames: builtins.bool = ...,
|
|
701
719
|
maintenance_window: yandex.cloud.mdb.redis.v1.maintenance_pb2.MaintenanceWindow | None = ...,
|
|
720
|
+
auth_sentinel: builtins.bool = ...,
|
|
702
721
|
) -> None: ...
|
|
703
722
|
def HasField(self, field_name: typing.Literal["config_spec", b"config_spec", "maintenance_window", b"maintenance_window", "tls_enabled", b"tls_enabled"]) -> builtins.bool: ...
|
|
704
|
-
def ClearField(self, field_name: typing.Literal["announce_hostnames", b"announce_hostnames", "backup_id", b"backup_id", "config_spec", b"config_spec", "deletion_protection", b"deletion_protection", "description", b"description", "environment", b"environment", "folder_id", b"folder_id", "host_specs", b"host_specs", "labels", b"labels", "maintenance_window", b"maintenance_window", "name", b"name", "network_id", b"network_id", "persistence_mode", b"persistence_mode", "security_group_ids", b"security_group_ids", "tls_enabled", b"tls_enabled"]) -> None: ...
|
|
723
|
+
def ClearField(self, field_name: typing.Literal["announce_hostnames", b"announce_hostnames", "auth_sentinel", b"auth_sentinel", "backup_id", b"backup_id", "config_spec", b"config_spec", "deletion_protection", b"deletion_protection", "description", b"description", "environment", b"environment", "folder_id", b"folder_id", "host_specs", b"host_specs", "labels", b"labels", "maintenance_window", b"maintenance_window", "name", b"name", "network_id", b"network_id", "persistence_mode", b"persistence_mode", "security_group_ids", b"security_group_ids", "tls_enabled", b"tls_enabled"]) -> None: ...
|
|
705
724
|
|
|
706
725
|
global___RestoreClusterRequest = RestoreClusterRequest
|
|
707
726
|
|
|
@@ -26,7 +26,7 @@ from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb
|
|
|
26
26
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/mdb/redis/v1/config/redis.proto\x12 yandex.cloud.mdb.redis.v1.config\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1dyandex/cloud/validation.proto\"\
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/mdb/redis/v1/config/redis.proto\x12 yandex.cloud.mdb.redis.v1.config\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1dyandex/cloud/validation.proto\"\x83\x0f\n\x0bRedisConfig\x12W\n\x10maxmemory_policy\x18\x01 \x01(\x0e\x32=.yandex.cloud.mdb.redis.v1.config.RedisConfig.MaxmemoryPolicy\x12,\n\x07timeout\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x38\n\x08password\x18\x03 \x01(\tB&\xf2\xc7\x31\"[a-zA-Z0-9@=+?*.,!&#$^<>_-]{8,128}\x12\x36\n\tdatabases\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x06\xfa\xc7\x31\x02>0\x12\x45\n\x17slowlog_log_slower_than\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x07\xfa\xc7\x31\x03>=0\x12=\n\x0fslowlog_max_len\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x07\xfa\xc7\x31\x03>=0\x12\x39\n\x16notify_keyspace_events\x18\x07 \x01(\tB\x19\xf2\xc7\x31\x15[KEg$lshzxeAtm]{0,13}\x12p\n!client_output_buffer_limit_pubsub\x18\x08 \x01(\x0b\x32\x45.yandex.cloud.mdb.redis.v1.config.RedisConfig.ClientOutputBufferLimit\x12p\n!client_output_buffer_limit_normal\x18\t \x01(\x0b\x32\x45.yandex.cloud.mdb.redis.v1.config.RedisConfig.ClientOutputBufferLimit\x12@\n\x11maxmemory_percent\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x08\xfa\xc7\x31\x04\x31-75\x12<\n\x0elua_time_limit\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x07\xfa\xc7\x31\x03>=0\x12\x46\n\x19repl_backlog_size_percent\x18\x0c \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x06\xfa\xc7\x31\x02>0\x12\x41\n\x1d\x63luster_require_full_coverage\x18\r \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x41\n\x1d\x63luster_allow_reads_when_down\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12G\n#cluster_allow_pubsubshard_when_down\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12<\n\x0elfu_decay_time\x18\x10 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x07\xfa\xc7\x31\x03>=0\x12<\n\x0elfu_log_factor\x18\x11 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x07\xfa\xc7\x31\x03>=0\x12:\n\x16turn_before_switchover\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x33\n\x0f\x61llow_data_loss\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12.\n\nuse_luajit\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x36\n\x12io_threads_allowed\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12K\n\x19zset_max_listpack_entries\x18\x16 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x0b\xfa\xc7\x31\x07\x33\x32-2048\x1a\xd5\x01\n\x17\x43lientOutputBufferLimit\x12\x38\n\nhard_limit\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x07\xfa\xc7\x31\x03>=0\x12\x38\n\nsoft_limit\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x07\xfa\xc7\x31\x03>=0\x12:\n\x0csoft_seconds\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x07\xfa\xc7\x31\x03>=0J\x04\x08\x04\x10\x05J\x04\x08\x02\x10\x03\"\xc4\x01\n\x0fMaxmemoryPolicy\x12 \n\x1cMAXMEMORY_POLICY_UNSPECIFIED\x10\x00\x12\x10\n\x0cVOLATILE_LRU\x10\x01\x12\x0f\n\x0b\x41LLKEYS_LRU\x10\x02\x12\x10\n\x0cVOLATILE_LFU\x10\x03\x12\x0f\n\x0b\x41LLKEYS_LFU\x10\x04\x12\x13\n\x0fVOLATILE_RANDOM\x10\x05\x12\x12\n\x0e\x41LLKEYS_RANDOM\x10\x06\x12\x10\n\x0cVOLATILE_TTL\x10\x07\x12\x0e\n\nNOEVICTION\x10\x08\"\xe4\x01\n\x0eRedisConfigSet\x12G\n\x10\x65\x66\x66\x65\x63tive_config\x18\x01 \x01(\x0b\x32-.yandex.cloud.mdb.redis.v1.config.RedisConfig\x12\x42\n\x0buser_config\x18\x02 \x01(\x0b\x32-.yandex.cloud.mdb.redis.v1.config.RedisConfig\x12\x45\n\x0e\x64\x65\x66\x61ult_config\x18\x03 \x01(\x0b\x32-.yandex.cloud.mdb.redis.v1.config.RedisConfigBr\n$yandex.cloud.api.mdb.redis.v1.configZJgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/config;redisb\x06proto3')
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
32
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -60,12 +60,14 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
60
60
|
_globals['_REDISCONFIG'].fields_by_name['lfu_decay_time']._serialized_options = b'\372\3071\003>=0'
|
|
61
61
|
_globals['_REDISCONFIG'].fields_by_name['lfu_log_factor']._loaded_options = None
|
|
62
62
|
_globals['_REDISCONFIG'].fields_by_name['lfu_log_factor']._serialized_options = b'\372\3071\003>=0'
|
|
63
|
+
_globals['_REDISCONFIG'].fields_by_name['zset_max_listpack_entries']._loaded_options = None
|
|
64
|
+
_globals['_REDISCONFIG'].fields_by_name['zset_max_listpack_entries']._serialized_options = b'\372\3071\00732-2048'
|
|
63
65
|
_globals['_REDISCONFIG']._serialized_start=146
|
|
64
|
-
_globals['_REDISCONFIG']._serialized_end=
|
|
65
|
-
_globals['_REDISCONFIG_CLIENTOUTPUTBUFFERLIMIT']._serialized_start=
|
|
66
|
-
_globals['_REDISCONFIG_CLIENTOUTPUTBUFFERLIMIT']._serialized_end=
|
|
67
|
-
_globals['_REDISCONFIG_MAXMEMORYPOLICY']._serialized_start=
|
|
68
|
-
_globals['_REDISCONFIG_MAXMEMORYPOLICY']._serialized_end=
|
|
69
|
-
_globals['_REDISCONFIGSET']._serialized_start=
|
|
70
|
-
_globals['_REDISCONFIGSET']._serialized_end=
|
|
66
|
+
_globals['_REDISCONFIG']._serialized_end=2069
|
|
67
|
+
_globals['_REDISCONFIG_CLIENTOUTPUTBUFFERLIMIT']._serialized_start=1657
|
|
68
|
+
_globals['_REDISCONFIG_CLIENTOUTPUTBUFFERLIMIT']._serialized_end=1870
|
|
69
|
+
_globals['_REDISCONFIG_MAXMEMORYPOLICY']._serialized_start=1873
|
|
70
|
+
_globals['_REDISCONFIG_MAXMEMORYPOLICY']._serialized_end=2069
|
|
71
|
+
_globals['_REDISCONFIGSET']._serialized_start=2072
|
|
72
|
+
_globals['_REDISCONFIGSET']._serialized_end=2300
|
|
71
73
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -127,6 +127,7 @@ class RedisConfig(google.protobuf.message.Message):
|
|
|
127
127
|
ALLOW_DATA_LOSS_FIELD_NUMBER: builtins.int
|
|
128
128
|
USE_LUAJIT_FIELD_NUMBER: builtins.int
|
|
129
129
|
IO_THREADS_ALLOWED_FIELD_NUMBER: builtins.int
|
|
130
|
+
ZSET_MAX_LISTPACK_ENTRIES_FIELD_NUMBER: builtins.int
|
|
130
131
|
maxmemory_policy: global___RedisConfig.MaxmemoryPolicy.ValueType
|
|
131
132
|
"""Redis key eviction policy for a dataset that reaches maximum memory,
|
|
132
133
|
available to the host. Redis maxmemory setting depends on Managed
|
|
@@ -212,6 +213,10 @@ class RedisConfig(google.protobuf.message.Message):
|
|
|
212
213
|
def io_threads_allowed(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
213
214
|
"""Allow redis to use io-threads"""
|
|
214
215
|
|
|
216
|
+
@property
|
|
217
|
+
def zset_max_listpack_entries(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
218
|
+
"""Controls max number of entries in zset before conversion from memory-efficient listpack to CPU-efficient hash table and skiplist"""
|
|
219
|
+
|
|
215
220
|
def __init__(
|
|
216
221
|
self,
|
|
217
222
|
*,
|
|
@@ -236,9 +241,10 @@ class RedisConfig(google.protobuf.message.Message):
|
|
|
236
241
|
allow_data_loss: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
237
242
|
use_luajit: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
238
243
|
io_threads_allowed: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
244
|
+
zset_max_listpack_entries: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
239
245
|
) -> None: ...
|
|
240
|
-
def HasField(self, field_name: typing.Literal["allow_data_loss", b"allow_data_loss", "client_output_buffer_limit_normal", b"client_output_buffer_limit_normal", "client_output_buffer_limit_pubsub", b"client_output_buffer_limit_pubsub", "cluster_allow_pubsubshard_when_down", b"cluster_allow_pubsubshard_when_down", "cluster_allow_reads_when_down", b"cluster_allow_reads_when_down", "cluster_require_full_coverage", b"cluster_require_full_coverage", "databases", b"databases", "io_threads_allowed", b"io_threads_allowed", "lfu_decay_time", b"lfu_decay_time", "lfu_log_factor", b"lfu_log_factor", "lua_time_limit", b"lua_time_limit", "maxmemory_percent", b"maxmemory_percent", "repl_backlog_size_percent", b"repl_backlog_size_percent", "slowlog_log_slower_than", b"slowlog_log_slower_than", "slowlog_max_len", b"slowlog_max_len", "timeout", b"timeout", "turn_before_switchover", b"turn_before_switchover", "use_luajit", b"use_luajit"]) -> builtins.bool: ...
|
|
241
|
-
def ClearField(self, field_name: typing.Literal["allow_data_loss", b"allow_data_loss", "client_output_buffer_limit_normal", b"client_output_buffer_limit_normal", "client_output_buffer_limit_pubsub", b"client_output_buffer_limit_pubsub", "cluster_allow_pubsubshard_when_down", b"cluster_allow_pubsubshard_when_down", "cluster_allow_reads_when_down", b"cluster_allow_reads_when_down", "cluster_require_full_coverage", b"cluster_require_full_coverage", "databases", b"databases", "io_threads_allowed", b"io_threads_allowed", "lfu_decay_time", b"lfu_decay_time", "lfu_log_factor", b"lfu_log_factor", "lua_time_limit", b"lua_time_limit", "maxmemory_percent", b"maxmemory_percent", "maxmemory_policy", b"maxmemory_policy", "notify_keyspace_events", b"notify_keyspace_events", "password", b"password", "repl_backlog_size_percent", b"repl_backlog_size_percent", "slowlog_log_slower_than", b"slowlog_log_slower_than", "slowlog_max_len", b"slowlog_max_len", "timeout", b"timeout", "turn_before_switchover", b"turn_before_switchover", "use_luajit", b"use_luajit"]) -> None: ...
|
|
246
|
+
def HasField(self, field_name: typing.Literal["allow_data_loss", b"allow_data_loss", "client_output_buffer_limit_normal", b"client_output_buffer_limit_normal", "client_output_buffer_limit_pubsub", b"client_output_buffer_limit_pubsub", "cluster_allow_pubsubshard_when_down", b"cluster_allow_pubsubshard_when_down", "cluster_allow_reads_when_down", b"cluster_allow_reads_when_down", "cluster_require_full_coverage", b"cluster_require_full_coverage", "databases", b"databases", "io_threads_allowed", b"io_threads_allowed", "lfu_decay_time", b"lfu_decay_time", "lfu_log_factor", b"lfu_log_factor", "lua_time_limit", b"lua_time_limit", "maxmemory_percent", b"maxmemory_percent", "repl_backlog_size_percent", b"repl_backlog_size_percent", "slowlog_log_slower_than", b"slowlog_log_slower_than", "slowlog_max_len", b"slowlog_max_len", "timeout", b"timeout", "turn_before_switchover", b"turn_before_switchover", "use_luajit", b"use_luajit", "zset_max_listpack_entries", b"zset_max_listpack_entries"]) -> builtins.bool: ...
|
|
247
|
+
def ClearField(self, field_name: typing.Literal["allow_data_loss", b"allow_data_loss", "client_output_buffer_limit_normal", b"client_output_buffer_limit_normal", "client_output_buffer_limit_pubsub", b"client_output_buffer_limit_pubsub", "cluster_allow_pubsubshard_when_down", b"cluster_allow_pubsubshard_when_down", "cluster_allow_reads_when_down", b"cluster_allow_reads_when_down", "cluster_require_full_coverage", b"cluster_require_full_coverage", "databases", b"databases", "io_threads_allowed", b"io_threads_allowed", "lfu_decay_time", b"lfu_decay_time", "lfu_log_factor", b"lfu_log_factor", "lua_time_limit", b"lua_time_limit", "maxmemory_percent", b"maxmemory_percent", "maxmemory_policy", b"maxmemory_policy", "notify_keyspace_events", b"notify_keyspace_events", "password", b"password", "repl_backlog_size_percent", b"repl_backlog_size_percent", "slowlog_log_slower_than", b"slowlog_log_slower_than", "slowlog_max_len", b"slowlog_max_len", "timeout", b"timeout", "turn_before_switchover", b"turn_before_switchover", "use_luajit", b"use_luajit", "zset_max_listpack_entries", b"zset_max_listpack_entries"]) -> None: ...
|
|
242
248
|
|
|
243
249
|
global___RedisConfig = RedisConfig
|
|
244
250
|
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/quotamanager/v1/quota_limit_service.proto
|
|
5
|
+
# Protobuf Python Version: 5.28.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
28,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'yandex/cloud/quotamanager/v1/quota_limit_service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
26
|
+
from yandex.cloud.quotamanager.v1 import resource_pb2 as yandex_dot_cloud_dot_quotamanager_dot_v1_dot_resource__pb2
|
|
27
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
28
|
+
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6yandex/cloud/quotamanager/v1/quota_limit_service.proto\x12\x1cyandex.cloud.quotamanager.v1\x1a\x1cgoogle/api/annotations.proto\x1a+yandex/cloud/quotamanager/v1/resource.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x1egoogle/protobuf/wrappers.proto\"v\n\x14GetQuotaLimitRequest\x12>\n\x08resource\x18\x01 \x01(\x0b\x32&.yandex.cloud.quotamanager.v1.ResourceB\x04\xe8\xc7\x31\x01\x12\x1e\n\x08quota_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=64\"\xae\x01\n\x16ListQuotaLimitsRequest\x12>\n\x08resource\x18\x01 \x01(\x0b\x32&.yandex.cloud.quotamanager.v1.ResourceB\x04\xe8\xc7\x31\x01\x12\x15\n\x07service\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x03 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1e\n\npage_token\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=2000\"\xac\x01\n\x17ListQuotaLimitsResponse\x12\x38\n\x08resource\x18\x01 \x01(\x0b\x32&.yandex.cloud.quotamanager.v1.Resource\x12>\n\x0cquota_limits\x18\x02 \x03(\x0b\x32(.yandex.cloud.quotamanager.v1.QuotaLimit\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\"q\n\x13ListServicesRequest\x12\x1b\n\rresource_type\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1e\n\npage_token\x18\x03 \x01(\tB\n\x8a\xc8\x31\x06<=2000\"h\n\x14ListServicesResponse\x12\x37\n\x08services\x18\x01 \x03(\x0b\x32%.yandex.cloud.quotamanager.v1.Service\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"x\n\nQuotaLimit\x12\x10\n\x08quota_id\x18\x01 \x01(\t\x12+\n\x05limit\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12+\n\x05usage\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\"#\n\x07Service\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t2\xf0\x03\n\x11QuotaLimitService\x12\x95\x01\n\x03Get\x12\x32.yandex.cloud.quotamanager.v1.GetQuotaLimitRequest\x1a(.yandex.cloud.quotamanager.v1.QuotaLimit\"0\x82\xd3\xe4\x93\x02*\x12(/quota-manager/v1/quotaLimits/{quota_id}\x12\x9a\x01\n\x04List\x12\x34.yandex.cloud.quotamanager.v1.ListQuotaLimitsRequest\x1a\x35.yandex.cloud.quotamanager.v1.ListQuotaLimitsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/quota-manager/v1/quotaLimits\x12\xa5\x01\n\x0cListServices\x12\x31.yandex.cloud.quotamanager.v1.ListServicesRequest\x1a\x32.yandex.cloud.quotamanager.v1.ListServicesResponse\".\x82\xd3\xe4\x93\x02(\x12&/quota-manager/v1/quotaLimits/servicesBq\n yandex.cloud.api.quotamanager.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/quotamanager/v1;quotamanagerb\x06proto3')
|
|
32
|
+
|
|
33
|
+
_globals = globals()
|
|
34
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
35
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.quotamanager.v1.quota_limit_service_pb2', _globals)
|
|
36
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
37
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
38
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n yandex.cloud.api.quotamanager.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/quotamanager/v1;quotamanager'
|
|
39
|
+
_globals['_GETQUOTALIMITREQUEST'].fields_by_name['resource']._loaded_options = None
|
|
40
|
+
_globals['_GETQUOTALIMITREQUEST'].fields_by_name['resource']._serialized_options = b'\350\3071\001'
|
|
41
|
+
_globals['_GETQUOTALIMITREQUEST'].fields_by_name['quota_id']._loaded_options = None
|
|
42
|
+
_globals['_GETQUOTALIMITREQUEST'].fields_by_name['quota_id']._serialized_options = b'\350\3071\001\212\3101\004<=64'
|
|
43
|
+
_globals['_LISTQUOTALIMITSREQUEST'].fields_by_name['resource']._loaded_options = None
|
|
44
|
+
_globals['_LISTQUOTALIMITSREQUEST'].fields_by_name['resource']._serialized_options = b'\350\3071\001'
|
|
45
|
+
_globals['_LISTQUOTALIMITSREQUEST'].fields_by_name['service']._loaded_options = None
|
|
46
|
+
_globals['_LISTQUOTALIMITSREQUEST'].fields_by_name['service']._serialized_options = b'\350\3071\001'
|
|
47
|
+
_globals['_LISTQUOTALIMITSREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
48
|
+
_globals['_LISTQUOTALIMITSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\0060-1000'
|
|
49
|
+
_globals['_LISTQUOTALIMITSREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
50
|
+
_globals['_LISTQUOTALIMITSREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\006<=2000'
|
|
51
|
+
_globals['_LISTSERVICESREQUEST'].fields_by_name['resource_type']._loaded_options = None
|
|
52
|
+
_globals['_LISTSERVICESREQUEST'].fields_by_name['resource_type']._serialized_options = b'\350\3071\001'
|
|
53
|
+
_globals['_LISTSERVICESREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
54
|
+
_globals['_LISTSERVICESREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\0060-1000'
|
|
55
|
+
_globals['_LISTSERVICESREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
56
|
+
_globals['_LISTSERVICESREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\006<=2000'
|
|
57
|
+
_globals['_QUOTALIMITSERVICE'].methods_by_name['Get']._loaded_options = None
|
|
58
|
+
_globals['_QUOTALIMITSERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\002*\022(/quota-manager/v1/quotaLimits/{quota_id}'
|
|
59
|
+
_globals['_QUOTALIMITSERVICE'].methods_by_name['List']._loaded_options = None
|
|
60
|
+
_globals['_QUOTALIMITSERVICE'].methods_by_name['List']._serialized_options = b'\202\323\344\223\002\037\022\035/quota-manager/v1/quotaLimits'
|
|
61
|
+
_globals['_QUOTALIMITSERVICE'].methods_by_name['ListServices']._loaded_options = None
|
|
62
|
+
_globals['_QUOTALIMITSERVICE'].methods_by_name['ListServices']._serialized_options = b'\202\323\344\223\002(\022&/quota-manager/v1/quotaLimits/services'
|
|
63
|
+
_globals['_GETQUOTALIMITREQUEST']._serialized_start=226
|
|
64
|
+
_globals['_GETQUOTALIMITREQUEST']._serialized_end=344
|
|
65
|
+
_globals['_LISTQUOTALIMITSREQUEST']._serialized_start=347
|
|
66
|
+
_globals['_LISTQUOTALIMITSREQUEST']._serialized_end=521
|
|
67
|
+
_globals['_LISTQUOTALIMITSRESPONSE']._serialized_start=524
|
|
68
|
+
_globals['_LISTQUOTALIMITSRESPONSE']._serialized_end=696
|
|
69
|
+
_globals['_LISTSERVICESREQUEST']._serialized_start=698
|
|
70
|
+
_globals['_LISTSERVICESREQUEST']._serialized_end=811
|
|
71
|
+
_globals['_LISTSERVICESRESPONSE']._serialized_start=813
|
|
72
|
+
_globals['_LISTSERVICESRESPONSE']._serialized_end=917
|
|
73
|
+
_globals['_QUOTALIMIT']._serialized_start=919
|
|
74
|
+
_globals['_QUOTALIMIT']._serialized_end=1039
|
|
75
|
+
_globals['_SERVICE']._serialized_start=1041
|
|
76
|
+
_globals['_SERVICE']._serialized_end=1076
|
|
77
|
+
_globals['_QUOTALIMITSERVICE']._serialized_start=1079
|
|
78
|
+
_globals['_QUOTALIMITSERVICE']._serialized_end=1575
|
|
79
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
import google.protobuf.wrappers_pb2
|
|
12
|
+
import typing
|
|
13
|
+
import yandex.cloud.quotamanager.v1.resource_pb2
|
|
14
|
+
|
|
15
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
16
|
+
|
|
17
|
+
@typing.final
|
|
18
|
+
class GetQuotaLimitRequest(google.protobuf.message.Message):
|
|
19
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
20
|
+
|
|
21
|
+
RESOURCE_FIELD_NUMBER: builtins.int
|
|
22
|
+
QUOTA_ID_FIELD_NUMBER: builtins.int
|
|
23
|
+
quota_id: builtins.str
|
|
24
|
+
"""The id of the quota to retrieve."""
|
|
25
|
+
@property
|
|
26
|
+
def resource(self) -> yandex.cloud.quotamanager.v1.resource_pb2.Resource:
|
|
27
|
+
"""The resource for which the quota limit is being requested."""
|
|
28
|
+
|
|
29
|
+
def __init__(
|
|
30
|
+
self,
|
|
31
|
+
*,
|
|
32
|
+
resource: yandex.cloud.quotamanager.v1.resource_pb2.Resource | None = ...,
|
|
33
|
+
quota_id: builtins.str = ...,
|
|
34
|
+
) -> None: ...
|
|
35
|
+
def HasField(self, field_name: typing.Literal["resource", b"resource"]) -> builtins.bool: ...
|
|
36
|
+
def ClearField(self, field_name: typing.Literal["quota_id", b"quota_id", "resource", b"resource"]) -> None: ...
|
|
37
|
+
|
|
38
|
+
global___GetQuotaLimitRequest = GetQuotaLimitRequest
|
|
39
|
+
|
|
40
|
+
@typing.final
|
|
41
|
+
class ListQuotaLimitsRequest(google.protobuf.message.Message):
|
|
42
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
43
|
+
|
|
44
|
+
RESOURCE_FIELD_NUMBER: builtins.int
|
|
45
|
+
SERVICE_FIELD_NUMBER: builtins.int
|
|
46
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
47
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
48
|
+
service: builtins.str
|
|
49
|
+
"""The service for which quota limits are being requested."""
|
|
50
|
+
page_size: builtins.int
|
|
51
|
+
"""The maximum number of quota limits to return per response."""
|
|
52
|
+
page_token: builtins.str
|
|
53
|
+
"""Token to retrieve the next page of results. Omitted on the first request."""
|
|
54
|
+
@property
|
|
55
|
+
def resource(self) -> yandex.cloud.quotamanager.v1.resource_pb2.Resource:
|
|
56
|
+
"""The resource for which quota limits are being listed."""
|
|
57
|
+
|
|
58
|
+
def __init__(
|
|
59
|
+
self,
|
|
60
|
+
*,
|
|
61
|
+
resource: yandex.cloud.quotamanager.v1.resource_pb2.Resource | None = ...,
|
|
62
|
+
service: builtins.str = ...,
|
|
63
|
+
page_size: builtins.int = ...,
|
|
64
|
+
page_token: builtins.str = ...,
|
|
65
|
+
) -> None: ...
|
|
66
|
+
def HasField(self, field_name: typing.Literal["resource", b"resource"]) -> builtins.bool: ...
|
|
67
|
+
def ClearField(self, field_name: typing.Literal["page_size", b"page_size", "page_token", b"page_token", "resource", b"resource", "service", b"service"]) -> None: ...
|
|
68
|
+
|
|
69
|
+
global___ListQuotaLimitsRequest = ListQuotaLimitsRequest
|
|
70
|
+
|
|
71
|
+
@typing.final
|
|
72
|
+
class ListQuotaLimitsResponse(google.protobuf.message.Message):
|
|
73
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
74
|
+
|
|
75
|
+
RESOURCE_FIELD_NUMBER: builtins.int
|
|
76
|
+
QUOTA_LIMITS_FIELD_NUMBER: builtins.int
|
|
77
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
78
|
+
next_page_token: builtins.str
|
|
79
|
+
"""Token to retrieve the next page of results."""
|
|
80
|
+
@property
|
|
81
|
+
def resource(self) -> yandex.cloud.quotamanager.v1.resource_pb2.Resource:
|
|
82
|
+
"""The associated resource for these quota limits."""
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def quota_limits(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___QuotaLimit]:
|
|
86
|
+
"""List of quota limits for the specified resource and service."""
|
|
87
|
+
|
|
88
|
+
def __init__(
|
|
89
|
+
self,
|
|
90
|
+
*,
|
|
91
|
+
resource: yandex.cloud.quotamanager.v1.resource_pb2.Resource | None = ...,
|
|
92
|
+
quota_limits: collections.abc.Iterable[global___QuotaLimit] | None = ...,
|
|
93
|
+
next_page_token: builtins.str = ...,
|
|
94
|
+
) -> None: ...
|
|
95
|
+
def HasField(self, field_name: typing.Literal["resource", b"resource"]) -> builtins.bool: ...
|
|
96
|
+
def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "quota_limits", b"quota_limits", "resource", b"resource"]) -> None: ...
|
|
97
|
+
|
|
98
|
+
global___ListQuotaLimitsResponse = ListQuotaLimitsResponse
|
|
99
|
+
|
|
100
|
+
@typing.final
|
|
101
|
+
class ListServicesRequest(google.protobuf.message.Message):
|
|
102
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
103
|
+
|
|
104
|
+
RESOURCE_TYPE_FIELD_NUMBER: builtins.int
|
|
105
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
106
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
107
|
+
resource_type: builtins.str
|
|
108
|
+
"""The type of resources for which services are being requested."""
|
|
109
|
+
page_size: builtins.int
|
|
110
|
+
"""The maximum number of services to return per response."""
|
|
111
|
+
page_token: builtins.str
|
|
112
|
+
"""Token to retrieve the next page of results. Omitted on the first request."""
|
|
113
|
+
def __init__(
|
|
114
|
+
self,
|
|
115
|
+
*,
|
|
116
|
+
resource_type: builtins.str = ...,
|
|
117
|
+
page_size: builtins.int = ...,
|
|
118
|
+
page_token: builtins.str = ...,
|
|
119
|
+
) -> None: ...
|
|
120
|
+
def ClearField(self, field_name: typing.Literal["page_size", b"page_size", "page_token", b"page_token", "resource_type", b"resource_type"]) -> None: ...
|
|
121
|
+
|
|
122
|
+
global___ListServicesRequest = ListServicesRequest
|
|
123
|
+
|
|
124
|
+
@typing.final
|
|
125
|
+
class ListServicesResponse(google.protobuf.message.Message):
|
|
126
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
127
|
+
|
|
128
|
+
SERVICES_FIELD_NUMBER: builtins.int
|
|
129
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
130
|
+
next_page_token: builtins.str
|
|
131
|
+
"""Token to retrieve the next page of results."""
|
|
132
|
+
@property
|
|
133
|
+
def services(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Service]:
|
|
134
|
+
"""List of services available for quota management."""
|
|
135
|
+
|
|
136
|
+
def __init__(
|
|
137
|
+
self,
|
|
138
|
+
*,
|
|
139
|
+
services: collections.abc.Iterable[global___Service] | None = ...,
|
|
140
|
+
next_page_token: builtins.str = ...,
|
|
141
|
+
) -> None: ...
|
|
142
|
+
def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "services", b"services"]) -> None: ...
|
|
143
|
+
|
|
144
|
+
global___ListServicesResponse = ListServicesResponse
|
|
145
|
+
|
|
146
|
+
@typing.final
|
|
147
|
+
class QuotaLimit(google.protobuf.message.Message):
|
|
148
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
149
|
+
|
|
150
|
+
QUOTA_ID_FIELD_NUMBER: builtins.int
|
|
151
|
+
LIMIT_FIELD_NUMBER: builtins.int
|
|
152
|
+
USAGE_FIELD_NUMBER: builtins.int
|
|
153
|
+
quota_id: builtins.str
|
|
154
|
+
"""The unique id of the quota."""
|
|
155
|
+
@property
|
|
156
|
+
def limit(self) -> google.protobuf.wrappers_pb2.DoubleValue:
|
|
157
|
+
"""The limit value set for this quota."""
|
|
158
|
+
|
|
159
|
+
@property
|
|
160
|
+
def usage(self) -> google.protobuf.wrappers_pb2.DoubleValue:
|
|
161
|
+
"""The current usage level of this quota."""
|
|
162
|
+
|
|
163
|
+
def __init__(
|
|
164
|
+
self,
|
|
165
|
+
*,
|
|
166
|
+
quota_id: builtins.str = ...,
|
|
167
|
+
limit: google.protobuf.wrappers_pb2.DoubleValue | None = ...,
|
|
168
|
+
usage: google.protobuf.wrappers_pb2.DoubleValue | None = ...,
|
|
169
|
+
) -> None: ...
|
|
170
|
+
def HasField(self, field_name: typing.Literal["limit", b"limit", "usage", b"usage"]) -> builtins.bool: ...
|
|
171
|
+
def ClearField(self, field_name: typing.Literal["limit", b"limit", "quota_id", b"quota_id", "usage", b"usage"]) -> None: ...
|
|
172
|
+
|
|
173
|
+
global___QuotaLimit = QuotaLimit
|
|
174
|
+
|
|
175
|
+
@typing.final
|
|
176
|
+
class Service(google.protobuf.message.Message):
|
|
177
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
178
|
+
|
|
179
|
+
ID_FIELD_NUMBER: builtins.int
|
|
180
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
181
|
+
id: builtins.str
|
|
182
|
+
"""The unique id of the service."""
|
|
183
|
+
name: builtins.str
|
|
184
|
+
"""The name of the service."""
|
|
185
|
+
def __init__(
|
|
186
|
+
self,
|
|
187
|
+
*,
|
|
188
|
+
id: builtins.str = ...,
|
|
189
|
+
name: builtins.str = ...,
|
|
190
|
+
) -> None: ...
|
|
191
|
+
def ClearField(self, field_name: typing.Literal["id", b"id", "name", b"name"]) -> None: ...
|
|
192
|
+
|
|
193
|
+
global___Service = Service
|