str
Optional. The database native user’s
password.
This field is a member of oneof_ user_credential.
instance
str
Required. The instance where the SQL will be
executed. For the required format, see the
comment on the Instance.name field.
database
str
Required. Name of the database where the query will be
executed. Note - Value provided should be the same as
expected from SELECT current_database(); and NOT as a
resource reference.
user
str
Required. Database user to be used for executing the SQL.
Note - Value provided should be the same as expected from
SELECT current_user; and NOT as a resource reference.
sql_statement
str
Required. SQL statement to execute on
database. Any valid statement is permitted,
including DDL, DML, DQL statements.
[[["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 2025-09-04 UTC."],[],[],null,["# Class ExecuteSqlRequest (0.4.8)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.8 (latest)](/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ExecuteSqlRequest)\n- [0.4.7](/python/docs/reference/alloydb/0.4.7/google.cloud.alloydb_v1alpha.types.ExecuteSqlRequest)\n- [0.3.16](/python/docs/reference/alloydb/0.3.16/google.cloud.alloydb_v1alpha.types.ExecuteSqlRequest)\n- [0.2.1](/python/docs/reference/alloydb/0.2.1/google.cloud.alloydb_v1alpha.types.ExecuteSqlRequest)\n- [0.1.1](/python/docs/reference/alloydb/0.1.1/google.cloud.alloydb_v1alpha.types.ExecuteSqlRequest) \n\n ExecuteSqlRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nRequest for ExecuteSql rpc.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e"]]