public sealed class SampleRowKeysRequest : IMessage<SampleRowKeysRequest>, IEquatable<SampleRowKeysRequest>, IDeepCloneable<SampleRowKeysRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Bigtable v2 API class SampleRowKeysRequest.
[[["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-12 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eSampleRowKeysRequest\u003c/code\u003e class within the Google Cloud Bigtable v2 API for .NET, with version 3.17.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSampleRowKeysRequest\u003c/code\u003e class is used to request sample row keys from a Bigtable table, and it implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class supports specifying the table, AuthorizedView, or MaterializedView to sample row keys from, along with routing via an application profile ID.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the documentation are accessible, ranging from version 2.2.0 up to the current latest 3.17.0, allowing reference to specific releases.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eSampleRowKeysRequest\u003c/code\u003e include \u003ccode\u003eAppProfileId\u003c/code\u003e, \u003ccode\u003eAuthorizedViewName\u003c/code\u003e, \u003ccode\u003eMaterializedViewName\u003c/code\u003e, and \u003ccode\u003eTableName\u003c/code\u003e, which allow the user to define the source of the row keys to sample and also define routing replication.\u003c/p\u003e\n"]]],[],null,["# Google Bigtable v2 API - Class SampleRowKeysRequest (3.23.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.23.0 (latest)](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.22.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.22.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.21.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.21.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.20.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.20.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.19.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.19.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.18.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.18.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.17.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.17.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.16.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.16.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.15.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.15.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.14.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.13.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.12.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.11.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.10.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.9.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.8.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.7.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.6.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.5.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.4.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.3.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.2.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.1.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.0.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.6.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.5.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.4.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.3.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.2.0/Google.Cloud.Bigtable.V2.SampleRowKeysRequest) \n\n public sealed class SampleRowKeysRequest : IMessage\u003cSampleRowKeysRequest\u003e, IEquatable\u003cSampleRowKeysRequest\u003e, IDeepCloneable\u003cSampleRowKeysRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Bigtable v2 API class SampleRowKeysRequest.\n\nRequest message for Bigtable.SampleRowKeys. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SampleRowKeysRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SampleRowKeysRequest](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.SampleRowKeysRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SampleRowKeysRequest](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.SampleRowKeysRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SampleRowKeysRequest](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.SampleRowKeysRequest), [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.Bigtable.V2](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Bigtable.V2.dll\n\nConstructors\n------------\n\n### SampleRowKeysRequest()\n\n public SampleRowKeysRequest()\n\n### SampleRowKeysRequest(SampleRowKeysRequest)\n\n public SampleRowKeysRequest(SampleRowKeysRequest other)\n\nProperties\n----------\n\n### AppProfileId\n\n public string AppProfileId { get; set; }\n\nThis value specifies routing for replication. If not specified, the\n\"default\" application profile will be used.\n\n### AuthorizedViewName\n\n public string AuthorizedViewName { get; set; }\n\nOptional. The unique name of the AuthorizedView from which to sample row\nkeys.\n\nValues are of the form\n`projects/\u003cproject\u003e/instances/\u003cinstance\u003e/tables/\u003ctable\u003e/authorizedViews/\u003cauthorized_view\u003e`.\n\n### AuthorizedViewNameAsAuthorizedViewName\n\n public AuthorizedViewName AuthorizedViewNameAsAuthorizedViewName { get; set; }\n\n[AuthorizedViewName](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.AuthorizedViewName)-typed view over the [AuthorizedViewName](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.SampleRowKeysRequest#Google_Cloud_Bigtable_V2_SampleRowKeysRequest_AuthorizedViewName) resource name\nproperty.\n\n### MaterializedViewName\n\n public string MaterializedViewName { get; set; }\n\nOptional. The unique name of the MaterializedView from which to read.\n\nValues are of the form\n`projects/\u003cproject\u003e/instances/\u003cinstance\u003e/materializedViews/\u003cmaterialized_view\u003e`.\n\n### MaterializedViewNameAsMaterializedViewName\n\n public MaterializedViewName MaterializedViewNameAsMaterializedViewName { get; set; }\n\n[MaterializedViewName](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.MaterializedViewName)-typed view over the [MaterializedViewName](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.SampleRowKeysRequest#Google_Cloud_Bigtable_V2_SampleRowKeysRequest_MaterializedViewName) resource\nname property.\n\n### TableName\n\n public string TableName { get; set; }\n\nOptional. The unique name of the table from which to sample row keys.\n\nValues are of the form\n`projects/\u003cproject\u003e/instances/\u003cinstance\u003e/tables/\u003ctable\u003e`.\n\n### TableNameAsTableName\n\n public TableName TableNameAsTableName { get; set; }\n\n[TableName](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.TableName.html)-typed view over the [TableName](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.SampleRowKeysRequest#Google_Cloud_Bigtable_V2_SampleRowKeysRequest_TableName) resource name property."]]