yandexcloud 0.346.0__py3-none-any.whl → 0.348.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/common_pb2.py +18 -10
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +67 -2
- yandex/cloud/backup/v1/resource_pb2.py +21 -19
- yandex/cloud/backup/v1/resource_pb2.pyi +32 -5
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.py +40 -0
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.pyi +99 -0
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_service_pb2.py +78 -0
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_service_pb2.pyi +239 -0
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_service_pb2_grpc.py +281 -0
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_service_pb2_grpc.pyi +141 -0
- yandex/cloud/cloudregistry/v1/registry_pb2.py +5 -5
- yandex/cloud/cloudregistry/v1/registry_pb2.pyi +4 -0
- yandex/cloud/gitlab/v1/instance_pb2.py +6 -10
- yandex/cloud/gitlab/v1/instance_pb2.pyi +1 -7
- yandex/cloud/gitlab/v1/instance_service_pb2.py +20 -28
- yandex/cloud/gitlab/v1/instance_service_pb2.pyi +1 -13
- yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2.py +11 -3
- yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2.pyi +20 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2_grpc.py +44 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2_grpc.pyi +20 -0
- yandex/cloud/marketplace/pim/v1/saas/product_instance_pb2.pyi +35 -4
- yandex/cloud/marketplace/pim/v1/saas/product_instance_service_pb2.pyi +9 -1
- yandex/cloud/marketplace/pim/v1/saas/product_instance_service_pb2_grpc.py +10 -5
- yandex/cloud/marketplace/pim/v1/saas/product_instance_service_pb2_grpc.pyi +14 -2
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +76 -74
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +91 -4
- yandex/cloud/mdb/clickhouse/v1/user_pb2.py +32 -30
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +43 -2
- yandex/cloud/mdb/mysql/v1/cluster_pb2.py +4 -4
- yandex/cloud/mdb/mysql/v1/cluster_pb2.pyi +5 -1
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +74 -74
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +64 -64
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +128 -130
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +14 -11
- yandex/cloud/mdb/spqr/v1/shard_pb2.py +11 -3
- yandex/cloud/mdb/spqr/v1/shard_pb2.pyi +25 -0
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.py +54 -54
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.pyi +5 -1
- yandex/cloud/monitoring/v3/thresholds_pb2.py +5 -5
- yandex/cloud/monitoring/v3/thresholds_pb2.pyi +4 -2
- yandex/cloud/searchapi/v2/img_search_service_pb2.py +20 -17
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2.py +7 -12
- yandex/cloud/storage/v1/bucket_service_pb2.py +44 -39
- yandex/cloud/storage/v1/bucket_service_pb2_grpc.py +87 -0
- yandex/cloud/storage/v1/bucket_service_pb2_grpc.pyi +35 -0
- yandex/cloud/storage/v1/s3api_pb2.py +11 -1
- yandex/cloud/storage/v1/s3api_pb2.pyi +103 -0
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.346.0.dist-info → yandexcloud-0.348.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.346.0.dist-info → yandexcloud-0.348.0.dist-info}/RECORD +58 -50
- {yandexcloud-0.346.0.dist-info → yandexcloud-0.348.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.346.0.dist-info → yandexcloud-0.348.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.346.0.dist-info → yandexcloud-0.348.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.346.0.dist-info → yandexcloud-0.348.0.dist-info}/top_level.txt +0 -0
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/cloudregistry/v1/registry.proto\x12\x1dyandex.cloud.cloudregistry.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/cloudregistry/v1/registry.proto\x12\x1dyandex.cloud.cloudregistry.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc4\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\x12\t\n\x05NUGET\x10\x04\x12\n\n\x06\x44\x45\x42IAN\x10\x05\x12\x08\n\x04PYPI\x10\x06\"@\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05LOCAL\x10\x01\x12\n\n\x06REMOTE\x10\x02\x12\x0b\n\x07VIRTUAL\x10\x03\x42t\n!yandex.cloud.api.cloudregistry.v1ZOgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudregistry/v1;cloudregistryb\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -38,7 +38,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
38
38
|
_globals['_REGISTRY_PROPERTIESENTRY']._loaded_options = None
|
|
39
39
|
_globals['_REGISTRY_PROPERTIESENTRY']._serialized_options = b'8\001'
|
|
40
40
|
_globals['_REGISTRY']._serialized_start=113
|
|
41
|
-
_globals['_REGISTRY']._serialized_end=
|
|
41
|
+
_globals['_REGISTRY']._serialized_end=949
|
|
42
42
|
_globals['_REGISTRY_LABELSENTRY']._serialized_start=618
|
|
43
43
|
_globals['_REGISTRY_LABELSENTRY']._serialized_end=663
|
|
44
44
|
_globals['_REGISTRY_PROPERTIESENTRY']._serialized_start=665
|
|
@@ -46,7 +46,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
46
46
|
_globals['_REGISTRY_STATUS']._serialized_start=716
|
|
47
47
|
_globals['_REGISTRY_STATUS']._serialized_end=788
|
|
48
48
|
_globals['_REGISTRY_KIND']._serialized_start=790
|
|
49
|
-
_globals['_REGISTRY_KIND']._serialized_end=
|
|
50
|
-
_globals['_REGISTRY_TYPE']._serialized_start=
|
|
51
|
-
_globals['_REGISTRY_TYPE']._serialized_end=
|
|
49
|
+
_globals['_REGISTRY_KIND']._serialized_end=883
|
|
50
|
+
_globals['_REGISTRY_TYPE']._serialized_start=885
|
|
51
|
+
_globals['_REGISTRY_TYPE']._serialized_end=949
|
|
52
52
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -66,6 +66,8 @@ class Registry(google.protobuf.message.Message):
|
|
|
66
66
|
"""Registry kind is nuget."""
|
|
67
67
|
DEBIAN: Registry._Kind.ValueType # 5
|
|
68
68
|
"""Registry kind is debian."""
|
|
69
|
+
PYPI: Registry._Kind.ValueType # 6
|
|
70
|
+
"""Registry kind is pypi."""
|
|
69
71
|
|
|
70
72
|
class Kind(_Kind, metaclass=_KindEnumTypeWrapper): ...
|
|
71
73
|
KIND_UNSPECIFIED: Registry.Kind.ValueType # 0
|
|
@@ -79,6 +81,8 @@ class Registry(google.protobuf.message.Message):
|
|
|
79
81
|
"""Registry kind is nuget."""
|
|
80
82
|
DEBIAN: Registry.Kind.ValueType # 5
|
|
81
83
|
"""Registry kind is debian."""
|
|
84
|
+
PYPI: Registry.Kind.ValueType # 6
|
|
85
|
+
"""Registry kind is pypi."""
|
|
82
86
|
|
|
83
87
|
class _Type:
|
|
84
88
|
ValueType = typing.NewType("ValueType", builtins.int)
|
|
@@ -27,7 +27,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
|
27
27
|
from yandex.cloud.gitlab.v1 import maintenance_pb2 as yandex_dot_cloud_dot_gitlab_dot_v1_dot_maintenance__pb2
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%yandex/cloud/gitlab/v1/instance.proto\x12\x16yandex.cloud.gitlab.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\x1a(yandex/cloud/gitlab/v1/maintenance.proto\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%yandex/cloud/gitlab/v1/instance.proto\x12\x16yandex.cloud.gitlab.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\x1a(yandex/cloud/gitlab/v1/maintenance.proto\"\xe0\x07\n\x08Instance\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12<\n\x06labels\x18\x07 \x03(\x0b\x32,.yandex.cloud.gitlab.v1.Instance.LabelsEntry\x12\x1a\n\x12resource_preset_id\x18\x08 \x01(\t\x12\x11\n\tdisk_size\x18\t \x01(\x03\x12\x37\n\x06status\x18\n \x01(\x0e\x32\'.yandex.cloud.gitlab.v1.Instance.Status\x12\x13\n\x0b\x61\x64min_login\x18\x0b \x01(\t\x12\x13\n\x0b\x61\x64min_email\x18\x0c \x01(\t\x12\x0e\n\x06\x64omain\x18\r \x01(\t\x12\x11\n\tsubnet_id\x18\x0e \x01(\t\x12M\n\x11planned_operation\x18\x10 \x01(\x0b\x32,.yandex.cloud.gitlab.v1.MaintenanceOperationB\x04\xe8\xc7\x31\x00\x12!\n\x19\x62\x61\x63kup_retain_period_days\x18\x11 \x01(\x03\x12#\n\x1bmaintenance_delete_untagged\x18\x13 \x01(\x08\x12\x1b\n\x13\x64\x65letion_protection\x18\x14 \x01(\x08\x12\'\n\x11\x61pproval_rules_id\x18\x16 \x01(\tB\x0c\xe8\xc7\x31\x00\x8a\xc8\x31\x04<=30\x12\x16\n\x0egitlab_version\x18\x17 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x88\x02\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\x13\n\x0f\x42\x41\x43KUP_CREATING\x10\x06\x12\x14\n\x10\x42\x41\x43KUP_RESTORING\x10\x07\x12\x0c\n\x08STARTING\x10\x08\x12\x0c\n\x08STOPPING\x10\t\x12\x0b\n\x07STOPPED\x10\n\x12\x19\n\x15\x42\x41\x43KGROUND_MIGRATIONS\x10\x0b\x12\x1d\n\x19OBJECT_STORAGE_MIGRATIONS\x10\x0c\x12\x16\n\x12SNAPSHOT_RESTORING\x10\rJ\x04\x08\x0f\x10\x10J\x04\x08\x12\x10\x13J\x04\x08\x15\x10\x16\x42\x63\n\x1ayandex.cloud.api.gitlab.v1B\x02GIZAgithub.com/yandex-cloud/go-genproto/yandex/cloud/gitlab/v1;gitlabb\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -41,14 +41,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
41
41
|
_globals['_INSTANCE'].fields_by_name['planned_operation']._serialized_options = b'\350\3071\000'
|
|
42
42
|
_globals['_INSTANCE'].fields_by_name['approval_rules_id']._loaded_options = None
|
|
43
43
|
_globals['_INSTANCE'].fields_by_name['approval_rules_id']._serialized_options = b'\350\3071\000\212\3101\004<=30'
|
|
44
|
-
_globals['_INSTANCE'].fields_by_name['security_group']._loaded_options = None
|
|
45
|
-
_globals['_INSTANCE'].fields_by_name['security_group']._serialized_options = b'\350\3071\000'
|
|
46
|
-
_globals['_INSTANCE'].fields_by_name['disk_type_id']._loaded_options = None
|
|
47
|
-
_globals['_INSTANCE'].fields_by_name['disk_type_id']._serialized_options = b'\350\3071\000'
|
|
48
44
|
_globals['_INSTANCE']._serialized_start=172
|
|
49
|
-
_globals['_INSTANCE']._serialized_end=
|
|
50
|
-
_globals['_INSTANCE_LABELSENTRY']._serialized_start=
|
|
51
|
-
_globals['_INSTANCE_LABELSENTRY']._serialized_end=
|
|
52
|
-
_globals['_INSTANCE_STATUS']._serialized_start=
|
|
53
|
-
_globals['_INSTANCE_STATUS']._serialized_end=
|
|
45
|
+
_globals['_INSTANCE']._serialized_end=1164
|
|
46
|
+
_globals['_INSTANCE_LABELSENTRY']._serialized_start=834
|
|
47
|
+
_globals['_INSTANCE_LABELSENTRY']._serialized_end=879
|
|
48
|
+
_globals['_INSTANCE_STATUS']._serialized_start=882
|
|
49
|
+
_globals['_INSTANCE_STATUS']._serialized_end=1146
|
|
54
50
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -98,8 +98,6 @@ class Instance(google.protobuf.message.Message):
|
|
|
98
98
|
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
99
99
|
APPROVAL_RULES_ID_FIELD_NUMBER: builtins.int
|
|
100
100
|
GITLAB_VERSION_FIELD_NUMBER: builtins.int
|
|
101
|
-
SECURITY_GROUP_FIELD_NUMBER: builtins.int
|
|
102
|
-
DISK_TYPE_ID_FIELD_NUMBER: builtins.int
|
|
103
101
|
id: builtins.str
|
|
104
102
|
folder_id: builtins.str
|
|
105
103
|
name: builtins.str
|
|
@@ -116,8 +114,6 @@ class Instance(google.protobuf.message.Message):
|
|
|
116
114
|
deletion_protection: builtins.bool
|
|
117
115
|
approval_rules_id: builtins.str
|
|
118
116
|
gitlab_version: builtins.str
|
|
119
|
-
security_group: builtins.str
|
|
120
|
-
disk_type_id: builtins.str
|
|
121
117
|
@property
|
|
122
118
|
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
123
119
|
@property
|
|
@@ -149,10 +145,8 @@ class Instance(google.protobuf.message.Message):
|
|
|
149
145
|
deletion_protection: builtins.bool = ...,
|
|
150
146
|
approval_rules_id: builtins.str = ...,
|
|
151
147
|
gitlab_version: builtins.str = ...,
|
|
152
|
-
security_group: builtins.str = ...,
|
|
153
|
-
disk_type_id: builtins.str = ...,
|
|
154
148
|
) -> None: ...
|
|
155
149
|
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "planned_operation", b"planned_operation", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
156
|
-
def ClearField(self, field_name: typing.Literal["admin_email", b"admin_email", "admin_login", b"admin_login", "approval_rules_id", b"approval_rules_id", "backup_retain_period_days", b"backup_retain_period_days", "created_at", b"created_at", "deletion_protection", b"deletion_protection", "description", b"description", "disk_size", b"disk_size", "
|
|
150
|
+
def ClearField(self, field_name: typing.Literal["admin_email", b"admin_email", "admin_login", b"admin_login", "approval_rules_id", b"approval_rules_id", "backup_retain_period_days", b"backup_retain_period_days", "created_at", b"created_at", "deletion_protection", b"deletion_protection", "description", b"description", "disk_size", b"disk_size", "domain", b"domain", "folder_id", b"folder_id", "gitlab_version", b"gitlab_version", "id", b"id", "labels", b"labels", "maintenance_delete_untagged", b"maintenance_delete_untagged", "name", b"name", "planned_operation", b"planned_operation", "resource_preset_id", b"resource_preset_id", "status", b"status", "subnet_id", b"subnet_id", "updated_at", b"updated_at"]) -> None: ...
|
|
157
151
|
|
|
158
152
|
global___Instance = Instance
|
|
@@ -29,7 +29,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
|
29
29
|
from yandex.cloud.gitlab.v1 import instance_pb2 as yandex_dot_cloud_dot_gitlab_dot_v1_dot_instance__pb2
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/gitlab/v1/instance_service.proto\x12\x16yandex.cloud.gitlab.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a%yandex/cloud/gitlab/v1/instance.proto\"7\n\x12GetInstanceRequest\x12!\n\x0binstance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"u\n\x14ListInstancesRequest\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\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"e\n\x15ListInstancesResponse\x12\x33\n\tinstances\x18\x01 \x03(\x0b\x32 .yandex.cloud.gitlab.v1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/gitlab/v1/instance_service.proto\x12\x16yandex.cloud.gitlab.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a%yandex/cloud/gitlab/v1/instance.proto\"7\n\x12GetInstanceRequest\x12!\n\x0binstance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"u\n\x14ListInstancesRequest\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\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"e\n\x15ListInstancesResponse\x12\x33\n\tinstances\x18\x01 \x03(\x0b\x32 .yandex.cloud.gitlab.v1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xcf\x05\n\x15\x43reateInstanceRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x33\n\x04name\x18\x02 \x01(\tB%\xe8\xc7\x31\x01\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x86\x01\n\x06labels\x18\x04 \x03(\x0b\x32\x39.yandex.cloud.gitlab.v1.CreateInstanceRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x12(\n\x12resource_preset_id\x18\x05 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x11\n\tdisk_size\x18\x06 \x01(\x03\x12!\n\x0b\x61\x64min_login\x18\x07 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x19\n\x0b\x61\x64min_email\x18\x08 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x46\n\rdomain_prefix\x18\t \x01(\tB/\xe8\xc7\x31\x01\xf2\xc7\x31\x1f[a-z0-9][a-z0-9-]{3,48}[a-z0-9]\x8a\xc8\x31\x04<=50\x12\x1f\n\tsubnet_id\x18\n \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\'\n\x19\x62\x61\x63kup_retain_period_days\x18\x0c \x01(\x03\x42\x04\xe8\xc7\x31\x00\x12#\n\x1bmaintenance_delete_untagged\x18\x0e \x01(\x08\x12\x1b\n\x13\x64\x65letion_protection\x18\x0f \x01(\x08\x12\'\n\x11\x61pproval_rules_id\x18\x13 \x01(\tB\x0c\xe8\xc7\x31\x00\x8a\xc8\x31\x04<=30\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x0b\x10\x0cJ\x04\x08\r\x10\x0eJ\x04\x08\x10\x10\x13\"-\n\x16\x43reateInstanceMetadata\x12\x13\n\x0binstance_id\x18\x01 \x01(\t\",\n\x15\x44\x65leteInstanceRequest\x12\x13\n\x0binstance_id\x18\x01 \x01(\t\"-\n\x16\x44\x65leteInstanceMetadata\x12\x13\n\x0binstance_id\x18\x01 \x01(\t\"+\n\x14StartInstanceRequest\x12\x13\n\x0binstance_id\x18\x01 \x01(\t\",\n\x15StartInstanceMetadata\x12\x13\n\x0binstance_id\x18\x01 \x01(\t\"*\n\x13StopInstanceRequest\x12\x13\n\x0binstance_id\x18\x01 \x01(\t\"+\n\x14StopInstanceMetadata\x12\x13\n\x0binstance_id\x18\x01 \x01(\t2\xd6\x07\n\x0fInstanceService\x12\x7f\n\x03Get\x12*.yandex.cloud.gitlab.v1.GetInstanceRequest\x1a .yandex.cloud.gitlab.v1.Instance\"*\x82\xd3\xe4\x93\x02$\x12\"/gitlab/v1/instances/{instance_id}\x12\x81\x01\n\x04List\x12,.yandex.cloud.gitlab.v1.ListInstancesRequest\x1a-.yandex.cloud.gitlab.v1.ListInstancesResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/gitlab/v1/instances\x12\xa1\x01\n\x06\x43reate\x12-.yandex.cloud.gitlab.v1.CreateInstanceRequest\x1a!.yandex.cloud.operation.Operation\"E\xb2\xd2*\"\n\x16\x43reateInstanceMetadata\x12\x08Instance\x82\xd3\xe4\x93\x02\x19\"\x14/gitlab/v1/instances:\x01*\x12\xb9\x01\n\x06\x44\x65lete\x12-.yandex.cloud.gitlab.v1.DeleteInstanceRequest\x1a!.yandex.cloud.operation.Operation\"]\xb2\xd2*/\n\x16\x44\x65leteInstanceMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02$*\"/gitlab/v1/instances/{instance_id}\x12\xaf\x01\n\x05Start\x12,.yandex.cloud.gitlab.v1.StartInstanceRequest\x1a!.yandex.cloud.operation.Operation\"U\xb2\xd2*!\n\x15StartInstanceMetadata\x12\x08Instance\x82\xd3\xe4\x93\x02*\"(/gitlab/v1/instances/{instance_id}:start\x12\xab\x01\n\x04Stop\x12+.yandex.cloud.gitlab.v1.StopInstanceRequest\x1a!.yandex.cloud.operation.Operation\"S\xb2\xd2* \n\x14StopInstanceMetadata\x12\x08Instance\x82\xd3\xe4\x93\x02)\"\'/gitlab/v1/instances/{instance_id}:stopBd\n\x1ayandex.cloud.api.gitlab.v1B\x03GISZAgithub.com/yandex-cloud/go-genproto/yandex/cloud/gitlab/v1;gitlabb\x06proto3')
|
|
33
33
|
|
|
34
34
|
_globals = globals()
|
|
35
35
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -67,16 +67,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
67
67
|
_globals['_CREATEINSTANCEREQUEST'].fields_by_name['subnet_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
68
68
|
_globals['_CREATEINSTANCEREQUEST'].fields_by_name['backup_retain_period_days']._loaded_options = None
|
|
69
69
|
_globals['_CREATEINSTANCEREQUEST'].fields_by_name['backup_retain_period_days']._serialized_options = b'\350\3071\000'
|
|
70
|
-
_globals['_CREATEINSTANCEREQUEST'].fields_by_name['gitlab_type']._loaded_options = None
|
|
71
|
-
_globals['_CREATEINSTANCEREQUEST'].fields_by_name['gitlab_type']._serialized_options = b'\212\3101\004<=10'
|
|
72
|
-
_globals['_CREATEINSTANCEREQUEST'].fields_by_name['gitlab_version']._loaded_options = None
|
|
73
|
-
_globals['_CREATEINSTANCEREQUEST'].fields_by_name['gitlab_version']._serialized_options = b'\212\3101\004<=30'
|
|
74
70
|
_globals['_CREATEINSTANCEREQUEST'].fields_by_name['approval_rules_id']._loaded_options = None
|
|
75
71
|
_globals['_CREATEINSTANCEREQUEST'].fields_by_name['approval_rules_id']._serialized_options = b'\350\3071\000\212\3101\004<=30'
|
|
76
|
-
_globals['_CREATEINSTANCEREQUEST'].fields_by_name['security_group']._loaded_options = None
|
|
77
|
-
_globals['_CREATEINSTANCEREQUEST'].fields_by_name['security_group']._serialized_options = b'\350\3071\000'
|
|
78
|
-
_globals['_CREATEINSTANCEREQUEST'].fields_by_name['disk_type_id']._loaded_options = None
|
|
79
|
-
_globals['_CREATEINSTANCEREQUEST'].fields_by_name['disk_type_id']._serialized_options = b'\350\3071\000'
|
|
80
72
|
_globals['_INSTANCESERVICE'].methods_by_name['Get']._loaded_options = None
|
|
81
73
|
_globals['_INSTANCESERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\002$\022\"/gitlab/v1/instances/{instance_id}'
|
|
82
74
|
_globals['_INSTANCESERVICE'].methods_by_name['List']._loaded_options = None
|
|
@@ -96,23 +88,23 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
96
88
|
_globals['_LISTINSTANCESRESPONSE']._serialized_start=423
|
|
97
89
|
_globals['_LISTINSTANCESRESPONSE']._serialized_end=524
|
|
98
90
|
_globals['_CREATEINSTANCEREQUEST']._serialized_start=527
|
|
99
|
-
_globals['_CREATEINSTANCEREQUEST']._serialized_end=
|
|
100
|
-
_globals['_CREATEINSTANCEREQUEST_LABELSENTRY']._serialized_start=
|
|
101
|
-
_globals['_CREATEINSTANCEREQUEST_LABELSENTRY']._serialized_end=
|
|
102
|
-
_globals['_CREATEINSTANCEMETADATA']._serialized_start=
|
|
103
|
-
_globals['_CREATEINSTANCEMETADATA']._serialized_end=
|
|
104
|
-
_globals['_DELETEINSTANCEREQUEST']._serialized_start=
|
|
105
|
-
_globals['_DELETEINSTANCEREQUEST']._serialized_end=
|
|
106
|
-
_globals['_DELETEINSTANCEMETADATA']._serialized_start=
|
|
107
|
-
_globals['_DELETEINSTANCEMETADATA']._serialized_end=
|
|
108
|
-
_globals['_STARTINSTANCEREQUEST']._serialized_start=
|
|
109
|
-
_globals['_STARTINSTANCEREQUEST']._serialized_end=
|
|
110
|
-
_globals['_STARTINSTANCEMETADATA']._serialized_start=
|
|
111
|
-
_globals['_STARTINSTANCEMETADATA']._serialized_end=
|
|
112
|
-
_globals['_STOPINSTANCEREQUEST']._serialized_start=
|
|
113
|
-
_globals['_STOPINSTANCEREQUEST']._serialized_end=
|
|
114
|
-
_globals['_STOPINSTANCEMETADATA']._serialized_start=
|
|
115
|
-
_globals['_STOPINSTANCEMETADATA']._serialized_end=
|
|
116
|
-
_globals['_INSTANCESERVICE']._serialized_start=
|
|
117
|
-
_globals['_INSTANCESERVICE']._serialized_end=
|
|
91
|
+
_globals['_CREATEINSTANCEREQUEST']._serialized_end=1246
|
|
92
|
+
_globals['_CREATEINSTANCEREQUEST_LABELSENTRY']._serialized_start=1183
|
|
93
|
+
_globals['_CREATEINSTANCEREQUEST_LABELSENTRY']._serialized_end=1228
|
|
94
|
+
_globals['_CREATEINSTANCEMETADATA']._serialized_start=1248
|
|
95
|
+
_globals['_CREATEINSTANCEMETADATA']._serialized_end=1293
|
|
96
|
+
_globals['_DELETEINSTANCEREQUEST']._serialized_start=1295
|
|
97
|
+
_globals['_DELETEINSTANCEREQUEST']._serialized_end=1339
|
|
98
|
+
_globals['_DELETEINSTANCEMETADATA']._serialized_start=1341
|
|
99
|
+
_globals['_DELETEINSTANCEMETADATA']._serialized_end=1386
|
|
100
|
+
_globals['_STARTINSTANCEREQUEST']._serialized_start=1388
|
|
101
|
+
_globals['_STARTINSTANCEREQUEST']._serialized_end=1431
|
|
102
|
+
_globals['_STARTINSTANCEMETADATA']._serialized_start=1433
|
|
103
|
+
_globals['_STARTINSTANCEMETADATA']._serialized_end=1477
|
|
104
|
+
_globals['_STOPINSTANCEREQUEST']._serialized_start=1479
|
|
105
|
+
_globals['_STOPINSTANCEREQUEST']._serialized_end=1521
|
|
106
|
+
_globals['_STOPINSTANCEMETADATA']._serialized_start=1523
|
|
107
|
+
_globals['_STOPINSTANCEMETADATA']._serialized_end=1566
|
|
108
|
+
_globals['_INSTANCESERVICE']._serialized_start=1569
|
|
109
|
+
_globals['_INSTANCESERVICE']._serialized_end=2551
|
|
118
110
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -101,11 +101,7 @@ class CreateInstanceRequest(google.protobuf.message.Message):
|
|
|
101
101
|
BACKUP_RETAIN_PERIOD_DAYS_FIELD_NUMBER: builtins.int
|
|
102
102
|
MAINTENANCE_DELETE_UNTAGGED_FIELD_NUMBER: builtins.int
|
|
103
103
|
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
104
|
-
GITLAB_TYPE_FIELD_NUMBER: builtins.int
|
|
105
|
-
GITLAB_VERSION_FIELD_NUMBER: builtins.int
|
|
106
104
|
APPROVAL_RULES_ID_FIELD_NUMBER: builtins.int
|
|
107
|
-
SECURITY_GROUP_FIELD_NUMBER: builtins.int
|
|
108
|
-
DISK_TYPE_ID_FIELD_NUMBER: builtins.int
|
|
109
105
|
folder_id: builtins.str
|
|
110
106
|
name: builtins.str
|
|
111
107
|
description: builtins.str
|
|
@@ -118,11 +114,7 @@ class CreateInstanceRequest(google.protobuf.message.Message):
|
|
|
118
114
|
backup_retain_period_days: builtins.int
|
|
119
115
|
maintenance_delete_untagged: builtins.bool
|
|
120
116
|
deletion_protection: builtins.bool
|
|
121
|
-
gitlab_type: builtins.str
|
|
122
|
-
gitlab_version: builtins.str
|
|
123
117
|
approval_rules_id: builtins.str
|
|
124
|
-
security_group: builtins.str
|
|
125
|
-
disk_type_id: builtins.str
|
|
126
118
|
@property
|
|
127
119
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
|
128
120
|
def __init__(
|
|
@@ -141,13 +133,9 @@ class CreateInstanceRequest(google.protobuf.message.Message):
|
|
|
141
133
|
backup_retain_period_days: builtins.int = ...,
|
|
142
134
|
maintenance_delete_untagged: builtins.bool = ...,
|
|
143
135
|
deletion_protection: builtins.bool = ...,
|
|
144
|
-
gitlab_type: builtins.str = ...,
|
|
145
|
-
gitlab_version: builtins.str = ...,
|
|
146
136
|
approval_rules_id: builtins.str = ...,
|
|
147
|
-
security_group: builtins.str = ...,
|
|
148
|
-
disk_type_id: builtins.str = ...,
|
|
149
137
|
) -> None: ...
|
|
150
|
-
def ClearField(self, field_name: typing.Literal["admin_email", b"admin_email", "admin_login", b"admin_login", "approval_rules_id", b"approval_rules_id", "backup_retain_period_days", b"backup_retain_period_days", "deletion_protection", b"deletion_protection", "description", b"description", "disk_size", b"disk_size", "
|
|
138
|
+
def ClearField(self, field_name: typing.Literal["admin_email", b"admin_email", "admin_login", b"admin_login", "approval_rules_id", b"approval_rules_id", "backup_retain_period_days", b"backup_retain_period_days", "deletion_protection", b"deletion_protection", "description", b"description", "disk_size", b"disk_size", "domain_prefix", b"domain_prefix", "folder_id", b"folder_id", "labels", b"labels", "maintenance_delete_untagged", b"maintenance_delete_untagged", "name", b"name", "resource_preset_id", b"resource_preset_id", "subnet_id", b"subnet_id"]) -> None: ...
|
|
151
139
|
|
|
152
140
|
global___CreateInstanceRequest = CreateInstanceRequest
|
|
153
141
|
|
|
@@ -29,7 +29,7 @@ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operati
|
|
|
29
29
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nByandex/cloud/marketplace/licensemanager/saas/v1/lock_service.proto\x12/yandex.cloud.marketplace.licensemanager.saas.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a\x35yandex/cloud/marketplace/licensemanager/v1/lock.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"L\n\x11\x45nsureLockRequest\x12\x1c\n\x0einstance_token\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x19\n\x0bresource_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"%\n\x12\x45nsureLockMetadata\x12\x0f\n\x07lock_id\x18\x01 \x01(\t\"\'\n\x0eGetLockRequest\x12\x15\n\x07lock_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x32\
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nByandex/cloud/marketplace/licensemanager/saas/v1/lock_service.proto\x12/yandex.cloud.marketplace.licensemanager.saas.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a\x35yandex/cloud/marketplace/licensemanager/v1/lock.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"L\n\x11\x45nsureLockRequest\x12\x1c\n\x0einstance_token\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x19\n\x0bresource_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"%\n\x12\x45nsureLockMetadata\x12\x0f\n\x07lock_id\x18\x01 \x01(\t\"\'\n\x0eGetLockRequest\x12\x15\n\x07lock_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"R\n\x1aGetLockByResourceIDRequest\x12\x19\n\x0bresource_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x19\n\x0binstance_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x32\xfd\x04\n\x0bLockService\x12\xdd\x01\n\x06\x45nsure\x12\x42.yandex.cloud.marketplace.licensemanager.saas.v1.EnsureLockRequest\x1a!.yandex.cloud.operation.Operation\"l\xb2\xd2*,\n\x12\x45nsureLockMetadata\x12\x16licensemanager.v1.Lock\x82\xd3\xe4\x93\x02\x36\"1/marketplace/license-manager/saas/v1/locks/ensure:\x01*\x12\xb6\x01\n\x03Get\x12?.yandex.cloud.marketplace.licensemanager.saas.v1.GetLockRequest\x1a\x30.yandex.cloud.marketplace.licensemanager.v1.Lock\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/marketplace/license-manager/saas/v1/locks/{lock_id}\x12\xd4\x01\n\x0fGetByResourceID\x12K.yandex.cloud.marketplace.licensemanager.saas.v1.GetLockByResourceIDRequest\x1a\x30.yandex.cloud.marketplace.licensemanager.v1.Lock\"B\x82\xd3\xe4\x93\x02<\x12:/marketplace/license-manager/saas/v1/locks:getByResourceIDB\x99\x01\n3yandex.cloud.api.marketplace.licensemanager.saas.v1Zbgithub.com/yandex-cloud/go-genproto/yandex/cloud/marketplace/licensemanager/saas/v1;licensemanagerb\x06proto3')
|
|
33
33
|
|
|
34
34
|
_globals = globals()
|
|
35
35
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -43,16 +43,24 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
43
43
|
_globals['_ENSURELOCKREQUEST'].fields_by_name['resource_id']._serialized_options = b'\350\3071\001'
|
|
44
44
|
_globals['_GETLOCKREQUEST'].fields_by_name['lock_id']._loaded_options = None
|
|
45
45
|
_globals['_GETLOCKREQUEST'].fields_by_name['lock_id']._serialized_options = b'\350\3071\001'
|
|
46
|
+
_globals['_GETLOCKBYRESOURCEIDREQUEST'].fields_by_name['resource_id']._loaded_options = None
|
|
47
|
+
_globals['_GETLOCKBYRESOURCEIDREQUEST'].fields_by_name['resource_id']._serialized_options = b'\350\3071\001'
|
|
48
|
+
_globals['_GETLOCKBYRESOURCEIDREQUEST'].fields_by_name['instance_id']._loaded_options = None
|
|
49
|
+
_globals['_GETLOCKBYRESOURCEIDREQUEST'].fields_by_name['instance_id']._serialized_options = b'\350\3071\001'
|
|
46
50
|
_globals['_LOCKSERVICE'].methods_by_name['Ensure']._loaded_options = None
|
|
47
51
|
_globals['_LOCKSERVICE'].methods_by_name['Ensure']._serialized_options = b'\262\322*,\n\022EnsureLockMetadata\022\026licensemanager.v1.Lock\202\323\344\223\0026\"1/marketplace/license-manager/saas/v1/locks/ensure:\001*'
|
|
48
52
|
_globals['_LOCKSERVICE'].methods_by_name['Get']._loaded_options = None
|
|
49
53
|
_globals['_LOCKSERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\0026\0224/marketplace/license-manager/saas/v1/locks/{lock_id}'
|
|
54
|
+
_globals['_LOCKSERVICE'].methods_by_name['GetByResourceID']._loaded_options = None
|
|
55
|
+
_globals['_LOCKSERVICE'].methods_by_name['GetByResourceID']._serialized_options = b'\202\323\344\223\002<\022:/marketplace/license-manager/saas/v1/locks:getByResourceID'
|
|
50
56
|
_globals['_ENSURELOCKREQUEST']._serialized_start=309
|
|
51
57
|
_globals['_ENSURELOCKREQUEST']._serialized_end=385
|
|
52
58
|
_globals['_ENSURELOCKMETADATA']._serialized_start=387
|
|
53
59
|
_globals['_ENSURELOCKMETADATA']._serialized_end=424
|
|
54
60
|
_globals['_GETLOCKREQUEST']._serialized_start=426
|
|
55
61
|
_globals['_GETLOCKREQUEST']._serialized_end=465
|
|
56
|
-
_globals['
|
|
57
|
-
_globals['
|
|
62
|
+
_globals['_GETLOCKBYRESOURCEIDREQUEST']._serialized_start=467
|
|
63
|
+
_globals['_GETLOCKBYRESOURCEIDREQUEST']._serialized_end=549
|
|
64
|
+
_globals['_LOCKSERVICE']._serialized_start=552
|
|
65
|
+
_globals['_LOCKSERVICE']._serialized_end=1189
|
|
58
66
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -61,3 +61,23 @@ class GetLockRequest(google.protobuf.message.Message):
|
|
|
61
61
|
def ClearField(self, field_name: typing.Literal["lock_id", b"lock_id"]) -> None: ...
|
|
62
62
|
|
|
63
63
|
global___GetLockRequest = GetLockRequest
|
|
64
|
+
|
|
65
|
+
@typing.final
|
|
66
|
+
class GetLockByResourceIDRequest(google.protobuf.message.Message):
|
|
67
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
68
|
+
|
|
69
|
+
RESOURCE_ID_FIELD_NUMBER: builtins.int
|
|
70
|
+
INSTANCE_ID_FIELD_NUMBER: builtins.int
|
|
71
|
+
resource_id: builtins.str
|
|
72
|
+
"""ID of the resource to with subscription is locked."""
|
|
73
|
+
instance_id: builtins.str
|
|
74
|
+
"""ID of the subscription"""
|
|
75
|
+
def __init__(
|
|
76
|
+
self,
|
|
77
|
+
*,
|
|
78
|
+
resource_id: builtins.str = ...,
|
|
79
|
+
instance_id: builtins.str = ...,
|
|
80
|
+
) -> None: ...
|
|
81
|
+
def ClearField(self, field_name: typing.Literal["instance_id", b"instance_id", "resource_id", b"resource_id"]) -> None: ...
|
|
82
|
+
|
|
83
|
+
global___GetLockByResourceIDRequest = GetLockByResourceIDRequest
|
|
@@ -47,6 +47,11 @@ class LockServiceStub(object):
|
|
|
47
47
|
request_serializer=yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_saas_dot_v1_dot_lock__service__pb2.GetLockRequest.SerializeToString,
|
|
48
48
|
response_deserializer=yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_v1_dot_lock__pb2.Lock.FromString,
|
|
49
49
|
_registered_method=True)
|
|
50
|
+
self.GetByResourceID = channel.unary_unary(
|
|
51
|
+
'/yandex.cloud.marketplace.licensemanager.saas.v1.LockService/GetByResourceID',
|
|
52
|
+
request_serializer=yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_saas_dot_v1_dot_lock__service__pb2.GetLockByResourceIDRequest.SerializeToString,
|
|
53
|
+
response_deserializer=yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_v1_dot_lock__pb2.Lock.FromString,
|
|
54
|
+
_registered_method=True)
|
|
50
55
|
|
|
51
56
|
|
|
52
57
|
class LockServiceServicer(object):
|
|
@@ -68,6 +73,13 @@ class LockServiceServicer(object):
|
|
|
68
73
|
context.set_details('Method not implemented!')
|
|
69
74
|
raise NotImplementedError('Method not implemented!')
|
|
70
75
|
|
|
76
|
+
def GetByResourceID(self, request, context):
|
|
77
|
+
"""Returns the subscription lock for given resource and subscription.
|
|
78
|
+
"""
|
|
79
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
80
|
+
context.set_details('Method not implemented!')
|
|
81
|
+
raise NotImplementedError('Method not implemented!')
|
|
82
|
+
|
|
71
83
|
|
|
72
84
|
def add_LockServiceServicer_to_server(servicer, server):
|
|
73
85
|
rpc_method_handlers = {
|
|
@@ -81,6 +93,11 @@ def add_LockServiceServicer_to_server(servicer, server):
|
|
|
81
93
|
request_deserializer=yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_saas_dot_v1_dot_lock__service__pb2.GetLockRequest.FromString,
|
|
82
94
|
response_serializer=yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_v1_dot_lock__pb2.Lock.SerializeToString,
|
|
83
95
|
),
|
|
96
|
+
'GetByResourceID': grpc.unary_unary_rpc_method_handler(
|
|
97
|
+
servicer.GetByResourceID,
|
|
98
|
+
request_deserializer=yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_saas_dot_v1_dot_lock__service__pb2.GetLockByResourceIDRequest.FromString,
|
|
99
|
+
response_serializer=yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_v1_dot_lock__pb2.Lock.SerializeToString,
|
|
100
|
+
),
|
|
84
101
|
}
|
|
85
102
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
86
103
|
'yandex.cloud.marketplace.licensemanager.saas.v1.LockService', rpc_method_handlers)
|
|
@@ -146,3 +163,30 @@ class LockService(object):
|
|
|
146
163
|
timeout,
|
|
147
164
|
metadata,
|
|
148
165
|
_registered_method=True)
|
|
166
|
+
|
|
167
|
+
@staticmethod
|
|
168
|
+
def GetByResourceID(request,
|
|
169
|
+
target,
|
|
170
|
+
options=(),
|
|
171
|
+
channel_credentials=None,
|
|
172
|
+
call_credentials=None,
|
|
173
|
+
insecure=False,
|
|
174
|
+
compression=None,
|
|
175
|
+
wait_for_ready=None,
|
|
176
|
+
timeout=None,
|
|
177
|
+
metadata=None):
|
|
178
|
+
return grpc.experimental.unary_unary(
|
|
179
|
+
request,
|
|
180
|
+
target,
|
|
181
|
+
'/yandex.cloud.marketplace.licensemanager.saas.v1.LockService/GetByResourceID',
|
|
182
|
+
yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_saas_dot_v1_dot_lock__service__pb2.GetLockByResourceIDRequest.SerializeToString,
|
|
183
|
+
yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_v1_dot_lock__pb2.Lock.FromString,
|
|
184
|
+
options,
|
|
185
|
+
channel_credentials,
|
|
186
|
+
insecure,
|
|
187
|
+
call_credentials,
|
|
188
|
+
compression,
|
|
189
|
+
wait_for_ready,
|
|
190
|
+
timeout,
|
|
191
|
+
metadata,
|
|
192
|
+
_registered_method=True)
|
|
@@ -37,6 +37,12 @@ class LockServiceStub:
|
|
|
37
37
|
]
|
|
38
38
|
"""Returns the specified subscription lock."""
|
|
39
39
|
|
|
40
|
+
GetByResourceID: grpc.UnaryUnaryMultiCallable[
|
|
41
|
+
yandex.cloud.marketplace.licensemanager.saas.v1.lock_service_pb2.GetLockByResourceIDRequest,
|
|
42
|
+
yandex.cloud.marketplace.licensemanager.v1.lock_pb2.Lock,
|
|
43
|
+
]
|
|
44
|
+
"""Returns the subscription lock for given resource and subscription."""
|
|
45
|
+
|
|
40
46
|
class LockServiceAsyncStub:
|
|
41
47
|
"""A set of methods for managing subscription locks."""
|
|
42
48
|
|
|
@@ -54,6 +60,12 @@ class LockServiceAsyncStub:
|
|
|
54
60
|
]
|
|
55
61
|
"""Returns the specified subscription lock."""
|
|
56
62
|
|
|
63
|
+
GetByResourceID: grpc.aio.UnaryUnaryMultiCallable[
|
|
64
|
+
yandex.cloud.marketplace.licensemanager.saas.v1.lock_service_pb2.GetLockByResourceIDRequest,
|
|
65
|
+
yandex.cloud.marketplace.licensemanager.v1.lock_pb2.Lock,
|
|
66
|
+
]
|
|
67
|
+
"""Returns the subscription lock for given resource and subscription."""
|
|
68
|
+
|
|
57
69
|
class LockServiceServicer(metaclass=abc.ABCMeta):
|
|
58
70
|
"""A set of methods for managing subscription locks."""
|
|
59
71
|
|
|
@@ -75,4 +87,12 @@ class LockServiceServicer(metaclass=abc.ABCMeta):
|
|
|
75
87
|
) -> typing.Union[yandex.cloud.marketplace.licensemanager.v1.lock_pb2.Lock, collections.abc.Awaitable[yandex.cloud.marketplace.licensemanager.v1.lock_pb2.Lock]]:
|
|
76
88
|
"""Returns the specified subscription lock."""
|
|
77
89
|
|
|
90
|
+
@abc.abstractmethod
|
|
91
|
+
def GetByResourceID(
|
|
92
|
+
self,
|
|
93
|
+
request: yandex.cloud.marketplace.licensemanager.saas.v1.lock_service_pb2.GetLockByResourceIDRequest,
|
|
94
|
+
context: _ServicerContext,
|
|
95
|
+
) -> typing.Union[yandex.cloud.marketplace.licensemanager.v1.lock_pb2.Lock, collections.abc.Awaitable[yandex.cloud.marketplace.licensemanager.v1.lock_pb2.Lock]]:
|
|
96
|
+
"""Returns the subscription lock for given resource and subscription."""
|
|
97
|
+
|
|
78
98
|
def add_LockServiceServicer_to_server(servicer: LockServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -28,19 +28,29 @@ class _StateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumType
|
|
|
28
28
|
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
29
29
|
STATE_UNSPECIFIED: _State.ValueType # 0
|
|
30
30
|
ACTIVATED: _State.ValueType # 1
|
|
31
|
+
"""Product instance is activated."""
|
|
31
32
|
DEACTIVATED: _State.ValueType # 2
|
|
33
|
+
"""Product instance is deactivated."""
|
|
32
34
|
PENDING_ACTIVATION: _State.ValueType # 3
|
|
35
|
+
"""Product instance is pending activation."""
|
|
33
36
|
DEPRECATED: _State.ValueType # 4
|
|
37
|
+
"""Product instance is deprecated."""
|
|
34
38
|
DELETED: _State.ValueType # 5
|
|
39
|
+
"""Product instance is deleted."""
|
|
35
40
|
|
|
36
41
|
class State(_State, metaclass=_StateEnumTypeWrapper): ...
|
|
37
42
|
|
|
38
43
|
STATE_UNSPECIFIED: State.ValueType # 0
|
|
39
44
|
ACTIVATED: State.ValueType # 1
|
|
45
|
+
"""Product instance is activated."""
|
|
40
46
|
DEACTIVATED: State.ValueType # 2
|
|
47
|
+
"""Product instance is deactivated."""
|
|
41
48
|
PENDING_ACTIVATION: State.ValueType # 3
|
|
49
|
+
"""Product instance is pending activation."""
|
|
42
50
|
DEPRECATED: State.ValueType # 4
|
|
51
|
+
"""Product instance is deprecated."""
|
|
43
52
|
DELETED: State.ValueType # 5
|
|
53
|
+
"""Product instance is deleted."""
|
|
44
54
|
global___State = State
|
|
45
55
|
|
|
46
56
|
class _ResourceType:
|
|
@@ -51,17 +61,25 @@ class _ResourceTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._E
|
|
|
51
61
|
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
52
62
|
RESOURCE_TYPE_UNSPECIFIED: _ResourceType.ValueType # 0
|
|
53
63
|
SAAS: _ResourceType.ValueType # 1
|
|
64
|
+
"""SaaS resource."""
|
|
54
65
|
K8S: _ResourceType.ValueType # 2
|
|
66
|
+
"""Kubernetes resource."""
|
|
55
67
|
COMPUTE: _ResourceType.ValueType # 3
|
|
68
|
+
"""Compute resource."""
|
|
56
69
|
CLOUD_APPS: _ResourceType.ValueType # 4
|
|
70
|
+
"""Cloud Apps resource."""
|
|
57
71
|
|
|
58
72
|
class ResourceType(_ResourceType, metaclass=_ResourceTypeEnumTypeWrapper): ...
|
|
59
73
|
|
|
60
74
|
RESOURCE_TYPE_UNSPECIFIED: ResourceType.ValueType # 0
|
|
61
75
|
SAAS: ResourceType.ValueType # 1
|
|
76
|
+
"""SaaS resource."""
|
|
62
77
|
K8S: ResourceType.ValueType # 2
|
|
78
|
+
"""Kubernetes resource."""
|
|
63
79
|
COMPUTE: ResourceType.ValueType # 3
|
|
80
|
+
"""Compute resource."""
|
|
64
81
|
CLOUD_APPS: ResourceType.ValueType # 4
|
|
82
|
+
"""Cloud Apps resource."""
|
|
65
83
|
global___ResourceType = ResourceType
|
|
66
84
|
|
|
67
85
|
@typing.final
|
|
@@ -93,15 +111,25 @@ class ProductInstance(google.protobuf.message.Message):
|
|
|
93
111
|
UPDATED_AT_FIELD_NUMBER: builtins.int
|
|
94
112
|
SAAS_INFO_FIELD_NUMBER: builtins.int
|
|
95
113
|
id: builtins.str
|
|
114
|
+
"""ID of the product instance."""
|
|
96
115
|
resource_id: builtins.str
|
|
116
|
+
"""ID of the resource."""
|
|
97
117
|
resource_type: global___ResourceType.ValueType
|
|
118
|
+
"""Type of the resource."""
|
|
98
119
|
state: global___State.ValueType
|
|
120
|
+
"""State of the product instance."""
|
|
99
121
|
@property
|
|
100
|
-
def resource_metadata(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
122
|
+
def resource_metadata(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
123
|
+
"""Metadata of the resource; Reserved for future use."""
|
|
124
|
+
|
|
101
125
|
@property
|
|
102
|
-
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
126
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
127
|
+
"""Creation timestamp"""
|
|
128
|
+
|
|
103
129
|
@property
|
|
104
|
-
def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
130
|
+
def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
131
|
+
"""Update timestamp"""
|
|
132
|
+
|
|
105
133
|
@property
|
|
106
134
|
def saas_info(self) -> global___SaasInfo: ...
|
|
107
135
|
def __init__(
|
|
@@ -145,8 +173,11 @@ class SaasInfo(google.protobuf.message.Message):
|
|
|
145
173
|
ID_FIELD_NUMBER: builtins.int
|
|
146
174
|
DATA_FIELD_NUMBER: builtins.int
|
|
147
175
|
id: builtins.str
|
|
176
|
+
"""ID of the SaaS resource."""
|
|
148
177
|
@property
|
|
149
|
-
def data(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
178
|
+
def data(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
179
|
+
"""Additional data about the SaaS resource."""
|
|
180
|
+
|
|
150
181
|
def __init__(
|
|
151
182
|
self,
|
|
152
183
|
*,
|
|
@@ -17,6 +17,7 @@ class GetProductInstanceRequest(google.protobuf.message.Message):
|
|
|
17
17
|
|
|
18
18
|
PRODUCT_INSTANCE_ID_FIELD_NUMBER: builtins.int
|
|
19
19
|
product_instance_id: builtins.str
|
|
20
|
+
"""ID of the product instance to return."""
|
|
20
21
|
def __init__(
|
|
21
22
|
self,
|
|
22
23
|
*,
|
|
@@ -34,9 +35,13 @@ class ClaimProductInstanceRequest(google.protobuf.message.Message):
|
|
|
34
35
|
RESOURCE_ID_FIELD_NUMBER: builtins.int
|
|
35
36
|
RESOURCE_INFO_FIELD_NUMBER: builtins.int
|
|
36
37
|
token: builtins.str
|
|
38
|
+
"""Signed JWT token which contains information about product instance and subscription."""
|
|
37
39
|
resource_id: builtins.str
|
|
40
|
+
"""ID of the resource to which the product instance will be claimed."""
|
|
38
41
|
@property
|
|
39
|
-
def resource_info(self) -> yandex.cloud.marketplace.pim.v1.saas.product_instance_pb2.SaasInfo:
|
|
42
|
+
def resource_info(self) -> yandex.cloud.marketplace.pim.v1.saas.product_instance_pb2.SaasInfo:
|
|
43
|
+
"""Additional information about the resource."""
|
|
44
|
+
|
|
40
45
|
def __init__(
|
|
41
46
|
self,
|
|
42
47
|
*,
|
|
@@ -57,8 +62,11 @@ class ClaimProductInstanceMetadata(google.protobuf.message.Message):
|
|
|
57
62
|
PRODUCT_INSTANCE_ID_FIELD_NUMBER: builtins.int
|
|
58
63
|
LICENSE_INSTANCE_ID_FIELD_NUMBER: builtins.int
|
|
59
64
|
product_id: builtins.str
|
|
65
|
+
"""ID of the product to which the product instance belongs."""
|
|
60
66
|
product_instance_id: builtins.str
|
|
67
|
+
"""ID of the product instance."""
|
|
61
68
|
license_instance_id: builtins.str
|
|
69
|
+
"""ID of the subscription."""
|
|
62
70
|
def __init__(
|
|
63
71
|
self,
|
|
64
72
|
*,
|
|
@@ -28,7 +28,8 @@ if _version_not_supported:
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
class ProductInstanceServiceStub(object):
|
|
31
|
-
"""
|
|
31
|
+
"""A set of methods for managing product instances.
|
|
32
|
+
"""
|
|
32
33
|
|
|
33
34
|
def __init__(self, channel):
|
|
34
35
|
"""Constructor.
|
|
@@ -49,16 +50,19 @@ class ProductInstanceServiceStub(object):
|
|
|
49
50
|
|
|
50
51
|
|
|
51
52
|
class ProductInstanceServiceServicer(object):
|
|
52
|
-
"""
|
|
53
|
+
"""A set of methods for managing product instances.
|
|
54
|
+
"""
|
|
53
55
|
|
|
54
56
|
def Get(self, request, context):
|
|
55
|
-
"""
|
|
57
|
+
"""Returns the specified product instance.
|
|
58
|
+
"""
|
|
56
59
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
57
60
|
context.set_details('Method not implemented!')
|
|
58
61
|
raise NotImplementedError('Method not implemented!')
|
|
59
62
|
|
|
60
63
|
def Claim(self, request, context):
|
|
61
|
-
"""
|
|
64
|
+
"""Claims a product instance - activates it and optionally locks to subscription
|
|
65
|
+
"""
|
|
62
66
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
63
67
|
context.set_details('Method not implemented!')
|
|
64
68
|
raise NotImplementedError('Method not implemented!')
|
|
@@ -85,7 +89,8 @@ def add_ProductInstanceServiceServicer_to_server(servicer, server):
|
|
|
85
89
|
|
|
86
90
|
# This class is part of an EXPERIMENTAL API.
|
|
87
91
|
class ProductInstanceService(object):
|
|
88
|
-
"""
|
|
92
|
+
"""A set of methods for managing product instances.
|
|
93
|
+
"""
|
|
89
94
|
|
|
90
95
|
@staticmethod
|
|
91
96
|
def Get(request,
|