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"]],[["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-03-21 UTC."],[[["This documentation covers the `TableExtensions` class within the Google BigQuery v2 API for .NET, offering extension methods to simplify working with `Google.Apis.Bigquery.v2.Data.Table` objects."],["The latest version of the API covered is 3.11.0, and documentation for previous versions, going back to 2.2.0, are also provided."],["The `TableExtensions` class offers methods such as `GetExpirationTime` to retrieve a table's expiration time and `SetExpirationTime` to modify it."],["`TableExtensions` class inherits members from the base `Object` class, such as `GetHashCode`, `GetType`, `MemberwiseClone`, and `ToString`."],["The documentation includes detailed parameter and return type information for each method, including the use of `Nullable\u003cDateTimeOffset\u003e` for handling expiration times."]]],[]]