yandexcloud 0.365.0__py3-none-any.whl → 0.367.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 (117) hide show
  1. yandex/cloud/access/access_pb2.py +5 -3
  2. yandex/cloud/access/access_pb2.pyi +24 -0
  3. yandex/cloud/apploadbalancer/v1/backend_group_pb2.py +34 -32
  4. yandex/cloud/apploadbalancer/v1/backend_group_pb2.pyi +9 -1
  5. yandex/cloud/audittrails/v1/trail_pb2.py +9 -11
  6. yandex/cloud/audittrails/v1/trail_pb2.pyi +1 -5
  7. yandex/cloud/backup/v1/policy_pb2.py +9 -9
  8. yandex/cloud/backup/v1/policy_pb2.pyi +8 -0
  9. yandex/cloud/baremetal/v1alpha/standard_image_pb2.py +37 -0
  10. yandex/cloud/baremetal/v1alpha/standard_image_pb2.pyi +37 -0
  11. yandex/cloud/baremetal/v1alpha/standard_image_pb2_grpc.py +24 -0
  12. yandex/cloud/baremetal/v1alpha/standard_image_pb2_grpc.pyi +17 -0
  13. yandex/cloud/baremetal/v1alpha/standard_image_service_pb2.py +56 -0
  14. yandex/cloud/baremetal/v1alpha/standard_image_service_pb2.pyi +118 -0
  15. yandex/cloud/baremetal/v1alpha/standard_image_service_pb2_grpc.py +148 -0
  16. yandex/cloud/baremetal/v1alpha/standard_image_service_pb2_grpc.pyi +80 -0
  17. yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2.py +60 -0
  18. yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2.pyi +353 -0
  19. yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2_grpc.py +24 -0
  20. yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2_grpc.pyi +17 -0
  21. yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2.py +106 -0
  22. yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2.pyi +238 -0
  23. yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2_grpc.py +324 -0
  24. yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2_grpc.pyi +153 -0
  25. yandex/cloud/compute/v1/instance_service_pb2.pyi +8 -1
  26. yandex/cloud/connectionmanager/v1/connection_pb2.py +12 -11
  27. yandex/cloud/connectionmanager/v1/connection_pb2.pyi +10 -3
  28. yandex/cloud/connectionmanager/v1/storedoc_pb2.py +50 -0
  29. yandex/cloud/connectionmanager/v1/storedoc_pb2.pyi +172 -0
  30. yandex/cloud/connectionmanager/v1/storedoc_pb2_grpc.py +24 -0
  31. yandex/cloud/connectionmanager/v1/storedoc_pb2_grpc.pyi +17 -0
  32. yandex/cloud/iam/v1/access_policy_template_service_pb2.py +50 -0
  33. yandex/cloud/iam/v1/access_policy_template_service_pb2.pyi +67 -0
  34. yandex/cloud/iam/v1/access_policy_template_service_pb2_grpc.py +98 -0
  35. yandex/cloud/iam/v1/access_policy_template_service_pb2_grpc.pyi +44 -0
  36. yandex/cloud/kms/v1/symmetric_key_pb2.py +3 -3
  37. yandex/cloud/kms/v1/symmetric_key_pb2.pyi +4 -0
  38. yandex/cloud/mdb/greenplum/v1/cluster_pb2.py +16 -16
  39. yandex/cloud/mdb/greenplum/v1/cluster_pb2.pyi +3 -15
  40. yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.py +76 -76
  41. yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.pyi +3 -15
  42. yandex/cloud/mdb/greenplum/v1/config_pb2.py +11 -29
  43. yandex/cloud/mdb/greenplum/v1/config_pb2.pyi +0 -399
  44. yandex/cloud/mdb/kafka/v1/cluster_pb2.py +28 -28
  45. yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +5 -1
  46. yandex/cloud/mdb/mongodb/v1/config/mongodb3_6_pb2.py +4 -4
  47. yandex/cloud/mdb/mongodb/v1/config/mongodb4_0_pb2.py +4 -4
  48. yandex/cloud/mdb/mongodb/v1/config/mongodb4_2_pb2.py +4 -4
  49. yandex/cloud/mdb/mongodb/v1/config/mongodb4_4_enterprise_pb2.py +4 -4
  50. yandex/cloud/mdb/mongodb/v1/config/mongodb4_4_pb2.py +4 -4
  51. yandex/cloud/mdb/mongodb/v1/config/mongodb5_0_enterprise_pb2.py +4 -4
  52. yandex/cloud/mdb/mongodb/v1/config/mongodb5_0_pb2.py +4 -4
  53. yandex/cloud/mdb/mongodb/v1/config/mongodb6_0_enterprise_pb2.py +4 -4
  54. yandex/cloud/mdb/mongodb/v1/config/mongodb6_0_pb2.py +4 -4
  55. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.py +65 -99
  56. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.pyi +21 -426
  57. yandex/cloud/organizationmanager/v1/idp/application/saml/__init__.py +0 -0
  58. yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2.py +100 -0
  59. yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2.pyi +487 -0
  60. yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2_grpc.py +24 -0
  61. yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2_grpc.pyi +17 -0
  62. yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2.py +198 -0
  63. yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2.pyi +733 -0
  64. yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2_grpc.py +678 -0
  65. yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2_grpc.pyi +322 -0
  66. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2.py +40 -0
  67. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2.pyi +103 -0
  68. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2_grpc.py +24 -0
  69. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2_grpc.pyi +17 -0
  70. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2.py +95 -0
  71. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2.pyi +220 -0
  72. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2_grpc.py +281 -0
  73. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2_grpc.pyi +141 -0
  74. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.py +29 -3
  75. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.pyi +132 -0
  76. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.py +90 -0
  77. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.pyi +52 -0
  78. yandex/cloud/searchapi/v2/gen_search_service_pb2.py +10 -10
  79. yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +5 -1
  80. yandex/cloud/searchapi/v2/wordstat_service_pb2.py +96 -0
  81. yandex/cloud/searchapi/v2/wordstat_service_pb2.pyi +344 -0
  82. yandex/cloud/searchapi/v2/wordstat_service_pb2_grpc.py +189 -0
  83. yandex/cloud/searchapi/v2/wordstat_service_pb2_grpc.pyi +90 -0
  84. yandex/cloud/serverless/mcpgateway/__init__.py +0 -0
  85. yandex/cloud/serverless/mcpgateway/v1/__init__.py +0 -0
  86. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2.py +152 -0
  87. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2.pyi +780 -0
  88. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2_grpc.py +24 -0
  89. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2_grpc.pyi +17 -0
  90. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2.py +134 -0
  91. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2.pyi +390 -0
  92. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2_grpc.py +456 -0
  93. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2_grpc.pyi +213 -0
  94. yandex/cloud/serverless/mcpgateway/v1/package_options_pb2.py +35 -0
  95. yandex/cloud/serverless/mcpgateway/v1/package_options_pb2.pyi +8 -0
  96. yandex/cloud/serverless/mcpgateway/v1/package_options_pb2_grpc.py +24 -0
  97. yandex/cloud/serverless/mcpgateway/v1/package_options_pb2_grpc.pyi +17 -0
  98. yandex/cloud/serverless/workflows/v1/execution_service_pb2.py +3 -3
  99. yandex/cloud/serverless/workflows/v1/workflow_service_pb2.py +38 -31
  100. yandex/cloud/serverless/workflows/v1/workflow_service_pb2_grpc.py +133 -0
  101. yandex/cloud/serverless/workflows/v1/workflow_service_pb2_grpc.pyi +61 -0
  102. yandex/cloud/trino/v1/cluster_pb2.py +46 -45
  103. yandex/cloud/trino/v1/cluster_pb2.pyi +9 -2
  104. yandex/cloud/trino/v1/cluster_service_pb2.py +50 -49
  105. yandex/cloud/trino/v1/cluster_service_pb2.pyi +17 -4
  106. yandex/cloud/trino/v1/resource_management_pb2.py +66 -0
  107. yandex/cloud/trino/v1/resource_management_pb2.pyi +257 -0
  108. yandex/cloud/trino/v1/resource_management_pb2_grpc.py +24 -0
  109. yandex/cloud/trino/v1/resource_management_pb2_grpc.pyi +17 -0
  110. yandex/cloud/video/v1/style_preset_service_pb2.py +20 -20
  111. yandexcloud/__init__.py +1 -1
  112. {yandexcloud-0.365.0.dist-info → yandexcloud-0.367.0.dist-info}/METADATA +1 -1
  113. {yandexcloud-0.365.0.dist-info → yandexcloud-0.367.0.dist-info}/RECORD +117 -54
  114. {yandexcloud-0.365.0.dist-info → yandexcloud-0.367.0.dist-info}/AUTHORS +0 -0
  115. {yandexcloud-0.365.0.dist-info → yandexcloud-0.367.0.dist-info}/LICENSE +0 -0
  116. {yandexcloud-0.365.0.dist-info → yandexcloud-0.367.0.dist-info}/WHEEL +0 -0
  117. {yandexcloud-0.365.0.dist-info → yandexcloud-0.367.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,220 @@
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.field_mask_pb2
10
+ import google.protobuf.internal.containers
11
+ import google.protobuf.message
12
+ import typing
13
+ import yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_pb2
14
+
15
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
16
+
17
+ @typing.final
18
+ class GetSignatureCertificateRequest(google.protobuf.message.Message):
19
+ """Request to get a signature certificate by ID."""
20
+
21
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
22
+
23
+ SIGNATURE_CERTIFICATE_ID_FIELD_NUMBER: builtins.int
24
+ signature_certificate_id: builtins.str
25
+ """ID of the signature certificate to return."""
26
+ def __init__(
27
+ self,
28
+ *,
29
+ signature_certificate_id: builtins.str = ...,
30
+ ) -> None: ...
31
+ def ClearField(self, field_name: typing.Literal["signature_certificate_id", b"signature_certificate_id"]) -> None: ...
32
+
33
+ global___GetSignatureCertificateRequest = GetSignatureCertificateRequest
34
+
35
+ @typing.final
36
+ class ListSignatureCertificatesRequest(google.protobuf.message.Message):
37
+ """Request to list signature certificates for a SAML application."""
38
+
39
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
40
+
41
+ APPLICATION_ID_FIELD_NUMBER: builtins.int
42
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
43
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
44
+ FILTER_FIELD_NUMBER: builtins.int
45
+ application_id: builtins.str
46
+ """ID of the SAML application to list certificates for."""
47
+ page_size: builtins.int
48
+ """The maximum number of results per page to return."""
49
+ page_token: builtins.str
50
+ """Page token for pagination."""
51
+ filter: builtins.str
52
+ """A filter expression that filters resources listed in the response."""
53
+ def __init__(
54
+ self,
55
+ *,
56
+ application_id: builtins.str = ...,
57
+ page_size: builtins.int = ...,
58
+ page_token: builtins.str = ...,
59
+ filter: builtins.str = ...,
60
+ ) -> None: ...
61
+ def ClearField(self, field_name: typing.Literal["application_id", b"application_id", "filter", b"filter", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
62
+
63
+ global___ListSignatureCertificatesRequest = ListSignatureCertificatesRequest
64
+
65
+ @typing.final
66
+ class ListSignatureCertificatesResponse(google.protobuf.message.Message):
67
+ """Response message for [SignatureCertificateService.List]."""
68
+
69
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
70
+
71
+ SIGNATURE_CERTIFICATES_FIELD_NUMBER: builtins.int
72
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
73
+ next_page_token: builtins.str
74
+ """Token for getting the next page of the list."""
75
+ @property
76
+ def signature_certificates(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_pb2.SignatureCertificate]:
77
+ """List of signature certificates."""
78
+
79
+ def __init__(
80
+ self,
81
+ *,
82
+ signature_certificates: collections.abc.Iterable[yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_pb2.SignatureCertificate] | None = ...,
83
+ next_page_token: builtins.str = ...,
84
+ ) -> None: ...
85
+ def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "signature_certificates", b"signature_certificates"]) -> None: ...
86
+
87
+ global___ListSignatureCertificatesResponse = ListSignatureCertificatesResponse
88
+
89
+ @typing.final
90
+ class CreateSignatureCertificateRequest(google.protobuf.message.Message):
91
+ """Request to create a new signature certificate."""
92
+
93
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
94
+
95
+ APPLICATION_ID_FIELD_NUMBER: builtins.int
96
+ NAME_FIELD_NUMBER: builtins.int
97
+ DESCRIPTION_FIELD_NUMBER: builtins.int
98
+ application_id: builtins.str
99
+ """ID of the SAML application to create the certificate for."""
100
+ name: builtins.str
101
+ """Name of the signature certificate.
102
+ The name is unique within the application. 3-63 characters long.
103
+ """
104
+ description: builtins.str
105
+ """Description of the signature certificate. 0-256 characters long."""
106
+ def __init__(
107
+ self,
108
+ *,
109
+ application_id: builtins.str = ...,
110
+ name: builtins.str = ...,
111
+ description: builtins.str = ...,
112
+ ) -> None: ...
113
+ def ClearField(self, field_name: typing.Literal["application_id", b"application_id", "description", b"description", "name", b"name"]) -> None: ...
114
+
115
+ global___CreateSignatureCertificateRequest = CreateSignatureCertificateRequest
116
+
117
+ @typing.final
118
+ class CreateSignatureCertificateMetadata(google.protobuf.message.Message):
119
+ """Metadata for the [SignatureCertificateService.Create] operation."""
120
+
121
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
122
+
123
+ SIGNATURE_CERTIFICATE_ID_FIELD_NUMBER: builtins.int
124
+ signature_certificate_id: builtins.str
125
+ """ID of the signature certificate that is being created."""
126
+ def __init__(
127
+ self,
128
+ *,
129
+ signature_certificate_id: builtins.str = ...,
130
+ ) -> None: ...
131
+ def ClearField(self, field_name: typing.Literal["signature_certificate_id", b"signature_certificate_id"]) -> None: ...
132
+
133
+ global___CreateSignatureCertificateMetadata = CreateSignatureCertificateMetadata
134
+
135
+ @typing.final
136
+ class UpdateSignatureCertificateRequest(google.protobuf.message.Message):
137
+ """Request to update an existing signature certificate."""
138
+
139
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
140
+
141
+ SIGNATURE_CERTIFICATE_ID_FIELD_NUMBER: builtins.int
142
+ UPDATE_MASK_FIELD_NUMBER: builtins.int
143
+ NAME_FIELD_NUMBER: builtins.int
144
+ DESCRIPTION_FIELD_NUMBER: builtins.int
145
+ signature_certificate_id: builtins.str
146
+ """ID of the signature certificate to update."""
147
+ name: builtins.str
148
+ """New name for the signature certificate."""
149
+ description: builtins.str
150
+ """New description for the signature certificate."""
151
+ @property
152
+ def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
153
+ """Field mask that specifies which fields of the certificate are going to be updated."""
154
+
155
+ def __init__(
156
+ self,
157
+ *,
158
+ signature_certificate_id: builtins.str = ...,
159
+ update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
160
+ name: builtins.str = ...,
161
+ description: builtins.str = ...,
162
+ ) -> None: ...
163
+ def HasField(self, field_name: typing.Literal["update_mask", b"update_mask"]) -> builtins.bool: ...
164
+ def ClearField(self, field_name: typing.Literal["description", b"description", "name", b"name", "signature_certificate_id", b"signature_certificate_id", "update_mask", b"update_mask"]) -> None: ...
165
+
166
+ global___UpdateSignatureCertificateRequest = UpdateSignatureCertificateRequest
167
+
168
+ @typing.final
169
+ class UpdateSignatureCertificateMetadata(google.protobuf.message.Message):
170
+ """Metadata for the [SignatureCertificateService.Update] operation."""
171
+
172
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
173
+
174
+ SIGNATURE_CERTIFICATE_ID_FIELD_NUMBER: builtins.int
175
+ signature_certificate_id: builtins.str
176
+ """ID of the signature certificate that is being updated."""
177
+ def __init__(
178
+ self,
179
+ *,
180
+ signature_certificate_id: builtins.str = ...,
181
+ ) -> None: ...
182
+ def ClearField(self, field_name: typing.Literal["signature_certificate_id", b"signature_certificate_id"]) -> None: ...
183
+
184
+ global___UpdateSignatureCertificateMetadata = UpdateSignatureCertificateMetadata
185
+
186
+ @typing.final
187
+ class DeleteSignatureCertificateRequest(google.protobuf.message.Message):
188
+ """Request to delete a signature certificate."""
189
+
190
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
191
+
192
+ SIGNATURE_CERTIFICATE_ID_FIELD_NUMBER: builtins.int
193
+ signature_certificate_id: builtins.str
194
+ """ID of the signature certificate to delete."""
195
+ def __init__(
196
+ self,
197
+ *,
198
+ signature_certificate_id: builtins.str = ...,
199
+ ) -> None: ...
200
+ def ClearField(self, field_name: typing.Literal["signature_certificate_id", b"signature_certificate_id"]) -> None: ...
201
+
202
+ global___DeleteSignatureCertificateRequest = DeleteSignatureCertificateRequest
203
+
204
+ @typing.final
205
+ class DeleteSignatureCertificateMetadata(google.protobuf.message.Message):
206
+ """Metadata for the [SignatureCertificateService.Delete] operation."""
207
+
208
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
209
+
210
+ SIGNATURE_CERTIFICATE_ID_FIELD_NUMBER: builtins.int
211
+ signature_certificate_id: builtins.str
212
+ """ID of the signature certificate that is being deleted."""
213
+ def __init__(
214
+ self,
215
+ *,
216
+ signature_certificate_id: builtins.str = ...,
217
+ ) -> None: ...
218
+ def ClearField(self, field_name: typing.Literal["signature_certificate_id", b"signature_certificate_id"]) -> None: ...
219
+
220
+ global___DeleteSignatureCertificateMetadata = DeleteSignatureCertificateMetadata
@@ -0,0 +1,281 @@
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
+ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
7
+ from yandex.cloud.organizationmanager.v1.idp.application.saml import signature_certificate_pb2 as yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__pb2
8
+ from yandex.cloud.organizationmanager.v1.idp.application.saml import signature_certificate_service_pb2 as yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__service__pb2
9
+
10
+ GRPC_GENERATED_VERSION = '1.70.0'
11
+ GRPC_VERSION = grpc.__version__
12
+ _version_not_supported = False
13
+
14
+ try:
15
+ from grpc._utilities import first_version_is_lower
16
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
17
+ except ImportError:
18
+ _version_not_supported = True
19
+
20
+ if _version_not_supported:
21
+ raise RuntimeError(
22
+ f'The grpc package installed is at version {GRPC_VERSION},'
23
+ + f' but the generated code in yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2_grpc.py depends on'
24
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
25
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
26
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
27
+ )
28
+
29
+
30
+ class SignatureCertificateServiceStub(object):
31
+ """A set of methods for managing signature certificates for SAML applications.
32
+ """
33
+
34
+ def __init__(self, channel):
35
+ """Constructor.
36
+
37
+ Args:
38
+ channel: A grpc.Channel.
39
+ """
40
+ self.Get = channel.unary_unary(
41
+ '/yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificateService/Get',
42
+ request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__service__pb2.GetSignatureCertificateRequest.SerializeToString,
43
+ response_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__pb2.SignatureCertificate.FromString,
44
+ _registered_method=True)
45
+ self.List = channel.unary_unary(
46
+ '/yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificateService/List',
47
+ request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__service__pb2.ListSignatureCertificatesRequest.SerializeToString,
48
+ response_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__service__pb2.ListSignatureCertificatesResponse.FromString,
49
+ _registered_method=True)
50
+ self.Create = channel.unary_unary(
51
+ '/yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificateService/Create',
52
+ request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__service__pb2.CreateSignatureCertificateRequest.SerializeToString,
53
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
54
+ _registered_method=True)
55
+ self.Update = channel.unary_unary(
56
+ '/yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificateService/Update',
57
+ request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__service__pb2.UpdateSignatureCertificateRequest.SerializeToString,
58
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
59
+ _registered_method=True)
60
+ self.Delete = channel.unary_unary(
61
+ '/yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificateService/Delete',
62
+ request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__service__pb2.DeleteSignatureCertificateRequest.SerializeToString,
63
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
64
+ _registered_method=True)
65
+
66
+
67
+ class SignatureCertificateServiceServicer(object):
68
+ """A set of methods for managing signature certificates for SAML applications.
69
+ """
70
+
71
+ def Get(self, request, context):
72
+ """Returns the specified signature certificate.
73
+
74
+ To get the list of available certificates, make a [List] request.
75
+ """
76
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
77
+ context.set_details('Method not implemented!')
78
+ raise NotImplementedError('Method not implemented!')
79
+
80
+ def List(self, request, context):
81
+ """Retrieves the list of signature certificates for the specified SAML application.
82
+ """
83
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
84
+ context.set_details('Method not implemented!')
85
+ raise NotImplementedError('Method not implemented!')
86
+
87
+ def Create(self, request, context):
88
+ """Creates a new signature certificate for the specified SAML application.
89
+ """
90
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
91
+ context.set_details('Method not implemented!')
92
+ raise NotImplementedError('Method not implemented!')
93
+
94
+ def Update(self, request, context):
95
+ """Updates the specified signature certificate.
96
+ """
97
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
98
+ context.set_details('Method not implemented!')
99
+ raise NotImplementedError('Method not implemented!')
100
+
101
+ def Delete(self, request, context):
102
+ """Deletes the specified signature certificate.
103
+ """
104
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
105
+ context.set_details('Method not implemented!')
106
+ raise NotImplementedError('Method not implemented!')
107
+
108
+
109
+ def add_SignatureCertificateServiceServicer_to_server(servicer, server):
110
+ rpc_method_handlers = {
111
+ 'Get': grpc.unary_unary_rpc_method_handler(
112
+ servicer.Get,
113
+ request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__service__pb2.GetSignatureCertificateRequest.FromString,
114
+ response_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__pb2.SignatureCertificate.SerializeToString,
115
+ ),
116
+ 'List': grpc.unary_unary_rpc_method_handler(
117
+ servicer.List,
118
+ request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__service__pb2.ListSignatureCertificatesRequest.FromString,
119
+ response_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__service__pb2.ListSignatureCertificatesResponse.SerializeToString,
120
+ ),
121
+ 'Create': grpc.unary_unary_rpc_method_handler(
122
+ servicer.Create,
123
+ request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__service__pb2.CreateSignatureCertificateRequest.FromString,
124
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
125
+ ),
126
+ 'Update': grpc.unary_unary_rpc_method_handler(
127
+ servicer.Update,
128
+ request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__service__pb2.UpdateSignatureCertificateRequest.FromString,
129
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
130
+ ),
131
+ 'Delete': grpc.unary_unary_rpc_method_handler(
132
+ servicer.Delete,
133
+ request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__service__pb2.DeleteSignatureCertificateRequest.FromString,
134
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
135
+ ),
136
+ }
137
+ generic_handler = grpc.method_handlers_generic_handler(
138
+ 'yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificateService', rpc_method_handlers)
139
+ server.add_generic_rpc_handlers((generic_handler,))
140
+ server.add_registered_method_handlers('yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificateService', rpc_method_handlers)
141
+
142
+
143
+ # This class is part of an EXPERIMENTAL API.
144
+ class SignatureCertificateService(object):
145
+ """A set of methods for managing signature certificates for SAML applications.
146
+ """
147
+
148
+ @staticmethod
149
+ def Get(request,
150
+ target,
151
+ options=(),
152
+ channel_credentials=None,
153
+ call_credentials=None,
154
+ insecure=False,
155
+ compression=None,
156
+ wait_for_ready=None,
157
+ timeout=None,
158
+ metadata=None):
159
+ return grpc.experimental.unary_unary(
160
+ request,
161
+ target,
162
+ '/yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificateService/Get',
163
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__service__pb2.GetSignatureCertificateRequest.SerializeToString,
164
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__pb2.SignatureCertificate.FromString,
165
+ options,
166
+ channel_credentials,
167
+ insecure,
168
+ call_credentials,
169
+ compression,
170
+ wait_for_ready,
171
+ timeout,
172
+ metadata,
173
+ _registered_method=True)
174
+
175
+ @staticmethod
176
+ def List(request,
177
+ target,
178
+ options=(),
179
+ channel_credentials=None,
180
+ call_credentials=None,
181
+ insecure=False,
182
+ compression=None,
183
+ wait_for_ready=None,
184
+ timeout=None,
185
+ metadata=None):
186
+ return grpc.experimental.unary_unary(
187
+ request,
188
+ target,
189
+ '/yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificateService/List',
190
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__service__pb2.ListSignatureCertificatesRequest.SerializeToString,
191
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__service__pb2.ListSignatureCertificatesResponse.FromString,
192
+ options,
193
+ channel_credentials,
194
+ insecure,
195
+ call_credentials,
196
+ compression,
197
+ wait_for_ready,
198
+ timeout,
199
+ metadata,
200
+ _registered_method=True)
201
+
202
+ @staticmethod
203
+ def Create(request,
204
+ target,
205
+ options=(),
206
+ channel_credentials=None,
207
+ call_credentials=None,
208
+ insecure=False,
209
+ compression=None,
210
+ wait_for_ready=None,
211
+ timeout=None,
212
+ metadata=None):
213
+ return grpc.experimental.unary_unary(
214
+ request,
215
+ target,
216
+ '/yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificateService/Create',
217
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__service__pb2.CreateSignatureCertificateRequest.SerializeToString,
218
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
219
+ options,
220
+ channel_credentials,
221
+ insecure,
222
+ call_credentials,
223
+ compression,
224
+ wait_for_ready,
225
+ timeout,
226
+ metadata,
227
+ _registered_method=True)
228
+
229
+ @staticmethod
230
+ def Update(request,
231
+ target,
232
+ options=(),
233
+ channel_credentials=None,
234
+ call_credentials=None,
235
+ insecure=False,
236
+ compression=None,
237
+ wait_for_ready=None,
238
+ timeout=None,
239
+ metadata=None):
240
+ return grpc.experimental.unary_unary(
241
+ request,
242
+ target,
243
+ '/yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificateService/Update',
244
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__service__pb2.UpdateSignatureCertificateRequest.SerializeToString,
245
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
246
+ options,
247
+ channel_credentials,
248
+ insecure,
249
+ call_credentials,
250
+ compression,
251
+ wait_for_ready,
252
+ timeout,
253
+ metadata,
254
+ _registered_method=True)
255
+
256
+ @staticmethod
257
+ def Delete(request,
258
+ target,
259
+ options=(),
260
+ channel_credentials=None,
261
+ call_credentials=None,
262
+ insecure=False,
263
+ compression=None,
264
+ wait_for_ready=None,
265
+ timeout=None,
266
+ metadata=None):
267
+ return grpc.experimental.unary_unary(
268
+ request,
269
+ target,
270
+ '/yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificateService/Delete',
271
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_saml_dot_signature__certificate__service__pb2.DeleteSignatureCertificateRequest.SerializeToString,
272
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
273
+ options,
274
+ channel_credentials,
275
+ insecure,
276
+ call_credentials,
277
+ compression,
278
+ wait_for_ready,
279
+ timeout,
280
+ metadata,
281
+ _registered_method=True)
@@ -0,0 +1,141 @@
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
+ import yandex.cloud.operation.operation_pb2
12
+ import yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_pb2
13
+ import yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_service_pb2
14
+
15
+ _T = typing.TypeVar("_T")
16
+
17
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
18
+
19
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
20
+ ...
21
+
22
+ class SignatureCertificateServiceStub:
23
+ """A set of methods for managing signature certificates for SAML applications."""
24
+
25
+ def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
26
+ Get: grpc.UnaryUnaryMultiCallable[
27
+ yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_service_pb2.GetSignatureCertificateRequest,
28
+ yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_pb2.SignatureCertificate,
29
+ ]
30
+ """Returns the specified signature certificate.
31
+
32
+ To get the list of available certificates, make a [List] request.
33
+ """
34
+
35
+ List: grpc.UnaryUnaryMultiCallable[
36
+ yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_service_pb2.ListSignatureCertificatesRequest,
37
+ yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_service_pb2.ListSignatureCertificatesResponse,
38
+ ]
39
+ """Retrieves the list of signature certificates for the specified SAML application."""
40
+
41
+ Create: grpc.UnaryUnaryMultiCallable[
42
+ yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_service_pb2.CreateSignatureCertificateRequest,
43
+ yandex.cloud.operation.operation_pb2.Operation,
44
+ ]
45
+ """Creates a new signature certificate for the specified SAML application."""
46
+
47
+ Update: grpc.UnaryUnaryMultiCallable[
48
+ yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_service_pb2.UpdateSignatureCertificateRequest,
49
+ yandex.cloud.operation.operation_pb2.Operation,
50
+ ]
51
+ """Updates the specified signature certificate."""
52
+
53
+ Delete: grpc.UnaryUnaryMultiCallable[
54
+ yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_service_pb2.DeleteSignatureCertificateRequest,
55
+ yandex.cloud.operation.operation_pb2.Operation,
56
+ ]
57
+ """Deletes the specified signature certificate."""
58
+
59
+ class SignatureCertificateServiceAsyncStub:
60
+ """A set of methods for managing signature certificates for SAML applications."""
61
+
62
+ Get: grpc.aio.UnaryUnaryMultiCallable[
63
+ yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_service_pb2.GetSignatureCertificateRequest,
64
+ yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_pb2.SignatureCertificate,
65
+ ]
66
+ """Returns the specified signature certificate.
67
+
68
+ To get the list of available certificates, make a [List] request.
69
+ """
70
+
71
+ List: grpc.aio.UnaryUnaryMultiCallable[
72
+ yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_service_pb2.ListSignatureCertificatesRequest,
73
+ yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_service_pb2.ListSignatureCertificatesResponse,
74
+ ]
75
+ """Retrieves the list of signature certificates for the specified SAML application."""
76
+
77
+ Create: grpc.aio.UnaryUnaryMultiCallable[
78
+ yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_service_pb2.CreateSignatureCertificateRequest,
79
+ yandex.cloud.operation.operation_pb2.Operation,
80
+ ]
81
+ """Creates a new signature certificate for the specified SAML application."""
82
+
83
+ Update: grpc.aio.UnaryUnaryMultiCallable[
84
+ yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_service_pb2.UpdateSignatureCertificateRequest,
85
+ yandex.cloud.operation.operation_pb2.Operation,
86
+ ]
87
+ """Updates the specified signature certificate."""
88
+
89
+ Delete: grpc.aio.UnaryUnaryMultiCallable[
90
+ yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_service_pb2.DeleteSignatureCertificateRequest,
91
+ yandex.cloud.operation.operation_pb2.Operation,
92
+ ]
93
+ """Deletes the specified signature certificate."""
94
+
95
+ class SignatureCertificateServiceServicer(metaclass=abc.ABCMeta):
96
+ """A set of methods for managing signature certificates for SAML applications."""
97
+
98
+ @abc.abstractmethod
99
+ def Get(
100
+ self,
101
+ request: yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_service_pb2.GetSignatureCertificateRequest,
102
+ context: _ServicerContext,
103
+ ) -> typing.Union[yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_pb2.SignatureCertificate, collections.abc.Awaitable[yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_pb2.SignatureCertificate]]:
104
+ """Returns the specified signature certificate.
105
+
106
+ To get the list of available certificates, make a [List] request.
107
+ """
108
+
109
+ @abc.abstractmethod
110
+ def List(
111
+ self,
112
+ request: yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_service_pb2.ListSignatureCertificatesRequest,
113
+ context: _ServicerContext,
114
+ ) -> typing.Union[yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_service_pb2.ListSignatureCertificatesResponse, collections.abc.Awaitable[yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_service_pb2.ListSignatureCertificatesResponse]]:
115
+ """Retrieves the list of signature certificates for the specified SAML application."""
116
+
117
+ @abc.abstractmethod
118
+ def Create(
119
+ self,
120
+ request: yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_service_pb2.CreateSignatureCertificateRequest,
121
+ context: _ServicerContext,
122
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
123
+ """Creates a new signature certificate for the specified SAML application."""
124
+
125
+ @abc.abstractmethod
126
+ def Update(
127
+ self,
128
+ request: yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_service_pb2.UpdateSignatureCertificateRequest,
129
+ context: _ServicerContext,
130
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
131
+ """Updates the specified signature certificate."""
132
+
133
+ @abc.abstractmethod
134
+ def Delete(
135
+ self,
136
+ request: yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_service_pb2.DeleteSignatureCertificateRequest,
137
+ context: _ServicerContext,
138
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
139
+ """Deletes the specified signature certificate."""
140
+
141
+ def add_SignatureCertificateServiceServicer_to_server(servicer: SignatureCertificateServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...