File tree Expand file tree Collapse file tree 4 files changed +10
-0
lines changed
scaleway-async/scaleway_async/mongodb/v1alpha1
scaleway/scaleway/mongodb/v1alpha1 Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1223,6 +1223,8 @@ async def set_user_role(
12231223 roles : Optional [List [UserRole ]] = None ,
12241224 ) -> User :
12251225 """
1226+ Apply user roles.
1227+ Apply preset roles for a user in a Database Instance.
12261228 :param instance_id: UUID of the Database Instance the user belongs to.
12271229 :param user_name: Name of the database user.
12281230 :param region: Region to target. If none is passed will use default region from the config.
Original file line number Diff line number Diff line change @@ -234,6 +234,9 @@ class SnapshotVolumeType:
234234@dataclass
235235class UserRole :
236236 role : UserRoleRole
237+ """
238+ Name of the preset role.
239+ """
237240
238241 database : Optional [str ]
239242
Original file line number Diff line number Diff line change @@ -1219,6 +1219,8 @@ def set_user_role(
12191219 roles : Optional [List [UserRole ]] = None ,
12201220 ) -> User :
12211221 """
1222+ Apply user roles.
1223+ Apply preset roles for a user in a Database Instance.
12221224 :param instance_id: UUID of the Database Instance the user belongs to.
12231225 :param user_name: Name of the database user.
12241226 :param region: Region to target. If none is passed will use default region from the config.
Original file line number Diff line number Diff line change @@ -234,6 +234,9 @@ class SnapshotVolumeType:
234234@dataclass
235235class UserRole :
236236 role : UserRoleRole
237+ """
238+ Name of the preset role.
239+ """
237240
238241 database : Optional [str ]
239242
You can’t perform that action at this time.
0 commit comments