Cloud Asset V1 API - Class Google::Cloud::Asset::V1::QueryResult (v1.1.0)

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

#rows=

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

#schema

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

#schema=

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

#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.