# AlloyDB V1ALPHA API - Class Google::Cloud::AlloyDB::V1alpha::ExecuteSqlMetadata (v0.22.0)

0.22.0 (latest) 0.21.0 0.20.0 0.19.0 0.18.0 0.17.1 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.2 0.6.0 0.5.2 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the AlloyDB V1ALPHA API class Google::Cloud::AlloyDB::V1alpha::ExecuteSqlMetadata.

Any additional metadata information regarding the execution of the SQL

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #message

    def message() -> ::String

**Returns**

- (::String) --- Message related to SQL execution. Marked as core content since it can potentially contain details related to the query or result set. This field can be used to convey messages such as "when the SQL result set exceeds the acceptable response size limits."

### #message=

    def message=(value) -> ::String

**Parameter**

- **value** (::String) --- Message related to SQL execution. Marked as core content since it can potentially contain details related to the query or result set. This field can be used to convey messages such as "when the SQL result set exceeds the acceptable response size limits."
**Returns**

- (::String) --- Message related to SQL execution. Marked as core content since it can potentially contain details related to the query or result set. This field can be used to convey messages such as "when the SQL result set exceeds the acceptable response size limits."

### #partial_result

    def partial_result() -> ::Boolean

**Returns**

- (::Boolean) --- Set to true if SQL returned a result set larger than the acceptable response size limits and the result was truncated.

### #partial_result=

    def partial_result=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Set to true if SQL returned a result set larger than the acceptable response size limits and the result was truncated.
**Returns**

- (::Boolean) --- Set to true if SQL returned a result set larger than the acceptable response size limits and the result was truncated.

### #sql_statement_execution_duration

    def sql_statement_execution_duration() -> ::Google::Protobuf::Duration

**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Protobuf-Duration)) --- The time duration taken to execute the sql statement.

### #sql_statement_execution_duration=

    def sql_statement_execution_duration=(value) -> ::Google::Protobuf::Duration

**Parameter**

- **value** ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Protobuf-Duration)) --- The time duration taken to execute the sql statement.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Protobuf-Duration)) --- The time duration taken to execute the sql statement.

### #status

    def status() -> ::Google::Cloud::AlloyDB::V1alpha::ExecuteSqlMetadata::Status

**Returns**

- ([::Google::Cloud::AlloyDB::V1alpha::ExecuteSqlMetadata::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Cloud-AlloyDB-V1alpha-ExecuteSqlMetadata-Status)) --- Status of SQL execution.

### #status=

    def status=(value) -> ::Google::Cloud::AlloyDB::V1alpha::ExecuteSqlMetadata::Status

**Parameter**

- **value** ([::Google::Cloud::AlloyDB::V1alpha::ExecuteSqlMetadata::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Cloud-AlloyDB-V1alpha-ExecuteSqlMetadata-Status)) --- Status of SQL execution.
**Returns**

- ([::Google::Cloud::AlloyDB::V1alpha::ExecuteSqlMetadata::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Cloud-AlloyDB-V1alpha-ExecuteSqlMetadata-Status)) --- Status of SQL execution.