yandexcloud 0.339.0__py3-none-any.whl → 0.341.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/searchindex/common_pb2.py +9 -3
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.pyi +46 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.py +8 -6
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.pyi +26 -3
- yandex/cloud/ai/batch_inference/__init__.py +0 -0
- yandex/cloud/ai/batch_inference/v1/__init__.py +0 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_service_pb2.py +67 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_service_pb2.pyi +195 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_service_pb2_grpc.py +230 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_service_pb2_grpc.pyi +104 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_task_pb2.py +45 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_task_pb2.pyi +119 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_task_pb2_grpc.py +24 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_task_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/batch_inference/v1/inference_options_pb2.py +52 -0
- yandex/cloud/ai/batch_inference/v1/inference_options_pb2.pyi +126 -0
- yandex/cloud/ai/batch_inference/v1/inference_options_pb2_grpc.py +24 -0
- yandex/cloud/ai/batch_inference/v1/inference_options_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2.py +8 -8
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2.pyi +15 -7
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.py +2 -2
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.pyi +6 -6
- yandex/cloud/ai/stt/v3/stt_pb2.py +5 -3
- yandex/cloud/ai/stt/v3/stt_pb2.pyi +16 -0
- yandex/cloud/ai/translate/v2/translation_service_pb2.pyi +1 -1
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +8 -4
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +16 -4
- yandex/cloud/ai/vision/v1/vision_service_pb2.pyi +1 -1
- yandex/cloud/billing/v1/budget_pb2.pyi +4 -4
- yandex/cloud/cdn/v1/shielding_pb2.py +37 -0
- yandex/cloud/cdn/v1/shielding_pb2.pyi +41 -0
- yandex/cloud/cdn/v1/shielding_pb2_grpc.py +24 -0
- yandex/cloud/cdn/v1/shielding_pb2_grpc.pyi +17 -0
- yandex/cloud/cdn/v1/shielding_service_pb2.py +89 -0
- yandex/cloud/cdn/v1/shielding_service_pb2.pyi +201 -0
- yandex/cloud/cdn/v1/shielding_service_pb2_grpc.py +281 -0
- yandex/cloud/cdn/v1/shielding_service_pb2_grpc.pyi +141 -0
- yandex/cloud/cloudregistry/v1/registry_service_pb2.py +6 -8
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.py +40 -24
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.pyi +72 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.py +90 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.pyi +52 -0
- yandex/cloud/compute/v1/instancegroup/instance_group_pb2.pyi +1 -1
- yandex/cloud/compute/v1/instancegroup/instance_group_service_pb2.py +4 -4
- yandex/cloud/dataproc/v1/cluster_pb2.py +10 -10
- yandex/cloud/dataproc/v1/cluster_pb2.pyi +5 -1
- yandex/cloud/k8s/v1/cluster_service_pb2.py +80 -73
- yandex/cloud/k8s/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/k8s/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/kms/v1/symmetric_key_service_pb2.py +50 -48
- yandex/cloud/logging/v1/log_entry_pb2.py +12 -12
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_pb2.py +46 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_pb2.pyi +53 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_pb2_grpc.py +24 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_service_pb2.py +106 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_service_pb2.pyi +248 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_service_pb2_grpc.py +315 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_service_pb2_grpc.pyi +131 -0
- yandex/cloud/mdb/clickhouse/v1/extension_pb2.py +44 -0
- yandex/cloud/mdb/clickhouse/v1/extension_pb2.pyi +59 -0
- yandex/cloud/mdb/clickhouse/v1/extension_pb2_grpc.py +24 -0
- yandex/cloud/mdb/clickhouse/v1/extension_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/clickhouse/v1/extension_service_pb2.py +60 -0
- yandex/cloud/mdb/clickhouse/v1/extension_service_pb2.pyi +72 -0
- yandex/cloud/mdb/clickhouse/v1/extension_service_pb2_grpc.py +141 -0
- yandex/cloud/mdb/clickhouse/v1/extension_service_pb2_grpc.pyi +59 -0
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.py +59 -43
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.pyi +67 -0
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2_grpc.py +44 -0
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2_grpc.pyi +20 -0
- yandex/cloud/mdb/greenplum/v1/user_pb2.py +44 -0
- yandex/cloud/mdb/greenplum/v1/user_pb2.pyi +35 -0
- yandex/cloud/mdb/greenplum/v1/user_pb2_grpc.py +24 -0
- yandex/cloud/mdb/greenplum/v1/user_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/greenplum/v1/user_service_pb2.py +101 -0
- yandex/cloud/mdb/greenplum/v1/user_service_pb2.pyi +187 -0
- yandex/cloud/mdb/greenplum/v1/user_service_pb2_grpc.py +231 -0
- yandex/cloud/mdb/greenplum/v1/user_service_pb2_grpc.pyi +105 -0
- yandex/cloud/mdb/mysql/v1/user_pb2.py +4 -4
- yandex/cloud/mdb/mysql/v1/user_pb2.pyi +4 -0
- yandex/cloud/mdb/opensearch/v1/extension/__init__.py +0 -0
- yandex/cloud/mdb/opensearch/v1/extension/extension_type_pb2.py +37 -0
- yandex/cloud/mdb/opensearch/v1/extension/extension_type_pb2.pyi +34 -0
- yandex/cloud/mdb/opensearch/v1/extension/extension_type_pb2_grpc.py +24 -0
- yandex/cloud/mdb/opensearch/v1/extension/extension_type_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/opensearch/v1/extension_pb2.py +47 -0
- yandex/cloud/mdb/opensearch/v1/extension_pb2.pyi +77 -0
- yandex/cloud/mdb/opensearch/v1/extension_pb2_grpc.py +24 -0
- yandex/cloud/mdb/opensearch/v1/extension_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/opensearch/v1/extension_service_pb2.py +104 -0
- yandex/cloud/mdb/opensearch/v1/extension_service_pb2.pyi +215 -0
- yandex/cloud/mdb/opensearch/v1/extension_service_pb2_grpc.py +276 -0
- yandex/cloud/mdb/opensearch/v1/extension_service_pb2_grpc.pyi +126 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +120 -120
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/monitoring/v3/timeline_pb2.py +2 -2
- yandex/cloud/monitoring/v3/timeline_pb2.pyi +4 -2
- yandex/cloud/organizationmanager/v1/user_account_pb2.pyi +1 -1
- yandex/cloud/video/v1/channel_service_pb2.pyi +5 -2
- yandex/cloud/video/v1/episode_service_pb2.pyi +5 -2
- yandex/cloud/video/v1/playlist_service_pb2.pyi +5 -2
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +5 -2
- yandex/cloud/video/v1/stream_service_pb2.pyi +5 -2
- yandex/cloud/video/v1/video_service_pb2.pyi +5 -2
- yandexcloud/__init__.py +1 -1
- yandexcloud/_sdk.py +1 -0
- yandexcloud/_wrappers/__init__.py +15 -0
- yandexcloud/_wrappers/spark/__init__.py +603 -0
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/METADATA +2 -1
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/RECORD +115 -55
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/cdn/v1/shielding.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
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
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'yandex/cloud/cdn/v1/shielding.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#yandex/cloud/cdn/v1/shielding.proto\x12\x13yandex.cloud.cdn.v1\"[\n\x10ShieldingDetails\x12\x13\n\x0blocation_id\x18\x01 \x01(\x03\x12\x13\n\x0b\x64\x61ta_center\x18\x02 \x01(\t\x12\x0f\n\x07\x63ountry\x18\x03 \x01(\t\x12\x0c\n\x04\x63ity\x18\x04 \x01(\tBV\n\x17yandex.cloud.api.cdn.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cdn/v1;cdnb\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.cdn.v1.shielding_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\027yandex.cloud.api.cdn.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cdn/v1;cdn'
|
|
35
|
+
_globals['_SHIELDINGDETAILS']._serialized_start=60
|
|
36
|
+
_globals['_SHIELDINGDETAILS']._serialized_end=151
|
|
37
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import google.protobuf.descriptor
|
|
8
|
+
import google.protobuf.message
|
|
9
|
+
import typing
|
|
10
|
+
|
|
11
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
12
|
+
|
|
13
|
+
@typing.final
|
|
14
|
+
class ShieldingDetails(google.protobuf.message.Message):
|
|
15
|
+
"""Message representing the details of a shielding server."""
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
18
|
+
|
|
19
|
+
LOCATION_ID_FIELD_NUMBER: builtins.int
|
|
20
|
+
DATA_CENTER_FIELD_NUMBER: builtins.int
|
|
21
|
+
COUNTRY_FIELD_NUMBER: builtins.int
|
|
22
|
+
CITY_FIELD_NUMBER: builtins.int
|
|
23
|
+
location_id: builtins.int
|
|
24
|
+
"""Unique identifier for the geographical location of the shielding server."""
|
|
25
|
+
data_center: builtins.str
|
|
26
|
+
"""Name of the data center where the shielding server is located."""
|
|
27
|
+
country: builtins.str
|
|
28
|
+
"""Country where the shielding server's data center is located, useful for understanding geographical distribution."""
|
|
29
|
+
city: builtins.str
|
|
30
|
+
"""City where the shielding server's data center is situated, providing a more precise location than just the country."""
|
|
31
|
+
def __init__(
|
|
32
|
+
self,
|
|
33
|
+
*,
|
|
34
|
+
location_id: builtins.int = ...,
|
|
35
|
+
data_center: builtins.str = ...,
|
|
36
|
+
country: builtins.str = ...,
|
|
37
|
+
city: builtins.str = ...,
|
|
38
|
+
) -> None: ...
|
|
39
|
+
def ClearField(self, field_name: typing.Literal["city", b"city", "country", b"country", "data_center", b"data_center", "location_id", b"location_id"]) -> None: ...
|
|
40
|
+
|
|
41
|
+
global___ShieldingDetails = ShieldingDetails
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in yandex/cloud/cdn/v1/shielding_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
_T = typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
15
|
+
|
|
16
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
17
|
+
...
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/cdn/v1/shielding_service.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
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
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'yandex/cloud/cdn/v1/shielding_service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
26
|
+
from yandex.cloud.cdn.v1 import shielding_pb2 as yandex_dot_cloud_dot_cdn_dot_v1_dot_shielding__pb2
|
|
27
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
28
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/cdn/v1/shielding_service.proto\x12\x13yandex.cloud.cdn.v1\x1a yandex/cloud/api/operation.proto\x1a#yandex/cloud/cdn/v1/shielding.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"?\n\x1aGetShieldingDetailsRequest\x12!\n\x0bresource_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"Z\n\x18\x41\x63tivateShieldingRequest\x12!\n\x0bresource_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1b\n\x0blocation_id\x18\x02 \x01(\x03\x42\x06\xfa\xc7\x31\x02>0\">\n\x19\x41\x63tivateShieldingMetadata\x12!\n\x0bresource_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"?\n\x1a\x44\x65\x61\x63tivateShieldingRequest\x12!\n\x0bresource_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"@\n\x1b\x44\x65\x61\x63tivateShieldingMetadata\x12!\n\x0bresource_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"X\n\x16UpdateShieldingRequest\x12!\n\x0bresource_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1b\n\x0blocation_id\x18\x02 \x01(\x03\x42\x06\xfa\xc7\x31\x02>0\"<\n\x17UpdateShieldingMetadata\x12!\n\x0bresource_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"~\n\x1dListShieldingLocationsRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"}\n\x1eListShieldingLocationsResponse\x12\x42\n\x13shielding_locations\x18\x01 \x03(\x0b\x32%.yandex.cloud.cdn.v1.ShieldingDetails\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xb0\x05\n\x10ShieldingService\x12\x8f\x01\n\x08\x41\x63tivate\x12-.yandex.cloud.cdn.v1.ActivateShieldingRequest\x1a!.yandex.cloud.operation.Operation\"1\xb2\xd2*-\n\x19\x41\x63tivateShieldingMetadata\x12\x10ShieldingDetails\x12\x9a\x01\n\nDeactivate\x12/.yandex.cloud.cdn.v1.DeactivateShieldingRequest\x1a!.yandex.cloud.operation.Operation\"8\xb2\xd2*4\n\x1b\x44\x65\x61\x63tivateShieldingMetadata\x12\x15google.protobuf.Empty\x12]\n\x03Get\x12/.yandex.cloud.cdn.v1.GetShieldingDetailsRequest\x1a%.yandex.cloud.cdn.v1.ShieldingDetails\x12\x89\x01\n\x06Update\x12+.yandex.cloud.cdn.v1.UpdateShieldingRequest\x1a!.yandex.cloud.operation.Operation\"/\xb2\xd2*+\n\x17UpdateShieldingMetadata\x12\x10ShieldingDetails\x12\x81\x01\n\x16ListAvailableLocations\x12\x32.yandex.cloud.cdn.v1.ListShieldingLocationsRequest\x1a\x33.yandex.cloud.cdn.v1.ListShieldingLocationsResponseBV\n\x17yandex.cloud.api.cdn.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cdn/v1;cdnb\x06proto3')
|
|
32
|
+
|
|
33
|
+
_globals = globals()
|
|
34
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
35
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.cdn.v1.shielding_service_pb2', _globals)
|
|
36
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
37
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
38
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\027yandex.cloud.api.cdn.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cdn/v1;cdn'
|
|
39
|
+
_globals['_GETSHIELDINGDETAILSREQUEST'].fields_by_name['resource_id']._loaded_options = None
|
|
40
|
+
_globals['_GETSHIELDINGDETAILSREQUEST'].fields_by_name['resource_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
41
|
+
_globals['_ACTIVATESHIELDINGREQUEST'].fields_by_name['resource_id']._loaded_options = None
|
|
42
|
+
_globals['_ACTIVATESHIELDINGREQUEST'].fields_by_name['resource_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
43
|
+
_globals['_ACTIVATESHIELDINGREQUEST'].fields_by_name['location_id']._loaded_options = None
|
|
44
|
+
_globals['_ACTIVATESHIELDINGREQUEST'].fields_by_name['location_id']._serialized_options = b'\372\3071\002>0'
|
|
45
|
+
_globals['_ACTIVATESHIELDINGMETADATA'].fields_by_name['resource_id']._loaded_options = None
|
|
46
|
+
_globals['_ACTIVATESHIELDINGMETADATA'].fields_by_name['resource_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
47
|
+
_globals['_DEACTIVATESHIELDINGREQUEST'].fields_by_name['resource_id']._loaded_options = None
|
|
48
|
+
_globals['_DEACTIVATESHIELDINGREQUEST'].fields_by_name['resource_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
49
|
+
_globals['_DEACTIVATESHIELDINGMETADATA'].fields_by_name['resource_id']._loaded_options = None
|
|
50
|
+
_globals['_DEACTIVATESHIELDINGMETADATA'].fields_by_name['resource_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
51
|
+
_globals['_UPDATESHIELDINGREQUEST'].fields_by_name['resource_id']._loaded_options = None
|
|
52
|
+
_globals['_UPDATESHIELDINGREQUEST'].fields_by_name['resource_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
53
|
+
_globals['_UPDATESHIELDINGREQUEST'].fields_by_name['location_id']._loaded_options = None
|
|
54
|
+
_globals['_UPDATESHIELDINGREQUEST'].fields_by_name['location_id']._serialized_options = b'\372\3071\002>0'
|
|
55
|
+
_globals['_UPDATESHIELDINGMETADATA'].fields_by_name['resource_id']._loaded_options = None
|
|
56
|
+
_globals['_UPDATESHIELDINGMETADATA'].fields_by_name['resource_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
57
|
+
_globals['_LISTSHIELDINGLOCATIONSREQUEST'].fields_by_name['folder_id']._loaded_options = None
|
|
58
|
+
_globals['_LISTSHIELDINGLOCATIONSREQUEST'].fields_by_name['folder_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
59
|
+
_globals['_LISTSHIELDINGLOCATIONSREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
60
|
+
_globals['_LISTSHIELDINGLOCATIONSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\006<=1000'
|
|
61
|
+
_globals['_LISTSHIELDINGLOCATIONSREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
62
|
+
_globals['_LISTSHIELDINGLOCATIONSREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\005<=100'
|
|
63
|
+
_globals['_SHIELDINGSERVICE'].methods_by_name['Activate']._loaded_options = None
|
|
64
|
+
_globals['_SHIELDINGSERVICE'].methods_by_name['Activate']._serialized_options = b'\262\322*-\n\031ActivateShieldingMetadata\022\020ShieldingDetails'
|
|
65
|
+
_globals['_SHIELDINGSERVICE'].methods_by_name['Deactivate']._loaded_options = None
|
|
66
|
+
_globals['_SHIELDINGSERVICE'].methods_by_name['Deactivate']._serialized_options = b'\262\322*4\n\033DeactivateShieldingMetadata\022\025google.protobuf.Empty'
|
|
67
|
+
_globals['_SHIELDINGSERVICE'].methods_by_name['Update']._loaded_options = None
|
|
68
|
+
_globals['_SHIELDINGSERVICE'].methods_by_name['Update']._serialized_options = b'\262\322*+\n\027UpdateShieldingMetadata\022\020ShieldingDetails'
|
|
69
|
+
_globals['_GETSHIELDINGDETAILSREQUEST']._serialized_start=210
|
|
70
|
+
_globals['_GETSHIELDINGDETAILSREQUEST']._serialized_end=273
|
|
71
|
+
_globals['_ACTIVATESHIELDINGREQUEST']._serialized_start=275
|
|
72
|
+
_globals['_ACTIVATESHIELDINGREQUEST']._serialized_end=365
|
|
73
|
+
_globals['_ACTIVATESHIELDINGMETADATA']._serialized_start=367
|
|
74
|
+
_globals['_ACTIVATESHIELDINGMETADATA']._serialized_end=429
|
|
75
|
+
_globals['_DEACTIVATESHIELDINGREQUEST']._serialized_start=431
|
|
76
|
+
_globals['_DEACTIVATESHIELDINGREQUEST']._serialized_end=494
|
|
77
|
+
_globals['_DEACTIVATESHIELDINGMETADATA']._serialized_start=496
|
|
78
|
+
_globals['_DEACTIVATESHIELDINGMETADATA']._serialized_end=560
|
|
79
|
+
_globals['_UPDATESHIELDINGREQUEST']._serialized_start=562
|
|
80
|
+
_globals['_UPDATESHIELDINGREQUEST']._serialized_end=650
|
|
81
|
+
_globals['_UPDATESHIELDINGMETADATA']._serialized_start=652
|
|
82
|
+
_globals['_UPDATESHIELDINGMETADATA']._serialized_end=712
|
|
83
|
+
_globals['_LISTSHIELDINGLOCATIONSREQUEST']._serialized_start=714
|
|
84
|
+
_globals['_LISTSHIELDINGLOCATIONSREQUEST']._serialized_end=840
|
|
85
|
+
_globals['_LISTSHIELDINGLOCATIONSRESPONSE']._serialized_start=842
|
|
86
|
+
_globals['_LISTSHIELDINGLOCATIONSRESPONSE']._serialized_end=967
|
|
87
|
+
_globals['_SHIELDINGSERVICE']._serialized_start=970
|
|
88
|
+
_globals['_SHIELDINGSERVICE']._serialized_end=1658
|
|
89
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,201 @@
|
|
|
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 typing
|
|
12
|
+
import yandex.cloud.cdn.v1.shielding_pb2
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class GetShieldingDetailsRequest(google.protobuf.message.Message):
|
|
18
|
+
"""Request to retrieve shielding details for a specific resource."""
|
|
19
|
+
|
|
20
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
21
|
+
|
|
22
|
+
RESOURCE_ID_FIELD_NUMBER: builtins.int
|
|
23
|
+
resource_id: builtins.str
|
|
24
|
+
"""ID of the resource for which to get shielding details."""
|
|
25
|
+
def __init__(
|
|
26
|
+
self,
|
|
27
|
+
*,
|
|
28
|
+
resource_id: builtins.str = ...,
|
|
29
|
+
) -> None: ...
|
|
30
|
+
def ClearField(self, field_name: typing.Literal["resource_id", b"resource_id"]) -> None: ...
|
|
31
|
+
|
|
32
|
+
global___GetShieldingDetailsRequest = GetShieldingDetailsRequest
|
|
33
|
+
|
|
34
|
+
@typing.final
|
|
35
|
+
class ActivateShieldingRequest(google.protobuf.message.Message):
|
|
36
|
+
"""Request to activate shielding for a specific resource."""
|
|
37
|
+
|
|
38
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
39
|
+
|
|
40
|
+
RESOURCE_ID_FIELD_NUMBER: builtins.int
|
|
41
|
+
LOCATION_ID_FIELD_NUMBER: builtins.int
|
|
42
|
+
resource_id: builtins.str
|
|
43
|
+
"""ID of the resource to activate shielding for."""
|
|
44
|
+
location_id: builtins.int
|
|
45
|
+
"""ID of the location to activate shielding in, allowing selection of a suitable geographical location."""
|
|
46
|
+
def __init__(
|
|
47
|
+
self,
|
|
48
|
+
*,
|
|
49
|
+
resource_id: builtins.str = ...,
|
|
50
|
+
location_id: builtins.int = ...,
|
|
51
|
+
) -> None: ...
|
|
52
|
+
def ClearField(self, field_name: typing.Literal["location_id", b"location_id", "resource_id", b"resource_id"]) -> None: ...
|
|
53
|
+
|
|
54
|
+
global___ActivateShieldingRequest = ActivateShieldingRequest
|
|
55
|
+
|
|
56
|
+
@typing.final
|
|
57
|
+
class ActivateShieldingMetadata(google.protobuf.message.Message):
|
|
58
|
+
"""Metadata for shielding activation, detailing the operations performed."""
|
|
59
|
+
|
|
60
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
61
|
+
|
|
62
|
+
RESOURCE_ID_FIELD_NUMBER: builtins.int
|
|
63
|
+
resource_id: builtins.str
|
|
64
|
+
"""ID of the resource for which shielding is being activated."""
|
|
65
|
+
def __init__(
|
|
66
|
+
self,
|
|
67
|
+
*,
|
|
68
|
+
resource_id: builtins.str = ...,
|
|
69
|
+
) -> None: ...
|
|
70
|
+
def ClearField(self, field_name: typing.Literal["resource_id", b"resource_id"]) -> None: ...
|
|
71
|
+
|
|
72
|
+
global___ActivateShieldingMetadata = ActivateShieldingMetadata
|
|
73
|
+
|
|
74
|
+
@typing.final
|
|
75
|
+
class DeactivateShieldingRequest(google.protobuf.message.Message):
|
|
76
|
+
"""Request to deactivate shielding for a specific resource."""
|
|
77
|
+
|
|
78
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
79
|
+
|
|
80
|
+
RESOURCE_ID_FIELD_NUMBER: builtins.int
|
|
81
|
+
resource_id: builtins.str
|
|
82
|
+
"""ID of the resource to deactivate shielding for."""
|
|
83
|
+
def __init__(
|
|
84
|
+
self,
|
|
85
|
+
*,
|
|
86
|
+
resource_id: builtins.str = ...,
|
|
87
|
+
) -> None: ...
|
|
88
|
+
def ClearField(self, field_name: typing.Literal["resource_id", b"resource_id"]) -> None: ...
|
|
89
|
+
|
|
90
|
+
global___DeactivateShieldingRequest = DeactivateShieldingRequest
|
|
91
|
+
|
|
92
|
+
@typing.final
|
|
93
|
+
class DeactivateShieldingMetadata(google.protobuf.message.Message):
|
|
94
|
+
"""Metadata for shielding deactivation, detailing the operations performed."""
|
|
95
|
+
|
|
96
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
97
|
+
|
|
98
|
+
RESOURCE_ID_FIELD_NUMBER: builtins.int
|
|
99
|
+
resource_id: builtins.str
|
|
100
|
+
"""ID of the resource for which shielding is being deactivated."""
|
|
101
|
+
def __init__(
|
|
102
|
+
self,
|
|
103
|
+
*,
|
|
104
|
+
resource_id: builtins.str = ...,
|
|
105
|
+
) -> None: ...
|
|
106
|
+
def ClearField(self, field_name: typing.Literal["resource_id", b"resource_id"]) -> None: ...
|
|
107
|
+
|
|
108
|
+
global___DeactivateShieldingMetadata = DeactivateShieldingMetadata
|
|
109
|
+
|
|
110
|
+
@typing.final
|
|
111
|
+
class UpdateShieldingRequest(google.protobuf.message.Message):
|
|
112
|
+
"""Request to update shielding parameters, including location adjustments."""
|
|
113
|
+
|
|
114
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
115
|
+
|
|
116
|
+
RESOURCE_ID_FIELD_NUMBER: builtins.int
|
|
117
|
+
LOCATION_ID_FIELD_NUMBER: builtins.int
|
|
118
|
+
resource_id: builtins.str
|
|
119
|
+
"""ID of the resource for which shielding parameters are being updated."""
|
|
120
|
+
location_id: builtins.int
|
|
121
|
+
"""ID of the location for updating shielding parameters, allowing for geographical adjustments."""
|
|
122
|
+
def __init__(
|
|
123
|
+
self,
|
|
124
|
+
*,
|
|
125
|
+
resource_id: builtins.str = ...,
|
|
126
|
+
location_id: builtins.int = ...,
|
|
127
|
+
) -> None: ...
|
|
128
|
+
def ClearField(self, field_name: typing.Literal["location_id", b"location_id", "resource_id", b"resource_id"]) -> None: ...
|
|
129
|
+
|
|
130
|
+
global___UpdateShieldingRequest = UpdateShieldingRequest
|
|
131
|
+
|
|
132
|
+
@typing.final
|
|
133
|
+
class UpdateShieldingMetadata(google.protobuf.message.Message):
|
|
134
|
+
"""Metadata for shielding updates, detailing the operations performed."""
|
|
135
|
+
|
|
136
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
137
|
+
|
|
138
|
+
RESOURCE_ID_FIELD_NUMBER: builtins.int
|
|
139
|
+
resource_id: builtins.str
|
|
140
|
+
"""ID of the resource for which shielding parameters are being updated."""
|
|
141
|
+
def __init__(
|
|
142
|
+
self,
|
|
143
|
+
*,
|
|
144
|
+
resource_id: builtins.str = ...,
|
|
145
|
+
) -> None: ...
|
|
146
|
+
def ClearField(self, field_name: typing.Literal["resource_id", b"resource_id"]) -> None: ...
|
|
147
|
+
|
|
148
|
+
global___UpdateShieldingMetadata = UpdateShieldingMetadata
|
|
149
|
+
|
|
150
|
+
@typing.final
|
|
151
|
+
class ListShieldingLocationsRequest(google.protobuf.message.Message):
|
|
152
|
+
"""Request to list available geographical locations for shielding."""
|
|
153
|
+
|
|
154
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
155
|
+
|
|
156
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
157
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
158
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
159
|
+
folder_id: builtins.str
|
|
160
|
+
"""ID of the folder for which to request a list of locations where shielding can be activated."""
|
|
161
|
+
page_size: builtins.int
|
|
162
|
+
"""Maximum number of results per page."""
|
|
163
|
+
page_token: builtins.str
|
|
164
|
+
"""Page token. To get the next page of results,
|
|
165
|
+
set [page_token] to the [ListShieldingLocationsResponse.next_page_token]
|
|
166
|
+
returned by a previous list response.
|
|
167
|
+
"""
|
|
168
|
+
def __init__(
|
|
169
|
+
self,
|
|
170
|
+
*,
|
|
171
|
+
folder_id: builtins.str = ...,
|
|
172
|
+
page_size: builtins.int = ...,
|
|
173
|
+
page_token: builtins.str = ...,
|
|
174
|
+
) -> None: ...
|
|
175
|
+
def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
176
|
+
|
|
177
|
+
global___ListShieldingLocationsRequest = ListShieldingLocationsRequest
|
|
178
|
+
|
|
179
|
+
@typing.final
|
|
180
|
+
class ListShieldingLocationsResponse(google.protobuf.message.Message):
|
|
181
|
+
"""Response for the list of available shielding locations."""
|
|
182
|
+
|
|
183
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
184
|
+
|
|
185
|
+
SHIELDING_LOCATIONS_FIELD_NUMBER: builtins.int
|
|
186
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
187
|
+
next_page_token: builtins.str
|
|
188
|
+
"""Token for getting the next page of results."""
|
|
189
|
+
@property
|
|
190
|
+
def shielding_locations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.cdn.v1.shielding_pb2.ShieldingDetails]:
|
|
191
|
+
"""List of available shielding locations, each representing a potential geographical location for the shielding server."""
|
|
192
|
+
|
|
193
|
+
def __init__(
|
|
194
|
+
self,
|
|
195
|
+
*,
|
|
196
|
+
shielding_locations: collections.abc.Iterable[yandex.cloud.cdn.v1.shielding_pb2.ShieldingDetails] | None = ...,
|
|
197
|
+
next_page_token: builtins.str = ...,
|
|
198
|
+
) -> None: ...
|
|
199
|
+
def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "shielding_locations", b"shielding_locations"]) -> None: ...
|
|
200
|
+
|
|
201
|
+
global___ListShieldingLocationsResponse = ListShieldingLocationsResponse
|