0.11.4 (latest) 0.11.3 0.10.0 0.9.0 0.7.0 0.6.0 0.5.0 0.4.9 0.3.16 0.2.1 0.1.1

    ExecuteSqlRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request for ExecuteSql rpc.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `password` | `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. |
| `validate_only` | `bool` Optional. If set, validates the sql statement by performing syntax and semantic validation and doesn't execute the query. |