Class: Google::Cloud::Asset::V1::QueryResult

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/asset/v1/asset_service.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#next_page_token::String

Returns Token to retrieve the next page of the results.

Returns:

  • (::String)

    Token to retrieve the next page of the results.



1767
1768
1769
1770
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1767

class QueryResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#rows::Array<::Google::Protobuf::Struct>

Returns Each row hold a query result in the format of Struct.

Returns:



1767
1768
1769
1770
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1767

class QueryResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#schema::Google::Cloud::Asset::V1::TableSchema

Returns Describes the format of the [rows].

Returns:



1767
1768
1769
1770
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1767

class QueryResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#total_rows::Integer

Returns Total rows of the whole query results.

Returns:

  • (::Integer)

    Total rows of the whole query results.



1767
1768
1769
1770
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1767

class QueryResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end