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. |