yandexcloud 0.364.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.
- yandex/cloud/access/access_pb2.py +5 -3
- yandex/cloud/access/access_pb2.pyi +24 -0
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.py +34 -32
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.pyi +9 -1
- yandex/cloud/audittrails/v1/trail_pb2.py +9 -11
- yandex/cloud/audittrails/v1/trail_pb2.pyi +1 -5
- yandex/cloud/backup/v1/policy_pb2.py +9 -9
- yandex/cloud/backup/v1/policy_pb2.pyi +8 -0
- yandex/cloud/baremetal/v1alpha/standard_image_pb2.py +37 -0
- yandex/cloud/baremetal/v1alpha/standard_image_pb2.pyi +37 -0
- yandex/cloud/baremetal/v1alpha/standard_image_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/standard_image_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/standard_image_service_pb2.py +56 -0
- yandex/cloud/baremetal/v1alpha/standard_image_service_pb2.pyi +118 -0
- yandex/cloud/baremetal/v1alpha/standard_image_service_pb2_grpc.py +148 -0
- yandex/cloud/baremetal/v1alpha/standard_image_service_pb2_grpc.pyi +80 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2.py +60 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2.pyi +353 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2_grpc.py +24 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2_grpc.pyi +17 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2.py +106 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2.pyi +238 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2_grpc.py +324 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2_grpc.pyi +153 -0
- yandex/cloud/compute/v1/instance_service_pb2.pyi +8 -1
- yandex/cloud/connectionmanager/v1/connection_pb2.py +12 -11
- yandex/cloud/connectionmanager/v1/connection_pb2.pyi +10 -3
- yandex/cloud/connectionmanager/v1/storedoc_pb2.py +50 -0
- yandex/cloud/connectionmanager/v1/storedoc_pb2.pyi +172 -0
- yandex/cloud/connectionmanager/v1/storedoc_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/storedoc_pb2_grpc.pyi +17 -0
- yandex/cloud/dns/v1/dns_zone_service_pb2.py +37 -27
- yandex/cloud/dns/v1/dns_zone_service_pb2.pyi +42 -0
- yandex/cloud/dns/v1/dns_zone_service_pb2_grpc.py +44 -0
- yandex/cloud/dns/v1/dns_zone_service_pb2_grpc.pyi +20 -0
- yandex/cloud/gitlab/v1/package_options_pb2.py +35 -0
- yandex/cloud/gitlab/v1/package_options_pb2.pyi +8 -0
- yandex/cloud/gitlab/v1/package_options_pb2_grpc.py +24 -0
- yandex/cloud/gitlab/v1/package_options_pb2_grpc.pyi +17 -0
- yandex/cloud/iam/v1/access_policy_template_service_pb2.py +50 -0
- yandex/cloud/iam/v1/access_policy_template_service_pb2.pyi +67 -0
- yandex/cloud/iam/v1/access_policy_template_service_pb2_grpc.py +98 -0
- yandex/cloud/iam/v1/access_policy_template_service_pb2_grpc.pyi +44 -0
- yandex/cloud/iam/v1/workload/federated_credential_service_pb2.py +11 -11
- yandex/cloud/kms/v1/symmetric_key_pb2.py +3 -3
- yandex/cloud/kms/v1/symmetric_key_pb2.pyi +4 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +184 -177
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/mdb/greenplum/v1/cluster_pb2.py +16 -16
- yandex/cloud/mdb/greenplum/v1/cluster_pb2.pyi +3 -15
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.py +98 -91
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.pyi +3 -15
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/mdb/greenplum/v1/config_pb2.py +11 -29
- yandex/cloud/mdb/greenplum/v1/config_pb2.pyi +0 -399
- yandex/cloud/mdb/kafka/v1/cluster_pb2.py +28 -28
- yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +5 -1
- yandex/cloud/mdb/kafka/v1/cluster_service_pb2.py +70 -63
- yandex/cloud/mdb/kafka/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/mdb/kafka/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.py +248 -241
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/mdb/mongodb/v1/config/mongodb3_6_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb4_0_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb4_2_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb4_4_enterprise_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb4_4_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb5_0_enterprise_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb5_0_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb6_0_enterprise_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb6_0_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.py +65 -99
- yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.pyi +21 -426
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +110 -103
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +146 -139
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +114 -107
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.py +132 -125
- yandex/cloud/mdb/redis/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/mdb/redis/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +136 -129
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/__init__.py +0 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2.py +100 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2.pyi +487 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2_grpc.py +24 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2_grpc.pyi +17 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2.py +198 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2.pyi +733 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2_grpc.py +678 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2_grpc.pyi +322 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2.py +40 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2.pyi +103 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2_grpc.py +24 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2_grpc.pyi +17 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2.py +95 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2.pyi +220 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2_grpc.py +281 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2_grpc.pyi +141 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.py +29 -3
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.pyi +132 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.py +90 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.pyi +52 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +10 -10
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +5 -1
- yandex/cloud/searchapi/v2/wordstat_service_pb2.py +96 -0
- yandex/cloud/searchapi/v2/wordstat_service_pb2.pyi +344 -0
- yandex/cloud/searchapi/v2/wordstat_service_pb2_grpc.py +189 -0
- yandex/cloud/searchapi/v2/wordstat_service_pb2_grpc.pyi +90 -0
- yandex/cloud/serverless/mcpgateway/__init__.py +0 -0
- yandex/cloud/serverless/mcpgateway/v1/__init__.py +0 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2.py +152 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2.pyi +780 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2_grpc.py +24 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2.py +134 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2.pyi +390 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2_grpc.py +456 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2_grpc.pyi +213 -0
- yandex/cloud/serverless/mcpgateway/v1/package_options_pb2.py +35 -0
- yandex/cloud/serverless/mcpgateway/v1/package_options_pb2.pyi +8 -0
- yandex/cloud/serverless/mcpgateway/v1/package_options_pb2_grpc.py +24 -0
- yandex/cloud/serverless/mcpgateway/v1/package_options_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.py +3 -3
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2.py +38 -31
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2_grpc.py +133 -0
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2_grpc.pyi +61 -0
- yandex/cloud/trino/v1/cluster_pb2.py +46 -45
- yandex/cloud/trino/v1/cluster_pb2.pyi +9 -2
- yandex/cloud/trino/v1/cluster_service_pb2.py +50 -49
- yandex/cloud/trino/v1/cluster_service_pb2.pyi +17 -4
- yandex/cloud/trino/v1/resource_management_pb2.py +66 -0
- yandex/cloud/trino/v1/resource_management_pb2.pyi +257 -0
- yandex/cloud/trino/v1/resource_management_pb2_grpc.py +24 -0
- yandex/cloud/trino/v1/resource_management_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/style_preset_service_pb2.py +20 -20
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/RECORD +152 -85
- {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,322 @@
|
|
|
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.access.access_pb2
|
|
12
|
+
import yandex.cloud.operation.operation_pb2
|
|
13
|
+
import yandex.cloud.organizationmanager.v1.idp.application.saml.application_pb2
|
|
14
|
+
import yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2
|
|
15
|
+
|
|
16
|
+
_T = typing.TypeVar("_T")
|
|
17
|
+
|
|
18
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
19
|
+
|
|
20
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
21
|
+
...
|
|
22
|
+
|
|
23
|
+
class ApplicationServiceStub:
|
|
24
|
+
"""A set of methods for managing SAML applications in the Identity Provider system."""
|
|
25
|
+
|
|
26
|
+
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
27
|
+
Get: grpc.UnaryUnaryMultiCallable[
|
|
28
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.GetApplicationRequest,
|
|
29
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_pb2.Application,
|
|
30
|
+
]
|
|
31
|
+
"""Returns the specified SAML application.
|
|
32
|
+
|
|
33
|
+
To get the list of available applications, make a [List] request.
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
List: grpc.UnaryUnaryMultiCallable[
|
|
37
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListApplicationsRequest,
|
|
38
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListApplicationsResponse,
|
|
39
|
+
]
|
|
40
|
+
"""Retrieves the list of SAML applications in the specified organization."""
|
|
41
|
+
|
|
42
|
+
Create: grpc.UnaryUnaryMultiCallable[
|
|
43
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.CreateApplicationRequest,
|
|
44
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
45
|
+
]
|
|
46
|
+
"""Creates a SAML application in the specified organization."""
|
|
47
|
+
|
|
48
|
+
Update: grpc.UnaryUnaryMultiCallable[
|
|
49
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.UpdateApplicationRequest,
|
|
50
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
51
|
+
]
|
|
52
|
+
"""Updates the specified SAML application."""
|
|
53
|
+
|
|
54
|
+
Delete: grpc.UnaryUnaryMultiCallable[
|
|
55
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.DeleteApplicationRequest,
|
|
56
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
57
|
+
]
|
|
58
|
+
"""Deletes the specified SAML application."""
|
|
59
|
+
|
|
60
|
+
Suspend: grpc.UnaryUnaryMultiCallable[
|
|
61
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.SuspendApplicationRequest,
|
|
62
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
63
|
+
]
|
|
64
|
+
"""Suspends the specified SAML application."""
|
|
65
|
+
|
|
66
|
+
Reactivate: grpc.UnaryUnaryMultiCallable[
|
|
67
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ReactivateApplicationRequest,
|
|
68
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
69
|
+
]
|
|
70
|
+
"""Reactivates a previously suspended SAML application."""
|
|
71
|
+
|
|
72
|
+
ListSupportedAttributeValues: grpc.UnaryUnaryMultiCallable[
|
|
73
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListSupportedAttributeValuesRequest,
|
|
74
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListSupportedAttributeValuesResponse,
|
|
75
|
+
]
|
|
76
|
+
"""Returns the list of supported attribute values for SAML applications."""
|
|
77
|
+
|
|
78
|
+
ListOperations: grpc.UnaryUnaryMultiCallable[
|
|
79
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListApplicationOperationsRequest,
|
|
80
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListApplicationOperationsResponse,
|
|
81
|
+
]
|
|
82
|
+
"""Lists operations for the specified SAML application."""
|
|
83
|
+
|
|
84
|
+
ListAccessBindings: grpc.UnaryUnaryMultiCallable[
|
|
85
|
+
yandex.cloud.access.access_pb2.ListAccessBindingsRequest,
|
|
86
|
+
yandex.cloud.access.access_pb2.ListAccessBindingsResponse,
|
|
87
|
+
]
|
|
88
|
+
"""Lists access bindings for the specified SAML application."""
|
|
89
|
+
|
|
90
|
+
SetAccessBindings: grpc.UnaryUnaryMultiCallable[
|
|
91
|
+
yandex.cloud.access.access_pb2.SetAccessBindingsRequest,
|
|
92
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
93
|
+
]
|
|
94
|
+
"""Sets access bindings for the specified SAML application."""
|
|
95
|
+
|
|
96
|
+
UpdateAccessBindings: grpc.UnaryUnaryMultiCallable[
|
|
97
|
+
yandex.cloud.access.access_pb2.UpdateAccessBindingsRequest,
|
|
98
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
99
|
+
]
|
|
100
|
+
"""Updates access bindings for the specified SAML application."""
|
|
101
|
+
|
|
102
|
+
ListAssignments: grpc.UnaryUnaryMultiCallable[
|
|
103
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListAssignmentsRequest,
|
|
104
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListAssignmentsResponse,
|
|
105
|
+
]
|
|
106
|
+
"""Lists assignments for the specified SAML application."""
|
|
107
|
+
|
|
108
|
+
UpdateAssignments: grpc.UnaryUnaryMultiCallable[
|
|
109
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.UpdateAssignmentsRequest,
|
|
110
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
111
|
+
]
|
|
112
|
+
"""Updates assignments for the specified SAML application."""
|
|
113
|
+
|
|
114
|
+
class ApplicationServiceAsyncStub:
|
|
115
|
+
"""A set of methods for managing SAML applications in the Identity Provider system."""
|
|
116
|
+
|
|
117
|
+
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
118
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.GetApplicationRequest,
|
|
119
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_pb2.Application,
|
|
120
|
+
]
|
|
121
|
+
"""Returns the specified SAML application.
|
|
122
|
+
|
|
123
|
+
To get the list of available applications, make a [List] request.
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
127
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListApplicationsRequest,
|
|
128
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListApplicationsResponse,
|
|
129
|
+
]
|
|
130
|
+
"""Retrieves the list of SAML applications in the specified organization."""
|
|
131
|
+
|
|
132
|
+
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
133
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.CreateApplicationRequest,
|
|
134
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
135
|
+
]
|
|
136
|
+
"""Creates a SAML application in the specified organization."""
|
|
137
|
+
|
|
138
|
+
Update: grpc.aio.UnaryUnaryMultiCallable[
|
|
139
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.UpdateApplicationRequest,
|
|
140
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
141
|
+
]
|
|
142
|
+
"""Updates the specified SAML application."""
|
|
143
|
+
|
|
144
|
+
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
145
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.DeleteApplicationRequest,
|
|
146
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
147
|
+
]
|
|
148
|
+
"""Deletes the specified SAML application."""
|
|
149
|
+
|
|
150
|
+
Suspend: grpc.aio.UnaryUnaryMultiCallable[
|
|
151
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.SuspendApplicationRequest,
|
|
152
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
153
|
+
]
|
|
154
|
+
"""Suspends the specified SAML application."""
|
|
155
|
+
|
|
156
|
+
Reactivate: grpc.aio.UnaryUnaryMultiCallable[
|
|
157
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ReactivateApplicationRequest,
|
|
158
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
159
|
+
]
|
|
160
|
+
"""Reactivates a previously suspended SAML application."""
|
|
161
|
+
|
|
162
|
+
ListSupportedAttributeValues: grpc.aio.UnaryUnaryMultiCallable[
|
|
163
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListSupportedAttributeValuesRequest,
|
|
164
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListSupportedAttributeValuesResponse,
|
|
165
|
+
]
|
|
166
|
+
"""Returns the list of supported attribute values for SAML applications."""
|
|
167
|
+
|
|
168
|
+
ListOperations: grpc.aio.UnaryUnaryMultiCallable[
|
|
169
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListApplicationOperationsRequest,
|
|
170
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListApplicationOperationsResponse,
|
|
171
|
+
]
|
|
172
|
+
"""Lists operations for the specified SAML application."""
|
|
173
|
+
|
|
174
|
+
ListAccessBindings: grpc.aio.UnaryUnaryMultiCallable[
|
|
175
|
+
yandex.cloud.access.access_pb2.ListAccessBindingsRequest,
|
|
176
|
+
yandex.cloud.access.access_pb2.ListAccessBindingsResponse,
|
|
177
|
+
]
|
|
178
|
+
"""Lists access bindings for the specified SAML application."""
|
|
179
|
+
|
|
180
|
+
SetAccessBindings: grpc.aio.UnaryUnaryMultiCallable[
|
|
181
|
+
yandex.cloud.access.access_pb2.SetAccessBindingsRequest,
|
|
182
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
183
|
+
]
|
|
184
|
+
"""Sets access bindings for the specified SAML application."""
|
|
185
|
+
|
|
186
|
+
UpdateAccessBindings: grpc.aio.UnaryUnaryMultiCallable[
|
|
187
|
+
yandex.cloud.access.access_pb2.UpdateAccessBindingsRequest,
|
|
188
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
189
|
+
]
|
|
190
|
+
"""Updates access bindings for the specified SAML application."""
|
|
191
|
+
|
|
192
|
+
ListAssignments: grpc.aio.UnaryUnaryMultiCallable[
|
|
193
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListAssignmentsRequest,
|
|
194
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListAssignmentsResponse,
|
|
195
|
+
]
|
|
196
|
+
"""Lists assignments for the specified SAML application."""
|
|
197
|
+
|
|
198
|
+
UpdateAssignments: grpc.aio.UnaryUnaryMultiCallable[
|
|
199
|
+
yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.UpdateAssignmentsRequest,
|
|
200
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
201
|
+
]
|
|
202
|
+
"""Updates assignments for the specified SAML application."""
|
|
203
|
+
|
|
204
|
+
class ApplicationServiceServicer(metaclass=abc.ABCMeta):
|
|
205
|
+
"""A set of methods for managing SAML applications in the Identity Provider system."""
|
|
206
|
+
|
|
207
|
+
@abc.abstractmethod
|
|
208
|
+
def Get(
|
|
209
|
+
self,
|
|
210
|
+
request: yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.GetApplicationRequest,
|
|
211
|
+
context: _ServicerContext,
|
|
212
|
+
) -> typing.Union[yandex.cloud.organizationmanager.v1.idp.application.saml.application_pb2.Application, collections.abc.Awaitable[yandex.cloud.organizationmanager.v1.idp.application.saml.application_pb2.Application]]:
|
|
213
|
+
"""Returns the specified SAML application.
|
|
214
|
+
|
|
215
|
+
To get the list of available applications, make a [List] request.
|
|
216
|
+
"""
|
|
217
|
+
|
|
218
|
+
@abc.abstractmethod
|
|
219
|
+
def List(
|
|
220
|
+
self,
|
|
221
|
+
request: yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListApplicationsRequest,
|
|
222
|
+
context: _ServicerContext,
|
|
223
|
+
) -> typing.Union[yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListApplicationsResponse, collections.abc.Awaitable[yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListApplicationsResponse]]:
|
|
224
|
+
"""Retrieves the list of SAML applications in the specified organization."""
|
|
225
|
+
|
|
226
|
+
@abc.abstractmethod
|
|
227
|
+
def Create(
|
|
228
|
+
self,
|
|
229
|
+
request: yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.CreateApplicationRequest,
|
|
230
|
+
context: _ServicerContext,
|
|
231
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
232
|
+
"""Creates a SAML application in the specified organization."""
|
|
233
|
+
|
|
234
|
+
@abc.abstractmethod
|
|
235
|
+
def Update(
|
|
236
|
+
self,
|
|
237
|
+
request: yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.UpdateApplicationRequest,
|
|
238
|
+
context: _ServicerContext,
|
|
239
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
240
|
+
"""Updates the specified SAML application."""
|
|
241
|
+
|
|
242
|
+
@abc.abstractmethod
|
|
243
|
+
def Delete(
|
|
244
|
+
self,
|
|
245
|
+
request: yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.DeleteApplicationRequest,
|
|
246
|
+
context: _ServicerContext,
|
|
247
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
248
|
+
"""Deletes the specified SAML application."""
|
|
249
|
+
|
|
250
|
+
@abc.abstractmethod
|
|
251
|
+
def Suspend(
|
|
252
|
+
self,
|
|
253
|
+
request: yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.SuspendApplicationRequest,
|
|
254
|
+
context: _ServicerContext,
|
|
255
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
256
|
+
"""Suspends the specified SAML application."""
|
|
257
|
+
|
|
258
|
+
@abc.abstractmethod
|
|
259
|
+
def Reactivate(
|
|
260
|
+
self,
|
|
261
|
+
request: yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ReactivateApplicationRequest,
|
|
262
|
+
context: _ServicerContext,
|
|
263
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
264
|
+
"""Reactivates a previously suspended SAML application."""
|
|
265
|
+
|
|
266
|
+
@abc.abstractmethod
|
|
267
|
+
def ListSupportedAttributeValues(
|
|
268
|
+
self,
|
|
269
|
+
request: yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListSupportedAttributeValuesRequest,
|
|
270
|
+
context: _ServicerContext,
|
|
271
|
+
) -> typing.Union[yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListSupportedAttributeValuesResponse, collections.abc.Awaitable[yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListSupportedAttributeValuesResponse]]:
|
|
272
|
+
"""Returns the list of supported attribute values for SAML applications."""
|
|
273
|
+
|
|
274
|
+
@abc.abstractmethod
|
|
275
|
+
def ListOperations(
|
|
276
|
+
self,
|
|
277
|
+
request: yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListApplicationOperationsRequest,
|
|
278
|
+
context: _ServicerContext,
|
|
279
|
+
) -> typing.Union[yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListApplicationOperationsResponse, collections.abc.Awaitable[yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListApplicationOperationsResponse]]:
|
|
280
|
+
"""Lists operations for the specified SAML application."""
|
|
281
|
+
|
|
282
|
+
@abc.abstractmethod
|
|
283
|
+
def ListAccessBindings(
|
|
284
|
+
self,
|
|
285
|
+
request: yandex.cloud.access.access_pb2.ListAccessBindingsRequest,
|
|
286
|
+
context: _ServicerContext,
|
|
287
|
+
) -> typing.Union[yandex.cloud.access.access_pb2.ListAccessBindingsResponse, collections.abc.Awaitable[yandex.cloud.access.access_pb2.ListAccessBindingsResponse]]:
|
|
288
|
+
"""Lists access bindings for the specified SAML application."""
|
|
289
|
+
|
|
290
|
+
@abc.abstractmethod
|
|
291
|
+
def SetAccessBindings(
|
|
292
|
+
self,
|
|
293
|
+
request: yandex.cloud.access.access_pb2.SetAccessBindingsRequest,
|
|
294
|
+
context: _ServicerContext,
|
|
295
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
296
|
+
"""Sets access bindings for the specified SAML application."""
|
|
297
|
+
|
|
298
|
+
@abc.abstractmethod
|
|
299
|
+
def UpdateAccessBindings(
|
|
300
|
+
self,
|
|
301
|
+
request: yandex.cloud.access.access_pb2.UpdateAccessBindingsRequest,
|
|
302
|
+
context: _ServicerContext,
|
|
303
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
304
|
+
"""Updates access bindings for the specified SAML application."""
|
|
305
|
+
|
|
306
|
+
@abc.abstractmethod
|
|
307
|
+
def ListAssignments(
|
|
308
|
+
self,
|
|
309
|
+
request: yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListAssignmentsRequest,
|
|
310
|
+
context: _ServicerContext,
|
|
311
|
+
) -> typing.Union[yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListAssignmentsResponse, collections.abc.Awaitable[yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.ListAssignmentsResponse]]:
|
|
312
|
+
"""Lists assignments for the specified SAML application."""
|
|
313
|
+
|
|
314
|
+
@abc.abstractmethod
|
|
315
|
+
def UpdateAssignments(
|
|
316
|
+
self,
|
|
317
|
+
request: yandex.cloud.organizationmanager.v1.idp.application.saml.application_service_pb2.UpdateAssignmentsRequest,
|
|
318
|
+
context: _ServicerContext,
|
|
319
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
320
|
+
"""Updates assignments for the specified SAML application."""
|
|
321
|
+
|
|
322
|
+
def add_ApplicationServiceServicer_to_server(servicer: ApplicationServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate.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/organizationmanager/v1/idp/application/saml/signature_certificate.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'\nTyandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate.proto\x12\x38yandex.cloud.organizationmanager.v1.idp.application.saml\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb2\x03\n\x14SignatureCertificate\x12\n\n\x02id\x18\x01 \x01(\t\x12\x16\n\x0e\x61pplication_id\x18\x02 \x01(\t\x12\x65\n\x06status\x18\x03 \x01(\x0e\x32U.yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificate.Status\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04\x64\x61ta\x18\x07 \x01(\t\x12\x13\n\x0b\x66ingerprint\x18\x08 \x01(\t\x12-\n\tnot_after\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nnot_before\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\":\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08INACTIVE\x10\x02\x42\xa1\x01\n<yandex.cloud.api.organizationmanager.v1.idp.application.samlZagithub.com/yandex-cloud/go-genproto/yandex/cloud/organizationmanager/v1/idp/application/saml;samlb\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n<yandex.cloud.api.organizationmanager.v1.idp.application.samlZagithub.com/yandex-cloud/go-genproto/yandex/cloud/organizationmanager/v1/idp/application/saml;saml'
|
|
36
|
+
_globals['_SIGNATURECERTIFICATE']._serialized_start=180
|
|
37
|
+
_globals['_SIGNATURECERTIFICATE']._serialized_end=614
|
|
38
|
+
_globals['_SIGNATURECERTIFICATE_STATUS']._serialized_start=556
|
|
39
|
+
_globals['_SIGNATURECERTIFICATE_STATUS']._serialized_end=614
|
|
40
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import google.protobuf.descriptor
|
|
8
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
9
|
+
import google.protobuf.message
|
|
10
|
+
import google.protobuf.timestamp_pb2
|
|
11
|
+
import sys
|
|
12
|
+
import typing
|
|
13
|
+
|
|
14
|
+
if sys.version_info >= (3, 10):
|
|
15
|
+
import typing as typing_extensions
|
|
16
|
+
else:
|
|
17
|
+
import typing_extensions
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
20
|
+
|
|
21
|
+
@typing.final
|
|
22
|
+
class SignatureCertificate(google.protobuf.message.Message):
|
|
23
|
+
"""A signature certificate for SAML applications."""
|
|
24
|
+
|
|
25
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
26
|
+
|
|
27
|
+
class _Status:
|
|
28
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
29
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
30
|
+
|
|
31
|
+
class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[SignatureCertificate._Status.ValueType], builtins.type):
|
|
32
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
33
|
+
STATUS_UNSPECIFIED: SignatureCertificate._Status.ValueType # 0
|
|
34
|
+
"""The status is not specified."""
|
|
35
|
+
ACTIVE: SignatureCertificate._Status.ValueType # 1
|
|
36
|
+
"""The certificate is active and can be used for signing."""
|
|
37
|
+
INACTIVE: SignatureCertificate._Status.ValueType # 2
|
|
38
|
+
"""The certificate is inactive and cannot be used for signing."""
|
|
39
|
+
|
|
40
|
+
class Status(_Status, metaclass=_StatusEnumTypeWrapper):
|
|
41
|
+
"""Represents the current status of a signature certificate."""
|
|
42
|
+
|
|
43
|
+
STATUS_UNSPECIFIED: SignatureCertificate.Status.ValueType # 0
|
|
44
|
+
"""The status is not specified."""
|
|
45
|
+
ACTIVE: SignatureCertificate.Status.ValueType # 1
|
|
46
|
+
"""The certificate is active and can be used for signing."""
|
|
47
|
+
INACTIVE: SignatureCertificate.Status.ValueType # 2
|
|
48
|
+
"""The certificate is inactive and cannot be used for signing."""
|
|
49
|
+
|
|
50
|
+
ID_FIELD_NUMBER: builtins.int
|
|
51
|
+
APPLICATION_ID_FIELD_NUMBER: builtins.int
|
|
52
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
53
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
54
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
55
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
56
|
+
DATA_FIELD_NUMBER: builtins.int
|
|
57
|
+
FINGERPRINT_FIELD_NUMBER: builtins.int
|
|
58
|
+
NOT_AFTER_FIELD_NUMBER: builtins.int
|
|
59
|
+
NOT_BEFORE_FIELD_NUMBER: builtins.int
|
|
60
|
+
id: builtins.str
|
|
61
|
+
"""Unique identifier of the signature certificate."""
|
|
62
|
+
application_id: builtins.str
|
|
63
|
+
"""ID of the SAML application that the signature certificate belongs to."""
|
|
64
|
+
status: global___SignatureCertificate.Status.ValueType
|
|
65
|
+
"""Current status of the signature certificate."""
|
|
66
|
+
name: builtins.str
|
|
67
|
+
"""Name of the signature certificate."""
|
|
68
|
+
description: builtins.str
|
|
69
|
+
"""Description of the signature certificate."""
|
|
70
|
+
data: builtins.str
|
|
71
|
+
"""Certificate data in PEM format."""
|
|
72
|
+
fingerprint: builtins.str
|
|
73
|
+
"""SHA256-fingerprint of the signature certificate."""
|
|
74
|
+
@property
|
|
75
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
76
|
+
"""Creation timestamp."""
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
def not_after(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
80
|
+
"""Time after which the signature certificate is not valid."""
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
def not_before(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
84
|
+
"""Time before which the signature certificate is not valid."""
|
|
85
|
+
|
|
86
|
+
def __init__(
|
|
87
|
+
self,
|
|
88
|
+
*,
|
|
89
|
+
id: builtins.str = ...,
|
|
90
|
+
application_id: builtins.str = ...,
|
|
91
|
+
status: global___SignatureCertificate.Status.ValueType = ...,
|
|
92
|
+
name: builtins.str = ...,
|
|
93
|
+
description: builtins.str = ...,
|
|
94
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
95
|
+
data: builtins.str = ...,
|
|
96
|
+
fingerprint: builtins.str = ...,
|
|
97
|
+
not_after: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
98
|
+
not_before: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
99
|
+
) -> None: ...
|
|
100
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "not_after", b"not_after", "not_before", b"not_before"]) -> builtins.bool: ...
|
|
101
|
+
def ClearField(self, field_name: typing.Literal["application_id", b"application_id", "created_at", b"created_at", "data", b"data", "description", b"description", "fingerprint", b"fingerprint", "id", b"id", "name", b"name", "not_after", b"not_after", "not_before", b"not_before", "status", b"status"]) -> None: ...
|
|
102
|
+
|
|
103
|
+
global___SignatureCertificate = SignatureCertificate
|
|
@@ -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/organizationmanager/v1/idp/application/saml/signature_certificate_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,95 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_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/organizationmanager/v1/idp/application/saml/signature_certificate_service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
26
|
+
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
27
|
+
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
28
|
+
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
|
|
29
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
30
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\\yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service.proto\x12\x38yandex.cloud.organizationmanager.v1.idp.application.saml\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1aTyandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"P\n\x1eGetSignatureCertificateRequest\x12.\n\x18signature_certificate_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xa3\x01\n ListSignatureCertificatesRequest\x12$\n\x0e\x61pplication_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\x30-1000\x12\x1e\n\npage_token\x18\x03 \x01(\tB\n\x8a\xc8\x31\x06<=2000\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"\xac\x01\n!ListSignatureCertificatesResponse\x12n\n\x16signature_certificates\x18\x01 \x03(\x0b\x32N.yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9f\x01\n!CreateSignatureCertificateRequest\x12$\n\x0e\x61pplication_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x34\n\x04name\x18\x02 \x01(\tB&\xf2\xc7\x31\"([a-z]([-a-z0-9]{0,61}[a-z0-9])?)?\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\"F\n\"CreateSignatureCertificateMetadata\x12 \n\x18signature_certificate_id\x18\x01 \x01(\t\"\xd8\x01\n!UpdateSignatureCertificateRequest\x12.\n\x18signature_certificate_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\x32\n\x04name\x18\x03 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\"F\n\"UpdateSignatureCertificateMetadata\x12 \n\x18signature_certificate_id\x18\x01 \x01(\t\"O\n!DeleteSignatureCertificateRequest\x12*\n\x18signature_certificate_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50\"F\n\"DeleteSignatureCertificateMetadata\x12 \n\x18signature_certificate_id\x18\x01 \x01(\t2\xcd\x0b\n\x1bSignatureCertificateService\x12\x98\x02\n\x03Get\x12X.yandex.cloud.organizationmanager.v1.idp.application.saml.GetSignatureCertificateRequest\x1aN.yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificate\"g\x82\xd3\xe4\x93\x02\x61\x12_/organization-manager/v1/idp/application/saml/signature-certificates/{signature_certificate_id}\x12\x8d\x02\n\x04List\x12Z.yandex.cloud.organizationmanager.v1.idp.application.saml.ListSignatureCertificatesRequest\x1a[.yandex.cloud.organizationmanager.v1.idp.application.saml.ListSignatureCertificatesResponse\"L\x82\xd3\xe4\x93\x02\x46\x12\x44/organization-manager/v1/idp/application/saml/signature-certificates\x12\x98\x02\n\x06\x43reate\x12[.yandex.cloud.organizationmanager.v1.idp.application.saml.CreateSignatureCertificateRequest\x1a!.yandex.cloud.operation.Operation\"\x8d\x01\xb2\xd2*:\n\"CreateSignatureCertificateMetadata\x12\x14SignatureCertificate\x82\xd3\xe4\x93\x02I\"D/organization-manager/v1/idp/application/saml/signature-certificates:\x01*\x12\xb3\x02\n\x06Update\x12[.yandex.cloud.organizationmanager.v1.idp.application.saml.UpdateSignatureCertificateRequest\x1a!.yandex.cloud.operation.Operation\"\xa8\x01\xb2\xd2*:\n\"UpdateSignatureCertificateMetadata\x12\x14SignatureCertificate\x82\xd3\xe4\x93\x02\x64\x32_/organization-manager/v1/idp/application/saml/signature-certificates/{signature_certificate_id}:\x01*\x12\xb1\x02\n\x06\x44\x65lete\x12[.yandex.cloud.organizationmanager.v1.idp.application.saml.DeleteSignatureCertificateRequest\x1a!.yandex.cloud.operation.Operation\"\xa6\x01\xb2\xd2*;\n\"DeleteSignatureCertificateMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x61*_/organization-manager/v1/idp/application/saml/signature-certificates/{signature_certificate_id}B\xa1\x01\n<yandex.cloud.api.organizationmanager.v1.idp.application.samlZagithub.com/yandex-cloud/go-genproto/yandex/cloud/organizationmanager/v1/idp/application/saml;samlb\x06proto3')
|
|
34
|
+
|
|
35
|
+
_globals = globals()
|
|
36
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
37
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.organizationmanager.v1.idp.application.saml.signature_certificate_service_pb2', _globals)
|
|
38
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
39
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
40
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n<yandex.cloud.api.organizationmanager.v1.idp.application.samlZagithub.com/yandex-cloud/go-genproto/yandex/cloud/organizationmanager/v1/idp/application/saml;saml'
|
|
41
|
+
_globals['_GETSIGNATURECERTIFICATEREQUEST'].fields_by_name['signature_certificate_id']._loaded_options = None
|
|
42
|
+
_globals['_GETSIGNATURECERTIFICATEREQUEST'].fields_by_name['signature_certificate_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
43
|
+
_globals['_LISTSIGNATURECERTIFICATESREQUEST'].fields_by_name['application_id']._loaded_options = None
|
|
44
|
+
_globals['_LISTSIGNATURECERTIFICATESREQUEST'].fields_by_name['application_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
45
|
+
_globals['_LISTSIGNATURECERTIFICATESREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
46
|
+
_globals['_LISTSIGNATURECERTIFICATESREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\0060-1000'
|
|
47
|
+
_globals['_LISTSIGNATURECERTIFICATESREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
48
|
+
_globals['_LISTSIGNATURECERTIFICATESREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\006<=2000'
|
|
49
|
+
_globals['_LISTSIGNATURECERTIFICATESREQUEST'].fields_by_name['filter']._loaded_options = None
|
|
50
|
+
_globals['_LISTSIGNATURECERTIFICATESREQUEST'].fields_by_name['filter']._serialized_options = b'\212\3101\006<=1000'
|
|
51
|
+
_globals['_CREATESIGNATURECERTIFICATEREQUEST'].fields_by_name['application_id']._loaded_options = None
|
|
52
|
+
_globals['_CREATESIGNATURECERTIFICATEREQUEST'].fields_by_name['application_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
53
|
+
_globals['_CREATESIGNATURECERTIFICATEREQUEST'].fields_by_name['name']._loaded_options = None
|
|
54
|
+
_globals['_CREATESIGNATURECERTIFICATEREQUEST'].fields_by_name['name']._serialized_options = b'\362\3071\"([a-z]([-a-z0-9]{0,61}[a-z0-9])?)?'
|
|
55
|
+
_globals['_CREATESIGNATURECERTIFICATEREQUEST'].fields_by_name['description']._loaded_options = None
|
|
56
|
+
_globals['_CREATESIGNATURECERTIFICATEREQUEST'].fields_by_name['description']._serialized_options = b'\212\3101\005<=256'
|
|
57
|
+
_globals['_UPDATESIGNATURECERTIFICATEREQUEST'].fields_by_name['signature_certificate_id']._loaded_options = None
|
|
58
|
+
_globals['_UPDATESIGNATURECERTIFICATEREQUEST'].fields_by_name['signature_certificate_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
59
|
+
_globals['_UPDATESIGNATURECERTIFICATEREQUEST'].fields_by_name['name']._loaded_options = None
|
|
60
|
+
_globals['_UPDATESIGNATURECERTIFICATEREQUEST'].fields_by_name['name']._serialized_options = b'\362\3071 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?'
|
|
61
|
+
_globals['_UPDATESIGNATURECERTIFICATEREQUEST'].fields_by_name['description']._loaded_options = None
|
|
62
|
+
_globals['_UPDATESIGNATURECERTIFICATEREQUEST'].fields_by_name['description']._serialized_options = b'\212\3101\005<=256'
|
|
63
|
+
_globals['_DELETESIGNATURECERTIFICATEREQUEST'].fields_by_name['signature_certificate_id']._loaded_options = None
|
|
64
|
+
_globals['_DELETESIGNATURECERTIFICATEREQUEST'].fields_by_name['signature_certificate_id']._serialized_options = b'\212\3101\004<=50'
|
|
65
|
+
_globals['_SIGNATURECERTIFICATESERVICE'].methods_by_name['Get']._loaded_options = None
|
|
66
|
+
_globals['_SIGNATURECERTIFICATESERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\002a\022_/organization-manager/v1/idp/application/saml/signature-certificates/{signature_certificate_id}'
|
|
67
|
+
_globals['_SIGNATURECERTIFICATESERVICE'].methods_by_name['List']._loaded_options = None
|
|
68
|
+
_globals['_SIGNATURECERTIFICATESERVICE'].methods_by_name['List']._serialized_options = b'\202\323\344\223\002F\022D/organization-manager/v1/idp/application/saml/signature-certificates'
|
|
69
|
+
_globals['_SIGNATURECERTIFICATESERVICE'].methods_by_name['Create']._loaded_options = None
|
|
70
|
+
_globals['_SIGNATURECERTIFICATESERVICE'].methods_by_name['Create']._serialized_options = b'\262\322*:\n\"CreateSignatureCertificateMetadata\022\024SignatureCertificate\202\323\344\223\002I\"D/organization-manager/v1/idp/application/saml/signature-certificates:\001*'
|
|
71
|
+
_globals['_SIGNATURECERTIFICATESERVICE'].methods_by_name['Update']._loaded_options = None
|
|
72
|
+
_globals['_SIGNATURECERTIFICATESERVICE'].methods_by_name['Update']._serialized_options = b'\262\322*:\n\"UpdateSignatureCertificateMetadata\022\024SignatureCertificate\202\323\344\223\002d2_/organization-manager/v1/idp/application/saml/signature-certificates/{signature_certificate_id}:\001*'
|
|
73
|
+
_globals['_SIGNATURECERTIFICATESERVICE'].methods_by_name['Delete']._loaded_options = None
|
|
74
|
+
_globals['_SIGNATURECERTIFICATESERVICE'].methods_by_name['Delete']._serialized_options = b'\262\322*;\n\"DeleteSignatureCertificateMetadata\022\025google.protobuf.Empty\202\323\344\223\002a*_/organization-manager/v1/idp/application/saml/signature-certificates/{signature_certificate_id}'
|
|
75
|
+
_globals['_GETSIGNATURECERTIFICATEREQUEST']._serialized_start=409
|
|
76
|
+
_globals['_GETSIGNATURECERTIFICATEREQUEST']._serialized_end=489
|
|
77
|
+
_globals['_LISTSIGNATURECERTIFICATESREQUEST']._serialized_start=492
|
|
78
|
+
_globals['_LISTSIGNATURECERTIFICATESREQUEST']._serialized_end=655
|
|
79
|
+
_globals['_LISTSIGNATURECERTIFICATESRESPONSE']._serialized_start=658
|
|
80
|
+
_globals['_LISTSIGNATURECERTIFICATESRESPONSE']._serialized_end=830
|
|
81
|
+
_globals['_CREATESIGNATURECERTIFICATEREQUEST']._serialized_start=833
|
|
82
|
+
_globals['_CREATESIGNATURECERTIFICATEREQUEST']._serialized_end=992
|
|
83
|
+
_globals['_CREATESIGNATURECERTIFICATEMETADATA']._serialized_start=994
|
|
84
|
+
_globals['_CREATESIGNATURECERTIFICATEMETADATA']._serialized_end=1064
|
|
85
|
+
_globals['_UPDATESIGNATURECERTIFICATEREQUEST']._serialized_start=1067
|
|
86
|
+
_globals['_UPDATESIGNATURECERTIFICATEREQUEST']._serialized_end=1283
|
|
87
|
+
_globals['_UPDATESIGNATURECERTIFICATEMETADATA']._serialized_start=1285
|
|
88
|
+
_globals['_UPDATESIGNATURECERTIFICATEMETADATA']._serialized_end=1355
|
|
89
|
+
_globals['_DELETESIGNATURECERTIFICATEREQUEST']._serialized_start=1357
|
|
90
|
+
_globals['_DELETESIGNATURECERTIFICATEREQUEST']._serialized_end=1436
|
|
91
|
+
_globals['_DELETESIGNATURECERTIFICATEMETADATA']._serialized_start=1438
|
|
92
|
+
_globals['_DELETESIGNATURECERTIFICATEMETADATA']._serialized_end=1508
|
|
93
|
+
_globals['_SIGNATURECERTIFICATESERVICE']._serialized_start=1511
|
|
94
|
+
_globals['_SIGNATURECERTIFICATESERVICE']._serialized_end=2996
|
|
95
|
+
# @@protoc_insertion_point(module_scope)
|