yandexcloud 0.354.0__py3-none-any.whl → 0.355.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 (76) hide show
  1. yandex/cloud/ai/assistants/v1/common_pb2.py +58 -30
  2. yandex/cloud/ai/assistants/v1/common_pb2.pyi +178 -3
  3. yandex/cloud/airflow/v1/cluster_pb2.py +12 -8
  4. yandex/cloud/airflow/v1/cluster_pb2.pyi +4 -0
  5. yandex/cloud/apploadbalancer/v1/virtual_host_pb2.py +32 -32
  6. yandex/cloud/apploadbalancer/v1/virtual_host_pb2.pyi +5 -1
  7. yandex/cloud/apploadbalancer/v1/virtual_host_service_pb2.py +6 -6
  8. yandex/cloud/apploadbalancer/v1/virtual_host_service_pb2.pyi +5 -1
  9. yandex/cloud/backup/v1/resource_pb2.py +2 -2
  10. yandex/cloud/backup/v1/resource_pb2.pyi +8 -0
  11. yandex/cloud/baremetal/v1alpha/configuration_service_pb2.py +12 -8
  12. yandex/cloud/baremetal/v1alpha/configuration_service_pb2.pyi +16 -2
  13. yandex/cloud/compute/v1/maintenance_service_pb2.py +47 -0
  14. yandex/cloud/compute/v1/maintenance_service_pb2.pyi +8 -0
  15. yandex/cloud/compute/v1/maintenance_service_pb2_grpc.py +190 -0
  16. yandex/cloud/compute/v1/maintenance_service_pb2_grpc.pyi +91 -0
  17. yandex/cloud/compute/v1/reserved_instance_pool_pb2.py +8 -4
  18. yandex/cloud/compute/v1/reserved_instance_pool_pb2.pyi +69 -2
  19. yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.py +44 -20
  20. yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.pyi +138 -2
  21. yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.py +88 -0
  22. yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.pyi +40 -0
  23. yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +2 -4
  24. yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.py +3 -6
  25. yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.pyi +3 -9
  26. yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +2 -4
  27. yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.py +6 -3
  28. yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.pyi +6 -0
  29. yandex/cloud/iam/v1/oauth_client_pb2.py +39 -0
  30. yandex/cloud/iam/v1/oauth_client_pb2.pyi +85 -0
  31. yandex/cloud/iam/v1/oauth_client_pb2_grpc.py +24 -0
  32. yandex/cloud/iam/v1/oauth_client_pb2_grpc.pyi +17 -0
  33. yandex/cloud/iam/v1/oauth_client_secret_pb2.py +38 -0
  34. yandex/cloud/iam/v1/oauth_client_secret_pb2.pyi +49 -0
  35. yandex/cloud/iam/v1/oauth_client_secret_pb2_grpc.py +24 -0
  36. yandex/cloud/iam/v1/oauth_client_secret_pb2_grpc.pyi +17 -0
  37. yandex/cloud/iam/v1/oauth_client_secret_service_pb2.py +80 -0
  38. yandex/cloud/iam/v1/oauth_client_secret_service_pb2.pyi +188 -0
  39. yandex/cloud/iam/v1/oauth_client_secret_service_pb2_grpc.py +237 -0
  40. yandex/cloud/iam/v1/oauth_client_secret_service_pb2_grpc.pyi +121 -0
  41. yandex/cloud/iam/v1/oauth_client_service_pb2.py +99 -0
  42. yandex/cloud/iam/v1/oauth_client_service_pb2.pyi +257 -0
  43. yandex/cloud/iam/v1/oauth_client_service_pb2_grpc.py +281 -0
  44. yandex/cloud/iam/v1/oauth_client_service_pb2_grpc.pyi +141 -0
  45. yandex/cloud/iot/broker/v1/broker_service_pb2.py +50 -50
  46. yandex/cloud/iot/devices/v1/device_service_pb2.py +61 -61
  47. yandex/cloud/iot/devices/v1/registry_service_pb2.py +82 -82
  48. yandex/cloud/maintenance/__init__.py +0 -0
  49. yandex/cloud/maintenance/v2/__init__.py +0 -0
  50. yandex/cloud/maintenance/v2/common_pb2.py +73 -0
  51. yandex/cloud/maintenance/v2/common_pb2.pyi +324 -0
  52. yandex/cloud/maintenance/v2/common_pb2_grpc.py +24 -0
  53. yandex/cloud/maintenance/v2/common_pb2_grpc.pyi +17 -0
  54. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +190 -150
  55. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +1712 -1025
  56. yandex/cloud/mdb/clickhouse/v1/user_pb2.py +98 -86
  57. yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +1248 -792
  58. yandex/cloud/mdb/opensearch/v1/backup_pb2.py +14 -14
  59. yandex/cloud/mdb/opensearch/v1/backup_pb2.pyi +13 -1
  60. yandex/cloud/metastore/v1/cluster_pb2.py +18 -16
  61. yandex/cloud/metastore/v1/cluster_pb2.pyi +31 -1
  62. yandex/cloud/searchapi/v2/gen_search_service_pb2.py +10 -10
  63. yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +7 -1
  64. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.py +50 -18
  65. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.pyi +241 -2
  66. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.py +18 -18
  67. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.pyi +22 -2
  68. yandex/cloud/trino/v1/cluster_service_pb2.py +36 -36
  69. yandex/cloud/trino/v1/cluster_service_pb2.pyi +14 -2
  70. yandexcloud/__init__.py +1 -1
  71. {yandexcloud-0.354.0.dist-info → yandexcloud-0.355.0.dist-info}/METADATA +1 -1
  72. {yandexcloud-0.354.0.dist-info → yandexcloud-0.355.0.dist-info}/RECORD +76 -50
  73. {yandexcloud-0.354.0.dist-info → yandexcloud-0.355.0.dist-info}/AUTHORS +0 -0
  74. {yandexcloud-0.354.0.dist-info → yandexcloud-0.355.0.dist-info}/LICENSE +0 -0
  75. {yandexcloud-0.354.0.dist-info → yandexcloud-0.355.0.dist-info}/WHEEL +0 -0
  76. {yandexcloud-0.354.0.dist-info → yandexcloud-0.355.0.dist-info}/top_level.txt +0 -0
@@ -28,8 +28,7 @@ if _version_not_supported:
28
28
 
29
29
 
30
30
  class EndpointServiceStub(object):
31
- """A set of methods for managing [endpoints]({{ api-url-prefix
32
- }}/data-transfer/concepts/#endpoint).
31
+ """A set of methods for managing [endpoints]({{ api-url-prefix }}/data-transfer/concepts/#endpoint).
33
32
  """
34
33
 
35
34
  def __init__(self, channel):
@@ -66,8 +65,7 @@ class EndpointServiceStub(object):
66
65
 
67
66
 
68
67
  class EndpointServiceServicer(object):
69
- """A set of methods for managing [endpoints]({{ api-url-prefix
70
- }}/data-transfer/concepts/#endpoint).
68
+ """A set of methods for managing [endpoints]({{ api-url-prefix }}/data-transfer/concepts/#endpoint).
71
69
  """
72
70
 
73
71
  def Get(self, request, context):
@@ -144,8 +142,7 @@ def add_EndpointServiceServicer_to_server(servicer, server):
144
142
 
145
143
  # This class is part of an EXPERIMENTAL API.
146
144
  class EndpointService(object):
147
- """A set of methods for managing [endpoints]({{ api-url-prefix
148
- }}/data-transfer/concepts/#endpoint).
145
+ """A set of methods for managing [endpoints]({{ api-url-prefix }}/data-transfer/concepts/#endpoint).
149
146
  """
150
147
 
151
148
  @staticmethod
@@ -20,9 +20,7 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
20
20
  ...
21
21
 
22
22
  class EndpointServiceStub:
23
- """A set of methods for managing [endpoints]({{ api-url-prefix
24
- }}/data-transfer/concepts/#endpoint).
25
- """
23
+ """A set of methods for managing [endpoints]({{ api-url-prefix }}/data-transfer/concepts/#endpoint)."""
26
24
 
27
25
  def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
28
26
  Get: grpc.UnaryUnaryMultiCallable[
@@ -59,9 +57,7 @@ class EndpointServiceStub:
59
57
  """Deletes the specified endpoint."""
60
58
 
61
59
  class EndpointServiceAsyncStub:
62
- """A set of methods for managing [endpoints]({{ api-url-prefix
63
- }}/data-transfer/concepts/#endpoint).
64
- """
60
+ """A set of methods for managing [endpoints]({{ api-url-prefix }}/data-transfer/concepts/#endpoint)."""
65
61
 
66
62
  Get: grpc.aio.UnaryUnaryMultiCallable[
67
63
  yandex.cloud.datatransfer.v1.endpoint_service_pb2.GetEndpointRequest,
@@ -97,9 +93,7 @@ class EndpointServiceAsyncStub:
97
93
  """Deletes the specified endpoint."""
98
94
 
99
95
  class EndpointServiceServicer(metaclass=abc.ABCMeta):
100
- """A set of methods for managing [endpoints]({{ api-url-prefix
101
- }}/data-transfer/concepts/#endpoint).
102
- """
96
+ """A set of methods for managing [endpoints]({{ api-url-prefix }}/data-transfer/concepts/#endpoint)."""
103
97
 
104
98
  @abc.abstractmethod
105
99
  def Get(
@@ -65,8 +65,7 @@ class CreateTransferRequest(google.protobuf.message.Message):
65
65
  def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
66
66
  """Transfer labels as `key:value` pairs.
67
67
 
68
- For details about the concept, see [documentation]({{ api-url-prefix
69
- }}/resource-manager/concepts/labels).
68
+ For details about the concept, see [documentation]({{ api-url-prefix }}/resource-manager/concepts/labels).
70
69
  """
71
70
 
72
71
  @property
@@ -156,8 +155,7 @@ class UpdateTransferRequest(google.protobuf.message.Message):
156
155
  def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
157
156
  """Transfer labels as `key:value` pairs.
158
157
 
159
- For details about the concept, see [documentation]({{ api-url-prefix
160
- }}/resource-manager/concepts/labels).
158
+ For details about the concept, see [documentation]({{ api-url-prefix }}/resource-manager/concepts/labels).
161
159
  """
162
160
 
163
161
  @property
@@ -28,7 +28,8 @@ if _version_not_supported:
28
28
 
29
29
 
30
30
  class TransferServiceStub(object):
31
- """Missing associated documentation comment in .proto file."""
31
+ """A set of methods for managing [transfers]({{ api-url-prefix }}/data-transfer/concepts/#transfer).
32
+ """
32
33
 
33
34
  def __init__(self, channel):
34
35
  """Constructor.
@@ -74,7 +75,8 @@ class TransferServiceStub(object):
74
75
 
75
76
 
76
77
  class TransferServiceServicer(object):
77
- """Missing associated documentation comment in .proto file."""
78
+ """A set of methods for managing [transfers]({{ api-url-prefix }}/data-transfer/concepts/#transfer).
79
+ """
78
80
 
79
81
  def Create(self, request, context):
80
82
  """Creates a transfer in the specified folder.
@@ -178,7 +180,8 @@ def add_TransferServiceServicer_to_server(servicer, server):
178
180
 
179
181
  # This class is part of an EXPERIMENTAL API.
180
182
  class TransferService(object):
181
- """Missing associated documentation comment in .proto file."""
183
+ """A set of methods for managing [transfers]({{ api-url-prefix }}/data-transfer/concepts/#transfer).
184
+ """
182
185
 
183
186
  @staticmethod
184
187
  def Create(request,
@@ -20,6 +20,8 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
20
20
  ...
21
21
 
22
22
  class TransferServiceStub:
23
+ """A set of methods for managing [transfers]({{ api-url-prefix }}/data-transfer/concepts/#transfer)."""
24
+
23
25
  def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
24
26
  Create: grpc.UnaryUnaryMultiCallable[
25
27
  yandex.cloud.datatransfer.v1.transfer_service_pb2.CreateTransferRequest,
@@ -73,6 +75,8 @@ class TransferServiceStub:
73
75
  """
74
76
 
75
77
  class TransferServiceAsyncStub:
78
+ """A set of methods for managing [transfers]({{ api-url-prefix }}/data-transfer/concepts/#transfer)."""
79
+
76
80
  Create: grpc.aio.UnaryUnaryMultiCallable[
77
81
  yandex.cloud.datatransfer.v1.transfer_service_pb2.CreateTransferRequest,
78
82
  yandex.cloud.operation.operation_pb2.Operation,
@@ -125,6 +129,8 @@ class TransferServiceAsyncStub:
125
129
  """
126
130
 
127
131
  class TransferServiceServicer(metaclass=abc.ABCMeta):
132
+ """A set of methods for managing [transfers]({{ api-url-prefix }}/data-transfer/concepts/#transfer)."""
133
+
128
134
  @abc.abstractmethod
129
135
  def Create(
130
136
  self,
@@ -0,0 +1,39 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: yandex/cloud/iam/v1/oauth_client.proto
5
+ # Protobuf Python Version: 5.29.0
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 29,
16
+ 0,
17
+ '',
18
+ 'yandex/cloud/iam/v1/oauth_client.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&yandex/cloud/iam/v1/oauth_client.proto\x12\x13yandex.cloud.iam.v1\"\xe4\x01\n\x0bOAuthClient\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x15\n\rredirect_uris\x18\x03 \x03(\t\x12\x0e\n\x06scopes\x18\x04 \x03(\t\x12\x11\n\tfolder_id\x18\x05 \x01(\t\x12\x37\n\x06status\x18\x06 \x01(\x0e\x32\'.yandex.cloud.iam.v1.OAuthClient.Status\"H\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x42V\n\x17yandex.cloud.api.iam.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1;iamb\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.iam.v1.oauth_client_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ _globals['DESCRIPTOR']._loaded_options = None
34
+ _globals['DESCRIPTOR']._serialized_options = b'\n\027yandex.cloud.api.iam.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1;iam'
35
+ _globals['_OAUTHCLIENT']._serialized_start=64
36
+ _globals['_OAUTHCLIENT']._serialized_end=292
37
+ _globals['_OAUTHCLIENT_STATUS']._serialized_start=220
38
+ _globals['_OAUTHCLIENT_STATUS']._serialized_end=292
39
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,85 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import collections.abc
8
+ import google.protobuf.descriptor
9
+ import google.protobuf.internal.containers
10
+ import google.protobuf.internal.enum_type_wrapper
11
+ import google.protobuf.message
12
+ import sys
13
+ import typing
14
+
15
+ if sys.version_info >= (3, 10):
16
+ import typing as typing_extensions
17
+ else:
18
+ import typing_extensions
19
+
20
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
21
+
22
+ @typing.final
23
+ class OAuthClient(google.protobuf.message.Message):
24
+ """An OauthClient resource."""
25
+
26
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
27
+
28
+ class _Status:
29
+ ValueType = typing.NewType("ValueType", builtins.int)
30
+ V: typing_extensions.TypeAlias = ValueType
31
+
32
+ class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[OAuthClient._Status.ValueType], builtins.type):
33
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
34
+ STATUS_UNSPECIFIED: OAuthClient._Status.ValueType # 0
35
+ CREATING: OAuthClient._Status.ValueType # 1
36
+ """OAuth client is being created."""
37
+ ACTIVE: OAuthClient._Status.ValueType # 2
38
+ """OAuth client is active."""
39
+ DELETING: OAuthClient._Status.ValueType # 3
40
+ """OAuth client is being deleted."""
41
+
42
+ class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
43
+ STATUS_UNSPECIFIED: OAuthClient.Status.ValueType # 0
44
+ CREATING: OAuthClient.Status.ValueType # 1
45
+ """OAuth client is being created."""
46
+ ACTIVE: OAuthClient.Status.ValueType # 2
47
+ """OAuth client is active."""
48
+ DELETING: OAuthClient.Status.ValueType # 3
49
+ """OAuth client is being deleted."""
50
+
51
+ ID_FIELD_NUMBER: builtins.int
52
+ NAME_FIELD_NUMBER: builtins.int
53
+ REDIRECT_URIS_FIELD_NUMBER: builtins.int
54
+ SCOPES_FIELD_NUMBER: builtins.int
55
+ FOLDER_ID_FIELD_NUMBER: builtins.int
56
+ STATUS_FIELD_NUMBER: builtins.int
57
+ id: builtins.str
58
+ """ID of the oauth client."""
59
+ name: builtins.str
60
+ """Name for the oauth client."""
61
+ folder_id: builtins.str
62
+ """ID of the folder oauth client belongs to."""
63
+ status: global___OAuthClient.Status.ValueType
64
+ """Current status of the oauth client."""
65
+ @property
66
+ def redirect_uris(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
67
+ """List of redirect uries allowed for the oauth client."""
68
+
69
+ @property
70
+ def scopes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
71
+ """List of oauth scopes requested by the oauth client."""
72
+
73
+ def __init__(
74
+ self,
75
+ *,
76
+ id: builtins.str = ...,
77
+ name: builtins.str = ...,
78
+ redirect_uris: collections.abc.Iterable[builtins.str] | None = ...,
79
+ scopes: collections.abc.Iterable[builtins.str] | None = ...,
80
+ folder_id: builtins.str = ...,
81
+ status: global___OAuthClient.Status.ValueType = ...,
82
+ ) -> None: ...
83
+ def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "id", b"id", "name", b"name", "redirect_uris", b"redirect_uris", "scopes", b"scopes", "status", b"status"]) -> None: ...
84
+
85
+ global___OAuthClient = OAuthClient
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.70.0'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + f' but the generated code in yandex/cloud/iam/v1/oauth_client_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
@@ -0,0 +1,17 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+
12
+ _T = typing.TypeVar("_T")
13
+
14
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
15
+
16
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
17
+ ...
@@ -0,0 +1,38 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: yandex/cloud/iam/v1/oauth_client_secret.proto
5
+ # Protobuf Python Version: 5.29.0
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 29,
16
+ 0,
17
+ '',
18
+ 'yandex/cloud/iam/v1/oauth_client_secret.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/iam/v1/oauth_client_secret.proto\x12\x13yandex.cloud.iam.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x94\x01\n\x11OAuthClientSecret\x12\n\n\x02id\x18\x01 \x01(\t\x12\x17\n\x0foauth_client_id\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x15\n\rmasked_secret\x18\x04 \x01(\t\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampBV\n\x17yandex.cloud.api.iam.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1;iamb\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.iam.v1.oauth_client_secret_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ _globals['DESCRIPTOR']._loaded_options = None
35
+ _globals['DESCRIPTOR']._serialized_options = b'\n\027yandex.cloud.api.iam.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1;iam'
36
+ _globals['_OAUTHCLIENTSECRET']._serialized_start=104
37
+ _globals['_OAUTHCLIENTSECRET']._serialized_end=252
38
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,49 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import google.protobuf.descriptor
8
+ import google.protobuf.message
9
+ import google.protobuf.timestamp_pb2
10
+ import typing
11
+
12
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
13
+
14
+ @typing.final
15
+ class OAuthClientSecret(google.protobuf.message.Message):
16
+ """An OauthClientSecretResource"""
17
+
18
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
19
+
20
+ ID_FIELD_NUMBER: builtins.int
21
+ OAUTH_CLIENT_ID_FIELD_NUMBER: builtins.int
22
+ DESCRIPTION_FIELD_NUMBER: builtins.int
23
+ MASKED_SECRET_FIELD_NUMBER: builtins.int
24
+ CREATED_AT_FIELD_NUMBER: builtins.int
25
+ id: builtins.str
26
+ """ID of the oauth client secret."""
27
+ oauth_client_id: builtins.str
28
+ """ID of the oauth client that the secret belongs to."""
29
+ description: builtins.str
30
+ """Description of the oauth client secret."""
31
+ masked_secret: builtins.str
32
+ """Masked value of the oauth client secret: `yccs__[a-f0-9]{10}\\*{4}`"""
33
+ @property
34
+ def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
35
+ """Creation timestamp."""
36
+
37
+ def __init__(
38
+ self,
39
+ *,
40
+ id: builtins.str = ...,
41
+ oauth_client_id: builtins.str = ...,
42
+ description: builtins.str = ...,
43
+ masked_secret: builtins.str = ...,
44
+ created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
45
+ ) -> None: ...
46
+ def HasField(self, field_name: typing.Literal["created_at", b"created_at"]) -> builtins.bool: ...
47
+ def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "description", b"description", "id", b"id", "masked_secret", b"masked_secret", "oauth_client_id", b"oauth_client_id"]) -> None: ...
48
+
49
+ global___OAuthClientSecret = OAuthClientSecret
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.70.0'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + f' but the generated code in yandex/cloud/iam/v1/oauth_client_secret_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
@@ -0,0 +1,17 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+
12
+ _T = typing.TypeVar("_T")
13
+
14
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
15
+
16
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
17
+ ...
@@ -0,0 +1,80 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: yandex/cloud/iam/v1/oauth_client_secret_service.proto
5
+ # Protobuf Python Version: 5.29.0
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 29,
16
+ 0,
17
+ '',
18
+ 'yandex/cloud/iam/v1/oauth_client_secret_service.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from yandex.cloud.iam.v1 import oauth_client_secret_pb2 as yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__secret__pb2
26
+ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
27
+ from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
28
+ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
29
+ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
30
+
31
+
32
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5yandex/cloud/iam/v1/oauth_client_secret_service.proto\x12\x13yandex.cloud.iam.v1\x1a-yandex/cloud/iam/v1/oauth_client_secret.proto\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"K\n\x1bGetOAuthClientSecretRequest\x12,\n\x16oauth_client_secret_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x85\x01\n\x1dListOAuthClientSecretsRequest\x12\x1d\n\tpage_size\x18\x01 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1e\n\npage_token\x18\x02 \x01(\tB\n\x8a\xc8\x31\x06<=2000\x12%\n\x0foauth_client_id\x18\x03 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x7f\n\x1eListOAuthClientSecretsResponse\x12\x44\n\x14oauth_client_secrets\x18\x01 \x03(\x0b\x32&.yandex.cloud.iam.v1.OAuthClientSecret\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"g\n\x1e\x43reateOAuthClientSecretRequest\x12%\n\x0foauth_client_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1e\n\x0b\x64\x65scription\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=256\"A\n\x1f\x43reateOAuthClientSecretMetadata\x12\x1e\n\x16oauth_client_secret_id\x18\x01 \x01(\t\"|\n\x1f\x43reateOAuthClientSecretResponse\x12\x43\n\x13oauth_client_secret\x18\x01 \x01(\x0b\x32&.yandex.cloud.iam.v1.OAuthClientSecret\x12\x14\n\x0csecret_value\x18\x02 \x01(\t\"N\n\x1e\x44\x65leteOAuthClientSecretRequest\x12,\n\x16oauth_client_secret_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"A\n\x1f\x44\x65leteOAuthClientSecretMetadata\x12\x1e\n\x16oauth_client_secret_id\x18\x01 \x01(\t2\xfb\x05\n\x18OAuthClientSecretService\x12\x9c\x01\n\x03Get\x12\x30.yandex.cloud.iam.v1.GetOAuthClientSecretRequest\x1a&.yandex.cloud.iam.v1.OAuthClientSecret\";\x82\xd3\xe4\x93\x02\x35\x12\x33/iam/v1/oauthClientSecrets/{oauth_client_secret_id}\x12\x93\x01\n\x04List\x12\x32.yandex.cloud.iam.v1.ListOAuthClientSecretsRequest\x1a\x33.yandex.cloud.iam.v1.ListOAuthClientSecretsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/iam/v1/oauthClientSecrets\x12\xcd\x01\n\x06\x43reate\x12\x33.yandex.cloud.iam.v1.CreateOAuthClientSecretRequest\x1a!.yandex.cloud.operation.Operation\"k\xb2\xd2*B\n\x1f\x43reateOAuthClientSecretMetadata\x12\x1f\x43reateOAuthClientSecretResponse\x82\xd3\xe4\x93\x02\x1f\"\x1a/iam/v1/oauthClientSecrets:\x01*\x12\xd9\x01\n\x06\x44\x65lete\x12\x33.yandex.cloud.iam.v1.DeleteOAuthClientSecretRequest\x1a!.yandex.cloud.operation.Operation\"w\xb2\xd2*8\n\x1f\x44\x65leteOAuthClientSecretMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x35*3/iam/v1/oauthClientSecrets/{oauth_client_secret_id}BV\n\x17yandex.cloud.api.iam.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1;iamb\x06proto3')
33
+
34
+ _globals = globals()
35
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
36
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.iam.v1.oauth_client_secret_service_pb2', _globals)
37
+ if not _descriptor._USE_C_DESCRIPTORS:
38
+ _globals['DESCRIPTOR']._loaded_options = None
39
+ _globals['DESCRIPTOR']._serialized_options = b'\n\027yandex.cloud.api.iam.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1;iam'
40
+ _globals['_GETOAUTHCLIENTSECRETREQUEST'].fields_by_name['oauth_client_secret_id']._loaded_options = None
41
+ _globals['_GETOAUTHCLIENTSECRETREQUEST'].fields_by_name['oauth_client_secret_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
42
+ _globals['_LISTOAUTHCLIENTSECRETSREQUEST'].fields_by_name['page_size']._loaded_options = None
43
+ _globals['_LISTOAUTHCLIENTSECRETSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\0060-1000'
44
+ _globals['_LISTOAUTHCLIENTSECRETSREQUEST'].fields_by_name['page_token']._loaded_options = None
45
+ _globals['_LISTOAUTHCLIENTSECRETSREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\006<=2000'
46
+ _globals['_LISTOAUTHCLIENTSECRETSREQUEST'].fields_by_name['oauth_client_id']._loaded_options = None
47
+ _globals['_LISTOAUTHCLIENTSECRETSREQUEST'].fields_by_name['oauth_client_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
48
+ _globals['_CREATEOAUTHCLIENTSECRETREQUEST'].fields_by_name['oauth_client_id']._loaded_options = None
49
+ _globals['_CREATEOAUTHCLIENTSECRETREQUEST'].fields_by_name['oauth_client_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
50
+ _globals['_CREATEOAUTHCLIENTSECRETREQUEST'].fields_by_name['description']._loaded_options = None
51
+ _globals['_CREATEOAUTHCLIENTSECRETREQUEST'].fields_by_name['description']._serialized_options = b'\212\3101\005<=256'
52
+ _globals['_DELETEOAUTHCLIENTSECRETREQUEST'].fields_by_name['oauth_client_secret_id']._loaded_options = None
53
+ _globals['_DELETEOAUTHCLIENTSECRETREQUEST'].fields_by_name['oauth_client_secret_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
54
+ _globals['_OAUTHCLIENTSECRETSERVICE'].methods_by_name['Get']._loaded_options = None
55
+ _globals['_OAUTHCLIENTSECRETSERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\0025\0223/iam/v1/oauthClientSecrets/{oauth_client_secret_id}'
56
+ _globals['_OAUTHCLIENTSECRETSERVICE'].methods_by_name['List']._loaded_options = None
57
+ _globals['_OAUTHCLIENTSECRETSERVICE'].methods_by_name['List']._serialized_options = b'\202\323\344\223\002\034\022\032/iam/v1/oauthClientSecrets'
58
+ _globals['_OAUTHCLIENTSECRETSERVICE'].methods_by_name['Create']._loaded_options = None
59
+ _globals['_OAUTHCLIENTSECRETSERVICE'].methods_by_name['Create']._serialized_options = b'\262\322*B\n\037CreateOAuthClientSecretMetadata\022\037CreateOAuthClientSecretResponse\202\323\344\223\002\037\"\032/iam/v1/oauthClientSecrets:\001*'
60
+ _globals['_OAUTHCLIENTSECRETSERVICE'].methods_by_name['Delete']._loaded_options = None
61
+ _globals['_OAUTHCLIENTSECRETSERVICE'].methods_by_name['Delete']._serialized_options = b'\262\322*8\n\037DeleteOAuthClientSecretMetadata\022\025google.protobuf.Empty\202\323\344\223\0025*3/iam/v1/oauthClientSecrets/{oauth_client_secret_id}'
62
+ _globals['_GETOAUTHCLIENTSECRETREQUEST']._serialized_start=260
63
+ _globals['_GETOAUTHCLIENTSECRETREQUEST']._serialized_end=335
64
+ _globals['_LISTOAUTHCLIENTSECRETSREQUEST']._serialized_start=338
65
+ _globals['_LISTOAUTHCLIENTSECRETSREQUEST']._serialized_end=471
66
+ _globals['_LISTOAUTHCLIENTSECRETSRESPONSE']._serialized_start=473
67
+ _globals['_LISTOAUTHCLIENTSECRETSRESPONSE']._serialized_end=600
68
+ _globals['_CREATEOAUTHCLIENTSECRETREQUEST']._serialized_start=602
69
+ _globals['_CREATEOAUTHCLIENTSECRETREQUEST']._serialized_end=705
70
+ _globals['_CREATEOAUTHCLIENTSECRETMETADATA']._serialized_start=707
71
+ _globals['_CREATEOAUTHCLIENTSECRETMETADATA']._serialized_end=772
72
+ _globals['_CREATEOAUTHCLIENTSECRETRESPONSE']._serialized_start=774
73
+ _globals['_CREATEOAUTHCLIENTSECRETRESPONSE']._serialized_end=898
74
+ _globals['_DELETEOAUTHCLIENTSECRETREQUEST']._serialized_start=900
75
+ _globals['_DELETEOAUTHCLIENTSECRETREQUEST']._serialized_end=978
76
+ _globals['_DELETEOAUTHCLIENTSECRETMETADATA']._serialized_start=980
77
+ _globals['_DELETEOAUTHCLIENTSECRETMETADATA']._serialized_end=1045
78
+ _globals['_OAUTHCLIENTSECRETSERVICE']._serialized_start=1048
79
+ _globals['_OAUTHCLIENTSECRETSERVICE']._serialized_end=1811
80
+ # @@protoc_insertion_point(module_scope)