yandexcloud 0.345.0__py3-none-any.whl → 0.347.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/baremetal/v1alpha/private_subnet_service_pb2.py +16 -16
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2.pyi +7 -7
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.py +16 -16
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.pyi +14 -2
- yandex/cloud/gitlab/__init__.py +0 -0
- yandex/cloud/gitlab/v1/__init__.py +0 -0
- yandex/cloud/gitlab/v1/instance_pb2.py +54 -0
- yandex/cloud/gitlab/v1/instance_pb2.pyi +158 -0
- yandex/cloud/gitlab/v1/instance_pb2_grpc.py +24 -0
- yandex/cloud/gitlab/v1/instance_pb2_grpc.pyi +17 -0
- yandex/cloud/gitlab/v1/instance_service_pb2.py +118 -0
- yandex/cloud/gitlab/v1/instance_service_pb2.pyi +257 -0
- yandex/cloud/gitlab/v1/instance_service_pb2_grpc.py +314 -0
- yandex/cloud/gitlab/v1/instance_service_pb2_grpc.pyi +128 -0
- yandex/cloud/gitlab/v1/maintenance_pb2.py +41 -0
- yandex/cloud/gitlab/v1/maintenance_pb2.pyi +40 -0
- yandex/cloud/gitlab/v1/maintenance_pb2_grpc.py +24 -0
- yandex/cloud/gitlab/v1/maintenance_pb2_grpc.pyi +17 -0
- 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/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 +64 -52
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +75 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.py +44 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.pyi +20 -0
- yandex/cloud/monitoring/v3/thresholds_pb2.py +5 -5
- yandex/cloud/monitoring/v3/thresholds_pb2.pyi +4 -2
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2.py +7 -12
- yandex/cloud/spark/v1/job_pb2.py +12 -16
- yandex/cloud/spark/v1/job_pb2.pyi +3 -51
- yandex/cloud/trino/v1/catalog_pb2.py +252 -0
- yandex/cloud/trino/v1/catalog_pb2.pyi +965 -0
- yandex/cloud/trino/v1/catalog_pb2_grpc.py +24 -0
- yandex/cloud/trino/v1/catalog_pb2_grpc.pyi +17 -0
- yandex/cloud/trino/v1/catalog_service_pb2.py +94 -0
- yandex/cloud/trino/v1/catalog_service_pb2.pyi +235 -0
- yandex/cloud/trino/v1/catalog_service_pb2_grpc.py +279 -0
- yandex/cloud/trino/v1/catalog_service_pb2_grpc.pyi +132 -0
- yandex/cloud/trino/v1/cluster_service_pb2.py +50 -49
- yandex/cloud/trino/v1/cluster_service_pb2.pyi +10 -1
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.345.0.dist-info → yandexcloud-0.347.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.345.0.dist-info → yandexcloud-0.347.0.dist-info}/RECORD +58 -36
- {yandexcloud-0.345.0.dist-info → yandexcloud-0.347.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.345.0.dist-info → yandexcloud-0.347.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.345.0.dist-info → yandexcloud-0.347.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.345.0.dist-info → yandexcloud-0.347.0.dist-info}/top_level.txt +0 -0
|
@@ -1468,6 +1468,81 @@ class AddClusterHostsMetadata(google.protobuf.message.Message):
|
|
|
1468
1468
|
|
|
1469
1469
|
global___AddClusterHostsMetadata = AddClusterHostsMetadata
|
|
1470
1470
|
|
|
1471
|
+
@typing.final
|
|
1472
|
+
class UpdateClusterHostsRequest(google.protobuf.message.Message):
|
|
1473
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1474
|
+
|
|
1475
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
1476
|
+
UPDATE_HOST_SPECS_FIELD_NUMBER: builtins.int
|
|
1477
|
+
cluster_id: builtins.str
|
|
1478
|
+
"""ID of the SPQR cluster to update hosts in.
|
|
1479
|
+
To get the SPQR cluster ID, use a [ClusterService.List] request.
|
|
1480
|
+
"""
|
|
1481
|
+
@property
|
|
1482
|
+
def update_host_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___UpdateHostSpec]:
|
|
1483
|
+
"""New configurations to apply to hosts."""
|
|
1484
|
+
|
|
1485
|
+
def __init__(
|
|
1486
|
+
self,
|
|
1487
|
+
*,
|
|
1488
|
+
cluster_id: builtins.str = ...,
|
|
1489
|
+
update_host_specs: collections.abc.Iterable[global___UpdateHostSpec] | None = ...,
|
|
1490
|
+
) -> None: ...
|
|
1491
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "update_host_specs", b"update_host_specs"]) -> None: ...
|
|
1492
|
+
|
|
1493
|
+
global___UpdateClusterHostsRequest = UpdateClusterHostsRequest
|
|
1494
|
+
|
|
1495
|
+
@typing.final
|
|
1496
|
+
class UpdateClusterHostsMetadata(google.protobuf.message.Message):
|
|
1497
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1498
|
+
|
|
1499
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
1500
|
+
HOST_NAMES_FIELD_NUMBER: builtins.int
|
|
1501
|
+
cluster_id: builtins.str
|
|
1502
|
+
"""ID of the SPQR cluster to update hosts in."""
|
|
1503
|
+
@property
|
|
1504
|
+
def host_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
1505
|
+
"""Names of hosts that are being updated."""
|
|
1506
|
+
|
|
1507
|
+
def __init__(
|
|
1508
|
+
self,
|
|
1509
|
+
*,
|
|
1510
|
+
cluster_id: builtins.str = ...,
|
|
1511
|
+
host_names: collections.abc.Iterable[builtins.str] | None = ...,
|
|
1512
|
+
) -> None: ...
|
|
1513
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "host_names", b"host_names"]) -> None: ...
|
|
1514
|
+
|
|
1515
|
+
global___UpdateClusterHostsMetadata = UpdateClusterHostsMetadata
|
|
1516
|
+
|
|
1517
|
+
@typing.final
|
|
1518
|
+
class UpdateHostSpec(google.protobuf.message.Message):
|
|
1519
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1520
|
+
|
|
1521
|
+
HOST_NAME_FIELD_NUMBER: builtins.int
|
|
1522
|
+
UPDATE_MASK_FIELD_NUMBER: builtins.int
|
|
1523
|
+
ASSIGN_PUBLIC_IP_FIELD_NUMBER: builtins.int
|
|
1524
|
+
host_name: builtins.str
|
|
1525
|
+
"""Name of the host to update.
|
|
1526
|
+
To get the SPQR host name, use a [ClusterService.ListHosts] request.
|
|
1527
|
+
"""
|
|
1528
|
+
assign_public_ip: builtins.bool
|
|
1529
|
+
"""Whether the host should get a public IP address on creation."""
|
|
1530
|
+
@property
|
|
1531
|
+
def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
1532
|
+
"""Field mask that specifies which fields of the SPQR host should be updated."""
|
|
1533
|
+
|
|
1534
|
+
def __init__(
|
|
1535
|
+
self,
|
|
1536
|
+
*,
|
|
1537
|
+
host_name: builtins.str = ...,
|
|
1538
|
+
update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
|
|
1539
|
+
assign_public_ip: builtins.bool = ...,
|
|
1540
|
+
) -> None: ...
|
|
1541
|
+
def HasField(self, field_name: typing.Literal["update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
1542
|
+
def ClearField(self, field_name: typing.Literal["assign_public_ip", b"assign_public_ip", "host_name", b"host_name", "update_mask", b"update_mask"]) -> None: ...
|
|
1543
|
+
|
|
1544
|
+
global___UpdateHostSpec = UpdateHostSpec
|
|
1545
|
+
|
|
1471
1546
|
@typing.final
|
|
1472
1547
|
class DeleteClusterHostsRequest(google.protobuf.message.Message):
|
|
1473
1548
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -138,6 +138,11 @@ class ClusterServiceStub(object):
|
|
|
138
138
|
request_serializer=yandex_dot_cloud_dot_mdb_dot_spqr_dot_v1_dot_cluster__service__pb2.AddClusterHostsRequest.SerializeToString,
|
|
139
139
|
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
140
140
|
_registered_method=True)
|
|
141
|
+
self.UpdateHosts = channel.unary_unary(
|
|
142
|
+
'/yandex.cloud.mdb.spqr.v1.ClusterService/UpdateHosts',
|
|
143
|
+
request_serializer=yandex_dot_cloud_dot_mdb_dot_spqr_dot_v1_dot_cluster__service__pb2.UpdateClusterHostsRequest.SerializeToString,
|
|
144
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
145
|
+
_registered_method=True)
|
|
141
146
|
self.DeleteHosts = channel.unary_unary(
|
|
142
147
|
'/yandex.cloud.mdb.spqr.v1.ClusterService/DeleteHosts',
|
|
143
148
|
request_serializer=yandex_dot_cloud_dot_mdb_dot_spqr_dot_v1_dot_cluster__service__pb2.DeleteClusterHostsRequest.SerializeToString,
|
|
@@ -321,6 +326,13 @@ class ClusterServiceServicer(object):
|
|
|
321
326
|
context.set_details('Method not implemented!')
|
|
322
327
|
raise NotImplementedError('Method not implemented!')
|
|
323
328
|
|
|
329
|
+
def UpdateHosts(self, request, context):
|
|
330
|
+
"""Updates the specified hosts.
|
|
331
|
+
"""
|
|
332
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
333
|
+
context.set_details('Method not implemented!')
|
|
334
|
+
raise NotImplementedError('Method not implemented!')
|
|
335
|
+
|
|
324
336
|
def DeleteHosts(self, request, context):
|
|
325
337
|
"""Deletes the specified hosts for a cluster.
|
|
326
338
|
"""
|
|
@@ -473,6 +485,11 @@ def add_ClusterServiceServicer_to_server(servicer, server):
|
|
|
473
485
|
request_deserializer=yandex_dot_cloud_dot_mdb_dot_spqr_dot_v1_dot_cluster__service__pb2.AddClusterHostsRequest.FromString,
|
|
474
486
|
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
475
487
|
),
|
|
488
|
+
'UpdateHosts': grpc.unary_unary_rpc_method_handler(
|
|
489
|
+
servicer.UpdateHosts,
|
|
490
|
+
request_deserializer=yandex_dot_cloud_dot_mdb_dot_spqr_dot_v1_dot_cluster__service__pb2.UpdateClusterHostsRequest.FromString,
|
|
491
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
492
|
+
),
|
|
476
493
|
'DeleteHosts': grpc.unary_unary_rpc_method_handler(
|
|
477
494
|
servicer.DeleteHosts,
|
|
478
495
|
request_deserializer=yandex_dot_cloud_dot_mdb_dot_spqr_dot_v1_dot_cluster__service__pb2.DeleteClusterHostsRequest.FromString,
|
|
@@ -1060,6 +1077,33 @@ class ClusterService(object):
|
|
|
1060
1077
|
metadata,
|
|
1061
1078
|
_registered_method=True)
|
|
1062
1079
|
|
|
1080
|
+
@staticmethod
|
|
1081
|
+
def UpdateHosts(request,
|
|
1082
|
+
target,
|
|
1083
|
+
options=(),
|
|
1084
|
+
channel_credentials=None,
|
|
1085
|
+
call_credentials=None,
|
|
1086
|
+
insecure=False,
|
|
1087
|
+
compression=None,
|
|
1088
|
+
wait_for_ready=None,
|
|
1089
|
+
timeout=None,
|
|
1090
|
+
metadata=None):
|
|
1091
|
+
return grpc.experimental.unary_unary(
|
|
1092
|
+
request,
|
|
1093
|
+
target,
|
|
1094
|
+
'/yandex.cloud.mdb.spqr.v1.ClusterService/UpdateHosts',
|
|
1095
|
+
yandex_dot_cloud_dot_mdb_dot_spqr_dot_v1_dot_cluster__service__pb2.UpdateClusterHostsRequest.SerializeToString,
|
|
1096
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
1097
|
+
options,
|
|
1098
|
+
channel_credentials,
|
|
1099
|
+
insecure,
|
|
1100
|
+
call_credentials,
|
|
1101
|
+
compression,
|
|
1102
|
+
wait_for_ready,
|
|
1103
|
+
timeout,
|
|
1104
|
+
metadata,
|
|
1105
|
+
_registered_method=True)
|
|
1106
|
+
|
|
1063
1107
|
@staticmethod
|
|
1064
1108
|
def DeleteHosts(request,
|
|
1065
1109
|
target,
|
|
@@ -149,6 +149,12 @@ class ClusterServiceStub:
|
|
|
149
149
|
]
|
|
150
150
|
"""Creates new hosts for a cluster."""
|
|
151
151
|
|
|
152
|
+
UpdateHosts: grpc.UnaryUnaryMultiCallable[
|
|
153
|
+
yandex.cloud.mdb.spqr.v1.cluster_service_pb2.UpdateClusterHostsRequest,
|
|
154
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
155
|
+
]
|
|
156
|
+
"""Updates the specified hosts."""
|
|
157
|
+
|
|
152
158
|
DeleteHosts: grpc.UnaryUnaryMultiCallable[
|
|
153
159
|
yandex.cloud.mdb.spqr.v1.cluster_service_pb2.DeleteClusterHostsRequest,
|
|
154
160
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
@@ -319,6 +325,12 @@ class ClusterServiceAsyncStub:
|
|
|
319
325
|
]
|
|
320
326
|
"""Creates new hosts for a cluster."""
|
|
321
327
|
|
|
328
|
+
UpdateHosts: grpc.aio.UnaryUnaryMultiCallable[
|
|
329
|
+
yandex.cloud.mdb.spqr.v1.cluster_service_pb2.UpdateClusterHostsRequest,
|
|
330
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
331
|
+
]
|
|
332
|
+
"""Updates the specified hosts."""
|
|
333
|
+
|
|
322
334
|
DeleteHosts: grpc.aio.UnaryUnaryMultiCallable[
|
|
323
335
|
yandex.cloud.mdb.spqr.v1.cluster_service_pb2.DeleteClusterHostsRequest,
|
|
324
336
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
@@ -529,6 +541,14 @@ class ClusterServiceServicer(metaclass=abc.ABCMeta):
|
|
|
529
541
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
530
542
|
"""Creates new hosts for a cluster."""
|
|
531
543
|
|
|
544
|
+
@abc.abstractmethod
|
|
545
|
+
def UpdateHosts(
|
|
546
|
+
self,
|
|
547
|
+
request: yandex.cloud.mdb.spqr.v1.cluster_service_pb2.UpdateClusterHostsRequest,
|
|
548
|
+
context: _ServicerContext,
|
|
549
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
550
|
+
"""Updates the specified hosts."""
|
|
551
|
+
|
|
532
552
|
@abc.abstractmethod
|
|
533
553
|
def DeleteHosts(
|
|
534
554
|
self,
|
|
@@ -24,7 +24,7 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/monitoring/v3/thresholds.proto\x12\x1ayandex.cloud.monitoring.v3\"\
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/monitoring/v3/thresholds.proto\x12\x1ayandex.cloud.monitoring.v3\"\x85\x02\n\nThresholds\x12:\n\x05items\x18\x01 \x03(\x0b\x32+.yandex.cloud.monitoring.v3.Thresholds.Item\x12\x42\n\tshow_mode\x18\x02 \x01(\x0e\x32/.yandex.cloud.monitoring.v3.Thresholds.ShowMode\x1a\x33\n\x04Item\x12\r\n\x05\x63olor\x18\x01 \x01(\t\x12\x12\n\x05value\x18\x02 \x01(\x01H\x00\x88\x01\x01\x42\x08\n\x06_value\"B\n\x08ShowMode\x12\x19\n\x15SHOW_MODE_UNSPECIFIED\x10\x00\x12\x1b\n\x17SHOW_MODE_CONSTANT_LINE\x10\x01\x42k\n\x1eyandex.cloud.api.monitoring.v3ZIgithub.com/yandex-cloud/go-genproto/yandex/cloud/monitoring/v3;monitoringb\x06proto3')
|
|
28
28
|
|
|
29
29
|
_globals = globals()
|
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -33,9 +33,9 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
33
33
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
34
|
_globals['DESCRIPTOR']._serialized_options = b'\n\036yandex.cloud.api.monitoring.v3ZIgithub.com/yandex-cloud/go-genproto/yandex/cloud/monitoring/v3;monitoring'
|
|
35
35
|
_globals['_THRESHOLDS']._serialized_start=76
|
|
36
|
-
_globals['_THRESHOLDS']._serialized_end=
|
|
36
|
+
_globals['_THRESHOLDS']._serialized_end=337
|
|
37
37
|
_globals['_THRESHOLDS_ITEM']._serialized_start=218
|
|
38
|
-
_globals['_THRESHOLDS_ITEM']._serialized_end=
|
|
39
|
-
_globals['_THRESHOLDS_SHOWMODE']._serialized_start=
|
|
40
|
-
_globals['_THRESHOLDS_SHOWMODE']._serialized_end=
|
|
38
|
+
_globals['_THRESHOLDS_ITEM']._serialized_end=269
|
|
39
|
+
_globals['_THRESHOLDS_SHOWMODE']._serialized_start=271
|
|
40
|
+
_globals['_THRESHOLDS_SHOWMODE']._serialized_end=337
|
|
41
41
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -50,9 +50,11 @@ class Thresholds(google.protobuf.message.Message):
|
|
|
50
50
|
self,
|
|
51
51
|
*,
|
|
52
52
|
color: builtins.str = ...,
|
|
53
|
-
value: builtins.float = ...,
|
|
53
|
+
value: builtins.float | None = ...,
|
|
54
54
|
) -> None: ...
|
|
55
|
-
def
|
|
55
|
+
def HasField(self, field_name: typing.Literal["_value", b"_value", "value", b"value"]) -> builtins.bool: ...
|
|
56
|
+
def ClearField(self, field_name: typing.Literal["_value", b"_value", "color", b"color", "value", b"value"]) -> None: ...
|
|
57
|
+
def WhichOneof(self, oneof_group: typing.Literal["_value", b"_value"]) -> typing.Literal["value"] | None: ...
|
|
56
58
|
|
|
57
59
|
ITEMS_FIELD_NUMBER: builtins.int
|
|
58
60
|
SHOW_MODE_FIELD_NUMBER: builtins.int
|
|
@@ -22,12 +22,11 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
22
22
|
_sym_db = _symbol_database.Default()
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
26
25
|
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
27
26
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
28
27
|
|
|
29
28
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/serverless/eventrouter/v1/event_service.proto\x12&yandex.cloud.serverless.eventrouter.v1\x1a\
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/serverless/eventrouter/v1/event_service.proto\x12&yandex.cloud.serverless.eventrouter.v1\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1dyandex/cloud/validation.proto\"G\n\x0fPutEventRequest\x12\x14\n\x06\x62us_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1e\n\x04\x62ody\x18\x02 \x01(\tB\x10\xe8\xc7\x31\x01\x8a\xc8\x31\x08<=262144\"W\n\x11SendEventsRequest\x12\x1a\n\x0c\x63onnector_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12&\n\x07message\x18\x02 \x03(\tB\x15\x82\xc8\x31\x05\x31-100\x8a\xc8\x31\x08<=2621442\xc1\x01\n\x0c\x45ventService\x12V\n\x03Put\x12\x37.yandex.cloud.serverless.eventrouter.v1.PutEventRequest\x1a\x16.google.protobuf.Empty\x12Y\n\x04Send\x12\x39.yandex.cloud.serverless.eventrouter.v1.SendEventsRequest\x1a\x16.google.protobuf.EmptyB\x8b\x01\n*yandex.cloud.api.serverless.eventrouter.v1B\x05PERESZVgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/eventrouter/v1;eventrouterb\x06proto3')
|
|
31
30
|
|
|
32
31
|
_globals = globals()
|
|
33
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -43,14 +42,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
43
42
|
_globals['_SENDEVENTSREQUEST'].fields_by_name['connector_id']._serialized_options = b'\350\3071\001'
|
|
44
43
|
_globals['_SENDEVENTSREQUEST'].fields_by_name['message']._loaded_options = None
|
|
45
44
|
_globals['_SENDEVENTSREQUEST'].fields_by_name['message']._serialized_options = b'\202\3101\0051-100\212\3101\010<=262144'
|
|
46
|
-
_globals['
|
|
47
|
-
_globals['
|
|
48
|
-
_globals['
|
|
49
|
-
_globals['
|
|
50
|
-
_globals['
|
|
51
|
-
_globals['
|
|
52
|
-
_globals['_SENDEVENTSREQUEST']._serialized_start=265
|
|
53
|
-
_globals['_SENDEVENTSREQUEST']._serialized_end=352
|
|
54
|
-
_globals['_EVENTSERVICE']._serialized_start=355
|
|
55
|
-
_globals['_EVENTSERVICE']._serialized_end=653
|
|
45
|
+
_globals['_PUTEVENTREQUEST']._serialized_start=162
|
|
46
|
+
_globals['_PUTEVENTREQUEST']._serialized_end=233
|
|
47
|
+
_globals['_SENDEVENTSREQUEST']._serialized_start=235
|
|
48
|
+
_globals['_SENDEVENTSREQUEST']._serialized_end=322
|
|
49
|
+
_globals['_EVENTSERVICE']._serialized_start=325
|
|
50
|
+
_globals['_EVENTSERVICE']._serialized_end=518
|
|
56
51
|
# @@protoc_insertion_point(module_scope)
|
yandex/cloud/spark/v1/job_pb2.py
CHANGED
|
@@ -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\x1fyandex/cloud/spark/v1/job.proto\x12\x15yandex.cloud.spark.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fyandex/cloud/spark/v1/job.proto\x12\x15yandex.cloud.spark.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa0\x04\n\x03Job\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nstarted_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inished_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\x12\n\ncreated_by\x18\x07 \x01(\t\x12\x31\n\x06status\x18\x08 \x01(\x0e\x32!.yandex.cloud.spark.v1.Job.Status\x12\x34\n\tspark_job\x18\t \x01(\x0b\x32\x1f.yandex.cloud.spark.v1.SparkJobH\x00\x12\x38\n\x0bpyspark_job\x18\n \x01(\x0b\x32!.yandex.cloud.spark.v1.PysparkJobH\x00\x12\x0e\n\x06ui_url\x18\x0c \x01(\t\"\x80\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\x0b\n\x07RUNNING\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\x08\n\x04\x44ONE\x10\x05\x12\r\n\tCANCELLED\x10\x06\x12\x0e\n\nCANCELLING\x10\x07\x42\n\n\x08job_specJ\x04\x08\x0b\x10\x0c\"\xc1\x02\n\x08SparkJob\x12\x0c\n\x04\x61rgs\x18\x01 \x03(\t\x12\x15\n\rjar_file_uris\x18\x02 \x03(\t\x12\x11\n\tfile_uris\x18\x03 \x03(\t\x12\x14\n\x0c\x61rchive_uris\x18\x04 \x03(\t\x12\x43\n\nproperties\x18\x05 \x03(\x0b\x32/.yandex.cloud.spark.v1.SparkJob.PropertiesEntry\x12\x19\n\x11main_jar_file_uri\x18\x06 \x01(\t\x12\x12\n\nmain_class\x18\x07 \x01(\t\x12\x10\n\x08packages\x18\x08 \x03(\t\x12\x14\n\x0crepositories\x18\t \x03(\t\x12\x18\n\x10\x65xclude_packages\x18\n \x03(\t\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xce\x02\n\nPysparkJob\x12\x0c\n\x04\x61rgs\x18\x01 \x03(\t\x12\x15\n\rjar_file_uris\x18\x02 \x03(\t\x12\x11\n\tfile_uris\x18\x03 \x03(\t\x12\x14\n\x0c\x61rchive_uris\x18\x04 \x03(\t\x12\x45\n\nproperties\x18\x05 \x03(\x0b\x32\x31.yandex.cloud.spark.v1.PysparkJob.PropertiesEntry\x12\x1c\n\x14main_python_file_uri\x18\x06 \x01(\t\x12\x18\n\x10python_file_uris\x18\x07 \x03(\t\x12\x10\n\x08packages\x18\x08 \x03(\t\x12\x14\n\x0crepositories\x18\t \x03(\t\x12\x18\n\x10\x65xclude_packages\x18\n \x03(\t\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\\\n\x19yandex.cloud.api.spark.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/spark/v1;sparkb\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -38,19 +38,15 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
38
38
|
_globals['_PYSPARKJOB_PROPERTIESENTRY']._loaded_options = None
|
|
39
39
|
_globals['_PYSPARKJOB_PROPERTIESENTRY']._serialized_options = b'8\001'
|
|
40
40
|
_globals['_JOB']._serialized_start=92
|
|
41
|
-
_globals['_JOB']._serialized_end=
|
|
42
|
-
_globals['_JOB_STATUS']._serialized_start=
|
|
43
|
-
_globals['_JOB_STATUS']._serialized_end=
|
|
44
|
-
_globals['
|
|
45
|
-
_globals['
|
|
46
|
-
_globals['
|
|
47
|
-
_globals['
|
|
48
|
-
_globals['
|
|
49
|
-
_globals['
|
|
50
|
-
_globals['
|
|
51
|
-
_globals['
|
|
52
|
-
_globals['_PYSPARKJOB']._serialized_start=1186
|
|
53
|
-
_globals['_PYSPARKJOB']._serialized_end=1520
|
|
54
|
-
_globals['_PYSPARKJOB_PROPERTIESENTRY']._serialized_start=1134
|
|
55
|
-
_globals['_PYSPARKJOB_PROPERTIESENTRY']._serialized_end=1183
|
|
41
|
+
_globals['_JOB']._serialized_end=636
|
|
42
|
+
_globals['_JOB_STATUS']._serialized_start=490
|
|
43
|
+
_globals['_JOB_STATUS']._serialized_end=618
|
|
44
|
+
_globals['_SPARKJOB']._serialized_start=639
|
|
45
|
+
_globals['_SPARKJOB']._serialized_end=960
|
|
46
|
+
_globals['_SPARKJOB_PROPERTIESENTRY']._serialized_start=911
|
|
47
|
+
_globals['_SPARKJOB_PROPERTIESENTRY']._serialized_end=960
|
|
48
|
+
_globals['_PYSPARKJOB']._serialized_start=963
|
|
49
|
+
_globals['_PYSPARKJOB']._serialized_end=1297
|
|
50
|
+
_globals['_PYSPARKJOB_PROPERTIESENTRY']._serialized_start=911
|
|
51
|
+
_globals['_PYSPARKJOB_PROPERTIESENTRY']._serialized_end=960
|
|
56
52
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -75,7 +75,6 @@ class Job(google.protobuf.message.Message):
|
|
|
75
75
|
STATUS_FIELD_NUMBER: builtins.int
|
|
76
76
|
SPARK_JOB_FIELD_NUMBER: builtins.int
|
|
77
77
|
PYSPARK_JOB_FIELD_NUMBER: builtins.int
|
|
78
|
-
APPLICATION_INFO_FIELD_NUMBER: builtins.int
|
|
79
78
|
UI_URL_FIELD_NUMBER: builtins.int
|
|
80
79
|
id: builtins.str
|
|
81
80
|
"""Required. Unique ID of the Spark job.
|
|
@@ -107,10 +106,6 @@ class Job(google.protobuf.message.Message):
|
|
|
107
106
|
def spark_job(self) -> global___SparkJob: ...
|
|
108
107
|
@property
|
|
109
108
|
def pyspark_job(self) -> global___PysparkJob: ...
|
|
110
|
-
@property
|
|
111
|
-
def application_info(self) -> global___ApplicationInfo:
|
|
112
|
-
"""Attributes of application."""
|
|
113
|
-
|
|
114
109
|
def __init__(
|
|
115
110
|
self,
|
|
116
111
|
*,
|
|
@@ -124,57 +119,14 @@ class Job(google.protobuf.message.Message):
|
|
|
124
119
|
status: global___Job.Status.ValueType = ...,
|
|
125
120
|
spark_job: global___SparkJob | None = ...,
|
|
126
121
|
pyspark_job: global___PysparkJob | None = ...,
|
|
127
|
-
application_info: global___ApplicationInfo | None = ...,
|
|
128
122
|
ui_url: builtins.str = ...,
|
|
129
123
|
) -> None: ...
|
|
130
|
-
def HasField(self, field_name: typing.Literal["
|
|
131
|
-
def ClearField(self, field_name: typing.Literal["
|
|
124
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "finished_at", b"finished_at", "job_spec", b"job_spec", "pyspark_job", b"pyspark_job", "spark_job", b"spark_job", "started_at", b"started_at"]) -> builtins.bool: ...
|
|
125
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "created_at", b"created_at", "created_by", b"created_by", "finished_at", b"finished_at", "id", b"id", "job_spec", b"job_spec", "name", b"name", "pyspark_job", b"pyspark_job", "spark_job", b"spark_job", "started_at", b"started_at", "status", b"status", "ui_url", b"ui_url"]) -> None: ...
|
|
132
126
|
def WhichOneof(self, oneof_group: typing.Literal["job_spec", b"job_spec"]) -> typing.Literal["spark_job", "pyspark_job"] | None: ...
|
|
133
127
|
|
|
134
128
|
global___Job = Job
|
|
135
129
|
|
|
136
|
-
@typing.final
|
|
137
|
-
class ApplicationAttempt(google.protobuf.message.Message):
|
|
138
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
139
|
-
|
|
140
|
-
ID_FIELD_NUMBER: builtins.int
|
|
141
|
-
AM_CONTAINER_ID_FIELD_NUMBER: builtins.int
|
|
142
|
-
id: builtins.str
|
|
143
|
-
"""ID of application attempt"""
|
|
144
|
-
am_container_id: builtins.str
|
|
145
|
-
"""ID of Application Master container"""
|
|
146
|
-
def __init__(
|
|
147
|
-
self,
|
|
148
|
-
*,
|
|
149
|
-
id: builtins.str = ...,
|
|
150
|
-
am_container_id: builtins.str = ...,
|
|
151
|
-
) -> None: ...
|
|
152
|
-
def ClearField(self, field_name: typing.Literal["am_container_id", b"am_container_id", "id", b"id"]) -> None: ...
|
|
153
|
-
|
|
154
|
-
global___ApplicationAttempt = ApplicationAttempt
|
|
155
|
-
|
|
156
|
-
@typing.final
|
|
157
|
-
class ApplicationInfo(google.protobuf.message.Message):
|
|
158
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
159
|
-
|
|
160
|
-
ID_FIELD_NUMBER: builtins.int
|
|
161
|
-
APPLICATION_ATTEMPTS_FIELD_NUMBER: builtins.int
|
|
162
|
-
id: builtins.str
|
|
163
|
-
"""ID of application"""
|
|
164
|
-
@property
|
|
165
|
-
def application_attempts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ApplicationAttempt]:
|
|
166
|
-
"""Application attempts"""
|
|
167
|
-
|
|
168
|
-
def __init__(
|
|
169
|
-
self,
|
|
170
|
-
*,
|
|
171
|
-
id: builtins.str = ...,
|
|
172
|
-
application_attempts: collections.abc.Iterable[global___ApplicationAttempt] | None = ...,
|
|
173
|
-
) -> None: ...
|
|
174
|
-
def ClearField(self, field_name: typing.Literal["application_attempts", b"application_attempts", "id", b"id"]) -> None: ...
|
|
175
|
-
|
|
176
|
-
global___ApplicationInfo = ApplicationInfo
|
|
177
|
-
|
|
178
130
|
@typing.final
|
|
179
131
|
class SparkJob(google.protobuf.message.Message):
|
|
180
132
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -206,7 +158,7 @@ class SparkJob(google.protobuf.message.Message):
|
|
|
206
158
|
REPOSITORIES_FIELD_NUMBER: builtins.int
|
|
207
159
|
EXCLUDE_PACKAGES_FIELD_NUMBER: builtins.int
|
|
208
160
|
main_jar_file_uri: builtins.str
|
|
209
|
-
"""
|
|
161
|
+
"""URI of the jar file containing the main class."""
|
|
210
162
|
main_class: builtins.str
|
|
211
163
|
"""The name of the driver's main class."""
|
|
212
164
|
@property
|