yandexcloud 0.323.0__py3-none-any.whl → 0.325.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/foundation_models/v1/embedding/embedding_service_pb2.pyi +1 -1
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.pyi +4 -2
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2.pyi +6 -3
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2_grpc.py +3 -3
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2_grpc.pyi +3 -3
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_pb2.pyi +3 -3
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2.pyi +25 -10
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.py +11 -5
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.pyi +33 -9
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.py +27 -27
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +18 -6
- yandex/cloud/ai/stt/v3/stt_pb2.py +5 -3
- yandex/cloud/ai/stt/v3/stt_pb2.pyi +15 -0
- yandex/cloud/ai/stt/v3/stt_service_pb2.py +10 -7
- yandex/cloud/ai/stt/v3/stt_service_pb2_grpc.py +34 -0
- yandex/cloud/ai/stt/v3/stt_service_pb2_grpc.pyi +18 -0
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.py +26 -26
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.pyi +7 -1
- yandex/cloud/backup/v1/backup_service_pb2.py +42 -41
- yandex/cloud/backup/v1/backup_service_pb2.pyi +6 -1
- yandex/cloud/backup/v1/policy_pb2.pyi +1 -1
- yandex/cloud/billing/v1/customer_service_pb2.pyi +5 -4
- yandex/cloud/cdn/v1/resource_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/resource_service_pb2.pyi +5 -1
- yandex/cloud/cloudregistry/__init__.py +0 -0
- yandex/cloud/cloudregistry/v1/__init__.py +0 -0
- yandex/cloud/cloudregistry/v1/artifact_pb2.py +31 -0
- yandex/cloud/cloudregistry/v1/artifact_pb2.pyi +112 -0
- yandex/cloud/cloudregistry/v1/artifact_pb2_grpc.py +4 -0
- yandex/cloud/cloudregistry/v1/artifact_pb2_grpc.pyi +17 -0
- yandex/cloud/cloudregistry/v1/artifact_service_pb2.py +45 -0
- yandex/cloud/cloudregistry/v1/artifact_service_pb2.pyi +59 -0
- yandex/cloud/cloudregistry/v1/artifact_service_pb2_grpc.py +108 -0
- yandex/cloud/cloudregistry/v1/artifact_service_pb2_grpc.pyi +81 -0
- yandex/cloud/cloudregistry/v1/ip_permission_pb2.py +37 -0
- yandex/cloud/cloudregistry/v1/ip_permission_pb2.pyi +95 -0
- yandex/cloud/cloudregistry/v1/ip_permission_pb2_grpc.py +4 -0
- yandex/cloud/cloudregistry/v1/ip_permission_pb2_grpc.pyi +17 -0
- yandex/cloud/cloudregistry/v1/registry_pb2.py +41 -0
- yandex/cloud/cloudregistry/v1/registry_pb2.pyi +181 -0
- yandex/cloud/cloudregistry/v1/registry_pb2_grpc.py +4 -0
- yandex/cloud/cloudregistry/v1/registry_pb2_grpc.pyi +17 -0
- yandex/cloud/cloudregistry/v1/registry_service_pb2.py +157 -0
- yandex/cloud/cloudregistry/v1/registry_service_pb2.pyi +504 -0
- yandex/cloud/cloudregistry/v1/registry_service_pb2_grpc.py +451 -0
- yandex/cloud/cloudregistry/v1/registry_service_pb2_grpc.pyi +291 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2.py +8 -10
- yandex/cloud/cloudrouter/v1/routing_instance_pb2.pyi +2 -28
- yandex/cloud/compute/v1/instance_service_pb2_grpc.py +1 -1
- yandex/cloud/compute/v1/instance_service_pb2_grpc.pyi +3 -3
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +9 -5
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +96 -0
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.py +55 -53
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.pyi +14 -2
- yandex/cloud/iam/v1/user_account_pb2.pyi +2 -2
- yandex/cloud/iam/v1/user_account_service_pb2_grpc.py +3 -3
- yandex/cloud/iam/v1/user_account_service_pb2_grpc.pyi +3 -3
- yandex/cloud/lockbox/v1/secret_service_pb2.py +56 -55
- yandex/cloud/lockbox/v1/secret_service_pb2.pyi +13 -2
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +55 -45
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +40 -0
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.py +34 -0
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.pyi +20 -0
- yandex/cloud/mdb/postgresql/v1/cluster_pb2.py +47 -43
- yandex/cloud/mdb/postgresql/v1/cluster_pb2.pyi +34 -6
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +109 -105
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +35 -7
- yandex/cloud/mdb/postgresql/v1/config/host17_1c_pb2.py +68 -0
- yandex/cloud/mdb/postgresql/v1/config/host17_1c_pb2.pyi +512 -0
- yandex/cloud/mdb/postgresql/v1/config/host17_1c_pb2_grpc.py +4 -0
- yandex/cloud/mdb/postgresql/v1/config/host17_1c_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/config/host17_pb2.py +68 -0
- yandex/cloud/mdb/postgresql/v1/config/host17_pb2.pyi +512 -0
- yandex/cloud/mdb/postgresql/v1/config/host17_pb2_grpc.py +4 -0
- yandex/cloud/mdb/postgresql/v1/config/host17_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_1c_pb2.py +168 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_1c_pb2.pyi +1130 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_1c_pb2_grpc.py +4 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_1c_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_pb2.py +168 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_pb2.pyi +1122 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_pb2_grpc.py +4 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/redis/v1/backup_pb2.py +4 -2
- yandex/cloud/mdb/redis/v1/backup_pb2.pyi +31 -1
- yandex/cloud/organizationmanager/v1/user_account_pb2.pyi +2 -2
- yandex/cloud/searchapi/__init__.py +0 -0
- yandex/cloud/searchapi/v2/__init__.py +0 -0
- yandex/cloud/searchapi/v2/search_query_pb2.py +37 -0
- yandex/cloud/searchapi/v2/search_query_pb2.pyi +100 -0
- yandex/cloud/searchapi/v2/search_query_pb2_grpc.py +4 -0
- yandex/cloud/searchapi/v2/search_query_pb2_grpc.pyi +17 -0
- yandex/cloud/searchapi/v2/search_service_pb2.py +61 -0
- yandex/cloud/searchapi/v2/search_service_pb2.pyi +218 -0
- yandex/cloud/searchapi/v2/search_service_pb2_grpc.py +70 -0
- yandex/cloud/searchapi/v2/search_service_pb2_grpc.pyi +48 -0
- yandex/cloud/serverless/containers/v1/container_pb2.py +42 -34
- yandex/cloud/serverless/containers/v1/container_pb2.pyi +52 -2
- yandex/cloud/serverless/containers/v1/container_service_pb2.py +18 -18
- yandex/cloud/serverless/containers/v1/container_service_pb2.pyi +8 -2
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +9 -9
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +8 -0
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.py +31 -31
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.pyi +4 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.py +23 -15
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.pyi +32 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.py +34 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.pyi +20 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2.py +46 -40
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2.pyi +47 -2
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.py +18 -18
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.pyi +16 -3
- yandex/cloud/video/v1/channel_pb2.py +1 -1
- yandex/cloud/video/v1/channel_service_pb2.py +58 -25
- yandex/cloud/video/v1/channel_service_pb2.pyi +40 -0
- yandex/cloud/video/v1/channel_service_pb2_grpc.py +34 -0
- yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +20 -0
- yandex/cloud/video/v1/episode_pb2.py +10 -8
- yandex/cloud/video/v1/episode_pb2.pyi +19 -3
- yandex/cloud/video/v1/episode_service_pb2.py +96 -43
- yandex/cloud/video/v1/episode_service_pb2.pyi +68 -6
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +34 -0
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +20 -0
- yandex/cloud/video/v1/manifest_pb2.py +3 -3
- yandex/cloud/video/v1/manifest_pb2.pyi +1 -5
- yandex/cloud/video/v1/playlist_pb2.py +29 -0
- yandex/cloud/video/v1/playlist_pb2.pyi +89 -0
- yandex/cloud/video/v1/playlist_pb2_grpc.py +4 -0
- yandex/cloud/video/v1/playlist_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/playlist_service_pb2.py +102 -0
- yandex/cloud/video/v1/playlist_service_pb2.pyi +331 -0
- yandex/cloud/video/v1/playlist_service_pb2_grpc.py +276 -0
- yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +172 -0
- yandex/cloud/video/v1/stream_line_pb2.py +1 -1
- yandex/cloud/video/v1/stream_line_service_pb2.py +122 -55
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +80 -0
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +68 -0
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +40 -0
- yandex/cloud/video/v1/stream_pb2.py +1 -1
- yandex/cloud/video/v1/stream_service_pb2.py +98 -37
- yandex/cloud/video/v1/stream_service_pb2.pyi +80 -0
- yandex/cloud/video/v1/stream_service_pb2_grpc.py +68 -0
- yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +40 -0
- yandex/cloud/video/v1/subtitle_pb2.py +29 -0
- yandex/cloud/video/v1/subtitle_pb2.pyi +90 -0
- yandex/cloud/video/v1/subtitle_pb2_grpc.py +4 -0
- yandex/cloud/video/v1/subtitle_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/subtitle_service_pb2.py +83 -0
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +212 -0
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +208 -0
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +132 -0
- yandex/cloud/video/v1/thumbnail_service_pb2.py +50 -21
- yandex/cloud/video/v1/thumbnail_service_pb2.pyi +48 -0
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +69 -0
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +41 -0
- yandex/cloud/video/v1/video_pb2.py +18 -14
- yandex/cloud/video/v1/video_pb2.pyi +55 -3
- yandex/cloud/video/v1/video_service_pb2.py +118 -49
- yandex/cloud/video/v1/video_service_pb2.pyi +161 -6
- yandex/cloud/video/v1/video_service_pb2_grpc.py +102 -0
- yandex/cloud/video/v1/video_service_pb2_grpc.pyi +60 -0
- {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/RECORD +167 -103
- {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,112 @@
|
|
|
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.internal.enum_type_wrapper
|
|
9
|
+
import google.protobuf.message
|
|
10
|
+
import google.protobuf.timestamp_pb2
|
|
11
|
+
import sys
|
|
12
|
+
import typing
|
|
13
|
+
|
|
14
|
+
if sys.version_info >= (3, 10):
|
|
15
|
+
import typing as typing_extensions
|
|
16
|
+
else:
|
|
17
|
+
import typing_extensions
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
20
|
+
|
|
21
|
+
@typing.final
|
|
22
|
+
class Artifact(google.protobuf.message.Message):
|
|
23
|
+
"""A Artifact resource."""
|
|
24
|
+
|
|
25
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
26
|
+
|
|
27
|
+
class _Kind:
|
|
28
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
29
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
30
|
+
|
|
31
|
+
class _KindEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Artifact._Kind.ValueType], builtins.type):
|
|
32
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
33
|
+
KIND_UNSPECIFIED: Artifact._Kind.ValueType # 0
|
|
34
|
+
FOLDER: Artifact._Kind.ValueType # 1
|
|
35
|
+
"""Artifact kind is folder."""
|
|
36
|
+
PACKAGE: Artifact._Kind.ValueType # 2
|
|
37
|
+
"""Artifact kind is package."""
|
|
38
|
+
ARTIFACT: Artifact._Kind.ValueType # 3
|
|
39
|
+
"""Artifact kind is artifact."""
|
|
40
|
+
|
|
41
|
+
class Kind(_Kind, metaclass=_KindEnumTypeWrapper): ...
|
|
42
|
+
KIND_UNSPECIFIED: Artifact.Kind.ValueType # 0
|
|
43
|
+
FOLDER: Artifact.Kind.ValueType # 1
|
|
44
|
+
"""Artifact kind is folder."""
|
|
45
|
+
PACKAGE: Artifact.Kind.ValueType # 2
|
|
46
|
+
"""Artifact kind is package."""
|
|
47
|
+
ARTIFACT: Artifact.Kind.ValueType # 3
|
|
48
|
+
"""Artifact kind is artifact."""
|
|
49
|
+
|
|
50
|
+
class _Status:
|
|
51
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
52
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
53
|
+
|
|
54
|
+
class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Artifact._Status.ValueType], builtins.type):
|
|
55
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
56
|
+
STATUS_UNSPECIFIED: Artifact._Status.ValueType # 0
|
|
57
|
+
CREATING: Artifact._Status.ValueType # 1
|
|
58
|
+
"""Artifact status is being created."""
|
|
59
|
+
ACTIVE: Artifact._Status.ValueType # 2
|
|
60
|
+
"""Artifact status is ready to use."""
|
|
61
|
+
DELETING: Artifact._Status.ValueType # 3
|
|
62
|
+
"""Artifact status is being deleted."""
|
|
63
|
+
|
|
64
|
+
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
65
|
+
STATUS_UNSPECIFIED: Artifact.Status.ValueType # 0
|
|
66
|
+
CREATING: Artifact.Status.ValueType # 1
|
|
67
|
+
"""Artifact status is being created."""
|
|
68
|
+
ACTIVE: Artifact.Status.ValueType # 2
|
|
69
|
+
"""Artifact status is ready to use."""
|
|
70
|
+
DELETING: Artifact.Status.ValueType # 3
|
|
71
|
+
"""Artifact status is being deleted."""
|
|
72
|
+
|
|
73
|
+
ID_FIELD_NUMBER: builtins.int
|
|
74
|
+
PATH_FIELD_NUMBER: builtins.int
|
|
75
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
76
|
+
KIND_FIELD_NUMBER: builtins.int
|
|
77
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
78
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
79
|
+
MODIFIED_AT_FIELD_NUMBER: builtins.int
|
|
80
|
+
id: builtins.str
|
|
81
|
+
"""Output only. ID of the artifact."""
|
|
82
|
+
path: builtins.str
|
|
83
|
+
"""Path where the artifact is located."""
|
|
84
|
+
name: builtins.str
|
|
85
|
+
"""Name of the artifact."""
|
|
86
|
+
kind: global___Artifact.Kind.ValueType
|
|
87
|
+
"""Kind of the artifact."""
|
|
88
|
+
status: global___Artifact.Status.ValueType
|
|
89
|
+
"""Output only. Status of the artifact."""
|
|
90
|
+
@property
|
|
91
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
92
|
+
"""Output only. Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format."""
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
def modified_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
96
|
+
"""Output only. Modification timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format."""
|
|
97
|
+
|
|
98
|
+
def __init__(
|
|
99
|
+
self,
|
|
100
|
+
*,
|
|
101
|
+
id: builtins.str = ...,
|
|
102
|
+
path: builtins.str = ...,
|
|
103
|
+
name: builtins.str = ...,
|
|
104
|
+
kind: global___Artifact.Kind.ValueType = ...,
|
|
105
|
+
status: global___Artifact.Status.ValueType = ...,
|
|
106
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
107
|
+
modified_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
108
|
+
) -> None: ...
|
|
109
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "modified_at", b"modified_at"]) -> builtins.bool: ...
|
|
110
|
+
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "id", b"id", "kind", b"kind", "modified_at", b"modified_at", "name", b"name", "path", b"path", "status", b"status"]) -> None: ...
|
|
111
|
+
|
|
112
|
+
global___Artifact = Artifact
|
|
@@ -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,45 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/cloudregistry/v1/artifact_service.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
8
|
+
from google.protobuf.internal import builder as _builder
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
15
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
16
|
+
from yandex.cloud.cloudregistry.v1 import artifact_pb2 as yandex_dot_cloud_dot_cloudregistry_dot_v1_dot_artifact__pb2
|
|
17
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
18
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4yandex/cloud/cloudregistry/v1/artifact_service.proto\x12\x1dyandex.cloud.cloudregistry.v1\x1a yandex/cloud/api/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a,yandex/cloud/cloudregistry/v1/artifact.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1cgoogle/api/annotations.proto\"7\n\x12GetArtifactRequest\x12!\n\x0b\x61rtifact_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\":\n\x15\x44\x65leteArtifactRequest\x12!\n\x0b\x61rtifact_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"-\n\x16\x44\x65leteArtifactMetadata\x12\x13\n\x0b\x61rtifact_id\x18\x01 \x01(\t2\xf4\x02\n\x0f\x41rtifactService\x12\x95\x01\n\x03Get\x12\x31.yandex.cloud.cloudregistry.v1.GetArtifactRequest\x1a\'.yandex.cloud.cloudregistry.v1.Artifact\"2\x82\xd3\xe4\x93\x02,\x12*/cloud-registry/v1/artifacts/{artifact_id}\x12\xc8\x01\n\x06\x44\x65lete\x12\x34.yandex.cloud.cloudregistry.v1.DeleteArtifactRequest\x1a!.yandex.cloud.operation.Operation\"e\xb2\xd2*/\n\x16\x44\x65leteArtifactMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02,**/cloud-registry/v1/artifacts/{artifact_id}Bt\n!yandex.cloud.api.cloudregistry.v1ZOgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudregistry/v1;cloudregistryb\x06proto3')
|
|
22
|
+
|
|
23
|
+
_globals = globals()
|
|
24
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
25
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.cloudregistry.v1.artifact_service_pb2', _globals)
|
|
26
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
27
|
+
DESCRIPTOR._options = None
|
|
28
|
+
DESCRIPTOR._serialized_options = b'\n!yandex.cloud.api.cloudregistry.v1ZOgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudregistry/v1;cloudregistry'
|
|
29
|
+
_GETARTIFACTREQUEST.fields_by_name['artifact_id']._options = None
|
|
30
|
+
_GETARTIFACTREQUEST.fields_by_name['artifact_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
31
|
+
_DELETEARTIFACTREQUEST.fields_by_name['artifact_id']._options = None
|
|
32
|
+
_DELETEARTIFACTREQUEST.fields_by_name['artifact_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
33
|
+
_ARTIFACTSERVICE.methods_by_name['Get']._options = None
|
|
34
|
+
_ARTIFACTSERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002,\022*/cloud-registry/v1/artifacts/{artifact_id}'
|
|
35
|
+
_ARTIFACTSERVICE.methods_by_name['Delete']._options = None
|
|
36
|
+
_ARTIFACTSERVICE.methods_by_name['Delete']._serialized_options = b'\262\322*/\n\026DeleteArtifactMetadata\022\025google.protobuf.Empty\202\323\344\223\002,**/cloud-registry/v1/artifacts/{artifact_id}'
|
|
37
|
+
_globals['_GETARTIFACTREQUEST']._serialized_start=268
|
|
38
|
+
_globals['_GETARTIFACTREQUEST']._serialized_end=323
|
|
39
|
+
_globals['_DELETEARTIFACTREQUEST']._serialized_start=325
|
|
40
|
+
_globals['_DELETEARTIFACTREQUEST']._serialized_end=383
|
|
41
|
+
_globals['_DELETEARTIFACTMETADATA']._serialized_start=385
|
|
42
|
+
_globals['_DELETEARTIFACTMETADATA']._serialized_end=430
|
|
43
|
+
_globals['_ARTIFACTSERVICE']._serialized_start=433
|
|
44
|
+
_globals['_ARTIFACTSERVICE']._serialized_end=805
|
|
45
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,59 @@
|
|
|
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 GetArtifactRequest(google.protobuf.message.Message):
|
|
15
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
16
|
+
|
|
17
|
+
ARTIFACT_ID_FIELD_NUMBER: builtins.int
|
|
18
|
+
artifact_id: builtins.str
|
|
19
|
+
"""ID of the artifact resource to return."""
|
|
20
|
+
def __init__(
|
|
21
|
+
self,
|
|
22
|
+
*,
|
|
23
|
+
artifact_id: builtins.str = ...,
|
|
24
|
+
) -> None: ...
|
|
25
|
+
def ClearField(self, field_name: typing.Literal["artifact_id", b"artifact_id"]) -> None: ...
|
|
26
|
+
|
|
27
|
+
global___GetArtifactRequest = GetArtifactRequest
|
|
28
|
+
|
|
29
|
+
@typing.final
|
|
30
|
+
class DeleteArtifactRequest(google.protobuf.message.Message):
|
|
31
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
32
|
+
|
|
33
|
+
ARTIFACT_ID_FIELD_NUMBER: builtins.int
|
|
34
|
+
artifact_id: builtins.str
|
|
35
|
+
"""ID of the artifact to delete."""
|
|
36
|
+
def __init__(
|
|
37
|
+
self,
|
|
38
|
+
*,
|
|
39
|
+
artifact_id: builtins.str = ...,
|
|
40
|
+
) -> None: ...
|
|
41
|
+
def ClearField(self, field_name: typing.Literal["artifact_id", b"artifact_id"]) -> None: ...
|
|
42
|
+
|
|
43
|
+
global___DeleteArtifactRequest = DeleteArtifactRequest
|
|
44
|
+
|
|
45
|
+
@typing.final
|
|
46
|
+
class DeleteArtifactMetadata(google.protobuf.message.Message):
|
|
47
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
48
|
+
|
|
49
|
+
ARTIFACT_ID_FIELD_NUMBER: builtins.int
|
|
50
|
+
artifact_id: builtins.str
|
|
51
|
+
"""ID of the artifact to delete."""
|
|
52
|
+
def __init__(
|
|
53
|
+
self,
|
|
54
|
+
*,
|
|
55
|
+
artifact_id: builtins.str = ...,
|
|
56
|
+
) -> None: ...
|
|
57
|
+
def ClearField(self, field_name: typing.Literal["artifact_id", b"artifact_id"]) -> None: ...
|
|
58
|
+
|
|
59
|
+
global___DeleteArtifactMetadata = DeleteArtifactMetadata
|
|
@@ -0,0 +1,108 @@
|
|
|
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
|
+
|
|
5
|
+
from yandex.cloud.cloudregistry.v1 import artifact_pb2 as yandex_dot_cloud_dot_cloudregistry_dot_v1_dot_artifact__pb2
|
|
6
|
+
from yandex.cloud.cloudregistry.v1 import artifact_service_pb2 as yandex_dot_cloud_dot_cloudregistry_dot_v1_dot_artifact__service__pb2
|
|
7
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ArtifactServiceStub(object):
|
|
11
|
+
"""A set of methods for managing Artifacts.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
def __init__(self, channel):
|
|
15
|
+
"""Constructor.
|
|
16
|
+
|
|
17
|
+
Args:
|
|
18
|
+
channel: A grpc.Channel.
|
|
19
|
+
"""
|
|
20
|
+
self.Get = channel.unary_unary(
|
|
21
|
+
'/yandex.cloud.cloudregistry.v1.ArtifactService/Get',
|
|
22
|
+
request_serializer=yandex_dot_cloud_dot_cloudregistry_dot_v1_dot_artifact__service__pb2.GetArtifactRequest.SerializeToString,
|
|
23
|
+
response_deserializer=yandex_dot_cloud_dot_cloudregistry_dot_v1_dot_artifact__pb2.Artifact.FromString,
|
|
24
|
+
)
|
|
25
|
+
self.Delete = channel.unary_unary(
|
|
26
|
+
'/yandex.cloud.cloudregistry.v1.ArtifactService/Delete',
|
|
27
|
+
request_serializer=yandex_dot_cloud_dot_cloudregistry_dot_v1_dot_artifact__service__pb2.DeleteArtifactRequest.SerializeToString,
|
|
28
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class ArtifactServiceServicer(object):
|
|
33
|
+
"""A set of methods for managing Artifacts.
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
def Get(self, request, context):
|
|
37
|
+
"""Returns the specified artifact resource.
|
|
38
|
+
|
|
39
|
+
To get the list of available artifact resources, make [RegistryService.ListArtifacts] method call.
|
|
40
|
+
"""
|
|
41
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
42
|
+
context.set_details('Method not implemented!')
|
|
43
|
+
raise NotImplementedError('Method not implemented!')
|
|
44
|
+
|
|
45
|
+
def Delete(self, request, context):
|
|
46
|
+
"""Deletes the specified artifact.
|
|
47
|
+
"""
|
|
48
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
49
|
+
context.set_details('Method not implemented!')
|
|
50
|
+
raise NotImplementedError('Method not implemented!')
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def add_ArtifactServiceServicer_to_server(servicer, server):
|
|
54
|
+
rpc_method_handlers = {
|
|
55
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
|
56
|
+
servicer.Get,
|
|
57
|
+
request_deserializer=yandex_dot_cloud_dot_cloudregistry_dot_v1_dot_artifact__service__pb2.GetArtifactRequest.FromString,
|
|
58
|
+
response_serializer=yandex_dot_cloud_dot_cloudregistry_dot_v1_dot_artifact__pb2.Artifact.SerializeToString,
|
|
59
|
+
),
|
|
60
|
+
'Delete': grpc.unary_unary_rpc_method_handler(
|
|
61
|
+
servicer.Delete,
|
|
62
|
+
request_deserializer=yandex_dot_cloud_dot_cloudregistry_dot_v1_dot_artifact__service__pb2.DeleteArtifactRequest.FromString,
|
|
63
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
64
|
+
),
|
|
65
|
+
}
|
|
66
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
67
|
+
'yandex.cloud.cloudregistry.v1.ArtifactService', rpc_method_handlers)
|
|
68
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
# This class is part of an EXPERIMENTAL API.
|
|
72
|
+
class ArtifactService(object):
|
|
73
|
+
"""A set of methods for managing Artifacts.
|
|
74
|
+
"""
|
|
75
|
+
|
|
76
|
+
@staticmethod
|
|
77
|
+
def Get(request,
|
|
78
|
+
target,
|
|
79
|
+
options=(),
|
|
80
|
+
channel_credentials=None,
|
|
81
|
+
call_credentials=None,
|
|
82
|
+
insecure=False,
|
|
83
|
+
compression=None,
|
|
84
|
+
wait_for_ready=None,
|
|
85
|
+
timeout=None,
|
|
86
|
+
metadata=None):
|
|
87
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.cloudregistry.v1.ArtifactService/Get',
|
|
88
|
+
yandex_dot_cloud_dot_cloudregistry_dot_v1_dot_artifact__service__pb2.GetArtifactRequest.SerializeToString,
|
|
89
|
+
yandex_dot_cloud_dot_cloudregistry_dot_v1_dot_artifact__pb2.Artifact.FromString,
|
|
90
|
+
options, channel_credentials,
|
|
91
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
92
|
+
|
|
93
|
+
@staticmethod
|
|
94
|
+
def Delete(request,
|
|
95
|
+
target,
|
|
96
|
+
options=(),
|
|
97
|
+
channel_credentials=None,
|
|
98
|
+
call_credentials=None,
|
|
99
|
+
insecure=False,
|
|
100
|
+
compression=None,
|
|
101
|
+
wait_for_ready=None,
|
|
102
|
+
timeout=None,
|
|
103
|
+
metadata=None):
|
|
104
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.cloudregistry.v1.ArtifactService/Delete',
|
|
105
|
+
yandex_dot_cloud_dot_cloudregistry_dot_v1_dot_artifact__service__pb2.DeleteArtifactRequest.SerializeToString,
|
|
106
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
107
|
+
options, channel_credentials,
|
|
108
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
import yandex.cloud.cloudregistry.v1.artifact_pb2
|
|
12
|
+
import yandex.cloud.cloudregistry.v1.artifact_service_pb2
|
|
13
|
+
import yandex.cloud.operation.operation_pb2
|
|
14
|
+
|
|
15
|
+
_T = typing.TypeVar("_T")
|
|
16
|
+
|
|
17
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
18
|
+
|
|
19
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
20
|
+
...
|
|
21
|
+
|
|
22
|
+
class ArtifactServiceStub:
|
|
23
|
+
"""A set of methods for managing Artifacts."""
|
|
24
|
+
|
|
25
|
+
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
26
|
+
Get: grpc.UnaryUnaryMultiCallable[
|
|
27
|
+
yandex.cloud.cloudregistry.v1.artifact_service_pb2.GetArtifactRequest,
|
|
28
|
+
yandex.cloud.cloudregistry.v1.artifact_pb2.Artifact,
|
|
29
|
+
]
|
|
30
|
+
"""Returns the specified artifact resource.
|
|
31
|
+
|
|
32
|
+
To get the list of available artifact resources, make [RegistryService.ListArtifacts] method call.
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
Delete: grpc.UnaryUnaryMultiCallable[
|
|
36
|
+
yandex.cloud.cloudregistry.v1.artifact_service_pb2.DeleteArtifactRequest,
|
|
37
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
38
|
+
]
|
|
39
|
+
"""Deletes the specified artifact."""
|
|
40
|
+
|
|
41
|
+
class ArtifactServiceAsyncStub:
|
|
42
|
+
"""A set of methods for managing Artifacts."""
|
|
43
|
+
|
|
44
|
+
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
45
|
+
yandex.cloud.cloudregistry.v1.artifact_service_pb2.GetArtifactRequest,
|
|
46
|
+
yandex.cloud.cloudregistry.v1.artifact_pb2.Artifact,
|
|
47
|
+
]
|
|
48
|
+
"""Returns the specified artifact resource.
|
|
49
|
+
|
|
50
|
+
To get the list of available artifact resources, make [RegistryService.ListArtifacts] method call.
|
|
51
|
+
"""
|
|
52
|
+
|
|
53
|
+
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
54
|
+
yandex.cloud.cloudregistry.v1.artifact_service_pb2.DeleteArtifactRequest,
|
|
55
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
56
|
+
]
|
|
57
|
+
"""Deletes the specified artifact."""
|
|
58
|
+
|
|
59
|
+
class ArtifactServiceServicer(metaclass=abc.ABCMeta):
|
|
60
|
+
"""A set of methods for managing Artifacts."""
|
|
61
|
+
|
|
62
|
+
@abc.abstractmethod
|
|
63
|
+
def Get(
|
|
64
|
+
self,
|
|
65
|
+
request: yandex.cloud.cloudregistry.v1.artifact_service_pb2.GetArtifactRequest,
|
|
66
|
+
context: _ServicerContext,
|
|
67
|
+
) -> typing.Union[yandex.cloud.cloudregistry.v1.artifact_pb2.Artifact, collections.abc.Awaitable[yandex.cloud.cloudregistry.v1.artifact_pb2.Artifact]]:
|
|
68
|
+
"""Returns the specified artifact resource.
|
|
69
|
+
|
|
70
|
+
To get the list of available artifact resources, make [RegistryService.ListArtifacts] method call.
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
@abc.abstractmethod
|
|
74
|
+
def Delete(
|
|
75
|
+
self,
|
|
76
|
+
request: yandex.cloud.cloudregistry.v1.artifact_service_pb2.DeleteArtifactRequest,
|
|
77
|
+
context: _ServicerContext,
|
|
78
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
79
|
+
"""Deletes the specified artifact."""
|
|
80
|
+
|
|
81
|
+
def add_ArtifactServiceServicer_to_server(servicer: ArtifactServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/cloudregistry/v1/ip_permission.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
8
|
+
from google.protobuf.internal import builder as _builder
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1yandex/cloud/cloudregistry/v1/ip_permission.proto\x12\x1dyandex.cloud.cloudregistry.v1\x1a\x1dyandex/cloud/validation.proto\"\x94\x01\n\x0cIpPermission\x12\x42\n\x06\x61\x63tion\x18\x01 \x01(\x0e\x32\x32.yandex.cloud.cloudregistry.v1.IpPermission.Action\x12\n\n\x02ip\x18\x02 \x01(\t\"4\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\x08\n\x04PULL\x10\x01\x12\x08\n\x04PUSH\x10\x02\"\xab\x01\n\x11IpPermissionDelta\x12L\n\x06\x61\x63tion\x18\x01 \x01(\x0e\x32\x36.yandex.cloud.cloudregistry.v1.IpPermissionDeltaActionB\x04\xe8\xc7\x31\x01\x12H\n\rip_permission\x18\x02 \x01(\x0b\x32+.yandex.cloud.cloudregistry.v1.IpPermissionB\x04\xe8\xc7\x31\x01*Z\n\x17IpPermissionDeltaAction\x12*\n&IP_PERMISSION_DELTA_ACTION_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\n\n\x06REMOVE\x10\x02\x42t\n!yandex.cloud.api.cloudregistry.v1ZOgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudregistry/v1;cloudregistryb\x06proto3')
|
|
18
|
+
|
|
19
|
+
_globals = globals()
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.cloudregistry.v1.ip_permission_pb2', _globals)
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
DESCRIPTOR._options = None
|
|
24
|
+
DESCRIPTOR._serialized_options = b'\n!yandex.cloud.api.cloudregistry.v1ZOgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudregistry/v1;cloudregistry'
|
|
25
|
+
_IPPERMISSIONDELTA.fields_by_name['action']._options = None
|
|
26
|
+
_IPPERMISSIONDELTA.fields_by_name['action']._serialized_options = b'\350\3071\001'
|
|
27
|
+
_IPPERMISSIONDELTA.fields_by_name['ip_permission']._options = None
|
|
28
|
+
_IPPERMISSIONDELTA.fields_by_name['ip_permission']._serialized_options = b'\350\3071\001'
|
|
29
|
+
_globals['_IPPERMISSIONDELTAACTION']._serialized_start=440
|
|
30
|
+
_globals['_IPPERMISSIONDELTAACTION']._serialized_end=530
|
|
31
|
+
_globals['_IPPERMISSION']._serialized_start=116
|
|
32
|
+
_globals['_IPPERMISSION']._serialized_end=264
|
|
33
|
+
_globals['_IPPERMISSION_ACTION']._serialized_start=212
|
|
34
|
+
_globals['_IPPERMISSION_ACTION']._serialized_end=264
|
|
35
|
+
_globals['_IPPERMISSIONDELTA']._serialized_start=267
|
|
36
|
+
_globals['_IPPERMISSIONDELTA']._serialized_end=438
|
|
37
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,95 @@
|
|
|
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.internal.enum_type_wrapper
|
|
9
|
+
import google.protobuf.message
|
|
10
|
+
import sys
|
|
11
|
+
import typing
|
|
12
|
+
|
|
13
|
+
if sys.version_info >= (3, 10):
|
|
14
|
+
import typing as typing_extensions
|
|
15
|
+
else:
|
|
16
|
+
import typing_extensions
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
19
|
+
|
|
20
|
+
class _IpPermissionDeltaAction:
|
|
21
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
22
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
23
|
+
|
|
24
|
+
class _IpPermissionDeltaActionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_IpPermissionDeltaAction.ValueType], builtins.type):
|
|
25
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
26
|
+
IP_PERMISSION_DELTA_ACTION_UNSPECIFIED: _IpPermissionDeltaAction.ValueType # 0
|
|
27
|
+
ADD: _IpPermissionDeltaAction.ValueType # 1
|
|
28
|
+
"""Addition of an ip permission."""
|
|
29
|
+
REMOVE: _IpPermissionDeltaAction.ValueType # 2
|
|
30
|
+
"""Removal of an ip permission."""
|
|
31
|
+
|
|
32
|
+
class IpPermissionDeltaAction(_IpPermissionDeltaAction, metaclass=_IpPermissionDeltaActionEnumTypeWrapper): ...
|
|
33
|
+
|
|
34
|
+
IP_PERMISSION_DELTA_ACTION_UNSPECIFIED: IpPermissionDeltaAction.ValueType # 0
|
|
35
|
+
ADD: IpPermissionDeltaAction.ValueType # 1
|
|
36
|
+
"""Addition of an ip permission."""
|
|
37
|
+
REMOVE: IpPermissionDeltaAction.ValueType # 2
|
|
38
|
+
"""Removal of an ip permission."""
|
|
39
|
+
global___IpPermissionDeltaAction = IpPermissionDeltaAction
|
|
40
|
+
|
|
41
|
+
@typing.final
|
|
42
|
+
class IpPermission(google.protobuf.message.Message):
|
|
43
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
44
|
+
|
|
45
|
+
class _Action:
|
|
46
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
47
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
48
|
+
|
|
49
|
+
class _ActionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[IpPermission._Action.ValueType], builtins.type):
|
|
50
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
51
|
+
ACTION_UNSPECIFIED: IpPermission._Action.ValueType # 0
|
|
52
|
+
PULL: IpPermission._Action.ValueType # 1
|
|
53
|
+
PUSH: IpPermission._Action.ValueType # 2
|
|
54
|
+
|
|
55
|
+
class Action(_Action, metaclass=_ActionEnumTypeWrapper): ...
|
|
56
|
+
ACTION_UNSPECIFIED: IpPermission.Action.ValueType # 0
|
|
57
|
+
PULL: IpPermission.Action.ValueType # 1
|
|
58
|
+
PUSH: IpPermission.Action.ValueType # 2
|
|
59
|
+
|
|
60
|
+
ACTION_FIELD_NUMBER: builtins.int
|
|
61
|
+
IP_FIELD_NUMBER: builtins.int
|
|
62
|
+
action: global___IpPermission.Action.ValueType
|
|
63
|
+
ip: builtins.str
|
|
64
|
+
def __init__(
|
|
65
|
+
self,
|
|
66
|
+
*,
|
|
67
|
+
action: global___IpPermission.Action.ValueType = ...,
|
|
68
|
+
ip: builtins.str = ...,
|
|
69
|
+
) -> None: ...
|
|
70
|
+
def ClearField(self, field_name: typing.Literal["action", b"action", "ip", b"ip"]) -> None: ...
|
|
71
|
+
|
|
72
|
+
global___IpPermission = IpPermission
|
|
73
|
+
|
|
74
|
+
@typing.final
|
|
75
|
+
class IpPermissionDelta(google.protobuf.message.Message):
|
|
76
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
77
|
+
|
|
78
|
+
ACTION_FIELD_NUMBER: builtins.int
|
|
79
|
+
IP_PERMISSION_FIELD_NUMBER: builtins.int
|
|
80
|
+
action: global___IpPermissionDeltaAction.ValueType
|
|
81
|
+
"""The action that is being performed on an ip permission."""
|
|
82
|
+
@property
|
|
83
|
+
def ip_permission(self) -> global___IpPermission:
|
|
84
|
+
"""Ip permission."""
|
|
85
|
+
|
|
86
|
+
def __init__(
|
|
87
|
+
self,
|
|
88
|
+
*,
|
|
89
|
+
action: global___IpPermissionDeltaAction.ValueType = ...,
|
|
90
|
+
ip_permission: global___IpPermission | None = ...,
|
|
91
|
+
) -> None: ...
|
|
92
|
+
def HasField(self, field_name: typing.Literal["ip_permission", b"ip_permission"]) -> builtins.bool: ...
|
|
93
|
+
def ClearField(self, field_name: typing.Literal["action", b"action", "ip_permission", b"ip_permission"]) -> None: ...
|
|
94
|
+
|
|
95
|
+
global___IpPermissionDelta = IpPermissionDelta
|
|
@@ -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,41 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/cloudregistry/v1/registry.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
8
|
+
from google.protobuf.internal import builder as _builder
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/cloudregistry/v1/registry.proto\x12\x1dyandex.cloud.cloudregistry.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8a\x06\n\x08Registry\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12:\n\x04kind\x18\x04 \x01(\x0e\x32,.yandex.cloud.cloudregistry.v1.Registry.Kind\x12:\n\x04type\x18\x05 \x01(\x0e\x32,.yandex.cloud.cloudregistry.v1.Registry.Type\x12>\n\x06status\x18\x06 \x01(\x0e\x32..yandex.cloud.cloudregistry.v1.Registry.Status\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12\x43\n\x06labels\x18\x08 \x03(\x0b\x32\x33.yandex.cloud.cloudregistry.v1.Registry.LabelsEntry\x12K\n\nproperties\x18\t \x03(\x0b\x32\x37.yandex.cloud.cloudregistry.v1.Registry.PropertiesEntry\x12.\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bmodified_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"H\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\"<\n\x04Kind\x12\x14\n\x10KIND_UNSPECIFIED\x10\x00\x12\t\n\x05MAVEN\x10\x01\x12\x07\n\x03NPM\x10\x02\x12\n\n\x06\x44OCKER\x10\x03\"\'\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05LOCAL\x10\x01\x42t\n!yandex.cloud.api.cloudregistry.v1ZOgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudregistry/v1;cloudregistryb\x06proto3')
|
|
18
|
+
|
|
19
|
+
_globals = globals()
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.cloudregistry.v1.registry_pb2', _globals)
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
DESCRIPTOR._options = None
|
|
24
|
+
DESCRIPTOR._serialized_options = b'\n!yandex.cloud.api.cloudregistry.v1ZOgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudregistry/v1;cloudregistry'
|
|
25
|
+
_REGISTRY_LABELSENTRY._options = None
|
|
26
|
+
_REGISTRY_LABELSENTRY._serialized_options = b'8\001'
|
|
27
|
+
_REGISTRY_PROPERTIESENTRY._options = None
|
|
28
|
+
_REGISTRY_PROPERTIESENTRY._serialized_options = b'8\001'
|
|
29
|
+
_globals['_REGISTRY']._serialized_start=113
|
|
30
|
+
_globals['_REGISTRY']._serialized_end=891
|
|
31
|
+
_globals['_REGISTRY_LABELSENTRY']._serialized_start=618
|
|
32
|
+
_globals['_REGISTRY_LABELSENTRY']._serialized_end=663
|
|
33
|
+
_globals['_REGISTRY_PROPERTIESENTRY']._serialized_start=665
|
|
34
|
+
_globals['_REGISTRY_PROPERTIESENTRY']._serialized_end=714
|
|
35
|
+
_globals['_REGISTRY_STATUS']._serialized_start=716
|
|
36
|
+
_globals['_REGISTRY_STATUS']._serialized_end=788
|
|
37
|
+
_globals['_REGISTRY_KIND']._serialized_start=790
|
|
38
|
+
_globals['_REGISTRY_KIND']._serialized_end=850
|
|
39
|
+
_globals['_REGISTRY_TYPE']._serialized_start=852
|
|
40
|
+
_globals['_REGISTRY_TYPE']._serialized_end=891
|
|
41
|
+
# @@protoc_insertion_point(module_scope)
|