yandexcloud 0.320.0__py3-none-any.whl → 0.322.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of yandexcloud might be problematic. Click here for more details.
- yandex/cloud/ai/assistants/v1/assistant_pb2.pyi +38 -8
- yandex/cloud/ai/assistants/v1/assistant_service_pb2.pyi +89 -15
- yandex/cloud/ai/assistants/v1/assistant_service_pb2_grpc.py +18 -9
- yandex/cloud/ai/assistants/v1/assistant_service_pb2_grpc.pyi +30 -6
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +37 -6
- yandex/cloud/ai/assistants/v1/runs/run_pb2.pyi +55 -9
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +74 -11
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +18 -8
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +35 -5
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.pyi +15 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.pyi +8 -1
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2.pyi +15 -1
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.py +10 -5
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.pyi +14 -2
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.pyi +45 -9
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.pyi +52 -9
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.py +16 -8
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.pyi +26 -5
- yandex/cloud/ai/assistants/v1/threads/message_pb2.py +18 -16
- yandex/cloud/ai/assistants/v1/threads/message_pb2.pyi +84 -10
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2.pyi +21 -3
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2_grpc.py +13 -6
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2_grpc.pyi +24 -3
- yandex/cloud/ai/assistants/v1/threads/thread_pb2.pyi +22 -5
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.pyi +47 -7
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2_grpc.py +16 -8
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2_grpc.pyi +26 -5
- yandex/cloud/ai/assistants/v1/users/user_pb2.pyi +21 -5
- yandex/cloud/ai/assistants/v1/users/user_service_pb2.pyi +43 -6
- yandex/cloud/ai/assistants/v1/users/user_service_pb2_grpc.py +16 -8
- yandex/cloud/ai/assistants/v1/users/user_service_pb2_grpc.pyi +26 -5
- yandex/cloud/ai/dataset/__init__.py +0 -0
- yandex/cloud/ai/dataset/v1/__init__.py +0 -0
- yandex/cloud/ai/dataset/v1/dataset_pb2.py +35 -0
- yandex/cloud/ai/dataset/v1/dataset_pb2.pyi +161 -0
- yandex/cloud/ai/dataset/v1/dataset_pb2_grpc.py +4 -0
- yandex/cloud/ai/dataset/v1/dataset_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +117 -0
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +520 -0
- yandex/cloud/ai/dataset/v1/dataset_service_pb2_grpc.py +378 -0
- yandex/cloud/ai/dataset/v1/dataset_service_pb2_grpc.pyi +237 -0
- yandex/cloud/ai/files/v1/file_pb2.pyi +22 -5
- yandex/cloud/ai/files/v1/file_service_pb2.pyi +53 -6
- yandex/cloud/ai/files/v1/file_service_pb2_grpc.py +18 -9
- yandex/cloud/ai/files/v1/file_service_pb2_grpc.pyi +30 -6
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.py +30 -13
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +197 -0
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +14 -14
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +9 -1
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.py +52 -51
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +11 -1
- yandex/cloud/apploadbalancer/v1/rate_limit_pb2.py +35 -0
- yandex/cloud/apploadbalancer/v1/rate_limit_pb2.pyi +62 -0
- yandex/cloud/apploadbalancer/v1/rate_limit_pb2_grpc.py +4 -0
- yandex/cloud/apploadbalancer/v1/rate_limit_pb2_grpc.pyi +17 -0
- yandex/cloud/apploadbalancer/v1/virtual_host_pb2.py +44 -43
- yandex/cloud/apploadbalancer/v1/virtual_host_pb2.pyi +25 -6
- yandex/cloud/apploadbalancer/v1/virtual_host_service_pb2.py +30 -29
- yandex/cloud/apploadbalancer/v1/virtual_host_service_pb2.pyi +17 -4
- yandex/cloud/compute/v1/disk_pb2.py +12 -11
- yandex/cloud/compute/v1/disk_pb2.pyi +9 -2
- yandex/cloud/compute/v1/disk_service_pb2.py +36 -34
- yandex/cloud/compute/v1/disk_service_pb2.pyi +5 -1
- yandex/cloud/compute/v1/image_pb2.py +12 -11
- yandex/cloud/compute/v1/image_pb2.pyi +9 -2
- yandex/cloud/compute/v1/instance_service_pb2.py +39 -37
- yandex/cloud/compute/v1/instance_service_pb2.pyi +11 -7
- yandex/cloud/compute/v1/kek_pb2.py +26 -0
- yandex/cloud/compute/v1/kek_pb2.pyi +31 -0
- yandex/cloud/compute/v1/kek_pb2_grpc.py +4 -0
- yandex/cloud/compute/v1/kek_pb2_grpc.pyi +17 -0
- yandex/cloud/compute/v1/snapshot_pb2.py +8 -7
- yandex/cloud/compute/v1/snapshot_pb2.pyi +9 -2
- yandex/cloud/datasphere/v1/project_pb2.py +6 -8
- yandex/cloud/datasphere/v1/project_pb2.pyi +1 -35
- yandex/cloud/datasphere/v1/project_service_pb2.py +39 -70
- yandex/cloud/datasphere/v1/project_service_pb2.pyi +0 -171
- yandex/cloud/datasphere/v1/project_service_pb2_grpc.py +0 -102
- yandex/cloud/datasphere/v1/project_service_pb2_grpc.pyi +0 -60
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +21 -19
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +50 -1
- yandex/cloud/datasphere/v2/project_pb2.py +11 -15
- yandex/cloud/datasphere/v2/project_pb2.pyi +1 -55
- yandex/cloud/datasphere/v2/project_service_pb2.py +73 -84
- yandex/cloud/datasphere/v2/project_service_pb2.pyi +102 -119
- yandex/cloud/datasphere/v2/project_service_pb2_grpc.py +34 -70
- yandex/cloud/datasphere/v2/project_service_pb2_grpc.pyi +20 -52
- yandex/cloud/datasphere/v2/resource_types_pb2.py +2 -2
- yandex/cloud/datasphere/v2/resource_types_pb2.pyi +0 -4
- yandex/cloud/datatransfer/v1/endpoint/postgres_pb2.pyi +2 -2
- yandex/cloud/k8s/v1/cluster_service_pb2.py +38 -38
- yandex/cloud/k8s/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/mdb/greenplum/v1/pxf_pb2.pyi +1 -1
- yandex/cloud/mdb/kafka/v1/cluster_pb2.py +26 -24
- yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +32 -5
- yandex/cloud/mdb/kafka/v1/connector_service_pb2.py +37 -37
- yandex/cloud/mdb/kafka/v1/user_pb2.pyi +1 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.py +15 -15
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.pyi +2 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.py +15 -15
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.pyi +2 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.py +15 -15
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.pyi +2 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.py +15 -15
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.pyi +2 -0
- yandex/cloud/mdb/redis/v1/config/redis_pb2.py +16 -8
- yandex/cloud/mdb/redis/v1/config/redis_pb2.pyi +56 -2
- {yandexcloud-0.320.0.dist-info → yandexcloud-0.322.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.320.0.dist-info → yandexcloud-0.322.0.dist-info}/RECORD +113 -95
- {yandexcloud-0.320.0.dist-info → yandexcloud-0.322.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.320.0.dist-info → yandexcloud-0.322.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.320.0.dist-info → yandexcloud-0.322.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.320.0.dist-info → yandexcloud-0.322.0.dist-info}/top_level.txt +0 -0
|
@@ -13,10 +13,11 @@ _sym_db = _symbol_database.Default()
|
|
|
13
13
|
|
|
14
14
|
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
|
|
15
15
|
from yandex.cloud.apploadbalancer.v1 import payload_pb2 as yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_payload__pb2
|
|
16
|
+
from yandex.cloud.apploadbalancer.v1 import rate_limit_pb2 as yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_rate__limit__pb2
|
|
16
17
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
17
18
|
|
|
18
19
|
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/apploadbalancer/v1/virtual_host.proto\x12\x1fyandex.cloud.apploadbalancer.v1\x1a\x1egoogle/protobuf/duration.proto\x1a-yandex/cloud/apploadbalancer/v1/payload.proto\x1a\x1dyandex/cloud/validation.proto\"\
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/apploadbalancer/v1/virtual_host.proto\x12\x1fyandex.cloud.apploadbalancer.v1\x1a\x1egoogle/protobuf/duration.proto\x1a-yandex/cloud/apploadbalancer/v1/payload.proto\x1a\x30yandex/cloud/apploadbalancer/v1/rate_limit.proto\x1a\x1dyandex/cloud/validation.proto\"\x9d\x03\n\x0bVirtualHost\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x11\n\tauthority\x18\x02 \x03(\t\x12\x36\n\x06routes\x18\x03 \x03(\x0b\x32&.yandex.cloud.apploadbalancer.v1.Route\x12S\n\x16modify_request_headers\x18\x04 \x03(\x0b\x32\x33.yandex.cloud.apploadbalancer.v1.HeaderModification\x12T\n\x17modify_response_headers\x18\x05 \x03(\x0b\x32\x33.yandex.cloud.apploadbalancer.v1.HeaderModification\x12\x44\n\rroute_options\x18\x06 \x01(\x0b\x32-.yandex.cloud.apploadbalancer.v1.RouteOptions\x12>\n\nrate_limit\x18\x07 \x01(\x0b\x32*.yandex.cloud.apploadbalancer.v1.RateLimit\"\x8b\x02\n\x0cRouteOptions\x12S\n\x16modify_request_headers\x18\x01 \x03(\x0b\x32\x33.yandex.cloud.apploadbalancer.v1.HeaderModification\x12T\n\x17modify_response_headers\x18\x02 \x03(\x0b\x32\x33.yandex.cloud.apploadbalancer.v1.HeaderModification\x12\x33\n\x04rbac\x18\x03 \x01(\x0b\x32%.yandex.cloud.apploadbalancer.v1.RBAC\x12\x1b\n\x13security_profile_id\x18\x04 \x01(\t\"\xcb\x01\n\x04RBAC\x12\x42\n\x06\x61\x63tion\x18\x01 \x01(\x0e\x32,.yandex.cloud.apploadbalancer.v1.RBAC.ActionB\x04\xe8\xc7\x31\x01\x12H\n\nprincipals\x18\x02 \x03(\x0b\x32+.yandex.cloud.apploadbalancer.v1.PrincipalsB\x07\x82\xc8\x31\x03>=1\"5\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\t\n\x05\x41LLOW\x10\x01\x12\x08\n\x04\x44\x45NY\x10\x02\"Y\n\nPrincipals\x12K\n\x0e\x61nd_principals\x18\x01 \x03(\x0b\x32*.yandex.cloud.apploadbalancer.v1.PrincipalB\x07\x82\xc8\x31\x03>=1\"\xf1\x01\n\tPrincipal\x12J\n\x06header\x18\x01 \x01(\x0b\x32\x38.yandex.cloud.apploadbalancer.v1.Principal.HeaderMatcherH\x00\x12\x13\n\tremote_ip\x18\x02 \x01(\tH\x00\x12\r\n\x03\x61ny\x18\x03 \x01(\x08H\x00\x1a`\n\rHeaderMatcher\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12;\n\x05value\x18\x02 \x01(\x0b\x32,.yandex.cloud.apploadbalancer.v1.StringMatchB\x12\n\nidentifier\x12\x04\xc0\xc1\x31\x01\"x\n\x12HeaderModification\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x06\x61ppend\x18\x02 \x01(\tH\x00\x12\x11\n\x07replace\x18\x03 \x01(\tH\x00\x12\x10\n\x06remove\x18\x04 \x01(\x08H\x00\x12\x10\n\x06rename\x18\x05 \x01(\tH\x00\x42\x0b\n\toperation\"\xe8\x01\n\x05Route\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12:\n\x04http\x18\x02 \x01(\x0b\x32*.yandex.cloud.apploadbalancer.v1.HttpRouteH\x00\x12:\n\x04grpc\x18\x03 \x01(\x0b\x32*.yandex.cloud.apploadbalancer.v1.GrpcRouteH\x00\x12\x44\n\rroute_options\x18\x04 \x01(\x0b\x32-.yandex.cloud.apploadbalancer.v1.RouteOptionsB\r\n\x05route\x12\x04\xc0\xc1\x31\x01\"\xb5\x02\n\tHttpRoute\x12>\n\x05match\x18\x01 \x01(\x0b\x32/.yandex.cloud.apploadbalancer.v1.HttpRouteMatch\x12\x41\n\x05route\x18\x02 \x01(\x0b\x32\x30.yandex.cloud.apploadbalancer.v1.HttpRouteActionH\x00\x12\x43\n\x08redirect\x18\x03 \x01(\x0b\x32/.yandex.cloud.apploadbalancer.v1.RedirectActionH\x00\x12P\n\x0f\x64irect_response\x18\x04 \x01(\x0b\x32\x35.yandex.cloud.apploadbalancer.v1.DirectResponseActionH\x00\x42\x0e\n\x06\x61\x63tion\x12\x04\xc0\xc1\x31\x01\"\xf4\x01\n\tGrpcRoute\x12>\n\x05match\x18\x01 \x01(\x0b\x32/.yandex.cloud.apploadbalancer.v1.GrpcRouteMatch\x12\x41\n\x05route\x18\x02 \x01(\x0b\x32\x30.yandex.cloud.apploadbalancer.v1.GrpcRouteActionH\x00\x12T\n\x0fstatus_response\x18\x03 \x01(\x0b\x32\x39.yandex.cloud.apploadbalancer.v1.GrpcStatusResponseActionH\x00\x42\x0e\n\x06\x61\x63tion\x12\x04\xc0\xc1\x31\x01\"a\n\x0eHttpRouteMatch\x12\x13\n\x0bhttp_method\x18\x01 \x03(\t\x12:\n\x04path\x18\x02 \x01(\x0b\x32,.yandex.cloud.apploadbalancer.v1.StringMatch\"L\n\x0eGrpcRouteMatch\x12:\n\x04\x66qmn\x18\x01 \x01(\x0b\x32,.yandex.cloud.apploadbalancer.v1.StringMatch\"b\n\x0bStringMatch\x12\x15\n\x0b\x65xact_match\x18\x01 \x01(\tH\x00\x12\x16\n\x0cprefix_match\x18\x02 \x01(\tH\x00\x12\x15\n\x0bregex_match\x18\x03 \x01(\tH\x00\x42\r\n\x05match\x12\x04\xc0\xc1\x31\x01\"\xfa\x02\n\x0eRedirectAction\x12\x16\n\x0ereplace_scheme\x18\x01 \x01(\t\x12\x14\n\x0creplace_host\x18\x02 \x01(\t\x12\x14\n\x0creplace_port\x18\x03 \x01(\x03\x12\x16\n\x0creplace_path\x18\x04 \x01(\tH\x00\x12\x18\n\x0ereplace_prefix\x18\x05 \x01(\tH\x00\x12\x14\n\x0cremove_query\x18\x06 \x01(\x08\x12[\n\rresponse_code\x18\x07 \x01(\x0e\x32\x44.yandex.cloud.apploadbalancer.v1.RedirectAction.RedirectResponseCode\"w\n\x14RedirectResponseCode\x12\x15\n\x11MOVED_PERMANENTLY\x10\x00\x12\t\n\x05\x46OUND\x10\x01\x12\r\n\tSEE_OTHER\x10\x02\x12\x16\n\x12TEMPORARY_REDIRECT\x10\x03\x12\x16\n\x12PERMANENT_REDIRECT\x10\x04\x42\x06\n\x04path\"k\n\x14\x44irectResponseAction\x12\x1b\n\x06status\x18\x01 \x01(\x03\x42\x0b\xfa\xc7\x31\x07\x31\x30\x30-599\x12\x36\n\x04\x62ody\x18\x02 \x01(\x0b\x32(.yandex.cloud.apploadbalancer.v1.Payload\"\x82\x02\n\x18GrpcStatusResponseAction\x12P\n\x06status\x18\x01 \x01(\x0e\x32@.yandex.cloud.apploadbalancer.v1.GrpcStatusResponseAction.Status\"\x93\x01\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\x14\n\x10INVALID_ARGUMENT\x10\x01\x12\r\n\tNOT_FOUND\x10\x02\x12\x15\n\x11PERMISSION_DENIED\x10\x03\x12\x13\n\x0fUNAUTHENTICATED\x10\x04\x12\x11\n\rUNIMPLEMENTED\x10\x05\x12\x0c\n\x08INTERNAL\x10\x06\x12\x0f\n\x0bUNAVAILABLE\x10\x07\"\xcc\x02\n\x0fHttpRouteAction\x12\x1e\n\x10\x62\x61\x63kend_group_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12*\n\x07timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x0cidle_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x16\n\x0chost_rewrite\x18\x04 \x01(\tH\x00\x12\x1b\n\x11\x61uto_host_rewrite\x18\x05 \x01(\x08H\x00\x12\x16\n\x0eprefix_rewrite\x18\x06 \x01(\t\x12\x15\n\rupgrade_types\x18\x07 \x03(\t\x12>\n\nrate_limit\x18\x08 \x01(\x0b\x32*.yandex.cloud.apploadbalancer.v1.RateLimitB\x18\n\x16host_rewrite_specifier\"\xa1\x02\n\x0fGrpcRouteAction\x12\x1e\n\x10\x62\x61\x63kend_group_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12.\n\x0bmax_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x0cidle_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x16\n\x0chost_rewrite\x18\x04 \x01(\tH\x00\x12\x1b\n\x11\x61uto_host_rewrite\x18\x05 \x01(\x08H\x00\x12>\n\nrate_limit\x18\x06 \x01(\x0b\x32*.yandex.cloud.apploadbalancer.v1.RateLimitB\x18\n\x16host_rewrite_specifierBz\n#yandex.cloud.api.apploadbalancer.v1ZSgithub.com/yandex-cloud/go-genproto/yandex/cloud/apploadbalancer/v1;apploadbalancerb\x06proto3')
|
|
20
21
|
|
|
21
22
|
_globals = globals()
|
|
22
23
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -52,46 +53,46 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
52
53
|
_HTTPROUTEACTION.fields_by_name['backend_group_id']._serialized_options = b'\350\3071\001'
|
|
53
54
|
_GRPCROUTEACTION.fields_by_name['backend_group_id']._options = None
|
|
54
55
|
_GRPCROUTEACTION.fields_by_name['backend_group_id']._serialized_options = b'\350\3071\001'
|
|
55
|
-
_globals['_VIRTUALHOST']._serialized_start=
|
|
56
|
-
_globals['_VIRTUALHOST']._serialized_end=
|
|
57
|
-
_globals['_ROUTEOPTIONS']._serialized_start=
|
|
58
|
-
_globals['_ROUTEOPTIONS']._serialized_end=
|
|
59
|
-
_globals['_RBAC']._serialized_start=
|
|
60
|
-
_globals['_RBAC']._serialized_end=
|
|
61
|
-
_globals['_RBAC_ACTION']._serialized_start=
|
|
62
|
-
_globals['_RBAC_ACTION']._serialized_end=
|
|
63
|
-
_globals['_PRINCIPALS']._serialized_start=
|
|
64
|
-
_globals['_PRINCIPALS']._serialized_end=
|
|
65
|
-
_globals['_PRINCIPAL']._serialized_start=
|
|
66
|
-
_globals['_PRINCIPAL']._serialized_end=
|
|
67
|
-
_globals['_PRINCIPAL_HEADERMATCHER']._serialized_start=
|
|
68
|
-
_globals['_PRINCIPAL_HEADERMATCHER']._serialized_end=
|
|
69
|
-
_globals['_HEADERMODIFICATION']._serialized_start=
|
|
70
|
-
_globals['_HEADERMODIFICATION']._serialized_end=
|
|
71
|
-
_globals['_ROUTE']._serialized_start=
|
|
72
|
-
_globals['_ROUTE']._serialized_end=
|
|
73
|
-
_globals['_HTTPROUTE']._serialized_start=
|
|
74
|
-
_globals['_HTTPROUTE']._serialized_end=
|
|
75
|
-
_globals['_GRPCROUTE']._serialized_start=
|
|
76
|
-
_globals['_GRPCROUTE']._serialized_end=
|
|
77
|
-
_globals['_HTTPROUTEMATCH']._serialized_start=
|
|
78
|
-
_globals['_HTTPROUTEMATCH']._serialized_end=
|
|
79
|
-
_globals['_GRPCROUTEMATCH']._serialized_start=
|
|
80
|
-
_globals['_GRPCROUTEMATCH']._serialized_end=
|
|
81
|
-
_globals['_STRINGMATCH']._serialized_start=
|
|
82
|
-
_globals['_STRINGMATCH']._serialized_end=
|
|
83
|
-
_globals['_REDIRECTACTION']._serialized_start=
|
|
84
|
-
_globals['_REDIRECTACTION']._serialized_end=
|
|
85
|
-
_globals['_REDIRECTACTION_REDIRECTRESPONSECODE']._serialized_start=
|
|
86
|
-
_globals['_REDIRECTACTION_REDIRECTRESPONSECODE']._serialized_end=
|
|
87
|
-
_globals['_DIRECTRESPONSEACTION']._serialized_start=
|
|
88
|
-
_globals['_DIRECTRESPONSEACTION']._serialized_end=
|
|
89
|
-
_globals['_GRPCSTATUSRESPONSEACTION']._serialized_start=
|
|
90
|
-
_globals['_GRPCSTATUSRESPONSEACTION']._serialized_end=
|
|
91
|
-
_globals['_GRPCSTATUSRESPONSEACTION_STATUS']._serialized_start=
|
|
92
|
-
_globals['_GRPCSTATUSRESPONSEACTION_STATUS']._serialized_end=
|
|
93
|
-
_globals['_HTTPROUTEACTION']._serialized_start=
|
|
94
|
-
_globals['_HTTPROUTEACTION']._serialized_end=
|
|
95
|
-
_globals['_GRPCROUTEACTION']._serialized_start=
|
|
96
|
-
_globals['_GRPCROUTEACTION']._serialized_end=
|
|
56
|
+
_globals['_VIRTUALHOST']._serialized_start=248
|
|
57
|
+
_globals['_VIRTUALHOST']._serialized_end=661
|
|
58
|
+
_globals['_ROUTEOPTIONS']._serialized_start=664
|
|
59
|
+
_globals['_ROUTEOPTIONS']._serialized_end=931
|
|
60
|
+
_globals['_RBAC']._serialized_start=934
|
|
61
|
+
_globals['_RBAC']._serialized_end=1137
|
|
62
|
+
_globals['_RBAC_ACTION']._serialized_start=1084
|
|
63
|
+
_globals['_RBAC_ACTION']._serialized_end=1137
|
|
64
|
+
_globals['_PRINCIPALS']._serialized_start=1139
|
|
65
|
+
_globals['_PRINCIPALS']._serialized_end=1228
|
|
66
|
+
_globals['_PRINCIPAL']._serialized_start=1231
|
|
67
|
+
_globals['_PRINCIPAL']._serialized_end=1472
|
|
68
|
+
_globals['_PRINCIPAL_HEADERMATCHER']._serialized_start=1356
|
|
69
|
+
_globals['_PRINCIPAL_HEADERMATCHER']._serialized_end=1452
|
|
70
|
+
_globals['_HEADERMODIFICATION']._serialized_start=1474
|
|
71
|
+
_globals['_HEADERMODIFICATION']._serialized_end=1594
|
|
72
|
+
_globals['_ROUTE']._serialized_start=1597
|
|
73
|
+
_globals['_ROUTE']._serialized_end=1829
|
|
74
|
+
_globals['_HTTPROUTE']._serialized_start=1832
|
|
75
|
+
_globals['_HTTPROUTE']._serialized_end=2141
|
|
76
|
+
_globals['_GRPCROUTE']._serialized_start=2144
|
|
77
|
+
_globals['_GRPCROUTE']._serialized_end=2388
|
|
78
|
+
_globals['_HTTPROUTEMATCH']._serialized_start=2390
|
|
79
|
+
_globals['_HTTPROUTEMATCH']._serialized_end=2487
|
|
80
|
+
_globals['_GRPCROUTEMATCH']._serialized_start=2489
|
|
81
|
+
_globals['_GRPCROUTEMATCH']._serialized_end=2565
|
|
82
|
+
_globals['_STRINGMATCH']._serialized_start=2567
|
|
83
|
+
_globals['_STRINGMATCH']._serialized_end=2665
|
|
84
|
+
_globals['_REDIRECTACTION']._serialized_start=2668
|
|
85
|
+
_globals['_REDIRECTACTION']._serialized_end=3046
|
|
86
|
+
_globals['_REDIRECTACTION_REDIRECTRESPONSECODE']._serialized_start=2919
|
|
87
|
+
_globals['_REDIRECTACTION_REDIRECTRESPONSECODE']._serialized_end=3038
|
|
88
|
+
_globals['_DIRECTRESPONSEACTION']._serialized_start=3048
|
|
89
|
+
_globals['_DIRECTRESPONSEACTION']._serialized_end=3155
|
|
90
|
+
_globals['_GRPCSTATUSRESPONSEACTION']._serialized_start=3158
|
|
91
|
+
_globals['_GRPCSTATUSRESPONSEACTION']._serialized_end=3416
|
|
92
|
+
_globals['_GRPCSTATUSRESPONSEACTION_STATUS']._serialized_start=3269
|
|
93
|
+
_globals['_GRPCSTATUSRESPONSEACTION_STATUS']._serialized_end=3416
|
|
94
|
+
_globals['_HTTPROUTEACTION']._serialized_start=3419
|
|
95
|
+
_globals['_HTTPROUTEACTION']._serialized_end=3751
|
|
96
|
+
_globals['_GRPCROUTEACTION']._serialized_start=3754
|
|
97
|
+
_globals['_GRPCROUTEACTION']._serialized_end=4043
|
|
97
98
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -13,6 +13,7 @@ import google.protobuf.message
|
|
|
13
13
|
import sys
|
|
14
14
|
import typing
|
|
15
15
|
import yandex.cloud.apploadbalancer.v1.payload_pb2
|
|
16
|
+
import yandex.cloud.apploadbalancer.v1.rate_limit_pb2
|
|
16
17
|
|
|
17
18
|
if sys.version_info >= (3, 10):
|
|
18
19
|
import typing as typing_extensions
|
|
@@ -35,6 +36,7 @@ class VirtualHost(google.protobuf.message.Message):
|
|
|
35
36
|
MODIFY_REQUEST_HEADERS_FIELD_NUMBER: builtins.int
|
|
36
37
|
MODIFY_RESPONSE_HEADERS_FIELD_NUMBER: builtins.int
|
|
37
38
|
ROUTE_OPTIONS_FIELD_NUMBER: builtins.int
|
|
39
|
+
RATE_LIMIT_FIELD_NUMBER: builtins.int
|
|
38
40
|
name: builtins.str
|
|
39
41
|
"""Name of the virtual host. The name is unique within the HTTP router."""
|
|
40
42
|
@property
|
|
@@ -75,6 +77,10 @@ class VirtualHost(google.protobuf.message.Message):
|
|
|
75
77
|
|
|
76
78
|
@property
|
|
77
79
|
def route_options(self) -> global___RouteOptions: ...
|
|
80
|
+
@property
|
|
81
|
+
def rate_limit(self) -> yandex.cloud.apploadbalancer.v1.rate_limit_pb2.RateLimit:
|
|
82
|
+
"""RateLimit is a rate limit configuration applied for a whole virtual host."""
|
|
83
|
+
|
|
78
84
|
def __init__(
|
|
79
85
|
self,
|
|
80
86
|
*,
|
|
@@ -84,9 +90,10 @@ class VirtualHost(google.protobuf.message.Message):
|
|
|
84
90
|
modify_request_headers: collections.abc.Iterable[global___HeaderModification] | None = ...,
|
|
85
91
|
modify_response_headers: collections.abc.Iterable[global___HeaderModification] | None = ...,
|
|
86
92
|
route_options: global___RouteOptions | None = ...,
|
|
93
|
+
rate_limit: yandex.cloud.apploadbalancer.v1.rate_limit_pb2.RateLimit | None = ...,
|
|
87
94
|
) -> None: ...
|
|
88
|
-
def HasField(self, field_name: typing.Literal["route_options", b"route_options"]) -> builtins.bool: ...
|
|
89
|
-
def ClearField(self, field_name: typing.Literal["authority", b"authority", "modify_request_headers", b"modify_request_headers", "modify_response_headers", b"modify_response_headers", "name", b"name", "route_options", b"route_options", "routes", b"routes"]) -> None: ...
|
|
95
|
+
def HasField(self, field_name: typing.Literal["rate_limit", b"rate_limit", "route_options", b"route_options"]) -> builtins.bool: ...
|
|
96
|
+
def ClearField(self, field_name: typing.Literal["authority", b"authority", "modify_request_headers", b"modify_request_headers", "modify_response_headers", b"modify_response_headers", "name", b"name", "rate_limit", b"rate_limit", "route_options", b"route_options", "routes", b"routes"]) -> None: ...
|
|
90
97
|
|
|
91
98
|
global___VirtualHost = VirtualHost
|
|
92
99
|
|
|
@@ -677,6 +684,7 @@ class HttpRouteAction(google.protobuf.message.Message):
|
|
|
677
684
|
AUTO_HOST_REWRITE_FIELD_NUMBER: builtins.int
|
|
678
685
|
PREFIX_REWRITE_FIELD_NUMBER: builtins.int
|
|
679
686
|
UPGRADE_TYPES_FIELD_NUMBER: builtins.int
|
|
687
|
+
RATE_LIMIT_FIELD_NUMBER: builtins.int
|
|
680
688
|
backend_group_id: builtins.str
|
|
681
689
|
"""Backend group to forward requests to.
|
|
682
690
|
|
|
@@ -722,6 +730,10 @@ class HttpRouteAction(google.protobuf.message.Message):
|
|
|
722
730
|
def upgrade_types(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
723
731
|
"""Supported values for HTTP `Upgrade` header. E.g. `websocket`."""
|
|
724
732
|
|
|
733
|
+
@property
|
|
734
|
+
def rate_limit(self) -> yandex.cloud.apploadbalancer.v1.rate_limit_pb2.RateLimit:
|
|
735
|
+
"""RateLimit is a rate limit configuration applied for route."""
|
|
736
|
+
|
|
725
737
|
def __init__(
|
|
726
738
|
self,
|
|
727
739
|
*,
|
|
@@ -732,9 +744,10 @@ class HttpRouteAction(google.protobuf.message.Message):
|
|
|
732
744
|
auto_host_rewrite: builtins.bool = ...,
|
|
733
745
|
prefix_rewrite: builtins.str = ...,
|
|
734
746
|
upgrade_types: collections.abc.Iterable[builtins.str] | None = ...,
|
|
747
|
+
rate_limit: yandex.cloud.apploadbalancer.v1.rate_limit_pb2.RateLimit | None = ...,
|
|
735
748
|
) -> None: ...
|
|
736
|
-
def HasField(self, field_name: typing.Literal["auto_host_rewrite", b"auto_host_rewrite", "host_rewrite", b"host_rewrite", "host_rewrite_specifier", b"host_rewrite_specifier", "idle_timeout", b"idle_timeout", "timeout", b"timeout"]) -> builtins.bool: ...
|
|
737
|
-
def ClearField(self, field_name: typing.Literal["auto_host_rewrite", b"auto_host_rewrite", "backend_group_id", b"backend_group_id", "host_rewrite", b"host_rewrite", "host_rewrite_specifier", b"host_rewrite_specifier", "idle_timeout", b"idle_timeout", "prefix_rewrite", b"prefix_rewrite", "timeout", b"timeout", "upgrade_types", b"upgrade_types"]) -> None: ...
|
|
749
|
+
def HasField(self, field_name: typing.Literal["auto_host_rewrite", b"auto_host_rewrite", "host_rewrite", b"host_rewrite", "host_rewrite_specifier", b"host_rewrite_specifier", "idle_timeout", b"idle_timeout", "rate_limit", b"rate_limit", "timeout", b"timeout"]) -> builtins.bool: ...
|
|
750
|
+
def ClearField(self, field_name: typing.Literal["auto_host_rewrite", b"auto_host_rewrite", "backend_group_id", b"backend_group_id", "host_rewrite", b"host_rewrite", "host_rewrite_specifier", b"host_rewrite_specifier", "idle_timeout", b"idle_timeout", "prefix_rewrite", b"prefix_rewrite", "rate_limit", b"rate_limit", "timeout", b"timeout", "upgrade_types", b"upgrade_types"]) -> None: ...
|
|
738
751
|
def WhichOneof(self, oneof_group: typing.Literal["host_rewrite_specifier", b"host_rewrite_specifier"]) -> typing.Literal["host_rewrite", "auto_host_rewrite"] | None: ...
|
|
739
752
|
|
|
740
753
|
global___HttpRouteAction = HttpRouteAction
|
|
@@ -750,6 +763,7 @@ class GrpcRouteAction(google.protobuf.message.Message):
|
|
|
750
763
|
IDLE_TIMEOUT_FIELD_NUMBER: builtins.int
|
|
751
764
|
HOST_REWRITE_FIELD_NUMBER: builtins.int
|
|
752
765
|
AUTO_HOST_REWRITE_FIELD_NUMBER: builtins.int
|
|
766
|
+
RATE_LIMIT_FIELD_NUMBER: builtins.int
|
|
753
767
|
backend_group_id: builtins.str
|
|
754
768
|
"""Backend group to forward requests to."""
|
|
755
769
|
host_rewrite: builtins.str
|
|
@@ -782,6 +796,10 @@ class GrpcRouteAction(google.protobuf.message.Message):
|
|
|
782
796
|
(see [max_timeout]).
|
|
783
797
|
"""
|
|
784
798
|
|
|
799
|
+
@property
|
|
800
|
+
def rate_limit(self) -> yandex.cloud.apploadbalancer.v1.rate_limit_pb2.RateLimit:
|
|
801
|
+
"""RateLimit is a rate limit configuration applied for route."""
|
|
802
|
+
|
|
785
803
|
def __init__(
|
|
786
804
|
self,
|
|
787
805
|
*,
|
|
@@ -790,9 +808,10 @@ class GrpcRouteAction(google.protobuf.message.Message):
|
|
|
790
808
|
idle_timeout: google.protobuf.duration_pb2.Duration | None = ...,
|
|
791
809
|
host_rewrite: builtins.str = ...,
|
|
792
810
|
auto_host_rewrite: builtins.bool = ...,
|
|
811
|
+
rate_limit: yandex.cloud.apploadbalancer.v1.rate_limit_pb2.RateLimit | None = ...,
|
|
793
812
|
) -> None: ...
|
|
794
|
-
def HasField(self, field_name: typing.Literal["auto_host_rewrite", b"auto_host_rewrite", "host_rewrite", b"host_rewrite", "host_rewrite_specifier", b"host_rewrite_specifier", "idle_timeout", b"idle_timeout", "max_timeout", b"max_timeout"]) -> builtins.bool: ...
|
|
795
|
-
def ClearField(self, field_name: typing.Literal["auto_host_rewrite", b"auto_host_rewrite", "backend_group_id", b"backend_group_id", "host_rewrite", b"host_rewrite", "host_rewrite_specifier", b"host_rewrite_specifier", "idle_timeout", b"idle_timeout", "max_timeout", b"max_timeout"]) -> None: ...
|
|
813
|
+
def HasField(self, field_name: typing.Literal["auto_host_rewrite", b"auto_host_rewrite", "host_rewrite", b"host_rewrite", "host_rewrite_specifier", b"host_rewrite_specifier", "idle_timeout", b"idle_timeout", "max_timeout", b"max_timeout", "rate_limit", b"rate_limit"]) -> builtins.bool: ...
|
|
814
|
+
def ClearField(self, field_name: typing.Literal["auto_host_rewrite", b"auto_host_rewrite", "backend_group_id", b"backend_group_id", "host_rewrite", b"host_rewrite", "host_rewrite_specifier", b"host_rewrite_specifier", "idle_timeout", b"idle_timeout", "max_timeout", b"max_timeout", "rate_limit", b"rate_limit"]) -> None: ...
|
|
796
815
|
def WhichOneof(self, oneof_group: typing.Literal["host_rewrite_specifier", b"host_rewrite_specifier"]) -> typing.Literal["host_rewrite", "auto_host_rewrite"] | None: ...
|
|
797
816
|
|
|
798
817
|
global___GrpcRouteAction = GrpcRouteAction
|
|
@@ -14,12 +14,13 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
15
15
|
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
16
16
|
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
17
|
+
from yandex.cloud.apploadbalancer.v1 import rate_limit_pb2 as yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_rate__limit__pb2
|
|
17
18
|
from yandex.cloud.apploadbalancer.v1 import virtual_host_pb2 as yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_virtual__host__pb2
|
|
18
19
|
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
19
20
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
20
21
|
|
|
21
22
|
|
|
22
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/apploadbalancer/v1/virtual_host_service.proto\x12\x1fyandex.cloud.apploadbalancer.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a\x32yandex/cloud/apploadbalancer/v1/virtual_host.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"|\n\x15GetVirtualHostRequest\x12\x1c\n\x0ehttp_router_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x45\n\x11virtual_host_name\x18\x02 \x01(\tB*\xe8\xc7\x31\x01\xf2\xc7\x31\"([a-z]([-a-z0-9]{0,61}[a-z0-9])?)?\"u\n\x17ListVirtualHostsRequest\x12\x1c\n\x0ehttp_router_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"x\n\x18ListVirtualHostsResponse\x12\x43\n\rvirtual_hosts\x18\x01 \x03(\x0b\x32,.yandex.cloud.apploadbalancer.v1.VirtualHost\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\
|
|
23
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/apploadbalancer/v1/virtual_host_service.proto\x12\x1fyandex.cloud.apploadbalancer.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a\x30yandex/cloud/apploadbalancer/v1/rate_limit.proto\x1a\x32yandex/cloud/apploadbalancer/v1/virtual_host.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"|\n\x15GetVirtualHostRequest\x12\x1c\n\x0ehttp_router_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x45\n\x11virtual_host_name\x18\x02 \x01(\tB*\xe8\xc7\x31\x01\xf2\xc7\x31\"([a-z]([-a-z0-9]{0,61}[a-z0-9])?)?\"u\n\x17ListVirtualHostsRequest\x12\x1c\n\x0ehttp_router_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"x\n\x18ListVirtualHostsResponse\x12\x43\n\rvirtual_hosts\x18\x01 \x03(\x0b\x32,.yandex.cloud.apploadbalancer.v1.VirtualHost\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xf0\x03\n\x18\x43reateVirtualHostRequest\x12\x1c\n\x0ehttp_router_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x34\n\x04name\x18\x02 \x01(\tB&\xf2\xc7\x31\"([a-z]([-a-z0-9]{0,61}[a-z0-9])?)?\x12\x11\n\tauthority\x18\x03 \x03(\t\x12\x36\n\x06routes\x18\x05 \x03(\x0b\x32&.yandex.cloud.apploadbalancer.v1.Route\x12S\n\x16modify_request_headers\x18\x06 \x03(\x0b\x32\x33.yandex.cloud.apploadbalancer.v1.HeaderModification\x12T\n\x17modify_response_headers\x18\x07 \x03(\x0b\x32\x33.yandex.cloud.apploadbalancer.v1.HeaderModification\x12\x44\n\rroute_options\x18\x08 \x01(\x0b\x32-.yandex.cloud.apploadbalancer.v1.RouteOptions\x12>\n\nrate_limit\x18\t \x01(\x0b\x32*.yandex.cloud.apploadbalancer.v1.RateLimitJ\x04\x08\x04\x10\x05\"T\n\x19\x43reateVirtualHostMetadata\x12\x1c\n\x0ehttp_router_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x19\n\x11virtual_host_name\x18\x02 \x01(\t\"\x8c\x04\n\x18UpdateVirtualHostRequest\x12\x1c\n\x0ehttp_router_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1f\n\x11virtual_host_name\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x11\n\tauthority\x18\x04 \x03(\t\x12\x36\n\x06routes\x18\x06 \x03(\x0b\x32&.yandex.cloud.apploadbalancer.v1.Route\x12S\n\x16modify_request_headers\x18\x07 \x03(\x0b\x32\x33.yandex.cloud.apploadbalancer.v1.HeaderModification\x12T\n\x17modify_response_headers\x18\x08 \x03(\x0b\x32\x33.yandex.cloud.apploadbalancer.v1.HeaderModification\x12\x44\n\rroute_options\x18\t \x01(\x0b\x32-.yandex.cloud.apploadbalancer.v1.RouteOptions\x12>\n\nrate_limit\x18\n \x01(\x0b\x32*.yandex.cloud.apploadbalancer.v1.RateLimitJ\x04\x08\x05\x10\x06\"N\n\x19UpdateVirtualHostMetadata\x12\x16\n\x0ehttp_router_id\x18\x01 \x01(\t\x12\x19\n\x11virtual_host_name\x18\x02 \x01(\t\"\x7f\n\x18\x44\x65leteVirtualHostRequest\x12\x1c\n\x0ehttp_router_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x45\n\x11virtual_host_name\x18\x02 \x01(\tB*\xe8\xc7\x31\x01\xf2\xc7\x31\"([a-z]([-a-z0-9]{0,61}[a-z0-9])?)?\"N\n\x19\x44\x65leteVirtualHostMetadata\x12\x16\n\x0ehttp_router_id\x18\x01 \x01(\t\x12\x19\n\x11virtual_host_name\x18\x02 \x01(\t\"m\n\x12RemoveRouteRequest\x12\x1c\n\x0ehttp_router_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1f\n\x11virtual_host_name\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x18\n\nroute_name\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x01\"\\\n\x13RemoveRouteMetadata\x12\x16\n\x0ehttp_router_id\x18\x01 \x01(\t\x12\x19\n\x11virtual_host_name\x18\x02 \x01(\t\x12\x12\n\nroute_name\x18\x03 \x01(\t\"\xeb\x02\n\x12UpdateRouteRequest\x12\x1c\n\x0ehttp_router_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1f\n\x11virtual_host_name\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x18\n\nroute_name\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12:\n\x04http\x18\x05 \x01(\x0b\x32*.yandex.cloud.apploadbalancer.v1.HttpRouteH\x00\x12:\n\x04grpc\x18\x06 \x01(\x0b\x32*.yandex.cloud.apploadbalancer.v1.GrpcRouteH\x00\x12\x44\n\rroute_options\x18\x07 \x01(\x0b\x32-.yandex.cloud.apploadbalancer.v1.RouteOptionsB\r\n\x05route\x12\x04\xc0\xc1\x31\x01\"\\\n\x13UpdateRouteMetadata\x12\x16\n\x0ehttp_router_id\x18\x01 \x01(\t\x12\x19\n\x11virtual_host_name\x18\x02 \x01(\t\x12\x12\n\nroute_name\x18\x03 \x01(\t2\xe2\x0c\n\x12VirtualHostService\x12\xc6\x01\n\x03Get\x12\x36.yandex.cloud.apploadbalancer.v1.GetVirtualHostRequest\x1a,.yandex.cloud.apploadbalancer.v1.VirtualHost\"Y\x82\xd3\xe4\x93\x02S\x12Q/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts/{virtual_host_name}\x12\xc2\x01\n\x04List\x12\x38.yandex.cloud.apploadbalancer.v1.ListVirtualHostsRequest\x1a\x39.yandex.cloud.apploadbalancer.v1.ListVirtualHostsResponse\"E\x82\xd3\xe4\x93\x02?\x12=/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts\x12\xdc\x01\n\x06\x43reate\x12\x39.yandex.cloud.apploadbalancer.v1.CreateVirtualHostRequest\x1a!.yandex.cloud.operation.Operation\"t\xb2\xd2*(\n\x19\x43reateVirtualHostMetadata\x12\x0bVirtualHost\x82\xd3\xe4\x93\x02\x42\"=/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts:\x01*\x12\xf1\x01\n\x06Update\x12\x39.yandex.cloud.apploadbalancer.v1.UpdateVirtualHostRequest\x1a!.yandex.cloud.operation.Operation\"\x88\x01\xb2\xd2*(\n\x19UpdateVirtualHostMetadata\x12\x0bVirtualHost\x82\xd3\xe4\x93\x02V2Q/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts/{virtual_host_name}:\x01*\x12\xf8\x01\n\x06\x44\x65lete\x12\x39.yandex.cloud.apploadbalancer.v1.DeleteVirtualHostRequest\x1a!.yandex.cloud.operation.Operation\"\x8f\x01\xb2\xd2*2\n\x19\x44\x65leteVirtualHostMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02S*Q/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts/{virtual_host_name}\x12\xf6\x01\n\x0bRemoveRoute\x12\x33.yandex.cloud.apploadbalancer.v1.RemoveRouteRequest\x1a!.yandex.cloud.operation.Operation\"\x8e\x01\xb2\xd2*\"\n\x13RemoveRouteMetadata\x12\x0bVirtualHost\x82\xd3\xe4\x93\x02\x62\"]/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts/{virtual_host_name}:removeRoute:\x01*\x12\xf6\x01\n\x0bUpdateRoute\x12\x33.yandex.cloud.apploadbalancer.v1.UpdateRouteRequest\x1a!.yandex.cloud.operation.Operation\"\x8e\x01\xb2\xd2*\"\n\x13UpdateRouteMetadata\x12\x0bVirtualHost\x82\xd3\xe4\x93\x02\x62\"]/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts/{virtual_host_name}:updateRoute:\x01*Bz\n#yandex.cloud.api.apploadbalancer.v1ZSgithub.com/yandex-cloud/go-genproto/yandex/cloud/apploadbalancer/v1;apploadbalancerb\x06proto3')
|
|
23
24
|
|
|
24
25
|
_globals = globals()
|
|
25
26
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -79,32 +80,32 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
79
80
|
_VIRTUALHOSTSERVICE.methods_by_name['RemoveRoute']._serialized_options = b'\262\322*\"\n\023RemoveRouteMetadata\022\013VirtualHost\202\323\344\223\002b\"]/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts/{virtual_host_name}:removeRoute:\001*'
|
|
80
81
|
_VIRTUALHOSTSERVICE.methods_by_name['UpdateRoute']._options = None
|
|
81
82
|
_VIRTUALHOSTSERVICE.methods_by_name['UpdateRoute']._serialized_options = b'\262\322*\"\n\023UpdateRouteMetadata\022\013VirtualHost\202\323\344\223\002b\"]/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts/{virtual_host_name}:updateRoute:\001*'
|
|
82
|
-
_globals['_GETVIRTUALHOSTREQUEST']._serialized_start=
|
|
83
|
-
_globals['_GETVIRTUALHOSTREQUEST']._serialized_end=
|
|
84
|
-
_globals['_LISTVIRTUALHOSTSREQUEST']._serialized_start=
|
|
85
|
-
_globals['_LISTVIRTUALHOSTSREQUEST']._serialized_end=
|
|
86
|
-
_globals['_LISTVIRTUALHOSTSRESPONSE']._serialized_start=
|
|
87
|
-
_globals['_LISTVIRTUALHOSTSRESPONSE']._serialized_end=
|
|
88
|
-
_globals['_CREATEVIRTUALHOSTREQUEST']._serialized_start=
|
|
89
|
-
_globals['_CREATEVIRTUALHOSTREQUEST']._serialized_end=
|
|
90
|
-
_globals['_CREATEVIRTUALHOSTMETADATA']._serialized_start=
|
|
91
|
-
_globals['_CREATEVIRTUALHOSTMETADATA']._serialized_end=
|
|
92
|
-
_globals['_UPDATEVIRTUALHOSTREQUEST']._serialized_start=
|
|
93
|
-
_globals['_UPDATEVIRTUALHOSTREQUEST']._serialized_end=
|
|
94
|
-
_globals['_UPDATEVIRTUALHOSTMETADATA']._serialized_start=
|
|
95
|
-
_globals['_UPDATEVIRTUALHOSTMETADATA']._serialized_end=
|
|
96
|
-
_globals['_DELETEVIRTUALHOSTREQUEST']._serialized_start=
|
|
97
|
-
_globals['_DELETEVIRTUALHOSTREQUEST']._serialized_end=
|
|
98
|
-
_globals['_DELETEVIRTUALHOSTMETADATA']._serialized_start=
|
|
99
|
-
_globals['_DELETEVIRTUALHOSTMETADATA']._serialized_end=
|
|
100
|
-
_globals['_REMOVEROUTEREQUEST']._serialized_start=
|
|
101
|
-
_globals['_REMOVEROUTEREQUEST']._serialized_end=
|
|
102
|
-
_globals['_REMOVEROUTEMETADATA']._serialized_start=
|
|
103
|
-
_globals['_REMOVEROUTEMETADATA']._serialized_end=
|
|
104
|
-
_globals['_UPDATEROUTEREQUEST']._serialized_start=
|
|
105
|
-
_globals['_UPDATEROUTEREQUEST']._serialized_end=
|
|
106
|
-
_globals['_UPDATEROUTEMETADATA']._serialized_start=
|
|
107
|
-
_globals['_UPDATEROUTEMETADATA']._serialized_end=
|
|
108
|
-
_globals['_VIRTUALHOSTSERVICE']._serialized_start=
|
|
109
|
-
_globals['_VIRTUALHOSTSERVICE']._serialized_end=
|
|
83
|
+
_globals['_GETVIRTUALHOSTREQUEST']._serialized_start=366
|
|
84
|
+
_globals['_GETVIRTUALHOSTREQUEST']._serialized_end=490
|
|
85
|
+
_globals['_LISTVIRTUALHOSTSREQUEST']._serialized_start=492
|
|
86
|
+
_globals['_LISTVIRTUALHOSTSREQUEST']._serialized_end=609
|
|
87
|
+
_globals['_LISTVIRTUALHOSTSRESPONSE']._serialized_start=611
|
|
88
|
+
_globals['_LISTVIRTUALHOSTSRESPONSE']._serialized_end=731
|
|
89
|
+
_globals['_CREATEVIRTUALHOSTREQUEST']._serialized_start=734
|
|
90
|
+
_globals['_CREATEVIRTUALHOSTREQUEST']._serialized_end=1230
|
|
91
|
+
_globals['_CREATEVIRTUALHOSTMETADATA']._serialized_start=1232
|
|
92
|
+
_globals['_CREATEVIRTUALHOSTMETADATA']._serialized_end=1316
|
|
93
|
+
_globals['_UPDATEVIRTUALHOSTREQUEST']._serialized_start=1319
|
|
94
|
+
_globals['_UPDATEVIRTUALHOSTREQUEST']._serialized_end=1843
|
|
95
|
+
_globals['_UPDATEVIRTUALHOSTMETADATA']._serialized_start=1845
|
|
96
|
+
_globals['_UPDATEVIRTUALHOSTMETADATA']._serialized_end=1923
|
|
97
|
+
_globals['_DELETEVIRTUALHOSTREQUEST']._serialized_start=1925
|
|
98
|
+
_globals['_DELETEVIRTUALHOSTREQUEST']._serialized_end=2052
|
|
99
|
+
_globals['_DELETEVIRTUALHOSTMETADATA']._serialized_start=2054
|
|
100
|
+
_globals['_DELETEVIRTUALHOSTMETADATA']._serialized_end=2132
|
|
101
|
+
_globals['_REMOVEROUTEREQUEST']._serialized_start=2134
|
|
102
|
+
_globals['_REMOVEROUTEREQUEST']._serialized_end=2243
|
|
103
|
+
_globals['_REMOVEROUTEMETADATA']._serialized_start=2245
|
|
104
|
+
_globals['_REMOVEROUTEMETADATA']._serialized_end=2337
|
|
105
|
+
_globals['_UPDATEROUTEREQUEST']._serialized_start=2340
|
|
106
|
+
_globals['_UPDATEROUTEREQUEST']._serialized_end=2703
|
|
107
|
+
_globals['_UPDATEROUTEMETADATA']._serialized_start=2705
|
|
108
|
+
_globals['_UPDATEROUTEMETADATA']._serialized_end=2797
|
|
109
|
+
_globals['_VIRTUALHOSTSERVICE']._serialized_start=2800
|
|
110
|
+
_globals['_VIRTUALHOSTSERVICE']._serialized_end=4434
|
|
110
111
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -10,6 +10,7 @@ import google.protobuf.field_mask_pb2
|
|
|
10
10
|
import google.protobuf.internal.containers
|
|
11
11
|
import google.protobuf.message
|
|
12
12
|
import typing
|
|
13
|
+
import yandex.cloud.apploadbalancer.v1.rate_limit_pb2
|
|
13
14
|
import yandex.cloud.apploadbalancer.v1.virtual_host_pb2
|
|
14
15
|
|
|
15
16
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
@@ -111,6 +112,7 @@ class CreateVirtualHostRequest(google.protobuf.message.Message):
|
|
|
111
112
|
MODIFY_REQUEST_HEADERS_FIELD_NUMBER: builtins.int
|
|
112
113
|
MODIFY_RESPONSE_HEADERS_FIELD_NUMBER: builtins.int
|
|
113
114
|
ROUTE_OPTIONS_FIELD_NUMBER: builtins.int
|
|
115
|
+
RATE_LIMIT_FIELD_NUMBER: builtins.int
|
|
114
116
|
http_router_id: builtins.str
|
|
115
117
|
"""ID of the HTTP router to create a virtual host in.
|
|
116
118
|
|
|
@@ -160,6 +162,10 @@ class CreateVirtualHostRequest(google.protobuf.message.Message):
|
|
|
160
162
|
def route_options(self) -> yandex.cloud.apploadbalancer.v1.virtual_host_pb2.RouteOptions:
|
|
161
163
|
"""Route options for the virtual host."""
|
|
162
164
|
|
|
165
|
+
@property
|
|
166
|
+
def rate_limit(self) -> yandex.cloud.apploadbalancer.v1.rate_limit_pb2.RateLimit:
|
|
167
|
+
"""RateLimit is a rate limit configuration applied for a whole virtual host."""
|
|
168
|
+
|
|
163
169
|
def __init__(
|
|
164
170
|
self,
|
|
165
171
|
*,
|
|
@@ -170,9 +176,10 @@ class CreateVirtualHostRequest(google.protobuf.message.Message):
|
|
|
170
176
|
modify_request_headers: collections.abc.Iterable[yandex.cloud.apploadbalancer.v1.virtual_host_pb2.HeaderModification] | None = ...,
|
|
171
177
|
modify_response_headers: collections.abc.Iterable[yandex.cloud.apploadbalancer.v1.virtual_host_pb2.HeaderModification] | None = ...,
|
|
172
178
|
route_options: yandex.cloud.apploadbalancer.v1.virtual_host_pb2.RouteOptions | None = ...,
|
|
179
|
+
rate_limit: yandex.cloud.apploadbalancer.v1.rate_limit_pb2.RateLimit | None = ...,
|
|
173
180
|
) -> None: ...
|
|
174
|
-
def HasField(self, field_name: typing.Literal["route_options", b"route_options"]) -> builtins.bool: ...
|
|
175
|
-
def ClearField(self, field_name: typing.Literal["authority", b"authority", "http_router_id", b"http_router_id", "modify_request_headers", b"modify_request_headers", "modify_response_headers", b"modify_response_headers", "name", b"name", "route_options", b"route_options", "routes", b"routes"]) -> None: ...
|
|
181
|
+
def HasField(self, field_name: typing.Literal["rate_limit", b"rate_limit", "route_options", b"route_options"]) -> builtins.bool: ...
|
|
182
|
+
def ClearField(self, field_name: typing.Literal["authority", b"authority", "http_router_id", b"http_router_id", "modify_request_headers", b"modify_request_headers", "modify_response_headers", b"modify_response_headers", "name", b"name", "rate_limit", b"rate_limit", "route_options", b"route_options", "routes", b"routes"]) -> None: ...
|
|
176
183
|
|
|
177
184
|
global___CreateVirtualHostRequest = CreateVirtualHostRequest
|
|
178
185
|
|
|
@@ -208,6 +215,7 @@ class UpdateVirtualHostRequest(google.protobuf.message.Message):
|
|
|
208
215
|
MODIFY_REQUEST_HEADERS_FIELD_NUMBER: builtins.int
|
|
209
216
|
MODIFY_RESPONSE_HEADERS_FIELD_NUMBER: builtins.int
|
|
210
217
|
ROUTE_OPTIONS_FIELD_NUMBER: builtins.int
|
|
218
|
+
RATE_LIMIT_FIELD_NUMBER: builtins.int
|
|
211
219
|
http_router_id: builtins.str
|
|
212
220
|
"""ID of the HTTP router to update a virtual host in.
|
|
213
221
|
|
|
@@ -277,6 +285,10 @@ class UpdateVirtualHostRequest(google.protobuf.message.Message):
|
|
|
277
285
|
def route_options(self) -> yandex.cloud.apploadbalancer.v1.virtual_host_pb2.RouteOptions:
|
|
278
286
|
"""New route options for the virtual host."""
|
|
279
287
|
|
|
288
|
+
@property
|
|
289
|
+
def rate_limit(self) -> yandex.cloud.apploadbalancer.v1.rate_limit_pb2.RateLimit:
|
|
290
|
+
"""RateLimit is a rate limit configuration applied for a whole virtual host."""
|
|
291
|
+
|
|
280
292
|
def __init__(
|
|
281
293
|
self,
|
|
282
294
|
*,
|
|
@@ -288,9 +300,10 @@ class UpdateVirtualHostRequest(google.protobuf.message.Message):
|
|
|
288
300
|
modify_request_headers: collections.abc.Iterable[yandex.cloud.apploadbalancer.v1.virtual_host_pb2.HeaderModification] | None = ...,
|
|
289
301
|
modify_response_headers: collections.abc.Iterable[yandex.cloud.apploadbalancer.v1.virtual_host_pb2.HeaderModification] | None = ...,
|
|
290
302
|
route_options: yandex.cloud.apploadbalancer.v1.virtual_host_pb2.RouteOptions | None = ...,
|
|
303
|
+
rate_limit: yandex.cloud.apploadbalancer.v1.rate_limit_pb2.RateLimit | None = ...,
|
|
291
304
|
) -> None: ...
|
|
292
|
-
def HasField(self, field_name: typing.Literal["route_options", b"route_options", "update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
293
|
-
def ClearField(self, field_name: typing.Literal["authority", b"authority", "http_router_id", b"http_router_id", "modify_request_headers", b"modify_request_headers", "modify_response_headers", b"modify_response_headers", "route_options", b"route_options", "routes", b"routes", "update_mask", b"update_mask", "virtual_host_name", b"virtual_host_name"]) -> None: ...
|
|
305
|
+
def HasField(self, field_name: typing.Literal["rate_limit", b"rate_limit", "route_options", b"route_options", "update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
306
|
+
def ClearField(self, field_name: typing.Literal["authority", b"authority", "http_router_id", b"http_router_id", "modify_request_headers", b"modify_request_headers", "modify_response_headers", b"modify_response_headers", "rate_limit", b"rate_limit", "route_options", b"route_options", "routes", b"routes", "update_mask", b"update_mask", "virtual_host_name", b"virtual_host_name"]) -> None: ...
|
|
294
307
|
|
|
295
308
|
global___UpdateVirtualHostRequest = UpdateVirtualHostRequest
|
|
296
309
|
|
|
@@ -12,10 +12,11 @@ _sym_db = _symbol_database.Default()
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
|
+
from yandex.cloud.compute.v1 import kek_pb2 as yandex_dot_cloud_dot_compute_dot_v1_dot_kek__pb2
|
|
15
16
|
from yandex.cloud.compute.v1 import hardware_generation_pb2 as yandex_dot_cloud_dot_compute_dot_v1_dot_hardware__generation__pb2
|
|
16
17
|
|
|
17
18
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"yandex/cloud/compute/v1/disk.proto\x12\x17yandex.cloud.compute.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x31yandex/cloud/compute/v1/hardware_generation.proto\"\
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"yandex/cloud/compute/v1/disk.proto\x12\x17yandex.cloud.compute.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a!yandex/cloud/compute/v1/kek.proto\x1a\x31yandex/cloud/compute/v1/hardware_generation.proto\"\xe7\x05\n\x04\x44isk\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x39\n\x06labels\x18\x06 \x03(\x0b\x32).yandex.cloud.compute.v1.Disk.LabelsEntry\x12\x0f\n\x07type_id\x18\x07 \x01(\t\x12\x0f\n\x07zone_id\x18\x08 \x01(\t\x12\x0c\n\x04size\x18\t \x01(\x03\x12\x12\n\nblock_size\x18\x0f \x01(\x03\x12\x13\n\x0bproduct_ids\x18\n \x03(\t\x12\x34\n\x06status\x18\x0b \x01(\x0e\x32$.yandex.cloud.compute.v1.Disk.Status\x12\x19\n\x0fsource_image_id\x18\x0c \x01(\tH\x00\x12\x1c\n\x12source_snapshot_id\x18\r \x01(\tH\x00\x12\x14\n\x0cinstance_ids\x18\x0e \x03(\t\x12K\n\x15\x64isk_placement_policy\x18\x10 \x01(\x0b\x32,.yandex.cloud.compute.v1.DiskPlacementPolicy\x12H\n\x13hardware_generation\x18\x11 \x01(\x0b\x32+.yandex.cloud.compute.v1.HardwareGeneration\x12\x30\n\x07kms_key\x18\x12 \x01(\x0b\x32\x1f.yandex.cloud.compute.v1.KMSKey\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"R\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x42\x08\n\x06source\"T\n\x13\x44iskPlacementPolicy\x12\x1a\n\x12placement_group_id\x18\x01 \x01(\t\x12!\n\x19placement_group_partition\x18\x02 \x01(\x03\"y\n\x19\x44iskPlacementPolicyChange\x12\x0f\n\x07\x64isk_id\x18\x01 \x01(\t\x12K\n\x15\x64isk_placement_policy\x18\x02 \x01(\x0b\x32,.yandex.cloud.compute.v1.DiskPlacementPolicyBb\n\x1byandex.cloud.api.compute.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1;computeb\x06proto3')
|
|
19
20
|
|
|
20
21
|
_globals = globals()
|
|
21
22
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -25,14 +26,14 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
25
26
|
DESCRIPTOR._serialized_options = b'\n\033yandex.cloud.api.compute.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1;compute'
|
|
26
27
|
_DISK_LABELSENTRY._options = None
|
|
27
28
|
_DISK_LABELSENTRY._serialized_options = b'8\001'
|
|
28
|
-
_globals['_DISK']._serialized_start=
|
|
29
|
-
_globals['_DISK']._serialized_end=
|
|
30
|
-
_globals['_DISK_LABELSENTRY']._serialized_start=
|
|
31
|
-
_globals['_DISK_LABELSENTRY']._serialized_end=
|
|
32
|
-
_globals['_DISK_STATUS']._serialized_start=
|
|
33
|
-
_globals['_DISK_STATUS']._serialized_end=
|
|
34
|
-
_globals['_DISKPLACEMENTPOLICY']._serialized_start=
|
|
35
|
-
_globals['_DISKPLACEMENTPOLICY']._serialized_end=
|
|
36
|
-
_globals['_DISKPLACEMENTPOLICYCHANGE']._serialized_start=
|
|
37
|
-
_globals['_DISKPLACEMENTPOLICYCHANGE']._serialized_end=
|
|
29
|
+
_globals['_DISK']._serialized_start=183
|
|
30
|
+
_globals['_DISK']._serialized_end=926
|
|
31
|
+
_globals['_DISK_LABELSENTRY']._serialized_start=787
|
|
32
|
+
_globals['_DISK_LABELSENTRY']._serialized_end=832
|
|
33
|
+
_globals['_DISK_STATUS']._serialized_start=834
|
|
34
|
+
_globals['_DISK_STATUS']._serialized_end=916
|
|
35
|
+
_globals['_DISKPLACEMENTPOLICY']._serialized_start=928
|
|
36
|
+
_globals['_DISKPLACEMENTPOLICY']._serialized_end=1012
|
|
37
|
+
_globals['_DISKPLACEMENTPOLICYCHANGE']._serialized_start=1014
|
|
38
|
+
_globals['_DISKPLACEMENTPOLICYCHANGE']._serialized_end=1135
|
|
38
39
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -13,6 +13,7 @@ import google.protobuf.timestamp_pb2
|
|
|
13
13
|
import sys
|
|
14
14
|
import typing
|
|
15
15
|
import yandex.cloud.compute.v1.hardware_generation_pb2
|
|
16
|
+
import yandex.cloud.compute.v1.kek_pb2
|
|
16
17
|
|
|
17
18
|
if sys.version_info >= (3, 10):
|
|
18
19
|
import typing as typing_extensions
|
|
@@ -87,6 +88,7 @@ class Disk(google.protobuf.message.Message):
|
|
|
87
88
|
INSTANCE_IDS_FIELD_NUMBER: builtins.int
|
|
88
89
|
DISK_PLACEMENT_POLICY_FIELD_NUMBER: builtins.int
|
|
89
90
|
HARDWARE_GENERATION_FIELD_NUMBER: builtins.int
|
|
91
|
+
KMS_KEY_FIELD_NUMBER: builtins.int
|
|
90
92
|
id: builtins.str
|
|
91
93
|
"""ID of the disk."""
|
|
92
94
|
folder_id: builtins.str
|
|
@@ -141,6 +143,10 @@ class Disk(google.protobuf.message.Message):
|
|
|
141
143
|
created using this disk as a boot one. Otherwise the current default will be used.
|
|
142
144
|
"""
|
|
143
145
|
|
|
146
|
+
@property
|
|
147
|
+
def kms_key(self) -> yandex.cloud.compute.v1.kek_pb2.KMSKey:
|
|
148
|
+
"""Key encryption key info."""
|
|
149
|
+
|
|
144
150
|
def __init__(
|
|
145
151
|
self,
|
|
146
152
|
*,
|
|
@@ -161,9 +167,10 @@ class Disk(google.protobuf.message.Message):
|
|
|
161
167
|
instance_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
162
168
|
disk_placement_policy: global___DiskPlacementPolicy | None = ...,
|
|
163
169
|
hardware_generation: yandex.cloud.compute.v1.hardware_generation_pb2.HardwareGeneration | None = ...,
|
|
170
|
+
kms_key: yandex.cloud.compute.v1.kek_pb2.KMSKey | None = ...,
|
|
164
171
|
) -> None: ...
|
|
165
|
-
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "disk_placement_policy", b"disk_placement_policy", "hardware_generation", b"hardware_generation", "source", b"source", "source_image_id", b"source_image_id", "source_snapshot_id", b"source_snapshot_id"]) -> builtins.bool: ...
|
|
166
|
-
def ClearField(self, field_name: typing.Literal["block_size", b"block_size", "created_at", b"created_at", "description", b"description", "disk_placement_policy", b"disk_placement_policy", "folder_id", b"folder_id", "hardware_generation", b"hardware_generation", "id", b"id", "instance_ids", b"instance_ids", "labels", b"labels", "name", b"name", "product_ids", b"product_ids", "size", b"size", "source", b"source", "source_image_id", b"source_image_id", "source_snapshot_id", b"source_snapshot_id", "status", b"status", "type_id", b"type_id", "zone_id", b"zone_id"]) -> None: ...
|
|
172
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "disk_placement_policy", b"disk_placement_policy", "hardware_generation", b"hardware_generation", "kms_key", b"kms_key", "source", b"source", "source_image_id", b"source_image_id", "source_snapshot_id", b"source_snapshot_id"]) -> builtins.bool: ...
|
|
173
|
+
def ClearField(self, field_name: typing.Literal["block_size", b"block_size", "created_at", b"created_at", "description", b"description", "disk_placement_policy", b"disk_placement_policy", "folder_id", b"folder_id", "hardware_generation", b"hardware_generation", "id", b"id", "instance_ids", b"instance_ids", "kms_key", b"kms_key", "labels", b"labels", "name", b"name", "product_ids", b"product_ids", "size", b"size", "source", b"source", "source_image_id", b"source_image_id", "source_snapshot_id", b"source_snapshot_id", "status", b"status", "type_id", b"type_id", "zone_id", b"zone_id"]) -> None: ...
|
|
167
174
|
def WhichOneof(self, oneof_group: typing.Literal["source", b"source"]) -> typing.Literal["source_image_id", "source_snapshot_id"] | None: ...
|
|
168
175
|
|
|
169
176
|
global___Disk = Disk
|