yandexcloud 0.363.0__py3-none-any.whl → 0.364.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/baremetal/v1alpha/rental_period_pb2.py +37 -0
- yandex/cloud/baremetal/v1alpha/rental_period_pb2.pyi +31 -0
- yandex/cloud/baremetal/v1alpha/rental_period_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/rental_period_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/rental_period_service_pb2.py +50 -0
- yandex/cloud/baremetal/v1alpha/rental_period_service_pb2.pyi +75 -0
- yandex/cloud/baremetal/v1alpha/rental_period_service_pb2_grpc.py +101 -0
- yandex/cloud/baremetal/v1alpha/rental_period_service_pb2_grpc.pyi +50 -0
- yandex/cloud/baremetal/v1alpha/server_service_pb2.pyi +8 -2
- yandex/cloud/mdb/postgresql/v1/user_pb2.py +27 -25
- yandex/cloud/mdb/postgresql/v1/user_pb2.pyi +27 -2
- yandex/cloud/mdb/postgresql/v1/user_service_pb2.py +33 -33
- yandex/cloud/mdb/postgresql/v1/user_service_pb2.pyi +5 -1
- yandex/cloud/organizationmanager/v1/idp/application/__init__.py +0 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/__init__.py +0 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_pb2.py +55 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_pb2.pyi +206 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_pb2_grpc.py +24 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_pb2_grpc.pyi +17 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_service_pb2.py +178 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_service_pb2.pyi +641 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_service_pb2_grpc.py +634 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_service_pb2_grpc.pyi +302 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_pb2.py +41 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_pb2.pyi +108 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_pb2_grpc.py +24 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_pb2_grpc.pyi +17 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_service_pb2.py +156 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_service_pb2.pyi +462 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_service_pb2_grpc.py +446 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_service_pb2_grpc.pyi +185 -0
- yandex/cloud/ytsaurus/v1/cluster_pb2.py +4 -2
- yandex/cloud/ytsaurus/v1/cluster_pb2.pyi +19 -1
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.363.0.dist-info → yandexcloud-0.364.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.363.0.dist-info → yandexcloud-0.364.0.dist-info}/RECORD +40 -14
- {yandexcloud-0.363.0.dist-info → yandexcloud-0.364.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.363.0.dist-info → yandexcloud-0.364.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.363.0.dist-info → yandexcloud-0.364.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.363.0.dist-info → yandexcloud-0.364.0.dist-info}/top_level.txt +0 -0
|
@@ -31,7 +31,7 @@ from yandex.cloud.mdb.postgresql.v1 import user_pb2 as yandex_dot_cloud_dot_mdb_
|
|
|
31
31
|
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1yandex/cloud/mdb/postgresql/v1/user_service.proto\x12\x1eyandex.cloud.mdb.postgresql.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a)yandex/cloud/mdb/postgresql/v1/user.proto\x1a yandex/cloud/api/operation.proto\"
|
|
34
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1yandex/cloud/mdb/postgresql/v1/user_service.proto\x12\x1eyandex.cloud.mdb.postgresql.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a)yandex/cloud/mdb/postgresql/v1/user.proto\x1a yandex/cloud/api/operation.proto\"g\n\x0eGetUserRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x33\n\tuser_name\x18\x02 \x01(\tB \xe8\xc7\x31\x01\xf2\xc7\x31\x10[a-zA-Z0-9_@.-]*\x8a\xc8\x31\x04<=63\"r\n\x10ListUsersRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"a\n\x11ListUsersResponse\x12\x33\n\x05users\x18\x01 \x03(\x0b\x32$.yandex.cloud.mdb.postgresql.v1.User\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"x\n\x11\x43reateUserRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x41\n\tuser_spec\x18\x02 \x01(\x0b\x32(.yandex.cloud.mdb.postgresql.v1.UserSpecB\x04\xe8\xc7\x31\x01\";\n\x12\x43reateUserMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x11\n\tuser_name\x18\x02 \x01(\t\"\xb8\x05\n\x11UpdateUserRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x33\n\tuser_name\x18\x02 \x01(\tB \xe8\xc7\x31\x01\xf2\xc7\x31\x10[a-zA-Z0-9_@.-]*\x8a\xc8\x31\x04<=63\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x1b\n\x08password\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05\x38-128\x12?\n\x0bpermissions\x18\x05 \x03(\x0b\x32*.yandex.cloud.mdb.postgresql.v1.Permission\x12\x1c\n\nconn_limit\x18\x06 \x01(\x03\x42\x08\xfa\xc7\x31\x04>=10\x12>\n\x08settings\x18\x07 \x01(\x0b\x32,.yandex.cloud.mdb.postgresql.v1.UserSettings\x12)\n\x05login\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12)\n\x06grants\x18\t \x03(\tB\x19\xf2\xc7\x31\r[a-zA-Z0-9_]*\x8a\xc8\x31\x04<=63\x12\x37\n\x13\x64\x65letion_protection\x18\n \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12X\n\x18user_password_encryption\x18\x0b \x01(\x0e\x32\x36.yandex.cloud.mdb.postgresql.v1.UserPasswordEncryption\x12\x35\n\x11generate_password\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12?\n\x0b\x61uth_method\x18\r \x01(\x0e\x32*.yandex.cloud.mdb.postgresql.v1.AuthMethod\";\n\x12UpdateUserMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x11\n\tuser_name\x18\x02 \x01(\t\"j\n\x11\x44\x65leteUserRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x33\n\tuser_name\x18\x02 \x01(\tB \xe8\xc7\x31\x01\xf2\xc7\x31\x10[a-zA-Z0-9_@.-]*\x8a\xc8\x31\x04<=63\";\n\x12\x44\x65leteUserMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x11\n\tuser_name\x18\x02 \x01(\t\"\xb9\x01\n\x1aGrantUserPermissionRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x33\n\tuser_name\x18\x02 \x01(\tB \xe8\xc7\x31\x01\xf2\xc7\x31\x10[a-zA-Z0-9_@.-]*\x8a\xc8\x31\x04<=63\x12\x44\n\npermission\x18\x03 \x01(\x0b\x32*.yandex.cloud.mdb.postgresql.v1.PermissionB\x04\xe8\xc7\x31\x01\"D\n\x1bGrantUserPermissionMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x11\n\tuser_name\x18\x02 \x01(\t\"\xab\x01\n\x1bRevokeUserPermissionRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x33\n\tuser_name\x18\x02 \x01(\tB \xe8\xc7\x31\x01\xf2\xc7\x31\x10[a-zA-Z0-9_@.-]*\x8a\xc8\x31\x04<=63\x12\x35\n\rdatabase_name\x18\x03 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\"E\n\x1cRevokeUserPermissionMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x11\n\tuser_name\x18\x02 \x01(\t2\xad\x0b\n\x0bUserService\x12\xa3\x01\n\x03Get\x12..yandex.cloud.mdb.postgresql.v1.GetUserRequest\x1a$.yandex.cloud.mdb.postgresql.v1.User\"F\x82\xd3\xe4\x93\x02@\x12>/managed-postgresql/v1/clusters/{cluster_id}/users/{user_name}\x12\xa7\x01\n\x04List\x12\x30.yandex.cloud.mdb.postgresql.v1.ListUsersRequest\x1a\x31.yandex.cloud.mdb.postgresql.v1.ListUsersResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/managed-postgresql/v1/clusters/{cluster_id}/users\x12\xbb\x01\n\x06\x43reate\x12\x31.yandex.cloud.mdb.postgresql.v1.CreateUserRequest\x1a!.yandex.cloud.operation.Operation\"[\xb2\xd2*\x1a\n\x12\x43reateUserMetadata\x12\x04User\x82\xd3\xe4\x93\x02\x37\"2/managed-postgresql/v1/clusters/{cluster_id}/users:\x01*\x12\xc7\x01\n\x06Update\x12\x31.yandex.cloud.mdb.postgresql.v1.UpdateUserRequest\x1a!.yandex.cloud.operation.Operation\"g\xb2\xd2*\x1a\n\x12UpdateUserMetadata\x12\x04User\x82\xd3\xe4\x93\x02\x43\x32>/managed-postgresql/v1/clusters/{cluster_id}/users/{user_name}:\x01*\x12\xd5\x01\n\x06\x44\x65lete\x12\x31.yandex.cloud.mdb.postgresql.v1.DeleteUserRequest\x1a!.yandex.cloud.operation.Operation\"u\xb2\xd2*+\n\x12\x44\x65leteUserMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02@*>/managed-postgresql/v1/clusters/{cluster_id}/users/{user_name}\x12\xf3\x01\n\x0fGrantPermission\x12:.yandex.cloud.mdb.postgresql.v1.GrantUserPermissionRequest\x1a!.yandex.cloud.operation.Operation\"\x80\x01\xb2\xd2*#\n\x1bGrantUserPermissionMetadata\x12\x04User\x82\xd3\xe4\x93\x02S\"N/managed-postgresql/v1/clusters/{cluster_id}/users/{user_name}:grantPermission:\x01*\x12\xf7\x01\n\x10RevokePermission\x12;.yandex.cloud.mdb.postgresql.v1.RevokeUserPermissionRequest\x1a!.yandex.cloud.operation.Operation\"\x82\x01\xb2\xd2*$\n\x1cRevokeUserPermissionMetadata\x12\x04User\x82\xd3\xe4\x93\x02T\"O/managed-postgresql/v1/clusters/{cluster_id}/users/{user_name}:revokePermission:\x01*Bs\n\"yandex.cloud.api.mdb.postgresql.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1;postgresqlb\x06proto3')
|
|
35
35
|
|
|
36
36
|
_globals = globals()
|
|
37
37
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -42,7 +42,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
42
42
|
_globals['_GETUSERREQUEST'].fields_by_name['cluster_id']._loaded_options = None
|
|
43
43
|
_globals['_GETUSERREQUEST'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
44
44
|
_globals['_GETUSERREQUEST'].fields_by_name['user_name']._loaded_options = None
|
|
45
|
-
_globals['_GETUSERREQUEST'].fields_by_name['user_name']._serialized_options = b'\350\3071\001\362\3071\
|
|
45
|
+
_globals['_GETUSERREQUEST'].fields_by_name['user_name']._serialized_options = b'\350\3071\001\362\3071\020[a-zA-Z0-9_@.-]*\212\3101\004<=63'
|
|
46
46
|
_globals['_LISTUSERSREQUEST'].fields_by_name['cluster_id']._loaded_options = None
|
|
47
47
|
_globals['_LISTUSERSREQUEST'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
48
48
|
_globals['_LISTUSERSREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
@@ -56,7 +56,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
56
56
|
_globals['_UPDATEUSERREQUEST'].fields_by_name['cluster_id']._loaded_options = None
|
|
57
57
|
_globals['_UPDATEUSERREQUEST'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
58
58
|
_globals['_UPDATEUSERREQUEST'].fields_by_name['user_name']._loaded_options = None
|
|
59
|
-
_globals['_UPDATEUSERREQUEST'].fields_by_name['user_name']._serialized_options = b'\350\3071\001\362\3071\
|
|
59
|
+
_globals['_UPDATEUSERREQUEST'].fields_by_name['user_name']._serialized_options = b'\350\3071\001\362\3071\020[a-zA-Z0-9_@.-]*\212\3101\004<=63'
|
|
60
60
|
_globals['_UPDATEUSERREQUEST'].fields_by_name['password']._loaded_options = None
|
|
61
61
|
_globals['_UPDATEUSERREQUEST'].fields_by_name['password']._serialized_options = b'\212\3101\0058-128'
|
|
62
62
|
_globals['_UPDATEUSERREQUEST'].fields_by_name['conn_limit']._loaded_options = None
|
|
@@ -66,17 +66,17 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
66
66
|
_globals['_DELETEUSERREQUEST'].fields_by_name['cluster_id']._loaded_options = None
|
|
67
67
|
_globals['_DELETEUSERREQUEST'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
68
68
|
_globals['_DELETEUSERREQUEST'].fields_by_name['user_name']._loaded_options = None
|
|
69
|
-
_globals['_DELETEUSERREQUEST'].fields_by_name['user_name']._serialized_options = b'\350\3071\001\362\3071\
|
|
69
|
+
_globals['_DELETEUSERREQUEST'].fields_by_name['user_name']._serialized_options = b'\350\3071\001\362\3071\020[a-zA-Z0-9_@.-]*\212\3101\004<=63'
|
|
70
70
|
_globals['_GRANTUSERPERMISSIONREQUEST'].fields_by_name['cluster_id']._loaded_options = None
|
|
71
71
|
_globals['_GRANTUSERPERMISSIONREQUEST'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
72
72
|
_globals['_GRANTUSERPERMISSIONREQUEST'].fields_by_name['user_name']._loaded_options = None
|
|
73
|
-
_globals['_GRANTUSERPERMISSIONREQUEST'].fields_by_name['user_name']._serialized_options = b'\350\3071\001\362\3071\
|
|
73
|
+
_globals['_GRANTUSERPERMISSIONREQUEST'].fields_by_name['user_name']._serialized_options = b'\350\3071\001\362\3071\020[a-zA-Z0-9_@.-]*\212\3101\004<=63'
|
|
74
74
|
_globals['_GRANTUSERPERMISSIONREQUEST'].fields_by_name['permission']._loaded_options = None
|
|
75
75
|
_globals['_GRANTUSERPERMISSIONREQUEST'].fields_by_name['permission']._serialized_options = b'\350\3071\001'
|
|
76
76
|
_globals['_REVOKEUSERPERMISSIONREQUEST'].fields_by_name['cluster_id']._loaded_options = None
|
|
77
77
|
_globals['_REVOKEUSERPERMISSIONREQUEST'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
78
78
|
_globals['_REVOKEUSERPERMISSIONREQUEST'].fields_by_name['user_name']._loaded_options = None
|
|
79
|
-
_globals['_REVOKEUSERPERMISSIONREQUEST'].fields_by_name['user_name']._serialized_options = b'\350\3071\001\362\3071\
|
|
79
|
+
_globals['_REVOKEUSERPERMISSIONREQUEST'].fields_by_name['user_name']._serialized_options = b'\350\3071\001\362\3071\020[a-zA-Z0-9_@.-]*\212\3101\004<=63'
|
|
80
80
|
_globals['_REVOKEUSERPERMISSIONREQUEST'].fields_by_name['database_name']._loaded_options = None
|
|
81
81
|
_globals['_REVOKEUSERPERMISSIONREQUEST'].fields_by_name['database_name']._serialized_options = b'\350\3071\001\362\3071\016[a-zA-Z0-9_-]*\212\3101\004<=63'
|
|
82
82
|
_globals['_USERSERVICE'].methods_by_name['Get']._loaded_options = None
|
|
@@ -94,31 +94,31 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
94
94
|
_globals['_USERSERVICE'].methods_by_name['RevokePermission']._loaded_options = None
|
|
95
95
|
_globals['_USERSERVICE'].methods_by_name['RevokePermission']._serialized_options = b'\262\322*$\n\034RevokeUserPermissionMetadata\022\004User\202\323\344\223\002T\"O/managed-postgresql/v1/clusters/{cluster_id}/users/{user_name}:revokePermission:\001*'
|
|
96
96
|
_globals['_GETUSERREQUEST']._serialized_start=329
|
|
97
|
-
_globals['_GETUSERREQUEST']._serialized_end=
|
|
98
|
-
_globals['_LISTUSERSREQUEST']._serialized_start=
|
|
99
|
-
_globals['_LISTUSERSREQUEST']._serialized_end=
|
|
100
|
-
_globals['_LISTUSERSRESPONSE']._serialized_start=
|
|
101
|
-
_globals['_LISTUSERSRESPONSE']._serialized_end=
|
|
102
|
-
_globals['_CREATEUSERREQUEST']._serialized_start=
|
|
103
|
-
_globals['_CREATEUSERREQUEST']._serialized_end=
|
|
104
|
-
_globals['_CREATEUSERMETADATA']._serialized_start=
|
|
105
|
-
_globals['_CREATEUSERMETADATA']._serialized_end=
|
|
106
|
-
_globals['_UPDATEUSERREQUEST']._serialized_start=
|
|
107
|
-
_globals['_UPDATEUSERREQUEST']._serialized_end=
|
|
108
|
-
_globals['_UPDATEUSERMETADATA']._serialized_start=
|
|
109
|
-
_globals['_UPDATEUSERMETADATA']._serialized_end=
|
|
110
|
-
_globals['_DELETEUSERREQUEST']._serialized_start=
|
|
111
|
-
_globals['_DELETEUSERREQUEST']._serialized_end=
|
|
112
|
-
_globals['_DELETEUSERMETADATA']._serialized_start=
|
|
113
|
-
_globals['_DELETEUSERMETADATA']._serialized_end=
|
|
114
|
-
_globals['_GRANTUSERPERMISSIONREQUEST']._serialized_start=
|
|
115
|
-
_globals['_GRANTUSERPERMISSIONREQUEST']._serialized_end=
|
|
116
|
-
_globals['_GRANTUSERPERMISSIONMETADATA']._serialized_start=
|
|
117
|
-
_globals['_GRANTUSERPERMISSIONMETADATA']._serialized_end=
|
|
118
|
-
_globals['_REVOKEUSERPERMISSIONREQUEST']._serialized_start=
|
|
119
|
-
_globals['_REVOKEUSERPERMISSIONREQUEST']._serialized_end=
|
|
120
|
-
_globals['_REVOKEUSERPERMISSIONMETADATA']._serialized_start=
|
|
121
|
-
_globals['_REVOKEUSERPERMISSIONMETADATA']._serialized_end=
|
|
122
|
-
_globals['_USERSERVICE']._serialized_start=
|
|
123
|
-
_globals['_USERSERVICE']._serialized_end=
|
|
97
|
+
_globals['_GETUSERREQUEST']._serialized_end=432
|
|
98
|
+
_globals['_LISTUSERSREQUEST']._serialized_start=434
|
|
99
|
+
_globals['_LISTUSERSREQUEST']._serialized_end=548
|
|
100
|
+
_globals['_LISTUSERSRESPONSE']._serialized_start=550
|
|
101
|
+
_globals['_LISTUSERSRESPONSE']._serialized_end=647
|
|
102
|
+
_globals['_CREATEUSERREQUEST']._serialized_start=649
|
|
103
|
+
_globals['_CREATEUSERREQUEST']._serialized_end=769
|
|
104
|
+
_globals['_CREATEUSERMETADATA']._serialized_start=771
|
|
105
|
+
_globals['_CREATEUSERMETADATA']._serialized_end=830
|
|
106
|
+
_globals['_UPDATEUSERREQUEST']._serialized_start=833
|
|
107
|
+
_globals['_UPDATEUSERREQUEST']._serialized_end=1529
|
|
108
|
+
_globals['_UPDATEUSERMETADATA']._serialized_start=1531
|
|
109
|
+
_globals['_UPDATEUSERMETADATA']._serialized_end=1590
|
|
110
|
+
_globals['_DELETEUSERREQUEST']._serialized_start=1592
|
|
111
|
+
_globals['_DELETEUSERREQUEST']._serialized_end=1698
|
|
112
|
+
_globals['_DELETEUSERMETADATA']._serialized_start=1700
|
|
113
|
+
_globals['_DELETEUSERMETADATA']._serialized_end=1759
|
|
114
|
+
_globals['_GRANTUSERPERMISSIONREQUEST']._serialized_start=1762
|
|
115
|
+
_globals['_GRANTUSERPERMISSIONREQUEST']._serialized_end=1947
|
|
116
|
+
_globals['_GRANTUSERPERMISSIONMETADATA']._serialized_start=1949
|
|
117
|
+
_globals['_GRANTUSERPERMISSIONMETADATA']._serialized_end=2017
|
|
118
|
+
_globals['_REVOKEUSERPERMISSIONREQUEST']._serialized_start=2020
|
|
119
|
+
_globals['_REVOKEUSERPERMISSIONREQUEST']._serialized_end=2191
|
|
120
|
+
_globals['_REVOKEUSERPERMISSIONMETADATA']._serialized_start=2193
|
|
121
|
+
_globals['_REVOKEUSERPERMISSIONMETADATA']._serialized_end=2262
|
|
122
|
+
_globals['_USERSERVICE']._serialized_start=2265
|
|
123
|
+
_globals['_USERSERVICE']._serialized_end=3718
|
|
124
124
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -157,6 +157,7 @@ class UpdateUserRequest(google.protobuf.message.Message):
|
|
|
157
157
|
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
158
158
|
USER_PASSWORD_ENCRYPTION_FIELD_NUMBER: builtins.int
|
|
159
159
|
GENERATE_PASSWORD_FIELD_NUMBER: builtins.int
|
|
160
|
+
AUTH_METHOD_FIELD_NUMBER: builtins.int
|
|
160
161
|
cluster_id: builtins.str
|
|
161
162
|
"""ID of the PostgreSQL cluster the user belongs to.
|
|
162
163
|
To get the cluster ID use a [ClusterService.List] request.
|
|
@@ -180,6 +181,8 @@ class UpdateUserRequest(google.protobuf.message.Message):
|
|
|
180
181
|
"""New password-based authentication method for user.
|
|
181
182
|
Possible values are `` USER_PASSWORD_ENCRYPTION_MD5 `` or `` USER_PASSWORD_ENCRYPTION_SCRAM_SHA_256 ``.
|
|
182
183
|
"""
|
|
184
|
+
auth_method: yandex.cloud.mdb.postgresql.v1.user_pb2.AuthMethod.ValueType
|
|
185
|
+
"""User Auth method"""
|
|
183
186
|
@property
|
|
184
187
|
def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
185
188
|
"""Field mask that specifies which fields of the PostgreSQL User resource should be updated."""
|
|
@@ -230,9 +233,10 @@ class UpdateUserRequest(google.protobuf.message.Message):
|
|
|
230
233
|
deletion_protection: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
231
234
|
user_password_encryption: yandex.cloud.mdb.postgresql.v1.user_pb2.UserPasswordEncryption.ValueType = ...,
|
|
232
235
|
generate_password: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
236
|
+
auth_method: yandex.cloud.mdb.postgresql.v1.user_pb2.AuthMethod.ValueType = ...,
|
|
233
237
|
) -> None: ...
|
|
234
238
|
def HasField(self, field_name: typing.Literal["deletion_protection", b"deletion_protection", "generate_password", b"generate_password", "login", b"login", "settings", b"settings", "update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
235
|
-
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "conn_limit", b"conn_limit", "deletion_protection", b"deletion_protection", "generate_password", b"generate_password", "grants", b"grants", "login", b"login", "password", b"password", "permissions", b"permissions", "settings", b"settings", "update_mask", b"update_mask", "user_name", b"user_name", "user_password_encryption", b"user_password_encryption"]) -> None: ...
|
|
239
|
+
def ClearField(self, field_name: typing.Literal["auth_method", b"auth_method", "cluster_id", b"cluster_id", "conn_limit", b"conn_limit", "deletion_protection", b"deletion_protection", "generate_password", b"generate_password", "grants", b"grants", "login", b"login", "password", b"password", "permissions", b"permissions", "settings", b"settings", "update_mask", b"update_mask", "user_name", b"user_name", "user_password_encryption", b"user_password_encryption"]) -> None: ...
|
|
236
240
|
|
|
237
241
|
global___UpdateUserRequest = UpdateUserRequest
|
|
238
242
|
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,55 @@
|
|
|
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/oauth/application.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/oauth/application.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
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nKyandex/cloud/organizationmanager/v1/idp/application/oauth/application.proto\x12\x39yandex.cloud.organizationmanager.v1.idp.application.oauth\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\xe8\x04\n\x0b\x41pplication\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x17\n\x0forganization_id\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12m\n\x15group_claims_settings\x18\x05 \x01(\x0b\x32N.yandex.cloud.organizationmanager.v1.idp.application.oauth.GroupClaimsSettings\x12\\\n\x0c\x63lient_grant\x18\x06 \x01(\x0b\x32\x46.yandex.cloud.organizationmanager.v1.idp.application.oauth.ClientGrant\x12Q\n\x06status\x18\x07 \x01(\x0e\x32\x41.yandex.cloud.organizationmanager.v1.idp.application.oauth.Status\x12\x62\n\x06labels\x18\x08 \x03(\x0b\x32R.yandex.cloud.organizationmanager.v1.idp.application.oauth.Application.LabelsEntry\x12.\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x88\x01\n\x13GroupClaimsSettings\x12q\n\x17group_distribution_type\x18\x01 \x01(\x0e\x32P.yandex.cloud.organizationmanager.v1.idp.application.oauth.GroupDistributionType\"^\n\x0b\x43lientGrant\x12\x1f\n\tclient_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12.\n\x11\x61uthorized_scopes\x18\x02 \x03(\tB\x13\x82\xc8\x31\x06\x31-1000\x8a\xc8\x31\x05<=255*W\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\r\n\tSUSPENDED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04*o\n\x15GroupDistributionType\x12\'\n#GROUP_DISTRIBUTION_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x13\n\x0f\x41SSIGNED_GROUPS\x10\x02\x12\x0e\n\nALL_GROUPS\x10\x03\x42\xa4\x01\n=yandex.cloud.api.organizationmanager.v1.idp.application.oauthZcgithub.com/yandex-cloud/go-genproto/yandex/cloud/organizationmanager/v1/idp/application/oauth;oauthb\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.organizationmanager.v1.idp.application.oauth.application_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n=yandex.cloud.api.organizationmanager.v1.idp.application.oauthZcgithub.com/yandex-cloud/go-genproto/yandex/cloud/organizationmanager/v1/idp/application/oauth;oauth'
|
|
37
|
+
_globals['_APPLICATION_LABELSENTRY']._loaded_options = None
|
|
38
|
+
_globals['_APPLICATION_LABELSENTRY']._serialized_options = b'8\001'
|
|
39
|
+
_globals['_CLIENTGRANT'].fields_by_name['client_id']._loaded_options = None
|
|
40
|
+
_globals['_CLIENTGRANT'].fields_by_name['client_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
41
|
+
_globals['_CLIENTGRANT'].fields_by_name['authorized_scopes']._loaded_options = None
|
|
42
|
+
_globals['_CLIENTGRANT'].fields_by_name['authorized_scopes']._serialized_options = b'\202\3101\0061-1000\212\3101\005<=255'
|
|
43
|
+
_globals['_STATUS']._serialized_start=1056
|
|
44
|
+
_globals['_STATUS']._serialized_end=1143
|
|
45
|
+
_globals['_GROUPDISTRIBUTIONTYPE']._serialized_start=1145
|
|
46
|
+
_globals['_GROUPDISTRIBUTIONTYPE']._serialized_end=1256
|
|
47
|
+
_globals['_APPLICATION']._serialized_start=203
|
|
48
|
+
_globals['_APPLICATION']._serialized_end=819
|
|
49
|
+
_globals['_APPLICATION_LABELSENTRY']._serialized_start=774
|
|
50
|
+
_globals['_APPLICATION_LABELSENTRY']._serialized_end=819
|
|
51
|
+
_globals['_GROUPCLAIMSSETTINGS']._serialized_start=822
|
|
52
|
+
_globals['_GROUPCLAIMSSETTINGS']._serialized_end=958
|
|
53
|
+
_globals['_CLIENTGRANT']._serialized_start=960
|
|
54
|
+
_globals['_CLIENTGRANT']._serialized_end=1054
|
|
55
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
11
|
+
import google.protobuf.message
|
|
12
|
+
import google.protobuf.timestamp_pb2
|
|
13
|
+
import sys
|
|
14
|
+
import typing
|
|
15
|
+
|
|
16
|
+
if sys.version_info >= (3, 10):
|
|
17
|
+
import typing as typing_extensions
|
|
18
|
+
else:
|
|
19
|
+
import typing_extensions
|
|
20
|
+
|
|
21
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
22
|
+
|
|
23
|
+
class _Status:
|
|
24
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
25
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
26
|
+
|
|
27
|
+
class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Status.ValueType], builtins.type):
|
|
28
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
29
|
+
STATUS_UNSPECIFIED: _Status.ValueType # 0
|
|
30
|
+
"""The status is not specified."""
|
|
31
|
+
CREATING: _Status.ValueType # 1
|
|
32
|
+
"""The apllication is in the process of being created."""
|
|
33
|
+
ACTIVE: _Status.ValueType # 2
|
|
34
|
+
"""The apllication is active and operational."""
|
|
35
|
+
SUSPENDED: _Status.ValueType # 3
|
|
36
|
+
"""The apllication is suspended. I.e. authentication via this application is disabled."""
|
|
37
|
+
DELETING: _Status.ValueType # 4
|
|
38
|
+
"""The apllication is in the process of being deleted."""
|
|
39
|
+
|
|
40
|
+
class Status(_Status, metaclass=_StatusEnumTypeWrapper):
|
|
41
|
+
"""Represents the status of an application."""
|
|
42
|
+
|
|
43
|
+
STATUS_UNSPECIFIED: Status.ValueType # 0
|
|
44
|
+
"""The status is not specified."""
|
|
45
|
+
CREATING: Status.ValueType # 1
|
|
46
|
+
"""The apllication is in the process of being created."""
|
|
47
|
+
ACTIVE: Status.ValueType # 2
|
|
48
|
+
"""The apllication is active and operational."""
|
|
49
|
+
SUSPENDED: Status.ValueType # 3
|
|
50
|
+
"""The apllication is suspended. I.e. authentication via this application is disabled."""
|
|
51
|
+
DELETING: Status.ValueType # 4
|
|
52
|
+
"""The apllication is in the process of being deleted."""
|
|
53
|
+
global___Status = Status
|
|
54
|
+
|
|
55
|
+
class _GroupDistributionType:
|
|
56
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
57
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
58
|
+
|
|
59
|
+
class _GroupDistributionTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_GroupDistributionType.ValueType], builtins.type):
|
|
60
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
61
|
+
GROUP_DISTRIBUTION_TYPE_UNSPECIFIED: _GroupDistributionType.ValueType # 0
|
|
62
|
+
"""The distribution type is unspecified"""
|
|
63
|
+
NONE: _GroupDistributionType.ValueType # 1
|
|
64
|
+
"""No groups are visible for the application users"""
|
|
65
|
+
ASSIGNED_GROUPS: _GroupDistributionType.ValueType # 2
|
|
66
|
+
"""Only assigned groups are visible for the application users"""
|
|
67
|
+
ALL_GROUPS: _GroupDistributionType.ValueType # 3
|
|
68
|
+
"""All groups are visible for the application users"""
|
|
69
|
+
|
|
70
|
+
class GroupDistributionType(_GroupDistributionType, metaclass=_GroupDistributionTypeEnumTypeWrapper):
|
|
71
|
+
"""Represents distribution type of the groups"""
|
|
72
|
+
|
|
73
|
+
GROUP_DISTRIBUTION_TYPE_UNSPECIFIED: GroupDistributionType.ValueType # 0
|
|
74
|
+
"""The distribution type is unspecified"""
|
|
75
|
+
NONE: GroupDistributionType.ValueType # 1
|
|
76
|
+
"""No groups are visible for the application users"""
|
|
77
|
+
ASSIGNED_GROUPS: GroupDistributionType.ValueType # 2
|
|
78
|
+
"""Only assigned groups are visible for the application users"""
|
|
79
|
+
ALL_GROUPS: GroupDistributionType.ValueType # 3
|
|
80
|
+
"""All groups are visible for the application users"""
|
|
81
|
+
global___GroupDistributionType = GroupDistributionType
|
|
82
|
+
|
|
83
|
+
@typing.final
|
|
84
|
+
class Application(google.protobuf.message.Message):
|
|
85
|
+
"""An OAuth application resource."""
|
|
86
|
+
|
|
87
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
88
|
+
|
|
89
|
+
@typing.final
|
|
90
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
91
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
92
|
+
|
|
93
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
94
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
95
|
+
key: builtins.str
|
|
96
|
+
value: builtins.str
|
|
97
|
+
def __init__(
|
|
98
|
+
self,
|
|
99
|
+
*,
|
|
100
|
+
key: builtins.str = ...,
|
|
101
|
+
value: builtins.str = ...,
|
|
102
|
+
) -> None: ...
|
|
103
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
104
|
+
|
|
105
|
+
ID_FIELD_NUMBER: builtins.int
|
|
106
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
107
|
+
ORGANIZATION_ID_FIELD_NUMBER: builtins.int
|
|
108
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
109
|
+
GROUP_CLAIMS_SETTINGS_FIELD_NUMBER: builtins.int
|
|
110
|
+
CLIENT_GRANT_FIELD_NUMBER: builtins.int
|
|
111
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
112
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
113
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
114
|
+
UPDATED_AT_FIELD_NUMBER: builtins.int
|
|
115
|
+
id: builtins.str
|
|
116
|
+
"""ID of the application."""
|
|
117
|
+
name: builtins.str
|
|
118
|
+
"""Name of the application.
|
|
119
|
+
The name is unique within the organization. 3-63 characters long.
|
|
120
|
+
"""
|
|
121
|
+
organization_id: builtins.str
|
|
122
|
+
"""ID of the organization that the application belongs to."""
|
|
123
|
+
description: builtins.str
|
|
124
|
+
"""Description of the application. 0-256 characters long."""
|
|
125
|
+
status: global___Status.ValueType
|
|
126
|
+
"""Current status of the application."""
|
|
127
|
+
@property
|
|
128
|
+
def group_claims_settings(self) -> global___GroupClaimsSettings:
|
|
129
|
+
"""Settings of the group claims"""
|
|
130
|
+
|
|
131
|
+
@property
|
|
132
|
+
def client_grant(self) -> global___ClientGrant:
|
|
133
|
+
"""Represents current connection to the OAuth client with specified scopes"""
|
|
134
|
+
|
|
135
|
+
@property
|
|
136
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
137
|
+
"""Resource labels as `` key:value `` pairs."""
|
|
138
|
+
|
|
139
|
+
@property
|
|
140
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
141
|
+
"""Creation timestamp."""
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
145
|
+
"""Modification timestamp."""
|
|
146
|
+
|
|
147
|
+
def __init__(
|
|
148
|
+
self,
|
|
149
|
+
*,
|
|
150
|
+
id: builtins.str = ...,
|
|
151
|
+
name: builtins.str = ...,
|
|
152
|
+
organization_id: builtins.str = ...,
|
|
153
|
+
description: builtins.str = ...,
|
|
154
|
+
group_claims_settings: global___GroupClaimsSettings | None = ...,
|
|
155
|
+
client_grant: global___ClientGrant | None = ...,
|
|
156
|
+
status: global___Status.ValueType = ...,
|
|
157
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
158
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
159
|
+
updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
160
|
+
) -> None: ...
|
|
161
|
+
def HasField(self, field_name: typing.Literal["client_grant", b"client_grant", "created_at", b"created_at", "group_claims_settings", b"group_claims_settings", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
162
|
+
def ClearField(self, field_name: typing.Literal["client_grant", b"client_grant", "created_at", b"created_at", "description", b"description", "group_claims_settings", b"group_claims_settings", "id", b"id", "labels", b"labels", "name", b"name", "organization_id", b"organization_id", "status", b"status", "updated_at", b"updated_at"]) -> None: ...
|
|
163
|
+
|
|
164
|
+
global___Application = Application
|
|
165
|
+
|
|
166
|
+
@typing.final
|
|
167
|
+
class GroupClaimsSettings(google.protobuf.message.Message):
|
|
168
|
+
"""Settings of the group claims"""
|
|
169
|
+
|
|
170
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
171
|
+
|
|
172
|
+
GROUP_DISTRIBUTION_TYPE_FIELD_NUMBER: builtins.int
|
|
173
|
+
group_distribution_type: global___GroupDistributionType.ValueType
|
|
174
|
+
"""Represents current distribution type of the groups. I.e. which groups are visible for the application users."""
|
|
175
|
+
def __init__(
|
|
176
|
+
self,
|
|
177
|
+
*,
|
|
178
|
+
group_distribution_type: global___GroupDistributionType.ValueType = ...,
|
|
179
|
+
) -> None: ...
|
|
180
|
+
def ClearField(self, field_name: typing.Literal["group_distribution_type", b"group_distribution_type"]) -> None: ...
|
|
181
|
+
|
|
182
|
+
global___GroupClaimsSettings = GroupClaimsSettings
|
|
183
|
+
|
|
184
|
+
@typing.final
|
|
185
|
+
class ClientGrant(google.protobuf.message.Message):
|
|
186
|
+
"""Represents connection to the OAuth client with specified scopes"""
|
|
187
|
+
|
|
188
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
189
|
+
|
|
190
|
+
CLIENT_ID_FIELD_NUMBER: builtins.int
|
|
191
|
+
AUTHORIZED_SCOPES_FIELD_NUMBER: builtins.int
|
|
192
|
+
client_id: builtins.str
|
|
193
|
+
"""OAuth client id"""
|
|
194
|
+
@property
|
|
195
|
+
def authorized_scopes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
196
|
+
"""List of authorized client scopes by the application"""
|
|
197
|
+
|
|
198
|
+
def __init__(
|
|
199
|
+
self,
|
|
200
|
+
*,
|
|
201
|
+
client_id: builtins.str = ...,
|
|
202
|
+
authorized_scopes: collections.abc.Iterable[builtins.str] | None = ...,
|
|
203
|
+
) -> None: ...
|
|
204
|
+
def ClearField(self, field_name: typing.Literal["authorized_scopes", b"authorized_scopes", "client_id", b"client_id"]) -> None: ...
|
|
205
|
+
|
|
206
|
+
global___ClientGrant = ClientGrant
|
|
@@ -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/oauth/application_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
|
+
...
|