Send feedback
Module engine (0.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
0.15.0 (latest)
0.14.0
0.12.0
0.11.0
0.10.0
0.9.3
0.8.0
0.7.0
0.6.0
0.5.0
0.4.1
0.3.0
0.2.2
API documentation for engine module.
Classes
AlloyDBEngine (
key : object ,
pool : sqlalchemy . ext . asyncio . engine . AsyncEngine ,
loop : typing . Optional [ asyncio . events . AbstractEventLoop ],
thread : typing . Optional [ threading . Thread ],
)
A class for managing connections to a AlloyDB database.
Modules
Functions
_get_iam_principal_email
_get_iam_principal_email ( credentials : google . auth . credentials . Credentials ) - > str
Get email address associated with current authenticated IAM principal.
Email will be used for automatic IAM database authentication to AlloyDB.
Parameter
Name
Description
credentials
google.auth.credentials.Credentials
The credentials object to use in finding the associated IAM principal email address.
Returns
Type
Description
email (str)
The email address associated with the current authenticated IAM principal.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-05-28 UTC."],[],[]]