Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::QueryResult.
Execution results of the query.
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>) — 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>) — Each row hold a query result in the format of Struct.
    Returns
    
  - 
        (::Array<::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) — Describes the format of the [rows].
#schema=
def schema=(value) -> ::Google::Cloud::Asset::V1::TableSchema
    Parameter
    
  - value (::Google::Cloud::Asset::V1::TableSchema) — Describes the format of the [rows].
    Returns
    
  - (::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.