[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe latest version of the Google.Cloud.BigQuery.V2.TimePartition API is 3.11.0, and this page provides access to documentation for versions ranging from 2.2.0 to 3.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTimePartition\u003c/code\u003e class offers convenience methods for generating \u003ccode\u003eTimePartitioning\u003c/code\u003e schemes, which are useful for managing partitioned data within BigQuery.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides methods \u003ccode\u003eCreateDailyPartitioning\u003c/code\u003e that return a daily partitioning scheme, with optional parameters for partition expiration and the field used to partition by, providing flexibility in how daily partitioning is configured.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTimePartition\u003c/code\u003e class inherits members from the base \u003ccode\u003eobject\u003c/code\u003e class, like GetHashCode, GetType, MemberwiseClone, and ToString.\u003c/p\u003e\n"]]],[],null,["# Google BigQuery v2 API - Class TimePartition (3.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.11.0 (latest)](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/latest/Google.Cloud.BigQuery.V2.TimePartition)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.10.0/Google.Cloud.BigQuery.V2.TimePartition)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.9.0/Google.Cloud.BigQuery.V2.TimePartition)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.8.0/Google.Cloud.BigQuery.V2.TimePartition)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.7.0/Google.Cloud.BigQuery.V2.TimePartition)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.6.0/Google.Cloud.BigQuery.V2.TimePartition)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.5.0/Google.Cloud.BigQuery.V2.TimePartition)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.4.0/Google.Cloud.BigQuery.V2.TimePartition)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.3.0/Google.Cloud.BigQuery.V2.TimePartition)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.2.0/Google.Cloud.BigQuery.V2.TimePartition)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.1.0/Google.Cloud.BigQuery.V2.TimePartition)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.0.0/Google.Cloud.BigQuery.V2.TimePartition)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/2.4.0/Google.Cloud.BigQuery.V2.TimePartition)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/2.3.0/Google.Cloud.BigQuery.V2.TimePartition)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/2.2.0/Google.Cloud.BigQuery.V2.TimePartition) \n\n public static class TimePartition\n\nReference documentation and code samples for the Google BigQuery v2 API class TimePartition.\n\nConvenience methods for creating [TimePartitioning](https://googleapis.dev/dotnet/Google.Apis.Bigquery.v2/1.68.0.3400/api/Google.Apis.Bigquery.v2.Data.TimePartitioning.html). \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e TimePartition \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.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.BigQuery.V2](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/latest/Google.Cloud.BigQuery.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.BigQuery.V2.dll\n\nMethods\n-------\n\n### CreateDailyPartitioning(TimeSpan?)\n\n public static TimePartitioning CreateDailyPartitioning(TimeSpan? expiration)\n\nReturns a daily partitioning scheme with an optional per-partition expiration.\n\n### CreateDailyPartitioning(TimeSpan?, string)\n\n public static TimePartitioning CreateDailyPartitioning(TimeSpan? expiration, string field)\n\nReturns a daily partitioning scheme with an optional per-partition expiration, and a field name."]]