Google Cloud AlloyDB for PostgreSQL V1 Client - Class ExecuteSqlResponse (1.1.0)

Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class ExecuteSqlResponse.

Execute a SQL statement response.

Generated from protobuf message google.cloud.alloydb.v1.ExecuteSqlResponse

Namespace

Google \ Cloud \ AlloyDb \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ sql_results array<Google\Cloud\AlloyDb\V1\SqlResult>

SqlResult represents the results for the execution of sql statements.

↳ metadata Google\Cloud\AlloyDb\V1\ExecuteSqlMetadata

Any additional metadata information regarding the execution of the sql statement.

getSqlResults

SqlResult represents the results for the execution of sql statements.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSqlResults

SqlResult represents the results for the execution of sql statements.

Parameter
Name Description
var array<Google\Cloud\AlloyDb\V1\SqlResult>
Returns
Type Description
$this

getMetadata

Any additional metadata information regarding the execution of the sql statement.

Returns
Type Description
Google\Cloud\AlloyDb\V1\ExecuteSqlMetadata|null

hasMetadata

clearMetadata

setMetadata

Any additional metadata information regarding the execution of the sql statement.

Parameter
Name Description
var Google\Cloud\AlloyDb\V1\ExecuteSqlMetadata
Returns
Type Description
$this