public sealed class QueryResult : IMessage<QueryResult>, IEquatable<QueryResult>, IDeepCloneable<QueryResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eQueryResult\u003c/code\u003e class within the Google Cloud Asset Inventory v1 API, with the latest version being 3.12.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQueryResult\u003c/code\u003e class represents the execution results of a query, formatted as rows compatible with BigQuery schema, and is used to show the query results of a given search.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQueryResult\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, as well as has multiple built in functions such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eQueryResult\u003c/code\u003e class include \u003ccode\u003eNextPageToken\u003c/code\u003e for pagination, \u003ccode\u003eRows\u003c/code\u003e to store the query results, \u003ccode\u003eSchema\u003c/code\u003e for row formatting, and \u003ccode\u003eTotalRows\u003c/code\u003e to show the total query results.\u003c/p\u003e\n"],["\u003cp\u003eThe page displays the available versions of the \u003ccode\u003eQueryResult\u003c/code\u003e class, ranging from version 3.12.0 down to version 2.7.0, which are all accessible from the page, and are all a part of the Google.Cloud.Asset.V1 namespace, specifically from the Google.Cloud.Asset.V1.dll assembly.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Asset Inventory v1 API - Class QueryResult (3.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.13.0 (latest)](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.QueryResult)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.12.0/Google.Cloud.Asset.V1.QueryResult)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.11.0/Google.Cloud.Asset.V1.QueryResult)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.10.0/Google.Cloud.Asset.V1.QueryResult)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.9.0/Google.Cloud.Asset.V1.QueryResult)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.8.0/Google.Cloud.Asset.V1.QueryResult)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.7.0/Google.Cloud.Asset.V1.QueryResult)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.6.0/Google.Cloud.Asset.V1.QueryResult)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.5.0/Google.Cloud.Asset.V1.QueryResult)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.4.0/Google.Cloud.Asset.V1.QueryResult)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.3.0/Google.Cloud.Asset.V1.QueryResult)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.2.0/Google.Cloud.Asset.V1.QueryResult)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.1.0/Google.Cloud.Asset.V1.QueryResult)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.0.0/Google.Cloud.Asset.V1.QueryResult)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.11.0/Google.Cloud.Asset.V1.QueryResult)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.10.0/Google.Cloud.Asset.V1.QueryResult)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.9.0/Google.Cloud.Asset.V1.QueryResult)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.8.0/Google.Cloud.Asset.V1.QueryResult)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.7.0/Google.Cloud.Asset.V1.QueryResult) \n\n public sealed class QueryResult : IMessage\u003cQueryResult\u003e, IEquatable\u003cQueryResult\u003e, IDeepCloneable\u003cQueryResult\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Asset Inventory v1 API class QueryResult.\n\nExecution results of the query.\n\nThe result is formatted as rows represented by BigQuery compatible \\[schema\\].\nWhen pagination is necessary, it will contains the page token to retrieve\nthe results of following pages. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e QueryResult \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[QueryResult](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.QueryResult), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[QueryResult](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.QueryResult), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[QueryResult](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.QueryResult), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Asset.V1](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Asset.V1.dll\n\nConstructors\n------------\n\n### QueryResult()\n\n public QueryResult()\n\n### QueryResult(QueryResult)\n\n public QueryResult(QueryResult other)\n\nProperties\n----------\n\n### NextPageToken\n\n public string NextPageToken { get; set; }\n\nToken to retrieve the next page of the results.\n\n### Rows\n\n public RepeatedField\u003cStruct\u003e Rows { get; }\n\nEach row hold a query result in the format of `Struct`.\n\n### Schema\n\n public TableSchema Schema { get; set; }\n\nDescribes the format of the \\[rows\\].\n\n### TotalRows\n\n public long TotalRows { get; set; }\n\nTotal rows of the whole query results."]]