public static Table SetExpirationTime(this Table table, DateTimeOffset? expiration)
Sets the time at which this table expires, at which point it will be deleted.
If this is not set and the dataset does not have a default
expiration period, the table will persist until it is deleted.
Parameters
Name
Description
table
Google.Apis.Bigquery.v2.Data.Table
The table for which to set the expiration for.
Must not be null.
[[["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 documentation covers the \u003ccode\u003eTableExtensions\u003c/code\u003e class within the Google BigQuery v2 API for .NET, offering extension methods to simplify working with \u003ccode\u003eGoogle.Apis.Bigquery.v2.Data.Table\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API covered is 3.11.0, and documentation for previous versions, going back to 2.2.0, are also provided.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTableExtensions\u003c/code\u003e class offers methods such as \u003ccode\u003eGetExpirationTime\u003c/code\u003e to retrieve a table's expiration time and \u003ccode\u003eSetExpirationTime\u003c/code\u003e to modify it.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTableExtensions\u003c/code\u003e class inherits members from the base \u003ccode\u003eObject\u003c/code\u003e class, such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes detailed parameter and return type information for each method, including the use of \u003ccode\u003eNullable<DateTimeOffset>\u003c/code\u003e for handling expiration times.\u003c/p\u003e\n"]]],[],null,[]]