1.9.1 (latest) 1.9.0 1.8.0 1.7.0 1.6.1 1.5.0 1.4.1 1.3.1 1.2.0 1.1.0 1.0.2 0.32.0 0.31.0 0.30.0 0.29.3 0.28.1 0.27.0 0.26.1 0.25.0 0.24.0 0.23.0 0.22.0 0.21.1 0.20.1 0.19.0 0.18.0 0.17.3 Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::QueryResult.

Execution results of the query.


<br />

The result is formatted as rows represented by BigQuery compatible \[schema\].
When pagination is necessary, it will contains the page token to retrieve
the results of following pages.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #next_page_token

    def next_page_token() -> ::String

**Returns**

- (::String) --- Token to retrieve the next page of the results.

### #next_page_token=

    def next_page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- Token to retrieve the next page of the results.
**Returns**

- (::String) --- Token to retrieve the next page of the results.

### #rows

    def rows() -> ::Array<::Google::Protobuf::Struct>

**Returns**

- (::Array\<[::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Protobuf-Struct)\>) --- Each row hold a query result in the format of `Struct`.

### #rows=

    def rows=(value) -> ::Array<::Google::Protobuf::Struct>

**Parameter**

- **value** (::Array\<[::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Protobuf-Struct)\>) --- Each row hold a query result in the format of `Struct`.
**Returns**

- (::Array\<[::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Protobuf-Struct)\>) --- Each row hold a query result in the format of `Struct`.

### #schema

    def schema() -> ::Google::Cloud::Asset::V1::TableSchema

**Returns**

- ([::Google::Cloud::Asset::V1::TableSchema](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-TableSchema)) --- Describes the format of the \[rows\].

### #schema=

    def schema=(value) -> ::Google::Cloud::Asset::V1::TableSchema

**Parameter**

- **value** ([::Google::Cloud::Asset::V1::TableSchema](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-TableSchema)) --- Describes the format of the \[rows\].
**Returns**

- ([::Google::Cloud::Asset::V1::TableSchema](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-TableSchema)) --- Describes the format of the \[rows\].

### #total_rows

    def total_rows() -> ::Integer

**Returns**

- (::Integer) --- Total rows of the whole query results.

### #total_rows=

    def total_rows=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Total rows of the whole query results.
**Returns**

- (::Integer) --- Total rows of the whole query results.