# AlloyDB V1 API - Class Google::Cloud::AlloyDB::V1::ExecuteSqlResponse (v1.9.0)

1.9.0 (latest) 1.7.0 1.6.2 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.12.0 0.11.0 0.10.0 0.9.2 0.8.2 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the AlloyDB V1 API class Google::Cloud::AlloyDB::V1::ExecuteSqlResponse.

Execute a SQL statement response.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #metadata

    def metadata() -> ::Google::Cloud::AlloyDB::V1::ExecuteSqlMetadata

**Returns**

- ([::Google::Cloud::AlloyDB::V1::ExecuteSqlMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1/latest/Google-Cloud-AlloyDB-V1-ExecuteSqlMetadata)) --- Any additional metadata information regarding the execution of the sql statement.

### #metadata=

    def metadata=(value) -> ::Google::Cloud::AlloyDB::V1::ExecuteSqlMetadata

**Parameter**

- **value** ([::Google::Cloud::AlloyDB::V1::ExecuteSqlMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1/latest/Google-Cloud-AlloyDB-V1-ExecuteSqlMetadata)) --- Any additional metadata information regarding the execution of the sql statement.
**Returns**

- ([::Google::Cloud::AlloyDB::V1::ExecuteSqlMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1/latest/Google-Cloud-AlloyDB-V1-ExecuteSqlMetadata)) --- Any additional metadata information regarding the execution of the sql statement.

### #sql_results

    def sql_results() -> ::Array<::Google::Cloud::AlloyDB::V1::SqlResult>

**Returns**

- (::Array\<[::Google::Cloud::AlloyDB::V1::SqlResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1/latest/Google-Cloud-AlloyDB-V1-SqlResult)\>) --- SqlResult represents the results for the execution of sql statements.

### #sql_results=

    def sql_results=(value) -> ::Array<::Google::Cloud::AlloyDB::V1::SqlResult>

**Parameter**

- **value** (::Array\<[::Google::Cloud::AlloyDB::V1::SqlResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1/latest/Google-Cloud-AlloyDB-V1-SqlResult)\>) --- SqlResult represents the results for the execution of sql statements.
**Returns**

- (::Array\<[::Google::Cloud::AlloyDB::V1::SqlResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1/latest/Google-Cloud-AlloyDB-V1-SqlResult)\>) --- SqlResult represents the results for the execution of sql statements.