SqlUsersUpdateRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs).. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
host |
str
Optional. Host of the user in the instance. |
instance |
str
Database instance ID. This does not include the project ID. |
name |
str
Name of the user in the instance. |
project |
str
Project ID of the project that contains the instance. |
database_roles |
MutableSequence[str]
Optional. List of database roles to grant to the user. body.database_roles will be ignored for update request. |
revoke_existing_roles |
bool
Optional. Specifies whether to revoke existing roles that are not present in the database_roles field. If
false or unset, the database roles specified in
database_roles are added to the user's existing roles.
This field is a member of oneof_ _revoke_existing_roles.
|
server_roles |
MutableSequence[str]
Optional. The server roles to grant to the SQL Server login. Existing server roles will not be revoked if revoke_existing_roles is false. body.server_roles will be ignored for update request. |
revoke_existing_server_roles |
bool
Optional. Specifies whether to revoke existing roles that are not present in the server_roles field. If false
or unset, the server roles specified in server_roles are
added to the user's existing server roles.
This field is a member of oneof_ _revoke_existing_server_roles.
|