yandexcloud 0.364.0__py3-none-any.whl → 0.367.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/access/access_pb2.py +5 -3
- yandex/cloud/access/access_pb2.pyi +24 -0
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.py +34 -32
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.pyi +9 -1
- yandex/cloud/audittrails/v1/trail_pb2.py +9 -11
- yandex/cloud/audittrails/v1/trail_pb2.pyi +1 -5
- yandex/cloud/backup/v1/policy_pb2.py +9 -9
- yandex/cloud/backup/v1/policy_pb2.pyi +8 -0
- yandex/cloud/baremetal/v1alpha/standard_image_pb2.py +37 -0
- yandex/cloud/baremetal/v1alpha/standard_image_pb2.pyi +37 -0
- yandex/cloud/baremetal/v1alpha/standard_image_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/standard_image_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/standard_image_service_pb2.py +56 -0
- yandex/cloud/baremetal/v1alpha/standard_image_service_pb2.pyi +118 -0
- yandex/cloud/baremetal/v1alpha/standard_image_service_pb2_grpc.py +148 -0
- yandex/cloud/baremetal/v1alpha/standard_image_service_pb2_grpc.pyi +80 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2.py +60 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2.pyi +353 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2_grpc.py +24 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2_grpc.pyi +17 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2.py +106 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2.pyi +238 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2_grpc.py +324 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2_grpc.pyi +153 -0
- yandex/cloud/compute/v1/instance_service_pb2.pyi +8 -1
- yandex/cloud/connectionmanager/v1/connection_pb2.py +12 -11
- yandex/cloud/connectionmanager/v1/connection_pb2.pyi +10 -3
- yandex/cloud/connectionmanager/v1/storedoc_pb2.py +50 -0
- yandex/cloud/connectionmanager/v1/storedoc_pb2.pyi +172 -0
- yandex/cloud/connectionmanager/v1/storedoc_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/storedoc_pb2_grpc.pyi +17 -0
- yandex/cloud/dns/v1/dns_zone_service_pb2.py +37 -27
- yandex/cloud/dns/v1/dns_zone_service_pb2.pyi +42 -0
- yandex/cloud/dns/v1/dns_zone_service_pb2_grpc.py +44 -0
- yandex/cloud/dns/v1/dns_zone_service_pb2_grpc.pyi +20 -0
- yandex/cloud/gitlab/v1/package_options_pb2.py +35 -0
- yandex/cloud/gitlab/v1/package_options_pb2.pyi +8 -0
- yandex/cloud/gitlab/v1/package_options_pb2_grpc.py +24 -0
- yandex/cloud/gitlab/v1/package_options_pb2_grpc.pyi +17 -0
- yandex/cloud/iam/v1/access_policy_template_service_pb2.py +50 -0
- yandex/cloud/iam/v1/access_policy_template_service_pb2.pyi +67 -0
- yandex/cloud/iam/v1/access_policy_template_service_pb2_grpc.py +98 -0
- yandex/cloud/iam/v1/access_policy_template_service_pb2_grpc.pyi +44 -0
- yandex/cloud/iam/v1/workload/federated_credential_service_pb2.py +11 -11
- yandex/cloud/kms/v1/symmetric_key_pb2.py +3 -3
- yandex/cloud/kms/v1/symmetric_key_pb2.pyi +4 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +184 -177
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/mdb/greenplum/v1/cluster_pb2.py +16 -16
- yandex/cloud/mdb/greenplum/v1/cluster_pb2.pyi +3 -15
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.py +98 -91
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.pyi +3 -15
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/mdb/greenplum/v1/config_pb2.py +11 -29
- yandex/cloud/mdb/greenplum/v1/config_pb2.pyi +0 -399
- yandex/cloud/mdb/kafka/v1/cluster_pb2.py +28 -28
- yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +5 -1
- yandex/cloud/mdb/kafka/v1/cluster_service_pb2.py +70 -63
- yandex/cloud/mdb/kafka/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/mdb/kafka/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.py +248 -241
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/mdb/mongodb/v1/config/mongodb3_6_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb4_0_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb4_2_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb4_4_enterprise_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb4_4_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb5_0_enterprise_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb5_0_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb6_0_enterprise_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb6_0_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.py +65 -99
- yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.pyi +21 -426
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +110 -103
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +146 -139
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +114 -107
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.py +132 -125
- yandex/cloud/mdb/redis/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/mdb/redis/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +136 -129
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/__init__.py +0 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2.py +100 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2.pyi +487 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2_grpc.py +24 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2_grpc.pyi +17 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2.py +198 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2.pyi +733 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2_grpc.py +678 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2_grpc.pyi +322 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2.py +40 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2.pyi +103 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2_grpc.py +24 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2_grpc.pyi +17 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2.py +95 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2.pyi +220 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2_grpc.py +281 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2_grpc.pyi +141 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.py +29 -3
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.pyi +132 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.py +90 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.pyi +52 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +10 -10
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +5 -1
- yandex/cloud/searchapi/v2/wordstat_service_pb2.py +96 -0
- yandex/cloud/searchapi/v2/wordstat_service_pb2.pyi +344 -0
- yandex/cloud/searchapi/v2/wordstat_service_pb2_grpc.py +189 -0
- yandex/cloud/searchapi/v2/wordstat_service_pb2_grpc.pyi +90 -0
- yandex/cloud/serverless/mcpgateway/__init__.py +0 -0
- yandex/cloud/serverless/mcpgateway/v1/__init__.py +0 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2.py +152 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2.pyi +780 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2_grpc.py +24 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2.py +134 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2.pyi +390 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2_grpc.py +456 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2_grpc.pyi +213 -0
- yandex/cloud/serverless/mcpgateway/v1/package_options_pb2.py +35 -0
- yandex/cloud/serverless/mcpgateway/v1/package_options_pb2.pyi +8 -0
- yandex/cloud/serverless/mcpgateway/v1/package_options_pb2_grpc.py +24 -0
- yandex/cloud/serverless/mcpgateway/v1/package_options_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.py +3 -3
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2.py +38 -31
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2_grpc.py +133 -0
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2_grpc.pyi +61 -0
- yandex/cloud/trino/v1/cluster_pb2.py +46 -45
- yandex/cloud/trino/v1/cluster_pb2.pyi +9 -2
- yandex/cloud/trino/v1/cluster_service_pb2.py +50 -49
- yandex/cloud/trino/v1/cluster_service_pb2.pyi +17 -4
- yandex/cloud/trino/v1/resource_management_pb2.py +66 -0
- yandex/cloud/trino/v1/resource_management_pb2.pyi +257 -0
- yandex/cloud/trino/v1/resource_management_pb2_grpc.py +24 -0
- yandex/cloud/trino/v1/resource_management_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/style_preset_service_pb2.py +20 -20
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/RECORD +152 -85
- {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,353 @@
|
|
|
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.internal.enum_type_wrapper
|
|
11
|
+
import google.protobuf.message
|
|
12
|
+
import google.protobuf.timestamp_pb2
|
|
13
|
+
import sys
|
|
14
|
+
import typing
|
|
15
|
+
|
|
16
|
+
if sys.version_info >= (3, 10):
|
|
17
|
+
import typing as typing_extensions
|
|
18
|
+
else:
|
|
19
|
+
import typing_extensions
|
|
20
|
+
|
|
21
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
22
|
+
|
|
23
|
+
class _DeleteLifecycleRuleKind:
|
|
24
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
25
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
26
|
+
|
|
27
|
+
class _DeleteLifecycleRuleKindEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_DeleteLifecycleRuleKind.ValueType], builtins.type):
|
|
28
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
29
|
+
DELETE_LIFECYCLE_RULE_KIND_UNSPECIFIED: _DeleteLifecycleRuleKind.ValueType # 0
|
|
30
|
+
HARD_DELETE: _DeleteLifecycleRuleKind.ValueType # 1
|
|
31
|
+
"""Hard delete - artifacts are permanently removed."""
|
|
32
|
+
SOFT_DELETE: _DeleteLifecycleRuleKind.ValueType # 2
|
|
33
|
+
"""Soft delete - artifacts are marked for deletion but can be recovered."""
|
|
34
|
+
|
|
35
|
+
class DeleteLifecycleRuleKind(_DeleteLifecycleRuleKind, metaclass=_DeleteLifecycleRuleKindEnumTypeWrapper):
|
|
36
|
+
"""Type of deletion for lifecycle rules."""
|
|
37
|
+
|
|
38
|
+
DELETE_LIFECYCLE_RULE_KIND_UNSPECIFIED: DeleteLifecycleRuleKind.ValueType # 0
|
|
39
|
+
HARD_DELETE: DeleteLifecycleRuleKind.ValueType # 1
|
|
40
|
+
"""Hard delete - artifacts are permanently removed."""
|
|
41
|
+
SOFT_DELETE: DeleteLifecycleRuleKind.ValueType # 2
|
|
42
|
+
"""Soft delete - artifacts are marked for deletion but can be recovered."""
|
|
43
|
+
global___DeleteLifecycleRuleKind = DeleteLifecycleRuleKind
|
|
44
|
+
|
|
45
|
+
class _LifecyclePolicyState:
|
|
46
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
47
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
48
|
+
|
|
49
|
+
class _LifecyclePolicyStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_LifecyclePolicyState.ValueType], builtins.type):
|
|
50
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
51
|
+
LIFECYCLE_POLICY_STATE_UNSPECIFIED: _LifecyclePolicyState.ValueType # 0
|
|
52
|
+
DISABLED: _LifecyclePolicyState.ValueType # 1
|
|
53
|
+
"""Policy is disabled and won't be executed."""
|
|
54
|
+
ENABLED: _LifecyclePolicyState.ValueType # 2
|
|
55
|
+
"""Policy is enabled and will be executed according to schedule."""
|
|
56
|
+
|
|
57
|
+
class LifecyclePolicyState(_LifecyclePolicyState, metaclass=_LifecyclePolicyStateEnumTypeWrapper):
|
|
58
|
+
"""State of the lifecycle policy."""
|
|
59
|
+
|
|
60
|
+
LIFECYCLE_POLICY_STATE_UNSPECIFIED: LifecyclePolicyState.ValueType # 0
|
|
61
|
+
DISABLED: LifecyclePolicyState.ValueType # 1
|
|
62
|
+
"""Policy is disabled and won't be executed."""
|
|
63
|
+
ENABLED: LifecyclePolicyState.ValueType # 2
|
|
64
|
+
"""Policy is enabled and will be executed according to schedule."""
|
|
65
|
+
global___LifecyclePolicyState = LifecyclePolicyState
|
|
66
|
+
|
|
67
|
+
@typing.final
|
|
68
|
+
class LifecyclePolicy(google.protobuf.message.Message):
|
|
69
|
+
"""A LifecyclePolicy resource."""
|
|
70
|
+
|
|
71
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
72
|
+
|
|
73
|
+
ID_FIELD_NUMBER: builtins.int
|
|
74
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
75
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
76
|
+
RULES_FIELD_NUMBER: builtins.int
|
|
77
|
+
STATE_FIELD_NUMBER: builtins.int
|
|
78
|
+
REGISTRY_ID_FIELD_NUMBER: builtins.int
|
|
79
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
80
|
+
MODIFIED_AT_FIELD_NUMBER: builtins.int
|
|
81
|
+
CREATED_BY_FIELD_NUMBER: builtins.int
|
|
82
|
+
MODIFIED_BY_FIELD_NUMBER: builtins.int
|
|
83
|
+
id: builtins.str
|
|
84
|
+
"""ID of the lifecycle policy."""
|
|
85
|
+
name: builtins.str
|
|
86
|
+
"""Name of the lifecycle policy."""
|
|
87
|
+
description: builtins.str
|
|
88
|
+
"""Description of the lifecycle policy. 0-1024 characters long."""
|
|
89
|
+
state: global___LifecyclePolicyState.ValueType
|
|
90
|
+
"""Current state of the lifecycle policy."""
|
|
91
|
+
registry_id: builtins.str
|
|
92
|
+
"""ID of the registry that the lifecycle policy belongs to."""
|
|
93
|
+
created_by: builtins.str
|
|
94
|
+
"""Output only. ID of the user who created the lifecycle policy."""
|
|
95
|
+
modified_by: builtins.str
|
|
96
|
+
"""Output only. ID of the user who last modified the lifecycle policy."""
|
|
97
|
+
@property
|
|
98
|
+
def rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___LifecycleRule]:
|
|
99
|
+
"""List of lifecycle rules."""
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
103
|
+
"""Output only. Creation timestamp."""
|
|
104
|
+
|
|
105
|
+
@property
|
|
106
|
+
def modified_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
107
|
+
"""Output only. Modification timestamp."""
|
|
108
|
+
|
|
109
|
+
def __init__(
|
|
110
|
+
self,
|
|
111
|
+
*,
|
|
112
|
+
id: builtins.str = ...,
|
|
113
|
+
name: builtins.str = ...,
|
|
114
|
+
description: builtins.str = ...,
|
|
115
|
+
rules: collections.abc.Iterable[global___LifecycleRule] | None = ...,
|
|
116
|
+
state: global___LifecyclePolicyState.ValueType = ...,
|
|
117
|
+
registry_id: builtins.str = ...,
|
|
118
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
119
|
+
modified_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
120
|
+
created_by: builtins.str = ...,
|
|
121
|
+
modified_by: builtins.str = ...,
|
|
122
|
+
) -> None: ...
|
|
123
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "modified_at", b"modified_at"]) -> builtins.bool: ...
|
|
124
|
+
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "created_by", b"created_by", "description", b"description", "id", b"id", "modified_at", b"modified_at", "modified_by", b"modified_by", "name", b"name", "registry_id", b"registry_id", "rules", b"rules", "state", b"state"]) -> None: ...
|
|
125
|
+
|
|
126
|
+
global___LifecyclePolicy = LifecyclePolicy
|
|
127
|
+
|
|
128
|
+
@typing.final
|
|
129
|
+
class LifecycleRule(google.protobuf.message.Message):
|
|
130
|
+
"""A rule that defines lifecycle policy behavior."""
|
|
131
|
+
|
|
132
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
133
|
+
|
|
134
|
+
PATH_PREFIX_FIELD_NUMBER: builtins.int
|
|
135
|
+
KEEP_BY_AGE_FIELD_NUMBER: builtins.int
|
|
136
|
+
KEEP_BY_VERSION_FIELD_NUMBER: builtins.int
|
|
137
|
+
DELETE_FIELD_NUMBER: builtins.int
|
|
138
|
+
DOCKER_FILTERS_FIELD_NUMBER: builtins.int
|
|
139
|
+
MAVEN_FILTERS_FIELD_NUMBER: builtins.int
|
|
140
|
+
path_prefix: builtins.str
|
|
141
|
+
"""Path prefix to which the rule applies."""
|
|
142
|
+
@property
|
|
143
|
+
def keep_by_age(self) -> global___KeepByAgeLifecycleRule:
|
|
144
|
+
"""Rule that keeps artifacts by age."""
|
|
145
|
+
|
|
146
|
+
@property
|
|
147
|
+
def keep_by_version(self) -> global___KeepByVersionLifecycleRule:
|
|
148
|
+
"""Rule that keeps artifacts by version count."""
|
|
149
|
+
|
|
150
|
+
@property
|
|
151
|
+
def delete(self) -> global___DeleteLifecycleRule:
|
|
152
|
+
"""Rule that deletes artifacts."""
|
|
153
|
+
|
|
154
|
+
@property
|
|
155
|
+
def docker_filters(self) -> global___DockerFilters:
|
|
156
|
+
"""Docker-specific filters."""
|
|
157
|
+
|
|
158
|
+
@property
|
|
159
|
+
def maven_filters(self) -> global___MavenFilters:
|
|
160
|
+
"""Maven-specific filters."""
|
|
161
|
+
|
|
162
|
+
def __init__(
|
|
163
|
+
self,
|
|
164
|
+
*,
|
|
165
|
+
path_prefix: builtins.str = ...,
|
|
166
|
+
keep_by_age: global___KeepByAgeLifecycleRule | None = ...,
|
|
167
|
+
keep_by_version: global___KeepByVersionLifecycleRule | None = ...,
|
|
168
|
+
delete: global___DeleteLifecycleRule | None = ...,
|
|
169
|
+
docker_filters: global___DockerFilters | None = ...,
|
|
170
|
+
maven_filters: global___MavenFilters | None = ...,
|
|
171
|
+
) -> None: ...
|
|
172
|
+
def HasField(self, field_name: typing.Literal["delete", b"delete", "docker_filters", b"docker_filters", "filter", b"filter", "keep_by_age", b"keep_by_age", "keep_by_version", b"keep_by_version", "kind", b"kind", "maven_filters", b"maven_filters"]) -> builtins.bool: ...
|
|
173
|
+
def ClearField(self, field_name: typing.Literal["delete", b"delete", "docker_filters", b"docker_filters", "filter", b"filter", "keep_by_age", b"keep_by_age", "keep_by_version", b"keep_by_version", "kind", b"kind", "maven_filters", b"maven_filters", "path_prefix", b"path_prefix"]) -> None: ...
|
|
174
|
+
@typing.overload
|
|
175
|
+
def WhichOneof(self, oneof_group: typing.Literal["filter", b"filter"]) -> typing.Literal["docker_filters", "maven_filters"] | None: ...
|
|
176
|
+
@typing.overload
|
|
177
|
+
def WhichOneof(self, oneof_group: typing.Literal["kind", b"kind"]) -> typing.Literal["keep_by_age", "keep_by_version", "delete"] | None: ...
|
|
178
|
+
|
|
179
|
+
global___LifecycleRule = LifecycleRule
|
|
180
|
+
|
|
181
|
+
@typing.final
|
|
182
|
+
class DockerFilters(google.protobuf.message.Message):
|
|
183
|
+
"""Docker-specific filters for lifecycle rules."""
|
|
184
|
+
|
|
185
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
186
|
+
|
|
187
|
+
class _TagStatus:
|
|
188
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
189
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
190
|
+
|
|
191
|
+
class _TagStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[DockerFilters._TagStatus.ValueType], builtins.type):
|
|
192
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
193
|
+
TAG_STATUS_UNSPECIFIED: DockerFilters._TagStatus.ValueType # 0
|
|
194
|
+
TAG_STATUS_ANY: DockerFilters._TagStatus.ValueType # 1
|
|
195
|
+
"""Any tag status."""
|
|
196
|
+
TAGGED: DockerFilters._TagStatus.ValueType # 2
|
|
197
|
+
"""Only tagged images."""
|
|
198
|
+
UNTAGGED: DockerFilters._TagStatus.ValueType # 3
|
|
199
|
+
"""Only untagged images."""
|
|
200
|
+
|
|
201
|
+
class TagStatus(_TagStatus, metaclass=_TagStatusEnumTypeWrapper): ...
|
|
202
|
+
TAG_STATUS_UNSPECIFIED: DockerFilters.TagStatus.ValueType # 0
|
|
203
|
+
TAG_STATUS_ANY: DockerFilters.TagStatus.ValueType # 1
|
|
204
|
+
"""Any tag status."""
|
|
205
|
+
TAGGED: DockerFilters.TagStatus.ValueType # 2
|
|
206
|
+
"""Only tagged images."""
|
|
207
|
+
UNTAGGED: DockerFilters.TagStatus.ValueType # 3
|
|
208
|
+
"""Only untagged images."""
|
|
209
|
+
|
|
210
|
+
TAG_STATUS_FIELD_NUMBER: builtins.int
|
|
211
|
+
tag_status: global___DockerFilters.TagStatus.ValueType
|
|
212
|
+
"""Filter by tag status."""
|
|
213
|
+
def __init__(
|
|
214
|
+
self,
|
|
215
|
+
*,
|
|
216
|
+
tag_status: global___DockerFilters.TagStatus.ValueType = ...,
|
|
217
|
+
) -> None: ...
|
|
218
|
+
def ClearField(self, field_name: typing.Literal["tag_status", b"tag_status"]) -> None: ...
|
|
219
|
+
|
|
220
|
+
global___DockerFilters = DockerFilters
|
|
221
|
+
|
|
222
|
+
@typing.final
|
|
223
|
+
class MavenFilters(google.protobuf.message.Message):
|
|
224
|
+
"""Maven-specific filters for lifecycle rules."""
|
|
225
|
+
|
|
226
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
227
|
+
|
|
228
|
+
class _VersionType:
|
|
229
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
230
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
231
|
+
|
|
232
|
+
class _VersionTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[MavenFilters._VersionType.ValueType], builtins.type):
|
|
233
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
234
|
+
VERSION_TYPE_UNSPECIFIED: MavenFilters._VersionType.ValueType # 0
|
|
235
|
+
VERSION_TYPE_ANY: MavenFilters._VersionType.ValueType # 1
|
|
236
|
+
"""Any version type."""
|
|
237
|
+
RELEASE: MavenFilters._VersionType.ValueType # 2
|
|
238
|
+
"""Only release versions."""
|
|
239
|
+
SNAPSHOT: MavenFilters._VersionType.ValueType # 3
|
|
240
|
+
"""Only snapshot versions."""
|
|
241
|
+
|
|
242
|
+
class VersionType(_VersionType, metaclass=_VersionTypeEnumTypeWrapper): ...
|
|
243
|
+
VERSION_TYPE_UNSPECIFIED: MavenFilters.VersionType.ValueType # 0
|
|
244
|
+
VERSION_TYPE_ANY: MavenFilters.VersionType.ValueType # 1
|
|
245
|
+
"""Any version type."""
|
|
246
|
+
RELEASE: MavenFilters.VersionType.ValueType # 2
|
|
247
|
+
"""Only release versions."""
|
|
248
|
+
SNAPSHOT: MavenFilters.VersionType.ValueType # 3
|
|
249
|
+
"""Only snapshot versions."""
|
|
250
|
+
|
|
251
|
+
VERSION_TYPE_FIELD_NUMBER: builtins.int
|
|
252
|
+
version_type: global___MavenFilters.VersionType.ValueType
|
|
253
|
+
"""Filter by version type."""
|
|
254
|
+
def __init__(
|
|
255
|
+
self,
|
|
256
|
+
*,
|
|
257
|
+
version_type: global___MavenFilters.VersionType.ValueType = ...,
|
|
258
|
+
) -> None: ...
|
|
259
|
+
def ClearField(self, field_name: typing.Literal["version_type", b"version_type"]) -> None: ...
|
|
260
|
+
|
|
261
|
+
global___MavenFilters = MavenFilters
|
|
262
|
+
|
|
263
|
+
@typing.final
|
|
264
|
+
class KeepByVersionLifecycleRule(google.protobuf.message.Message):
|
|
265
|
+
"""Rule that keeps a specified number of recent versions."""
|
|
266
|
+
|
|
267
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
268
|
+
|
|
269
|
+
KEEP_VERSIONS_COUNT_FIELD_NUMBER: builtins.int
|
|
270
|
+
keep_versions_count: builtins.int
|
|
271
|
+
"""Number of versions to keep."""
|
|
272
|
+
def __init__(
|
|
273
|
+
self,
|
|
274
|
+
*,
|
|
275
|
+
keep_versions_count: builtins.int = ...,
|
|
276
|
+
) -> None: ...
|
|
277
|
+
def ClearField(self, field_name: typing.Literal["keep_versions_count", b"keep_versions_count"]) -> None: ...
|
|
278
|
+
|
|
279
|
+
global___KeepByVersionLifecycleRule = KeepByVersionLifecycleRule
|
|
280
|
+
|
|
281
|
+
@typing.final
|
|
282
|
+
class KeepByAgeLifecycleRule(google.protobuf.message.Message):
|
|
283
|
+
"""Rule that keeps artifacts younger than specified age."""
|
|
284
|
+
|
|
285
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
286
|
+
|
|
287
|
+
YOUNGER_THAN_DAYS_FIELD_NUMBER: builtins.int
|
|
288
|
+
younger_than_days: builtins.int
|
|
289
|
+
"""Keep artifacts younger than this number of days."""
|
|
290
|
+
def __init__(
|
|
291
|
+
self,
|
|
292
|
+
*,
|
|
293
|
+
younger_than_days: builtins.int = ...,
|
|
294
|
+
) -> None: ...
|
|
295
|
+
def ClearField(self, field_name: typing.Literal["younger_than_days", b"younger_than_days"]) -> None: ...
|
|
296
|
+
|
|
297
|
+
global___KeepByAgeLifecycleRule = KeepByAgeLifecycleRule
|
|
298
|
+
|
|
299
|
+
@typing.final
|
|
300
|
+
class DeleteLifecycleRule(google.protobuf.message.Message):
|
|
301
|
+
"""Rule that deletes artifacts based on specified conditions."""
|
|
302
|
+
|
|
303
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
304
|
+
|
|
305
|
+
TYPE_FIELD_NUMBER: builtins.int
|
|
306
|
+
COOLDOWN_PERIOD_DAYS_FIELD_NUMBER: builtins.int
|
|
307
|
+
OLDER_THAN_DAYS_FIELD_NUMBER: builtins.int
|
|
308
|
+
VERSION_CONDITION_FIELD_NUMBER: builtins.int
|
|
309
|
+
ALWAYS_FIELD_NUMBER: builtins.int
|
|
310
|
+
type: global___DeleteLifecycleRuleKind.ValueType
|
|
311
|
+
"""Type of deletion."""
|
|
312
|
+
cooldown_period_days: builtins.int
|
|
313
|
+
"""Cooldown period in days before deletion."""
|
|
314
|
+
older_than_days: builtins.int
|
|
315
|
+
"""Delete artifacts older than specified days."""
|
|
316
|
+
always: builtins.bool
|
|
317
|
+
"""Always delete (use with caution)."""
|
|
318
|
+
@property
|
|
319
|
+
def version_condition(self) -> global___DeleteByVersionCondition:
|
|
320
|
+
"""Delete artifacts by version count condition."""
|
|
321
|
+
|
|
322
|
+
def __init__(
|
|
323
|
+
self,
|
|
324
|
+
*,
|
|
325
|
+
type: global___DeleteLifecycleRuleKind.ValueType = ...,
|
|
326
|
+
cooldown_period_days: builtins.int = ...,
|
|
327
|
+
older_than_days: builtins.int = ...,
|
|
328
|
+
version_condition: global___DeleteByVersionCondition | None = ...,
|
|
329
|
+
always: builtins.bool = ...,
|
|
330
|
+
) -> None: ...
|
|
331
|
+
def HasField(self, field_name: typing.Literal["always", b"always", "condition", b"condition", "older_than_days", b"older_than_days", "version_condition", b"version_condition"]) -> builtins.bool: ...
|
|
332
|
+
def ClearField(self, field_name: typing.Literal["always", b"always", "condition", b"condition", "cooldown_period_days", b"cooldown_period_days", "older_than_days", b"older_than_days", "type", b"type", "version_condition", b"version_condition"]) -> None: ...
|
|
333
|
+
def WhichOneof(self, oneof_group: typing.Literal["condition", b"condition"]) -> typing.Literal["older_than_days", "version_condition", "always"] | None: ...
|
|
334
|
+
|
|
335
|
+
global___DeleteLifecycleRule = DeleteLifecycleRule
|
|
336
|
+
|
|
337
|
+
@typing.final
|
|
338
|
+
class DeleteByVersionCondition(google.protobuf.message.Message):
|
|
339
|
+
"""Condition for deletion based on version count."""
|
|
340
|
+
|
|
341
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
342
|
+
|
|
343
|
+
VERSIONS_COUNT_GREATER_THAN_FIELD_NUMBER: builtins.int
|
|
344
|
+
versions_count_greater_than: builtins.int
|
|
345
|
+
"""Delete when version count exceeds this number."""
|
|
346
|
+
def __init__(
|
|
347
|
+
self,
|
|
348
|
+
*,
|
|
349
|
+
versions_count_greater_than: builtins.int = ...,
|
|
350
|
+
) -> None: ...
|
|
351
|
+
def ClearField(self, field_name: typing.Literal["versions_count_greater_than", b"versions_count_greater_than"]) -> None: ...
|
|
352
|
+
|
|
353
|
+
global___DeleteByVersionCondition = DeleteByVersionCondition
|
|
@@ -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/cloudregistry/v1/lifecycle_policy_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,106 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/cloudregistry/v1/lifecycle_policy_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/cloudregistry/v1/lifecycle_policy_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.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
27
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
28
|
+
from yandex.cloud.cloudregistry.v1 import lifecycle_policy_pb2 as yandex_dot_cloud_dot_cloudregistry_dot_v1_dot_lifecycle__policy__pb2
|
|
29
|
+
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
30
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
31
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n<yandex/cloud/cloudregistry/v1/lifecycle_policy_service.proto\x12\x1dyandex.cloud.cloudregistry.v1\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x34yandex/cloud/cloudregistry/v1/lifecycle_policy.proto\x1a google/protobuf/field_mask.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\"\x94\x02\n\x1c\x43reateLifecyclePolicyRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x04name\x18\x02 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\x12\x1f\n\x0b\x64\x65scription\x18\x03 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12;\n\x05rules\x18\x04 \x03(\x0b\x32,.yandex.cloud.cloudregistry.v1.LifecycleRule\x12\x42\n\x05state\x18\x05 \x01(\x0e\x32\x33.yandex.cloud.cloudregistry.v1.LifecyclePolicyState\"2\n\x1d\x43reateLifecyclePolicyMetadata\x12\x11\n\tpolicy_id\x18\x01 \x01(\t\"\xc3\x02\n\x1cUpdateLifecyclePolicyRequest\x12\x1f\n\tpolicy_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12/\n\x04name\x18\x03 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\x12\x1f\n\x0b\x64\x65scription\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12;\n\x05rules\x18\x05 \x03(\x0b\x32,.yandex.cloud.cloudregistry.v1.LifecycleRule\x12\x42\n\x05state\x18\x06 \x01(\x0e\x32\x33.yandex.cloud.cloudregistry.v1.LifecyclePolicyState\"@\n\x1dUpdateLifecyclePolicyMetadata\x12\x1f\n\tpolicy_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"?\n\x1c\x44\x65leteLifecyclePolicyRequest\x12\x1f\n\tpolicy_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"@\n\x1d\x44\x65leteLifecyclePolicyMetadata\x12\x1f\n\tpolicy_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"<\n\x19GetLifecyclePolicyRequest\x12\x1f\n\tpolicy_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"x\n\x1aListLifecyclePolicyRequest\x12\x1d\n\x0bregistry_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1c\n\tpage_size\x18\x02 \x01(\x03\x42\t\xfa\xc7\x31\x05\x30-100\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"x\n\x1bListLifecyclePolicyResponse\x12@\n\x08policies\x18\x01 \x03(\x0b\x32..yandex.cloud.cloudregistry.v1.LifecyclePolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8e\x01\n!ChangeLifecyclePolicyStateRequest\x12\x1f\n\tpolicy_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12H\n\x05state\x18\x02 \x01(\x0e\x32\x33.yandex.cloud.cloudregistry.v1.LifecyclePolicyStateB\x04\xe8\xc7\x31\x01\x32\xb0\t\n\x16LifecyclePolicyService\x12\xcd\x01\n\x06\x43reate\x12;.yandex.cloud.cloudregistry.v1.CreateLifecyclePolicyRequest\x1a!.yandex.cloud.operation.Operation\"c\xb2\xd2*0\n\x1d\x43reateLifecyclePolicyMetadata\x12\x0fLifecyclePolicy\x82\xd3\xe4\x93\x02)\"$/cloud-registry/v1/lifecyclePolicies:\x01*\x12\xd9\x01\n\x06Update\x12;.yandex.cloud.cloudregistry.v1.UpdateLifecyclePolicyRequest\x1a!.yandex.cloud.operation.Operation\"o\xb2\xd2*0\n\x1dUpdateLifecyclePolicyMetadata\x12\x0fLifecyclePolicy\x82\xd3\xe4\x93\x02\x35\x32\x30/cloud-registry/v1/lifecyclePolicies/{policy_id}:\x01*\x12\xdc\x01\n\x06\x44\x65lete\x12;.yandex.cloud.cloudregistry.v1.DeleteLifecyclePolicyRequest\x1a!.yandex.cloud.operation.Operation\"r\xb2\xd2*6\n\x1d\x44\x65leteLifecyclePolicyMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x32*0/cloud-registry/v1/lifecyclePolicies/{policy_id}\x12\xa9\x01\n\x03Get\x12\x38.yandex.cloud.cloudregistry.v1.GetLifecyclePolicyRequest\x1a..yandex.cloud.cloudregistry.v1.LifecyclePolicy\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cloud-registry/v1/lifecyclePolicies/{policy_id}\x12\xab\x01\n\x04List\x12\x39.yandex.cloud.cloudregistry.v1.ListLifecyclePolicyRequest\x1a:.yandex.cloud.cloudregistry.v1.ListLifecyclePolicyResponse\",\x82\xd3\xe4\x93\x02&\x12$/cloud-registry/v1/lifecyclePolicies\x12\xb0\x01\n\x0b\x43hangeState\x12@.yandex.cloud.cloudregistry.v1.ChangeLifecyclePolicyStateRequest\x1a\x16.google.protobuf.Empty\"G\x82\xd3\xe4\x93\x02\x41\"</cloud-registry/v1/lifecyclePolicies/{policy_id}:changeState:\x01*Bt\n!yandex.cloud.api.cloudregistry.v1ZOgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudregistry/v1;cloudregistryb\x06proto3')
|
|
35
|
+
|
|
36
|
+
_globals = globals()
|
|
37
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
38
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2', _globals)
|
|
39
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
40
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
41
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n!yandex.cloud.api.cloudregistry.v1ZOgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudregistry/v1;cloudregistry'
|
|
42
|
+
_globals['_CREATELIFECYCLEPOLICYREQUEST'].fields_by_name['registry_id']._loaded_options = None
|
|
43
|
+
_globals['_CREATELIFECYCLEPOLICYREQUEST'].fields_by_name['registry_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
44
|
+
_globals['_CREATELIFECYCLEPOLICYREQUEST'].fields_by_name['name']._loaded_options = None
|
|
45
|
+
_globals['_CREATELIFECYCLEPOLICYREQUEST'].fields_by_name['name']._serialized_options = b'\362\3071\035|[a-z][-a-z0-9]{1,61}[a-z0-9]'
|
|
46
|
+
_globals['_CREATELIFECYCLEPOLICYREQUEST'].fields_by_name['description']._loaded_options = None
|
|
47
|
+
_globals['_CREATELIFECYCLEPOLICYREQUEST'].fields_by_name['description']._serialized_options = b'\212\3101\006<=1024'
|
|
48
|
+
_globals['_UPDATELIFECYCLEPOLICYREQUEST'].fields_by_name['policy_id']._loaded_options = None
|
|
49
|
+
_globals['_UPDATELIFECYCLEPOLICYREQUEST'].fields_by_name['policy_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
50
|
+
_globals['_UPDATELIFECYCLEPOLICYREQUEST'].fields_by_name['name']._loaded_options = None
|
|
51
|
+
_globals['_UPDATELIFECYCLEPOLICYREQUEST'].fields_by_name['name']._serialized_options = b'\362\3071\035|[a-z][-a-z0-9]{1,61}[a-z0-9]'
|
|
52
|
+
_globals['_UPDATELIFECYCLEPOLICYREQUEST'].fields_by_name['description']._loaded_options = None
|
|
53
|
+
_globals['_UPDATELIFECYCLEPOLICYREQUEST'].fields_by_name['description']._serialized_options = b'\212\3101\006<=1024'
|
|
54
|
+
_globals['_UPDATELIFECYCLEPOLICYMETADATA'].fields_by_name['policy_id']._loaded_options = None
|
|
55
|
+
_globals['_UPDATELIFECYCLEPOLICYMETADATA'].fields_by_name['policy_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
56
|
+
_globals['_DELETELIFECYCLEPOLICYREQUEST'].fields_by_name['policy_id']._loaded_options = None
|
|
57
|
+
_globals['_DELETELIFECYCLEPOLICYREQUEST'].fields_by_name['policy_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
58
|
+
_globals['_DELETELIFECYCLEPOLICYMETADATA'].fields_by_name['policy_id']._loaded_options = None
|
|
59
|
+
_globals['_DELETELIFECYCLEPOLICYMETADATA'].fields_by_name['policy_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
60
|
+
_globals['_GETLIFECYCLEPOLICYREQUEST'].fields_by_name['policy_id']._loaded_options = None
|
|
61
|
+
_globals['_GETLIFECYCLEPOLICYREQUEST'].fields_by_name['policy_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
62
|
+
_globals['_LISTLIFECYCLEPOLICYREQUEST'].fields_by_name['registry_id']._loaded_options = None
|
|
63
|
+
_globals['_LISTLIFECYCLEPOLICYREQUEST'].fields_by_name['registry_id']._serialized_options = b'\212\3101\004<=50'
|
|
64
|
+
_globals['_LISTLIFECYCLEPOLICYREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
65
|
+
_globals['_LISTLIFECYCLEPOLICYREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\0050-100'
|
|
66
|
+
_globals['_LISTLIFECYCLEPOLICYREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
67
|
+
_globals['_LISTLIFECYCLEPOLICYREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\005<=100'
|
|
68
|
+
_globals['_CHANGELIFECYCLEPOLICYSTATEREQUEST'].fields_by_name['policy_id']._loaded_options = None
|
|
69
|
+
_globals['_CHANGELIFECYCLEPOLICYSTATEREQUEST'].fields_by_name['policy_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
70
|
+
_globals['_CHANGELIFECYCLEPOLICYSTATEREQUEST'].fields_by_name['state']._loaded_options = None
|
|
71
|
+
_globals['_CHANGELIFECYCLEPOLICYSTATEREQUEST'].fields_by_name['state']._serialized_options = b'\350\3071\001'
|
|
72
|
+
_globals['_LIFECYCLEPOLICYSERVICE'].methods_by_name['Create']._loaded_options = None
|
|
73
|
+
_globals['_LIFECYCLEPOLICYSERVICE'].methods_by_name['Create']._serialized_options = b'\262\322*0\n\035CreateLifecyclePolicyMetadata\022\017LifecyclePolicy\202\323\344\223\002)\"$/cloud-registry/v1/lifecyclePolicies:\001*'
|
|
74
|
+
_globals['_LIFECYCLEPOLICYSERVICE'].methods_by_name['Update']._loaded_options = None
|
|
75
|
+
_globals['_LIFECYCLEPOLICYSERVICE'].methods_by_name['Update']._serialized_options = b'\262\322*0\n\035UpdateLifecyclePolicyMetadata\022\017LifecyclePolicy\202\323\344\223\002520/cloud-registry/v1/lifecyclePolicies/{policy_id}:\001*'
|
|
76
|
+
_globals['_LIFECYCLEPOLICYSERVICE'].methods_by_name['Delete']._loaded_options = None
|
|
77
|
+
_globals['_LIFECYCLEPOLICYSERVICE'].methods_by_name['Delete']._serialized_options = b'\262\322*6\n\035DeleteLifecyclePolicyMetadata\022\025google.protobuf.Empty\202\323\344\223\0022*0/cloud-registry/v1/lifecyclePolicies/{policy_id}'
|
|
78
|
+
_globals['_LIFECYCLEPOLICYSERVICE'].methods_by_name['Get']._loaded_options = None
|
|
79
|
+
_globals['_LIFECYCLEPOLICYSERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\0022\0220/cloud-registry/v1/lifecyclePolicies/{policy_id}'
|
|
80
|
+
_globals['_LIFECYCLEPOLICYSERVICE'].methods_by_name['List']._loaded_options = None
|
|
81
|
+
_globals['_LIFECYCLEPOLICYSERVICE'].methods_by_name['List']._serialized_options = b'\202\323\344\223\002&\022$/cloud-registry/v1/lifecyclePolicies'
|
|
82
|
+
_globals['_LIFECYCLEPOLICYSERVICE'].methods_by_name['ChangeState']._loaded_options = None
|
|
83
|
+
_globals['_LIFECYCLEPOLICYSERVICE'].methods_by_name['ChangeState']._serialized_options = b'\202\323\344\223\002A\"</cloud-registry/v1/lifecyclePolicies/{policy_id}:changeState:\001*'
|
|
84
|
+
_globals['_CREATELIFECYCLEPOLICYREQUEST']._serialized_start=348
|
|
85
|
+
_globals['_CREATELIFECYCLEPOLICYREQUEST']._serialized_end=624
|
|
86
|
+
_globals['_CREATELIFECYCLEPOLICYMETADATA']._serialized_start=626
|
|
87
|
+
_globals['_CREATELIFECYCLEPOLICYMETADATA']._serialized_end=676
|
|
88
|
+
_globals['_UPDATELIFECYCLEPOLICYREQUEST']._serialized_start=679
|
|
89
|
+
_globals['_UPDATELIFECYCLEPOLICYREQUEST']._serialized_end=1002
|
|
90
|
+
_globals['_UPDATELIFECYCLEPOLICYMETADATA']._serialized_start=1004
|
|
91
|
+
_globals['_UPDATELIFECYCLEPOLICYMETADATA']._serialized_end=1068
|
|
92
|
+
_globals['_DELETELIFECYCLEPOLICYREQUEST']._serialized_start=1070
|
|
93
|
+
_globals['_DELETELIFECYCLEPOLICYREQUEST']._serialized_end=1133
|
|
94
|
+
_globals['_DELETELIFECYCLEPOLICYMETADATA']._serialized_start=1135
|
|
95
|
+
_globals['_DELETELIFECYCLEPOLICYMETADATA']._serialized_end=1199
|
|
96
|
+
_globals['_GETLIFECYCLEPOLICYREQUEST']._serialized_start=1201
|
|
97
|
+
_globals['_GETLIFECYCLEPOLICYREQUEST']._serialized_end=1261
|
|
98
|
+
_globals['_LISTLIFECYCLEPOLICYREQUEST']._serialized_start=1263
|
|
99
|
+
_globals['_LISTLIFECYCLEPOLICYREQUEST']._serialized_end=1383
|
|
100
|
+
_globals['_LISTLIFECYCLEPOLICYRESPONSE']._serialized_start=1385
|
|
101
|
+
_globals['_LISTLIFECYCLEPOLICYRESPONSE']._serialized_end=1505
|
|
102
|
+
_globals['_CHANGELIFECYCLEPOLICYSTATEREQUEST']._serialized_start=1508
|
|
103
|
+
_globals['_CHANGELIFECYCLEPOLICYSTATEREQUEST']._serialized_end=1650
|
|
104
|
+
_globals['_LIFECYCLEPOLICYSERVICE']._serialized_start=1653
|
|
105
|
+
_globals['_LIFECYCLEPOLICYSERVICE']._serialized_end=2853
|
|
106
|
+
# @@protoc_insertion_point(module_scope)
|