yandexcloud 0.305.0__py3-none-any.whl → 0.307.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.

Files changed (32) hide show
  1. yandex/cloud/audittrails/v1/trail_pb2.py +2 -2
  2. yandex/cloud/compute/v1/host_group_service_pb2.pyi +11 -1
  3. yandex/cloud/containerregistry/v1/registry_service_pb2.py +30 -30
  4. yandex/cloud/containerregistry/v1/registry_service_pb2.pyi +5 -1
  5. yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +42 -39
  6. yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +28 -2
  7. yandex/cloud/iam/v1/service_control_pb2.py +3 -1
  8. yandex/cloud/iam/v1/service_control_pb2.pyi +24 -0
  9. yandex/cloud/iam/v1/service_control_service_pb2.py +13 -3
  10. yandex/cloud/iam/v1/service_control_service_pb2.pyi +27 -0
  11. yandex/cloud/iam/v1/service_control_service_pb2_grpc.py +34 -0
  12. yandex/cloud/iam/v1/service_control_service_pb2_grpc.pyi +20 -0
  13. yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.py +53 -43
  14. yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.pyi +44 -0
  15. yandex/cloud/mdb/greenplum/v1/cluster_service_pb2_grpc.py +34 -0
  16. yandex/cloud/mdb/greenplum/v1/cluster_service_pb2_grpc.pyi +20 -0
  17. yandex/cloud/mdb/mongodb/v1/cluster_pb2.py +144 -133
  18. yandex/cloud/mdb/mongodb/v1/cluster_pb2.pyi +165 -3
  19. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.py +242 -231
  20. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.pyi +180 -6
  21. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.py +108 -0
  22. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.pyi +794 -0
  23. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2_grpc.py +4 -0
  24. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2_grpc.pyi +17 -0
  25. yandex/cloud/serverless/functions/v1/function_pb2.py +36 -36
  26. yandex/cloud/serverless/functions/v1/function_pb2.pyi +2 -10
  27. {yandexcloud-0.305.0.dist-info → yandexcloud-0.307.0.dist-info}/METADATA +1 -1
  28. {yandexcloud-0.305.0.dist-info → yandexcloud-0.307.0.dist-info}/RECORD +32 -28
  29. {yandexcloud-0.305.0.dist-info → yandexcloud-0.307.0.dist-info}/WHEEL +1 -1
  30. {yandexcloud-0.305.0.dist-info → yandexcloud-0.307.0.dist-info}/AUTHORS +0 -0
  31. {yandexcloud-0.305.0.dist-info → yandexcloud-0.307.0.dist-info}/LICENSE +0 -0
  32. {yandexcloud-0.305.0.dist-info → yandexcloud-0.307.0.dist-info}/top_level.txt +0 -0
@@ -15,7 +15,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
15
15
  from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
16
16
 
17
17
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'yandex/cloud/audittrails/v1/trail.proto\x12\x1byandex.cloud.audittrails.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\x96\x15\n\x05Trail\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1f\n\tfolder_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x34\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe8\xc7\x31\x01\x12\x34\n\nupdated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe8\xc7\x31\x01\x12\x32\n\x04name\x18\x05 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1f\n\x0b\x64\x65scription\x18\x06 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12{\n\x06labels\x18\x07 \x03(\x0b\x32..yandex.cloud.audittrails.v1.Trail.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x12I\n\x0b\x64\x65stination\x18\x08 \x01(\x0b\x32..yandex.cloud.audittrails.v1.Trail.DestinationB\x04\xe8\xc7\x31\x01\x12$\n\x12service_account_id\x18\t \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12?\n\x06status\x18\n \x01(\x0e\x32).yandex.cloud.audittrails.v1.Trail.StatusB\x04\xe8\xc7\x31\x01\x12?\n\x06\x66ilter\x18\x0b \x01(\x0b\x32).yandex.cloud.audittrails.v1.Trail.FilterB\x04\xe8\xc7\x31\x01\x12\x1c\n\x14status_error_message\x18\x0c \x01(\t\x12\x1e\n\x08\x63loud_id\x18\x0e \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x84\x02\n\x0b\x44\x65stination\x12J\n\x0eobject_storage\x18\x01 \x01(\x0b\x32\x30.yandex.cloud.audittrails.v1.Trail.ObjectStorageH\x00\x12H\n\rcloud_logging\x18\x03 \x01(\x0b\x32/.yandex.cloud.audittrails.v1.Trail.CloudLoggingH\x00\x12\x44\n\x0b\x64\x61ta_stream\x18\x04 \x01(\x0b\x32-.yandex.cloud.audittrails.v1.Trail.DataStreamH\x00\x42\x13\n\x0b\x64\x65stination\x12\x04\xc0\xc1\x31\x01J\x04\x08\x02\x10\x03\x1a\x43\n\rObjectStorage\x12\x1b\n\tbucket_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04\x33-63\x12\x15\n\robject_prefix\x18\x02 \x01(\t\x1a\x45\n\x0c\x43loudLogging\x12 \n\x0clog_group_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=64H\x00\x42\r\n\x0b\x64\x65stinationJ\x04\x08\x02\x10\x03\x1a\x36\n\nDataStream\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\t\x12\x13\n\x0bstream_name\x18\x02 \x01(\t\x1a\x98\x01\n\x06\x46ilter\x12\x42\n\x0bpath_filter\x18\x01 \x01(\x0b\x32-.yandex.cloud.audittrails.v1.Trail.PathFilter\x12J\n\x0c\x65vent_filter\x18\x02 \x01(\x0b\x32..yandex.cloud.audittrails.v1.Trail.EventFilterB\x04\xe8\xc7\x31\x01\x1aV\n\nPathFilter\x12H\n\x04root\x18\x01 \x01(\x0b\x32\x34.yandex.cloud.audittrails.v1.Trail.PathFilterElementB\x04\xe8\xc7\x31\x01\x1a\xc4\x01\n\x11PathFilterElement\x12M\n\nany_filter\x18\x01 \x01(\x0b\x32\x37.yandex.cloud.audittrails.v1.Trail.PathFilterElementAnyH\x00\x12O\n\x0bsome_filter\x18\x02 \x01(\x0b\x32\x38.yandex.cloud.audittrails.v1.Trail.PathFilterElementSomeH\x00\x42\x0f\n\x07\x65lement\x12\x04\xc0\xc1\x31\x01\x1a[\n\x14PathFilterElementAny\x12\x43\n\x08resource\x18\x01 \x01(\x0b\x32+.yandex.cloud.audittrails.v1.Trail.ResourceB\x04\xe8\xc7\x31\x01\x1a\xab\x01\n\x15PathFilterElementSome\x12\x43\n\x08resource\x18\x01 \x01(\x0b\x32+.yandex.cloud.audittrails.v1.Trail.ResourceB\x04\xe8\xc7\x31\x01\x12M\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x34.yandex.cloud.audittrails.v1.Trail.PathFilterElementB\x06\x82\xc8\x31\x02>0\x1a@\n\x08Resource\x12\x18\n\x02id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=64\x12\x1a\n\x04type\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x1a^\n\x0b\x45ventFilter\x12O\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x35.yandex.cloud.audittrails.v1.Trail.EventFilterElementB\x07\x82\xc8\x31\x03>=0\x1a\xd0\x01\n\x12\x45ventFilterElement\x12\x15\n\x07service\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12Y\n\ncategories\x18\x02 \x03(\x0b\x32=.yandex.cloud.audittrails.v1.Trail.EventFilterElementCategoryB\x06\x82\xc8\x31\x02>0\x12H\n\x0bpath_filter\x18\x03 \x01(\x0b\x32-.yandex.cloud.audittrails.v1.Trail.PathFilterB\x04\xe8\xc7\x31\x01\x1a\xb7\x01\n\x1a\x45ventFilterElementCategory\x12K\n\x05plane\x18\x01 \x01(\x0e\x32\x36.yandex.cloud.audittrails.v1.Trail.EventCategoryFilterB\x04\xe8\xc7\x31\x01\x12L\n\x04type\x18\x02 \x01(\x0e\x32\x38.yandex.cloud.audittrails.v1.Trail.EventAccessTypeFilterB\x04\xe8\xc7\x31\x01\"D\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\t\n\x05\x45RROR\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x03\"_\n\x13\x45ventCategoryFilter\x12%\n!EVENT_CATEGORY_FILTER_UNSPECIFIED\x10\x00\x12\x11\n\rCONTROL_PLANE\x10\x01\x12\x0e\n\nDATA_PLANE\x10\x02\"V\n\x15\x45ventAccessTypeFilter\x12(\n$EVENT_ACCESS_TYPE_FILTER_UNSPECIFIED\x10\x00\x12\t\n\x05WRITE\x10\x01\x12\x08\n\x04READ\x10\x02J\x04\x08\r\x10\x0e\x42r\n\x1fyandex.cloud.api.audittrails.v1B\x02\x41TZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/audittrails/v1;audittrailsb\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'yandex/cloud/audittrails/v1/trail.proto\x12\x1byandex.cloud.audittrails.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\x90\x15\n\x05Trail\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1f\n\tfolder_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x34\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe8\xc7\x31\x01\x12\x34\n\nupdated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe8\xc7\x31\x01\x12\x32\n\x04name\x18\x05 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1f\n\x0b\x64\x65scription\x18\x06 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12{\n\x06labels\x18\x07 \x03(\x0b\x32..yandex.cloud.audittrails.v1.Trail.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x12I\n\x0b\x64\x65stination\x18\x08 \x01(\x0b\x32..yandex.cloud.audittrails.v1.Trail.DestinationB\x04\xe8\xc7\x31\x01\x12$\n\x12service_account_id\x18\t \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12?\n\x06status\x18\n \x01(\x0e\x32).yandex.cloud.audittrails.v1.Trail.StatusB\x04\xe8\xc7\x31\x01\x12?\n\x06\x66ilter\x18\x0b \x01(\x0b\x32).yandex.cloud.audittrails.v1.Trail.FilterB\x04\xe8\xc7\x31\x01\x12\x1c\n\x14status_error_message\x18\x0c \x01(\t\x12\x1e\n\x08\x63loud_id\x18\x0e \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x84\x02\n\x0b\x44\x65stination\x12J\n\x0eobject_storage\x18\x01 \x01(\x0b\x32\x30.yandex.cloud.audittrails.v1.Trail.ObjectStorageH\x00\x12H\n\rcloud_logging\x18\x03 \x01(\x0b\x32/.yandex.cloud.audittrails.v1.Trail.CloudLoggingH\x00\x12\x44\n\x0b\x64\x61ta_stream\x18\x04 \x01(\x0b\x32-.yandex.cloud.audittrails.v1.Trail.DataStreamH\x00\x42\x13\n\x0b\x64\x65stination\x12\x04\xc0\xc1\x31\x01J\x04\x08\x02\x10\x03\x1a\x43\n\rObjectStorage\x12\x1b\n\tbucket_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04\x33-63\x12\x15\n\robject_prefix\x18\x02 \x01(\t\x1a\x45\n\x0c\x43loudLogging\x12 \n\x0clog_group_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=64H\x00\x42\r\n\x0b\x64\x65stinationJ\x04\x08\x02\x10\x03\x1a\x36\n\nDataStream\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\t\x12\x13\n\x0bstream_name\x18\x02 \x01(\t\x1a\x98\x01\n\x06\x46ilter\x12\x42\n\x0bpath_filter\x18\x01 \x01(\x0b\x32-.yandex.cloud.audittrails.v1.Trail.PathFilter\x12J\n\x0c\x65vent_filter\x18\x02 \x01(\x0b\x32..yandex.cloud.audittrails.v1.Trail.EventFilterB\x04\xe8\xc7\x31\x01\x1aV\n\nPathFilter\x12H\n\x04root\x18\x01 \x01(\x0b\x32\x34.yandex.cloud.audittrails.v1.Trail.PathFilterElementB\x04\xe8\xc7\x31\x01\x1a\xc4\x01\n\x11PathFilterElement\x12M\n\nany_filter\x18\x01 \x01(\x0b\x32\x37.yandex.cloud.audittrails.v1.Trail.PathFilterElementAnyH\x00\x12O\n\x0bsome_filter\x18\x02 \x01(\x0b\x32\x38.yandex.cloud.audittrails.v1.Trail.PathFilterElementSomeH\x00\x42\x0f\n\x07\x65lement\x12\x04\xc0\xc1\x31\x01\x1a[\n\x14PathFilterElementAny\x12\x43\n\x08resource\x18\x01 \x01(\x0b\x32+.yandex.cloud.audittrails.v1.Trail.ResourceB\x04\xe8\xc7\x31\x01\x1a\xab\x01\n\x15PathFilterElementSome\x12\x43\n\x08resource\x18\x01 \x01(\x0b\x32+.yandex.cloud.audittrails.v1.Trail.ResourceB\x04\xe8\xc7\x31\x01\x12M\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x34.yandex.cloud.audittrails.v1.Trail.PathFilterElementB\x06\x82\xc8\x31\x02>0\x1a@\n\x08Resource\x12\x18\n\x02id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=64\x12\x1a\n\x04type\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x1a^\n\x0b\x45ventFilter\x12O\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x35.yandex.cloud.audittrails.v1.Trail.EventFilterElementB\x07\x82\xc8\x31\x03>=0\x1a\xd0\x01\n\x12\x45ventFilterElement\x12\x15\n\x07service\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12Y\n\ncategories\x18\x02 \x03(\x0b\x32=.yandex.cloud.audittrails.v1.Trail.EventFilterElementCategoryB\x06\x82\xc8\x31\x02>0\x12H\n\x0bpath_filter\x18\x03 \x01(\x0b\x32-.yandex.cloud.audittrails.v1.Trail.PathFilterB\x04\xe8\xc7\x31\x01\x1a\xb7\x01\n\x1a\x45ventFilterElementCategory\x12K\n\x05plane\x18\x01 \x01(\x0e\x32\x36.yandex.cloud.audittrails.v1.Trail.EventCategoryFilterB\x04\xe8\xc7\x31\x01\x12L\n\x04type\x18\x02 \x01(\x0e\x32\x38.yandex.cloud.audittrails.v1.Trail.EventAccessTypeFilterB\x04\xe8\xc7\x31\x01\"D\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\t\n\x05\x45RROR\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x03\"_\n\x13\x45ventCategoryFilter\x12%\n!EVENT_CATEGORY_FILTER_UNSPECIFIED\x10\x00\x12\x11\n\rCONTROL_PLANE\x10\x01\x12\x0e\n\nDATA_PLANE\x10\x02\"V\n\x15\x45ventAccessTypeFilter\x12(\n$EVENT_ACCESS_TYPE_FILTER_UNSPECIFIED\x10\x00\x12\t\n\x05WRITE\x10\x01\x12\x08\n\x04READ\x10\x02\x42r\n\x1fyandex.cloud.api.audittrails.v1B\x02\x41TZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/audittrails/v1;audittrailsb\x06proto3')
19
19
 
20
20
  _globals = globals()
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -82,7 +82,7 @@ if _descriptor._USE_C_DESCRIPTORS == False:
82
82
  _TRAIL.fields_by_name['cloud_id']._options = None
83
83
  _TRAIL.fields_by_name['cloud_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
84
84
  _globals['_TRAIL']._serialized_start=137
85
- _globals['_TRAIL']._serialized_end=2847
85
+ _globals['_TRAIL']._serialized_end=2841
86
86
  _globals['_TRAIL_LABELSENTRY']._serialized_start=814
87
87
  _globals['_TRAIL_LABELSENTRY']._serialized_end=859
88
88
  _globals['_TRAIL_DESTINATION']._serialized_start=862
@@ -341,7 +341,17 @@ class ListHostGroupInstancesRequest(google.protobuf.message.Message):
341
341
  returned by a previous list request.
342
342
  """
343
343
  filter: builtins.str
344
- """Filter support is not currently implemented. Any filters are ignored."""
344
+ """A filter expression that filters resources listed in the response.
345
+ The expression consists of one or more conditions united by `AND` operator: `<condition1> [AND <condition2> [<...> AND <conditionN>]]`.
346
+
347
+ Each condition has the form `<field> <operator> <value>`, where:
348
+ 1. `<field>` is the field name. Currently you can use filtering only on the limited number of fields.
349
+ 2. `<operator>` is a logical operator, one of `=`, `!=`, `IN`, `NOT IN`.
350
+ 3. `<value>` represents a value.
351
+ String values should be written in double (`"`) or single (`'`) quotes. C-style escape sequences are supported (`\\"` turns to `"`, `\\'` to `'`, `\\\\` to backslash).
352
+ Currently you can use filtering only on the [Host.id] field.
353
+ To get the host ID, use [HostGroupService.ListHosts] request.
354
+ """
345
355
  def __init__(
346
356
  self,
347
357
  *,
@@ -21,7 +21,7 @@ from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mas
21
21
  from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
22
22
 
23
23
 
24
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8yandex/cloud/containerregistry/v1/registry_service.proto\x12!yandex.cloud.containerregistry.v1\x1a yandex/cloud/api/operation.proto\x1a yandex/cloud/access/access.proto\x1a\x30yandex/cloud/containerregistry/v1/registry.proto\x1a\x35yandex/cloud/containerregistry/v1/ip_permission.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/api/annotations.proto\"7\n\x12GetRegistryRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x92\x01\n\x15ListRegistriesRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"r\n\x16ListRegistriesResponse\x12?\n\nregistries\x18\x01 \x03(\x0b\x32+.yandex.cloud.containerregistry.v1.Registry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xac\x02\n\x15\x43reateRegistryRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x04name\x18\x02 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\x12\x91\x01\n\x06labels\x18\x03 \x03(\x0b\x32\x44.yandex.cloud.containerregistry.v1.CreateRegistryRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"-\n\x16\x43reateRegistryMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\"\xdf\x02\n\x15UpdateRegistryRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12/\n\x04name\x18\x03 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\x12\x91\x01\n\x06labels\x18\x04 \x03(\x0b\x32\x44.yandex.cloud.containerregistry.v1.UpdateRegistryRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"-\n\x16UpdateRegistryMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\":\n\x15\x44\x65leteRegistryRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"-\n\x16\x44\x65leteRegistryMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\"\x83\x01\n\x16SetIpPermissionRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x46\n\rip_permission\x18\x02 \x03(\x0b\x32/.yandex.cloud.containerregistry.v1.IpPermission\"\x92\x01\n\x19UpdateIpPermissionRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12R\n\x14ip_permission_deltas\x18\x02 \x03(\x0b\x32\x34.yandex.cloud.containerregistry.v1.IpPermissionDelta\"<\n\x17ListIpPermissionRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"a\n\x19ListIpPermissionsResponse\x12\x44\n\x0bpermissions\x18\x01 \x03(\x0b\x32/.yandex.cloud.containerregistry.v1.IpPermission\".\n\x17SetIpPermissionMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\"1\n\x1aUpdateIpPermissionMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t2\xbb\x12\n\x0fRegistryService\x12\xa2\x01\n\x03Get\x12\x35.yandex.cloud.containerregistry.v1.GetRegistryRequest\x1a+.yandex.cloud.containerregistry.v1.Registry\"7\x82\xd3\xe4\x93\x02\x31\x12//container-registry/v1/registries/{registry_id}\x12\xa6\x01\n\x04List\x12\x38.yandex.cloud.containerregistry.v1.ListRegistriesRequest\x1a\x39.yandex.cloud.containerregistry.v1.ListRegistriesResponse\")\x82\xd3\xe4\x93\x02#\x12!/container-registry/v1/registries\x12\xb9\x01\n\x06\x43reate\x12\x38.yandex.cloud.containerregistry.v1.CreateRegistryRequest\x1a!.yandex.cloud.operation.Operation\"R\xb2\xd2*\"\n\x16\x43reateRegistryMetadata\x12\x08Registry\x82\xd3\xe4\x93\x02&\"!/container-registry/v1/registries:\x01*\x12\xc7\x01\n\x06Update\x12\x38.yandex.cloud.containerregistry.v1.UpdateRegistryRequest\x1a!.yandex.cloud.operation.Operation\"`\xb2\xd2*\"\n\x16UpdateRegistryMetadata\x12\x08Registry\x82\xd3\xe4\x93\x02\x34\x32//container-registry/v1/registries/{registry_id}:\x01*\x12\xd1\x01\n\x06\x44\x65lete\x12\x38.yandex.cloud.containerregistry.v1.DeleteRegistryRequest\x1a!.yandex.cloud.operation.Operation\"j\xb2\xd2*/\n\x16\x44\x65leteRegistryMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x31*//container-registry/v1/registries/{registry_id}\x12\xc1\x01\n\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\"J\x82\xd3\xe4\x93\x02\x44\x12\x42/container-registry/v1/registries/{resource_id}:listAccessBindings\x12\xf1\x01\n\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x89\x01\xb2\xd2*9\n access.SetAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x46\"A/container-registry/v1/registries/{resource_id}:setAccessBindings:\x01*\x12\xfd\x01\n\x14UpdateAccessBindings\x12\x30.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x8f\x01\xb2\xd2*<\n#access.UpdateAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02I\"D/container-registry/v1/registries/{resource_id}:updateAccessBindings:\x01*\x12\xd6\x01\n\x10ListIpPermission\x12:.yandex.cloud.containerregistry.v1.ListIpPermissionRequest\x1a<.yandex.cloud.containerregistry.v1.ListIpPermissionsResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/container-registry/v1/registries/{registry_id}:listIpPermission\x12\xef\x01\n\x0fSetIpPermission\x12\x39.yandex.cloud.containerregistry.v1.SetIpPermissionRequest\x1a!.yandex.cloud.operation.Operation\"~\xb2\xd2*0\n\x17SetIpPermissionMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x44\"?/container-registry/v1/registries/{registry_id}:setIpPermission:\x01*\x12\xfc\x01\n\x12UpdateIpPermission\x12<.yandex.cloud.containerregistry.v1.UpdateIpPermissionRequest\x1a!.yandex.cloud.operation.Operation\"\x84\x01\xb2\xd2*3\n\x1aUpdateIpPermissionMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02G\"B/container-registry/v1/registries/{registry_id}:updateIpPermission:\x01*B\x80\x01\n%yandex.cloud.api.containerregistry.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1;containerregistryb\x06proto3')
24
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8yandex/cloud/containerregistry/v1/registry_service.proto\x12!yandex.cloud.containerregistry.v1\x1a yandex/cloud/api/operation.proto\x1a yandex/cloud/access/access.proto\x1a\x30yandex/cloud/containerregistry/v1/registry.proto\x1a\x35yandex/cloud/containerregistry/v1/ip_permission.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/api/annotations.proto\"7\n\x12GetRegistryRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x92\x01\n\x15ListRegistriesRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"r\n\x16ListRegistriesResponse\x12?\n\nregistries\x18\x01 \x03(\x0b\x32+.yandex.cloud.containerregistry.v1.Registry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xbc\x02\n\x15\x43reateRegistryRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x04name\x18\x02 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\x12\x91\x01\n\x06labels\x18\x03 \x03(\x0b\x32\x44.yandex.cloud.containerregistry.v1.CreateRegistryRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x12\x0e\n\x06secure\x18\x04 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"-\n\x16\x43reateRegistryMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\"\xdf\x02\n\x15UpdateRegistryRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12/\n\x04name\x18\x03 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\x12\x91\x01\n\x06labels\x18\x04 \x03(\x0b\x32\x44.yandex.cloud.containerregistry.v1.UpdateRegistryRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"-\n\x16UpdateRegistryMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\":\n\x15\x44\x65leteRegistryRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"-\n\x16\x44\x65leteRegistryMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\"\x83\x01\n\x16SetIpPermissionRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x46\n\rip_permission\x18\x02 \x03(\x0b\x32/.yandex.cloud.containerregistry.v1.IpPermission\"\x92\x01\n\x19UpdateIpPermissionRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12R\n\x14ip_permission_deltas\x18\x02 \x03(\x0b\x32\x34.yandex.cloud.containerregistry.v1.IpPermissionDelta\"<\n\x17ListIpPermissionRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"a\n\x19ListIpPermissionsResponse\x12\x44\n\x0bpermissions\x18\x01 \x03(\x0b\x32/.yandex.cloud.containerregistry.v1.IpPermission\".\n\x17SetIpPermissionMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\"1\n\x1aUpdateIpPermissionMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t2\xbb\x12\n\x0fRegistryService\x12\xa2\x01\n\x03Get\x12\x35.yandex.cloud.containerregistry.v1.GetRegistryRequest\x1a+.yandex.cloud.containerregistry.v1.Registry\"7\x82\xd3\xe4\x93\x02\x31\x12//container-registry/v1/registries/{registry_id}\x12\xa6\x01\n\x04List\x12\x38.yandex.cloud.containerregistry.v1.ListRegistriesRequest\x1a\x39.yandex.cloud.containerregistry.v1.ListRegistriesResponse\")\x82\xd3\xe4\x93\x02#\x12!/container-registry/v1/registries\x12\xb9\x01\n\x06\x43reate\x12\x38.yandex.cloud.containerregistry.v1.CreateRegistryRequest\x1a!.yandex.cloud.operation.Operation\"R\xb2\xd2*\"\n\x16\x43reateRegistryMetadata\x12\x08Registry\x82\xd3\xe4\x93\x02&\"!/container-registry/v1/registries:\x01*\x12\xc7\x01\n\x06Update\x12\x38.yandex.cloud.containerregistry.v1.UpdateRegistryRequest\x1a!.yandex.cloud.operation.Operation\"`\xb2\xd2*\"\n\x16UpdateRegistryMetadata\x12\x08Registry\x82\xd3\xe4\x93\x02\x34\x32//container-registry/v1/registries/{registry_id}:\x01*\x12\xd1\x01\n\x06\x44\x65lete\x12\x38.yandex.cloud.containerregistry.v1.DeleteRegistryRequest\x1a!.yandex.cloud.operation.Operation\"j\xb2\xd2*/\n\x16\x44\x65leteRegistryMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x31*//container-registry/v1/registries/{registry_id}\x12\xc1\x01\n\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\"J\x82\xd3\xe4\x93\x02\x44\x12\x42/container-registry/v1/registries/{resource_id}:listAccessBindings\x12\xf1\x01\n\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x89\x01\xb2\xd2*9\n access.SetAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x46\"A/container-registry/v1/registries/{resource_id}:setAccessBindings:\x01*\x12\xfd\x01\n\x14UpdateAccessBindings\x12\x30.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x8f\x01\xb2\xd2*<\n#access.UpdateAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02I\"D/container-registry/v1/registries/{resource_id}:updateAccessBindings:\x01*\x12\xd6\x01\n\x10ListIpPermission\x12:.yandex.cloud.containerregistry.v1.ListIpPermissionRequest\x1a<.yandex.cloud.containerregistry.v1.ListIpPermissionsResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/container-registry/v1/registries/{registry_id}:listIpPermission\x12\xef\x01\n\x0fSetIpPermission\x12\x39.yandex.cloud.containerregistry.v1.SetIpPermissionRequest\x1a!.yandex.cloud.operation.Operation\"~\xb2\xd2*0\n\x17SetIpPermissionMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x44\"?/container-registry/v1/registries/{registry_id}:setIpPermission:\x01*\x12\xfc\x01\n\x12UpdateIpPermission\x12<.yandex.cloud.containerregistry.v1.UpdateIpPermissionRequest\x1a!.yandex.cloud.operation.Operation\"\x84\x01\xb2\xd2*3\n\x1aUpdateIpPermissionMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02G\"B/container-registry/v1/registries/{registry_id}:updateIpPermission:\x01*B\x80\x01\n%yandex.cloud.api.containerregistry.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1;containerregistryb\x06proto3')
25
25
 
26
26
  _globals = globals()
27
27
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -92,33 +92,33 @@ if _descriptor._USE_C_DESCRIPTORS == False:
92
92
  _globals['_LISTREGISTRIESRESPONSE']._serialized_start=609
93
93
  _globals['_LISTREGISTRIESRESPONSE']._serialized_end=723
94
94
  _globals['_CREATEREGISTRYREQUEST']._serialized_start=726
95
- _globals['_CREATEREGISTRYREQUEST']._serialized_end=1026
96
- _globals['_CREATEREGISTRYREQUEST_LABELSENTRY']._serialized_start=981
97
- _globals['_CREATEREGISTRYREQUEST_LABELSENTRY']._serialized_end=1026
98
- _globals['_CREATEREGISTRYMETADATA']._serialized_start=1028
99
- _globals['_CREATEREGISTRYMETADATA']._serialized_end=1073
100
- _globals['_UPDATEREGISTRYREQUEST']._serialized_start=1076
101
- _globals['_UPDATEREGISTRYREQUEST']._serialized_end=1427
102
- _globals['_UPDATEREGISTRYREQUEST_LABELSENTRY']._serialized_start=981
103
- _globals['_UPDATEREGISTRYREQUEST_LABELSENTRY']._serialized_end=1026
104
- _globals['_UPDATEREGISTRYMETADATA']._serialized_start=1429
105
- _globals['_UPDATEREGISTRYMETADATA']._serialized_end=1474
106
- _globals['_DELETEREGISTRYREQUEST']._serialized_start=1476
107
- _globals['_DELETEREGISTRYREQUEST']._serialized_end=1534
108
- _globals['_DELETEREGISTRYMETADATA']._serialized_start=1536
109
- _globals['_DELETEREGISTRYMETADATA']._serialized_end=1581
110
- _globals['_SETIPPERMISSIONREQUEST']._serialized_start=1584
111
- _globals['_SETIPPERMISSIONREQUEST']._serialized_end=1715
112
- _globals['_UPDATEIPPERMISSIONREQUEST']._serialized_start=1718
113
- _globals['_UPDATEIPPERMISSIONREQUEST']._serialized_end=1864
114
- _globals['_LISTIPPERMISSIONREQUEST']._serialized_start=1866
115
- _globals['_LISTIPPERMISSIONREQUEST']._serialized_end=1926
116
- _globals['_LISTIPPERMISSIONSRESPONSE']._serialized_start=1928
117
- _globals['_LISTIPPERMISSIONSRESPONSE']._serialized_end=2025
118
- _globals['_SETIPPERMISSIONMETADATA']._serialized_start=2027
119
- _globals['_SETIPPERMISSIONMETADATA']._serialized_end=2073
120
- _globals['_UPDATEIPPERMISSIONMETADATA']._serialized_start=2075
121
- _globals['_UPDATEIPPERMISSIONMETADATA']._serialized_end=2124
122
- _globals['_REGISTRYSERVICE']._serialized_start=2127
123
- _globals['_REGISTRYSERVICE']._serialized_end=4490
95
+ _globals['_CREATEREGISTRYREQUEST']._serialized_end=1042
96
+ _globals['_CREATEREGISTRYREQUEST_LABELSENTRY']._serialized_start=997
97
+ _globals['_CREATEREGISTRYREQUEST_LABELSENTRY']._serialized_end=1042
98
+ _globals['_CREATEREGISTRYMETADATA']._serialized_start=1044
99
+ _globals['_CREATEREGISTRYMETADATA']._serialized_end=1089
100
+ _globals['_UPDATEREGISTRYREQUEST']._serialized_start=1092
101
+ _globals['_UPDATEREGISTRYREQUEST']._serialized_end=1443
102
+ _globals['_UPDATEREGISTRYREQUEST_LABELSENTRY']._serialized_start=997
103
+ _globals['_UPDATEREGISTRYREQUEST_LABELSENTRY']._serialized_end=1042
104
+ _globals['_UPDATEREGISTRYMETADATA']._serialized_start=1445
105
+ _globals['_UPDATEREGISTRYMETADATA']._serialized_end=1490
106
+ _globals['_DELETEREGISTRYREQUEST']._serialized_start=1492
107
+ _globals['_DELETEREGISTRYREQUEST']._serialized_end=1550
108
+ _globals['_DELETEREGISTRYMETADATA']._serialized_start=1552
109
+ _globals['_DELETEREGISTRYMETADATA']._serialized_end=1597
110
+ _globals['_SETIPPERMISSIONREQUEST']._serialized_start=1600
111
+ _globals['_SETIPPERMISSIONREQUEST']._serialized_end=1731
112
+ _globals['_UPDATEIPPERMISSIONREQUEST']._serialized_start=1734
113
+ _globals['_UPDATEIPPERMISSIONREQUEST']._serialized_end=1880
114
+ _globals['_LISTIPPERMISSIONREQUEST']._serialized_start=1882
115
+ _globals['_LISTIPPERMISSIONREQUEST']._serialized_end=1942
116
+ _globals['_LISTIPPERMISSIONSRESPONSE']._serialized_start=1944
117
+ _globals['_LISTIPPERMISSIONSRESPONSE']._serialized_end=2041
118
+ _globals['_SETIPPERMISSIONMETADATA']._serialized_start=2043
119
+ _globals['_SETIPPERMISSIONMETADATA']._serialized_end=2089
120
+ _globals['_UPDATEIPPERMISSIONMETADATA']._serialized_start=2091
121
+ _globals['_UPDATEIPPERMISSIONMETADATA']._serialized_end=2140
122
+ _globals['_REGISTRYSERVICE']._serialized_start=2143
123
+ _globals['_REGISTRYSERVICE']._serialized_end=4506
124
124
  # @@protoc_insertion_point(module_scope)
@@ -128,6 +128,7 @@ class CreateRegistryRequest(google.protobuf.message.Message):
128
128
  FOLDER_ID_FIELD_NUMBER: builtins.int
129
129
  NAME_FIELD_NUMBER: builtins.int
130
130
  LABELS_FIELD_NUMBER: builtins.int
131
+ SECURE_FIELD_NUMBER: builtins.int
131
132
  folder_id: builtins.str
132
133
  """ID of the folder to create a registry in.
133
134
 
@@ -138,6 +139,8 @@ class CreateRegistryRequest(google.protobuf.message.Message):
138
139
 
139
140
  There may be only one registry per folder.
140
141
  """
142
+ secure: builtins.bool
143
+ """If true, registry will be created with pre-setup scanning policy (on push and on schedule every 7 days)"""
141
144
  @property
142
145
  def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
143
146
  """Resource labels as `key:value` pairs."""
@@ -148,8 +151,9 @@ class CreateRegistryRequest(google.protobuf.message.Message):
148
151
  folder_id: builtins.str = ...,
149
152
  name: builtins.str = ...,
150
153
  labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
154
+ secure: builtins.bool = ...,
151
155
  ) -> None: ...
152
- def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "labels", b"labels", "name", b"name"]) -> None: ...
156
+ def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "labels", b"labels", "name", b"name", "secure", b"secure"]) -> None: ...
153
157
 
154
158
  global___CreateRegistryRequest = CreateRegistryRequest
155
159
 
@@ -13,9 +13,10 @@ _sym_db = _symbol_database.Default()
13
13
 
14
14
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
15
15
  from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
16
+ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
16
17
 
17
18
 
18
- 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\"\xdd\x04\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\"!\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*O\n\x13\x46ileCompressionType\x12%\n!FILE_COMPRESSION_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x07\n\x03ZIP\x10\x02*\x81\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\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\"\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*\x81\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\x42{\n#yandex.cloud.api.datasphere.v2.jobsB\x04JobsZNgithub.com/yandex-cloud/go-genproto/yandex/cloud/datasphere/v2/jobs;datasphereb\x06proto3')
19
20
 
20
21
  _globals = globals()
21
22
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -29,42 +30,44 @@ if _descriptor._USE_C_DESCRIPTORS == False:
29
30
  _ENVIRONMENT_VARSENTRY._serialized_options = b'8\001'
30
31
  _OUTPUTDATASETDESC_LABELSENTRY._options = None
31
32
  _OUTPUTDATASETDESC_LABELSENTRY._serialized_options = b'8\001'
32
- _globals['_FILECOMPRESSIONTYPE']._serialized_start=2877
33
- _globals['_FILECOMPRESSIONTYPE']._serialized_end=2956
34
- _globals['_JOBSTATUS']._serialized_start=2959
35
- _globals['_JOBSTATUS']._serialized_end=3088
36
- _globals['_JOBPARAMETERS']._serialized_start=144
37
- _globals['_JOBPARAMETERS']._serialized_end=749
38
- _globals['_CLOUDINSTANCETYPE']._serialized_start=751
39
- _globals['_CLOUDINSTANCETYPE']._serialized_end=784
40
- _globals['_EXTENDEDWORKINGSTORAGE']._serialized_start=787
41
- _globals['_EXTENDEDWORKINGSTORAGE']._serialized_end=965
42
- _globals['_EXTENDEDWORKINGSTORAGE_STORAGETYPE']._serialized_start=913
43
- _globals['_EXTENDEDWORKINGSTORAGE_STORAGETYPE']._serialized_end=965
44
- _globals['_ARGUMENT']._serialized_start=967
45
- _globals['_ARGUMENT']._serialized_end=1006
46
- _globals['_FILE']._serialized_start=1009
47
- _globals['_FILE']._serialized_end=1188
48
- _globals['_STORAGEFILE']._serialized_start=1190
49
- _globals['_STORAGEFILE']._serialized_end=1269
50
- _globals['_FILEDESC']._serialized_start=1271
51
- _globals['_FILEDESC']._serialized_end=1308
52
- _globals['_ENVIRONMENT']._serialized_start=1311
53
- _globals['_ENVIRONMENT']._serialized_end=1634
54
- _globals['_ENVIRONMENT_VARSENTRY']._serialized_start=1575
55
- _globals['_ENVIRONMENT_VARSENTRY']._serialized_end=1618
56
- _globals['_DOCKERIMAGESPEC']._serialized_start=1637
57
- _globals['_DOCKERIMAGESPEC']._serialized_end=1769
58
- _globals['_PYTHONENV']._serialized_start=1771
59
- _globals['_PYTHONENV']._serialized_end=1864
60
- _globals['_OUTPUTDATASETDESC']._serialized_start=1867
61
- _globals['_OUTPUTDATASETDESC']._serialized_end=2078
62
- _globals['_OUTPUTDATASETDESC_LABELSENTRY']._serialized_start=2033
63
- _globals['_OUTPUTDATASETDESC_LABELSENTRY']._serialized_end=2078
64
- _globals['_OUTPUTDATASET']._serialized_start=2080
65
- _globals['_OUTPUTDATASET']._serialized_end=2173
66
- _globals['_JOB']._serialized_start=2176
67
- _globals['_JOB']._serialized_end=2841
68
- _globals['_JOBRESULT']._serialized_start=2843
69
- _globals['_JOBRESULT']._serialized_end=2875
33
+ _globals['_FILECOMPRESSIONTYPE']._serialized_start=3098
34
+ _globals['_FILECOMPRESSIONTYPE']._serialized_end=3177
35
+ _globals['_JOBSTATUS']._serialized_start=3180
36
+ _globals['_JOBSTATUS']._serialized_end=3309
37
+ _globals['_JOBPARAMETERS']._serialized_start=176
38
+ _globals['_JOBPARAMETERS']._serialized_end=880
39
+ _globals['_CLOUDINSTANCETYPE']._serialized_start=882
40
+ _globals['_CLOUDINSTANCETYPE']._serialized_end=915
41
+ _globals['_EXTENDEDWORKINGSTORAGE']._serialized_start=918
42
+ _globals['_EXTENDEDWORKINGSTORAGE']._serialized_end=1096
43
+ _globals['_EXTENDEDWORKINGSTORAGE_STORAGETYPE']._serialized_start=1044
44
+ _globals['_EXTENDEDWORKINGSTORAGE_STORAGETYPE']._serialized_end=1096
45
+ _globals['_ARGUMENT']._serialized_start=1098
46
+ _globals['_ARGUMENT']._serialized_end=1137
47
+ _globals['_FILE']._serialized_start=1140
48
+ _globals['_FILE']._serialized_end=1319
49
+ _globals['_STORAGEFILE']._serialized_start=1321
50
+ _globals['_STORAGEFILE']._serialized_end=1400
51
+ _globals['_FILEDESC']._serialized_start=1402
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
70
73
  # @@protoc_insertion_point(module_scope)
@@ -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.duration_pb2
9
10
  import google.protobuf.internal.containers
10
11
  import google.protobuf.internal.enum_type_wrapper
11
12
  import google.protobuf.message
@@ -79,6 +80,7 @@ class JobParameters(google.protobuf.message.Message):
79
80
  EXTENDED_WORKING_STORAGE_FIELD_NUMBER: builtins.int
80
81
  ARGUMENTS_FIELD_NUMBER: builtins.int
81
82
  OUTPUT_DATASETS_FIELD_NUMBER: builtins.int
83
+ GRACEFUL_SHUTDOWN_PARAMETERS_FIELD_NUMBER: builtins.int
82
84
  cmd: builtins.str
83
85
  """Job run command."""
84
86
  attach_project_disk: builtins.bool
@@ -119,6 +121,8 @@ class JobParameters(google.protobuf.message.Message):
119
121
  def output_datasets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___OutputDatasetDesc]:
120
122
  """List of DataSets descriptions to create"""
121
123
 
124
+ @property
125
+ def graceful_shutdown_parameters(self) -> global___GracefulShutdownParameters: ...
122
126
  def __init__(
123
127
  self,
124
128
  *,
@@ -133,9 +137,10 @@ class JobParameters(google.protobuf.message.Message):
133
137
  extended_working_storage: global___ExtendedWorkingStorage | None = ...,
134
138
  arguments: collections.abc.Iterable[global___Argument] | None = ...,
135
139
  output_datasets: collections.abc.Iterable[global___OutputDatasetDesc] | None = ...,
140
+ graceful_shutdown_parameters: global___GracefulShutdownParameters | None = ...,
136
141
  ) -> None: ...
137
- def HasField(self, field_name: typing.Literal["env", b"env", "extended_working_storage", b"extended_working_storage"]) -> builtins.bool: ...
138
- def ClearField(self, field_name: typing.Literal["arguments", b"arguments", "attach_project_disk", b"attach_project_disk", "cloud_instance_types", b"cloud_instance_types", "cmd", b"cmd", "dataset_ids", b"dataset_ids", "env", b"env", "extended_working_storage", b"extended_working_storage", "input_files", b"input_files", "output_datasets", b"output_datasets", "output_files", b"output_files", "s3_mount_ids", b"s3_mount_ids"]) -> None: ...
142
+ def HasField(self, field_name: typing.Literal["env", b"env", "extended_working_storage", b"extended_working_storage", "graceful_shutdown_parameters", b"graceful_shutdown_parameters"]) -> builtins.bool: ...
143
+ def ClearField(self, field_name: typing.Literal["arguments", b"arguments", "attach_project_disk", b"attach_project_disk", "cloud_instance_types", b"cloud_instance_types", "cmd", b"cmd", "dataset_ids", b"dataset_ids", "env", b"env", "extended_working_storage", b"extended_working_storage", "graceful_shutdown_parameters", b"graceful_shutdown_parameters", "input_files", b"input_files", "output_datasets", b"output_datasets", "output_files", b"output_files", "s3_mount_ids", b"s3_mount_ids"]) -> None: ...
139
144
 
140
145
  global___JobParameters = JobParameters
141
146
 
@@ -559,3 +564,24 @@ class JobResult(google.protobuf.message.Message):
559
564
  def ClearField(self, field_name: typing.Literal["return_code", b"return_code"]) -> None: ...
560
565
 
561
566
  global___JobResult = JobResult
567
+
568
+ @typing.final
569
+ class GracefulShutdownParameters(google.protobuf.message.Message):
570
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
571
+
572
+ TIMEOUT_FIELD_NUMBER: builtins.int
573
+ SIGNAL_FIELD_NUMBER: builtins.int
574
+ signal: builtins.int
575
+ """default 15 (SIGTERM)"""
576
+ @property
577
+ def timeout(self) -> google.protobuf.duration_pb2.Duration: ...
578
+ def __init__(
579
+ self,
580
+ *,
581
+ timeout: google.protobuf.duration_pb2.Duration | None = ...,
582
+ signal: builtins.int = ...,
583
+ ) -> None: ...
584
+ def HasField(self, field_name: typing.Literal["timeout", b"timeout"]) -> builtins.bool: ...
585
+ def ClearField(self, field_name: typing.Literal["signal", b"signal", "timeout", b"timeout"]) -> None: ...
586
+
587
+ global___GracefulShutdownParameters = GracefulShutdownParameters
@@ -15,7 +15,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
15
15
  from yandex.cloud.iam.v1 import resource_pb2 as yandex_dot_cloud_dot_iam_dot_v1_dot_resource__pb2
16
16
 
17
17
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)yandex/cloud/iam/v1/service_control.proto\x12\x13yandex.cloud.iam.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\"yandex/cloud/iam/v1/resource.proto\"\xc0\x02\n\x07Service\x12\x12\n\nservice_id\x18\x01 \x01(\t\x12/\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.Resource\x12.\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x06status\x18\x04 \x01(\x0e\x32#.yandex.cloud.iam.v1.Service.Status\"\x8a\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\n\n\x06PAUSED\x10\x02\x12\x0c\n\x08\x44ISABLED\x10\x03\x12\x0c\n\x08\x45NABLING\x10\x04\x12\x0c\n\x08RESUMING\x10\x05\x12\x0b\n\x07PAUSING\x10\x06\x12\r\n\tDISABLING\x10\x07\x12\t\n\x05\x45RROR\x10\x08\x42V\n\x17yandex.cloud.api.iam.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1;iamb\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)yandex/cloud/iam/v1/service_control.proto\x12\x13yandex.cloud.iam.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\"yandex/cloud/iam/v1/resource.proto\"\xc0\x02\n\x07Service\x12\x12\n\nservice_id\x18\x01 \x01(\t\x12/\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.Resource\x12.\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x06status\x18\x04 \x01(\x0e\x32#.yandex.cloud.iam.v1.Service.Status\"\x8a\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\n\n\x06PAUSED\x10\x02\x12\x0c\n\x08\x44ISABLED\x10\x03\x12\x0c\n\x08\x45NABLING\x10\x04\x12\x0c\n\x08RESUMING\x10\x05\x12\x0b\n\x07PAUSING\x10\x06\x12\r\n\tDISABLING\x10\x07\x12\t\n\x05\x45RROR\x10\x08\"W\n\x0cServiceAgent\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12\x12\n\nservice_id\x18\x02 \x01(\t\x12\x17\n\x0fmicroservice_id\x18\x03 \x01(\tBV\n\x17yandex.cloud.api.iam.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1;iamb\x06proto3')
19
19
 
20
20
  _globals = globals()
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -27,4 +27,6 @@ if _descriptor._USE_C_DESCRIPTORS == False:
27
27
  _globals['_SERVICE']._serialized_end=456
28
28
  _globals['_SERVICE_STATUS']._serialized_start=318
29
29
  _globals['_SERVICE_STATUS']._serialized_end=456
30
+ _globals['_SERVICEAGENT']._serialized_start=458
31
+ _globals['_SERVICEAGENT']._serialized_end=545
30
32
  # @@protoc_insertion_point(module_scope)
@@ -96,3 +96,27 @@ class Service(google.protobuf.message.Message):
96
96
  def ClearField(self, field_name: typing.Literal["resource", b"resource", "service_id", b"service_id", "status", b"status", "updated_at", b"updated_at"]) -> None: ...
97
97
 
98
98
  global___Service = Service
99
+
100
+ @typing.final
101
+ class ServiceAgent(google.protobuf.message.Message):
102
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
103
+
104
+ SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
105
+ SERVICE_ID_FIELD_NUMBER: builtins.int
106
+ MICROSERVICE_ID_FIELD_NUMBER: builtins.int
107
+ service_account_id: builtins.str
108
+ """ID of the agent service account."""
109
+ service_id: builtins.str
110
+ """ID of the service."""
111
+ microservice_id: builtins.str
112
+ """ID of the microservice."""
113
+ def __init__(
114
+ self,
115
+ *,
116
+ service_account_id: builtins.str = ...,
117
+ service_id: builtins.str = ...,
118
+ microservice_id: builtins.str = ...,
119
+ ) -> None: ...
120
+ def ClearField(self, field_name: typing.Literal["microservice_id", b"microservice_id", "service_account_id", b"service_account_id", "service_id", b"service_id"]) -> None: ...
121
+
122
+ global___ServiceAgent = ServiceAgent
@@ -19,7 +19,7 @@ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operati
19
19
  from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
20
20
 
21
21
 
22
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1yandex/cloud/iam/v1/service_control_service.proto\x12\x13yandex.cloud.iam.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a\"yandex/cloud/iam/v1/resource.proto\x1a)yandex/cloud/iam/v1/service_control.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"l\n\x11GetServiceRequest\x12 \n\nservice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.ResourceB\x04\xe8\xc7\x31\x01\"\x8b\x01\n\x13ListServicesRequest\x12\x35\n\x08resource\x18\x01 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.ResourceB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1e\n\npage_token\x18\x03 \x01(\tB\n\x8a\xc8\x31\x06<=2000\"_\n\x14ListServicesResponse\x12.\n\x08services\x18\x01 \x03(\x0b\x32\x1c.yandex.cloud.iam.v1.Service\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"o\n\x14\x45nableServiceRequest\x12 \n\nservice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.ResourceB\x04\xe8\xc7\x31\x01\"\\\n\x15\x45nableServiceMetadata\x12\x12\n\nservice_id\x18\x01 \x01(\t\x12/\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.Resource\"o\n\x14ResumeServiceRequest\x12 \n\nservice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.ResourceB\x04\xe8\xc7\x31\x01\"\\\n\x15ResumeServiceMetadata\x12\x12\n\nservice_id\x18\x01 \x01(\t\x12/\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.Resource\"}\n\x13PauseServiceRequest\x12 \n\nservice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.ResourceB\x04\xe8\xc7\x31\x01\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\"[\n\x14PauseServiceMetadata\x12\x12\n\nservice_id\x18\x01 \x01(\t\x12/\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.Resource\"p\n\x15\x44isableServiceRequest\x12 \n\nservice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.ResourceB\x04\xe8\xc7\x31\x01\"]\n\x16\x44isableServiceMetadata\x12\x12\n\nservice_id\x18\x01 \x01(\t\x12/\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.Resource2\xb6\x07\n\x15ServiceControlService\x12r\n\x03Get\x12&.yandex.cloud.iam.v1.GetServiceRequest\x1a\x1c.yandex.cloud.iam.v1.Service\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/iam/v1/services/{service_id}\x12u\n\x04List\x12(.yandex.cloud.iam.v1.ListServicesRequest\x1a).yandex.cloud.iam.v1.ListServicesResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/iam/v1/services\x12\xaa\x01\n\x06\x45nable\x12).yandex.cloud.iam.v1.EnableServiceRequest\x1a!.yandex.cloud.operation.Operation\"R\xb2\xd2* \n\x15\x45nableServiceMetadata\x12\x07Service\x82\xd3\xe4\x93\x02(\"#/iam/v1/service/{service_id}:enable:\x01*\x12\xaa\x01\n\x06Resume\x12).yandex.cloud.iam.v1.ResumeServiceRequest\x1a!.yandex.cloud.operation.Operation\"R\xb2\xd2* \n\x15ResumeServiceMetadata\x12\x07Service\x82\xd3\xe4\x93\x02(\"#/iam/v1/service/{service_id}:resume:\x01*\x12\xa6\x01\n\x05Pause\x12(.yandex.cloud.iam.v1.PauseServiceRequest\x1a!.yandex.cloud.operation.Operation\"P\xb2\xd2*\x1f\n\x14PauseServiceMetadata\x12\x07Service\x82\xd3\xe4\x93\x02\'\"\"/iam/v1/service/{service_id}:pause:\x01*\x12\xae\x01\n\x07\x44isable\x12*.yandex.cloud.iam.v1.DisableServiceRequest\x1a!.yandex.cloud.operation.Operation\"T\xb2\xd2*!\n\x16\x44isableServiceMetadata\x12\x07Service\x82\xd3\xe4\x93\x02)\"$/iam/v1/service/{service_id}:disable:\x01*BV\n\x17yandex.cloud.api.iam.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1;iamb\x06proto3')
22
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1yandex/cloud/iam/v1/service_control_service.proto\x12\x13yandex.cloud.iam.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a\"yandex/cloud/iam/v1/resource.proto\x1a)yandex/cloud/iam/v1/service_control.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"l\n\x11GetServiceRequest\x12 \n\nservice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.ResourceB\x04\xe8\xc7\x31\x01\"\x8b\x01\n\x13ListServicesRequest\x12\x35\n\x08resource\x18\x01 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.ResourceB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1e\n\npage_token\x18\x03 \x01(\tB\n\x8a\xc8\x31\x06<=2000\"_\n\x14ListServicesResponse\x12.\n\x08services\x18\x01 \x03(\x0b\x32\x1c.yandex.cloud.iam.v1.Service\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"o\n\x14\x45nableServiceRequest\x12 \n\nservice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.ResourceB\x04\xe8\xc7\x31\x01\"\\\n\x15\x45nableServiceMetadata\x12\x12\n\nservice_id\x18\x01 \x01(\t\x12/\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.Resource\"o\n\x14ResumeServiceRequest\x12 \n\nservice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.ResourceB\x04\xe8\xc7\x31\x01\"\\\n\x15ResumeServiceMetadata\x12\x12\n\nservice_id\x18\x01 \x01(\t\x12/\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.Resource\"}\n\x13PauseServiceRequest\x12 \n\nservice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.ResourceB\x04\xe8\xc7\x31\x01\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\"[\n\x14PauseServiceMetadata\x12\x12\n\nservice_id\x18\x01 \x01(\t\x12/\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.Resource\"p\n\x15\x44isableServiceRequest\x12 \n\nservice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.ResourceB\x04\xe8\xc7\x31\x01\"]\n\x16\x44isableServiceMetadata\x12\x12\n\nservice_id\x18\x01 \x01(\t\x12/\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.Resource\"\x98\x01\n\x1aResolveServiceAgentRequest\x12 \n\nservice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x0fmicroservice_id\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x35\n\x08resource\x18\x03 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.ResourceB\x04\xe8\xc7\x31\x01\x32\xe0\x08\n\x15ServiceControlService\x12r\n\x03Get\x12&.yandex.cloud.iam.v1.GetServiceRequest\x1a\x1c.yandex.cloud.iam.v1.Service\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/iam/v1/services/{service_id}\x12u\n\x04List\x12(.yandex.cloud.iam.v1.ListServicesRequest\x1a).yandex.cloud.iam.v1.ListServicesResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/iam/v1/services\x12\xaa\x01\n\x06\x45nable\x12).yandex.cloud.iam.v1.EnableServiceRequest\x1a!.yandex.cloud.operation.Operation\"R\xb2\xd2* \n\x15\x45nableServiceMetadata\x12\x07Service\x82\xd3\xe4\x93\x02(\"#/iam/v1/service/{service_id}:enable:\x01*\x12\xaa\x01\n\x06Resume\x12).yandex.cloud.iam.v1.ResumeServiceRequest\x1a!.yandex.cloud.operation.Operation\"R\xb2\xd2* \n\x15ResumeServiceMetadata\x12\x07Service\x82\xd3\xe4\x93\x02(\"#/iam/v1/service/{service_id}:resume:\x01*\x12\xa6\x01\n\x05Pause\x12(.yandex.cloud.iam.v1.PauseServiceRequest\x1a!.yandex.cloud.operation.Operation\"P\xb2\xd2*\x1f\n\x14PauseServiceMetadata\x12\x07Service\x82\xd3\xe4\x93\x02\'\"\"/iam/v1/service/{service_id}:pause:\x01*\x12\xae\x01\n\x07\x44isable\x12*.yandex.cloud.iam.v1.DisableServiceRequest\x1a!.yandex.cloud.operation.Operation\"T\xb2\xd2*!\n\x16\x44isableServiceMetadata\x12\x07Service\x82\xd3\xe4\x93\x02)\"$/iam/v1/service/{service_id}:disable:\x01*\x12\xa7\x01\n\x0cResolveAgent\x12/.yandex.cloud.iam.v1.ResolveServiceAgentRequest\x1a!.yandex.cloud.iam.v1.ServiceAgent\"C\x82\xd3\xe4\x93\x02=\x12;/iam/v1/service/{service_id}/microservice/{microservice_id}BV\n\x17yandex.cloud.api.iam.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1;iamb\x06proto3')
23
23
 
24
24
  _globals = globals()
25
25
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -53,6 +53,12 @@ if _descriptor._USE_C_DESCRIPTORS == False:
53
53
  _DISABLESERVICEREQUEST.fields_by_name['service_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
54
54
  _DISABLESERVICEREQUEST.fields_by_name['resource']._options = None
55
55
  _DISABLESERVICEREQUEST.fields_by_name['resource']._serialized_options = b'\350\3071\001'
56
+ _RESOLVESERVICEAGENTREQUEST.fields_by_name['service_id']._options = None
57
+ _RESOLVESERVICEAGENTREQUEST.fields_by_name['service_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
58
+ _RESOLVESERVICEAGENTREQUEST.fields_by_name['microservice_id']._options = None
59
+ _RESOLVESERVICEAGENTREQUEST.fields_by_name['microservice_id']._serialized_options = b'\212\3101\004<=50'
60
+ _RESOLVESERVICEAGENTREQUEST.fields_by_name['resource']._options = None
61
+ _RESOLVESERVICEAGENTREQUEST.fields_by_name['resource']._serialized_options = b'\350\3071\001'
56
62
  _SERVICECONTROLSERVICE.methods_by_name['Get']._options = None
57
63
  _SERVICECONTROLSERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002\037\022\035/iam/v1/services/{service_id}'
58
64
  _SERVICECONTROLSERVICE.methods_by_name['List']._options = None
@@ -65,6 +71,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
65
71
  _SERVICECONTROLSERVICE.methods_by_name['Pause']._serialized_options = b'\262\322*\037\n\024PauseServiceMetadata\022\007Service\202\323\344\223\002\'\"\"/iam/v1/service/{service_id}:pause:\001*'
66
72
  _SERVICECONTROLSERVICE.methods_by_name['Disable']._options = None
67
73
  _SERVICECONTROLSERVICE.methods_by_name['Disable']._serialized_options = b'\262\322*!\n\026DisableServiceMetadata\022\007Service\202\323\344\223\002)\"$/iam/v1/service/{service_id}:disable:\001*'
74
+ _SERVICECONTROLSERVICE.methods_by_name['ResolveAgent']._options = None
75
+ _SERVICECONTROLSERVICE.methods_by_name['ResolveAgent']._serialized_options = b'\202\323\344\223\002=\022;/iam/v1/service/{service_id}/microservice/{microservice_id}'
68
76
  _globals['_GETSERVICEREQUEST']._serialized_start=288
69
77
  _globals['_GETSERVICEREQUEST']._serialized_end=396
70
78
  _globals['_LISTSERVICESREQUEST']._serialized_start=399
@@ -87,6 +95,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
87
95
  _globals['_DISABLESERVICEREQUEST']._serialized_end=1383
88
96
  _globals['_DISABLESERVICEMETADATA']._serialized_start=1385
89
97
  _globals['_DISABLESERVICEMETADATA']._serialized_end=1478
90
- _globals['_SERVICECONTROLSERVICE']._serialized_start=1481
91
- _globals['_SERVICECONTROLSERVICE']._serialized_end=2431
98
+ _globals['_RESOLVESERVICEAGENTREQUEST']._serialized_start=1481
99
+ _globals['_RESOLVESERVICEAGENTREQUEST']._serialized_end=1633
100
+ _globals['_SERVICECONTROLSERVICE']._serialized_start=1636
101
+ _globals['_SERVICECONTROLSERVICE']._serialized_end=2756
92
102
  # @@protoc_insertion_point(module_scope)
@@ -308,3 +308,30 @@ class DisableServiceMetadata(google.protobuf.message.Message):
308
308
  def ClearField(self, field_name: typing.Literal["resource", b"resource", "service_id", b"service_id"]) -> None: ...
309
309
 
310
310
  global___DisableServiceMetadata = DisableServiceMetadata
311
+
312
+ @typing.final
313
+ class ResolveServiceAgentRequest(google.protobuf.message.Message):
314
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
315
+
316
+ SERVICE_ID_FIELD_NUMBER: builtins.int
317
+ MICROSERVICE_ID_FIELD_NUMBER: builtins.int
318
+ RESOURCE_FIELD_NUMBER: builtins.int
319
+ service_id: builtins.str
320
+ """ID of the Service."""
321
+ microservice_id: builtins.str
322
+ """ID of the Microservice."""
323
+ @property
324
+ def resource(self) -> yandex.cloud.iam.v1.resource_pb2.Resource:
325
+ """Resource container."""
326
+
327
+ def __init__(
328
+ self,
329
+ *,
330
+ service_id: builtins.str = ...,
331
+ microservice_id: builtins.str = ...,
332
+ resource: yandex.cloud.iam.v1.resource_pb2.Resource | None = ...,
333
+ ) -> None: ...
334
+ def HasField(self, field_name: typing.Literal["resource", b"resource"]) -> builtins.bool: ...
335
+ def ClearField(self, field_name: typing.Literal["microservice_id", b"microservice_id", "resource", b"resource", "service_id", b"service_id"]) -> None: ...
336
+
337
+ global___ResolveServiceAgentRequest = ResolveServiceAgentRequest
@@ -47,6 +47,11 @@ class ServiceControlServiceStub(object):
47
47
  request_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_service__control__service__pb2.DisableServiceRequest.SerializeToString,
48
48
  response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
49
49
  )
50
+ self.ResolveAgent = channel.unary_unary(
51
+ '/yandex.cloud.iam.v1.ServiceControlService/ResolveAgent',
52
+ request_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_service__control__service__pb2.ResolveServiceAgentRequest.SerializeToString,
53
+ response_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_service__control__pb2.ServiceAgent.FromString,
54
+ )
50
55
 
51
56
 
52
57
  class ServiceControlServiceServicer(object):
@@ -97,6 +102,13 @@ class ServiceControlServiceServicer(object):
97
102
  context.set_details('Method not implemented!')
98
103
  raise NotImplementedError('Method not implemented!')
99
104
 
105
+ def ResolveAgent(self, request, context):
106
+ """Resolve agent service account for the service in the specified resource container.
107
+ """
108
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
109
+ context.set_details('Method not implemented!')
110
+ raise NotImplementedError('Method not implemented!')
111
+
100
112
 
101
113
  def add_ServiceControlServiceServicer_to_server(servicer, server):
102
114
  rpc_method_handlers = {
@@ -130,6 +142,11 @@ def add_ServiceControlServiceServicer_to_server(servicer, server):
130
142
  request_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_service__control__service__pb2.DisableServiceRequest.FromString,
131
143
  response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
132
144
  ),
145
+ 'ResolveAgent': grpc.unary_unary_rpc_method_handler(
146
+ servicer.ResolveAgent,
147
+ request_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_service__control__service__pb2.ResolveServiceAgentRequest.FromString,
148
+ response_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_service__control__pb2.ServiceAgent.SerializeToString,
149
+ ),
133
150
  }
134
151
  generic_handler = grpc.method_handlers_generic_handler(
135
152
  'yandex.cloud.iam.v1.ServiceControlService', rpc_method_handlers)
@@ -242,3 +259,20 @@ class ServiceControlService(object):
242
259
  yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
243
260
  options, channel_credentials,
244
261
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
262
+
263
+ @staticmethod
264
+ def ResolveAgent(request,
265
+ target,
266
+ options=(),
267
+ channel_credentials=None,
268
+ call_credentials=None,
269
+ insecure=False,
270
+ compression=None,
271
+ wait_for_ready=None,
272
+ timeout=None,
273
+ metadata=None):
274
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.iam.v1.ServiceControlService/ResolveAgent',
275
+ yandex_dot_cloud_dot_iam_dot_v1_dot_service__control__service__pb2.ResolveServiceAgentRequest.SerializeToString,
276
+ yandex_dot_cloud_dot_iam_dot_v1_dot_service__control__pb2.ServiceAgent.FromString,
277
+ options, channel_credentials,
278
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -62,6 +62,12 @@ class ServiceControlServiceStub:
62
62
  ]
63
63
  """Disable a service in the specified resource container."""
64
64
 
65
+ ResolveAgent: grpc.UnaryUnaryMultiCallable[
66
+ yandex.cloud.iam.v1.service_control_service_pb2.ResolveServiceAgentRequest,
67
+ yandex.cloud.iam.v1.service_control_pb2.ServiceAgent,
68
+ ]
69
+ """Resolve agent service account for the service in the specified resource container."""
70
+
65
71
  class ServiceControlServiceAsyncStub:
66
72
  """A set of methods for managing Service resources."""
67
73
 
@@ -104,6 +110,12 @@ class ServiceControlServiceAsyncStub:
104
110
  ]
105
111
  """Disable a service in the specified resource container."""
106
112
 
113
+ ResolveAgent: grpc.aio.UnaryUnaryMultiCallable[
114
+ yandex.cloud.iam.v1.service_control_service_pb2.ResolveServiceAgentRequest,
115
+ yandex.cloud.iam.v1.service_control_pb2.ServiceAgent,
116
+ ]
117
+ """Resolve agent service account for the service in the specified resource container."""
118
+
107
119
  class ServiceControlServiceServicer(metaclass=abc.ABCMeta):
108
120
  """A set of methods for managing Service resources."""
109
121
 
@@ -158,4 +170,12 @@ class ServiceControlServiceServicer(metaclass=abc.ABCMeta):
158
170
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
159
171
  """Disable a service in the specified resource container."""
160
172
 
173
+ @abc.abstractmethod
174
+ def ResolveAgent(
175
+ self,
176
+ request: yandex.cloud.iam.v1.service_control_service_pb2.ResolveServiceAgentRequest,
177
+ context: _ServicerContext,
178
+ ) -> typing.Union[yandex.cloud.iam.v1.service_control_pb2.ServiceAgent, collections.abc.Awaitable[yandex.cloud.iam.v1.service_control_pb2.ServiceAgent]]:
179
+ """Resolve agent service account for the service in the specified resource container."""
180
+
161
181
  def add_ServiceControlServiceServicer_to_server(servicer: ServiceControlServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...