yandexcloud 0.349.0__py3-none-any.whl → 0.351.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 (160) hide show
  1. yandex/cloud/ai/assistants/v1/assistant_pb2.py +4 -4
  2. yandex/cloud/ai/assistants/v1/assistant_pb2.pyi +8 -2
  3. yandex/cloud/ai/assistants/v1/assistant_service_pb2.py +26 -26
  4. yandex/cloud/ai/assistants/v1/assistant_service_pb2.pyi +14 -4
  5. yandex/cloud/ai/assistants/v1/common_pb2.py +5 -1
  6. yandex/cloud/ai/assistants/v1/common_pb2.pyi +50 -0
  7. yandex/cloud/ai/assistants/v1/runs/run_pb2.py +10 -10
  8. yandex/cloud/ai/assistants/v1/runs/run_pb2.pyi +8 -2
  9. yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +28 -28
  10. yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +8 -2
  11. yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.pyi +2 -2
  12. yandex/cloud/ai/foundation_models/v1/text_common_pb2.py +20 -16
  13. yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +62 -1
  14. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +24 -23
  15. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +15 -2
  16. yandex/cloud/ai/ocr/v1/ocr_pb2.py +24 -20
  17. yandex/cloud/ai/ocr/v1/ocr_pb2.pyi +72 -2
  18. yandex/cloud/ai/stt/v3/stt_pb2.pyi +1 -1
  19. yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +13 -3
  20. yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +40 -0
  21. yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +43 -0
  22. yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +17 -0
  23. yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +4 -4
  24. yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +2 -0
  25. yandex/cloud/apploadbalancer/v1/load_balancer_pb2.py +39 -37
  26. yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +10 -2
  27. yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.py +110 -87
  28. yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.pyi +96 -0
  29. yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.py +88 -0
  30. yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.pyi +40 -0
  31. yandex/cloud/backup/v1/policy_pb2.py +56 -52
  32. yandex/cloud/backup/v1/policy_pb2.pyi +64 -1
  33. yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.py +4 -4
  34. yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.pyi +5 -1
  35. yandex/cloud/clouddesktop/v1/desktop_group_pb2.py +20 -14
  36. yandex/cloud/clouddesktop/v1/desktop_group_pb2.pyi +31 -2
  37. yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.py +16 -16
  38. yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.pyi +11 -2
  39. yandex/cloud/clouddesktop/v1/desktop_image_service_pb2.pyi +8 -2
  40. yandex/cloud/dataproc/v1/cluster_pb2.py +20 -20
  41. yandex/cloud/dataproc/v1/cluster_pb2.pyi +5 -1
  42. yandex/cloud/dataproc/v1/cluster_service_pb2.py +40 -40
  43. yandex/cloud/dataproc/v1/cluster_service_pb2.pyi +10 -2
  44. yandex/cloud/datatransfer/v1/endpoint/common_pb2.py +8 -8
  45. yandex/cloud/datatransfer/v1/endpoint/common_pb2.pyi +1 -5
  46. yandex/cloud/datatransfer/v1/endpoint/mongo_pb2.py +12 -10
  47. yandex/cloud/datatransfer/v1/endpoint/mongo_pb2.pyi +26 -3
  48. yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +1 -1
  49. yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +1 -1
  50. yandex/cloud/gitlab/v1/instance_pb2.pyi +58 -4
  51. yandex/cloud/gitlab/v1/instance_service_pb2.py +50 -27
  52. yandex/cloud/gitlab/v1/instance_service_pb2.pyi +163 -2
  53. yandex/cloud/gitlab/v1/instance_service_pb2_grpc.py +62 -9
  54. yandex/cloud/gitlab/v1/instance_service_pb2_grpc.pyi +50 -6
  55. yandex/cloud/gitlab/v1/maintenance_pb2.pyi +10 -3
  56. yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.py +26 -22
  57. yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.pyi +34 -1
  58. yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.py +86 -63
  59. yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.pyi +86 -0
  60. yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2_grpc.py +88 -0
  61. yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2_grpc.pyi +40 -0
  62. yandex/cloud/mdb/clickhouse/v1/cluster_pb2.py +52 -46
  63. yandex/cloud/mdb/clickhouse/v1/cluster_pb2.pyi +63 -8
  64. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +170 -170
  65. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +54 -10
  66. yandex/cloud/mdb/clickhouse/v1/database_pb2.py +6 -4
  67. yandex/cloud/mdb/clickhouse/v1/database_pb2.pyi +35 -3
  68. yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.py +3 -3
  69. yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.pyi +4 -0
  70. yandex/cloud/mdb/kafka/v1/cluster_pb2.py +42 -38
  71. yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +48 -4
  72. yandex/cloud/mdb/mongodb/v1/cluster_pb2.py +142 -142
  73. yandex/cloud/mdb/mongodb/v1/cluster_pb2.pyi +8 -2
  74. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.py +234 -234
  75. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.pyi +16 -4
  76. yandex/cloud/mdb/mysql/v1/cluster_pb2.py +38 -32
  77. yandex/cloud/mdb/mysql/v1/cluster_pb2.pyi +40 -4
  78. yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +96 -96
  79. yandex/cloud/mdb/mysql/v1/cluster_service_pb2.pyi +24 -6
  80. yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.py +26 -24
  81. yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.pyi +12 -2
  82. yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.py +26 -24
  83. yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.pyi +12 -2
  84. yandex/cloud/mdb/opensearch/v1/cluster_pb2.py +46 -45
  85. yandex/cloud/mdb/opensearch/v1/cluster_pb2.pyi +9 -2
  86. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +140 -139
  87. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +17 -4
  88. yandex/cloud/mdb/postgresql/v1/cluster_pb2.py +42 -42
  89. yandex/cloud/mdb/postgresql/v1/cluster_pb2.pyi +8 -2
  90. yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +98 -98
  91. yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +16 -4
  92. yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.py +38 -36
  93. yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.pyi +24 -1
  94. yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.py +38 -36
  95. yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.pyi +24 -1
  96. yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.py +38 -36
  97. yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.pyi +24 -1
  98. yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.py +38 -36
  99. yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.pyi +24 -1
  100. yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.py +38 -36
  101. yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.pyi +24 -1
  102. yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.py +38 -36
  103. yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.pyi +24 -1
  104. yandex/cloud/mdb/postgresql/v1/database_pb2.py +6 -4
  105. yandex/cloud/mdb/postgresql/v1/database_pb2.pyi +1 -1
  106. yandex/cloud/mdb/redis/v1/cluster_pb2.py +36 -36
  107. yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +8 -2
  108. yandex/cloud/mdb/redis/v1/cluster_service_pb2.py +114 -114
  109. yandex/cloud/mdb/redis/v1/cluster_service_pb2.pyi +16 -4
  110. yandex/cloud/metastore/v1/cluster_pb2.py +16 -20
  111. yandex/cloud/metastore/v1/cluster_pb2.pyi +1 -31
  112. yandex/cloud/metastore/v1/cluster_service_pb2.py +44 -50
  113. yandex/cloud/metastore/v1/cluster_service_pb2.pyi +3 -35
  114. yandex/cloud/metastore/v1/cluster_service_pb2_grpc.py +4 -4
  115. yandex/cloud/metastore/v1/cluster_service_pb2_grpc.pyi +12 -12
  116. yandex/cloud/monitoring/v3/chart_widget_pb2.py +60 -44
  117. yandex/cloud/monitoring/v3/chart_widget_pb2.pyi +151 -6
  118. yandex/cloud/monitoring/v3/dashboard_service_pb2.py +36 -34
  119. yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +13 -7
  120. yandex/cloud/monitoring/v3/link_pb2.py +8 -4
  121. yandex/cloud/monitoring/v3/link_pb2.pyi +27 -1
  122. yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.py +60 -44
  123. yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.pyi +151 -6
  124. yandex/cloud/searchapi/v2/gen_search_service_pb2.py +26 -31
  125. yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +6 -1
  126. yandex/cloud/searchapi/v2/img_search_service_pb2.py +8 -8
  127. yandex/cloud/searchapi/v2/img_search_service_pb2.pyi +5 -1
  128. yandex/cloud/serverless/eventrouter/v1/bus_pb2.py +8 -8
  129. yandex/cloud/serverless/eventrouter/v1/bus_pb2.pyi +1 -5
  130. yandex/cloud/spark/v1/cluster_pb2.py +29 -25
  131. yandex/cloud/spark/v1/cluster_pb2.pyi +53 -0
  132. yandex/cloud/spark/v1/cluster_service_pb2.py +54 -31
  133. yandex/cloud/spark/v1/cluster_service_pb2.pyi +93 -0
  134. yandex/cloud/spark/v1/cluster_service_pb2_grpc.py +44 -0
  135. yandex/cloud/spark/v1/cluster_service_pb2_grpc.pyi +20 -0
  136. yandex/cloud/storage/v1/bucket_pb2.py +78 -78
  137. yandex/cloud/storage/v1/bucket_pb2.pyi +5 -1
  138. yandex/cloud/storage/v1/bucket_service_pb2.py +4 -2
  139. yandex/cloud/storage/v1/bucket_service_pb2_grpc.py +43 -0
  140. yandex/cloud/storage/v1/bucket_service_pb2_grpc.pyi +17 -0
  141. yandex/cloud/video/v1/channel_service_pb2.py +34 -28
  142. yandex/cloud/video/v1/episode_service_pb2.py +58 -52
  143. yandex/cloud/video/v1/playlist_pb2.py +14 -5
  144. yandex/cloud/video/v1/playlist_service_pb2.py +36 -30
  145. yandex/cloud/video/v1/stream_line_service_pb2.py +46 -46
  146. yandex/cloud/video/v1/stream_service_pb2.py +50 -44
  147. yandex/cloud/video/v1/subtitle_pb2.pyi +1 -4
  148. yandex/cloud/video/v1/subtitle_service_pb2.py +19 -17
  149. yandex/cloud/video/v1/subtitle_service_pb2.pyi +1 -4
  150. yandex/cloud/video/v1/video_pb2.pyi +1 -1
  151. yandex/cloud/video/v1/video_service_pb2.py +90 -84
  152. yandex/cloud/video/v1/video_service_pb2.pyi +4 -12
  153. yandexcloud/__init__.py +1 -1
  154. yandexcloud/_wrappers/dataproc/__init__.py +10 -2
  155. {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/METADATA +1 -1
  156. {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/RECORD +160 -160
  157. {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/AUTHORS +0 -0
  158. {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/LICENSE +0 -0
  159. {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/WHEEL +0 -0
  160. {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/top_level.txt +0 -0
@@ -6,6 +6,7 @@ isort:skip_file
6
6
  import builtins
7
7
  import collections.abc
8
8
  import google.protobuf.descriptor
9
+ import google.protobuf.field_mask_pb2
9
10
  import google.protobuf.internal.containers
10
11
  import google.protobuf.message
11
12
  import typing
@@ -15,10 +16,13 @@ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
15
16
 
16
17
  @typing.final
17
18
  class GetInstanceRequest(google.protobuf.message.Message):
19
+ """Request message for InstanceService.Get"""
20
+
18
21
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
19
22
 
20
23
  INSTANCE_ID_FIELD_NUMBER: builtins.int
21
24
  instance_id: builtins.str
25
+ """ID of the GitLab instance to return"""
22
26
  def __init__(
23
27
  self,
24
28
  *,
@@ -30,14 +34,24 @@ global___GetInstanceRequest = GetInstanceRequest
30
34
 
31
35
  @typing.final
32
36
  class ListInstancesRequest(google.protobuf.message.Message):
37
+ """Request message for InstanceService.List."""
38
+
33
39
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
34
40
 
35
41
  FOLDER_ID_FIELD_NUMBER: builtins.int
36
42
  PAGE_SIZE_FIELD_NUMBER: builtins.int
37
43
  PAGE_TOKEN_FIELD_NUMBER: builtins.int
38
44
  folder_id: builtins.str
45
+ """ID of the folder to list instances in."""
39
46
  page_size: builtins.int
47
+ """The maximum number of results per page to return. If the number of available
48
+ results is larger than [page_size], the service returns a [ListInstancesRequest.next_page_token]
49
+ that can be used to get the next page of results in subsequent list requests.
50
+ """
40
51
  page_token: builtins.str
52
+ """Page token. To get the next page of results, set [page_token] to the [ListInstancesRequest.next_page_token]
53
+ returned by the previous list request.
54
+ """
41
55
  def __init__(
42
56
  self,
43
57
  *,
@@ -51,13 +65,22 @@ global___ListInstancesRequest = ListInstancesRequest
51
65
 
52
66
  @typing.final
53
67
  class ListInstancesResponse(google.protobuf.message.Message):
68
+ """Response message for InstanceService.List."""
69
+
54
70
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
55
71
 
56
72
  INSTANCES_FIELD_NUMBER: builtins.int
57
73
  NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
58
74
  next_page_token: builtins.str
75
+ """This token allows you to get the next page of results for list requests. If the number of results
76
+ is larger than [ListInstancesRequest.page_size], use the [next_page_token] as the value
77
+ for the [ListInstancesRequest.page_token] parameter in the next list request. Each subsequent
78
+ list request will have its own [next_page_token] to continue paging through the results.
79
+ """
59
80
  @property
60
- def instances(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.gitlab.v1.instance_pb2.Instance]: ...
81
+ def instances(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.gitlab.v1.instance_pb2.Instance]:
82
+ """List of GitLab instances."""
83
+
61
84
  def __init__(
62
85
  self,
63
86
  *,
@@ -70,6 +93,8 @@ global___ListInstancesResponse = ListInstancesResponse
70
93
 
71
94
  @typing.final
72
95
  class CreateInstanceRequest(google.protobuf.message.Message):
96
+ """Request message for InstanceService.Create."""
97
+
73
98
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
74
99
 
75
100
  @typing.final
@@ -103,20 +128,35 @@ class CreateInstanceRequest(google.protobuf.message.Message):
103
128
  DELETION_PROTECTION_FIELD_NUMBER: builtins.int
104
129
  APPROVAL_RULES_ID_FIELD_NUMBER: builtins.int
105
130
  folder_id: builtins.str
131
+ """ID of the folder to create instance in."""
106
132
  name: builtins.str
133
+ """Name of the instance (must be unique within the folder)."""
107
134
  description: builtins.str
135
+ """Description of the instance."""
108
136
  resource_preset_id: builtins.str
137
+ """ID of the resource preset for computational resources."""
109
138
  disk_size: builtins.int
139
+ """Disk size in bytes."""
110
140
  admin_login: builtins.str
141
+ """Admin user login."""
111
142
  admin_email: builtins.str
143
+ """Admin user email."""
112
144
  domain_prefix: builtins.str
145
+ """Domain prefix for the GitLab instance."""
113
146
  subnet_id: builtins.str
147
+ """ID of the subnet where instance will be created."""
114
148
  backup_retain_period_days: builtins.int
149
+ """Number of days to retain backups."""
115
150
  maintenance_delete_untagged: builtins.bool
151
+ """Whether to delete untagged resources during maintenance."""
116
152
  deletion_protection: builtins.bool
153
+ """Whether deletion protection is enabled."""
117
154
  approval_rules_id: builtins.str
155
+ """ID of approval rules for the instance."""
118
156
  @property
119
- def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
157
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
158
+ """Custom labels for the instance as `` key:value `` pairs. For example, "env": "prod"."""
159
+
120
160
  def __init__(
121
161
  self,
122
162
  *,
@@ -141,10 +181,13 @@ global___CreateInstanceRequest = CreateInstanceRequest
141
181
 
142
182
  @typing.final
143
183
  class CreateInstanceMetadata(google.protobuf.message.Message):
184
+ """Metadata message for InstanceService.Create."""
185
+
144
186
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
145
187
 
146
188
  INSTANCE_ID_FIELD_NUMBER: builtins.int
147
189
  instance_id: builtins.str
190
+ """ID of the GitLab instance being created."""
148
191
  def __init__(
149
192
  self,
150
193
  *,
@@ -154,12 +197,116 @@ class CreateInstanceMetadata(google.protobuf.message.Message):
154
197
 
155
198
  global___CreateInstanceMetadata = CreateInstanceMetadata
156
199
 
200
+ @typing.final
201
+ class UpdateInstanceRequest(google.protobuf.message.Message):
202
+ """Request message for InstanceService.Update."""
203
+
204
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
205
+
206
+ @typing.final
207
+ class LabelsEntry(google.protobuf.message.Message):
208
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
209
+
210
+ KEY_FIELD_NUMBER: builtins.int
211
+ VALUE_FIELD_NUMBER: builtins.int
212
+ key: builtins.str
213
+ value: builtins.str
214
+ def __init__(
215
+ self,
216
+ *,
217
+ key: builtins.str = ...,
218
+ value: builtins.str = ...,
219
+ ) -> None: ...
220
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
221
+
222
+ INSTANCE_ID_FIELD_NUMBER: builtins.int
223
+ NAME_FIELD_NUMBER: builtins.int
224
+ DESCRIPTION_FIELD_NUMBER: builtins.int
225
+ LABELS_FIELD_NUMBER: builtins.int
226
+ BACKUP_RETAIN_PERIOD_DAYS_FIELD_NUMBER: builtins.int
227
+ RESOURCE_PRESET_ID_FIELD_NUMBER: builtins.int
228
+ MAINTENANCE_DELETE_UNTAGGED_FIELD_NUMBER: builtins.int
229
+ DELETION_PROTECTION_FIELD_NUMBER: builtins.int
230
+ APPROVAL_RULES_ID_FIELD_NUMBER: builtins.int
231
+ APPROVAL_RULES_TOKEN_FIELD_NUMBER: builtins.int
232
+ DISK_SIZE_FIELD_NUMBER: builtins.int
233
+ UPDATE_MASK_FIELD_NUMBER: builtins.int
234
+ instance_id: builtins.str
235
+ """ID of the GitLab instance to update."""
236
+ name: builtins.str
237
+ """Name of the instance (must be unique within the folder)."""
238
+ description: builtins.str
239
+ """Description of the instance."""
240
+ backup_retain_period_days: builtins.int
241
+ """Number of days to retain backups."""
242
+ resource_preset_id: builtins.str
243
+ """ID of the resource preset for computational resources."""
244
+ maintenance_delete_untagged: builtins.bool
245
+ """Whether to delete untagged resources during maintenance."""
246
+ deletion_protection: builtins.bool
247
+ """Whether deletion protection is enabled."""
248
+ approval_rules_id: builtins.str
249
+ """ID of approval rules for the instance."""
250
+ approval_rules_token: builtins.str
251
+ """Token of approval rules for the instance."""
252
+ disk_size: builtins.int
253
+ """Disk size in bytes."""
254
+ @property
255
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
256
+ """Custom labels for the instance as `` key:value `` pairs. For example, "env": "prod" """
257
+
258
+ @property
259
+ def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
260
+ """Field mask that specifies which attributes of the trail are going to be updated."""
261
+
262
+ def __init__(
263
+ self,
264
+ *,
265
+ instance_id: builtins.str = ...,
266
+ name: builtins.str = ...,
267
+ description: builtins.str = ...,
268
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
269
+ backup_retain_period_days: builtins.int = ...,
270
+ resource_preset_id: builtins.str = ...,
271
+ maintenance_delete_untagged: builtins.bool = ...,
272
+ deletion_protection: builtins.bool = ...,
273
+ approval_rules_id: builtins.str = ...,
274
+ approval_rules_token: builtins.str = ...,
275
+ disk_size: builtins.int = ...,
276
+ update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
277
+ ) -> None: ...
278
+ def HasField(self, field_name: typing.Literal["update_mask", b"update_mask"]) -> builtins.bool: ...
279
+ def ClearField(self, field_name: typing.Literal["approval_rules_id", b"approval_rules_id", "approval_rules_token", b"approval_rules_token", "backup_retain_period_days", b"backup_retain_period_days", "deletion_protection", b"deletion_protection", "description", b"description", "disk_size", b"disk_size", "instance_id", b"instance_id", "labels", b"labels", "maintenance_delete_untagged", b"maintenance_delete_untagged", "name", b"name", "resource_preset_id", b"resource_preset_id", "update_mask", b"update_mask"]) -> None: ...
280
+
281
+ global___UpdateInstanceRequest = UpdateInstanceRequest
282
+
283
+ @typing.final
284
+ class UpdateInstanceMetadata(google.protobuf.message.Message):
285
+ """Metadata message for InstanceService.Update."""
286
+
287
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
288
+
289
+ INSTANCE_ID_FIELD_NUMBER: builtins.int
290
+ instance_id: builtins.str
291
+ """ID of the GitLab instance to update."""
292
+ def __init__(
293
+ self,
294
+ *,
295
+ instance_id: builtins.str = ...,
296
+ ) -> None: ...
297
+ def ClearField(self, field_name: typing.Literal["instance_id", b"instance_id"]) -> None: ...
298
+
299
+ global___UpdateInstanceMetadata = UpdateInstanceMetadata
300
+
157
301
  @typing.final
158
302
  class DeleteInstanceRequest(google.protobuf.message.Message):
303
+ """Request message for InstanceService.Delete."""
304
+
159
305
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
160
306
 
161
307
  INSTANCE_ID_FIELD_NUMBER: builtins.int
162
308
  instance_id: builtins.str
309
+ """ID of the GitLab instance to delete."""
163
310
  def __init__(
164
311
  self,
165
312
  *,
@@ -171,10 +318,13 @@ global___DeleteInstanceRequest = DeleteInstanceRequest
171
318
 
172
319
  @typing.final
173
320
  class DeleteInstanceMetadata(google.protobuf.message.Message):
321
+ """Metadata message for InstanceService.Delete."""
322
+
174
323
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
175
324
 
176
325
  INSTANCE_ID_FIELD_NUMBER: builtins.int
177
326
  instance_id: builtins.str
327
+ """ID of the GitLab instance being deleted."""
178
328
  def __init__(
179
329
  self,
180
330
  *,
@@ -186,10 +336,13 @@ global___DeleteInstanceMetadata = DeleteInstanceMetadata
186
336
 
187
337
  @typing.final
188
338
  class StartInstanceRequest(google.protobuf.message.Message):
339
+ """Request message for InstanceService.Start."""
340
+
189
341
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
190
342
 
191
343
  INSTANCE_ID_FIELD_NUMBER: builtins.int
192
344
  instance_id: builtins.str
345
+ """ID of the GitLab instance to start."""
193
346
  def __init__(
194
347
  self,
195
348
  *,
@@ -201,10 +354,13 @@ global___StartInstanceRequest = StartInstanceRequest
201
354
 
202
355
  @typing.final
203
356
  class StartInstanceMetadata(google.protobuf.message.Message):
357
+ """Metadata message for InstanceService.Start."""
358
+
204
359
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
205
360
 
206
361
  INSTANCE_ID_FIELD_NUMBER: builtins.int
207
362
  instance_id: builtins.str
363
+ """ID of the GitLab instance being started."""
208
364
  def __init__(
209
365
  self,
210
366
  *,
@@ -216,6 +372,8 @@ global___StartInstanceMetadata = StartInstanceMetadata
216
372
 
217
373
  @typing.final
218
374
  class StopInstanceRequest(google.protobuf.message.Message):
375
+ """Request message for InstanceService.Stop."""
376
+
219
377
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
220
378
 
221
379
  INSTANCE_ID_FIELD_NUMBER: builtins.int
@@ -231,10 +389,13 @@ global___StopInstanceRequest = StopInstanceRequest
231
389
 
232
390
  @typing.final
233
391
  class StopInstanceMetadata(google.protobuf.message.Message):
392
+ """Metadata message for InstanceService.Stop."""
393
+
234
394
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
235
395
 
236
396
  INSTANCE_ID_FIELD_NUMBER: builtins.int
237
397
  instance_id: builtins.str
398
+ """ID of the GitLab instance being stoped."""
238
399
  def __init__(
239
400
  self,
240
401
  *,
@@ -28,7 +28,8 @@ if _version_not_supported:
28
28
 
29
29
 
30
30
  class InstanceServiceStub(object):
31
- """Missing associated documentation comment in .proto file."""
31
+ """InstanceService provides methods for managing GitLab instances.
32
+ """
32
33
 
33
34
  def __init__(self, channel):
34
35
  """Constructor.
@@ -51,6 +52,11 @@ class InstanceServiceStub(object):
51
52
  request_serializer=yandex_dot_cloud_dot_gitlab_dot_v1_dot_instance__service__pb2.CreateInstanceRequest.SerializeToString,
52
53
  response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
53
54
  _registered_method=True)
55
+ self.Update = channel.unary_unary(
56
+ '/yandex.cloud.gitlab.v1.InstanceService/Update',
57
+ request_serializer=yandex_dot_cloud_dot_gitlab_dot_v1_dot_instance__service__pb2.UpdateInstanceRequest.SerializeToString,
58
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
59
+ _registered_method=True)
54
60
  self.Delete = channel.unary_unary(
55
61
  '/yandex.cloud.gitlab.v1.InstanceService/Delete',
56
62
  request_serializer=yandex_dot_cloud_dot_gitlab_dot_v1_dot_instance__service__pb2.DeleteInstanceRequest.SerializeToString,
@@ -69,40 +75,54 @@ class InstanceServiceStub(object):
69
75
 
70
76
 
71
77
  class InstanceServiceServicer(object):
72
- """Missing associated documentation comment in .proto file."""
78
+ """InstanceService provides methods for managing GitLab instances.
79
+ """
73
80
 
74
81
  def Get(self, request, context):
75
- """Missing associated documentation comment in .proto file."""
82
+ """Returns the specified GitLab instance.
83
+ """
76
84
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
77
85
  context.set_details('Method not implemented!')
78
86
  raise NotImplementedError('Method not implemented!')
79
87
 
80
88
  def List(self, request, context):
81
- """Missing associated documentation comment in .proto file."""
89
+ """Retrieves the list of GitLab instances in the specified folder.
90
+ """
82
91
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
83
92
  context.set_details('Method not implemented!')
84
93
  raise NotImplementedError('Method not implemented!')
85
94
 
86
95
  def Create(self, request, context):
87
- """Missing associated documentation comment in .proto file."""
96
+ """Creates a new GitLab instance in the specified folder.
97
+ """
98
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
99
+ context.set_details('Method not implemented!')
100
+ raise NotImplementedError('Method not implemented!')
101
+
102
+ def Update(self, request, context):
103
+ """Updates GitLab instance.
104
+ """
88
105
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
89
106
  context.set_details('Method not implemented!')
90
107
  raise NotImplementedError('Method not implemented!')
91
108
 
92
109
  def Delete(self, request, context):
93
- """Missing associated documentation comment in .proto file."""
110
+ """Deletes the specified GitLab instance.
111
+ """
94
112
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
95
113
  context.set_details('Method not implemented!')
96
114
  raise NotImplementedError('Method not implemented!')
97
115
 
98
116
  def Start(self, request, context):
99
- """Missing associated documentation comment in .proto file."""
117
+ """Starts the specified GitLab instance.
118
+ """
100
119
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
101
120
  context.set_details('Method not implemented!')
102
121
  raise NotImplementedError('Method not implemented!')
103
122
 
104
123
  def Stop(self, request, context):
105
- """Missing associated documentation comment in .proto file."""
124
+ """Stops the specified GitLab instance.
125
+ """
106
126
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
107
127
  context.set_details('Method not implemented!')
108
128
  raise NotImplementedError('Method not implemented!')
@@ -125,6 +145,11 @@ def add_InstanceServiceServicer_to_server(servicer, server):
125
145
  request_deserializer=yandex_dot_cloud_dot_gitlab_dot_v1_dot_instance__service__pb2.CreateInstanceRequest.FromString,
126
146
  response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
127
147
  ),
148
+ 'Update': grpc.unary_unary_rpc_method_handler(
149
+ servicer.Update,
150
+ request_deserializer=yandex_dot_cloud_dot_gitlab_dot_v1_dot_instance__service__pb2.UpdateInstanceRequest.FromString,
151
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
152
+ ),
128
153
  'Delete': grpc.unary_unary_rpc_method_handler(
129
154
  servicer.Delete,
130
155
  request_deserializer=yandex_dot_cloud_dot_gitlab_dot_v1_dot_instance__service__pb2.DeleteInstanceRequest.FromString,
@@ -149,7 +174,8 @@ def add_InstanceServiceServicer_to_server(servicer, server):
149
174
 
150
175
  # This class is part of an EXPERIMENTAL API.
151
176
  class InstanceService(object):
152
- """Missing associated documentation comment in .proto file."""
177
+ """InstanceService provides methods for managing GitLab instances.
178
+ """
153
179
 
154
180
  @staticmethod
155
181
  def Get(request,
@@ -232,6 +258,33 @@ class InstanceService(object):
232
258
  metadata,
233
259
  _registered_method=True)
234
260
 
261
+ @staticmethod
262
+ def Update(request,
263
+ target,
264
+ options=(),
265
+ channel_credentials=None,
266
+ call_credentials=None,
267
+ insecure=False,
268
+ compression=None,
269
+ wait_for_ready=None,
270
+ timeout=None,
271
+ metadata=None):
272
+ return grpc.experimental.unary_unary(
273
+ request,
274
+ target,
275
+ '/yandex.cloud.gitlab.v1.InstanceService/Update',
276
+ yandex_dot_cloud_dot_gitlab_dot_v1_dot_instance__service__pb2.UpdateInstanceRequest.SerializeToString,
277
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
278
+ options,
279
+ channel_credentials,
280
+ insecure,
281
+ call_credentials,
282
+ compression,
283
+ wait_for_ready,
284
+ timeout,
285
+ metadata,
286
+ _registered_method=True)
287
+
235
288
  @staticmethod
236
289
  def Delete(request,
237
290
  target,
@@ -20,109 +20,153 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
20
20
  ...
21
21
 
22
22
  class InstanceServiceStub:
23
+ """InstanceService provides methods for managing GitLab instances."""
24
+
23
25
  def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
24
26
  Get: grpc.UnaryUnaryMultiCallable[
25
27
  yandex.cloud.gitlab.v1.instance_service_pb2.GetInstanceRequest,
26
28
  yandex.cloud.gitlab.v1.instance_pb2.Instance,
27
29
  ]
30
+ """Returns the specified GitLab instance."""
28
31
 
29
32
  List: grpc.UnaryUnaryMultiCallable[
30
33
  yandex.cloud.gitlab.v1.instance_service_pb2.ListInstancesRequest,
31
34
  yandex.cloud.gitlab.v1.instance_service_pb2.ListInstancesResponse,
32
35
  ]
36
+ """Retrieves the list of GitLab instances in the specified folder."""
33
37
 
34
38
  Create: grpc.UnaryUnaryMultiCallable[
35
39
  yandex.cloud.gitlab.v1.instance_service_pb2.CreateInstanceRequest,
36
40
  yandex.cloud.operation.operation_pb2.Operation,
37
41
  ]
42
+ """Creates a new GitLab instance in the specified folder."""
43
+
44
+ Update: grpc.UnaryUnaryMultiCallable[
45
+ yandex.cloud.gitlab.v1.instance_service_pb2.UpdateInstanceRequest,
46
+ yandex.cloud.operation.operation_pb2.Operation,
47
+ ]
48
+ """Updates GitLab instance."""
38
49
 
39
50
  Delete: grpc.UnaryUnaryMultiCallable[
40
51
  yandex.cloud.gitlab.v1.instance_service_pb2.DeleteInstanceRequest,
41
52
  yandex.cloud.operation.operation_pb2.Operation,
42
53
  ]
54
+ """Deletes the specified GitLab instance."""
43
55
 
44
56
  Start: grpc.UnaryUnaryMultiCallable[
45
57
  yandex.cloud.gitlab.v1.instance_service_pb2.StartInstanceRequest,
46
58
  yandex.cloud.operation.operation_pb2.Operation,
47
59
  ]
60
+ """Starts the specified GitLab instance."""
48
61
 
49
62
  Stop: grpc.UnaryUnaryMultiCallable[
50
63
  yandex.cloud.gitlab.v1.instance_service_pb2.StopInstanceRequest,
51
64
  yandex.cloud.operation.operation_pb2.Operation,
52
65
  ]
66
+ """Stops the specified GitLab instance."""
53
67
 
54
68
  class InstanceServiceAsyncStub:
69
+ """InstanceService provides methods for managing GitLab instances."""
70
+
55
71
  Get: grpc.aio.UnaryUnaryMultiCallable[
56
72
  yandex.cloud.gitlab.v1.instance_service_pb2.GetInstanceRequest,
57
73
  yandex.cloud.gitlab.v1.instance_pb2.Instance,
58
74
  ]
75
+ """Returns the specified GitLab instance."""
59
76
 
60
77
  List: grpc.aio.UnaryUnaryMultiCallable[
61
78
  yandex.cloud.gitlab.v1.instance_service_pb2.ListInstancesRequest,
62
79
  yandex.cloud.gitlab.v1.instance_service_pb2.ListInstancesResponse,
63
80
  ]
81
+ """Retrieves the list of GitLab instances in the specified folder."""
64
82
 
65
83
  Create: grpc.aio.UnaryUnaryMultiCallable[
66
84
  yandex.cloud.gitlab.v1.instance_service_pb2.CreateInstanceRequest,
67
85
  yandex.cloud.operation.operation_pb2.Operation,
68
86
  ]
87
+ """Creates a new GitLab instance in the specified folder."""
88
+
89
+ Update: grpc.aio.UnaryUnaryMultiCallable[
90
+ yandex.cloud.gitlab.v1.instance_service_pb2.UpdateInstanceRequest,
91
+ yandex.cloud.operation.operation_pb2.Operation,
92
+ ]
93
+ """Updates GitLab instance."""
69
94
 
70
95
  Delete: grpc.aio.UnaryUnaryMultiCallable[
71
96
  yandex.cloud.gitlab.v1.instance_service_pb2.DeleteInstanceRequest,
72
97
  yandex.cloud.operation.operation_pb2.Operation,
73
98
  ]
99
+ """Deletes the specified GitLab instance."""
74
100
 
75
101
  Start: grpc.aio.UnaryUnaryMultiCallable[
76
102
  yandex.cloud.gitlab.v1.instance_service_pb2.StartInstanceRequest,
77
103
  yandex.cloud.operation.operation_pb2.Operation,
78
104
  ]
105
+ """Starts the specified GitLab instance."""
79
106
 
80
107
  Stop: grpc.aio.UnaryUnaryMultiCallable[
81
108
  yandex.cloud.gitlab.v1.instance_service_pb2.StopInstanceRequest,
82
109
  yandex.cloud.operation.operation_pb2.Operation,
83
110
  ]
111
+ """Stops the specified GitLab instance."""
84
112
 
85
113
  class InstanceServiceServicer(metaclass=abc.ABCMeta):
114
+ """InstanceService provides methods for managing GitLab instances."""
115
+
86
116
  @abc.abstractmethod
87
117
  def Get(
88
118
  self,
89
119
  request: yandex.cloud.gitlab.v1.instance_service_pb2.GetInstanceRequest,
90
120
  context: _ServicerContext,
91
- ) -> typing.Union[yandex.cloud.gitlab.v1.instance_pb2.Instance, collections.abc.Awaitable[yandex.cloud.gitlab.v1.instance_pb2.Instance]]: ...
121
+ ) -> typing.Union[yandex.cloud.gitlab.v1.instance_pb2.Instance, collections.abc.Awaitable[yandex.cloud.gitlab.v1.instance_pb2.Instance]]:
122
+ """Returns the specified GitLab instance."""
92
123
 
93
124
  @abc.abstractmethod
94
125
  def List(
95
126
  self,
96
127
  request: yandex.cloud.gitlab.v1.instance_service_pb2.ListInstancesRequest,
97
128
  context: _ServicerContext,
98
- ) -> typing.Union[yandex.cloud.gitlab.v1.instance_service_pb2.ListInstancesResponse, collections.abc.Awaitable[yandex.cloud.gitlab.v1.instance_service_pb2.ListInstancesResponse]]: ...
129
+ ) -> typing.Union[yandex.cloud.gitlab.v1.instance_service_pb2.ListInstancesResponse, collections.abc.Awaitable[yandex.cloud.gitlab.v1.instance_service_pb2.ListInstancesResponse]]:
130
+ """Retrieves the list of GitLab instances in the specified folder."""
99
131
 
100
132
  @abc.abstractmethod
101
133
  def Create(
102
134
  self,
103
135
  request: yandex.cloud.gitlab.v1.instance_service_pb2.CreateInstanceRequest,
104
136
  context: _ServicerContext,
105
- ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]: ...
137
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
138
+ """Creates a new GitLab instance in the specified folder."""
139
+
140
+ @abc.abstractmethod
141
+ def Update(
142
+ self,
143
+ request: yandex.cloud.gitlab.v1.instance_service_pb2.UpdateInstanceRequest,
144
+ context: _ServicerContext,
145
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
146
+ """Updates GitLab instance."""
106
147
 
107
148
  @abc.abstractmethod
108
149
  def Delete(
109
150
  self,
110
151
  request: yandex.cloud.gitlab.v1.instance_service_pb2.DeleteInstanceRequest,
111
152
  context: _ServicerContext,
112
- ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]: ...
153
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
154
+ """Deletes the specified GitLab instance."""
113
155
 
114
156
  @abc.abstractmethod
115
157
  def Start(
116
158
  self,
117
159
  request: yandex.cloud.gitlab.v1.instance_service_pb2.StartInstanceRequest,
118
160
  context: _ServicerContext,
119
- ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]: ...
161
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
162
+ """Starts the specified GitLab instance."""
120
163
 
121
164
  @abc.abstractmethod
122
165
  def Stop(
123
166
  self,
124
167
  request: yandex.cloud.gitlab.v1.instance_service_pb2.StopInstanceRequest,
125
168
  context: _ServicerContext,
126
- ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]: ...
169
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
170
+ """Stops the specified GitLab instance."""
127
171
 
128
172
  def add_InstanceServiceServicer_to_server(servicer: InstanceServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
@@ -20,12 +20,19 @@ class MaintenanceOperation(google.protobuf.message.Message):
20
20
  LATEST_MAINTENANCE_TIME_FIELD_NUMBER: builtins.int
21
21
  NEXT_MAINTENANCE_WINDOW_TIME_FIELD_NUMBER: builtins.int
22
22
  info: builtins.str
23
+ """The description of the operation."""
23
24
  @property
24
- def delayed_until(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
25
+ def delayed_until(self) -> google.protobuf.timestamp_pb2.Timestamp:
26
+ """Delay time for the maintenance operation."""
27
+
25
28
  @property
26
- def latest_maintenance_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
29
+ def latest_maintenance_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
30
+ """Time of the last maintenance window."""
31
+
27
32
  @property
28
- def next_maintenance_window_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
33
+ def next_maintenance_window_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
34
+ """Time of the next maintenance window."""
35
+
29
36
  def __init__(
30
37
  self,
31
38
  *,