If true will successfully store an unparseable resource name into the UnparsedResource
property; otherwise will throw an ArgumentException if an unparseable resource name is
specified.
If true will successfully store an unparseable resource name into the UnparsedResource
property; otherwise will throw an ArgumentException if an unparseable resource name is
specified.
[[["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\u003eThe \u003ccode\u003eTableName\u003c/code\u003e class in the \u003ccode\u003eGoogle.Cloud.Bigtable.Common.V2\u003c/code\u003e namespace represents a resource name for a table within Google Cloud Bigtable, with the latest version being 3.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements \u003ccode\u003eIResourceName\u003c/code\u003e and \u003ccode\u003eIEquatable<TableName>\u003c/code\u003e, and it can construct, format, parse, and validate table resource names based on the pattern \u003ccode\u003eprojects/{project}/instances/{instance}/tables/{table}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTableName\u003c/code\u003e instances contain properties like \u003ccode\u003eProjectId\u003c/code\u003e, \u003ccode\u003eInstanceId\u003c/code\u003e, and \u003ccode\u003eTableId\u003c/code\u003e, and indicate whether the resource name has a known pattern, or is unparsed.\u003c/p\u003e\n"],["\u003cp\u003eMethods are available to format table names from their individual project, instance and table components, as well as to parse strings into TableName instances, and check if the table name is valid.\u003c/p\u003e\n"],["\u003cp\u003eThe provided documentation for TableName also includes information on constructing objects of this type, such as how to use the constructor, as well as various methods to convert the object to strings or use it in boolean evaluations.\u003c/p\u003e\n"]]],[],null,["# Google.Cloud.Bigtable.Common.V2 - Class TableName (3.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.TableName)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/3.1.0/Google.Cloud.Bigtable.Common.V2.TableName)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/3.0.0/Google.Cloud.Bigtable.Common.V2.TableName)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/2.1.0/Google.Cloud.Bigtable.Common.V2.TableName) \n\n public sealed class TableName : IResourceName, IEquatable\u003cTableName\u003e\n\nReference documentation and code samples for the Google.Cloud.Bigtable.Common.V2 class TableName.\n\nResource name for the `Table` resource. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e TableName \n\nImplements\n----------\n\n[IResourceName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/IResourceName.cs), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TableName](/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.TableName) \n\nInherited Members\n-----------------\n\n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype)\n\nNamespace\n---------\n\n[Google.Cloud.Bigtable.Common.V2](/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Bigtable.Common.V2.dll\n\nConstructors\n------------\n\n### TableName(string, string, string)\n\n public TableName(string projectId, string instanceId, string tableId)\n\nConstructs a new instance of a [TableName](/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.TableName) class from the component parts of pattern\n`projects/{project}/instances/{instance}/tables/{table}`\n\nProperties\n----------\n\n### InstanceId\n\n public string InstanceId { get; }\n\nThe `Instance` ID. Will not be `null`, unless this instance contains an unparsed resource name.\n\n### IsKnownPattern\n\n public bool IsKnownPattern { get; }\n\nWhether this instance contains a resource name with a known pattern.\n\n### ProjectId\n\n public string ProjectId { get; }\n\nThe `Project` ID. Will not be `null`, unless this instance contains an unparsed resource name.\n\n### TableId\n\n public string TableId { get; }\n\nThe `Table` ID. Will not be `null`, unless this instance contains an unparsed resource name.\n\n### Type\n\n public TableName.ResourceNameType Type { get; }\n\nThe [TableName.ResourceNameType](/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.TableName.ResourceNameType) of the contained resource name.\n\n### UnparsedResource\n\n public UnparsedResourceName UnparsedResource { get; }\n\nThe contained [UnparsedResourceName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/UnparsedResourceName.cs). Only non-`null` if this instance contains an\nunparsed resource name.\n\nMethods\n-------\n\n### Format(string, string, string)\n\n public static string Format(string projectId, string instanceId, string tableId)\n\nFormats the IDs into the string representation of this [TableName](/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.TableName) with pattern\n`projects/{project}/instances/{instance}/tables/{table}`.\n\n### FormatProjectInstanceTable(string, string, string)\n\n public static string FormatProjectInstanceTable(string projectId, string instanceId, string tableId)\n\nFormats the IDs into the string representation of this [TableName](/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.TableName) with pattern\n`projects/{project}/instances/{instance}/tables/{table}`.\n\n### FromProjectInstanceTable(string, string, string)\n\n public static TableName FromProjectInstanceTable(string projectId, string instanceId, string tableId)\n\nCreates a [TableName](/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.TableName) with the pattern `projects/{project}/instances/{instance}/tables/{table}`\n.\n\n### FromUnparsed(UnparsedResourceName)\n\n public static TableName FromUnparsed(UnparsedResourceName unparsedResourceName)\n\nCreates a [TableName](/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.TableName) containing an unparsed resource name.\n\n### GetHashCode()\n\n public override int GetHashCode()\n\n**Overrides** \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)\n\n### Parse(string)\n\n public static TableName Parse(string tableName)\n\nParses the given resource name string into a new [TableName](/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.TableName) instance.\n\n**Remarks** \nTo parse successfully, the resource name must be formatted as one of the following:\n\n- `projects/{project}/instances/{instance}/tables/{table}`\n\n\u003cbr /\u003e\n\n### Parse(string, bool)\n\n public static TableName Parse(string tableName, bool allowUnparsed)\n\nParses the given resource name string into a new [TableName](/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.TableName) instance; optionally allowing an\nunparseable resource name.\n\n**Remarks** \nTo parse successfully, the resource name must be formatted as one of the following:\n\n- `projects/{project}/instances/{instance}/tables/{table}`\n\nOr may be in any format if `allowUnparsed` is `true`.\n\n\u003cbr /\u003e\n\n### ToString()\n\n public override string ToString()\n\n**Overrides** \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\n### TryParse(string, out TableName)\n\n public static bool TryParse(string tableName, out TableName result)\n\nTries to parse the given resource name string into a new [TableName](/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.TableName) instance.\n\n**Remarks** \nTo parse successfully, the resource name must be formatted as one of the following:\n\n- `projects/{project}/instances/{instance}/tables/{table}`\n\n\u003cbr /\u003e\n\n### TryParse(string, bool, out TableName)\n\n public static bool TryParse(string tableName, bool allowUnparsed, out TableName result)\n\nTries to parse the given resource name string into a new [TableName](/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.TableName) instance; optionally\nallowing an unparseable resource name.\n\n**Remarks** \nTo parse successfully, the resource name must be formatted as one of the following:\n\n- `projects/{project}/instances/{instance}/tables/{table}`\n\nOr may be in any format if `allowUnparsed` is `true`.\n\n\u003cbr /\u003e\n\nOperators\n---------\n\n### operator ==(TableName, TableName)\n\n public static bool operator ==(TableName a, TableName b)\n\n### operator !=(TableName, TableName)\n\n public static bool operator !=(TableName a, TableName b)"]]