yandexcloud 0.310.0__py3-none-any.whl → 0.312.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/ai/translate/v2/translation_service_pb2_grpc.py +6 -0
- yandex/cloud/ai/translate/v2/translation_service_pb2_grpc.pyi +12 -3
- yandex/cloud/audittrails/v1/trail_pb2.py +57 -37
- yandex/cloud/audittrails/v1/trail_pb2.pyi +115 -4
- yandex/cloud/audittrails/v1/trail_service_pb2.py +25 -23
- yandex/cloud/audittrails/v1/trail_service_pb2.pyi +22 -6
- yandex/cloud/compute/v1/instance_service_pb2.py +127 -127
- yandex/cloud/compute/v1/instance_service_pb2.pyi +0 -1
- yandex/cloud/compute/v1/instancegroup/instance_group_pb2.py +77 -77
- yandex/cloud/compute/v1/instancegroup/instance_group_pb2.pyi +1 -3
- yandex/cloud/iam/v1/workload/__init__.py +0 -0
- yandex/cloud/iam/v1/workload/federated_credential_pb2.py +27 -0
- yandex/cloud/iam/v1/workload/federated_credential_pb2.pyi +49 -0
- yandex/cloud/iam/v1/workload/federated_credential_pb2_grpc.py +4 -0
- yandex/cloud/iam/v1/workload/federated_credential_pb2_grpc.pyi +17 -0
- yandex/cloud/iam/v1/workload/federated_credential_service_pb2.py +69 -0
- yandex/cloud/iam/v1/workload/federated_credential_service_pb2.pyi +170 -0
- yandex/cloud/iam/v1/workload/federated_credential_service_pb2_grpc.py +176 -0
- yandex/cloud/iam/v1/workload/federated_credential_service_pb2_grpc.pyi +121 -0
- yandex/cloud/iam/v1/workload/oidc/__init__.py +0 -0
- yandex/cloud/iam/v1/workload/oidc/federation_pb2.py +31 -0
- yandex/cloud/iam/v1/workload/oidc/federation_pb2.pyi +95 -0
- yandex/cloud/iam/v1/workload/oidc/federation_pb2_grpc.py +4 -0
- yandex/cloud/iam/v1/workload/oidc/federation_pb2_grpc.pyi +17 -0
- yandex/cloud/iam/v1/workload/oidc/federation_service_pb2.py +100 -0
- yandex/cloud/iam/v1/workload/oidc/federation_service_pb2.pyi +304 -0
- yandex/cloud/iam/v1/workload/oidc/federation_service_pb2_grpc.py +210 -0
- yandex/cloud/iam/v1/workload/oidc/federation_service_pb2_grpc.pyi +141 -0
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +92 -60
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +304 -10
- yandex/cloud/mdb/clickhouse/v1/user_pb2.py +34 -26
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +84 -2
- yandex/cloud/vpc/v1/route_table_pb2.pyi +2 -2
- {yandexcloud-0.310.0.dist-info → yandexcloud-0.312.0.dist-info}/METADATA +8 -8
- {yandexcloud-0.310.0.dist-info → yandexcloud-0.312.0.dist-info}/RECORD +39 -21
- {yandexcloud-0.310.0.dist-info → yandexcloud-0.312.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.310.0.dist-info → yandexcloud-0.312.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.310.0.dist-info → yandexcloud-0.312.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.310.0.dist-info → yandexcloud-0.312.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/iam/v1/workload/oidc/federation_service.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
8
|
+
from google.protobuf.internal import builder as _builder
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
15
|
+
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
16
|
+
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
17
|
+
from yandex.cloud.iam.v1.workload.oidc import federation_pb2 as yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__pb2
|
|
18
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
19
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/iam/v1/workload/oidc/federation_service.proto\x12!yandex.cloud.iam.v1.workload.oidc\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a\x32yandex/cloud/iam/v1/workload/oidc/federation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\";\n\x14GetFederationRequest\x12#\n\rfederation_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"x\n\x16ListFederationsRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1e\n\npage_token\x18\x03 \x01(\tB\n\x8a\xc8\x31\x06<=2000\"v\n\x17ListFederationsResponse\x12\x42\n\x0b\x66\x65\x64\x65rations\x18\x01 \x03(\x0b\x32-.yandex.cloud.iam.v1.workload.oidc.Federation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x93\x03\n\x17\x43reateFederationRequest\x12\x1f\n\tfolder_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\x04name\x18\x03 \x01(\tB\'\xe8\xc7\x31\x01\xf2\xc7\x31\x1f[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\x12\x10\n\x08\x64isabled\x18\x05 \x01(\x08\x12%\n\taudiences\x18\x06 \x03(\tB\x12\x82\xc8\x31\x05<=100\x8a\xc8\x31\x05<=255\x12\x1e\n\x06issuer\x18\x07 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=8000\x12 \n\x08jwks_url\x18\x08 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=8000\x12V\n\x06labels\x18\t \x03(\x0b\x32\x46.yandex.cloud.iam.v1.workload.oidc.CreateFederationRequest.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"1\n\x18\x43reateFederationMetadata\x12\x15\n\rfederation_id\x18\x01 \x01(\t\"\xa0\x03\n\x17UpdateFederationRequest\x12#\n\rfederation_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\x31\n\x04name\x18\x03 \x01(\tB#\xf2\xc7\x31\x1f[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\x12\x10\n\x08\x64isabled\x18\x05 \x01(\x08\x12%\n\taudiences\x18\x06 \x03(\tB\x12\x82\xc8\x31\x05<=100\x8a\xc8\x31\x05<=255\x12\x1c\n\x08jwks_url\x18\x07 \x01(\tB\n\x8a\xc8\x31\x06<=8000\x12V\n\x06labels\x18\x08 \x03(\x0b\x32\x46.yandex.cloud.iam.v1.workload.oidc.UpdateFederationRequest.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"1\n\x18UpdateFederationMetadata\x12\x15\n\rfederation_id\x18\x01 \x01(\t\">\n\x17\x44\x65leteFederationRequest\x12#\n\rfederation_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"1\n\x18\x44\x65leteFederationMetadata\x12\x15\n\rfederation_id\x18\x01 \x01(\t2\xd7\x07\n\x11\x46\x65\x64\x65rationService\x12\xa8\x01\n\x03Get\x12\x37.yandex.cloud.iam.v1.workload.oidc.GetFederationRequest\x1a-.yandex.cloud.iam.v1.workload.oidc.Federation\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/iam/v1/workload/oidc/federations/{federation_id}\x12\xa8\x01\n\x04List\x12\x39.yandex.cloud.iam.v1.workload.oidc.ListFederationsRequest\x1a:.yandex.cloud.iam.v1.workload.oidc.ListFederationsResponse\")\x82\xd3\xe4\x93\x02#\x12!/iam/v1/workload/oidc/federations\x12\xbf\x01\n\x06\x43reate\x12:.yandex.cloud.iam.v1.workload.oidc.CreateFederationRequest\x1a!.yandex.cloud.operation.Operation\"V\xb2\xd2*&\n\x18\x43reateFederationMetadata\x12\nFederation\x82\xd3\xe4\x93\x02&\"!/iam/v1/workload/oidc/federations:\x01*\x12\xcf\x01\n\x06Update\x12:.yandex.cloud.iam.v1.workload.oidc.UpdateFederationRequest\x1a!.yandex.cloud.operation.Operation\"f\xb2\xd2*&\n\x18UpdateFederationMetadata\x12\nFederation\x82\xd3\xe4\x93\x02\x36\x32\x31/iam/v1/workload/oidc/federations/{federation_id}:\x01*\x12\xd7\x01\n\x06\x44\x65lete\x12:.yandex.cloud.iam.v1.workload.oidc.DeleteFederationRequest\x1a!.yandex.cloud.operation.Operation\"n\xb2\xd2*1\n\x18\x44\x65leteFederationMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x33*1/iam/v1/workload/oidc/federations/{federation_id}Bs\n%yandex.cloud.api.iam.v1.workload.oidcZJgithub.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/workload/oidc;oidcb\x06proto3')
|
|
23
|
+
|
|
24
|
+
_globals = globals()
|
|
25
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
26
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.iam.v1.workload.oidc.federation_service_pb2', _globals)
|
|
27
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
28
|
+
DESCRIPTOR._options = None
|
|
29
|
+
DESCRIPTOR._serialized_options = b'\n%yandex.cloud.api.iam.v1.workload.oidcZJgithub.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/workload/oidc;oidc'
|
|
30
|
+
_GETFEDERATIONREQUEST.fields_by_name['federation_id']._options = None
|
|
31
|
+
_GETFEDERATIONREQUEST.fields_by_name['federation_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
32
|
+
_LISTFEDERATIONSREQUEST.fields_by_name['folder_id']._options = None
|
|
33
|
+
_LISTFEDERATIONSREQUEST.fields_by_name['folder_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
34
|
+
_LISTFEDERATIONSREQUEST.fields_by_name['page_size']._options = None
|
|
35
|
+
_LISTFEDERATIONSREQUEST.fields_by_name['page_size']._serialized_options = b'\372\3071\0060-1000'
|
|
36
|
+
_LISTFEDERATIONSREQUEST.fields_by_name['page_token']._options = None
|
|
37
|
+
_LISTFEDERATIONSREQUEST.fields_by_name['page_token']._serialized_options = b'\212\3101\006<=2000'
|
|
38
|
+
_CREATEFEDERATIONREQUEST_LABELSENTRY._options = None
|
|
39
|
+
_CREATEFEDERATIONREQUEST_LABELSENTRY._serialized_options = b'8\001'
|
|
40
|
+
_CREATEFEDERATIONREQUEST.fields_by_name['folder_id']._options = None
|
|
41
|
+
_CREATEFEDERATIONREQUEST.fields_by_name['folder_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
42
|
+
_CREATEFEDERATIONREQUEST.fields_by_name['name']._options = None
|
|
43
|
+
_CREATEFEDERATIONREQUEST.fields_by_name['name']._serialized_options = b'\350\3071\001\362\3071\037[a-z]([-a-z0-9]{0,61}[a-z0-9])?'
|
|
44
|
+
_CREATEFEDERATIONREQUEST.fields_by_name['description']._options = None
|
|
45
|
+
_CREATEFEDERATIONREQUEST.fields_by_name['description']._serialized_options = b'\212\3101\005<=256'
|
|
46
|
+
_CREATEFEDERATIONREQUEST.fields_by_name['audiences']._options = None
|
|
47
|
+
_CREATEFEDERATIONREQUEST.fields_by_name['audiences']._serialized_options = b'\202\3101\005<=100\212\3101\005<=255'
|
|
48
|
+
_CREATEFEDERATIONREQUEST.fields_by_name['issuer']._options = None
|
|
49
|
+
_CREATEFEDERATIONREQUEST.fields_by_name['issuer']._serialized_options = b'\350\3071\001\212\3101\006<=8000'
|
|
50
|
+
_CREATEFEDERATIONREQUEST.fields_by_name['jwks_url']._options = None
|
|
51
|
+
_CREATEFEDERATIONREQUEST.fields_by_name['jwks_url']._serialized_options = b'\350\3071\001\212\3101\006<=8000'
|
|
52
|
+
_UPDATEFEDERATIONREQUEST_LABELSENTRY._options = None
|
|
53
|
+
_UPDATEFEDERATIONREQUEST_LABELSENTRY._serialized_options = b'8\001'
|
|
54
|
+
_UPDATEFEDERATIONREQUEST.fields_by_name['federation_id']._options = None
|
|
55
|
+
_UPDATEFEDERATIONREQUEST.fields_by_name['federation_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
56
|
+
_UPDATEFEDERATIONREQUEST.fields_by_name['name']._options = None
|
|
57
|
+
_UPDATEFEDERATIONREQUEST.fields_by_name['name']._serialized_options = b'\362\3071\037[a-z]([-a-z0-9]{0,61}[a-z0-9])?'
|
|
58
|
+
_UPDATEFEDERATIONREQUEST.fields_by_name['description']._options = None
|
|
59
|
+
_UPDATEFEDERATIONREQUEST.fields_by_name['description']._serialized_options = b'\212\3101\005<=256'
|
|
60
|
+
_UPDATEFEDERATIONREQUEST.fields_by_name['audiences']._options = None
|
|
61
|
+
_UPDATEFEDERATIONREQUEST.fields_by_name['audiences']._serialized_options = b'\202\3101\005<=100\212\3101\005<=255'
|
|
62
|
+
_UPDATEFEDERATIONREQUEST.fields_by_name['jwks_url']._options = None
|
|
63
|
+
_UPDATEFEDERATIONREQUEST.fields_by_name['jwks_url']._serialized_options = b'\212\3101\006<=8000'
|
|
64
|
+
_DELETEFEDERATIONREQUEST.fields_by_name['federation_id']._options = None
|
|
65
|
+
_DELETEFEDERATIONREQUEST.fields_by_name['federation_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
66
|
+
_FEDERATIONSERVICE.methods_by_name['Get']._options = None
|
|
67
|
+
_FEDERATIONSERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\0023\0221/iam/v1/workload/oidc/federations/{federation_id}'
|
|
68
|
+
_FEDERATIONSERVICE.methods_by_name['List']._options = None
|
|
69
|
+
_FEDERATIONSERVICE.methods_by_name['List']._serialized_options = b'\202\323\344\223\002#\022!/iam/v1/workload/oidc/federations'
|
|
70
|
+
_FEDERATIONSERVICE.methods_by_name['Create']._options = None
|
|
71
|
+
_FEDERATIONSERVICE.methods_by_name['Create']._serialized_options = b'\262\322*&\n\030CreateFederationMetadata\022\nFederation\202\323\344\223\002&\"!/iam/v1/workload/oidc/federations:\001*'
|
|
72
|
+
_FEDERATIONSERVICE.methods_by_name['Update']._options = None
|
|
73
|
+
_FEDERATIONSERVICE.methods_by_name['Update']._serialized_options = b'\262\322*&\n\030UpdateFederationMetadata\022\nFederation\202\323\344\223\002621/iam/v1/workload/oidc/federations/{federation_id}:\001*'
|
|
74
|
+
_FEDERATIONSERVICE.methods_by_name['Delete']._options = None
|
|
75
|
+
_FEDERATIONSERVICE.methods_by_name['Delete']._serialized_options = b'\262\322*1\n\030DeleteFederationMetadata\022\025google.protobuf.Empty\202\323\344\223\0023*1/iam/v1/workload/oidc/federations/{federation_id}'
|
|
76
|
+
_globals['_GETFEDERATIONREQUEST']._serialized_start=318
|
|
77
|
+
_globals['_GETFEDERATIONREQUEST']._serialized_end=377
|
|
78
|
+
_globals['_LISTFEDERATIONSREQUEST']._serialized_start=379
|
|
79
|
+
_globals['_LISTFEDERATIONSREQUEST']._serialized_end=499
|
|
80
|
+
_globals['_LISTFEDERATIONSRESPONSE']._serialized_start=501
|
|
81
|
+
_globals['_LISTFEDERATIONSRESPONSE']._serialized_end=619
|
|
82
|
+
_globals['_CREATEFEDERATIONREQUEST']._serialized_start=622
|
|
83
|
+
_globals['_CREATEFEDERATIONREQUEST']._serialized_end=1025
|
|
84
|
+
_globals['_CREATEFEDERATIONREQUEST_LABELSENTRY']._serialized_start=980
|
|
85
|
+
_globals['_CREATEFEDERATIONREQUEST_LABELSENTRY']._serialized_end=1025
|
|
86
|
+
_globals['_CREATEFEDERATIONMETADATA']._serialized_start=1027
|
|
87
|
+
_globals['_CREATEFEDERATIONMETADATA']._serialized_end=1076
|
|
88
|
+
_globals['_UPDATEFEDERATIONREQUEST']._serialized_start=1079
|
|
89
|
+
_globals['_UPDATEFEDERATIONREQUEST']._serialized_end=1495
|
|
90
|
+
_globals['_UPDATEFEDERATIONREQUEST_LABELSENTRY']._serialized_start=980
|
|
91
|
+
_globals['_UPDATEFEDERATIONREQUEST_LABELSENTRY']._serialized_end=1025
|
|
92
|
+
_globals['_UPDATEFEDERATIONMETADATA']._serialized_start=1497
|
|
93
|
+
_globals['_UPDATEFEDERATIONMETADATA']._serialized_end=1546
|
|
94
|
+
_globals['_DELETEFEDERATIONREQUEST']._serialized_start=1548
|
|
95
|
+
_globals['_DELETEFEDERATIONREQUEST']._serialized_end=1610
|
|
96
|
+
_globals['_DELETEFEDERATIONMETADATA']._serialized_start=1612
|
|
97
|
+
_globals['_DELETEFEDERATIONMETADATA']._serialized_end=1661
|
|
98
|
+
_globals['_FEDERATIONSERVICE']._serialized_start=1664
|
|
99
|
+
_globals['_FEDERATIONSERVICE']._serialized_end=2647
|
|
100
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,304 @@
|
|
|
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.iam.v1.workload.oidc.federation_pb2
|
|
14
|
+
|
|
15
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
16
|
+
|
|
17
|
+
@typing.final
|
|
18
|
+
class GetFederationRequest(google.protobuf.message.Message):
|
|
19
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
20
|
+
|
|
21
|
+
FEDERATION_ID_FIELD_NUMBER: builtins.int
|
|
22
|
+
federation_id: builtins.str
|
|
23
|
+
"""ID of the OIDC workload identity federation to return.
|
|
24
|
+
To get the OIDC workload identity federation ID, make a [FederationService.List] request.
|
|
25
|
+
"""
|
|
26
|
+
def __init__(
|
|
27
|
+
self,
|
|
28
|
+
*,
|
|
29
|
+
federation_id: builtins.str = ...,
|
|
30
|
+
) -> None: ...
|
|
31
|
+
def ClearField(self, field_name: typing.Literal["federation_id", b"federation_id"]) -> None: ...
|
|
32
|
+
|
|
33
|
+
global___GetFederationRequest = GetFederationRequest
|
|
34
|
+
|
|
35
|
+
@typing.final
|
|
36
|
+
class ListFederationsRequest(google.protobuf.message.Message):
|
|
37
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
38
|
+
|
|
39
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
40
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
41
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
42
|
+
folder_id: builtins.str
|
|
43
|
+
"""ID of the folder to list OIDC workload identity federations in.
|
|
44
|
+
To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
|
|
45
|
+
"""
|
|
46
|
+
page_size: builtins.int
|
|
47
|
+
"""The maximum number of results per page to return. If the number of available
|
|
48
|
+
results is larger than [page_size],
|
|
49
|
+
the service returns a [ListFederationsResponse.next_page_token]
|
|
50
|
+
that can be used to get the next page of results in subsequent list requests.
|
|
51
|
+
Default value: 100
|
|
52
|
+
"""
|
|
53
|
+
page_token: builtins.str
|
|
54
|
+
"""Page token. To get the next page of results, set [page_token]
|
|
55
|
+
to the [ListFederationsResponse.next_page_token]
|
|
56
|
+
returned by a previous list request.
|
|
57
|
+
"""
|
|
58
|
+
def __init__(
|
|
59
|
+
self,
|
|
60
|
+
*,
|
|
61
|
+
folder_id: builtins.str = ...,
|
|
62
|
+
page_size: builtins.int = ...,
|
|
63
|
+
page_token: builtins.str = ...,
|
|
64
|
+
) -> None: ...
|
|
65
|
+
def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
66
|
+
|
|
67
|
+
global___ListFederationsRequest = ListFederationsRequest
|
|
68
|
+
|
|
69
|
+
@typing.final
|
|
70
|
+
class ListFederationsResponse(google.protobuf.message.Message):
|
|
71
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
72
|
+
|
|
73
|
+
FEDERATIONS_FIELD_NUMBER: builtins.int
|
|
74
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
75
|
+
next_page_token: builtins.str
|
|
76
|
+
"""This token allows you to get the next page of results for list requests. If the number of results
|
|
77
|
+
is larger than [ListFederationsRequest.page_size], use
|
|
78
|
+
the [next_page_token] as the value
|
|
79
|
+
for the [ListFederationsRequest.page_token] query parameter
|
|
80
|
+
in the next list request. Each subsequent list request will have its own
|
|
81
|
+
[next_page_token] to continue paging through the results.
|
|
82
|
+
"""
|
|
83
|
+
@property
|
|
84
|
+
def federations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.iam.v1.workload.oidc.federation_pb2.Federation]:
|
|
85
|
+
"""List of OIDC workload identity federations."""
|
|
86
|
+
|
|
87
|
+
def __init__(
|
|
88
|
+
self,
|
|
89
|
+
*,
|
|
90
|
+
federations: collections.abc.Iterable[yandex.cloud.iam.v1.workload.oidc.federation_pb2.Federation] | None = ...,
|
|
91
|
+
next_page_token: builtins.str = ...,
|
|
92
|
+
) -> None: ...
|
|
93
|
+
def ClearField(self, field_name: typing.Literal["federations", b"federations", "next_page_token", b"next_page_token"]) -> None: ...
|
|
94
|
+
|
|
95
|
+
global___ListFederationsResponse = ListFederationsResponse
|
|
96
|
+
|
|
97
|
+
@typing.final
|
|
98
|
+
class CreateFederationRequest(google.protobuf.message.Message):
|
|
99
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
100
|
+
|
|
101
|
+
@typing.final
|
|
102
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
103
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
104
|
+
|
|
105
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
106
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
107
|
+
key: builtins.str
|
|
108
|
+
value: builtins.str
|
|
109
|
+
def __init__(
|
|
110
|
+
self,
|
|
111
|
+
*,
|
|
112
|
+
key: builtins.str = ...,
|
|
113
|
+
value: builtins.str = ...,
|
|
114
|
+
) -> None: ...
|
|
115
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
116
|
+
|
|
117
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
118
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
119
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
120
|
+
DISABLED_FIELD_NUMBER: builtins.int
|
|
121
|
+
AUDIENCES_FIELD_NUMBER: builtins.int
|
|
122
|
+
ISSUER_FIELD_NUMBER: builtins.int
|
|
123
|
+
JWKS_URL_FIELD_NUMBER: builtins.int
|
|
124
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
125
|
+
folder_id: builtins.str
|
|
126
|
+
"""ID of the folder to create an OIDC workload identity federation in.
|
|
127
|
+
To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
|
|
128
|
+
"""
|
|
129
|
+
name: builtins.str
|
|
130
|
+
"""Name of the OIDC workload identity federation.
|
|
131
|
+
The name must be unique within the folder.
|
|
132
|
+
"""
|
|
133
|
+
description: builtins.str
|
|
134
|
+
"""Description of the OIDC workload identity federation."""
|
|
135
|
+
disabled: builtins.bool
|
|
136
|
+
"""True - the OIDC workload identity federation is disabled and cannot be used for authentication.
|
|
137
|
+
False - the OIDC workload identity federation is enabled and can be used for authentication.
|
|
138
|
+
"""
|
|
139
|
+
issuer: builtins.str
|
|
140
|
+
"""URL of the external IdP server to be used for authentication."""
|
|
141
|
+
jwks_url: builtins.str
|
|
142
|
+
"""URL reference to trusted keys in format of JSON Web Key Set."""
|
|
143
|
+
@property
|
|
144
|
+
def audiences(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
145
|
+
"""List of trusted values for aud claim."""
|
|
146
|
+
|
|
147
|
+
@property
|
|
148
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
149
|
+
"""Resource labels as `` key:value `` pairs"""
|
|
150
|
+
|
|
151
|
+
def __init__(
|
|
152
|
+
self,
|
|
153
|
+
*,
|
|
154
|
+
folder_id: builtins.str = ...,
|
|
155
|
+
name: builtins.str = ...,
|
|
156
|
+
description: builtins.str = ...,
|
|
157
|
+
disabled: builtins.bool = ...,
|
|
158
|
+
audiences: collections.abc.Iterable[builtins.str] | None = ...,
|
|
159
|
+
issuer: builtins.str = ...,
|
|
160
|
+
jwks_url: builtins.str = ...,
|
|
161
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
162
|
+
) -> None: ...
|
|
163
|
+
def ClearField(self, field_name: typing.Literal["audiences", b"audiences", "description", b"description", "disabled", b"disabled", "folder_id", b"folder_id", "issuer", b"issuer", "jwks_url", b"jwks_url", "labels", b"labels", "name", b"name"]) -> None: ...
|
|
164
|
+
|
|
165
|
+
global___CreateFederationRequest = CreateFederationRequest
|
|
166
|
+
|
|
167
|
+
@typing.final
|
|
168
|
+
class CreateFederationMetadata(google.protobuf.message.Message):
|
|
169
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
170
|
+
|
|
171
|
+
FEDERATION_ID_FIELD_NUMBER: builtins.int
|
|
172
|
+
federation_id: builtins.str
|
|
173
|
+
"""ID of the OIDC workload identity federation that is being created."""
|
|
174
|
+
def __init__(
|
|
175
|
+
self,
|
|
176
|
+
*,
|
|
177
|
+
federation_id: builtins.str = ...,
|
|
178
|
+
) -> None: ...
|
|
179
|
+
def ClearField(self, field_name: typing.Literal["federation_id", b"federation_id"]) -> None: ...
|
|
180
|
+
|
|
181
|
+
global___CreateFederationMetadata = CreateFederationMetadata
|
|
182
|
+
|
|
183
|
+
@typing.final
|
|
184
|
+
class UpdateFederationRequest(google.protobuf.message.Message):
|
|
185
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
186
|
+
|
|
187
|
+
@typing.final
|
|
188
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
189
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
190
|
+
|
|
191
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
192
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
193
|
+
key: builtins.str
|
|
194
|
+
value: builtins.str
|
|
195
|
+
def __init__(
|
|
196
|
+
self,
|
|
197
|
+
*,
|
|
198
|
+
key: builtins.str = ...,
|
|
199
|
+
value: builtins.str = ...,
|
|
200
|
+
) -> None: ...
|
|
201
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
202
|
+
|
|
203
|
+
FEDERATION_ID_FIELD_NUMBER: builtins.int
|
|
204
|
+
UPDATE_MASK_FIELD_NUMBER: builtins.int
|
|
205
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
206
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
207
|
+
DISABLED_FIELD_NUMBER: builtins.int
|
|
208
|
+
AUDIENCES_FIELD_NUMBER: builtins.int
|
|
209
|
+
JWKS_URL_FIELD_NUMBER: builtins.int
|
|
210
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
211
|
+
federation_id: builtins.str
|
|
212
|
+
"""ID of the OIDC workload identity federation to update.
|
|
213
|
+
To get the OIDC workload identity federation ID, make a [FederationService.List] request.
|
|
214
|
+
"""
|
|
215
|
+
name: builtins.str
|
|
216
|
+
"""Name of the OIDC workload identity federation.
|
|
217
|
+
The name must be unique within the folder.
|
|
218
|
+
"""
|
|
219
|
+
description: builtins.str
|
|
220
|
+
"""Description of the OIDC workload identity federation."""
|
|
221
|
+
disabled: builtins.bool
|
|
222
|
+
"""True - the OIDC workload identity federation is disabled and cannot be used for authentication.
|
|
223
|
+
False - the OIDC workload identity federation is enabled and can be used for authentication.
|
|
224
|
+
"""
|
|
225
|
+
jwks_url: builtins.str
|
|
226
|
+
"""URL reference to trusted keys in format of JSON Web Key Set."""
|
|
227
|
+
@property
|
|
228
|
+
def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
229
|
+
"""Field mask that specifies which fields of the OIDC workload identity federation are going to be updated."""
|
|
230
|
+
|
|
231
|
+
@property
|
|
232
|
+
def audiences(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
233
|
+
"""List of trusted values for aud claim."""
|
|
234
|
+
|
|
235
|
+
@property
|
|
236
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
237
|
+
"""Resource labels as `` key:value `` pairs"""
|
|
238
|
+
|
|
239
|
+
def __init__(
|
|
240
|
+
self,
|
|
241
|
+
*,
|
|
242
|
+
federation_id: builtins.str = ...,
|
|
243
|
+
update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
|
|
244
|
+
name: builtins.str = ...,
|
|
245
|
+
description: builtins.str = ...,
|
|
246
|
+
disabled: builtins.bool = ...,
|
|
247
|
+
audiences: collections.abc.Iterable[builtins.str] | None = ...,
|
|
248
|
+
jwks_url: builtins.str = ...,
|
|
249
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
250
|
+
) -> None: ...
|
|
251
|
+
def HasField(self, field_name: typing.Literal["update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
252
|
+
def ClearField(self, field_name: typing.Literal["audiences", b"audiences", "description", b"description", "disabled", b"disabled", "federation_id", b"federation_id", "jwks_url", b"jwks_url", "labels", b"labels", "name", b"name", "update_mask", b"update_mask"]) -> None: ...
|
|
253
|
+
|
|
254
|
+
global___UpdateFederationRequest = UpdateFederationRequest
|
|
255
|
+
|
|
256
|
+
@typing.final
|
|
257
|
+
class UpdateFederationMetadata(google.protobuf.message.Message):
|
|
258
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
259
|
+
|
|
260
|
+
FEDERATION_ID_FIELD_NUMBER: builtins.int
|
|
261
|
+
federation_id: builtins.str
|
|
262
|
+
"""ID of the OIDC workload identity federation that is being updated."""
|
|
263
|
+
def __init__(
|
|
264
|
+
self,
|
|
265
|
+
*,
|
|
266
|
+
federation_id: builtins.str = ...,
|
|
267
|
+
) -> None: ...
|
|
268
|
+
def ClearField(self, field_name: typing.Literal["federation_id", b"federation_id"]) -> None: ...
|
|
269
|
+
|
|
270
|
+
global___UpdateFederationMetadata = UpdateFederationMetadata
|
|
271
|
+
|
|
272
|
+
@typing.final
|
|
273
|
+
class DeleteFederationRequest(google.protobuf.message.Message):
|
|
274
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
275
|
+
|
|
276
|
+
FEDERATION_ID_FIELD_NUMBER: builtins.int
|
|
277
|
+
federation_id: builtins.str
|
|
278
|
+
"""ID of the OIDC workload identity federation to delete.
|
|
279
|
+
To get the OIDC workload identity federation ID, make a [FederationService.List] request.
|
|
280
|
+
"""
|
|
281
|
+
def __init__(
|
|
282
|
+
self,
|
|
283
|
+
*,
|
|
284
|
+
federation_id: builtins.str = ...,
|
|
285
|
+
) -> None: ...
|
|
286
|
+
def ClearField(self, field_name: typing.Literal["federation_id", b"federation_id"]) -> None: ...
|
|
287
|
+
|
|
288
|
+
global___DeleteFederationRequest = DeleteFederationRequest
|
|
289
|
+
|
|
290
|
+
@typing.final
|
|
291
|
+
class DeleteFederationMetadata(google.protobuf.message.Message):
|
|
292
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
293
|
+
|
|
294
|
+
FEDERATION_ID_FIELD_NUMBER: builtins.int
|
|
295
|
+
federation_id: builtins.str
|
|
296
|
+
"""ID of the OIDC workload identity federation that is being deleted."""
|
|
297
|
+
def __init__(
|
|
298
|
+
self,
|
|
299
|
+
*,
|
|
300
|
+
federation_id: builtins.str = ...,
|
|
301
|
+
) -> None: ...
|
|
302
|
+
def ClearField(self, field_name: typing.Literal["federation_id", b"federation_id"]) -> None: ...
|
|
303
|
+
|
|
304
|
+
global___DeleteFederationMetadata = DeleteFederationMetadata
|
|
@@ -0,0 +1,210 @@
|
|
|
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
|
+
|
|
5
|
+
from yandex.cloud.iam.v1.workload.oidc import federation_pb2 as yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__pb2
|
|
6
|
+
from yandex.cloud.iam.v1.workload.oidc import federation_service_pb2 as yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2
|
|
7
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class FederationServiceStub(object):
|
|
11
|
+
"""A set of methods for managing OIDC workload identity federations.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
def __init__(self, channel):
|
|
15
|
+
"""Constructor.
|
|
16
|
+
|
|
17
|
+
Args:
|
|
18
|
+
channel: A grpc.Channel.
|
|
19
|
+
"""
|
|
20
|
+
self.Get = channel.unary_unary(
|
|
21
|
+
'/yandex.cloud.iam.v1.workload.oidc.FederationService/Get',
|
|
22
|
+
request_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.GetFederationRequest.SerializeToString,
|
|
23
|
+
response_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__pb2.Federation.FromString,
|
|
24
|
+
)
|
|
25
|
+
self.List = channel.unary_unary(
|
|
26
|
+
'/yandex.cloud.iam.v1.workload.oidc.FederationService/List',
|
|
27
|
+
request_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.ListFederationsRequest.SerializeToString,
|
|
28
|
+
response_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.ListFederationsResponse.FromString,
|
|
29
|
+
)
|
|
30
|
+
self.Create = channel.unary_unary(
|
|
31
|
+
'/yandex.cloud.iam.v1.workload.oidc.FederationService/Create',
|
|
32
|
+
request_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.CreateFederationRequest.SerializeToString,
|
|
33
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
34
|
+
)
|
|
35
|
+
self.Update = channel.unary_unary(
|
|
36
|
+
'/yandex.cloud.iam.v1.workload.oidc.FederationService/Update',
|
|
37
|
+
request_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.UpdateFederationRequest.SerializeToString,
|
|
38
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
39
|
+
)
|
|
40
|
+
self.Delete = channel.unary_unary(
|
|
41
|
+
'/yandex.cloud.iam.v1.workload.oidc.FederationService/Delete',
|
|
42
|
+
request_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.DeleteFederationRequest.SerializeToString,
|
|
43
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
class FederationServiceServicer(object):
|
|
48
|
+
"""A set of methods for managing OIDC workload identity federations.
|
|
49
|
+
"""
|
|
50
|
+
|
|
51
|
+
def Get(self, request, context):
|
|
52
|
+
"""Returns the specified OIDC workload identity federation.
|
|
53
|
+
|
|
54
|
+
To get the list of available OIDC workload identity federation, make a [List] request.
|
|
55
|
+
"""
|
|
56
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
57
|
+
context.set_details('Method not implemented!')
|
|
58
|
+
raise NotImplementedError('Method not implemented!')
|
|
59
|
+
|
|
60
|
+
def List(self, request, context):
|
|
61
|
+
"""Retrieves the list of OIDC workload identity federations in the specified folder.
|
|
62
|
+
"""
|
|
63
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
64
|
+
context.set_details('Method not implemented!')
|
|
65
|
+
raise NotImplementedError('Method not implemented!')
|
|
66
|
+
|
|
67
|
+
def Create(self, request, context):
|
|
68
|
+
"""Creates an OIDC workload identity federation in the specified folder.
|
|
69
|
+
"""
|
|
70
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
71
|
+
context.set_details('Method not implemented!')
|
|
72
|
+
raise NotImplementedError('Method not implemented!')
|
|
73
|
+
|
|
74
|
+
def Update(self, request, context):
|
|
75
|
+
"""Updates the specified OIDC workload identity federation.
|
|
76
|
+
"""
|
|
77
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
78
|
+
context.set_details('Method not implemented!')
|
|
79
|
+
raise NotImplementedError('Method not implemented!')
|
|
80
|
+
|
|
81
|
+
def Delete(self, request, context):
|
|
82
|
+
"""Deletes the specified OIDC workload identity federation.
|
|
83
|
+
"""
|
|
84
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
85
|
+
context.set_details('Method not implemented!')
|
|
86
|
+
raise NotImplementedError('Method not implemented!')
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
def add_FederationServiceServicer_to_server(servicer, server):
|
|
90
|
+
rpc_method_handlers = {
|
|
91
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
|
92
|
+
servicer.Get,
|
|
93
|
+
request_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.GetFederationRequest.FromString,
|
|
94
|
+
response_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__pb2.Federation.SerializeToString,
|
|
95
|
+
),
|
|
96
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
|
97
|
+
servicer.List,
|
|
98
|
+
request_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.ListFederationsRequest.FromString,
|
|
99
|
+
response_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.ListFederationsResponse.SerializeToString,
|
|
100
|
+
),
|
|
101
|
+
'Create': grpc.unary_unary_rpc_method_handler(
|
|
102
|
+
servicer.Create,
|
|
103
|
+
request_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.CreateFederationRequest.FromString,
|
|
104
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
105
|
+
),
|
|
106
|
+
'Update': grpc.unary_unary_rpc_method_handler(
|
|
107
|
+
servicer.Update,
|
|
108
|
+
request_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.UpdateFederationRequest.FromString,
|
|
109
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
110
|
+
),
|
|
111
|
+
'Delete': grpc.unary_unary_rpc_method_handler(
|
|
112
|
+
servicer.Delete,
|
|
113
|
+
request_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.DeleteFederationRequest.FromString,
|
|
114
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
115
|
+
),
|
|
116
|
+
}
|
|
117
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
118
|
+
'yandex.cloud.iam.v1.workload.oidc.FederationService', rpc_method_handlers)
|
|
119
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
# This class is part of an EXPERIMENTAL API.
|
|
123
|
+
class FederationService(object):
|
|
124
|
+
"""A set of methods for managing OIDC workload identity federations.
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
@staticmethod
|
|
128
|
+
def Get(request,
|
|
129
|
+
target,
|
|
130
|
+
options=(),
|
|
131
|
+
channel_credentials=None,
|
|
132
|
+
call_credentials=None,
|
|
133
|
+
insecure=False,
|
|
134
|
+
compression=None,
|
|
135
|
+
wait_for_ready=None,
|
|
136
|
+
timeout=None,
|
|
137
|
+
metadata=None):
|
|
138
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.iam.v1.workload.oidc.FederationService/Get',
|
|
139
|
+
yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.GetFederationRequest.SerializeToString,
|
|
140
|
+
yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__pb2.Federation.FromString,
|
|
141
|
+
options, channel_credentials,
|
|
142
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
143
|
+
|
|
144
|
+
@staticmethod
|
|
145
|
+
def List(request,
|
|
146
|
+
target,
|
|
147
|
+
options=(),
|
|
148
|
+
channel_credentials=None,
|
|
149
|
+
call_credentials=None,
|
|
150
|
+
insecure=False,
|
|
151
|
+
compression=None,
|
|
152
|
+
wait_for_ready=None,
|
|
153
|
+
timeout=None,
|
|
154
|
+
metadata=None):
|
|
155
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.iam.v1.workload.oidc.FederationService/List',
|
|
156
|
+
yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.ListFederationsRequest.SerializeToString,
|
|
157
|
+
yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.ListFederationsResponse.FromString,
|
|
158
|
+
options, channel_credentials,
|
|
159
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
160
|
+
|
|
161
|
+
@staticmethod
|
|
162
|
+
def Create(request,
|
|
163
|
+
target,
|
|
164
|
+
options=(),
|
|
165
|
+
channel_credentials=None,
|
|
166
|
+
call_credentials=None,
|
|
167
|
+
insecure=False,
|
|
168
|
+
compression=None,
|
|
169
|
+
wait_for_ready=None,
|
|
170
|
+
timeout=None,
|
|
171
|
+
metadata=None):
|
|
172
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.iam.v1.workload.oidc.FederationService/Create',
|
|
173
|
+
yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.CreateFederationRequest.SerializeToString,
|
|
174
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
175
|
+
options, channel_credentials,
|
|
176
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
177
|
+
|
|
178
|
+
@staticmethod
|
|
179
|
+
def Update(request,
|
|
180
|
+
target,
|
|
181
|
+
options=(),
|
|
182
|
+
channel_credentials=None,
|
|
183
|
+
call_credentials=None,
|
|
184
|
+
insecure=False,
|
|
185
|
+
compression=None,
|
|
186
|
+
wait_for_ready=None,
|
|
187
|
+
timeout=None,
|
|
188
|
+
metadata=None):
|
|
189
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.iam.v1.workload.oidc.FederationService/Update',
|
|
190
|
+
yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.UpdateFederationRequest.SerializeToString,
|
|
191
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
192
|
+
options, channel_credentials,
|
|
193
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
194
|
+
|
|
195
|
+
@staticmethod
|
|
196
|
+
def Delete(request,
|
|
197
|
+
target,
|
|
198
|
+
options=(),
|
|
199
|
+
channel_credentials=None,
|
|
200
|
+
call_credentials=None,
|
|
201
|
+
insecure=False,
|
|
202
|
+
compression=None,
|
|
203
|
+
wait_for_ready=None,
|
|
204
|
+
timeout=None,
|
|
205
|
+
metadata=None):
|
|
206
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.iam.v1.workload.oidc.FederationService/Delete',
|
|
207
|
+
yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.DeleteFederationRequest.SerializeToString,
|
|
208
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
209
|
+
options, channel_credentials,
|
|
210
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|