yandexcloud 0.319.0__py3-none-any.whl → 0.321.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.
Files changed (119) hide show
  1. yandex/cloud/ai/ocr/v1/ocr_pb2.pyi +2 -2
  2. yandex/cloud/ai/ocr/v1/ocr_service_pb2.pyi +5 -5
  3. yandex/cloud/cic/__init__.py +0 -0
  4. yandex/cloud/cic/v1/__init__.py +0 -0
  5. yandex/cloud/cic/v1/common/__init__.py +0 -0
  6. yandex/cloud/cic/v1/common/lag_allocation_settings_pb2.py +29 -0
  7. yandex/cloud/cic/v1/common/lag_allocation_settings_pb2.pyi +61 -0
  8. yandex/cloud/cic/v1/common/lag_allocation_settings_pb2_grpc.py +4 -0
  9. yandex/cloud/cic/v1/common/lag_allocation_settings_pb2_grpc.pyi +17 -0
  10. yandex/cloud/cic/v1/common/lag_info_pb2.py +27 -0
  11. yandex/cloud/cic/v1/common/lag_info_pb2.pyi +42 -0
  12. yandex/cloud/cic/v1/common/lag_info_pb2_grpc.py +4 -0
  13. yandex/cloud/cic/v1/common/lag_info_pb2_grpc.pyi +17 -0
  14. yandex/cloud/cic/v1/common/transceiver_type_pb2.py +26 -0
  15. yandex/cloud/cic/v1/common/transceiver_type_pb2.pyi +40 -0
  16. yandex/cloud/cic/v1/common/transceiver_type_pb2_grpc.py +4 -0
  17. yandex/cloud/cic/v1/common/transceiver_type_pb2_grpc.pyi +17 -0
  18. yandex/cloud/cic/v1/partner_pb2.py +28 -0
  19. yandex/cloud/cic/v1/partner_pb2.pyi +59 -0
  20. yandex/cloud/cic/v1/partner_pb2_grpc.py +4 -0
  21. yandex/cloud/cic/v1/partner_pb2_grpc.pyi +17 -0
  22. yandex/cloud/cic/v1/partner_service_pb2.py +47 -0
  23. yandex/cloud/cic/v1/partner_service_pb2.pyi +95 -0
  24. yandex/cloud/cic/v1/partner_service_pb2_grpc.py +107 -0
  25. yandex/cloud/cic/v1/partner_service_pb2_grpc.pyi +80 -0
  26. yandex/cloud/cic/v1/peering_pb2.py +26 -0
  27. yandex/cloud/cic/v1/peering_pb2.pyi +57 -0
  28. yandex/cloud/cic/v1/peering_pb2_grpc.py +4 -0
  29. yandex/cloud/cic/v1/peering_pb2_grpc.pyi +17 -0
  30. yandex/cloud/cic/v1/point_of_presence_pb2.py +26 -0
  31. yandex/cloud/cic/v1/point_of_presence_pb2.pyi +33 -0
  32. yandex/cloud/cic/v1/point_of_presence_pb2_grpc.py +4 -0
  33. yandex/cloud/cic/v1/point_of_presence_pb2_grpc.pyi +17 -0
  34. yandex/cloud/cic/v1/point_of_presence_service_pb2.py +47 -0
  35. yandex/cloud/cic/v1/point_of_presence_service_pb2.pyi +95 -0
  36. yandex/cloud/cic/v1/point_of_presence_service_pb2_grpc.py +107 -0
  37. yandex/cloud/cic/v1/point_of_presence_service_pb2_grpc.pyi +80 -0
  38. yandex/cloud/cic/v1/private_connection_pb2.py +34 -0
  39. yandex/cloud/cic/v1/private_connection_pb2.pyi +130 -0
  40. yandex/cloud/cic/v1/private_connection_pb2_grpc.py +4 -0
  41. yandex/cloud/cic/v1/private_connection_pb2_grpc.pyi +17 -0
  42. yandex/cloud/cic/v1/private_connection_service_pb2.py +49 -0
  43. yandex/cloud/cic/v1/private_connection_service_pb2.pyi +101 -0
  44. yandex/cloud/cic/v1/private_connection_service_pb2_grpc.py +107 -0
  45. yandex/cloud/cic/v1/private_connection_service_pb2_grpc.pyi +80 -0
  46. yandex/cloud/cic/v1/public_connection_pb2.py +36 -0
  47. yandex/cloud/cic/v1/public_connection_pb2.pyi +154 -0
  48. yandex/cloud/cic/v1/public_connection_pb2_grpc.py +4 -0
  49. yandex/cloud/cic/v1/public_connection_pb2_grpc.pyi +17 -0
  50. yandex/cloud/cic/v1/public_connection_service_pb2.py +49 -0
  51. yandex/cloud/cic/v1/public_connection_service_pb2.pyi +101 -0
  52. yandex/cloud/cic/v1/public_connection_service_pb2_grpc.py +107 -0
  53. yandex/cloud/cic/v1/public_connection_service_pb2_grpc.pyi +80 -0
  54. yandex/cloud/cic/v1/trunk_connection_pb2.py +41 -0
  55. yandex/cloud/cic/v1/trunk_connection_pb2.pyi +240 -0
  56. yandex/cloud/cic/v1/trunk_connection_pb2_grpc.py +4 -0
  57. yandex/cloud/cic/v1/trunk_connection_pb2_grpc.pyi +17 -0
  58. yandex/cloud/cic/v1/trunk_connection_service_pb2.py +49 -0
  59. yandex/cloud/cic/v1/trunk_connection_service_pb2.pyi +101 -0
  60. yandex/cloud/cic/v1/trunk_connection_service_pb2_grpc.py +107 -0
  61. yandex/cloud/cic/v1/trunk_connection_service_pb2_grpc.pyi +80 -0
  62. yandex/cloud/cloudapps/__init__.py +0 -0
  63. yandex/cloud/cloudapps/workload/__init__.py +0 -0
  64. yandex/cloud/cloudapps/workload/v1/__init__.py +0 -0
  65. yandex/cloud/cloudapps/workload/v1/cloud_application_pb2.py +47 -0
  66. yandex/cloud/cloudapps/workload/v1/cloud_application_pb2.pyi +127 -0
  67. yandex/cloud/cloudapps/workload/v1/cloud_application_pb2_grpc.py +4 -0
  68. yandex/cloud/cloudapps/workload/v1/cloud_application_pb2_grpc.pyi +17 -0
  69. yandex/cloud/cloudapps/workload/v1/cloud_application_service_pb2.py +39 -0
  70. yandex/cloud/cloudapps/workload/v1/cloud_application_service_pb2.pyi +73 -0
  71. yandex/cloud/cloudapps/workload/v1/cloud_application_service_pb2_grpc.py +106 -0
  72. yandex/cloud/cloudapps/workload/v1/cloud_application_service_pb2_grpc.pyi +72 -0
  73. yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +27 -25
  74. yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +62 -10
  75. yandex/cloud/datatransfer/v1/endpoint/postgres_pb2.pyi +2 -2
  76. yandex/cloud/k8s/marketplace/__init__.py +0 -0
  77. yandex/cloud/k8s/marketplace/v1/__init__.py +0 -0
  78. yandex/cloud/k8s/marketplace/v1/helm_release_pb2.py +29 -0
  79. yandex/cloud/k8s/marketplace/v1/helm_release_pb2.pyi +119 -0
  80. yandex/cloud/k8s/marketplace/v1/helm_release_pb2_grpc.py +4 -0
  81. yandex/cloud/k8s/marketplace/v1/helm_release_pb2_grpc.pyi +17 -0
  82. yandex/cloud/k8s/marketplace/v1/helm_release_service_pb2.py +83 -0
  83. yandex/cloud/k8s/marketplace/v1/helm_release_service_pb2.pyi +253 -0
  84. yandex/cloud/k8s/marketplace/v1/helm_release_service_pb2_grpc.py +208 -0
  85. yandex/cloud/k8s/marketplace/v1/helm_release_service_pb2_grpc.pyi +132 -0
  86. yandex/cloud/marketplace/licensemanager/saas/__init__.py +0 -0
  87. yandex/cloud/marketplace/licensemanager/saas/v1/__init__.py +0 -0
  88. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.py +35 -0
  89. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.pyi +27 -0
  90. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.py +71 -0
  91. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.pyi +51 -0
  92. yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2.py +47 -0
  93. yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2.pyi +63 -0
  94. yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2_grpc.py +107 -0
  95. yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2_grpc.pyi +78 -0
  96. yandex/cloud/mdb/greenplum/v1/pxf_pb2.pyi +1 -1
  97. yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.py +15 -15
  98. yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.pyi +2 -0
  99. yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.py +15 -15
  100. yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.pyi +2 -0
  101. yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.py +15 -15
  102. yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.pyi +2 -0
  103. yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.py +15 -15
  104. yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.pyi +2 -0
  105. yandex/cloud/mdb/redis/v1/backup_service_pb2.py +19 -9
  106. yandex/cloud/mdb/redis/v1/backup_service_pb2.pyi +32 -0
  107. yandex/cloud/mdb/redis/v1/backup_service_pb2_grpc.py +35 -0
  108. yandex/cloud/mdb/redis/v1/backup_service_pb2_grpc.pyi +21 -0
  109. yandex/cloud/serverless/workflows/v1/history_entry_pb2.py +14 -10
  110. yandex/cloud/serverless/workflows/v1/history_entry_pb2.pyi +41 -2
  111. yandex/cloud/speechsense/v1/talk_service_pb2.py +7 -3
  112. yandex/cloud/storage/v1/s3api_pb2.py +31 -1
  113. yandex/cloud/storage/v1/s3api_pb2.pyi +359 -0
  114. {yandexcloud-0.319.0.dist-info → yandexcloud-0.321.0.dist-info}/METADATA +1 -1
  115. {yandexcloud-0.319.0.dist-info → yandexcloud-0.321.0.dist-info}/RECORD +119 -29
  116. {yandexcloud-0.319.0.dist-info → yandexcloud-0.321.0.dist-info}/AUTHORS +0 -0
  117. {yandexcloud-0.319.0.dist-info → yandexcloud-0.321.0.dist-info}/LICENSE +0 -0
  118. {yandexcloud-0.319.0.dist-info → yandexcloud-0.321.0.dist-info}/WHEEL +0 -0
  119. {yandexcloud-0.319.0.dist-info → yandexcloud-0.321.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,127 @@
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 sys
13
+ import typing
14
+
15
+ if sys.version_info >= (3, 10):
16
+ import typing as typing_extensions
17
+ else:
18
+ import typing_extensions
19
+
20
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
21
+
22
+ @typing.final
23
+ class CloudApplication(google.protobuf.message.Message):
24
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
25
+
26
+ class _Status:
27
+ ValueType = typing.NewType("ValueType", builtins.int)
28
+ V: typing_extensions.TypeAlias = ValueType
29
+
30
+ class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[CloudApplication._Status.ValueType], builtins.type):
31
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
32
+ STATUS_UNSPECIFIED: CloudApplication._Status.ValueType # 0
33
+ PROCESSING: CloudApplication._Status.ValueType # 1
34
+ """Application under deploying / updating /deleting"""
35
+ DEPLOYED: CloudApplication._Status.ValueType # 2
36
+ """Application successfully deployed to YC"""
37
+ FAILED: CloudApplication._Status.ValueType # 3
38
+ """Application failed to deploy"""
39
+
40
+ class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
41
+ STATUS_UNSPECIFIED: CloudApplication.Status.ValueType # 0
42
+ PROCESSING: CloudApplication.Status.ValueType # 1
43
+ """Application under deploying / updating /deleting"""
44
+ DEPLOYED: CloudApplication.Status.ValueType # 2
45
+ """Application successfully deployed to YC"""
46
+ FAILED: CloudApplication.Status.ValueType # 3
47
+ """Application failed to deploy"""
48
+
49
+ @typing.final
50
+ class Billing(google.protobuf.message.Message):
51
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
52
+
53
+ class _BillingType:
54
+ ValueType = typing.NewType("ValueType", builtins.int)
55
+ V: typing_extensions.TypeAlias = ValueType
56
+
57
+ class _BillingTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[CloudApplication.Billing._BillingType.ValueType], builtins.type):
58
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
59
+ BILLING_TYPE_UNSPECIFIED: CloudApplication.Billing._BillingType.ValueType # 0
60
+ PAY_AS_YOU_GO: CloudApplication.Billing._BillingType.ValueType # 1
61
+ """User pays for application usage time"""
62
+ SUBSCRIPTION: CloudApplication.Billing._BillingType.ValueType # 2
63
+ """User bought a subscription"""
64
+
65
+ class BillingType(_BillingType, metaclass=_BillingTypeEnumTypeWrapper): ...
66
+ BILLING_TYPE_UNSPECIFIED: CloudApplication.Billing.BillingType.ValueType # 0
67
+ PAY_AS_YOU_GO: CloudApplication.Billing.BillingType.ValueType # 1
68
+ """User pays for application usage time"""
69
+ SUBSCRIPTION: CloudApplication.Billing.BillingType.ValueType # 2
70
+ """User bought a subscription"""
71
+
72
+ @typing.final
73
+ class Subscription(google.protobuf.message.Message):
74
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
75
+
76
+ INSTANCE_ID_FIELD_NUMBER: builtins.int
77
+ TEMPLATE_ID_FIELD_NUMBER: builtins.int
78
+ instance_id: builtins.str
79
+ """Identifier of subscription instance"""
80
+ template_id: builtins.str
81
+ """Subscription template identifier"""
82
+ def __init__(
83
+ self,
84
+ *,
85
+ instance_id: builtins.str = ...,
86
+ template_id: builtins.str = ...,
87
+ ) -> None: ...
88
+ def ClearField(self, field_name: typing.Literal["instance_id", b"instance_id", "template_id", b"template_id"]) -> None: ...
89
+
90
+ TYPE_FIELD_NUMBER: builtins.int
91
+ SUBSCRIPTIONS_FIELD_NUMBER: builtins.int
92
+ type: global___CloudApplication.Billing.BillingType.ValueType
93
+ """Type of application billing"""
94
+ @property
95
+ def subscriptions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CloudApplication.Billing.Subscription]:
96
+ """Subscriptions bounded to cloud application"""
97
+
98
+ def __init__(
99
+ self,
100
+ *,
101
+ type: global___CloudApplication.Billing.BillingType.ValueType = ...,
102
+ subscriptions: collections.abc.Iterable[global___CloudApplication.Billing.Subscription] | None = ...,
103
+ ) -> None: ...
104
+ def ClearField(self, field_name: typing.Literal["subscriptions", b"subscriptions", "type", b"type"]) -> None: ...
105
+
106
+ ID_FIELD_NUMBER: builtins.int
107
+ STATUS_FIELD_NUMBER: builtins.int
108
+ BILLING_FIELD_NUMBER: builtins.int
109
+ id: builtins.str
110
+ """Application Identifier"""
111
+ status: global___CloudApplication.Status.ValueType
112
+ """Application Status"""
113
+ @property
114
+ def billing(self) -> global___CloudApplication.Billing:
115
+ """Application billing info"""
116
+
117
+ def __init__(
118
+ self,
119
+ *,
120
+ id: builtins.str = ...,
121
+ status: global___CloudApplication.Status.ValueType = ...,
122
+ billing: global___CloudApplication.Billing | None = ...,
123
+ ) -> None: ...
124
+ def HasField(self, field_name: typing.Literal["billing", b"billing"]) -> builtins.bool: ...
125
+ def ClearField(self, field_name: typing.Literal["billing", b"billing", "id", b"id", "status", b"status"]) -> None: ...
126
+
127
+ global___CloudApplication = CloudApplication
@@ -0,0 +1,4 @@
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
+
@@ -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,39 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: yandex/cloud/cloudapps/workload/v1/cloud_application_service.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import descriptor_pool as _descriptor_pool
7
+ from google.protobuf import symbol_database as _symbol_database
8
+ from google.protobuf.internal import builder as _builder
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
15
+ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
16
+ from yandex.cloud.cloudapps.workload.v1 import cloud_application_pb2 as yandex_dot_cloud_dot_cloudapps_dot_workload_dot_v1_dot_cloud__application__pb2
17
+
18
+
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nByandex/cloud/cloudapps/workload/v1/cloud_application_service.proto\x12\"yandex.cloud.cloudapps.workload.v1\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1dyandex/cloud/validation.proto\x1a:yandex/cloud/cloudapps/workload/v1/cloud_application.proto\"\xea\x01\n\x18ResolveByWorkloadRequest\x12\x66\n\rworkload_type\x18\x01 \x01(\x0e\x32I.yandex.cloud.cloudapps.workload.v1.ResolveByWorkloadRequest.WorkloadTypeB\x04\xe8\xc7\x31\x01\x12!\n\x0bworkload_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"C\n\x0cWorkloadType\x12\x1d\n\x19WORKLOAD_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x43OMPUTE_INSTANCE\x10\x01\"l\n\x19ResolveByWorkloadResponse\x12O\n\x11\x63loud_application\x18\x01 \x01(\x0b\x32\x34.yandex.cloud.cloudapps.workload.v1.CloudApplication2\x85\x02\n\x17\x43loudApplicationService\x12U\n\x03Get\x12\x16.google.protobuf.Empty\x1a\x34.yandex.cloud.cloudapps.workload.v1.CloudApplication\"\x00\x12\x92\x01\n\x11ResolveByWorkload\x12<.yandex.cloud.cloudapps.workload.v1.ResolveByWorkloadRequest\x1a=.yandex.cloud.cloudapps.workload.v1.ResolveByWorkloadResponse\"\x00\x42y\n&yandex.cloud.api.cloudapps.workload.v1ZOgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudapps/workload/v1;workloadb\x06proto3')
20
+
21
+ _globals = globals()
22
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
23
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.cloudapps.workload.v1.cloud_application_service_pb2', _globals)
24
+ if _descriptor._USE_C_DESCRIPTORS == False:
25
+ DESCRIPTOR._options = None
26
+ DESCRIPTOR._serialized_options = b'\n&yandex.cloud.api.cloudapps.workload.v1ZOgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudapps/workload/v1;workload'
27
+ _RESOLVEBYWORKLOADREQUEST.fields_by_name['workload_type']._options = None
28
+ _RESOLVEBYWORKLOADREQUEST.fields_by_name['workload_type']._serialized_options = b'\350\3071\001'
29
+ _RESOLVEBYWORKLOADREQUEST.fields_by_name['workload_id']._options = None
30
+ _RESOLVEBYWORKLOADREQUEST.fields_by_name['workload_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
31
+ _globals['_RESOLVEBYWORKLOADREQUEST']._serialized_start=227
32
+ _globals['_RESOLVEBYWORKLOADREQUEST']._serialized_end=461
33
+ _globals['_RESOLVEBYWORKLOADREQUEST_WORKLOADTYPE']._serialized_start=394
34
+ _globals['_RESOLVEBYWORKLOADREQUEST_WORKLOADTYPE']._serialized_end=461
35
+ _globals['_RESOLVEBYWORKLOADRESPONSE']._serialized_start=463
36
+ _globals['_RESOLVEBYWORKLOADRESPONSE']._serialized_end=571
37
+ _globals['_CLOUDAPPLICATIONSERVICE']._serialized_start=574
38
+ _globals['_CLOUDAPPLICATIONSERVICE']._serialized_end=835
39
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,73 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import google.protobuf.descriptor
8
+ import google.protobuf.internal.enum_type_wrapper
9
+ import google.protobuf.message
10
+ import sys
11
+ import typing
12
+ import yandex.cloud.cloudapps.workload.v1.cloud_application_pb2
13
+
14
+ if sys.version_info >= (3, 10):
15
+ import typing as typing_extensions
16
+ else:
17
+ import typing_extensions
18
+
19
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
20
+
21
+ @typing.final
22
+ class ResolveByWorkloadRequest(google.protobuf.message.Message):
23
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
24
+
25
+ class _WorkloadType:
26
+ ValueType = typing.NewType("ValueType", builtins.int)
27
+ V: typing_extensions.TypeAlias = ValueType
28
+
29
+ class _WorkloadTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ResolveByWorkloadRequest._WorkloadType.ValueType], builtins.type):
30
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
31
+ WORKLOAD_TYPE_UNSPECIFIED: ResolveByWorkloadRequest._WorkloadType.ValueType # 0
32
+ COMPUTE_INSTANCE: ResolveByWorkloadRequest._WorkloadType.ValueType # 1
33
+ """Compute Instance"""
34
+
35
+ class WorkloadType(_WorkloadType, metaclass=_WorkloadTypeEnumTypeWrapper): ...
36
+ WORKLOAD_TYPE_UNSPECIFIED: ResolveByWorkloadRequest.WorkloadType.ValueType # 0
37
+ COMPUTE_INSTANCE: ResolveByWorkloadRequest.WorkloadType.ValueType # 1
38
+ """Compute Instance"""
39
+
40
+ WORKLOAD_TYPE_FIELD_NUMBER: builtins.int
41
+ WORKLOAD_ID_FIELD_NUMBER: builtins.int
42
+ workload_type: global___ResolveByWorkloadRequest.WorkloadType.ValueType
43
+ """Type of workload. See WorkloadType."""
44
+ workload_id: builtins.str
45
+ """Identifier of workload"""
46
+ def __init__(
47
+ self,
48
+ *,
49
+ workload_type: global___ResolveByWorkloadRequest.WorkloadType.ValueType = ...,
50
+ workload_id: builtins.str = ...,
51
+ ) -> None: ...
52
+ def ClearField(self, field_name: typing.Literal["workload_id", b"workload_id", "workload_type", b"workload_type"]) -> None: ...
53
+
54
+ global___ResolveByWorkloadRequest = ResolveByWorkloadRequest
55
+
56
+ @typing.final
57
+ class ResolveByWorkloadResponse(google.protobuf.message.Message):
58
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
59
+
60
+ CLOUD_APPLICATION_FIELD_NUMBER: builtins.int
61
+ @property
62
+ def cloud_application(self) -> yandex.cloud.cloudapps.workload.v1.cloud_application_pb2.CloudApplication:
63
+ """Details of cloud application"""
64
+
65
+ def __init__(
66
+ self,
67
+ *,
68
+ cloud_application: yandex.cloud.cloudapps.workload.v1.cloud_application_pb2.CloudApplication | None = ...,
69
+ ) -> None: ...
70
+ def HasField(self, field_name: typing.Literal["cloud_application", b"cloud_application"]) -> builtins.bool: ...
71
+ def ClearField(self, field_name: typing.Literal["cloud_application", b"cloud_application"]) -> None: ...
72
+
73
+ global___ResolveByWorkloadResponse = ResolveByWorkloadResponse
@@ -0,0 +1,106 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
5
+ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
6
+ from yandex.cloud.cloudapps.workload.v1 import cloud_application_pb2 as yandex_dot_cloud_dot_cloudapps_dot_workload_dot_v1_dot_cloud__application__pb2
7
+ from yandex.cloud.cloudapps.workload.v1 import cloud_application_service_pb2 as yandex_dot_cloud_dot_cloudapps_dot_workload_dot_v1_dot_cloud__application__service__pb2
8
+
9
+
10
+ class CloudApplicationServiceStub(object):
11
+ """Cloud Application Service to be used by Workload software inside Cloud Application installations
12
+ """
13
+
14
+ def __init__(self, channel):
15
+ """Constructor.
16
+
17
+ Args:
18
+ channel: A grpc.Channel.
19
+ """
20
+ self.Get = channel.unary_unary(
21
+ '/yandex.cloud.cloudapps.workload.v1.CloudApplicationService/Get',
22
+ request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
23
+ response_deserializer=yandex_dot_cloud_dot_cloudapps_dot_workload_dot_v1_dot_cloud__application__pb2.CloudApplication.FromString,
24
+ )
25
+ self.ResolveByWorkload = channel.unary_unary(
26
+ '/yandex.cloud.cloudapps.workload.v1.CloudApplicationService/ResolveByWorkload',
27
+ request_serializer=yandex_dot_cloud_dot_cloudapps_dot_workload_dot_v1_dot_cloud__application__service__pb2.ResolveByWorkloadRequest.SerializeToString,
28
+ response_deserializer=yandex_dot_cloud_dot_cloudapps_dot_workload_dot_v1_dot_cloud__application__service__pb2.ResolveByWorkloadResponse.FromString,
29
+ )
30
+
31
+
32
+ class CloudApplicationServiceServicer(object):
33
+ """Cloud Application Service to be used by Workload software inside Cloud Application installations
34
+ """
35
+
36
+ def Get(self, request, context):
37
+ """Get Current Application
38
+ """
39
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
40
+ context.set_details('Method not implemented!')
41
+ raise NotImplementedError('Method not implemented!')
42
+
43
+ def ResolveByWorkload(self, request, context):
44
+ """Resolve Cloud Application by workload
45
+ """
46
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
47
+ context.set_details('Method not implemented!')
48
+ raise NotImplementedError('Method not implemented!')
49
+
50
+
51
+ def add_CloudApplicationServiceServicer_to_server(servicer, server):
52
+ rpc_method_handlers = {
53
+ 'Get': grpc.unary_unary_rpc_method_handler(
54
+ servicer.Get,
55
+ request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
56
+ response_serializer=yandex_dot_cloud_dot_cloudapps_dot_workload_dot_v1_dot_cloud__application__pb2.CloudApplication.SerializeToString,
57
+ ),
58
+ 'ResolveByWorkload': grpc.unary_unary_rpc_method_handler(
59
+ servicer.ResolveByWorkload,
60
+ request_deserializer=yandex_dot_cloud_dot_cloudapps_dot_workload_dot_v1_dot_cloud__application__service__pb2.ResolveByWorkloadRequest.FromString,
61
+ response_serializer=yandex_dot_cloud_dot_cloudapps_dot_workload_dot_v1_dot_cloud__application__service__pb2.ResolveByWorkloadResponse.SerializeToString,
62
+ ),
63
+ }
64
+ generic_handler = grpc.method_handlers_generic_handler(
65
+ 'yandex.cloud.cloudapps.workload.v1.CloudApplicationService', rpc_method_handlers)
66
+ server.add_generic_rpc_handlers((generic_handler,))
67
+
68
+
69
+ # This class is part of an EXPERIMENTAL API.
70
+ class CloudApplicationService(object):
71
+ """Cloud Application Service to be used by Workload software inside Cloud Application installations
72
+ """
73
+
74
+ @staticmethod
75
+ def Get(request,
76
+ target,
77
+ options=(),
78
+ channel_credentials=None,
79
+ call_credentials=None,
80
+ insecure=False,
81
+ compression=None,
82
+ wait_for_ready=None,
83
+ timeout=None,
84
+ metadata=None):
85
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.cloudapps.workload.v1.CloudApplicationService/Get',
86
+ google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
87
+ yandex_dot_cloud_dot_cloudapps_dot_workload_dot_v1_dot_cloud__application__pb2.CloudApplication.FromString,
88
+ options, channel_credentials,
89
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
90
+
91
+ @staticmethod
92
+ def ResolveByWorkload(request,
93
+ target,
94
+ options=(),
95
+ channel_credentials=None,
96
+ call_credentials=None,
97
+ insecure=False,
98
+ compression=None,
99
+ wait_for_ready=None,
100
+ timeout=None,
101
+ metadata=None):
102
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.cloudapps.workload.v1.CloudApplicationService/ResolveByWorkload',
103
+ yandex_dot_cloud_dot_cloudapps_dot_workload_dot_v1_dot_cloud__application__service__pb2.ResolveByWorkloadRequest.SerializeToString,
104
+ yandex_dot_cloud_dot_cloudapps_dot_workload_dot_v1_dot_cloud__application__service__pb2.ResolveByWorkloadResponse.FromString,
105
+ options, channel_credentials,
106
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -0,0 +1,72 @@
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 google.protobuf.empty_pb2
9
+ import grpc
10
+ import grpc.aio
11
+ import typing
12
+ import yandex.cloud.cloudapps.workload.v1.cloud_application_pb2
13
+ import yandex.cloud.cloudapps.workload.v1.cloud_application_service_pb2
14
+
15
+ _T = typing.TypeVar("_T")
16
+
17
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
18
+
19
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
20
+ ...
21
+
22
+ class CloudApplicationServiceStub:
23
+ """Cloud Application Service to be used by Workload software inside Cloud Application installations"""
24
+
25
+ def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
26
+ Get: grpc.UnaryUnaryMultiCallable[
27
+ google.protobuf.empty_pb2.Empty,
28
+ yandex.cloud.cloudapps.workload.v1.cloud_application_pb2.CloudApplication,
29
+ ]
30
+ """Get Current Application"""
31
+
32
+ ResolveByWorkload: grpc.UnaryUnaryMultiCallable[
33
+ yandex.cloud.cloudapps.workload.v1.cloud_application_service_pb2.ResolveByWorkloadRequest,
34
+ yandex.cloud.cloudapps.workload.v1.cloud_application_service_pb2.ResolveByWorkloadResponse,
35
+ ]
36
+ """Resolve Cloud Application by workload"""
37
+
38
+ class CloudApplicationServiceAsyncStub:
39
+ """Cloud Application Service to be used by Workload software inside Cloud Application installations"""
40
+
41
+ Get: grpc.aio.UnaryUnaryMultiCallable[
42
+ google.protobuf.empty_pb2.Empty,
43
+ yandex.cloud.cloudapps.workload.v1.cloud_application_pb2.CloudApplication,
44
+ ]
45
+ """Get Current Application"""
46
+
47
+ ResolveByWorkload: grpc.aio.UnaryUnaryMultiCallable[
48
+ yandex.cloud.cloudapps.workload.v1.cloud_application_service_pb2.ResolveByWorkloadRequest,
49
+ yandex.cloud.cloudapps.workload.v1.cloud_application_service_pb2.ResolveByWorkloadResponse,
50
+ ]
51
+ """Resolve Cloud Application by workload"""
52
+
53
+ class CloudApplicationServiceServicer(metaclass=abc.ABCMeta):
54
+ """Cloud Application Service to be used by Workload software inside Cloud Application installations"""
55
+
56
+ @abc.abstractmethod
57
+ def Get(
58
+ self,
59
+ request: google.protobuf.empty_pb2.Empty,
60
+ context: _ServicerContext,
61
+ ) -> typing.Union[yandex.cloud.cloudapps.workload.v1.cloud_application_pb2.CloudApplication, collections.abc.Awaitable[yandex.cloud.cloudapps.workload.v1.cloud_application_pb2.CloudApplication]]:
62
+ """Get Current Application"""
63
+
64
+ @abc.abstractmethod
65
+ def ResolveByWorkload(
66
+ self,
67
+ request: yandex.cloud.cloudapps.workload.v1.cloud_application_service_pb2.ResolveByWorkloadRequest,
68
+ context: _ServicerContext,
69
+ ) -> typing.Union[yandex.cloud.cloudapps.workload.v1.cloud_application_service_pb2.ResolveByWorkloadResponse, collections.abc.Awaitable[yandex.cloud.cloudapps.workload.v1.cloud_application_service_pb2.ResolveByWorkloadResponse]]:
70
+ """Resolve Cloud Application by workload"""
71
+
72
+ def add_CloudApplicationServiceServicer_to_server(servicer: CloudApplicationServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
@@ -16,7 +16,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
16
16
  from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
17
17
 
18
18
 
19
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*yandex/cloud/datasphere/v2/jobs/jobs.proto\x12\x1fyandex.cloud.datasphere.v2.jobs\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x1egoogle/protobuf/duration.proto\"\xc0\x05\n\rJobParameters\x12:\n\x0binput_files\x18\x01 \x03(\x0b\x32%.yandex.cloud.datasphere.v2.jobs.File\x12?\n\x0coutput_files\x18\x02 \x03(\x0b\x32).yandex.cloud.datasphere.v2.jobs.FileDesc\x12\x14\n\x0cs3_mount_ids\x18\x03 \x03(\t\x12\x13\n\x0b\x64\x61taset_ids\x18\x04 \x03(\t\x12\x0b\n\x03\x63md\x18\x05 \x01(\t\x12\x39\n\x03\x65nv\x18\x06 \x01(\x0b\x32,.yandex.cloud.datasphere.v2.jobs.Environment\x12\x1b\n\x13\x61ttach_project_disk\x18\x07 \x01(\x08\x12Y\n\x14\x63loud_instance_types\x18\x08 \x03(\x0b\x32\x32.yandex.cloud.datasphere.v2.jobs.CloudInstanceTypeB\x07\x82\xc8\x31\x03>=1\x12Y\n\x18\x65xtended_working_storage\x18\t \x01(\x0b\x32\x37.yandex.cloud.datasphere.v2.jobs.ExtendedWorkingStorage\x12<\n\targuments\x18\n \x03(\x0b\x32).yandex.cloud.datasphere.v2.jobs.Argument\x12K\n\x0foutput_datasets\x18\x0b \x03(\x0b\x32\x32.yandex.cloud.datasphere.v2.jobs.OutputDatasetDesc\x12\x61\n\x1cgraceful_shutdown_parameters\x18\x0c \x01(\x0b\x32;.yandex.cloud.datasphere.v2.jobs.GracefulShutdownParameters\"!\n\x11\x43loudInstanceType\x12\x0c\n\x04name\x18\x01 \x01(\t\"\xb2\x01\n\x16\x45xtendedWorkingStorage\x12Q\n\x04type\x18\x01 \x01(\x0e\x32\x43.yandex.cloud.datasphere.v2.jobs.ExtendedWorkingStorage.StorageType\x12\x0f\n\x07size_gb\x18\x02 \x01(\x03\"4\n\x0bStorageType\x12\x1c\n\x18STORAGE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03SSD\x10\x01\"\'\n\x08\x41rgument\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"\xb3\x01\n\x04\x46ile\x12\x37\n\x04\x64\x65sc\x18\x01 \x01(\x0b\x32).yandex.cloud.datasphere.v2.jobs.FileDesc\x12\x0e\n\x06sha256\x18\x02 \x01(\t\x12\x12\n\nsize_bytes\x18\x03 \x01(\x03\x12N\n\x10\x63ompression_type\x18\x04 \x01(\x0e\x32\x34.yandex.cloud.datasphere.v2.jobs.FileCompressionType\"O\n\x0bStorageFile\x12\x33\n\x04\x66ile\x18\x01 \x01(\x0b\x32%.yandex.cloud.datasphere.v2.jobs.File\x12\x0b\n\x03url\x18\x02 \x01(\t\"%\n\x08\x46ileDesc\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x0b\n\x03var\x18\x02 \x01(\t\"\xc3\x02\n\x0b\x45nvironment\x12\x44\n\x04vars\x18\x01 \x03(\x0b\x32\x36.yandex.cloud.datasphere.v2.jobs.Environment.VarsEntry\x12\"\n\x18\x64ocker_image_resource_id\x18\x02 \x01(\tH\x00\x12M\n\x11\x64ocker_image_spec\x18\x03 \x01(\x0b\x32\x30.yandex.cloud.datasphere.v2.jobs.DockerImageSpecH\x00\x12>\n\npython_env\x18\x04 \x01(\x0b\x32*.yandex.cloud.datasphere.v2.jobs.PythonEnv\x1a+\n\tVarsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0c\x64ocker_image\"\x84\x01\n\x0f\x44ockerImageSpec\x12\x11\n\timage_url\x18\x01 \x01(\t\x12\x10\n\x08username\x18\x02 \x01(\t\x12\x1d\n\x13password_plain_text\x18\x03 \x01(\tH\x00\x12!\n\x17password_ds_secret_name\x18\x04 \x01(\tH\x00\x42\n\n\x08password\"]\n\tPythonEnv\x12\x12\n\nconda_yaml\x18\x01 \x01(\t\x12<\n\rlocal_modules\x18\x02 \x03(\x0b\x32%.yandex.cloud.datasphere.v2.jobs.File\"\xd3\x01\n\x11OutputDatasetDesc\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12N\n\x06labels\x18\x03 \x03(\x0b\x32>.yandex.cloud.datasphere.v2.jobs.OutputDatasetDesc.LabelsEntry\x12\x0f\n\x07size_gb\x18\x04 \x01(\x03\x12\x0b\n\x03var\x18\x05 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"]\n\rOutputDataset\x12@\n\x04\x64\x65sc\x18\x01 \x01(\x0b\x32\x32.yandex.cloud.datasphere.v2.jobs.OutputDatasetDesc\x12\n\n\x02id\x18\x02 \x01(\t\"\x99\x05\n\x03Job\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04\x64\x65sc\x18\x03 \x01(\t\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nstarted_at\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inished_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x06status\x18\x06 \x01(\x0e\x32*.yandex.cloud.datasphere.v2.jobs.JobStatus\x12\x0e\n\x06\x63onfig\x18\x07 \x01(\t\x12\x15\n\rcreated_by_id\x18\x08 \x01(\t\x12\x12\n\nproject_id\x18\t \x01(\t\x12\x46\n\x0ejob_parameters\x18\n \x01(\x0b\x32..yandex.cloud.datasphere.v2.jobs.JobParameters\x12\x33\n\x0f\x64\x61ta_expires_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0c\x64\x61ta_cleared\x18\x0c \x01(\x08\x12;\n\x0coutput_files\x18\r \x03(\x0b\x32%.yandex.cloud.datasphere.v2.jobs.File\x12\x38\n\tlog_files\x18\x0e \x03(\x0b\x32%.yandex.cloud.datasphere.v2.jobs.File\x12?\n\x10\x64iagnostic_files\x18\x0f \x03(\x0b\x32%.yandex.cloud.datasphere.v2.jobs.File\x12\x17\n\x0f\x64\x61ta_size_bytes\x18\x10 \x01(\x03\" \n\tJobResult\x12\x13\n\x0breturn_code\x18\x01 \x01(\x03\"X\n\x1aGracefulShutdownParameters\x12*\n\x07timeout\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0e\n\x06signal\x18\x02 \x01(\x03*O\n\x13\x46ileCompressionType\x12%\n!FILE_COMPRESSION_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x07\n\x03ZIP\x10\x02*\x91\x01\n\tJobStatus\x12\x1a\n\x16JOB_STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\r\n\tEXECUTING\x10\x02\x12\x14\n\x10UPLOADING_OUTPUT\x10\x03\x12\x0b\n\x07SUCCESS\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\r\n\tCANCELLED\x10\x06\x12\x0e\n\nCANCELLING\x10\x07\x42{\n#yandex.cloud.api.datasphere.v2.jobsB\x04JobsZNgithub.com/yandex-cloud/go-genproto/yandex/cloud/datasphere/v2/jobs;datasphereb\x06proto3')
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*yandex/cloud/datasphere/v2/jobs/jobs.proto\x12\x1fyandex.cloud.datasphere.v2.jobs\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x1egoogle/protobuf/duration.proto\"\xc0\x05\n\rJobParameters\x12:\n\x0binput_files\x18\x01 \x03(\x0b\x32%.yandex.cloud.datasphere.v2.jobs.File\x12?\n\x0coutput_files\x18\x02 \x03(\x0b\x32).yandex.cloud.datasphere.v2.jobs.FileDesc\x12\x14\n\x0cs3_mount_ids\x18\x03 \x03(\t\x12\x13\n\x0b\x64\x61taset_ids\x18\x04 \x03(\t\x12\x0b\n\x03\x63md\x18\x05 \x01(\t\x12\x39\n\x03\x65nv\x18\x06 \x01(\x0b\x32,.yandex.cloud.datasphere.v2.jobs.Environment\x12\x1b\n\x13\x61ttach_project_disk\x18\x07 \x01(\x08\x12Y\n\x14\x63loud_instance_types\x18\x08 \x03(\x0b\x32\x32.yandex.cloud.datasphere.v2.jobs.CloudInstanceTypeB\x07\x82\xc8\x31\x03>=1\x12Y\n\x18\x65xtended_working_storage\x18\t \x01(\x0b\x32\x37.yandex.cloud.datasphere.v2.jobs.ExtendedWorkingStorage\x12<\n\targuments\x18\n \x03(\x0b\x32).yandex.cloud.datasphere.v2.jobs.Argument\x12K\n\x0foutput_datasets\x18\x0b \x03(\x0b\x32\x32.yandex.cloud.datasphere.v2.jobs.OutputDatasetDesc\x12\x61\n\x1cgraceful_shutdown_parameters\x18\x0c \x01(\x0b\x32;.yandex.cloud.datasphere.v2.jobs.GracefulShutdownParameters\"!\n\x11\x43loudInstanceType\x12\x0c\n\x04name\x18\x01 \x01(\t\"\xb2\x01\n\x16\x45xtendedWorkingStorage\x12Q\n\x04type\x18\x01 \x01(\x0e\x32\x43.yandex.cloud.datasphere.v2.jobs.ExtendedWorkingStorage.StorageType\x12\x0f\n\x07size_gb\x18\x02 \x01(\x03\"4\n\x0bStorageType\x12\x1c\n\x18STORAGE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03SSD\x10\x01\"\'\n\x08\x41rgument\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"\xb3\x01\n\x04\x46ile\x12\x37\n\x04\x64\x65sc\x18\x01 \x01(\x0b\x32).yandex.cloud.datasphere.v2.jobs.FileDesc\x12\x0e\n\x06sha256\x18\x02 \x01(\t\x12\x12\n\nsize_bytes\x18\x03 \x01(\x03\x12N\n\x10\x63ompression_type\x18\x04 \x01(\x0e\x32\x34.yandex.cloud.datasphere.v2.jobs.FileCompressionType\"O\n\x0bStorageFile\x12\x33\n\x04\x66ile\x18\x01 \x01(\x0b\x32%.yandex.cloud.datasphere.v2.jobs.File\x12\x0b\n\x03url\x18\x02 \x01(\t\"%\n\x08\x46ileDesc\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x0b\n\x03var\x18\x02 \x01(\t\"\x93\x01\n\x0f\x46ileUploadError\x12\x45\n\x10output_file_desc\x18\x01 \x01(\x0b\x32).yandex.cloud.datasphere.v2.jobs.FileDescH\x00\x12\x17\n\rlog_file_name\x18\x02 \x01(\tH\x00\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x0b\n\tfile_type\"\xc3\x02\n\x0b\x45nvironment\x12\x44\n\x04vars\x18\x01 \x03(\x0b\x32\x36.yandex.cloud.datasphere.v2.jobs.Environment.VarsEntry\x12\"\n\x18\x64ocker_image_resource_id\x18\x02 \x01(\tH\x00\x12M\n\x11\x64ocker_image_spec\x18\x03 \x01(\x0b\x32\x30.yandex.cloud.datasphere.v2.jobs.DockerImageSpecH\x00\x12>\n\npython_env\x18\x04 \x01(\x0b\x32*.yandex.cloud.datasphere.v2.jobs.PythonEnv\x1a+\n\tVarsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0c\x64ocker_image\"\x84\x01\n\x0f\x44ockerImageSpec\x12\x11\n\timage_url\x18\x01 \x01(\t\x12\x10\n\x08username\x18\x02 \x01(\t\x12\x1d\n\x13password_plain_text\x18\x03 \x01(\tH\x00\x12!\n\x17password_ds_secret_name\x18\x04 \x01(\tH\x00\x42\n\n\x08password\"]\n\tPythonEnv\x12\x12\n\nconda_yaml\x18\x01 \x01(\t\x12<\n\rlocal_modules\x18\x02 \x03(\x0b\x32%.yandex.cloud.datasphere.v2.jobs.File\"\xd3\x01\n\x11OutputDatasetDesc\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12N\n\x06labels\x18\x03 \x03(\x0b\x32>.yandex.cloud.datasphere.v2.jobs.OutputDatasetDesc.LabelsEntry\x12\x0f\n\x07size_gb\x18\x04 \x01(\x03\x12\x0b\n\x03var\x18\x05 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"]\n\rOutputDataset\x12@\n\x04\x64\x65sc\x18\x01 \x01(\x0b\x32\x32.yandex.cloud.datasphere.v2.jobs.OutputDatasetDesc\x12\n\n\x02id\x18\x02 \x01(\t\"\xb0\x07\n\x03Job\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04\x64\x65sc\x18\x03 \x01(\t\x12.\n\ncreated_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:\n\x06status\x18\x06 \x01(\x0e\x32*.yandex.cloud.datasphere.v2.jobs.JobStatus\x12\x0e\n\x06\x63onfig\x18\x07 \x01(\t\x12\x15\n\rcreated_by_id\x18\x08 \x01(\t\x12\x12\n\nproject_id\x18\t \x01(\t\x12\x46\n\x0ejob_parameters\x18\n \x01(\x0b\x32..yandex.cloud.datasphere.v2.jobs.JobParameters\x12\x33\n\x0f\x64\x61ta_expires_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0c\x64\x61ta_cleared\x18\x0c \x01(\x08\x12;\n\x0coutput_files\x18\r \x03(\x0b\x32%.yandex.cloud.datasphere.v2.jobs.File\x12\x38\n\tlog_files\x18\x0e \x03(\x0b\x32%.yandex.cloud.datasphere.v2.jobs.File\x12?\n\x10\x64iagnostic_files\x18\x0f \x03(\x0b\x32%.yandex.cloud.datasphere.v2.jobs.File\x12\x17\n\x0f\x64\x61ta_size_bytes\x18\x10 \x01(\x03\x12.\n\nstarted_at\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0estatus_details\x18\x12 \x01(\t\x12V\n\x1a\x61\x63tual_cloud_instance_type\x18\x13 \x01(\x0b\x32\x32.yandex.cloud.datasphere.v2.jobs.CloudInstanceType\x12\x15\n\rparent_job_id\x18\x14 \x01(\t\x12\x45\n\x0b\x66ile_errors\x18\x15 \x03(\x0b\x32\x30.yandex.cloud.datasphere.v2.jobs.FileUploadError\x12G\n\x0foutput_datasets\x18\x16 \x03(\x0b\x32..yandex.cloud.datasphere.v2.jobs.OutputDataset\" \n\tJobResult\x12\x13\n\x0breturn_code\x18\x01 \x01(\x03\"X\n\x1aGracefulShutdownParameters\x12*\n\x07timeout\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0e\n\x06signal\x18\x02 \x01(\x03*O\n\x13\x46ileCompressionType\x12%\n!FILE_COMPRESSION_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x07\n\x03ZIP\x10\x02*\x91\x01\n\tJobStatus\x12\x1a\n\x16JOB_STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\r\n\tEXECUTING\x10\x02\x12\x14\n\x10UPLOADING_OUTPUT\x10\x03\x12\x0b\n\x07SUCCESS\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\r\n\tCANCELLED\x10\x06\x12\x0e\n\nCANCELLING\x10\x07\x42{\n#yandex.cloud.api.datasphere.v2.jobsB\x04JobsZNgithub.com/yandex-cloud/go-genproto/yandex/cloud/datasphere/v2/jobs;datasphereb\x06proto3')
20
20
 
21
21
  _globals = globals()
22
22
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -30,10 +30,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
30
30
  _ENVIRONMENT_VARSENTRY._serialized_options = b'8\001'
31
31
  _OUTPUTDATASETDESC_LABELSENTRY._options = None
32
32
  _OUTPUTDATASETDESC_LABELSENTRY._serialized_options = b'8\001'
33
- _globals['_FILECOMPRESSIONTYPE']._serialized_start=3098
34
- _globals['_FILECOMPRESSIONTYPE']._serialized_end=3177
35
- _globals['_JOBSTATUS']._serialized_start=3180
36
- _globals['_JOBSTATUS']._serialized_end=3325
33
+ _globals['_FILECOMPRESSIONTYPE']._serialized_start=3527
34
+ _globals['_FILECOMPRESSIONTYPE']._serialized_end=3606
35
+ _globals['_JOBSTATUS']._serialized_start=3609
36
+ _globals['_JOBSTATUS']._serialized_end=3754
37
37
  _globals['_JOBPARAMETERS']._serialized_start=176
38
38
  _globals['_JOBPARAMETERS']._serialized_end=880
39
39
  _globals['_CLOUDINSTANCETYPE']._serialized_start=882
@@ -50,24 +50,26 @@ if _descriptor._USE_C_DESCRIPTORS == False:
50
50
  _globals['_STORAGEFILE']._serialized_end=1400
51
51
  _globals['_FILEDESC']._serialized_start=1402
52
52
  _globals['_FILEDESC']._serialized_end=1439
53
- _globals['_ENVIRONMENT']._serialized_start=1442
54
- _globals['_ENVIRONMENT']._serialized_end=1765
55
- _globals['_ENVIRONMENT_VARSENTRY']._serialized_start=1706
56
- _globals['_ENVIRONMENT_VARSENTRY']._serialized_end=1749
57
- _globals['_DOCKERIMAGESPEC']._serialized_start=1768
58
- _globals['_DOCKERIMAGESPEC']._serialized_end=1900
59
- _globals['_PYTHONENV']._serialized_start=1902
60
- _globals['_PYTHONENV']._serialized_end=1995
61
- _globals['_OUTPUTDATASETDESC']._serialized_start=1998
62
- _globals['_OUTPUTDATASETDESC']._serialized_end=2209
63
- _globals['_OUTPUTDATASETDESC_LABELSENTRY']._serialized_start=2164
64
- _globals['_OUTPUTDATASETDESC_LABELSENTRY']._serialized_end=2209
65
- _globals['_OUTPUTDATASET']._serialized_start=2211
66
- _globals['_OUTPUTDATASET']._serialized_end=2304
67
- _globals['_JOB']._serialized_start=2307
68
- _globals['_JOB']._serialized_end=2972
69
- _globals['_JOBRESULT']._serialized_start=2974
70
- _globals['_JOBRESULT']._serialized_end=3006
71
- _globals['_GRACEFULSHUTDOWNPARAMETERS']._serialized_start=3008
72
- _globals['_GRACEFULSHUTDOWNPARAMETERS']._serialized_end=3096
53
+ _globals['_FILEUPLOADERROR']._serialized_start=1442
54
+ _globals['_FILEUPLOADERROR']._serialized_end=1589
55
+ _globals['_ENVIRONMENT']._serialized_start=1592
56
+ _globals['_ENVIRONMENT']._serialized_end=1915
57
+ _globals['_ENVIRONMENT_VARSENTRY']._serialized_start=1856
58
+ _globals['_ENVIRONMENT_VARSENTRY']._serialized_end=1899
59
+ _globals['_DOCKERIMAGESPEC']._serialized_start=1918
60
+ _globals['_DOCKERIMAGESPEC']._serialized_end=2050
61
+ _globals['_PYTHONENV']._serialized_start=2052
62
+ _globals['_PYTHONENV']._serialized_end=2145
63
+ _globals['_OUTPUTDATASETDESC']._serialized_start=2148
64
+ _globals['_OUTPUTDATASETDESC']._serialized_end=2359
65
+ _globals['_OUTPUTDATASETDESC_LABELSENTRY']._serialized_start=2314
66
+ _globals['_OUTPUTDATASETDESC_LABELSENTRY']._serialized_end=2359
67
+ _globals['_OUTPUTDATASET']._serialized_start=2361
68
+ _globals['_OUTPUTDATASET']._serialized_end=2454
69
+ _globals['_JOB']._serialized_start=2457
70
+ _globals['_JOB']._serialized_end=3401
71
+ _globals['_JOBRESULT']._serialized_start=3403
72
+ _globals['_JOBRESULT']._serialized_end=3435
73
+ _globals['_GRACEFULSHUTDOWNPARAMETERS']._serialized_start=3437
74
+ _globals['_GRACEFULSHUTDOWNPARAMETERS']._serialized_end=3525
73
75
  # @@protoc_insertion_point(module_scope)